/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-ldyhbvbbhh] {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

main[b-ldyhbvbbhh] {
    flex: 1;
}
/* /Layout/TopNav.razor.rz.scp.css */
/* ===== TOP NAV ===== */
.topnav[b-8v8r45jkkc] {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;
    background: rgba(7, 12, 24, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

    .topnav .container[b-8v8r45jkkc] {
        height: 100%;
        display: flex;
        align-items: center;
        position: relative;
    }

.brand[b-8v8r45jkkc] {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--fg);
    font-weight: 800;
    letter-spacing: .2px;
    padding: .25rem .4rem;
    border-radius: 12px;
}

.brand-mark[b-8v8r45jkkc] {
    height: clamp(28px,5vw,64px);
    width: auto;
    transition: transform .25s;
}

.brand:hover .brand-mark[b-8v8r45jkkc] {
    transform: scale(1.03);
}

.brand-wordmark[b-8v8r45jkkc] {
    height: 40px;
    width: auto;
    overflow: visible;
}

    .brand-wordmark text[b-8v8r45jkkc] {
        font-family: 'Cabin Condensed', Inter, ui-sans-serif, system-ui;
        font-weight: 700;
        letter-spacing: .2px;
    }

.links[b-8v8r45jkkc] {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

    .links a[b-8v8r45jkkc] {
        color: var(--muted);
        text-decoration: none;
        padding: .5rem .75rem;
        border-radius: 12px;
        transition: color .2s, background-color .2s;
    }

        .links a:hover[b-8v8r45jkkc], .links a.active[b-8v8r45jkkc] {
            color: var(--fg);
            background: rgba(255,255,255,.06);
        }

.nav-actions[b-8v8r45jkkc] {
    margin-left: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BLE Pill in Nav */
.ble-pill[b-8v8r45jkkc] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.45);
    background: rgba(15,23,42,.75);
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}

    .ble-pill[b-8v8r45jkkc]::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #4b5563;
        transition: background .2s ease, box-shadow .25s ease;
    }

    .ble-pill.is-on[b-8v8r45jkkc] {
        background: linear-gradient(135deg,var(--primary),var(--accent));
        color: #020617;
        border-color: transparent;
    }

        .ble-pill.is-on[b-8v8r45jkkc]::before {
            background: #22c55e;
            box-shadow: 0 0 0 4px rgba(34,197,94,.35);
        }

/* Hamburger Menu */
.menu-btn[b-8v8r45jkkc] {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(15,23,42,.6);
    backdrop-filter: blur(6px);
    outline: none;
    align-items: center;
    justify-content: center;
}

    .menu-btn .bar[b-8v8r45jkkc], .menu-btn .bar[b-8v8r45jkkc]::before, .menu-btn .bar[b-8v8r45jkkc]::after {
        content: "";
        display: block;
        width: 22px;
        height: 2px;
        background: var(--fg);
        position: relative;
        transition: transform .2s ease, opacity .2s ease;
    }

        .menu-btn .bar[b-8v8r45jkkc]::before {
            position: absolute;
            transform: translateY(-6px);
        }

        .menu-btn .bar[b-8v8r45jkkc]::after {
            position: absolute;
            transform: translateY( 6px);
        }

    .menu-btn[aria-expanded="true"] .bar[b-8v8r45jkkc] {
        opacity: 0;
    }

        .menu-btn[aria-expanded="true"] .bar[b-8v8r45jkkc]::before {
            transform: rotate(45deg);
        }

        .menu-btn[aria-expanded="true"] .bar[b-8v8r45jkkc]::after {
            transform: rotate(-45deg);
        }

.bt-mobile-wrapper[b-8v8r45jkkc] {
    display: none;
}

.bt-desktop-only[b-8v8r45jkkc] {
    display: flex;
}

/* Mobile (<= 991px) */
@media (max-width:991px) {
    .menu-btn[b-8v8r45jkkc] {
        display: inline-flex;
    }

    .links[b-8v8r45jkkc] {
        position: absolute;
        top: var(--nav-h);
        right: var(--container-pad);
        margin-left: 0;
        display: none;
        flex-direction: column;
        gap: 4px;
        min-width: 220px;
        padding: 10px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: rgba(12,18,32,.98);
        box-shadow: 0 12px 30px rgba(0,0,0,.35);
        z-index: 60;
    }

        .links.is-open[b-8v8r45jkkc] {
            display: flex;
        }

        .links a[b-8v8r45jkkc] {
            display: block;
            padding: 10px 12px;
            border-radius: 10px;
        }

    .bt-desktop-only[b-8v8r45jkkc] {
        display: none !important;
    }

    .bt-mobile-wrapper[b-8v8r45jkkc] {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        width: 100%;
    }

    .brand[b-8v8r45jkkc] {
        flex-shrink: 0;
        gap: 10px;
        padding-left: 0;
    }

    .brand-mark[b-8v8r45jkkc] {
        height: 42px !important;
        width: auto;
    }

    .brand-wordmark[b-8v8r45jkkc] {
        display: block !important;
        width: 140px !important;
        height: 28px !important;
        flex-shrink: 0;
    }
}

/* Very Small Mobile (Hide text only here) */
@media (max-width: 600px) {
    .brand-wordmark[b-8v8r45jkkc] {
        display: none !important;
    }

    .brand[b-8v8r45jkkc] {
        padding-right: 0;
    }
}
/* /Pages/Bluetooth.razor.rz.scp.css */
/* =========================================================
   1. HOVEDLAYOUT & BAKGRUNN
   ========================================================= */
#bluetooth.bt-page[b-cn683pn1j2] {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    background: #070c18;
    overflow-x: hidden;
    padding-top: calc(clamp(64px, 8vw, 110px) + var(--nav-h, 0px));
    padding-bottom: clamp(64px, 8vw, 110px);
}

    /* Fastlåst blur-lag som dekker hele skjermen */
    #bluetooth.bt-page[b-cn683pn1j2]::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(7, 12, 24, 0.4);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 1;
        pointer-events: none;
    }

    #bluetooth.bt-page .container[b-cn683pn1j2] {
        position: relative;
        max-width: var(--container-max, 1200px);
        margin: 0 auto;
    }

.bt-layout[b-cn683pn1j2] {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    position: relative;
}

/* =========================================================
   2. KONTROLLPANELET (KORTET)
   ========================================================= */
.bt-card[b-cn683pn1j2] {
    width: 60%;
    max-width: 640px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: clamp(16px, 2vw, 22px);
    box-shadow: 0 10px 26px rgba(0,0,0,.28);
    position: relative;
    z-index: 2;
}

/* Header */
.bt-head[b-cn683pn1j2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.bt-title[b-cn683pn1j2] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bt-head h2[b-cn683pn1j2] {
    margin: 0;
}

.bt-status[b-cn683pn1j2] {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Knapper for tilkobling */
.bt-actions[b-cn683pn1j2] {
    display: flex;
    gap: 8px;
}

#btnConnect[b-cn683pn1j2], #btnDisconnect[b-cn683pn1j2] {
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 999px;
    box-sizing: border-box;
    border: 2px solid transparent;
    transition: all .2s ease;
}

    #btnConnect:not(:disabled)[b-cn683pn1j2], #btnDisconnect:not(:disabled)[b-cn683pn1j2] {
        background: linear-gradient(135deg, var(--primary), var(--accent));
        color: #020617;
        box-shadow: 0 8px 18px rgba(15,23,42,0.75);
    }

    #btnConnect:disabled[b-cn683pn1j2], #btnDisconnect:disabled[b-cn683pn1j2] {
        background: transparent;
        border-color: rgba(148,163,184,0.7);
        color: rgba(148,163,184,0.9);
        box-shadow: none;
        opacity: 1;
    }

    #btnConnect:not(:disabled):hover[b-cn683pn1j2], #btnDisconnect:not(:disabled):hover[b-cn683pn1j2] {
        transform: translateY(-2px);
        box-shadow: 0 11px 24px rgba(15,23,42,0.85);
    }

.btn-ghost[b-cn683pn1j2] {
    background: transparent !important;
    border: 2px solid var(--border) !important;
    color: var(--fg) !important;
    cursor: pointer;
}

    .btn-ghost:hover:not(:disabled)[b-cn683pn1j2] {
        background: rgba(255,255,255,.04) !important;
    }

    .btn-ghost:disabled[b-cn683pn1j2] {
        opacity: .5;
        cursor: not-allowed;
    }

/* =========================================================
   3. INNHOLDS-SONER
   ========================================================= */
.bt-zone[b-cn683pn1j2] {
    margin-top: 20px;
    padding: 16px 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bt-zone-top[b-cn683pn1j2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    min-height: 44px;
}

.bt-zone-text h3[b-cn683pn1j2] {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.bt-zone-top-right[b-cn683pn1j2] {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.bt-zone-row[b-cn683pn1j2] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.bt-zone-row-head[b-cn683pn1j2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    opacity: .9;
}

/* Dimmer rader når modusen er "Av" */
.bt-zone-row.is-dimmed[b-cn683pn1j2] {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(1);
}

/* =========================================================
   4. MODUS-VELGER (Av / Fast / Blink)
   ========================================================= */
.segmented[b-cn683pn1j2] {
    display: flex;
    border-radius: 999px;
    position: relative;
    padding: 4px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border);
    overflow: hidden;
    width: 260px;
    margin: 0 auto;
}

.mode-segmented[b-cn683pn1j2]::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    /* Deler eksakt på 3, tar hensyn til 8px total padding */
    width: calc((100% - 8px) / 3);
    height: calc(100% - 8px);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    z-index: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

/* 0% = Av, 100% = Fast, 200% = Blink */
.mode-segmented[data-mode="off"][b-cn683pn1j2]::before {
    transform: translateX(0%);
}

.mode-segmented[data-mode="fast"][b-cn683pn1j2]::before {
    transform: translateX(100%);
}

.mode-segmented[data-mode="blink"][b-cn683pn1j2]::before {
    transform: translateX(200%);
}

.segmented .seg[b-cn683pn1j2] {
    position: relative;
    z-index: 1;
    flex: 1;
    appearance: none;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--fg);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: color 0.2s ease;
    outline: none;
}

    .segmented .seg.is-active[b-cn683pn1j2] {
        color: #020617 !important;
    }
/* =========================================================
   5. SLIDERE
   ========================================================= */
.range-wrap[b-cn683pn1j2] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
}

input[type="range"][b-cn683pn1j2] {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,.12);
    border-radius: 999px;
    outline: none;
    -webkit-appearance: none;
}

    input[type="range"][b-cn683pn1j2]::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: linear-gradient(135deg,var(--primary),var(--accent));
        border: 1px solid rgba(0,0,0,.25);
        cursor: pointer;
    }

    input[type="range"][b-cn683pn1j2]::-moz-range-thumb {
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: linear-gradient(135deg,var(--primary),var(--accent));
        border: 1px solid rgba(0,0,0,.25);
        cursor: pointer;
    }

/* =========================================================
   6. PILLE PÅ BLUETOOTH-SIDEN
   ========================================================= */
/* Endret fra .bt-pill-scene til .float-pill-scene slik at den matcher HTML-en din */
.float-pill-scene[b-cn683pn1j2] {
    position: relative;
    right: clamp(4%, 7vw, 12%);
    top: 0px;
    width: clamp(220px, 26vw, 420px);
    height: auto;
    pointer-events: none;
    z-index: 5 !important;
}

    .float-pill-scene .pill[b-cn683pn1j2] {
        position: relative;
        width: clamp(84px, 10vw, 140px);
        aspect-ratio: 1 / 2.6;
        margin-left: auto;
        display: block;
    }

/* =========================================================
   7. RESPONSIVT DESIGN (MEDIA QUERIES)
   ========================================================= */

@media (max-width: 900px) {
    .bt-layout[b-cn683pn1j2] {
        flex-direction: column;
        gap: 50px;
        align-items: center;
    }

        .bt-layout .bt-card[b-cn683pn1j2] {
            width: 100%;
        }

        .bt-layout .float-pill-scene[b-cn683pn1j2] {
            transform: none;
            right: auto;
            top: auto;
        }
}

@media (max-width: 600px) {
    .hide-on-mobile[b-cn683pn1j2] {
        display: none !important;
    }

    .bt-zone-top[b-cn683pn1j2] {
        justify-content: center;
    }

    .bt-zone-top-right[b-cn683pn1j2] {
        margin-left: 0;
        width: 100%;
        justify-content: space-around;
    }
}

@media (max-width: 450px) {
    .bt-head[b-cn683pn1j2] {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

        .bt-head .bt-actions[b-cn683pn1j2] {
            width: 100%;
            justify-content: space-between;
        }
}
/* =========================================================
   3a. KOLLAPSIBLE SONER (Blink-rad)
   ========================================================= */
#blinkRow[b-cn683pn1j2] {
    /* Angi at raden alltid er flex, vi kollapser bare høyden */
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* 1. Skjul innholdet */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    /* 2. Transition for myke bevegelser */
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    /* Ingen marginer her, gap fra forelder (.bt-zone) håndterer avstand */
}

    #blinkRow.blink-row-visible[b-cn683pn1j2] {
        /* 1. Vis innholdet */
        max-height: 120px; /* En verdi stor nok til å romme innholdet */
        opacity: 1;
    }

/* Dimmer rader når modusen er "Av" (flyttet for å være etter collapsible logic) */
.bt-zone-row.is-dimmed[b-cn683pn1j2] {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(1);
}
/* /Pages/Home.razor.rz.scp.css */
/* ===== HERO (inkl. pille) ===== */

.hero[b-3x1oa05s2g] {
    position: relative;
    height: 100dvh;
    display: grid;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

/* fix for outline h1 focus */
h1:focus[b-3x1oa05s2g] {
    outline: none;
}

h1:focus-visible[b-3x1oa05s2g] {
    outline: none;
    outline-offset: 4px;
}

/* ===== OM (bånd + hake-liste) ===== */
.section.about[b-3x1oa05s2g] {
    position: relative;
    background: radial-gradient(90% 120% at 10% 30%, rgba(56,189,248,.06), transparent 60%), radial-gradient(80% 110% at 90% 70%, rgba(167,139,250,.06), transparent 65%), rgba(255,255,255,.02);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.about-list[b-3x1oa05s2g] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

    .about-list li[b-3x1oa05s2g] {
        position: relative;
        padding-left: 28px;
        border-bottom: 1px solid rgba(255,255,255,.06);
        padding-block: 8px;
    }

        .about-list li:last-child[b-3x1oa05s2g] {
            border-bottom: none;
        }

        .about-list li[b-3x1oa05s2g]::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 6px;
            font-weight: 900;
            color: var(--primary);
            text-shadow: 0 0 10px rgba(56,189,248,.35);
        }

/* ===== OSS (team 3+2) ===== */
/* ===== OSS (Store bilder uten boks) ===== */
.section.us[b-3x1oa05s2g] {
    padding-block: 60px;
}

.us .team-grid[b-3x1oa05s2g] {
    display: grid;
    gap: 40px; /* Litt mer luft mellom bildene siden boksen er borte */
    grid-template-columns: repeat(12, 1fr);
    max-width: 1100px;
    margin: 60px;
}

.us .team-card[b-3x1oa05s2g] {
    grid-column: span 4;
    background: transparent; /* Fjerner bakgrunnsfargen */
    border: none; /* Fjerner rammen */
    padding: 0; /* Fjerner indre avstand */
    text-align: center;
    transition: none; /* Fjerner animasjon */
}

    /* Fjerner alle hover-effekter helt */
    .us .team-card:hover[b-3x1oa05s2g] {
        transform: none;
        background: transparent;
        box-shadow: none;
    }

    .us .team-card img[b-3x1oa05s2g] {
        /* For å beholde den store størrelsen du likte: */
        width: 100%;
        max-width: 260px; /* Juster denne hvis du vil ha dem enda større/mindre */
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 1px; /* Beholder de litt myke hjørnene */
        margin: 0 auto 16px;
        display: block;
    }

    .us .team-card h3[b-3x1oa05s2g] {
        margin: 0 0 4px;
        font-size: 1.2rem;
        color: #fff;
    }

    .us .team-card .role[b-3x1oa05s2g] {
        margin: 0;
        color: var(--primary); /* Beholder den blå fargen på rollen for kontrast */
        font-weight: 600;
        font-size: 0.95rem;
    }

/* Beholder 3+2 layout-logikken din */
.us .team-grid > :nth-child(4)[b-3x1oa05s2g] {
    grid-column: 3 / span 4;
}

.us .team-grid > :nth-child(5)[b-3x1oa05s2g] {
    grid-column: 7 / span 4;
}

/* Mobil-tilpasning */
@media (max-width: 980px) {
    .us .team-grid[b-3x1oa05s2g] {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

        .us .team-card[b-3x1oa05s2g], .us .team-grid > :nth-child(4)[b-3x1oa05s2g], .us .team-grid > :nth-child(5)[b-3x1oa05s2g] {
            grid-column: auto;
        }
}
/* ===== PRODUKT (Kort og Layout) ===== */
.product .features[b-3x1oa05s2g] {
    display: grid;
    gap: 24px;
    /* Endret til 4 kolonner for desktop */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 40px;
}

/* Responsivitet for produktkortene */
@media (max-width: 1200px) {
    .product .features[b-3x1oa05s2g] {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2x2 layout for middels skjermer */
    }
}

@media (max-width: 620px) {
    .product .features[b-3x1oa05s2g] {
        grid-template-columns: 1fr; /* Full bredde på mobil */
    }
}

.product .feature-card[b-3x1oa05s2g] {
    height: 100%;
    padding: 32px 24px;
    border-radius: 20px;
    /* Mer sofistikert glass-effekt */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}

    /* Hover-effekt: Kortet løftes og får en glød */
    .product .feature-card:hover[b-3x1oa05s2g] {
        transform: translateY(-8px);
        border-color: var(--primary); /* Bruker din blå farge */
        background: rgba(255, 255, 255, 0.06);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.1);
    }

    /* Ikon-beholderen */
    .product .feature-card .fi[b-3x1oa05s2g] {
        width: 50px;
        height: 50px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        /* Sterkere gradient for mer "pop" */
        background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(167, 139, 250, 0.2) 100%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        margin-bottom: 20px;
        transition: transform 0.3s ease;
    }

    .product .feature-card:hover .fi[b-3x1oa05s2g] {
        transform: scale(1.1) rotate(5deg);
        background: linear-gradient(135deg, rgba(56, 189, 248, 0.4) 0%, rgba(167, 139, 250, 0.4) 100%);
    }

    .product .feature-card .fi svg[b-3x1oa05s2g] {
        width: 24px;
        height: 24px;
        color: #fff;
        filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.5));
    }

    /* Typografi i kortene */
    .product .feature-card h3[b-3x1oa05s2g] {
        margin: 0 0 12px;
        font-size: 1.4rem;
        font-weight: 700;
        color: #fff;
        letter-spacing: -0.01em;
    }

    .product .feature-card p[b-3x1oa05s2g] {
        margin: 0;
        color: var(--muted);
        line-height: 1.6;
        font-size: 0.95rem;
    }

/* Seksjons-bakgrunnen (forbliver som den er, men justert for dybde) */
#product.section[b-3x1oa05s2g] {
    position: relative;
    background: radial-gradient(90% 120% at 50% 0%, rgba(167,139,250,.06), transparent 60%), radial-gradient(80% 110% at 15% 80%, rgba(56,189,248,.06), transparent 65%), rgba(255,255,255,.02);
    border-top: 1px solid var(--border);
    padding-block: 100px;
}
/* ===== NYE REGLER FOR RESPONSIV HERO ===== */

/* Desktop: Slik det var før (ved siden av hverandre) */
.hero-layout[b-3x1oa05s2g] {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.hero-copy[b-3x1oa05s2g] {
    width: 60%;
}

/* Mobil (skjermer mindre enn 900px): Stablet under hverandre */
/* Mobil (skjermer mindre enn 900px) */
@media (max-width: 900px) {
    .hero[b-3x1oa05s2g] {
        /* Dette drar teksten lenger opp mot navbaren */
        padding-top: calc(var(--nav-h) + 20px) !important;
        padding-bottom: 40px !important;
    }

    .hero-layout[b-3x1oa05s2g] {
        /* column-reverse legger det siste elementet (teksten) øverst,
           og det første elementet (pillen) nederst */
        flex-direction: column-reverse;
        text-align: center;
        gap: 80px;
        align-items: center; /* Midtstill alt horisontalt */
    }

    .hero-copy[b-3x1oa05s2g] {
        width: 100%;
    }

        .hero-copy p.lead[b-3x1oa05s2g] {
            margin-left: auto;
            margin-right: auto;
        }
}
/* Sørger for at bildene fader inn mykt sammen med kortet */
.team-card img[b-3x1oa05s2g] {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Når forelderen (team-card) får klassen .visible fra JS, vis bildet */
.team-card.visible img[b-3x1oa05s2g] {
    opacity: 1;
    transform: scale(1);
}
/* ===== MOBIL-TILPASNING FOR TEAM-BILDER ===== */

/* Nettbrett-størrelse (mellom mobil og desktop) */
@media (max-width: 980px) {
    .us .team-grid[b-3x1oa05s2g] {
        grid-template-columns: repeat(2, 1fr); /* 2 bilder i bredden */
        gap: 30px;
    }

        /* Nullstill den spesielle 3+2 layouten fra desktop */
        .us .team-card[b-3x1oa05s2g],
        .us .team-grid > :nth-child(4)[b-3x1oa05s2g],
        .us .team-grid > :nth-child(5)[b-3x1oa05s2g] {
            grid-column: auto;
        }
}

/* NY: Mobil-størrelse (Telefoner) - Store bilder i én kolonne */
/* NY: Mobil-størrelse (Telefoner) - To bilder i bredden */
@media (max-width: 650px) {
    .us .team-grid[b-3x1oa05s2g] {
        /* Endret fra 1fr til repeat(2, 1fr) for å få to i bredden */
        grid-template-columns: repeat(2, 1fr);
        gap: 20px; /* Litt mindre mellomrom så det blir plass til to */
        max-width: 100%; /* Bruk hele skjermbredden */
        margin: 40px auto;
        padding-inline: 10px;
    }

    .us .team-card img[b-3x1oa05s2g] {
        /* Bildene vil nå automatisk fylle 100% av sin halvdel av skjermen */
        max-width: 100%;
        width: 100%;
        margin-bottom: 8px;
    }

    .us .team-card h3[b-3x1oa05s2g] {
        font-size: 1rem; /* Gjør teksten litt mindre så den ikke kræsjer */
    }

    .us .team-card .role[b-3x1oa05s2g] {
        font-size: 0.8rem;
    }
}
