/* =========================================================
   WebReus — Apple-stijl stylesheet
   ========================================================= */

/* ── Lettertype: Inter (eigen server, SIL Open Font License — assets/fonts/inter/LICENSE.txt) ── */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("/assets/fonts/inter/inter-latin-300-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/inter/inter-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/assets/fonts/inter/inter-latin-500-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/assets/fonts/inter/inter-latin-600-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/inter/inter-latin-700-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/assets/fonts/inter/inter-latin-800-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Fade-animatie (Intersection Observer) ───────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    .anim-wacht {
        opacity: 0;
        transition: opacity 0.6s ease;
        transition-delay: var(--anim-delay, 0ms);
    }

    .anim-wacht.anim-zichtbaar {
        opacity: 1;
    }
}

/* ── Einde animaties ─────────────────────────────────────────────────────── */

/* ── Scroll-animaties ────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {

    /* Beginstaat: onzichtbaar + verschoven */
    .anim-wacht {
        opacity: 0;
        transform: translateY(28px);
        transition:
            opacity  0.55s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: var(--anim-delay, 0ms);
        will-change: opacity, transform;
    }

    /* Eindstaat: zichtbaar op originele positie */
    .anim-wacht.anim-zichtbaar {
        opacity: 1;
        transform: translateY(0);
    }

    /* Varianten ─────────────────────────────────────────────────────────── */

    /* Vanuit links */
    .anim-links.anim-wacht {
        transform: translateX(-36px);
    }
    .anim-links.anim-zichtbaar {
        transform: translateX(0);
    }

    /* Vanuit rechts */
    .anim-rechts.anim-wacht {
        transform: translateX(36px);
    }
    .anim-rechts.anim-zichtbaar {
        transform: translateX(0);
    }

    /* Alleen fade (geen beweging) */
    .anim-fade.anim-wacht {
        transform: none;
    }
    .anim-fade.anim-zichtbaar {
        opacity: 1;
    }

    /* Hero-inhoud: iets sneller en groter effect */
    .hero .anim-wacht {
        transform: translateY(40px);
        transition-duration: 0.7s;
    }
}

/* ── Einde scroll-animaties ──────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --apple-blue:     #0071e3;
    --apple-blue-dk:  #0077ed;
    --apple-black:    #1d1d1f;
    --apple-gray:     #6e6e73;
    --apple-silver:   #f5f5f7;
    --apple-white:    #ffffff;
    --apple-border:   #d2d2d7;
    --apple-green:    #34c759;
    --apple-red:      #ff3b30;
    --apple-orange:   #ff9f0a;

    /* Aliassen zodat bestaande klassen blijven werken */
    --color-primary:  var(--apple-blue);
    --color-dark:     var(--apple-black);
    --color-light:    var(--apple-silver);
    --color-white:    var(--apple-white);
    --color-border:   var(--apple-border);

    /* Vast lettertype op elk apparaat: Inter (zelf gehost). De rest is alleen
       reserve voor als het lettertype (nog) niet geladen is. */
    --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "Helvetica Neue", Arial, sans-serif;

    /* Koppen/body-fonts — in beide thema's gelijk aan --font-main (Inter). */
    --font-heading: var(--font-main);
    --font-body:    var(--font-main);

    --max-width: 1080px;
    --radius-sm:   10px;
    --radius-md:   18px;
    --radius-lg:   24px;
    --radius-pill: 980px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--apple-black);
    background: var(--apple-white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

a {
    color: var(--apple-blue);
    text-decoration: none;
}

a:hover { text-decoration: underline; }

/* ── HEADER / NAV ──────────────────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    /* Volle-breedte balk (concept "Blauw podium") */
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    border-bottom: 1px solid #e8e8ed;
    padding: 0 48px;
}

.header-inner {
    /* Even breed als de hero-kaart (.hero-podium-kaart) */
    max-width: 1344px;
    margin: 0 auto;
    padding: 0;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

/* Logo wisselen per thema */
.logo .logo-donker { display: none; }
html.thema-donker .logo .logo-licht { display: none; }
html.thema-donker .logo .logo-donker { display: block; }

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Alle menu-items (met en zonder icoon) op dezelfde hoogte centreren */
nav ul li {
    display: flex;
    align-items: center;
}

/* Menu-items als pillen (variant A: zachte pillen) */
nav ul li a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 980px;
    line-height: 1.2;
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--apple-black);
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s;
    text-decoration: none;
}

nav ul li a:hover {
    background: var(--apple-silver);
    text-decoration: none;
}

nav ul li a.active {
    background: rgba(0, 113, 227, 0.10);
    color: var(--apple-blue);
    font-weight: 500;
    text-decoration: none;
}

nav ul li a:focus-visible {
    outline: 2px solid var(--apple-blue);
    outline-offset: 2px;
}

/* Mijn account: gevulde blauwe pil */
nav ul li a.nav-account-link {
    background: var(--apple-blue);
    color: #fff;
    font-weight: 500;
    margin-left: 6px;
}

nav ul li a.nav-account-link:hover {
    background: #0062c4;
    color: #fff;
}

.nav-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

nav ul li a.nav-cart-link { padding: 0 10px; }

/* Smallere schermen (tablet): pillen iets compacter zodat alles op één regel past */
@media (max-width: 1100px) {
    nav ul li a { padding: 0 10px; font-size: 0.88rem; }
    nav ul li a.nav-cart-link { padding: 0 8px; }
}

.nav-cart-link svg {
    display: block;
}

.nav-account-link,
.nav-portaal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-account-link svg,
.nav-portaal-link svg {
    display: block;
    flex-shrink: 0;
}

.nav-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--apple-blue);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 8px;
    line-height: 1;
    pointer-events: none;
}

/* ── HERO ─────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--apple-silver) 0%, var(--apple-white) 60%);
    color: var(--apple-black);
    padding: 50px 24px 80px;
    text-align: center;
}

/* Carrousel-laag achter de inhoud */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.actief { opacity: 1; }

/* Lichte waas zodat tekst leesbaar blijft */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(245, 245, 247, 0.78);
    backdrop-filter: blur(1px);
    z-index: 1;
}

/* Alle hero-kinderen boven de carrousel */
.hero > *:not(.hero-carousel):not(.hero-overlay) {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--apple-blue);
    margin-bottom: 18px;
}

/* ── HERO "BLAUW PODIUM" (homepage) ──────────────────────────────────────
   Boxed hero: blauwe kaart met afgeronde hoeken binnen de pagina.
   USP-lijst links, zwevend dashboard-paneel rechts. */
.hero-podium {
    padding: 28px 48px 0;
}

.hero-podium-kaart {
    max-width: 1344px;
    margin: 0 auto;
    /* Fallback-achtergrond (video laadt eroverheen) */
    background: url("/assets/images/hero/slide1.png") center / cover no-repeat;
    border-radius: var(--radius-lg);
    padding: 64px;
    display: flex;
    gap: 56px;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: left;
}

/* Achtergrondvideo + waas (waas links dekkender voor leesbare tekst,
   rechts transparanter zodat het beeld goed zichtbaar is) */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-waas {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(105deg, rgba(0, 90, 190, 0.85) 0%, rgba(0, 105, 210, 0.55) 55%, rgba(0, 113, 227, 0.30) 100%);
}

@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
}

/* Decoratieve diagonale vlakken */
.hero-podium-kaart::before,
.hero-podium-kaart::after {
    content: "";
    position: absolute;
    z-index: 1;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.06);
}
.hero-podium-kaart::before {
    right: -120px;
    top: -160px;
    width: 480px;
    height: 480px;
    transform: rotate(35deg);
}
.hero-podium-kaart::after {
    right: 60px;
    bottom: -220px;
    width: 380px;
    height: 380px;
    transform: rotate(20deg);
    background: rgba(255, 255, 255, 0.05);
}

.hero-podium-links {
    flex: 1.15;
    position: relative;
    z-index: 2;
    line-height: 1;
}

.hero-podium .hero-eyebrow {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.hero-podium h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.hero-podium-links p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 460px;
    margin: 0 0 32px;
    line-height: 1.55;
}

.hero-punten {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 24px;
    margin: 0 0 36px;
    padding: 0;
}

.hero-punten li { display: flex; gap: 12px; align-items: flex-start; }

/* Titel bovenaan, op gelijke hoogte met de bovenkant van het pictogram */
.hero-punten li > span:last-child { padding-top: 2px; }

.hero-punt-ico {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.hero-punten strong {
    display: block;
    font-size: 0.98rem;
    line-height: 1.25;
    color: #fff;
}

.hero-punten li > span:last-child {
    font-size: 0.84rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1100px) {
    .hero-punten { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }
}

@media (max-width: 560px) {
    .hero-punten { grid-template-columns: 1fr; gap: 14px; }
}

.hero-usps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 36px;
    padding: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
}

.hero-usps li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-usps svg { flex-shrink: 0; }

/* Zoekbalk in de blauwe kaart: wit, zonder rand, donkere knop */
.hero-podium .domein-zoekform {
    margin: 0;
    max-width: 520px;
    border: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
.hero-podium .domein-zoekform:focus-within {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35), 0 12px 40px rgba(0, 0, 0, 0.18);
}
.hero-podium .domein-zoekform button {
    background: var(--apple-black);
}
.hero-podium .domein-zoekform button:hover {
    background: #000;
}

/* Bestelstand: na "Bestellen" bij een pakket (config/homepage.php → bestelstand_hero) */
.hero-stap {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: 5px 13px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-gekozen {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: #fff;
    color: var(--apple-black);
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.hero-gekozen-vink {
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--apple-green);
    color: #fff;
    font-size: 0.8rem;
    display: grid;
    place-items: center;
}
.hero-gekozen-prijs { color: var(--apple-gray); }
.hero-gekozen-knop {
    color: var(--apple-blue);
    font-weight: 600;
    font-size: 0.82rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: rgba(0, 113, 227, 0.08);
    text-decoration: none;
}
.hero-gekozen-knop:hover { background: rgba(0, 113, 227, 0.15); text-decoration: none; }
.hero-bestel-uitleg {
    margin: 14px 0 0;
    max-width: 520px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}
.hero-bestelstand .domein-zoekform { animation: hero-oplichten 1.6s ease-out 0.3s 2; }
@keyframes hero-oplichten {
    0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7), 0 12px 40px rgba(0, 0, 0, 0.18); }
    100% { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0), 0 12px 40px rgba(0, 0, 0, 0.18); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-bestelstand .domein-zoekform { animation: none; }
}
#pakketten { scroll-margin-top: 80px; }

@media (max-width: 900px) {
    .hero-podium { padding: 20px 16px 0; }
    .hero-podium-kaart {
        flex-direction: column;
        padding: 40px 28px;
        gap: 36px;
        text-align: left;
    }
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.07;
    color: var(--apple-black);
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    font-weight: 400;
    color: var(--apple-gray);
    max-width: 520px;
    margin: 0 auto 44px;
    line-height: 1.55;
    opacity: 1;
}

/* ── KNOPPEN ──────────────────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    border: none;
    transition: opacity 0.15s, background 0.15s;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover { opacity: 0.82; text-decoration: none; }

.btn-primary {
    background: var(--apple-blue);
    color: var(--apple-white);
}

.btn-secondary {
    background: var(--apple-black);
    color: var(--apple-white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--apple-blue);
    border: 1.5px solid var(--apple-border);
}

.btn-outline-primary:hover { background: var(--apple-silver); }

.btn-white {
    background: var(--apple-white);
    color: var(--apple-blue);
}

.btn-outline-white {
    background: transparent;
    color: var(--apple-white);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1rem;
}

/* ── DOMEINNAAM ZOEKFORMULIER ─────────────────────────────────────────────── */
.domein-zoekform {
    display: flex;
    max-width: 580px;
    margin: 0 auto;
    background: var(--apple-white);
    border: 1.5px solid var(--apple-border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s, border-color 0.2s;
    gap: 0;
}

.domein-zoekform:focus-within {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12), 0 2px 20px rgba(0, 0, 0, 0.08);
}

.domein-zoekform input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 22px;
    font-size: 0.97rem;
    font-family: var(--font-body);
    color: var(--apple-black);
    background: transparent;
}

.domein-zoekform input[type="text"]::placeholder { color: #b0b0b5; }

.domein-zoekform button {
    border: none;
    background: var(--apple-blue);
    color: var(--apple-white);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 10px 22px;
    margin: 5px 5px 5px 0;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.domein-zoekform button:hover { background: var(--apple-blue-dk); }

/* ── SECTIES ──────────────────────────────────────────────────────────────── */
.section {
    padding: 80px 24px;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--apple-black);
}

.section-subtitle {
    color: var(--apple-gray);
    margin-bottom: 48px;
    font-size: 1rem;
    line-height: 1.5;
}

.section-light {
    background: var(--apple-silver);
}

/* ── KAARTEN ──────────────────────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: var(--apple-silver);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    display: flex;
    flex-direction: column;
}

.section-light .card {
    background: var(--apple-white);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    color: var(--apple-black);
}

.card p {
    font-size: 0.88rem;
    color: var(--apple-gray);
    line-height: 1.5;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--apple-black);
    margin: auto 0 4px;
}

.price span {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--apple-gray);
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
footer {
    background: var(--apple-silver);
    border-top: 1px solid var(--apple-border);
    padding: 36px 24px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--apple-gray);
}

footer a {
    color: var(--apple-blue);
    text-decoration: none;
}

footer a:hover { text-decoration: underline; }

/* ── VOORKEUR PAKKET BANNER ──────────────────────────────────────────────── */
.voorkeur-banner {
    background: rgba(0, 113, 227, 0.07);
    border-bottom: 1px solid rgba(0, 113, 227, 0.15);
    padding: 12px 24px;
    font-size: 0.88rem;
    color: var(--apple-black);
}

.voorkeur-banner .section-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.voorkeur-wis {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--apple-gray);
    text-decoration: none;
    opacity: 0.75;
}

.voorkeur-wis:hover { opacity: 1; text-decoration: none; }

/* ── DOMEIN ZOEKRESULTATEN ────────────────────────────────────────────────── */
.domein-resultaten {
    padding: 0 24px 56px;
    background: var(--apple-white);
}

.domein-resultaat {
    background: var(--apple-silver);
    border: none;
    border-radius: var(--radius-lg);
    padding: 32px 32px 28px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.domein-resultaat-vrij  { border-left: none; }
.domein-resultaat-bezet { border-left: none; }

.domein-resultaat-kop {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.domein-naam-tekst {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--apple-black);
}

.domein-prijs {
    color: var(--apple-blue);
    font-weight: 600;
    font-size: 1rem;
}

.domein-bezet-info {
    color: var(--apple-gray);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.domein-acties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.domein-laden {
    text-align: center;
    padding: 40px;
    color: var(--apple-gray);
}

.domein-fout {
    color: var(--apple-red);
    padding: 16px;
    font-size: 0.9rem;
}

/* ── DOMEIN TABEL ─────────────────────────────────────────────────────────── */
.domein-tabel {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.domein-tabel th {
    text-align: left;
    padding: 10px 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--apple-gray);
    border-bottom: 1px solid var(--apple-border);
}

.domein-tabel td {
    padding: 14px 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
    font-size: 0.93rem;
}

.domein-tabel tr:last-child td { border-bottom: none; }
.domein-rij { transition: background 0.12s; }
.domein-rij:hover td { background: rgba(0, 0, 0, 0.015); }
.domein-rij.bezet td { opacity: 0.65; }
.cel-naam { font-size: 0.97rem; font-weight: 500; }
.cel-prijs { color: var(--apple-blue); font-weight: 600; }
.cel-prijs-laden { color: var(--apple-border); font-style: normal; font-size: 0.85rem; }

/* ── STATUS BADGES ────────────────────────────────────────────────────────── */
.status-badge {
    display: inline-block;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.status-badge.vrij   { background: rgba(52, 199, 89, 0.12);  color: #1a7a35; }
.status-badge.bezet  { background: rgba(0, 0, 0, 0.06);       color: var(--apple-gray); }

.status-badge-betaald     { background: rgba(52, 199, 89, 0.12);  color: #1a7a35; }
.status-badge-openstaand  { background: rgba(255, 159, 10, 0.12); color: #8a5500; }
.status-badge-geannuleerd { background: rgba(255, 59, 48, 0.10);  color: #b03020; }
.status-badge-onbevestigd { background: rgba(0, 113, 227, 0.10);  color: #0058b0; }
.status-badge-verwerkt    { background: rgba(88, 86, 214, 0.12);  color: #3f3cbb; }

/* ── LAAD-SPINNER ─────────────────────────────────────────────────────────── */
.status-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--apple-border);
    border-top-color: var(--apple-blue);
    border-radius: 50%;
    animation: spinner-draaien 0.7s linear infinite;
    vertical-align: middle;
}

@keyframes spinner-draaien { to { transform: rotate(360deg); } }

/* ── BESTELLING STAPPEN ───────────────────────────────────────────────────── */
.bestelling-header {
    background: var(--apple-silver);
    border-bottom: 1px solid var(--apple-border);
    padding: 16px 24px;
}

.bestelling-stappen {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.stap {
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--apple-border);
    background: transparent;
    border: 1.5px solid var(--apple-border);
}

.stap.actief {
    color: var(--apple-blue);
    border-color: var(--apple-blue);
    background: rgba(0, 113, 227, 0.07);
    font-weight: 600;
}

.stap.voltooid {
    color: #1a7a35;
    border-color: rgba(52, 199, 89, 0.45);
    background: rgba(52, 199, 89, 0.08);
}

a.stap.voltooid {
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

a.stap.voltooid:hover {
    background: rgba(52, 199, 89, 0.16);
    border-color: var(--apple-green);
    text-decoration: none;
    opacity: 1;
}

.stap-verbinding {
    width: 20px;
    height: 1.5px;
    background: var(--apple-border);
}

.gekozen-domein {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--apple-gray);
    flex-wrap: wrap;
}

.gekozen-domein strong {
    color: var(--apple-black);
    font-size: 0.95rem;
    font-weight: 600;
}

.actie-badge {
    background: rgba(0, 113, 227, 0.08);
    color: var(--apple-blue);
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: var(--radius-pill);
    padding: 2px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ── PAKKET SELECTIE ──────────────────────────────────────────────────────── */
.pakket-keuze-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.pakket-keuze-kaart {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 1.5px solid var(--apple-border);
    border-radius: var(--radius-lg);
    background: var(--apple-silver);
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
    position: relative;
}

.pakket-keuze-kaart input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pakket-keuze-kaart:hover {
    border-color: var(--apple-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.10);
}

.pakket-keuze-kaart.geselecteerd {
    border: 2.5px solid var(--apple-blue);
    background: var(--apple-white);
    box-shadow: 0 14px 40px rgba(0, 113, 227, 0.18);
    transform: translateY(-4px);
}

/* Niet-gekozen pakketten iets lichter; bij aanwijzen weer volledig */
.pakket-keuze-grid.heeft-keuze .pakket-keuze-kaart:not(.geselecteerd) { opacity: 0.72; }
.pakket-keuze-grid.heeft-keuze .pakket-keuze-kaart:not(.geselecteerd):hover { opacity: 1; }

/* Blauwe kop boven het gekozen pakket */
.pakket-lint {
    display: none;
    background: var(--apple-blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 9px 16px;
    border-radius: calc(var(--radius-lg) - 3px) calc(var(--radius-lg) - 3px) 0 0;
}
.pakket-keuze-kaart.geselecteerd .pakket-lint { display: block; }

/* Keuzerondje rechtsboven */
.pakket-bolletje {
    position: absolute;
    top: 24px;
    right: 20px;
    z-index: 1;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--apple-border);
    background: var(--apple-white);
    display: grid;
    place-items: center;
}
.pakket-keuze-kaart.geselecteerd .pakket-bolletje {
    top: 58px;
    background: var(--apple-blue);
    border-color: var(--apple-blue);
}
.pakket-keuze-kaart.geselecteerd .pakket-bolletje::after {
    content: '✓';
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
}
.pakket-kaart-inhoud h3 { padding-right: 32px; }

/* Knop onderaan de kaart: "Kies dit pakket" / "✓ Gekozen" */
.pakket-keuzeknop {
    display: block;
    margin-top: 18px;
    text-align: center;
    border-radius: var(--radius-pill);
    padding: 11px 16px;
    font-weight: 600;
    font-size: 0.92rem;
    border: 1.5px solid var(--apple-blue);
    color: var(--apple-blue);
    background: var(--apple-white);
}
.pakket-keuzeknop-gekozen { display: none; }
.pakket-keuze-kaart.geselecteerd .pakket-keuzeknop { background: var(--apple-blue); color: #fff; }
.pakket-keuze-kaart.geselecteerd .pakket-keuzeknop-kies { display: none; }
.pakket-keuze-kaart.geselecteerd .pakket-keuzeknop-gekozen { display: inline; }

/* Toetsenbord: focus op het (verborgen) keuzerondje zichtbaar maken */
.pakket-keuze-kaart:focus-within { outline: 3px solid rgba(0, 113, 227, 0.35); outline-offset: 2px; }

/* Keuzebalk onderaan (plakt aan de onderkant van het scherm zolang het formulier in beeld is) */
.pakket-keuzebalk {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--apple-border);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.06);
}
.pakket-keuzebalk-tekst { font-size: 0.95rem; color: var(--apple-black); }
.pakket-keuzebalk-tekst span { color: var(--apple-gray); }
.pakket-keuzebalk .btn { margin-left: auto; }
@media (max-width: 560px) {
    .pakket-keuzebalk .btn { width: 100%; text-align: center; }
}

.pakket-kaart-inhoud {
    padding: 28px 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pakket-kaart-inhoud h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--apple-black);
    margin-bottom: 14px;
}

.pakket-kenmerken {
    list-style: none;
    font-size: 0.86rem;
    color: var(--apple-gray);
    line-height: 2;
    margin-bottom: 14px;
}

.pakket-kenmerken li::before {
    content: '· ';
    color: var(--apple-blue);
    font-weight: 700;
}

.pakket-kaart-inhoud .price {
    margin-top: auto;
}

/* Pakketkeuze (hosting-kiezen): bredere kaarten, compactere kenmerkenlijst */
.section-inner.pakket-kiezen-breed { max-width: 1344px; }
.pakket-kiezen-breed .pakket-keuze-grid { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.pakket-kiezen-breed .pakket-kaart-inhoud { padding: 28px 26px; }
.pakket-kiezen-breed .pakket-kenmerken { line-height: 1.5; }
.pakket-kiezen-breed .pakket-kenmerken li { padding: 4px 0 4px 12px; text-indent: -12px; }

.pakket-doorgaan {
    text-align: center;
    padding-top: 8px;
}

/* ── PAKKET OPTIES ────────────────────────────────────────────────────────── */
.pakket-opties-sectie {
    background: var(--apple-silver);
    border-radius: var(--radius-lg);
    padding: 28px 28px 24px;
    margin-bottom: 28px;
}

.pakket-opties-titel {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--apple-black);
    margin-bottom: 6px;
}

.pakket-opties-intro {
    font-size: 0.88rem;
    color: var(--apple-gray);
    margin-bottom: 20px;
}

.pakket-opties-lijst {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pakket-optie {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--apple-white);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    cursor: pointer;
    transition: box-shadow 0.15s;
}

.pakket-optie:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

/* Toggle switch */
.pakket-optie input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch {
    position: relative;
    width: 44px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--apple-border);
    border-radius: var(--radius-pill);
    transition: background 0.22s;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--apple-white);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.22);
    transition: transform 0.22s;
}

.pakket-optie input[type="checkbox"]:checked + .toggle-switch::before {
    background: var(--apple-green);
}

.pakket-optie input[type="checkbox"]:checked + .toggle-switch::after {
    transform: translateX(18px);
}

.optie-inhoud {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.optie-naam {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--apple-black);
}

.optie-oms {
    font-size: 0.78rem;
    color: var(--apple-gray);
    line-height: 1.45;
}

.optie-prijs {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--apple-blue);
    white-space: nowrap;
}

.optie-gratis {
    color: #1a7a35;
}

/* ── WINKELMANDJE ─────────────────────────────────────────────────────────── */
.winkelmandje {
    background: var(--apple-silver);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 660px;
    margin: 0 auto 32px;
    border: none;
}

.winkelmandje-rij {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.winkelmandje-rij:last-child { border-bottom: none; }

.winkelmandje-rij.totaal {
    background: rgba(0, 0, 0, 0.03);
    font-weight: 700;
    font-size: 1rem;
}

.winkelmandje-label {
    flex: 1;
    color: var(--apple-black);
    font-size: 0.93rem;
}

.winkelmandje-sublabel {
    font-size: 0.8rem;
    color: var(--apple-gray);
    font-weight: 400;
}

.winkelmandje-prijs {
    font-weight: 600;
    color: var(--apple-black);
    font-size: 0.97rem;
    white-space: nowrap;
}

.winkelmandje-acties {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 660px;
    margin: 0 auto;
}

.winkelmandje-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 660px;
    margin: 20px auto 0;
    font-size: 0.85rem;
}

.winkelmandje-links a {
    color: var(--apple-blue);
    opacity: 0.8;
}

.winkelmandje-links a:hover { opacity: 1; text-decoration: none; }

/* ── ACCOUNT KEUZE (inloggen / nieuwe klant) ──────────────────────────────── */
.account-keuze {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 780px) {
    .account-keuze { grid-template-columns: 1fr; }
}

.account-sectie {
    background: var(--apple-silver);
    border: none;
    border-radius: var(--radius-lg);
    padding: 32px 28px;
}

.account-sectie h2 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--apple-black);
}

.account-sectie .sectie-intro {
    font-size: 0.88rem;
    color: var(--apple-gray);
    margin-bottom: 24px;
}

/* ── FORMULIEREN ──────────────────────────────────────────────────────────── */
.formulier-rij {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 8px 14px;
    align-items: center;
    margin-bottom: 12px;
}

.formulier-label {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--apple-black);
}

.formulier-label.verplicht::after {
    content: ' *';
    color: var(--apple-red);
}

.formulier-input,
.formulier-select {
    width: 100%;
    padding: 9px 13px;
    border: 1.5px solid var(--apple-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--apple-black);
    background: var(--apple-white);
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    appearance: none;
}

.formulier-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236e6e73' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.formulier-input:focus,
.formulier-select:focus {
    outline: none;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

.formulier-input.invoer-fout,
.formulier-select.invoer-fout {
    border-color: var(--apple-red);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.10);
}

.formulier-fout {
    grid-column: 2;
    font-size: 0.8rem;
    color: var(--apple-red);
    margin-top: -4px;
    margin-bottom: 2px;
}

.formulier-hint {
    grid-column: 2;
    font-size: 0.78rem;
    color: var(--kleur-grijs);
    margin-top: -4px;
}

/* Knop "Sterk wachtwoord voorstellen" onder het wachtwoordveld */
.wachtwoord-voorstel {
    grid-column: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.wachtwoord-voorstel .formulier-hint {
    flex-basis: 100%;
    margin-top: 0;
}

.formulier-scheiding {
    border: none;
    border-top: 1px solid var(--apple-border);
    margin: 22px 0;
}

.formulier-acties {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

/* ── MIJN ACCOUNT PORTAAL ─────────────────────────────────────────────────── */
.account-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0 24px;
}

.account-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    height: 54px;
    padding: 0;
}

.account-welkom {
    font-size: 0.8rem;
    color: var(--apple-gray);
}

.account-welkom strong {
    color: var(--apple-black);
    font-weight: 600;
}

.account-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-wrap: wrap;
    height: 100%;
}

.account-nav a {
    /* Pillen, zelfde stijl als het supportmenu en het hoofdmenu */
    display: flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 980px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--apple-black);
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
    white-space: nowrap;
}

.account-nav a:hover {
    background: var(--apple-silver);
    text-decoration: none;
}

.account-nav a.actief {
    background: rgba(0, 113, 227, 0.10);
    color: var(--apple-blue);
    font-weight: 500;
}

.account-nav a:focus-visible {
    outline: 2px solid var(--apple-blue);
    outline-offset: 2px;
}

.account-uitloggen {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--apple-blue);
    align-self: center;
    text-decoration: none;
    opacity: 0.85;
}

.account-uitloggen:hover { opacity: 1; text-decoration: none; }

/* ── DASHBOARD ────────────────────────────────────────────────────────────── */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.dashboard-kaart {
    background: var(--apple-silver);
    border: none;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-decoration: none;
    color: var(--apple-black);
    transition: transform 0.18s, box-shadow 0.18s;
    display: block;
}

.dashboard-kaart:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
    text-decoration: none;
    color: var(--apple-black);
}

/* Lijnicoon zonder kleur, zelfde stijl als de iconen in het menu */
.dashboard-kaart-icoon {
    display: flex;
    color: var(--apple-gray);
    margin-bottom: 14px;
}

.dashboard-kaart-icoon svg {
    display: block;
}

.dashboard-kaart h2 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--apple-black);
    margin: 0 0 8px;
}

.dashboard-kaart-titel {
    font-size: 1rem;
    font-weight: 700;
    color: var(--apple-black);
    margin-bottom: 6px;
}

.dashboard-kaart p {
    font-size: 0.85rem;
    color: var(--apple-gray);
    line-height: 1.5;
}

/* ── BESTELLINGEN TABEL ───────────────────────────────────────────────────── */
.bestellingen-tabel {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.bestellingen-tabel th {
    text-align: left;
    padding: 10px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--apple-gray);
    border-bottom: 1px solid var(--apple-border);
    white-space: nowrap;
}

.bestellingen-tabel td {
    padding: 13px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: middle;
}

.bestellingen-tabel-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bestellingen-tabel .bestelling-acties {
    text-align: right;
    padding-left: 4px;
    padding-right: 4px;
}

.bestelling-acties a { margin: 3px 0 3px 6px; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bestellingen-tabel tr:last-child td { border-bottom: none; }
.bestellingen-tabel tr:hover td { background: rgba(0, 0, 0, 0.015); }

.btn-factuur-pdf {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 113, 227, 0.08);
    color: var(--apple-blue);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: 1px solid rgba(0, 113, 227, 0.20);
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.btn-factuur-pdf:hover {
    background: rgba(0, 113, 227, 0.15);
    border-color: rgba(0, 113, 227, 0.40);
}

.btn-ideal-link {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(88, 86, 214, 0.08);
    color: #5856d6;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: 1px solid rgba(88, 86, 214, 0.22);
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.btn-ideal-link:hover {
    background: rgba(88, 86, 214, 0.15);
    border-color: rgba(88, 86, 214, 0.42);
}

.btn-annuleer-link {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255, 59, 48, 0.07);
    color: var(--apple-red, #ff3b30);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: 1px solid rgba(255, 59, 48, 0.20);
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.btn-annuleer-link:hover {
    background: rgba(255, 59, 48, 0.14);
    border-color: rgba(255, 59, 48, 0.40);
    text-decoration: none;
}

/* ── MELDINGEN ────────────────────────────────────────────────────────────── */
.melding-succes,
.melding-ok {
    background: rgba(52, 199, 89, 0.10);
    border: 1px solid rgba(52, 199, 89, 0.25);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #1a7a35;
}

.melding-fout {
    background: rgba(255, 59, 48, 0.07);
    border: 1px solid rgba(255, 59, 48, 0.2);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: #b03020;
}

/* ── SECTIE KOP ───────────────────────────────────────────────────────────── */
.sectie-kop {
    font-size: 0.97rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--apple-black);
    margin: 28px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--apple-border);
}

.gegevens-formulier .formulier-rij {
    grid-template-columns: 200px 1fr;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .formulier-rij {
        grid-template-columns: 1fr;
    }

    .formulier-fout { grid-column: 1; }
    .wachtwoord-voorstel { grid-column: 1; }

    .account-header-inner {
        height: auto;
        padding: 10px 0;
        gap: 6px;
    }

    .account-nav a { height: 32px; padding: 0 12px; font-size: 0.875rem; }

    .domein-tabel th:nth-child(2),
    .domein-tabel td:nth-child(2) { display: none; }

    header { padding: 8px 12px; }
    .header-inner { height: 54px; padding: 0 14px; border-radius: 80px; }
}

/* ── Hamburger / mobiel menu ─────────────────────────────────────────────── */

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
    z-index: 201;
}

.nav-burger:hover {
    background: rgba(0, 0, 0, 0.06);
}

.nav-burger span {
    display: block;
    height: 2px;
    background: var(--apple-black);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.2s;
    transform-origin: center;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 198;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Mobiel nav-paneel (aangemaakt via JS, direct aan body gehangen) */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    z-index: 199;
}

.nav-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.nav-mobile ul li a {
    display: block;
    font-size: 1.15rem;
    font-weight: 500;
    padding: 16px 32px;
    color: var(--apple-black);
    text-decoration: none;
    opacity: 1;
}

.nav-mobile ul li:last-child a {
    color: var(--apple-blue);
}

body.nav-open .nav-mobile {
    display: flex;
}

body.nav-open .nav-overlay {
    display: block;
}

/* Burger → kruis animatie */
body.nav-open .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-burger span:nth-child(2) {
    opacity: 0;
}
body.nav-open .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 680px) {
    .nav-burger {
        display: flex;
    }

    .header-inner nav {
        display: none;
    }

    /* Menu verborgen: themaknop rechts, naast de hamburger */
    .thema-knop { margin-left: auto; margin-right: 4px; }
}

/* ── Thema-wisselaar in de menubalk ──────────────────────────────────────── */
.header-inner nav { margin-left: auto; }
.thema-knop {
    flex: none;
    width: 36px;
    height: 36px;
    margin-left: 6px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--apple-black);
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}
.thema-knop:hover { background: var(--apple-silver); text-decoration: none; }
.thema-knop:focus-visible { outline: 2px solid var(--apple-blue); outline-offset: 2px; }
.thema-knop svg { display: block; }

/* ── Support sub-navigatie ───────────────────────────────────────────────── */

.support-subnav {
    background: var(--apple-white);
    border-bottom: 1px solid var(--apple-border);
    position: sticky;
    top: 56px;
    z-index: 90;
}

.support-subnav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    justify-content: center;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.support-subnav-inner::-webkit-scrollbar {
    display: none;
}

.support-subnav-link {
    /* Pillen, zelfde stijl als het hoofdmenu (variant A: zachte pillen) */
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 16px;
    border-radius: 980px;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--apple-black);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.15s, color 0.15s;
}

.support-subnav-link:hover {
    background: var(--apple-silver);
    text-decoration: none;
}

.support-subnav-link.actief {
    background: rgba(0, 113, 227, 0.10);
    color: var(--apple-blue);
    font-weight: 500;
}

.support-subnav-link:focus-visible {
    outline: 2px solid var(--apple-blue);
    outline-offset: 2px;
}

@media (max-width: 680px) {
    .support-subnav {
        top: 44px;
    }

    .support-subnav-inner {
        padding: 8px 12px;
        justify-content: flex-start;
    }

    .support-subnav-link {
        height: 32px;
        padding: 0 12px;
        font-size: 0.875rem;
    }
}

/* ── MEDEDELING-/STORINGSBANNER (onder het hoofdmenu, beheer in mgmt) ──────── */
.site-banner {
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.4;
    padding: 0 48px;
}
.site-banner-mededeling { background: var(--apple-blue); }
.site-banner-storing    { background: #d93025; }
.site-banner + .site-banner { border-top: 1px solid rgba(255, 255, 255, 0.25); }

.site-banner-inner {
    max-width: 1344px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 42px;
}

.site-banner-label {
    flex: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.20);
}

.site-banner-venster {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.site-banner-band {
    display: inline-flex;
    white-space: nowrap;
}

.site-banner-tekst { font-weight: 500; }

/* Lichtkrant: de tekst staat er twee keer in en schuift een halve bandbreedte op */
.site-banner.loopt .site-banner-venster {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.site-banner.loopt .site-banner-tekst { padding-right: 80px; }
.site-banner.loopt .site-banner-band {
    animation: site-banner-loop var(--loopduur, 20s) linear infinite;
}
.site-banner.loopt:hover .site-banner-band { animation-play-state: paused; }

@keyframes site-banner-loop {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Geen beweging gewenst: tekst gewoon laten afbreken */
@media (prefers-reduced-motion: reduce) {
    .site-banner.loopt .site-banner-band { animation: none; white-space: normal; display: block; }
    .site-banner.loopt .site-banner-kopie { display: none; }
    .site-banner.loopt .site-banner-tekst { padding-right: 0; }
    .site-banner.loopt .site-banner-venster { -webkit-mask-image: none; mask-image: none; padding: 8px 0; }
}

@media (max-width: 780px) {
    .site-banner { padding: 0 16px; font-size: 0.86rem; }
    .site-banner-inner { gap: 10px; }
}

/* ── HOMEPAGE: extra informatie (vertrouwensbalk, mogelijkheden, belofte, ─────
   overstappen, cijfers, veelgestelde vragen, betaalstrook) ────────────────── */
.hp-ico {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--apple-blue) 12%, transparent);
    color: var(--apple-blue);
}

/* Pakketkaarten: "geschikt voor" en populair-label */
.card.hp-pakket { position: relative; }
.card.hp-pakket-populair { box-shadow: 0 0 0 2px var(--apple-blue); }
.hp-pakket-badge {
    position: absolute;
    top: -12px;
    left: 26px;
    background: var(--apple-blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
}
/* Pakketkaarten homepage: breed genoeg om elk kenmerk op één regel te houden
   (langste regel: "100 GB schijfruimte / Onbeperkt dataverkeer", ca. 300 px).
   Drie kolommen zolang dat past, daaronder onder elkaar. */
.section-inner.hp-pakketten-sectie { max-width: 1200px; }
.hp-pakketten-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-pakketten-grid .hp-pakket-kenmerken li { padding: 3px 0; line-height: 1.5; }
@media (max-width: 1200px) {
    .hp-pakketten-grid .hp-pakket { padding-left: 20px; padding-right: 20px; }
    .hp-pakketten-grid .hp-pakket-kenmerken { font-size: 0.8rem; }
}
@media (max-width: 1080px) {
    .hp-pakketten-grid { grid-template-columns: minmax(0, 560px); justify-content: center; }
    .hp-pakketten-grid .hp-pakket { padding-left: 26px; padding-right: 26px; }
    .hp-pakketten-grid .hp-pakket-kenmerken { font-size: 0.86rem; }
}

/* Prijs op de pakketkaarten: "per jaar" duidelijk naast het bedrag */
.price .hp-prijs-per { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; color: var(--apple-blue); white-space: nowrap; }
/* Bedrag als prijskaartje: klein €-teken en kleine centen hoog naast de euro's */
.price .hp-prijs-bedrag { display: inline-flex; align-items: flex-start; font-size: inherit; font-weight: inherit; color: inherit; line-height: 1; vertical-align: baseline; }
.price .hp-prijs-bedrag span { color: inherit; font-weight: inherit; }
.price .hp-prijs-valuta { font-size: 1.15rem; margin: 0.12em 4px 0 0; }
.price .hp-prijs-euro { font-size: 2.3rem; line-height: 1; }
.price .hp-prijs-cent { font-size: 1.05rem; margin: 0.12em 0 0 2px; }
.hp-prijs-btw { display: block; font-size: 0.82rem; font-weight: 400; letter-spacing: 0; color: var(--apple-gray); margin-top: 2px; }
.card.hp-pakket h3 { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.hp-pakket-voor { color: var(--apple-gray); font-size: 0.88rem; line-height: 1.45; margin: -4px 0 14px; }

/* Snelheid per pakket (homepage): label met meter-icoon (Giant: raket) bovenin de kaart */
.hp-snelheid { margin: 0 0 12px; min-height: 1px; }
.hp-snelheid-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 600; line-height: 1;
    padding: 6px 12px; border-radius: 999px;
    background: #e8f0fe; color: #1d4ed8;
}
.hp-snelheid-label.hp-snelheid-top { background: var(--apple-blue); color: #fff; }
html.thema-donker .hp-snelheid-label { background: rgba(139, 92, 246, 0.18); color: var(--aurora-accent-soft, #c4b5fd); }
html.thema-donker .hp-snelheid-label.hp-snelheid-top { background: var(--aurora-gradient, #8b5cf6); color: #fff; }

/* Homepage-pakketten: kenmerken in vaste rijen, zodat gelijke kenmerken op dezelfde
   hoogte staan (ook bij tekst die over twee regels loopt). Per kaart:
   titel + omschrijving + N kenmerkrijen + prijs + knop, via CSS subgrid.
   Het aantal rijen (grid-row: span …) zet index.php, want dat hangt af van de kenmerken. */
.hp-kenmerk-leeg { min-height: 1lh; }
.hp-kenmerk-leeg::before { content: none !important; }
@supports (grid-template-rows: subgrid) {
    .hp-pakketten-grid { row-gap: 0; }
    .hp-pakketten-grid .hp-pakket {
        display: grid;
        grid-template-rows: subgrid;
        row-gap: 0;
        margin-bottom: 20px;
    }
    .hp-pakketten-grid .hp-pakket > * { margin-top: 0; }
    .hp-pakketten-grid .hp-pakket-kenmerken {
        display: grid;
        grid-template-rows: subgrid;
    }
    .hp-pakketten-grid .hp-pakket .price { align-self: end; }
    .hp-pakketten-grid .hp-pakket .btn { align-self: start; justify-self: stretch; }
}
.hp-keuzehulp { margin-top: 28px; text-align: center; color: var(--apple-gray); font-size: 0.95rem; }
.hp-keuzehulp a { color: var(--apple-blue); }

/* Mogelijkheden */
.hp-midden { text-align: center; }
.hp-midden .section-subtitle { margin-left: auto; margin-right: auto; }
.hp-mogelijk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-mogelijk {
    background: var(--apple-silver);
    border-radius: var(--radius-md);
    padding: 28px 26px;
}
.hp-mogelijk .hp-ico { background: var(--apple-blue); color: #fff; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px; }
.hp-mogelijk h3 { font-size: 1.08rem; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--apple-black); }
.hp-mogelijk p { color: var(--apple-gray); font-size: 0.92rem; line-height: 1.55; }

/* Wat mag u verwachten + belofte */
.hp-verwacht { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.hp-checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; margin: 0; padding: 0; }
.hp-checklist li {
    position: relative;
    padding: 9px 0 9px 30px;
    border-bottom: 1px solid color-mix(in srgb, var(--apple-black) 8%, transparent);
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--apple-black);
}
.hp-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--apple-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.hp-belofte {
    background: #1d1d1f;
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}
.hp-belofte h3 { font-size: 1.35rem; letter-spacing: -0.02em; margin-bottom: 18px; color: #fff; }
.hp-belofte ul { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.hp-belofte li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; line-height: 1.45; color: rgba(255, 255, 255, 0.85); }
.hp-belofte li b { display: block; color: #fff; }
.hp-belofte .hp-stip { flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 50%; background: #4da3ff; }

/* Overstappen */
.hp-overstap { padding: 88px 48px; }
.hp-overstap-kaart {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 52px 56px;
    border-radius: var(--radius-lg);
    color: #fff;
    background: linear-gradient(120deg, #0058b9, #0071e3 60%, #3a95ff);
}
.hp-overstap-kaart h2 { font-size: 2rem; letter-spacing: -0.03em; line-height: 1.15; margin-bottom: 12px; color: #fff; }
.hp-overstap-kaart p { color: rgba(255, 255, 255, 0.88); }
.hp-overstap-knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hp-overstap-stappen { list-style: none; counter-reset: hpstap; display: grid; gap: 12px; margin: 0; padding: 0; }
.hp-overstap-stappen li {
    counter-increment: hpstap;
    position: relative;
    padding: 14px 16px 14px 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.93rem;
    line-height: 1.4;
}
.hp-overstap-stappen li::before {
    content: counter(hpstap, decimal-leading-zero);
    position: absolute;
    left: 16px;
    top: 12px;
    font-size: 1.15rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.55);
}

/* Cijfers */
.hp-cijfers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-cijfer { text-align: center; padding: 28px 16px; border-radius: var(--radius-md); background: var(--apple-silver); }
.hp-cijfer b { display: block; font-size: 2.6rem; line-height: 1.1; letter-spacing: -0.04em; color: var(--apple-blue); }
.hp-cijfer span { color: var(--apple-gray); font-size: 0.92rem; }

/* Veelgestelde vragen */
.hp-faq { max-width: 820px; margin: 0 auto; }
.hp-faq details { border-bottom: 1px solid var(--apple-border); }
.hp-faq summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 20px 40px 20px 0;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--apple-black);
}
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 14px;
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--apple-blue);
    transition: transform 0.2s;
}
.hp-faq details[open] summary::after { transform: rotate(45deg); }
.hp-faq details p { color: var(--apple-gray); padding: 0 40px 22px 0; line-height: 1.6; }
.hp-faq details a { color: var(--apple-blue); }

/* Betaalstrook */
.hp-betalen { padding: 28px 48px; border-top: 1px solid var(--apple-border); }
.hp-betalen-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: var(--apple-gray);
    font-size: 0.88rem;
}
.hp-betalen-logos { display: flex; gap: 10px; }
.hp-betalen-logos span {
    border: 1px solid var(--apple-border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--apple-black);
}

@media (max-width: 960px) {
    .hp-overstap, .hp-betalen { padding-left: 16px; padding-right: 16px; }
    .hp-overstap { padding-top: 56px; padding-bottom: 56px; }
    .hp-mogelijk-grid, .hp-cijfers, .hp-verwacht, .hp-overstap-kaart { grid-template-columns: 1fr; }
    .hp-verwacht { gap: 32px; }
    .hp-overstap-kaart { padding: 36px 24px; }
    .hp-checklist { grid-template-columns: 1fr; }
}

/* Uitleg bij een bezette domeinnaam (verhuizen / alleen hosting) */
.domein-bezet-uitleg {
    margin: 0 0 14px;
    padding-left: 18px;
    color: var(--apple-gray);
    font-size: 0.88rem;
    line-height: 1.55;
}

.domein-bezet-uitleg li + li {
    margin-top: 6px;
}

.domein-bezet-uitleg strong {
    color: var(--apple-black);
}

.domein-tabel-uitleg {
    margin-top: 18px;
    padding: 16px 20px;
    background: var(--apple-silver);
    border-radius: var(--radius-md, 14px);
    font-size: 0.88rem;
    color: var(--apple-gray);
    line-height: 1.55;
}

.domein-tabel-uitleg p {
    margin: 0 0 8px;
}

.domein-tabel-uitleg p:last-child {
    margin: 0;
}

.domein-tabel-uitleg strong {
    color: var(--apple-black);
}

/* Filter "Toon alleen vrije domeinnamen" boven de beschikbaarheidstabel */
.domein-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--apple-black);
    cursor: pointer;
    user-select: none;
}

.domein-filter-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.domein-filter-schakel {
    position: relative;
    width: 40px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--apple-border);
    transition: background 0.2s;
}

.domein-filter-schakel::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s;
}

.domein-filter-input:checked + .domein-filter-schakel {
    background: var(--apple-blue);
}

.domein-filter-input:checked + .domein-filter-schakel::before {
    transform: translateX(16px);
}

.domein-filter-input:focus-visible + .domein-filter-schakel {
    outline: 2px solid var(--apple-blue);
    outline-offset: 2px;
}

/* Filter aan: bezette, al actieve en onbekende extensies verbergen */
.alleen-vrij .domein-rij.bezet,
.alleen-vrij .domein-rij.actief,
.alleen-vrij .domein-rij.onbekend,
.alleen-vrij .domein-tabel-uitleg {
    display: none;
}

.domein-geen-vrij {
    margin: 14px 0 0;
    padding: 14px 18px;
    border-radius: var(--radius-md, 14px);
    background: var(--apple-silver);
    color: var(--apple-gray);
    font-size: 0.9rem;
}

/* ── Uitlegkaarten met genummerde stappen (domeinen, webhosting) ──────────── */
.uitleg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}
.uitleg-kaart {
    background: var(--apple-silver);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
}
.uitleg-kaart h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.uitleg-kaart .uitleg-intro {
    color: var(--apple-gray);
    margin: 0 0 24px;
    line-height: 1.55;
}
.uitleg-stappen {
    list-style: none;
    counter-reset: stap;
    margin: 0;
    padding: 0;
}
.uitleg-stappen li {
    counter-increment: stap;
    position: relative;
    padding: 0 0 18px 56px;
    line-height: 1.55;
    color: var(--apple-black);
}
.uitleg-stappen li:not(:last-child) {
    margin-bottom: 18px;
    border-bottom: 1px solid color-mix(in srgb, var(--apple-black) 8%, transparent);
}
.uitleg-stappen li:last-child { padding-bottom: 0; }
.uitleg-stappen li::before {
    content: counter(stap, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: -6px;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: color-mix(in srgb, var(--apple-blue) 30%, transparent);
}
.uitleg-stappen strong { display: block; margin-bottom: 2px; }
.uitleg-stappen span { color: var(--apple-gray); font-size: 0.93rem; }
.uitleg-tip {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 159, 10, 0.12);
    font-size: 0.9rem;
    line-height: 1.5;
}
@media (max-width: 860px) {
    .uitleg-grid { grid-template-columns: 1fr; }
    .uitleg-kaart { padding: 28px 22px; }
}
.uitleg-kaart p { line-height: 1.55; }
.uitleg-formule {
    display: block;
    margin: 14px 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--apple-white);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--apple-black);
}
.uitleg-paden { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.uitleg-paden li {
    background: var(--apple-white);
    border-radius: 12px;
    padding: 12px 16px;
    font-weight: 500;
}
.uitleg-paden li span { color: var(--apple-blue); margin: 0 6px; }


/* ── YouTube-voorvertoning (plaatje + afspeelknop; speler laadt na klik) ───── */
.yt-voorvertoning {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #111 center / cover no-repeat;
    cursor: pointer;
}
.yt-voorvertoning img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.yt-voorvertoning:hover img { transform: scale(1.02); filter: brightness(0.85); }
.yt-afspelen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 0;
    padding: 0;
    background: none;
    color: rgba(29, 29, 31, 0.82);
    cursor: pointer;
    line-height: 0;
    transition: color 0.15s, transform 0.15s;
}
.yt-voorvertoning:hover .yt-afspelen,
.yt-afspelen:focus-visible { color: var(--apple-blue); transform: translate(-50%, -50%) scale(1.06); }
.yt-afspelen:focus-visible { outline: 3px solid #fff; outline-offset: 4px; border-radius: 14px; }
.yt-label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 5px 11px;
    border-radius: 980px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.78rem;
    line-height: 1.2;
    pointer-events: none;
}
/* Na de klik: draaiend rondje tot de speler er is */
.yt-voorvertoning.yt-laden .yt-afspelen,
.yt-voorvertoning.yt-laden .yt-label { display: none; }
.yt-voorvertoning.yt-laden::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    margin: -21px 0 0 -21px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: yt-draai 0.8s linear infinite;
}
.yt-voorvertoning.yt-geladen::after { display: none; }
.yt-voorvertoning iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0;
    border-radius: 0 !important;
    opacity: 0;
    transition: opacity 0.3s;
}
.yt-voorvertoning.yt-geladen iframe { opacity: 1; }
@keyframes yt-draai { to { transform: rotate(360deg); } }
/* Toestemming voor externe media (cookies.js) */
.yt-voorvertoning.yt-vraagt { cursor: default; }
.yt-voorvertoning.yt-vraagt .yt-afspelen,
.yt-voorvertoning.yt-vraagt .yt-label { display: none; }
.yt-voorvertoning.yt-vraagt img { filter: brightness(0.35) blur(2px); transform: none; }
.yt-toestemming {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; padding: 20px; text-align: center; color: #fff;
}
.yt-toestemming p { margin: 0; max-width: 440px; font-size: 0.9rem; line-height: 1.5; color: #fff; }
.yt-toestemming-knoppen { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.yt-toestemming-knoppen .btn { padding: 10px 18px; font-size: 0.86rem; }
.yt-toestemming-yt { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.yt-toestemming-yt:hover { background: rgba(255, 255, 255, 0.24); color: #fff; opacity: 1; }
.yt-toestemming-instellingen {
    background: none; border: none; padding: 0; color: rgba(255, 255, 255, 0.8);
    font: inherit; font-size: 0.8rem; text-decoration: underline; cursor: pointer;
}
.yt-toestemming-instellingen:hover { color: #fff; }
@media (max-width: 480px) {
    .yt-toestemming { gap: 8px; padding: 12px; }
    .yt-toestemming p { font-size: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .yt-voorvertoning.yt-laden::after { animation-duration: 2.4s; }
}

/* ── Inloggen als klant (beheer) ─────────────────────────────────────────── */
.impersonatie-balk { background: #5e2ca5; color: #fff; font-size: 0.88rem; padding: 0 24px; }
.impersonatie-balk-inner {
    max-width: 1344px; margin: 0 auto; padding: 9px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.impersonatie-balk form { margin: 0; }
.impersonatie-balk button {
    background: #fff; color: #5e2ca5; border: 0; border-radius: 980px;
    padding: 6px 16px; font-weight: 600; font-size: 0.82rem; cursor: pointer;
}
.impersonatie-balk button:hover { background: #efe7fb; }
