/*
 * AI Reis Agent — landingspagina redesign
 * "Quiet Editorial Travel" aesthetic
 * Loaded NA Tailwind/nav_menu_new.css zodat overrides werken
 */

/* ============================================================
   GLOBAL NAV + TAGLINE OVERRIDES (alle templates)
   Identical aan index.html maar centraal zodat elke pagina deze
   editorial-stijl header krijgt.
   ============================================================ */

/* Body achtergrond: simpele paper. De tagline regelt zijn eigen zwart, de nav zijn eigen wit. */
html, body {
    background: #fafaf7;
}

/* Header: ondoorzichtig wit + sticky onder de tagline.
   Sticky betekent: nav volgt de tagline omlaag totdat tagline uit beeld is, dan plakt nav aan browser-top.
   Geen overlap met de hero (zoals bij position: fixed), geen gap mogelijk. */
html body nav#topnav,
html body nav#topnav.nav-sticky,
html body nav#topnav.defaultscroll,
html body nav#topnav.defaultscroll.is-sticky {
    position: sticky !important;
    top: 0 !important;
    inset-inline-start: auto !important;
    inset-inline-end: auto !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
    border-top: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    margin-top: 0 !important;
    transition: none !important;
}
html body nav#topnav.nav-sticky {
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08) !important;
}


/* Logo: native vertical center via line-height */
#topnav .logo img { vertical-align: middle; }

/* Nav links: zwart standaard, rood bij hover */
#topnav .navigation-menu li a,
#topnav .navigation-menu li > a {
    color: #0f172a !important;
    font-weight: 500;
    transition: color 0.15s ease;
}
#topnav .navigation-menu li:hover > a,
#topnav .navigation-menu li > a:hover,
#topnav .navigation-menu li.active > a {
    color: #dc2626 !important;
}

/* Submenu items: rood-bij-hover */
#topnav .navigation-menu .submenu li a,
#topnav .navigation-menu .submenu li .sub-menu-item {
    color: #0f172a !important;
    transition: color 0.15s ease, background-color 0.15s ease;
}
#topnav .navigation-menu .submenu li:hover > a,
#topnav .navigation-menu .submenu li:hover > .sub-menu-item,
#topnav .navigation-menu .submenu li a:hover,
#topnav .navigation-menu .submenu li .sub-menu-item:hover {
    color: #dc2626 !important;
    background-color: transparent !important;
}

/* Submenu container: schoner met dunne rand en shadow */
#topnav .navigation-menu .submenu {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.10) !important;
    border-radius: 10px !important;
    padding: 8px 0 !important;
    background: #ffffff !important;
}

/* Menu-arrow (kleine driehoekje) ook rood bij hover */
#topnav .navigation-menu > li:hover > a + .menu-arrow,
#topnav .navigation-menu > li:hover .menu-arrow {
    border-color: #dc2626 !important;
}

/* nav-light variant (sommige pagina's gebruiken deze class):
   altijd donkere tekst zodat het werkt op witte header */
html body #topnav .navigation-menu.nav-light > li > a,
html body #topnav .navigation-menu.nav-light li > a,
html body #topnav .navigation-menu.nav-light li a {
    color: #0f172a !important;
}
html body #topnav .navigation-menu.nav-light > li:hover > a,
html body #topnav .navigation-menu.nav-light > li.active > a,
html body #topnav .navigation-menu.nav-light li:hover > a,
html body #topnav .navigation-menu.nav-light li > a:hover {
    color: #dc2626 !important;
}
html body #topnav .navigation-menu.nav-light .menu-arrow {
    border-inline-end-color: #0f172a !important;
    border-bottom-color: #0f172a !important;
}
html body #topnav .navigation-menu.nav-light > li:hover > .menu-arrow {
    border-inline-end-color: #dc2626 !important;
    border-bottom-color: #dc2626 !important;
}

/* Tagline-balk: vaste hoogte 47px, naadloos onder sticky-nav */
.tagline.bg-slate-900,
body .tagline {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    height: 47px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: relative;
    z-index: 1000;
    font-size: 13px;
}
.tagline > .container,
.tagline .grid,
.tagline .flex.items-center.justify-between {
    width: 100%;
    margin: 0 !important;
}
.tagline + nav#topnav,
.tagline + #topnav { margin-top: 0 !important; border-top: 0 !important; }
.tagline a { transition: color 0.15s; }

/* Tabular numerals voor tijden in tagline */
.tagline span { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }


:root {
    --paper: #fafaf7;
    --paper-warm: #f4ebe1;
    --ink: #0c0a09;
    --ink-soft: #44403c;
    --ink-muted: #78716c;
    --rule: #e7e5e4;
    --accent: #dc2626;
    --accent-deep: #b91c1c;
    --accent-soft: #fee2e2;
    --success: #15803d;
    --shadow-soft: 0 4px 16px -4px rgba(12, 10, 9, 0.06);
    --shadow-mid: 0 18px 40px -16px rgba(12, 10, 9, 0.12);
    --shadow-deep: 0 32px 64px -24px rgba(12, 10, 9, 0.22);

    --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

/* Base body styling, warm-off-white */
html, body {
    background-color: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-feature-settings: 'cv11', 'ss01', 'ss03';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Display headings krijgen Fraunces met variable axes */
.display,
section h1,
section h2 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

/* Hero h1 wat extra finetune */
.hero-section h1 {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
    font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 0 !important;
}

/* Section labels in mono */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* Section number — oversized serif */
.section-number {
    font-family: var(--font-display);
    font-size: clamp(56px, 8vw, 120px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 100;
}

/* Pull quote, italic editorial */
.pull-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.35;
    color: var(--ink-soft);
    border-left: 2px solid var(--accent);
    padding-left: 1.25rem;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}

/* Body prose helper */
.editorial-prose {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 62ch;
}

/* Editorial card — schoon paneel, asymmetric ready */
.editorial-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s, transform 0.3s;
}
.editorial-card:hover {
    box-shadow: var(--shadow-mid);
    transform: translateY(-2px);
}

/* Magnetic-feel CTA */
.btn-editorial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-editorial:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-mid);
}
.btn-editorial.btn-accent {
    background: var(--accent);
    color: #fff;
}
.btn-editorial.btn-accent:hover {
    background: var(--accent-deep);
}

/* Reveal-on-scroll, content is altijd zichtbaar als default
   (alleen subtiele animation als JS de class toevoegt) */
.reveal-up,
.reveal-stagger > * {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: no-preference) {
    .reveal-up.js-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-up.js-reveal.is-in-view {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-stagger.js-reveal > * {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .reveal-stagger.js-reveal.is-in-view > *:nth-child(1) { transition-delay: 0ms; }
    .reveal-stagger.js-reveal.is-in-view > *:nth-child(2) { transition-delay: 80ms; }
    .reveal-stagger.js-reveal.is-in-view > *:nth-child(3) { transition-delay: 160ms; }
    .reveal-stagger.js-reveal.is-in-view > *:nth-child(4) { transition-delay: 240ms; }
    .reveal-stagger.js-reveal.is-in-view > *:nth-child(5) { transition-delay: 320ms; }
    .reveal-stagger.js-reveal.is-in-view > *:nth-child(6) { transition-delay: 400ms; }
    .reveal-stagger.js-reveal.is-in-view > * {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero rotator — cross-fade layers */
.hero-rotator {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.hero-rotator-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: rotateBg 32s infinite cubic-bezier(0.4, 0, 0.6, 1);
    will-change: opacity, transform;
}
.hero-rotator-slide:nth-child(1) { animation-delay: 0s; }
.hero-rotator-slide:nth-child(2) { animation-delay: 8s; }
.hero-rotator-slide:nth-child(3) { animation-delay: 16s; }
.hero-rotator-slide:nth-child(4) { animation-delay: 24s; }
@keyframes rotateBg {
    0%, 22%   { opacity: 1; transform: scale(1.06); }
    25%, 97%  { opacity: 0; }
    100%      { opacity: 1; transform: scale(1.10); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-rotator-slide { animation: none !important; opacity: 1 !important; }
    .hero-rotator-slide:not(:first-child) { display: none !important; }
}

/* Pre-loading-friendly font fallback metrics */
@supports (font-variation-settings: normal) {
    .display { font-variation-settings: "opsz" 144, "SOFT" 30; }
}

/* Tabular numerals voor tijden, prijzen, IBAN */
.tnum, .tagline span {
    font-variant-numeric: tabular-nums;
    font-feature-settings: 'tnum';
}

/* Scroll-down indicator (hero) */
.scroll-cue {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
    animation: scrollCue 2.6s infinite ease-in-out;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.scroll-cue .arrow {
    display: inline-block;
    margin-left: 6px;
    transform: translateY(1px);
}
@keyframes scrollCue {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.75; }
    50%      { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Hero h1 split-text reveal — char-by-char */
@media (prefers-reduced-motion: no-preference) {
    .split-reveal {
        display: inline-block;
    }
    .split-reveal .char {
        display: inline-block;
        opacity: 0;
        transform: translateY(0.4em);
        animation: charReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    .split-reveal .word { display: inline-block; white-space: nowrap; }
    .split-reveal .space { display: inline-block; width: 0.28em; }
    @keyframes charReveal {
        from { opacity: 0; transform: translateY(0.4em); }
        to   { opacity: 1; transform: translateY(0); }
    }
}
@media (prefers-reduced-motion: reduce) {
    .split-reveal .char { opacity: 1 !important; transform: none !important; }
}

/* Vertrouwens-strip — editorial 4 punten */
.trust-strip {
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 36px 0;
}
.trust-strip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px 40px;
}
@media (min-width: 640px) {
    .trust-strip-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .trust-strip-grid { grid-template-columns: repeat(4, 1fr); gap: 0 56px; }
}
.trust-point {
    position: relative;
    padding-left: 0;
}
@media (min-width: 1024px) {
    .trust-point { border-left: 1px solid var(--rule); padding-left: 28px; }
    .trust-point:first-child { border-left: 0; padding-left: 0; }
}
.trust-point .num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    font-variation-settings: "opsz" 144, "SOFT" 60;
    margin-bottom: 12px;
    display: block;
    letter-spacing: -0.02em;
}
.trust-point .label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
    display: block;
    margin-bottom: 8px;
}
.trust-point .body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
}

/* Editorial section wrapper */
.editorial-section {
    padding: 56px 0;
    position: relative;
}
@media (max-width: 768px) {
    .editorial-section { padding: 40px 0; }
}

.section-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.section-eyebrow::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}

.display-h2 {
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.05 !important;
    color: var(--ink) !important;
    font-size: clamp(36px, 5vw, 56px);
    font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
    margin: 0 0 16px 0;
}
.display-h3 {
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    color: var(--ink);
    font-size: clamp(26px, 3vw, 34px);
    font-variation-settings: "opsz" 144, "SOFT" 30;
    margin: 0 0 12px 0;
}
.display-xl {
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    letter-spacing: -0.03em !important;
    line-height: 1 !important;
    color: var(--ink) !important;
    font-size: clamp(48px, 7vw, 84px);
    font-variation-settings: "opsz" 144, "SOFT" 50;
    margin: 0 0 16px 0;
}

.lede {
    font-family: var(--font-body);
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.55;
    color: var(--ink-soft);
    max-width: 56ch;
    margin: 0 0 24px 0;
}

/* Horizontal 3-step grid — polished editorial cards */
.timeline-wrap.steps-horizontal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
    position: relative;
}
@media (min-width: 720px) {
    .timeline-wrap.steps-horizontal {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    /* Subtiele connector-lijn tussen de cards op desktop */
    .timeline-wrap.steps-horizontal::before {
        content: '';
        position: absolute;
        top: 64px;
        left: 16%;
        right: 16%;
        height: 2px;
        background-image: linear-gradient(to right, var(--accent) 50%, transparent 50%);
        background-size: 12px 2px;
        background-repeat: repeat-x;
        opacity: 0.35;
        z-index: 0;
        pointer-events: none;
    }
}
.steps-horizontal .timeline-step {
    display: block !important;
    padding: 32px 28px 28px !important;
    border-top: 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
    border: 1px solid var(--rule);
    border-radius: 18px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 12px 28px -16px rgba(12, 10, 9, 0.10),
        0 4px 10px -4px rgba(12, 10, 9, 0.06);
    transition: transform 0.30s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.30s,
                border-color 0.30s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.steps-horizontal .timeline-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, #f97316 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.steps-horizontal .timeline-step:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 38, 38, 0.30);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 24px 48px -20px rgba(220, 38, 38, 0.18),
        0 8px 16px -6px rgba(12, 10, 9, 0.08);
}
.steps-horizontal .timeline-step:hover::after { transform: scaleX(1); }
.steps-horizontal .timeline-step:first-of-type { padding-top: 32px !important; }
.steps-horizontal .timeline-step.flip { grid-template-columns: 1fr !important; }
.steps-horizontal .timeline-step.flip .timeline-num { order: 0 !important; text-align: left !important; }
.steps-horizontal .timeline-step.flip .timeline-body { order: 1 !important; }

/* Step header: nummer naast icoon, niet meer dominant oversized */
.steps-horizontal .timeline-num {
    font-family: var(--font-display) !important;
    font-size: 44px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    letter-spacing: -0.03em !important;
    color: var(--ink);
    margin-bottom: 18px !important;
    display: inline-flex !important;
    align-items: baseline;
    gap: 4px;
    font-variation-settings: "opsz" 144, "SOFT" 50;
    background: linear-gradient(135deg, var(--ink) 0%, var(--accent) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.steps-horizontal .timeline-num .dot {
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    background: none;
    margin-left: 0;
}
.steps-horizontal .timeline-body { display: block; }
.steps-horizontal .timeline-body h3 {
    font-size: 22px !important;
    margin: 6px 0 10px !important;
    line-height: 1.2 !important;
    color: var(--ink);
}
.steps-horizontal .timeline-body p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0;
}
.steps-horizontal .timeline-icon {
    width: 44px !important;
    height: 44px !important;
    margin-bottom: 16px !important;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.12) 0%, rgba(249, 115, 22, 0.10) 100%) !important;
    color: var(--accent) !important;
    border: 1px solid rgba(220, 38, 38, 0.18);
    box-shadow: 0 4px 12px -4px rgba(220, 38, 38, 0.18);
}
.steps-horizontal .timeline-step:hover .timeline-icon {
    background: linear-gradient(135deg, var(--accent) 0%, #f97316 100%) !important;
    color: #fff !important;
    border-color: var(--accent);
}

/* Editorial timeline (used by "Boeken in 3 stappen" + Taxi) */
.timeline-step {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
    border-top: 1px solid var(--rule);
    align-items: center;
}
.timeline-step:first-of-type { border-top: 0; padding-top: 8px; }
.timeline-step:last-of-type { padding-bottom: 0; }
@media (min-width: 900px) {
    .timeline-step {
        grid-template-columns: 180px 1fr;
        gap: 48px;
        padding: 36px 0;
    }
    .timeline-step.flip { grid-template-columns: 1fr 180px; }
    .timeline-step.flip .timeline-num { order: 2; text-align: right; }
    .timeline-step.flip .timeline-body { order: 1; }
}
.timeline-num {
    font-family: var(--font-display);
    font-size: clamp(64px, 9vw, 130px);
    font-weight: 400;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 100;
}
.timeline-num .dot {
    color: var(--accent);
    margin-left: -0.12em;
}
.timeline-body h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0 0 12px 0;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.timeline-body p {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 56ch;
    margin: 0;
}
.timeline-body p strong { color: var(--ink); font-weight: 600; }
.timeline-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

/* Editorial CTA card — donker blok */
.cta-dark {
    background: var(--ink);
    color: var(--paper);
    border-radius: 20px;
    padding: 40px 48px;
    overflow: hidden;
    position: relative;
}
.cta-dark > .grid {
    gap: 32px !important;
}
@media (min-width: 900px) {
    .cta-dark { padding: 48px 56px; }
    .cta-dark > .grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
        gap: 80px !important;
        align-items: center;
    }
}
@media (min-width: 1100px) {
    .cta-dark > .grid { gap: 100px !important; }
}
.cta-dark .display-h2,
.cta-dark .display-xl { color: var(--paper) !important; }
.cta-dark .section-eyebrow { color: rgba(255,255,255,0.6); }
.cta-dark .section-eyebrow::before { background: var(--accent); }
.cta-dark .lede { color: rgba(255, 255, 255, 0.78); max-width: 48ch; }
@media (max-width: 768px) {
    .cta-dark { padding: 28px 22px; border-radius: 14px; }
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.005em;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-primary-lg:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -10px rgba(220, 38, 38, 0.45);
    color: #fff;
}
.btn-primary-lg .arrow {
    transition: transform 0.2s;
    display: inline-block;
}
.btn-primary-lg:hover .arrow { transform: translateX(4px); }

.btn-light-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    text-decoration: none;
}
.btn-light-lg:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px -10px rgba(0,0,0,0.35);
    color: var(--ink);
}
.btn-light-lg .arrow { transition: transform 0.2s; display: inline-block; }
.btn-light-lg:hover .arrow { transform: translateX(4px); }

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 17px;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s, gap 0.2s;
}
.read-more:hover {
    color: var(--accent);
    border-color: var(--accent);
    gap: 12px;
}

/* Mock chat-bubble preview (used in CTA card) */
.chat-mock {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 22px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.chat-mock .bubble {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    max-width: 86%;
    font-size: 15px;
    line-height: 1.5;
}
.chat-mock .bubble.user {
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    margin-left: auto;
    border-bottom-right-radius: 4px;
}
.chat-mock .bubble.ai {
    background: rgba(220, 38, 38, 0.12);
    color: var(--paper);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(220, 38, 38, 0.32);
}
.chat-mock .bubble .label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 6px;
}
.chat-mock .bubble.user .label { color: rgba(0,0,0,0.45); }
.chat-mock .stat-row {
    display: flex;
    gap: 18px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    flex-wrap: wrap;
}

/* === Animated chat-mock sequence (24s loop) ===
   Steps:
   1: User typing-dots     (0-12%)
   2: User vraag verschijnt+typewriter (12-25%)
   3: AI typing-dots       (25-37%)
   4: AI antwoord          (37-50%)
   5: User typing-dots     (52-62%)
   6: User vraag 2 + typewriter (62-75%)
   7: AI typing-dots       (75-87%)
   8: AI antwoord 2        (87-96%)
   reset                   (97-100%)
*/
@media (prefers-reduced-motion: no-preference) {
    .chat-mock-animated .bubble {
        opacity: 0;
        transform: translateY(8px);
        will-change: opacity, transform;
        animation-duration: 24s;
        animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
        animation-iteration-count: 1;
        animation-fill-mode: forwards;
        animation-play-state: paused;
    }
    .chat-mock-animated.is-playing .bubble {
        animation-play-state: running;
    }

    /* User vraag 1 (step 2): vooraf zichtbaar, geen typewriter */
    .chat-mock-animated .bubble[data-step="2"] {
        opacity: 1;
        transform: translateY(0);
        animation: none;
    }

    /* AI typing 1 (step 3): start meteen */
    .chat-mock-animated .bubble[data-step="3"] { animation-name: chatStep3; }
    @keyframes chatStep3 {
        0%        { opacity: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
        4%, 13%   { opacity: 1; height: auto; }
        16%, 100% { opacity: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
    }

    /* AI antwoord 1 (step 4) */
    .chat-mock-animated .bubble[data-step="4"] { animation-name: chatStep4; }
    @keyframes chatStep4 {
        0%, 16%   { opacity: 0; transform: translateY(8px); }
        20%, 100% { opacity: 1; transform: translateY(0); }
    }

    /* User typing 2 (step 5) */
    .chat-mock-animated .bubble[data-step="5"] { animation-name: chatStep5; }
    @keyframes chatStep5 {
        0%, 38%   { opacity: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
        42%, 50%  { opacity: 1; height: auto; }
        53%, 100% { opacity: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
    }

    /* User vraag 2 (step 6) typewriter */
    .chat-mock-animated .bubble[data-step="6"] { animation-name: chatStep6; }
    @keyframes chatStep6 {
        0%, 53%   { opacity: 0; transform: translateY(8px); }
        56%, 100% { opacity: 1; transform: translateY(0); }
    }

    /* AI typing 2 (step 7) */
    .chat-mock-animated .bubble[data-step="7"] { animation-name: chatStep7; }
    @keyframes chatStep7 {
        0%, 70%   { opacity: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
        73%, 82%  { opacity: 1; height: auto; }
        85%, 100% { opacity: 0; height: 0; margin: 0; padding: 0; overflow: hidden; }
    }

    /* AI antwoord 2 (step 8) — blijft eind staan */
    .chat-mock-animated .bubble[data-step="8"] { animation-name: chatStep8; }
    @keyframes chatStep8 {
        0%, 85%   { opacity: 0; transform: translateY(8px); }
        88%, 100% { opacity: 1; transform: translateY(0); }
    }

    /* Eindstate: na laatste step blijven steps 1, 3, 5, 7 verborgen.
       Steps 2, 4, 6, 8 blijven visible (forwards) door fill-mode. */
}

/* User-typing variant (rechts uitgelijnd, lichtere bubble) */
.chat-mock .bubble.bubble-typing.user-typing {
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--ink) !important;
    border: 1px solid rgba(255, 255, 255, 0.96) !important;
    display: flex !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    max-width: 56% !important;
    width: fit-content;
    border-bottom-right-radius: 4px !important;
    border-bottom-left-radius: 12px !important;
}
.chat-mock .bubble.bubble-typing.user-typing .label { color: rgba(0,0,0,0.45); }
.chat-mock .bubble.bubble-typing.user-typing .dots span { background: rgba(0,0,0,0.45); }

/* Typewriter caret blinking */
.chat-mock-animated .typewriter .caret {
    display: inline-block;
    width: 1px;
    background: currentColor;
    margin-left: 1px;
    animation: chatCaret 0.9s steps(2, start) infinite;
    color: var(--ink);
    height: 1em;
    vertical-align: text-bottom;
    transform: translateY(2px);
}
@keyframes chatCaret {
    50% { opacity: 0; }
}

/* Typing bubble met 3 dots */
.chat-mock .bubble-typing {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 16px !important;
    max-width: 56% !important;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.32);
    color: var(--paper);
    border-bottom-left-radius: 4px;
    flex-direction: column;
    align-items: flex-start;
}
.chat-mock .bubble-typing .dots {
    display: inline-flex;
    gap: 4px;
}
.chat-mock .bubble-typing .dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    display: inline-block;
    animation: chatMockDots 1.2s infinite ease-in-out;
}
.chat-mock .bubble-typing .dots span:nth-child(2) { animation-delay: 0.15s; }
.chat-mock .bubble-typing .dots span:nth-child(3) { animation-delay: 0.30s; }
@keyframes chatMockDots {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%           { transform: translateY(-3px); opacity: 1; }
}

/* Reduced-motion: alle bubbles direct zichtbaar, geen reset-loop */
@media (prefers-reduced-motion: reduce) {
    .chat-mock-animated .bubble { opacity: 1; transform: none; animation: none !important; }
    .chat-mock-animated { animation: none !important; }
    .chat-mock .bubble-typing { display: none !important; }
}

/* Magazine spread (used by "Reis door Europa" + city blocks) */
.magazine-spread {
    display: grid;
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: center;
}
@media (min-width: 900px) {
    .magazine-spread { grid-template-columns: 1fr 1fr; gap: 72px; }
    .magazine-spread.flip .spread-media { order: 2; }
    .magazine-spread.flip .spread-copy  { order: 1; }
}
.spread-media {
    position: relative;
}
.spread-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 24px 60px -20px rgba(12, 10, 9, 0.28);
}
.spread-media.tilt-left img { transform: rotate(-1.5deg); }
.spread-media.tilt-right img { transform: rotate(1.5deg); }
.spread-media .secondary {
    position: absolute;
    width: 46%;
    bottom: -36px;
    right: -20px;
    border-radius: 6px;
    box-shadow: 0 22px 50px -20px rgba(12, 10, 9, 0.4);
    border: 6px solid var(--paper);
}
.spread-media.flip .secondary { right: auto; left: -20px; }
.spread-copy .display-xl,
.spread-copy .display-h2 { margin-bottom: 18px; }
.spread-copy .pull-quote {
    margin: 24px 0;
    font-size: clamp(20px, 1.9vw, 26px);
}
.spread-copy .editorial-prose p {
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0 0 14px 0;
}

.caption-meta {
    margin-top: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* Reisvereisten card */
.travel-req-card {
    background: var(--paper-warm);
    border: 1px solid #e2d4be;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 32px 0 48px 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}
@media (max-width: 700px) {
    .travel-req-card { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
}
.travel-req-card .req-num {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 500;
    color: var(--accent);
    line-height: 1;
    font-variation-settings: "opsz" 144, "SOFT" 80;
}
.travel-req-card .req-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.travel-req-card .req-status {
    font-family: var(--font-display);
    font-size: 19px;
    color: var(--ink);
    margin: 0 0 6px 0;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.travel-req-card .req-disclaimer {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--ink-muted);
    font-style: italic;
    margin: 0;
}

/* Pull-quote variant for city blocks */
.editorial-pull {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.1vw, 26px);
    line-height: 1.4;
    color: var(--ink);
    border: 0;
    padding: 0;
    margin: 24px 0;
    font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
    position: relative;
    padding-left: 24px;
}
.editorial-pull::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4em;
    bottom: 0.4em;
    width: 2px;
    background: var(--accent);
}

/* City block wrapper */
.city-block {
    padding: 56px 0;
    border-top: 1px solid var(--rule);
}
.city-block:first-of-type { border-top: 0; padding-top: 24px; }
@media (max-width: 768px) {
    .city-block { padding: 40px 0; }
}
.city-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.city-tag::before {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--accent);
    display: inline-block;
}
.city-tag .num {
    color: var(--accent);
    font-weight: 600;
}

/* App section dark spread */
.app-spread {
    background: var(--ink);
    color: var(--paper);
    border-radius: 24px;
    padding: 32px 40px;
    margin: 24px auto;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}
.app-spread .magazine-spread,
.app-spread > .grid {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 28px !important;
    align-items: center;
}
@media (min-width: 900px) {
    .app-spread { padding: 36px 48px; }
    .app-spread .magazine-spread,
    .app-spread > .grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr) !important;
        gap: 96px !important;
    }
}
@media (min-width: 1100px) {
    .app-spread .magazine-spread,
    .app-spread > .grid { gap: 120px !important; }
}
.app-spread .spread-media,
.app-spread .spread-media img { margin: 0; }
.app-spread .spread-media img {
    border-radius: 14px;
    width: 100%;
    max-height: 360px;
    height: auto;
    object-fit: cover;
    display: block;
}
@media (min-width: 900px) {
    .app-spread .spread-media img { max-height: 440px; }
}
.app-spread .spread-copy { padding: 4px 0; }
.app-spread .spread-copy > * + * { margin-top: 14px; }
.app-spread .display-h2 { color: var(--paper) !important; }
.app-spread .lede { color: rgba(255, 255, 255, 0.78); }
.app-spread .section-eyebrow { color: rgba(255,255,255,0.55); }
@media (max-width: 768px) {
    .app-spread { padding: 36px 24px; border-radius: 16px; margin: 40px 16px; }
}
.app-feature {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    margin: 0 8px 8px 0;
}

/* Tax driver subtle CTA card */
.driver-card {
    border: 1px solid var(--rule);
    background: var(--paper);
    border-radius: 12px;
    padding: 28px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 64px;
}
.driver-card h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 4px 0;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.driver-card p {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0;
    max-width: 50ch;
}
.driver-card .read-more { white-space: nowrap; }

/* Lissabon CTA dark block */
.cta-destination {
    background: var(--ink);
    color: var(--paper);
    border-radius: 20px;
    padding: 72px 44px;
    text-align: center;
    margin: 64px 0;
}
.cta-destination .display-xl { color: var(--paper) !important; margin-bottom: 18px; }
.cta-destination p { color: rgba(255,255,255,0.78); max-width: 56ch; margin: 0 auto 32px; font-size: 17px; line-height: 1.6; }

/* ============== FASE 8 / 10 — Skip link, partners polish, footer ============== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--ink);
    color: var(--paper);
    padding: 12px 20px;
    border-radius: 0 0 8px 0;
    font-family: var(--font-body);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { left: 0; outline: 3px solid var(--accent); }

/* Partners als één rustige editorial regel */
.partners-strip {
    max-width: 920px;
    margin: 64px auto;
    padding: 28px 32px;
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 14px;
    text-align: center;
}
.partners-strip .eyebrow { display: block; margin-bottom: 14px; }
.partners-strip p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0;
    max-width: 64ch;
    margin-left: auto;
    margin-right: auto;
}
.partners-strip a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    transition: color 0.15s;
}
.partners-strip a:hover { color: var(--accent); }

/* Editorial footer */
.editorial-footer {
    background: var(--ink) !important;
    color: var(--paper) !important;
    padding: 60px 0 0 0 !important;
    margin-top: 0 !important;
}
.editorial-footer .container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.editorial-footer h5,
.editorial-footer h6 {
    font-family: var(--font-mono) !important;
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-weight: 500 !important;
    margin-bottom: 16px !important;
    margin-top: 0 !important;
}
.editorial-footer .footer-col {
    margin-bottom: 24px;
}
.editorial-footer p,
.editorial-footer a:not(.social-icon) {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 14px;
    line-height: 1.7;
    transition: color 0.15s;
}
.editorial-footer a:not(.social-icon):hover {
    color: var(--accent) !important;
}
.editorial-footer .social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 8px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.editorial-footer .social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.editorial-footer .footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 56px 0 28px;
}
.editorial-footer .footer-bottom {
    padding-bottom: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* City slider polish */
.tiny-twelve-item .tiny-slide a {
    position: relative;
    display: block;
    overflow: hidden;
}
.tiny-twelve-item .tiny-slide img {
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s;
    filter: saturate(0.85) contrast(0.95);
}
.tiny-twelve-item .tiny-slide a:hover img {
    transform: scale(1.06);
    filter: saturate(1.15) contrast(1);
}

/* A11y: focus-visible op alle interactieve elementen */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* Reduce motion for users with preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 768px) {
    .cta-destination { padding: 48px 24px; border-radius: 14px; }
}

/* ============================================================
   AireUI — custom toast / dialog / tooltip
   Vervangt native alert() / confirm() / title="" hover tooltips
   ============================================================ */
#aireui-root { position: fixed; inset: 0; pointer-events: none; z-index: 99999; }
#aireui-root > * { pointer-events: auto; }

/* TOAST */
.aireui-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    min-width: 280px;
    max-width: 380px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--rule);
    border-left: 4px solid var(--ink);
    border-radius: 12px;
    padding: 14px 16px 14px 18px;
    box-shadow: var(--shadow-deep);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.5;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s;
}
.aireui-toast.is-shown { transform: translateX(0); opacity: 1; }
.aireui-toast.is-leaving { transform: translateX(120%); opacity: 0; }
.aireui-toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    background: var(--ink);
    margin-top: 1px;
    font-family: var(--font-body);
}
.aireui-toast-msg { flex: 1; padding-right: 4px; }
.aireui-toast-close {
    background: transparent;
    border: 0;
    color: var(--ink-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    margin-top: -2px;
    transition: color 0.15s;
}
.aireui-toast-close:hover { color: var(--ink); }
.aireui-toast-success { border-left-color: var(--success); }
.aireui-toast-success .aireui-toast-icon { background: var(--success); }
.aireui-toast-danger,
.aireui-toast-error { border-left-color: var(--accent); }
.aireui-toast-danger .aireui-toast-icon,
.aireui-toast-error .aireui-toast-icon { background: var(--accent); }

/* DIALOG / MODAL */
.aireui-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 10, 9, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.aireui-overlay.is-shown { opacity: 1; }
.aireui-overlay.is-leaving { opacity: 0; }

.aireui-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100vw - 32px);
    max-width: 460px;
    background: var(--paper);
    border-radius: 16px;
    box-shadow: var(--shadow-deep);
    padding: 28px 28px 22px 28px;
    transform: translate(-50%, -46%);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s;
    font-family: var(--font-body);
    color: var(--ink);
}
.aireui-dialog.is-shown { transform: translate(-50%, -50%); opacity: 1; }
.aireui-dialog.is-leaving { transform: translate(-50%, -54%); opacity: 0; }

.aireui-dialog-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.aireui-dialog-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    background: var(--ink);
}
.aireui-icon-success { background: var(--success); }
.aireui-icon-danger  { background: var(--accent); }
.aireui-icon-info    { background: var(--ink); }
.aireui-dialog-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0;
}
.aireui-dialog-body {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
}
.aireui-dialog-body p { margin: 0 0 8px 0; }
.aireui-dialog-body p:last-child { margin-bottom: 0; }
.aireui-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.aireui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    border: 0;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}
.aireui-btn:active { transform: translateY(1px); }
.aireui-btn-primary  { background: var(--ink);    color: var(--paper); }
.aireui-btn-primary:hover  { background: #1c1917; }
.aireui-btn-danger   { background: var(--accent); color: #fff; }
.aireui-btn-danger:hover   { background: var(--accent-deep); }
.aireui-btn-ghost    { background: transparent;  color: var(--ink-soft); }
.aireui-btn-ghost:hover    { background: rgba(0,0,0,0.05); color: var(--ink); }

/* TOOLTIP (vervangt title="...") */
.aireui-tooltip {
    position: fixed;
    transform: translate(-50%, -100%);
    background: var(--ink);
    color: var(--paper);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
    z-index: 99999;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.aireui-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: calc(50% + var(--arrow-shift, 0px));
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--ink);
}
.aireui-tooltip.is-shown {
    opacity: 1;
    transform: translate(-50%, calc(-100% - 4px));
}

/* Mobile: dialogs full-width */
@media (max-width: 520px) {
    .aireui-toast { top: 12px; right: 12px; left: 12px; min-width: 0; max-width: none; }
    .aireui-dialog { padding: 22px 20px 18px; border-radius: 14px; }
    .aireui-dialog-actions { flex-direction: column-reverse; }
    .aireui-dialog-actions .aireui-btn { width: 100%; }
}

/* ============================================================
   Floating chat widget (rechtsonder)
   ============================================================ */
/* WhatsApp toggle (boven de chat toggle) */
.aire-wa-toggle {
    position: fixed;
    right: 22px;
    bottom: 90px;
    z-index: 9998;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.42), 0 4px 10px -2px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s, background 0.2s;
}
.aire-wa-toggle:hover {
    transform: translateY(-2px) scale(1.04);
    background: #20bd5a;
    box-shadow: 0 14px 32px -6px rgba(37, 211, 102, 0.55), 0 6px 14px -2px rgba(15, 23, 42, 0.22);
    color: #fff;
}
.aire-wa-toggle svg { display: block; }
.aire-wa-pulse {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.7;
    animation: aireWaPulse 2.2s ease-out infinite;
    pointer-events: none;
}
@keyframes aireWaPulse {
    0%   { transform: scale(0.95); opacity: 0.7; }
    70%  { transform: scale(1.30); opacity: 0; }
    100% { transform: scale(1.30); opacity: 0; }
}
@media (max-width: 520px) {
    .aire-wa-toggle { right: 16px; bottom: 80px; width: 50px; height: 50px; }
    .aire-wa-toggle svg { width: 22px; height: 22px; }
}

.aire-fc-toggle {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    cursor: pointer;
    box-shadow: 0 10px 24px -6px rgba(220, 38, 38, 0.35), 0 4px 10px -2px rgba(15, 23, 42, 0.22);
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s, background 0.2s;
}
.aire-fc-toggle:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 32px -6px rgba(220, 38, 38, 0.50), 0 6px 14px -2px rgba(15, 23, 42, 0.30);
    background: var(--accent);
}
.aire-fc-toggle.is-open {
    background: var(--accent) !important;
    box-shadow: 0 6px 18px -3px rgba(220, 38, 38, 0.45);
    transform: rotate(0deg);
}
.aire-fc-toggle.is-open .aire-fc-toggle-icon-chat { display: none; }
.aire-fc-toggle.is-open::before {
    content: '×';
    font-size: 28px;
    line-height: 1;
    font-weight: 300;
    color: #fff;
}
.aire-fc-toggle-icon-chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.aire-fc-toggle-label,
.aire-fc-toggle-arrow { display: none !important; }
.aire-fc-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border: 2px solid var(--paper);
    border-radius: 50%;
    animation: aireFcPulse 1.8s ease-out infinite;
}
@keyframes aireFcPulse {
    0%   { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.60); }
    70%  { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* Panel */
.aire-fc-panel {
    position: fixed;
    right: 24px;
    bottom: 92px;
    z-index: 9997;
    width: 400px;
    max-width: calc(100vw - 32px);
    height: 580px;
    max-height: calc(100vh - 120px);
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 20px;
    box-shadow: 0 32px 80px -16px rgba(15, 23, 42, 0.28), 0 8px 24px -8px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    font-family: var(--font-body);
}
.aire-fc-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.aire-fc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--ink) 0%, #1c1917 100%);
    color: var(--paper);
    flex-shrink: 0;
}
.aire-fc-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.aire-fc-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
    transition: background 0.2s ease;
}
.aire-fc-avatar-travel { background: var(--accent); }
.aire-fc-avatar-support { background: #475569; }
.aire-fc-bubble-avatar-travel { background: var(--accent); }
.aire-fc-bubble-avatar-support { background: #475569; }

/* Back-pijl in chat header */
.aire-fc-back {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: none; /* default verborgen, JS toont via mode class */
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    margin-right: 4px;
}
.aire-fc-back:hover {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.aire-fc-mode-travel .aire-fc-back,
.aire-fc-mode-support .aire-fc-back { display: inline-flex; }

/* Welkomstscherm (chooser) */
.aire-fc-chooser {
    display: none;
    flex-direction: column;
    padding: 28px 22px 18px;
    gap: 22px;
    overflow-y: auto;
    flex: 1;
}
.aire-fc-chooser-view .aire-fc-chooser { display: flex; }
.aire-fc-chooser-view .aire-fc-body,
.aire-fc-chooser-view .aire-fc-suggestions { display: none; }
.aire-fc-chooser-head { text-align: left; }
.aire-fc-chooser-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.aire-fc-chooser-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0;
}
.aire-fc-chooser-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.aire-fc-chooser-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    padding: 18px 16px;
    border: 1px solid var(--rule);
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
    font-family: var(--font-body);
}
.aire-fc-chooser-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 15, 15, 0.06);
}
.aire-fc-chooser-card-travel:hover { border-color: var(--accent); }
.aire-fc-chooser-card-support:hover { border-color: #475569; }
.aire-fc-chooser-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}
.aire-fc-chooser-card-travel .aire-fc-chooser-icon { background: var(--accent); }
.aire-fc-chooser-card-support .aire-fc-chooser-icon { background: #475569; }
.aire-fc-chooser-label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    line-height: 1.2;
}
.aire-fc-chooser-desc {
    font-family: var(--font-body);
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--ink-muted);
}
.aire-fc-chooser-foot {
    margin: 4px 0 0;
    font-family: var(--font-body);
    font-size: 12.5px;
    color: var(--ink-muted);
    text-align: center;
    line-height: 1.5;
}
.aire-fc-chooser-walink {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.aire-fc-chooser-walink:hover { color: var(--accent-deep); }

@media (max-width: 380px) {
    .aire-fc-chooser-cards { grid-template-columns: 1fr; }
}
.aire-fc-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.aire-fc-status {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.aire-fc-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
    animation: aireFcStatusPulse 2s ease-out infinite;
}
@keyframes aireFcStatusPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50%      { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}
.aire-fc-head-actions { display: flex; align-items: center; gap: 4px; }
.aire-fc-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.aire-fc-icon-btn:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }
.aire-fc-close { font-size: 22px; }

/* Body / messages */
.aire-fc-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}
.aire-fc-body::-webkit-scrollbar { width: 6px; }
.aire-fc-body::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }

.aire-fc-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 100%;
}
.aire-fc-row-user { justify-content: flex-end; }
.aire-fc-row-ai { justify-content: flex-start; }
.aire-fc-bubble-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
    margin-bottom: 2px;
}
.aire-fc-bubble {
    max-width: 78%;
    padding: 11px 14px;
    border-radius: 16px;
    font-size: 14.5px;
    line-height: 1.55;
    word-break: break-word;
    white-space: pre-wrap;
}
.aire-fc-bubble-ai {
    background: #f5f5f1;
    color: var(--ink);
    border-bottom-left-radius: 4px;
    border: 1px solid var(--rule);
}
.aire-fc-bubble-user {
    background: var(--ink);
    color: var(--paper);
    border-bottom-right-radius: 4px;
}

/* Markdown in AI chat bubbles (zowel floating als hoofdchat) */
.aire-fc-bubble-ai { white-space: normal; }
.aire-fc-bubble-ai p { margin: 0 0 8px; }
.aire-fc-bubble-ai p:last-child { margin-bottom: 0; }
.aire-fc-bubble-ai strong { font-weight: 700; color: var(--ink); }
.aire-fc-bubble-ai em { font-style: italic; }
.aire-fc-bubble-ai ul,
.aire-fc-bubble-ai ol {
    margin: 6px 0 8px;
    padding-left: 20px;
}
.aire-fc-bubble-ai li { margin-bottom: 3px; line-height: 1.5; }
.aire-fc-bubble-ai a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.aire-fc-bubble-ai a:hover { color: var(--accent-deep); }
.aire-fc-bubble-ai code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: rgba(15, 15, 15, 0.06);
    padding: 1px 5px;
    border-radius: 3px;
}
.aire-fc-bubble-ai pre {
    background: rgba(15, 15, 15, 0.06);
    border-radius: 6px;
    padding: 10px 12px;
    margin: 6px 0;
    overflow-x: auto;
    font-size: 13px;
}
.aire-fc-bubble-ai pre code {
    background: transparent;
    padding: 0;
    font-size: inherit;
}
.aire-fc-bubble-ai h2,
.aire-fc-bubble-ai h3,
.aire-fc-bubble-ai h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    margin: 10px 0 6px;
    color: var(--ink);
}
.aire-fc-bubble-ai h2 { font-size: 18px; }
.aire-fc-bubble-ai h3 { font-size: 16px; }
.aire-fc-bubble-ai h4 { font-size: 14.5px; }

/* Markdown in hoofdchat (/ai_api_chat) */
.msg.ai { white-space: normal !important; }
.msg.ai p { margin: 0 0 8px; }
.msg.ai p:last-child { margin-bottom: 0; }
.msg.ai strong { font-weight: 700; }
.msg.ai em { font-style: italic; }
.msg.ai ul,
.msg.ai ol { margin: 6px 0 8px; padding-left: 22px; }
.msg.ai li { margin-bottom: 3px; line-height: 1.5; }
.msg.ai a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.msg.ai a:hover { color: var(--accent-deep); }
.msg.ai code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: rgba(15, 15, 15, 0.06);
    padding: 1px 5px;
    border-radius: 3px;
}
.msg.ai pre {
    background: rgba(15, 15, 15, 0.06);
    border-radius: 6px;
    padding: 10px 12px;
    margin: 6px 0;
    overflow-x: auto;
    font-size: 13px;
}
.msg.ai pre code { background: transparent; padding: 0; }
.msg.ai h2,
.msg.ai h3,
.msg.ai h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    margin: 10px 0 6px;
}
.msg.ai h2 { font-size: 19px; }
.msg.ai h3 { font-size: 17px; }
.msg.ai h4 { font-size: 15px; }

.aire-fc-typing .aire-fc-bubble {
    display: inline-flex;
    gap: 4px;
    padding: 14px 16px;
}
.aire-fc-typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ink-muted);
    display: inline-block;
    animation: aireFcDots 1.3s infinite ease-in-out;
}
.aire-fc-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.aire-fc-typing-dot:nth-child(3) { animation-delay: 0.30s; }
@keyframes aireFcDots {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30%           { transform: translateY(-4px); opacity: 1; }
}

/* Suggestion chips */
.aire-fc-suggestions {
    padding: 0 16px 12px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: var(--paper);
}
.aire-fc-suggestions.aire-fc-hidden { display: none; }
.aire-fc-chip {
    background: #f5f5f1;
    border: 1px solid var(--rule);
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.aire-fc-chip:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

/* Footer / input */
.aire-fc-foot {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 14px 14px 14px 16px;
    border-top: 1px solid var(--rule);
    background: var(--paper);
    flex-shrink: 0;
}
.aire-fc-input {
    flex: 1;
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 14.5px;
    line-height: 1.4;
    color: var(--ink);
    background: var(--paper);
    resize: none;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    max-height: 120px;
    min-height: 44px;
}
.aire-fc-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}
.aire-fc-send {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 0;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.1s;
}
.aire-fc-send:hover { background: var(--accent-deep); }
.aire-fc-send:active { transform: scale(0.96); }

@media (max-width: 520px) {
    .aire-fc-toggle {
        padding: 12px 16px 12px 14px;
        right: 16px;
        bottom: 16px;
    }
    .aire-fc-toggle-label { display: none; }
    .aire-fc-toggle-arrow { display: none; }
    .aire-fc-panel {
        right: 12px;
        left: 12px;
        bottom: 80px;
        width: auto;
        max-width: none;
        height: calc(100vh - 100px);
    }
}

/* ============================================================
   Auth pagina (login / register / forgot-password)
   Centered card op foto-achtergrond
   ============================================================ */
.auth-section {
    position: relative;
    min-height: calc(100vh - 47px);
    padding: 60px 24px;
    overflow: hidden;
    isolation: isolate;
}
.auth-centered .auth-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.auth-centered .auth-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,10,9,0.35) 0%, rgba(12,10,9,0.55) 100%);
    z-index: 0;
}
.auth-centered .auth-pane {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 47px - 120px);
    padding: 0;
}
.auth-centered .auth-pane-inner {
    background: var(--paper);
    border-radius: 18px;
    padding: 38px 36px;
    box-shadow: 0 32px 80px -16px rgba(15, 23, 42, 0.40), 0 8px 24px -8px rgba(15, 23, 42, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.20);
}

/* Variant zonder bg-foto: schoon op paper achtergrond */
.auth-centered-clean {
    position: relative;
    background: var(--paper);
    padding: 56px 24px 72px;
}
.auth-centered-clean .auth-pane {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.auth-centered-clean .auth-pane-inner {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border: 1px solid var(--rule);
    border-radius: 18px;
    padding: 32px 36px 36px;
    box-shadow: var(--shadow-mid);
}
@media (max-width: 640px) {
    .auth-centered-clean { padding: 32px 16px 56px; }
    .auth-centered-clean .auth-pane-inner { padding: 24px 22px 28px; }
}
.auth-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: calc(100vh - 47px);
}
@media (min-width: 960px) {
    .auth-grid { grid-template-columns: 1fr 1fr; }
}

.auth-aside {
    position: relative;
    display: none;
    overflow: hidden;
    min-height: 480px;
}
@media (min-width: 960px) {
    .auth-aside { display: flex; align-items: flex-end; }
}
.auth-aside-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
}
.auth-aside-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,10,9,0.20) 0%, rgba(12,10,9,0.55) 60%, rgba(12,10,9,0.85) 100%);
}
.auth-aside-content {
    position: relative;
    z-index: 1;
    padding: 56px 48px;
    color: var(--paper);
    max-width: 520px;
}
.auth-aside .eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
}
.auth-aside-heading {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.10;
    letter-spacing: -0.02em;
    color: var(--paper);
    margin: 0 0 14px 0;
    font-weight: 600;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.auth-aside-lede {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 28px 0;
    max-width: 42ch;
}
.auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.auth-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}
.auth-bullet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.auth-pane {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--paper);
}
.auth-pane-inner {
    width: 100%;
    max-width: 440px;
    font-family: var(--font-body);
}
.auth-logo {
    display: inline-block;
    margin-bottom: 32px;
}
.auth-logo img {
    height: 36px;
    width: auto;
    display: block;
}
.auth-pane .eyebrow {
    display: inline-block;
    margin-bottom: 8px;
}
.auth-heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 8px 0;
    font-weight: 600;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.auth-lede {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 28px 0;
}
.auth-error {
    background: var(--accent-soft);
    border: 1px solid rgba(220, 38, 38, 0.30);
    color: var(--accent-deep);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 18px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: text;
}
.auth-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    font-weight: 500;
}
.auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.auth-help-link {
    font-size: 12px;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.auth-help-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.auth-field input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--rule);
    border-radius: 10px;
    background: #ffffff;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}
.auth-field input::placeholder { color: var(--ink-muted); }

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-soft);
    cursor: pointer;
    margin-top: -4px;
}
.auth-checkbox input { accent-color: var(--accent); width: 16px; height: 16px; }

.auth-submit {
    background: var(--ink);
    color: var(--paper);
    border: 0;
    border-radius: 10px;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s, transform 0.05s;
    margin-top: 4px;
}
.auth-submit:hover { background: var(--accent); }
.auth-submit:active { transform: translateY(1px); }
.auth-submit .arrow { transition: transform 0.18s ease; }
.auth-submit:hover .arrow { transform: translateX(3px); }

.auth-footer-text {
    font-size: 14px;
    color: var(--ink-soft);
    text-align: center;
    margin: 8px 0 0 0;
}
.auth-link-strong {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 1px;
}
.auth-link-strong:hover { color: var(--accent); }

.auth-tip {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: #f5f5f1;
    border: 1px solid var(--rule);
    border-radius: 12px;
    font-family: var(--font-body);
}
.auth-tip-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.auth-tip strong {
    display: block;
    font-size: 13px;
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 2px;
}
.auth-tip p {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}
.auth-tip a {
    color: var(--ink);
    border-bottom: 1px solid var(--accent);
    text-decoration: none;
}
.auth-tip a:hover { color: var(--accent); }

@media (max-width: 640px) {
    .auth-pane { padding: 32px 18px; }
    .auth-pane-inner { max-width: 380px; }
    .auth-tip { margin-top: 24px; }
    .auth-centered .auth-pane-inner { padding: 28px 22px; }
}

/* 2FA volledig info-blok */
.auth-2fa {
    margin: 0 0 24px 0;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(220, 38, 38, 0.06), rgba(220, 38, 38, 0.02));
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 14px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.auth-2fa-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-top: 2px;
}
.auth-2fa-body { min-width: 0; flex: 1; }
.auth-2fa-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 8px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.auth-2fa-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 10px 0;
}
.auth-2fa-text strong { color: var(--ink); font-weight: 600; }
.auth-2fa-fine {
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink-muted);
    margin: 0;
}
.auth-2fa-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.auth-2fa-link:hover { color: var(--accent-deep); }
@media (max-width: 480px) {
    .auth-2fa { padding: 14px 16px; gap: 12px; }
    .auth-2fa-icon { width: 40px; height: 40px; }
}

/* ============================================================
   AVG/GDPR Cookie banner + settings modal
   ============================================================ */
.aire-cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 16px;
    box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.30), 0 6px 14px -4px rgba(15, 23, 42, 0.10);
    padding: 18px 22px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s;
    font-family: var(--font-body);
    max-width: 1100px;
    margin: 0 auto;
}
.aire-cookie-banner.is-shown { transform: translateY(0); opacity: 1; }
.aire-cookie-banner.is-leaving { transform: translateY(120%); opacity: 0; }

.aire-cookie-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
}
@media (max-width: 720px) {
    .aire-cookie-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        text-align: left;
    }
}
.aire-cookie-icon {
    color: var(--accent);
    flex-shrink: 0;
}
.aire-cookie-copy { min-width: 0; }
.aire-cookie-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.aire-cookie-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0 0 6px 0;
}
.aire-cookie-meta {
    font-size: 12px;
    color: var(--ink-muted);
    margin: 0;
}
.aire-cookie-meta a,
.aire-cookie-text-link {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-size: 12px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}
.aire-cookie-meta a:hover,
.aire-cookie-text-link:hover { color: var(--accent); }

.aire-cookie-actions {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    flex-shrink: 0;
}
.aire-cookie-btn {
    border: 0;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.aire-cookie-btn-primary { background: var(--ink); color: var(--paper); }
.aire-cookie-btn-primary:hover { background: var(--accent); }
.aire-cookie-btn-ghost {
    background: transparent;
    color: var(--ink-soft);
    border: 1px solid var(--rule);
}
.aire-cookie-btn-ghost:hover {
    color: var(--ink);
    border-color: var(--ink);
}
.aire-cookie-btn-link {
    background: transparent;
    color: var(--ink-soft);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.aire-cookie-btn-link:hover { color: var(--accent); }

@media (max-width: 720px) {
    .aire-cookie-banner { padding: 16px 18px; }
    .aire-cookie-actions { width: 100%; justify-content: flex-start; }
    .aire-cookie-actions .aire-cookie-btn { flex: 1; justify-content: center; }
}

/* Settings modal */
.aire-cookie-settings-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 10, 9, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.aire-cookie-settings-overlay.is-shown { opacity: 1; }
.aire-cookie-settings-overlay.is-leaving { opacity: 0; }
.aire-cookie-settings-modal {
    background: var(--paper);
    color: var(--ink);
    border-radius: 18px;
    box-shadow: 0 32px 80px -16px rgba(15, 23, 42, 0.30);
    width: 100%;
    max-width: 560px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 28px 32px 24px;
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s;
    font-family: var(--font-body);
}
.aire-cookie-settings-modal.is-shown { transform: translateY(0) scale(1); opacity: 1; }
.aire-cookie-settings-modal.is-leaving { transform: translateY(20px) scale(0.98); opacity: 0; }

.aire-cookie-settings-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.aire-cookie-settings-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: 0;
}
.aire-cookie-settings-close {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 0;
    cursor: pointer;
    color: var(--ink-muted);
    font-size: 24px;
    line-height: 1;
    border-radius: 8px;
}
.aire-cookie-settings-close:hover { background: rgba(0,0,0,0.05); color: var(--ink); }

.aire-cookie-settings-intro {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 22px 0;
}

.aire-cookie-cat-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.aire-cookie-cat {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--rule);
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 0.15s;
}
.aire-cookie-cat:hover { border-color: var(--ink); }
.aire-cookie-cat-info { min-width: 0; flex: 1; }
.aire-cookie-cat-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 16px;
    color: var(--ink);
    display: block;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.aire-cookie-cat-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

.aire-cookie-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    display: inline-block;
    margin-top: 2px;
}
.aire-cookie-toggle input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
}
.aire-cookie-toggle-slider {
    position: absolute;
    inset: 0;
    background: #cbd5e1;
    border-radius: 999px;
    transition: background 0.2s;
}
.aire-cookie-toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.20);
}
.aire-cookie-toggle input:checked + .aire-cookie-toggle-slider { background: var(--ink); }
.aire-cookie-toggle input:checked + .aire-cookie-toggle-slider::before { transform: translateX(20px); }
.aire-cookie-toggle input:disabled + .aire-cookie-toggle-slider { background: var(--accent); opacity: 0.55; cursor: not-allowed; }
.aire-cookie-toggle input:disabled + .aire-cookie-toggle-slider::before { transform: translateX(20px); }

.aire-cookie-settings-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.aire-cookie-settings-foot {
    font-size: 12px;
    color: var(--ink-muted);
    line-height: 1.55;
    margin: 0;
    text-align: center;
}
.aire-cookie-settings-foot a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (max-width: 520px) {
    .aire-cookie-settings-modal { padding: 22px 20px 18px; border-radius: 14px; }
    .aire-cookie-settings-actions { flex-direction: column-reverse; align-items: stretch; }
    .aire-cookie-settings-actions .aire-cookie-btn { width: 100%; }
}

/* ============================================================
   AI Chat full-page (templates/ai_api_chat.html)
   ============================================================ */
.ai-chat-section {
    background: var(--paper);
    padding: 56px 0 80px;
}
.ai-chat-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}
@media (min-width: 980px) {
    .ai-chat-container { grid-template-columns: 380px 1fr; gap: 56px; }
}

.ai-chat-sidebar { padding: 8px 0; }
.ai-chat-side-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 14px 0 16px;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.ai-chat-side-lede {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 28px;
}
.ai-chat-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ai-chat-feature-list li {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    align-items: start;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}
.ai-chat-feature-list li strong { color: var(--ink); font-weight: 600; }
.ai-chat-feature-num {
    font-family: var(--font-display);
    color: var(--accent);
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    padding-top: 2px;
    font-variation-settings: "opsz" 144;
}
.ai-chat-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid var(--rule);
}
.ai-chat-stat {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-muted);
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}
.ai-chat-stat strong {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;
    font-variation-settings: "opsz" 144, "SOFT" 30;
}

/* Card */
.ai-chat-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 18px;
    box-shadow: var(--shadow-mid);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 580px;
    height: clamp(580px, 70vh, 760px);
}
.ai-chat-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--ink) 0%, #1c1917 100%);
    color: var(--paper);
    flex-shrink: 0;
}
.ai-chat-card-head-left { display: flex; align-items: center; gap: 14px; }
.ai-chat-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.02em;
}
.ai-chat-card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.01em;
}
.ai-chat-card-status {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.ai-chat-status-dot {
    display: inline-block;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
    animation: aireFcStatusPulse 2s ease-out infinite;
}
.ai-chat-icon-btn {
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}
.ai-chat-icon-btn:hover { background: rgba(255,255,255,0.10); color: #fff; }

/* Messages — gebruikt bestaande #chat container met inline styles via aireisagent-chat.js,
   plus our chat-row variant voor de welkomst- en eigen messages */
.ai-chat-messages {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 22px 20px;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ai-chat-messages::-webkit-scrollbar { width: 6px; }
.ai-chat-messages::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 3px; }
.ai-chat-messages .msg {
    max-width: 78%;
    padding: 11px 16px;
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    word-break: break-word;
    white-space: pre-wrap;
}
.ai-chat-messages .msg.user {
    align-self: flex-end;
    background: var(--ink) !important;
    color: var(--paper) !important;
    border-bottom-right-radius: 4px;
}
.ai-chat-messages .msg.ai {
    align-self: flex-start;
    background: #f5f5f1 !important;
    color: var(--ink) !important;
    border: 1px solid var(--rule);
    border-bottom-left-radius: 4px;
}

.ai-chat-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    max-width: 100%;
}
.ai-chat-row-ai { justify-content: flex-start; }
.ai-chat-bubble-avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}
.ai-chat-bubble {
    max-width: 78%;
    padding: 12px 16px;
    border-radius: 16px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
}
.ai-chat-bubble-ai {
    background: #f5f5f1;
    color: var(--ink);
    border: 1px solid var(--rule);
    border-bottom-left-radius: 4px;
}

/* Suggestion chips */
.ai-chat-suggestions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 20px 14px;
    flex-shrink: 0;
}
.ai-chat-chip {
    background: #f5f5f1;
    border: 1px solid var(--rule);
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ai-chat-chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Upload row */
.ai-chat-upload-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 20px;
    border-top: 1px solid var(--rule);
    background: var(--paper);
    flex-shrink: 0;
}
.ai-chat-upload { position: relative; cursor: pointer; }
.ai-chat-upload input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.ai-chat-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: var(--paper);
    padding: 8px 14px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    transition: background 0.15s;
}
.ai-chat-upload:hover .ai-chat-upload-btn { background: var(--accent); }
.ai-chat-clear-file {
    background: transparent;
    border: 0;
    color: var(--ink-muted);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s;
}
.ai-chat-clear-file:hover { color: var(--accent); }
.ai-chat-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--ink-soft);
    cursor: pointer;
}
.ai-chat-toggle input { accent-color: var(--accent); }

/* Footer / input */
.ai-chat-foot {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--rule);
    background: var(--paper);
    flex-shrink: 0;
}
.ai-chat-foot textarea {
    flex: 1;
    border: 1px solid var(--rule);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.45;
    color: var(--ink);
    background: var(--paper);
    resize: none;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    max-height: 160px;
    min-height: 46px;
}
.ai-chat-foot textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.10);
}
.ai-chat-send {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border: 0;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.1s;
}
.ai-chat-send:hover { background: var(--accent-deep); }
.ai-chat-send:active { transform: scale(0.96); }

@media (max-width: 600px) {
    .ai-chat-card { min-height: 520px; height: auto; max-height: 78vh; }
    .ai-chat-upload-row { gap: 8px; }
    .ai-chat-toggle { margin-left: 0; width: 100%; }
}

/* ==========================================================================
   CITY DETAIL PAGE (editorial)
   ========================================================================== */

.city-hero {
    min-height: 540px;
    padding-top: 170px;
    padding-bottom: 130px;
    display: flex;
    align-items: center;
    background-color: var(--ink);
}

.city-hero-inner {
    padding: 0 16px;
}

.city-hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}
.city-hero-eyebrow .dot {
    margin: 0 8px;
    color: var(--accent);
    font-weight: 700;
}

.city-hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: #ffffff;
    font-size: clamp(44px, 7vw, 84px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 28px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
    text-transform: none;
}

.city-hero-lede {
    font-family: var(--font-body);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.6;
    color: #ffffff;
    max-width: 620px;
    margin: 0 auto 36px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.5);
}

.city-hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(0, 0, 0, 0.32);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 18px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}
.city-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.city-hero-meta .sep {
    color: var(--accent);
}

/* Main wrapper */
.city-main {
    background: var(--paper);
    padding: 80px 0 0;
}

/* Reisvereisten card */
.city-visa-card {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 32px 36px;
    margin: 0 auto 96px;
    max-width: 880px;
    box-shadow: 0 1px 0 rgba(15, 15, 15, 0.04);
}
.city-visa-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rule);
}
.city-visa-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
}
.city-visa-pill {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    padding: 5px 12px;
    border-radius: 999px;
}
.city-visa-text {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0 0 12px;
}
.city-visa-foot {
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-muted);
    margin: 0;
    font-style: italic;
}

/* Sectie-intro (genummerd) */
.city-section-intro {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}
.city-section-num {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--accent);
}
.city-section-rule {
    flex: 0 0 56px;
    height: 1px;
    background: var(--ink);
    opacity: 0.65;
}
.city-section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.city-section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 16px;
    text-transform: none;
}
.city-section-lede {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 56px;
    max-width: 640px;
}

/* Attracties */
.city-attractions {
    display: flex;
    flex-direction: column;
    gap: 72px;
    padding-bottom: 96px;
}
.city-attraction {
    border-top: 1px solid var(--rule);
    padding-top: 36px;
}
.city-attraction-head {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    margin-bottom: 28px;
}
.city-attraction-num {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    padding-top: 10px;
    flex: 0 0 auto;
}
.city-attraction-titlewrap {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 16px;
    justify-content: space-between;
}
.city-attraction-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(28px, 3.4vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--ink);
    margin: 0;
    text-transform: none;
}
.city-attraction-fee {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--accent);
    background: var(--accent-soft);
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.city-attraction-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.5;
    color: var(--ink);
    border-left: 2px solid var(--accent);
    padding: 4px 0 4px 24px;
    margin: 0 0 28px;
    quotes: "\201C" "\201D";
}
.city-attraction-quote::before {
    content: open-quote;
    color: var(--accent);
    margin-right: 4px;
}
.city-attraction-quote::after {
    content: close-quote;
    color: var(--accent);
    margin-left: 4px;
}
.city-attraction-body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.8;
    color: var(--ink-soft);
    max-width: 760px;
}
.city-attraction-body p {
    margin: 0 0 18px;
}
.city-attraction-body p:last-child {
    margin-bottom: 0;
}
.city-attraction-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--rule);
}
.city-attraction-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.city-attraction-meta-item svg {
    color: var(--accent);
}

/* CTA */
.city-cta {
    background: var(--ink);
    color: #fff;
    padding: 96px 0;
    margin-top: 0;
}
.city-cta-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.city-cta-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 16px;
}
.city-cta-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 18px;
    text-transform: none;
}
.city-cta-lede {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
    max-width: 480px;
}
.city-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}
.city-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    padding: 18px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s, transform 0.12s, border-color 0.15s, color 0.15s;
}
.city-cta-btn.primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
}
.city-cta-btn.primary:hover {
    background: var(--accent-deep);
    border-color: var(--accent-deep);
    transform: translateY(-1px);
}
.city-cta-btn.ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.city-cta-btn.ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
    .city-cta-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .city-attraction-head {
        flex-direction: column;
        gap: 14px;
    }
    .city-attraction-num {
        padding-top: 0;
    }
}
@media (max-width: 600px) {
    .city-hero {
        min-height: 440px;
        padding-top: 130px;
        padding-bottom: 90px;
    }
    .city-visa-card {
        padding: 24px 22px;
        margin-bottom: 64px;
    }
    .city-cta {
        padding: 64px 0;
    }
}
