/* /Pages/Admin/Admin.razor.rz.scp.css */
/* /Pages/Index.razor.rz.scp.css */
/* Typography */

html[b-pfe3alhtlz],
body[b-pfe3alhtlz] {
    font-family: var(--font-main);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero title uses Fredoka */
.hero .hero__title[b-pfe3alhtlz] {
    font-family: var(--font-hero);
    font-weight: 700;
    /* keep your existing size/line-height; repeat here so nothing overrides */
    font-size: clamp(48px, 10vw, 96px);
    line-height: 1;
    letter-spacing: 0.2px;
    color: white;
}

/* ---------- RESET OCH VARIABLER ---------- */
*[b-pfe3alhtlz] {
    box-sizing: border-box;
}

html[b-pfe3alhtlz],
body[b-pfe3alhtlz] {
    height: 100%;
    margin: 0;
    padding: 0;
}

body[b-pfe3alhtlz] {
    font-family: var(--font-main);
    color: var(--ink);
    background-color: #0f2f8f;
    line-height: 1.5;
}

.container[b-pfe3alhtlz] {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
}

/* ================= HERO ================= */
.hero[b-pfe3alhtlz] {
    position: relative;
    min-height: 92vh; /* compact but tall */
    display: flex;
    align-items: center;
    background: url("/images/Section 1_BG.jpg") center/cover no-repeat;
    overflow: hidden;
    /* top | right/left | bottom */
    padding: clamp(12px, 2.5vw, 28px) clamp(40px, 6vw, 80px) clamp(28px, 6vw, 64px);
}

    .hero[b-pfe3alhtlz]::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 0;
    }

.hero__grid[b-pfe3alhtlz] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch; /* sträck båda kolumnerna till full höjd */
    gap: clamp(24px, 4vw, 48px);
}

.hero__content[b-pfe3alhtlz] {
    max-width: 680px;
}

.hero__title[b-pfe3alhtlz] {
    font-family: var(--font-hero);
    font-weight: 700;
}

.hero__subtitle[b-pfe3alhtlz] {
    font-size: clamp(20px, 3.2vw, 36px);
    line-height: 1.25;
    color: var(--ink-sub);
    margin: 0 0 1.2em 0;
}

.hero__form[b-pfe3alhtlz] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 1rem 0;
}

    .hero__form input[b-pfe3alhtlz] {
        flex: 1 1 260px;
        min-width: 0;
        padding: 16px 18px;
        border-radius: var(--radius);
        border: none;
        background: #fff;
        color: #222;
        font-size: 16px;
        box-shadow: var(--shadow);
    }

        .hero__form input:focus[b-pfe3alhtlz] {
            outline: 2px solid var(--cta1);
        }
.hero__form select[b-pfe3alhtlz] {
    flex: 1 1 260px;
    min-width: 0;
    padding: 16px 18px;
    border-radius: var(--radius);
    border: none;
    background: #fff;
    color: #222;
    font-size: 16px;
    box-shadow: var(--shadow);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
    cursor: pointer;
}

.hero__form select:focus[b-pfe3alhtlz] {
    outline: 2px solid var(--cta1);
}

.hero__form select option[b-pfe3alhtlz] {
    padding: 10px;
}

    .hero__form button[b-pfe3alhtlz] {
        padding: 16px 22px;
        border: none;
        border-radius: var(--radius);
        font-weight: 700;
        font-size: 16px;
        color: #fff;
        background: linear-gradient(180deg, var(--cta1), var(--cta2));
        cursor: pointer;
        box-shadow: var(--shadow);
        transition: transform 0.06s ease, filter 0.2s ease;
    }

        .hero__form button:hover[b-pfe3alhtlz] {
            filter: brightness(1.05);
        }

        .hero__form button:active[b-pfe3alhtlz] {
            transform: translateY(1px);
        }

.hero__note[b-pfe3alhtlz] {
    margin: 0.25rem 0 1.5rem;
    color: var(--ink-sub);
    font-size: clamp(14px, 1.6vw, 18px);
}

.hero__foot[b-pfe3alhtlz] {
    margin: 2.5rem 0 0;
    color: var(--ink-sub);
    font-size: clamp(16px, 2vw, 20px);
}

/* ===== RIGHT COLUMN (hand pinned to bottom on desktop) ===== */
.hero__visual[b-pfe3alhtlz] {
    position: relative; /* gör det möjligt att absolut-positionera bilden */
    height: 100%; /* fyll hela cellen */
}

    .hero__visual img[b-pfe3alhtlz] {
        position: absolute;
        bottom: 0; /* ✅ exakt i botten */
        left: 50%;
        transform: translateX(-50%) translateY(30%);
        width: min(650px, 45vw);
        height: auto;
        filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
    }

/* ====== BREAKPOINTS ====== */
@media (max-width: 1200px) {
    .hero[b-pfe3alhtlz] {
        min-height: 105svh;
    }
}

/* ==== MOBIL ==== */
@media (max-width: 960px) {
    .hero[b-pfe3alhtlz] {
        min-height: 110svh;
        align-items: start;
        padding-top: clamp(0px, 6vw, 28px); /* lite mindre top-padding */
        padding-bottom: clamp(40px, 12vw, 90px); /* mindre botten-padding */
    }

    .hero__grid[b-pfe3alhtlz] {
        grid-template-columns: 1fr;
        align-items: start;
        gap: clamp(10px, 3vw, 18px); /* minskat gap */
    }

    .hero__content[b-pfe3alhtlz] {
        order: 1;
    }

    /* Anpassa formulärfälten för mobil */
    .hero__form input[b-pfe3alhtlz],
    .hero__form select[b-pfe3alhtlz] {
        flex: 1 1 100%; /* Stapla fälten på full bredd */
        padding: 12px 16px; /* Mindre padding */
        font-size: 16px; /* Förhindra inzoomning på iOS (kräver minst 16px) */
    }

    .hero__form select[b-pfe3alhtlz] {
        padding-right: 40px; /* Behåll plats för pilen */
    }

    .hero__form button[b-pfe3alhtlz] {
        flex: 1 1 100%; /* Knappen tar full bredd */
        padding: 12px 20px; /* Matchande höjd */
        margin-top: 4px;
    }

    .hero__visual[b-pfe3alhtlz] {
        order: 2;
        position: static;
        height: auto;
        display: grid;
        place-items: end center;
    }

        .hero__visual img[b-pfe3alhtlz] {
            position: static;
            width: min(650px, 80vw);
            transform: translateY(90px) rotate(-3deg); /* mindre häng */
        }
}

/* ==== LITEN MOBIL ==== */
@media (max-width: 420px) {
    .hero__visual img[b-pfe3alhtlz] {
        width: 86vw;
        transform: translateY(70px) rotate(-3deg); /* ännu mindre häng */
    }
}

/* ================= FEATURES (SEKTION 2) ================= */
.features[b-pfe3alhtlz] {
    background: #fff;
    color: var(--ink-dark, #111827);
    padding: clamp(56px, 9vw, 112px) 16px;
}

    .features .container[b-pfe3alhtlz] {
        max-width: var(--container, 1200px);
        margin: 0 auto;
    }

.features__title[b-pfe3alhtlz] {
    margin: 0;
    text-align: center;
    font-weight: 800;
    font-size: clamp(32px, 5.6vw, 56px);
    color: var(--ink-dark, #111827);
}

.features__subtitle[b-pfe3alhtlz] {
    margin: 12px auto 36px;
    max-width: 900px;
    text-align: center;
    font-size: clamp(16px, 2.4vw, 22px);
    color: #5c5c5c;
}

/* Grid: 3 → 2 → 1 kolumn */
.features__grid[b-pfe3alhtlz] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(18px, 2.6vw, 28px);
    margin-top: clamp(24px, 3vw, 36px);
}

@media (max-width: 1024px) {
    .features__grid[b-pfe3alhtlz] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .features__grid[b-pfe3alhtlz] {
        grid-template-columns: 1fr;
    }
}

/* Kort */
.feature-card[b-pfe3alhtlz] {
    background: var(--card, #ffffff);
    border-radius: 16px;
    padding: clamp(18px, 2.6vw, 26px);
    box-shadow: var(--card-shadow, 0 10px 30px rgba(0, 0, 0, 0.08)), var(--card-glow, 0 0 0 rgba(0, 0, 0, 0));
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

    .feature-card:hover[b-pfe3alhtlz] {
        transform: translateY(-4px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
    }

.feature__icon[b-pfe3alhtlz] {
    width: 56px;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.feature__title[b-pfe3alhtlz] {
    margin: 0 0 10px;
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    color: var(--ink-dark, #111827);
}

.feature__text[b-pfe3alhtlz] {
    margin: 0;
    color: #444;
    font-size: clamp(14px, 1.9vw, 18px);
    max-width: 44ch;
}

/* Lite extra spacing mellan kort på mobil */
@media (max-width: 680px) {
    .feature-card[b-pfe3alhtlz] {
        padding: 22px;
    }
}

/* ================= ORANGE SPLIT (SEKTION 3) ================= */
.split[b-pfe3alhtlz] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(520px, 70vh, 760px);
    width: 100%;
}

.split__panel[b-pfe3alhtlz] {
    position: relative;
}

.split--orange .split__left[b-pfe3alhtlz] {
    background: url("/images/Orange_Background.jpg") center/cover no-repeat;
}

.split--orange .split__left[b-pfe3alhtlz],
.split--orange .split__right[b-pfe3alhtlz] {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

/* Bildpanelen – fyll hela rutan utan ramar */
.split__right img[b-pfe3alhtlz] {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    margin: 0;
    padding: 0;
}

/* Textblock */
.split__content[b-pfe3alhtlz] {
    max-width: 720px;
    padding: clamp(28px, 6vw, 64px);
}

.split__title[b-pfe3alhtlz] {
    margin: 0 0 0.6em 0;
    font-weight: 800;
    font-size: clamp(32px, 5.6vw, 64px);
    line-height: 1.05;
    color: #fff;
}

.split__text[b-pfe3alhtlz] {
    margin: 0;
    font-size: clamp(16px, 2.2vw, 22px);
    line-height: 1.45;
    color: #fff;
}

/* ===== Mobil & surfplatta =====
   - Stapla sektionen
   - Orange panel överst, bild under
   - Inga glapp mellan panelerna
*/
@media (max-width: 900px) {
    .split[b-pfe3alhtlz] {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        min-height: unset;
    }

    .split--orange .split__left[b-pfe3alhtlz] {
        order: 1;
        min-height: 44vh;
    }

    .split--orange .split__right[b-pfe3alhtlz] {
        order: 2;
        min-height: 46vh;
    }

    .split__content[b-pfe3alhtlz] {
        padding: clamp(24px, 7vw, 40px);
        max-width: 36ch;
    }

    .split__title[b-pfe3alhtlz] {
        font-size: clamp(28px, 8vw, 40px);
    }

    .split__right img[b-pfe3alhtlz] {
        height: 100%;
    }
}

/* Säkerställ att panelerna verkligen går kant till kant i layouten */
.split[b-pfe3alhtlz],
.split__panel[b-pfe3alhtlz] {
    margin: 0;
}

/* ================= SEKTION 4: ALL-IN-ONE ================= */
.platform[b-pfe3alhtlz] {
    background: #f4f4f4;
    color: var(--ink-dark, #111827);
    padding: clamp(56px, 9vw, 112px) 16px;
}

    .platform .container[b-pfe3alhtlz] {
        max-width: var(--container, 1200px);
        margin: 0 auto;
    }

.platform__title[b-pfe3alhtlz] {
    text-align: center;
    margin: 0 0 clamp(20px, 4vw, 36px) 0;
    font-weight: 800;
    font-size: clamp(32px, 5.6vw, 56px);
}

/* ✅ Check-raden: 3 → 2 → 1 kolumn */
.platform__checks[b-pfe3alhtlz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2.2vw, 24px);
    margin-bottom: clamp(28px, 4vw, 42px);
}

@media (max-width: 1024px) {
    .platform__checks[b-pfe3alhtlz] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .platform__checks[b-pfe3alhtlz] {
        grid-template-columns: 1fr;
    }
}

.check-card[b-pfe3alhtlz] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    padding: clamp(14px, 2vw, 18px) clamp(16px, 2.4vw, 22px);
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon[b-pfe3alhtlz] {
    width: clamp(26px, 2.2vw, 36px);
    height: auto;
    flex: 0 0 auto;
    display: block;
}

.check-card span[b-pfe3alhtlz] {
    font-weight: 700;
    color: #222;
    font-size: clamp(14px, 1.9vw, 18px);
}

/* 🔷 Kort-grid: 2 kolumner desktop → 1 kolumn mobil */
.platform__grid[b-pfe3alhtlz] {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(18px, 2.6vw, 28px);
}

@media (max-width: 900px) {
    .platform__grid[b-pfe3alhtlz] {
        grid-template-columns: 1fr;
    }
}

/* Kortens bas */
.platform__card[b-pfe3alhtlz] {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 260px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Lila kort till vänster (textblock) */
.platform__card--purple[b-pfe3alhtlz] {
    background: url("/images/Purple_Background.jpg") center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
}

.platform__card-content[b-pfe3alhtlz] {
    padding: clamp(18px, 3.2vw, 28px);
    max-width: 680px;
}

.platform__card--purple h3[b-pfe3alhtlz] {
    margin: 0 0 0.4em 0;
    font-weight: 800;
    font-size: clamp(24px, 3.8vw, 40px);
    line-height: 1.1;
}

.platform__card--purple p[b-pfe3alhtlz] {
    margin: 0;
    font-size: clamp(14px, 2vw, 18px);
    color: #efefff;
}

/* Blå kort till höger (rubrik + klocka) */
.platform__card--blue[b-pfe3alhtlz] {
    background: url("/images/Light_Blue_Background.jpg") center/cover no-repeat;
    color: #fff;
    padding: clamp(18px, 3.2vw, 28px);
    display: flex;
    align-items: flex-start;
}

    .platform__card--blue h3[b-pfe3alhtlz] {
        margin: 0;
        font-weight: 800;
        font-size: clamp(22px, 3.4vw, 34px);
        line-height: 1.1;
        max-width: 14ch;
    }

/* Klockan i hörnet – skala snyggt på alla skärmar */
.platform__clock[b-pfe3alhtlz] {
    position: absolute;
    right: clamp(10px, 2.4vw, 20px);
    bottom: 0; /* låg exakt mot botten */
    width: clamp(110px, 18vw, 220px);
    height: auto;
    pointer-events: none;
    user-select: none;
    display: block; /* tar bort baseline-gap */
}

/* Mobiljusteringar */
@media (max-width: 900px) {
    .platform__card[b-pfe3alhtlz] {
        min-height: 240px;
    }

    .platform__clock[b-pfe3alhtlz] {
        width: clamp(120px, 44vw, 260px);
        right: 12px;
        bottom: 8px;
    }
}

@media (max-width: 560px) {
    .platform__card--blue h3[b-pfe3alhtlz] {
        max-width: 18ch;
    }
}

/* ================= SEKTION 5: SNOW ================= */
.split[b-pfe3alhtlz] {
    display: grid;
    min-height: 560px;
}

.split__panel[b-pfe3alhtlz] {
    position: relative;
}

.split--snow[b-pfe3alhtlz] {
    grid-template-columns: 1.12fr 0.88fr; /* lite större bildyta enligt referensen */
    background: #fff;
    color: #111;
}

    .split--snow .split__left[b-pfe3alhtlz] {
        background: none;
    }

        .split--snow .split__left img[b-pfe3alhtlz] {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: cover; /* fyll hela rutan utan letterbox */
        }

.split__right--white[b-pfe3alhtlz] {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.split__content[b-pfe3alhtlz] {
    padding: clamp(28px, 6vw, 64px);
}

.split__content--tight[b-pfe3alhtlz] {
    max-width: 720px; /* bra radlängd på desktop */
}

.split__title-dark[b-pfe3alhtlz] {
    margin: 0 0 0.25em 0;
    font-weight: 800;
    font-size: clamp(32px, 5.6vw, 56px);
    color: #111;
    line-height: 1.05;
}

.split__subtitle-dark[b-pfe3alhtlz] {
    margin: 0 0 1em 0;
    font-weight: 700;
    font-size: clamp(18px, 2.8vw, 28px);
    color: #111;
}

.split__text-dark[b-pfe3alhtlz] {
    margin: 0;
    font-size: clamp(16px, 2.1vw, 20px);
    line-height: 1.55;
    color: #333;
}

/* ===== Mobil & surfplatta ===== */
@media (max-width: 960px) {
    .split--snow[b-pfe3alhtlz] {
        grid-template-columns: 1fr; /* stapla */
        min-height: unset;
    }

        .split--snow .split__left[b-pfe3alhtlz] {
            order: 1;
        }

        .split--snow .split__right[b-pfe3alhtlz] {
            order: 2;
        }

    .split__content[b-pfe3alhtlz] {
        padding: clamp(22px, 7vw, 32px);
    }

    .split__content--tight[b-pfe3alhtlz] {
        max-width: 46ch;
    }
    /* behaglig radlängd i mobil */
}

/* Tar bort vitt glapp mellan Snow och Automation */
.split--snow[b-pfe3alhtlz] {
    margin-bottom: -1px; /* tryck ihop mot nästa sektion */
    padding-bottom: 0;
}

/* ==================== SEKTION 6: Automation + Date ==================== */
.auto[b-pfe3alhtlz] {
    background: #fff;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: none;
}

/* --- Lila teknikbanner --- */
.auto__tech[b-pfe3alhtlz] {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 520px;
    border-radius: 0;
    overflow: hidden;
}

.auto__tech-bg[b-pfe3alhtlz] {
    position: absolute;
    inset: 0;
    background: url("/images/Purple_Background_2.jpg") center/cover no-repeat;
}

/* Bilen & satelliten */
.auto__tech-visual[b-pfe3alhtlz] {
    grid-column: 1;
    position: relative;
    width: clamp(220px, 32vw, 500px);
    height: auto;
    justify-self: start;
    margin-left: clamp(24px, 6vw, 80px);
    z-index: 1;
    pointer-events: none;
}

/* Texten */
.auto__tech-content[b-pfe3alhtlz] {
    grid-column: 2;
    z-index: 1;
    color: #fff;
    padding: clamp(24px, 6vw, 72px);
    text-align: left;
    max-width: 640px;
    justify-self: end;
}

    .auto__tech-content h2[b-pfe3alhtlz] {
        margin: 0 0 0.35em 0;
        font-weight: 800;
        font-size: clamp(32px, 5.6vw, 64px);
        line-height: 1.05;
    }

    .auto__tech-content p[b-pfe3alhtlz] {
        margin: 0;
        font-size: clamp(16px, 2.1vw, 22px);
        line-height: 1.45;
    }

/* --- Date panel --- */
.auto__date[b-pfe3alhtlz] {
    border-radius: 0;
    overflow: hidden;
}

.auto__date-photo[b-pfe3alhtlz] {
    position: relative;
    border-radius: 0;
}

    .auto__date-photo img[b-pfe3alhtlz] {
        display: block;
        width: 100%;
        height: auto;
    }

/* Bubblor med rundade hörn – större på desktop */
.bubble[b-pfe3alhtlz] {
    position: absolute;
    background: linear-gradient(180deg, #705cff, #8a7bff);
    color: #fff;
    border-radius: 20px; /* lite rundare */
    padding: clamp(14px, 1.4vw, 22px) clamp(18px, 2vw, 28px);
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
}

/* Stora och små bubblor */
.bubble--sm[b-pfe3alhtlz] {
    font-size: clamp(16px, 1.8vw, 22px);
}

.bubble--lg[b-pfe3alhtlz] {
    font-size: clamp(18px, 2.2vw, 26px);
}

/* Behåll mindre storlek på mobil */
@media (max-width: 960px) {
    .bubble[b-pfe3alhtlz] {
        border-radius: 16px;
        padding: 10px 14px;
    }

    .bubble--sm[b-pfe3alhtlz] {
        font-size: clamp(12px, 3.6vw, 16px);
    }

    .bubble--lg[b-pfe3alhtlz] {
        font-size: clamp(14px, 4vw, 18px);
    }
}

.auto__date-caption[b-pfe3alhtlz] {
    margin: 0;
    border-radius: 0;
    width: 100%;
    background: linear-gradient(180deg, #e8dbfb 0%, #cdb2ff 100%);
    color: #111;
    padding: clamp(48px, 7vw, 80px) clamp(28px, 8vw, 64px);
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.7;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
}

    .auto__date-caption p[b-pfe3alhtlz] {
        max-width: 80%; /* ✅ tvingar texten att bryta i 3 rader */
        margin: 0;
    }

@media (max-width: 720px) {
    .auto__date-caption p[b-pfe3alhtlz] {
        max-width: 100%;
    }
}

/* --- Mobil: panelordning + bil/satellit till vänster --- */
@media (max-width: 960px) {
    .auto__tech[b-pfe3alhtlz] {
        grid-template-columns: 1fr;
        min-height: 520px;
    }

    .auto__tech-content[b-pfe3alhtlz] {
        grid-column: 1;
        padding: clamp(28px, 8vw, 60px);
        max-width: none;
        justify-self: start;
    }

    .auto__tech-visual[b-pfe3alhtlz] {
        grid-column: 1;
        justify-self: start; /* vänster */
        margin-left: clamp(20px, 7vw, 56px);
        width: clamp(180px, 55vw, 400px);
        transform: translateY(8%);
    }

    .bubble--sm[b-pfe3alhtlz] {
        font-size: clamp(12px, 3.6vw, 16px);
        padding: 8px 12px;
    }

    .bubble--lg[b-pfe3alhtlz] {
        font-size: clamp(14px, 4vw, 18px);
        padding: 10px 14px;
    }

    /* byt ordning */
    .auto__date[b-pfe3alhtlz] {
        order: 1;
    }

    .auto__tech[b-pfe3alhtlz] {
        order: 2;
    }
}

/* --- Desktop: behåll teknik först --- */
@media (min-width: 961px) {
    .auto__tech[b-pfe3alhtlz] {
        order: 1;
    }

    .auto__date[b-pfe3alhtlz] {
        order: 2;
    }
}
/* ==================== SEKTION 7: EV Charging Integration ==================== */
.ev[b-pfe3alhtlz] {
    position: relative;
    text-align: center;
    padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 80px);
    color: #111;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
}

/* Bakgrundsbild */
.ev__bg[b-pfe3alhtlz] {
    position: absolute;
    inset: 0;
    background: url("/images/White_Background.jpg") center/cover no-repeat;
    opacity: 0.6;
    z-index: 0;
}

/* Ikon i toppen – större version */
.ev__icon-top[b-pfe3alhtlz] {
    position: relative;
    z-index: 1;
    width: clamp(100px, 14vw, 180px);  /* större min, större max */
    height: auto;
    margin-bottom: clamp(28px, 3vw, 48px);
}

/* Rubrik & text */
.ev__text[b-pfe3alhtlz] {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto clamp(60px, 8vw, 90px);
}
.ev__text h2[b-pfe3alhtlz] {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    margin-bottom: clamp(12px, 2vw, 18px);
}
.ev__text p[b-pfe3alhtlz] {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: #333;
}

/* Funktionsrutor */
.ev__features[b-pfe3alhtlz] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(40px, 4vw, 60px);
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ev__feature[b-pfe3alhtlz] {
    text-align: center;
    max-width: 300px;
}

.ev__feature img[b-pfe3alhtlz] {
    width: clamp(80px, 12vw, 130px);  /* större ikoner */
    height: auto;
    margin-bottom: 20px;
}

.ev__feature h3[b-pfe3alhtlz] {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800;
    margin-bottom: 8px;
}

.ev__feature p[b-pfe3alhtlz] {
    font-size: clamp(14px, 1.8vw, 18px);
    color: #333;
    line-height: 1.5;
}

/* --- Mobilanpassning --- */
@media (max-width: 768px) {
    .ev[b-pfe3alhtlz] {
        padding: clamp(40px, 10vw, 60px) 20px;
    }

    .ev__text[b-pfe3alhtlz] {
        margin-bottom: clamp(36px, 6vw, 60px);
    }

    .ev__features[b-pfe3alhtlz] {
        grid-template-columns: 1fr 1fr;
        gap: 32px 20px;
    }

    .ev__feature img[b-pfe3alhtlz] {
        width: clamp(70px, 20vw, 100px);
        margin-bottom: 14px;
    }

    .ev__feature h3[b-pfe3alhtlz] {
        font-size: 17px;
    }
}

/* ==================== SEKTION 8: Future of Mobility ==================== */
.future[b-pfe3alhtlz] {
    position: relative;
    text-align: center;
    padding: clamp(70px, 10vw, 140px) clamp(20px, 6vw, 80px);
    color: #fff;
    border-radius: 0;
    overflow: hidden;
}

/* Bakgrund */
.future__bg[b-pfe3alhtlz] {
    position: absolute;
    inset: 0;
    background: url("/images/Dark_Background.jpg") center/cover no-repeat;
    z-index: 0;
}

/* Textdel */
.future__text[b-pfe3alhtlz] {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto clamp(60px, 8vw, 90px);
}
.future__text h2[b-pfe3alhtlz] {
    font-size: clamp(28px, 4.5vw, 50px);
    font-weight: 800;
    margin-bottom: clamp(16px, 2vw, 24px);
    line-height: 1.2;
}
.future__text p[b-pfe3alhtlz] {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: #e6e6ff;
}

/* Kort */
.future__cards[b-pfe3alhtlz] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(28px, 3vw, 48px);
    justify-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.future__card[b-pfe3alhtlz] {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: clamp(24px, 4vw, 36px);
    text-align: left;
    color: #fff;
    max-width: 340px;
    box-shadow: 0 0 30px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, background 0.3s ease;
}
.future__card:hover[b-pfe3alhtlz] {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.18);
}
.future__card h3[b-pfe3alhtlz] {
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 800;
    margin-bottom: 8px;
}
.future__card p[b-pfe3alhtlz] {
    font-size: clamp(14px, 1.8vw, 18px);
    line-height: 1.6;
    color: #eaeaff;
}

/* --- Mobil --- */
@media (max-width: 768px) {
    .future[b-pfe3alhtlz] {
        padding: clamp(50px, 12vw, 80px) 20px;
    }
    .future__cards[b-pfe3alhtlz] {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .future__card[b-pfe3alhtlz] {
        text-align: left;
        max-width: none;
    }
}

/* ==================== SEKTION 9: Contact ==================== */
.contact[b-pfe3alhtlz]{
    position: relative;
    padding: clamp(80px, 10vw, 140px) 20px;
    background: linear-gradient(180deg,#5a2bf8 0%, #7a53ff 45%, #9b85ff 100%);
    color: #fff;
    overflow: hidden;
}
.contact__wrap[b-pfe3alhtlz]{
    max-width: 1200px;
    margin: 0 auto;
}
.contact__card[b-pfe3alhtlz]{
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    padding: clamp(24px, 4vw, 48px);
}
.contact__grid[b-pfe3alhtlz]{
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}

/* Vänster */
.contact__intro h2[b-pfe3alhtlz]{
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 .4em 0;
    font-size: clamp(36px, 6vw, 72px);
}
.contact__intro p[b-pfe3alhtlz]{
    margin: 0 0 1.6rem 0;
    font-size: clamp(16px, 2vw, 22px);
    color: #f1edff;
}
.contact__social[b-pfe3alhtlz]{
    display: flex; gap: 22px; align-items: center;
}
.contact__social img[b-pfe3alhtlz]{
    width: clamp(28px, 3vw, 36px);
    height: auto; display:block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.25));
    transition: transform .15s ease;
}
.contact__social a:hover img[b-pfe3alhtlz]{ transform: translateY(-2px); }

/* Form */
.contact__form[b-pfe3alhtlz]{
    display: grid;
    gap: clamp(16px, 2.4vw, 22px);
}
.contact__form label[b-pfe3alhtlz]{
    display: grid; gap: 8px;
}
.contact__form span[b-pfe3alhtlz]{
    font-size: 16px; color: #f4f2ff; opacity: .95;
}
.contact__form input[b-pfe3alhtlz],
.contact__form textarea[b-pfe3alhtlz]{
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,.7);
    color: #fff;
    font-size: 16px;
    padding: 10px 2px;
    outline: none;
}
.contact__form input[b-pfe3alhtlz]::placeholder,
.contact__form textarea[b-pfe3alhtlz]::placeholder{ color: #eae6ff; opacity: .8; }
.contact__form input:focus[b-pfe3alhtlz],
.contact__form textarea:focus[b-pfe3alhtlz]{ border-bottom-color: #ffd28a; }

.contact__message textarea[b-pfe3alhtlz]{
    resize: vertical;
    min-height: 110px;
}

.contact__actions[b-pfe3alhtlz]{
    display: flex; justify-content: flex-end; margin-top: 8px;
}
.contact__btn[b-pfe3alhtlz]{
    background: linear-gradient(180deg,#ff9900,#f47a0b);
    color: #fff; border: none; border-radius: 28px;
    padding: 14px 28px; font-weight: 800; font-size: 16px;
    box-shadow: 0 10px 28px rgba(0,0,0,.25);
    cursor: pointer; transition: transform .06s ease, filter .2s ease;
}
.contact__btn:hover[b-pfe3alhtlz]{ filter: brightness(1.05); }
.contact__btn:active[b-pfe3alhtlz]{ transform: translateY(1px); }

/* Mobil */
@media (max-width: 960px){
    .contact[b-pfe3alhtlz]{ padding: clamp(60px, 12vw, 90px) 18px; }
    .contact__grid[b-pfe3alhtlz]{ grid-template-columns: 1fr; gap: 28px; }
    .contact__actions[b-pfe3alhtlz]{ justify-content: flex-start; }
    .contact__intro h2[b-pfe3alhtlz]{ font-size: clamp(32px, 9vw, 52px); }
    .contact__social img[b-pfe3alhtlz]{ width: clamp(30px, 7vw, 40px); }
}
/* /Pages/Legal/AgreementView.razor.rz.scp.css */
/* ================= LEGAL PAGE (AgreementView: Privacy Policy, Terms …) ================= */
/* Vit sektion i samma stil som .features på startsidan, med kompensation för den fixerade headern. */
.legal[b-e4ahryuc1g] {
    background: #fff;
    color: var(--ink-dark, #111827);
    min-height: 70vh;
    padding: calc(var(--header-h, 68px) + clamp(40px, 6vw, 72px)) 16px clamp(56px, 9vw, 112px);
}

.legal__wrap[b-e4ahryuc1g] {
    max-width: 860px;
}

/* ---- Header ---- */
.legal__header[b-e4ahryuc1g] {
    margin-bottom: clamp(24px, 4vw, 40px);
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.legal h1[b-e4ahryuc1g] {
    margin: 0 0 12px;
    font-weight: 800;
    font-size: clamp(32px, 5.6vw, 52px);
    line-height: 1.1;
    color: var(--ink-dark, #111827);
}

.legal__meta[b-e4ahryuc1g] {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #5c5c5c;
}

.legal__badge[b-e4ahryuc1g] {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cta1, #ff9900), var(--cta2, #f47a0b));
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* ---- Body (HTML från IdentityApi) ---- */
.legal__body[b-e4ahryuc1g] {
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.7;
    color: #1f2937;
}

.legal__body[b-e4ahryuc1g]  h2 {
    margin: 36px 0 12px;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 800;
    color: var(--ink-dark, #111827);
}

.legal__body[b-e4ahryuc1g]  h3 {
    margin: 28px 0 8px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: var(--ink-dark, #111827);
}

.legal__body[b-e4ahryuc1g]  p {
    margin: 0 0 16px;
}

.legal__body[b-e4ahryuc1g]  ul,
.legal__body[b-e4ahryuc1g]  ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.legal__body[b-e4ahryuc1g]  li {
    margin-bottom: 6px;
}

.legal__body[b-e4ahryuc1g]  a,
.legal a[b-e4ahryuc1g] {
    color: var(--cta2, #f47a0b);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal__body[b-e4ahryuc1g]  a:hover,
.legal a:hover[b-e4ahryuc1g] {
    color: var(--cta1, #ff9900);
}

.legal__body[b-e4ahryuc1g]  table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 15px;
}

.legal__body[b-e4ahryuc1g]  th,
.legal__body[b-e4ahryuc1g]  td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}

.legal__body[b-e4ahryuc1g]  th {
    background: #f9fafb;
    font-weight: 700;
}

.legal__body[b-e4ahryuc1g]  code {
    font-size: 0.9em;
    padding: 2px 6px;
    border-radius: 6px;
    background: #f3f4f6;
}

/* ---- Footer ---- */
.legal__footer[b-e4ahryuc1g] {
    margin-top: clamp(32px, 5vw, 56px);
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 15px;
    color: #5c5c5c;
}

.legal__footer p[b-e4ahryuc1g] {
    margin: 0;
}

/* ---- Status (loading / error / empty) ---- */
.legal__status[b-e4ahryuc1g] {
    text-align: center;
    padding: clamp(32px, 6vw, 64px) 16px;
    color: #5c5c5c;
}

.legal__status h1[b-e4ahryuc1g] {
    margin-bottom: 20px;
}

.legal__status p[b-e4ahryuc1g] {
    margin: 0 0 20px;
    font-size: clamp(16px, 1.8vw, 18px);
}

.legal__status--error[b-e4ahryuc1g] {
    border-radius: var(--radius, 14px);
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.legal__retry[b-e4ahryuc1g] {
    display: inline-block;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cta1, #ff9900), var(--cta2, #f47a0b));
    color: #fff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow, 0 10px 30px rgba(0, 0, 0, 0.2));
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.legal__retry:hover[b-e4ahryuc1g] {
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.legal__spinner[b-e4ahryuc1g] {
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--cta2, #f47a0b);
    border-radius: 50%;
    animation: legal-spin-b-e4ahryuc1g 0.8s linear infinite;
}

@keyframes legal-spin-b-e4ahryuc1g {
    to {
        transform: rotate(360deg);
    }
}

/* ---- Header row (title + PDF button) ---- */
.legal__header-row[b-e4ahryuc1g] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

/* ---- PDF download button ---- */
.legal__pdf[b-e4ahryuc1g] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-top: 8px;
    padding: 10px 22px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: var(--ink-dark, #111827);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.legal__pdf:hover[b-e4ahryuc1g] {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: var(--ink-dark, #111827);
    text-decoration: none;
}

@media (max-width: 640px) {
    .legal[b-e4ahryuc1g] {
        padding-left: 20px;
        padding-right: 20px;
    }

    .legal__header-row[b-e4ahryuc1g] {
        flex-direction: column;
    }
}

/* ---- Hide PDF button in print ---- */
@media print {
    .legal__pdf[b-e4ahryuc1g] {
        display: none;
    }
}
/* /Pages/Legal/LegalIndex.razor.rz.scp.css */
/* ================= LEGAL INDEX (/legal) ================= */

.legal-idx[b-pg16qxast2] {
    background: #fff;
    color: var(--ink-dark, #111827);
    min-height: 70vh;
    padding: calc(var(--header-h, 68px) + clamp(40px, 6vw, 72px)) 16px clamp(56px, 9vw, 112px);
}

.legal-idx__wrap[b-pg16qxast2] {
    max-width: 860px;
}

/* ---- Header ---- */
.legal-idx__header[b-pg16qxast2] {
    margin-bottom: clamp(32px, 5vw, 48px);
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.legal-idx__header h1[b-pg16qxast2] {
    margin: 0 0 12px;
    font-weight: 800;
    font-size: clamp(32px, 5.6vw, 52px);
    line-height: 1.1;
    color: var(--ink-dark, #111827);
}

.legal-idx__intro[b-pg16qxast2] {
    margin: 0;
    font-size: clamp(15px, 1.6vw, 17px);
    color: #5c5c5c;
    line-height: 1.6;
}

/* ---- Status (loading / error / empty) ---- */
.legal-idx__status[b-pg16qxast2] {
    text-align: center;
    padding: clamp(32px, 6vw, 64px) 16px;
    color: #5c5c5c;
}

.legal-idx__status p[b-pg16qxast2] {
    font-size: clamp(15px, 1.8vw, 17px);
}

.legal-idx__status a[b-pg16qxast2] {
    color: var(--cta2, #f47a0b);
    text-decoration: underline;
}

.legal-idx__status--error[b-pg16qxast2] {
    border-radius: var(--radius, 14px);
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.legal-idx__retry[b-pg16qxast2] {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cta1, #ff9900), var(--cta2, #f47a0b));
    color: #fff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.legal-idx__retry:hover[b-pg16qxast2] {
    transform: translateY(-1px);
}

.legal-idx__spinner[b-pg16qxast2] {
    display: inline-block;
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
    border: 4px solid #e5e7eb;
    border-top-color: var(--cta2, #f47a0b);
    border-radius: 50%;
    animation: legal-idx-spin-b-pg16qxast2 0.8s linear infinite;
}

@keyframes legal-idx-spin-b-pg16qxast2 {
    to { transform: rotate(360deg); }
}

/* ---- Document list ---- */
.legal-idx__list[b-pg16qxast2] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ---- Card ---- */
.legal-card[b-pg16qxast2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-radius: var(--radius, 14px);
    border: 1px solid #e5e7eb;
    background: #fafafa;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.legal-card:hover[b-pg16qxast2] {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.legal-card__info[b-pg16qxast2] {
    flex: 1;
    min-width: 0;
}

.legal-card__title[b-pg16qxast2] {
    margin: 0 0 8px;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 700;
    color: var(--ink-dark, #111827);
}

.legal-card__meta[b-pg16qxast2] {
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #5c5c5c;
}

.legal-card__date[b-pg16qxast2] {
    font-size: 14px;
}

.legal-card__note[b-pg16qxast2] {
    margin: 6px 0 0;
    font-size: 13px;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 4px 10px;
    display: inline-block;
}

/* ---- Actions ---- */
.legal-card__actions[b-pg16qxast2] {
    flex-shrink: 0;
}

.legal-card__read[b-pg16qxast2] {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cta1, #ff9900), var(--cta2, #f47a0b));
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(244, 122, 11, 0.3);
}

.legal-card__read:hover[b-pg16qxast2] {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(244, 122, 11, 0.4);
    color: #fff;
    text-decoration: none;
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
    .legal-card[b-pg16qxast2] {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .legal-idx[b-pg16qxast2] {
        padding-left: 20px;
        padding-right: 20px;
    }
}
/* /Shared/MainLayout.razor.rz.scp.css */
.site-header[b-qz0fdaw7td] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    background: #fff;
    color: #111;
    box-shadow: 0 6px 24px rgba(10, 32, 80, 0.08);
}

.site-header__inner[b-qz0fdaw7td] {
    max-width: var(--container, 1200px);
    height: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 28px);
    display: grid;
    grid-template-columns: auto 1fr auto; /* brand | spacer | burger/nav */
    align-items: center;
    gap: 16px;
}

.site-header__brand img[b-qz0fdaw7td] {
    height: 30px;
    width: auto;
    display: block;
}

/* Desktop-nav (synlig hela tiden) */
.nav[b-qz0fdaw7td] {
    justify-self: end;
}

.nav__menu[b-qz0fdaw7td] {
    display: flex;
    gap: clamp(18px, 3.2vw, 36px);
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

    .nav__menu a[b-qz0fdaw7td] {
        text-decoration: none;
        color: #1b2550;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: 0.2px;
        padding: 10px 2px;
        position: relative;
    }

        .nav__menu a[b-qz0fdaw7td]::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 2px;
            height: 2px;
            background: linear-gradient(90deg, #705cff, #8a7bff);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.2s ease;
        }

        .nav__menu a:hover[b-qz0fdaw7td]::after,
        .nav__menu a:focus[b-qz0fdaw7td]::after {
            transform: scaleX(1);
        }

/* Burger (alltid längst till höger) */
.nav__toggle[b-qz0fdaw7td] {
    display: none;
}

.nav__burger[b-qz0fdaw7td] {
    justify-self: end; /* tvinga helt till höger */
    display: none;
    cursor: pointer;
    width: 36px;
    height: 28px;
    position: relative;
}

    .nav__burger span[b-qz0fdaw7td] {
        position: absolute;
        left: 0;
        right: 0;
        height: 3px;
        background: #222;
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
    }

        .nav__burger span:nth-child(1)[b-qz0fdaw7td] {
            top: 2px;
        }

        .nav__burger span:nth-child(2)[b-qz0fdaw7td] {
            top: 12px;
        }

        .nav__burger span:nth-child(3)[b-qz0fdaw7td] {
            top: 22px;
        }

/* ===== Mobil ===== */
@media (max-width: 960px) {
    /* visa burger, göm desktop-menyn */
    .nav__burger[b-qz0fdaw7td] {
        display: block;
    }

    .nav[b-qz0fdaw7td] {
        justify-self: end;
    }

    .nav__menu[b-qz0fdaw7td] {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #eef1f8;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

        .nav__menu li[b-qz0fdaw7td] {
            border-bottom: 1px solid #f2f4fb;
        }

    /* Stängd/öppen meny via checkbox */
    #nav-toggle:checked ~ .nav__burger span:nth-child(1)[b-qz0fdaw7td] {
        transform: rotate(45deg);
        top: 12px;
    }

    #nav-toggle:checked ~ .nav__burger span:nth-child(2)[b-qz0fdaw7td] {
        opacity: 0;
    }

    #nav-toggle:checked ~ .nav__burger span:nth-child(3)[b-qz0fdaw7td] {
        transform: rotate(-45deg);
        top: 12px;
    }

    #nav-toggle:checked ~ .nav .nav__menu[b-qz0fdaw7td] {
        max-height: 340px;
    }
}

/* ==================== FOOTER ==================== */
.site-footer[b-qz0fdaw7td] {
    background: linear-gradient(180deg, #2a1a72 0%, #1b1354 100%);
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: clamp(28px, 4vw, 44px) 20px;
}

.site-footer__inner[b-qz0fdaw7td] {
    max-width: var(--container, 1200px);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2.5vw, 24px);
}

/* ── Top row: brand + nav + social ── */
.footer__top[b-qz0fdaw7td] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 40px);
    flex-wrap: wrap;
}

.footer__block h4[b-qz0fdaw7td] {
    margin: 0 0 4px 0;
    font-size: clamp(16px, 2.2vw, 20px);
    font-weight: 800;
    letter-spacing: 0.2px;
}

.footer__block p[b-qz0fdaw7td] {
    margin: 0;
    font-size: clamp(14px, 1.8vw, 16px);
    color: #e9e6ff;
}

.footer__nav[b-qz0fdaw7td] {
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    align-items: center;
}

.footer__nav a[b-qz0fdaw7td] {
    color: #d4d0f8;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.15s ease;
}

.footer__nav a:hover[b-qz0fdaw7td] {
    color: #fff;
    text-decoration: underline;
}

.footer__social[b-qz0fdaw7td] {
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    gap: 14px;
}

    .footer__social > span[b-qz0fdaw7td] {
        font-weight: 700;
        font-size: 16px;
        color: #f1efff;
        opacity: 0.95;
    }

.footer__icons[b-qz0fdaw7td] {
    display: inline-flex;
    gap: 14px;
}

    .footer__icons a[b-qz0fdaw7td] {
        display: inline-grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
    }

        .footer__icons a:hover[b-qz0fdaw7td] {
            transform: translateY(-2px);
            background: rgba(255, 255, 255, 0.14);
            border-color: rgba(255, 255, 255, 0.25);
        }

    .footer__icons img[b-qz0fdaw7td] {
        width: 18px;
        height: auto;
        display: block;
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
    }

/* ── Divider ── */
.footer__divider[b-qz0fdaw7td] {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

/* ── Bottom row: copyright + org nr ── */
.footer__bottom[b-qz0fdaw7td] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: clamp(13px, 1.6vw, 14px);
    color: #c5c0e8;
}

.footer__org[b-qz0fdaw7td] {
    opacity: 0.6;
    font-size: clamp(12px, 1.4vw, 13px);
}

/* Mobil */
@media (max-width: 780px) {
    .footer__top[b-qz0fdaw7td] {
        flex-direction: column;
        gap: 16px;
    }

    .footer__bottom[b-qz0fdaw7td] {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .footer__social[b-qz0fdaw7td] {
        grid-auto-flow: row;
        justify-items: start;
        gap: 10px;
    }

    .footer__icons a[b-qz0fdaw7td] {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .footer__icons img[b-qz0fdaw7td] {
        width: 20px;
    }
}
