/* =====================================================================
   Ciné Aalst — nieuwe frontend (Bootstrap 5.3, dark theme)
   ===================================================================== */

:root,
[data-bs-theme="dark"] {
    --ca-bg: #1b1e2a;
    --ca-bg-2: #212533;
    --ca-surface: #262b3c;
    --ca-surface-2: #2f3549;
    --ca-line: rgba(255, 255, 255, .08);
    --ca-line-2: rgba(255, 255, 255, .14);
    --ca-text: #f4f2ee;
    --ca-soft: #a9adbb;
    --ca-gold: #fed684;
    --ca-gold-2: #f5c04e;
    --ca-blue: #3a45b0;
    --ca-blue-deep: #33396f;
    --ca-blue-soft: #9aa5ff;
    --ca-red: #ff6b6b;
    --ca-radius: 14px;
    --ca-radius-sm: 10px;
    --ca-nav-h: 76px;
    --ca-display: "Bebas Neue", "Oswald", Impact, sans-serif;

    --bs-body-bg: var(--ca-bg);
    --bs-body-color: var(--ca-text);
    --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-link-color: var(--ca-gold);
    --bs-link-color-rgb: 254, 214, 132;
    --bs-link-hover-color: #fff;
    --bs-link-hover-color-rgb: 255, 255, 255;
    --bs-border-color: var(--ca-line-2);
    --bs-secondary-color: var(--ca-soft);
    --bs-tertiary-bg: var(--ca-surface);
    --bs-emphasis-color: #fff;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--ca-nav-h) + 12px); }
html, body { overflow-x: clip; }
/* Achtergrond: donker maar gebroken - zachte blauwe en warme gloed die meescrollt over de hele pagina */
body {
    background:
        radial-gradient(1100px 700px at 100% 0%, rgba(74, 86, 200, .20), transparent 70%),
        radial-gradient(900px 600px at 0% 55%, rgba(74, 86, 200, .13), transparent 70%),
        radial-gradient(800px 500px at 100% 100%, rgba(254, 214, 132, .06), transparent 70%),
        linear-gradient(180deg, #1e2236 0%, var(--ca-bg) 35%, #1c1f2c 100%);
    background-attachment: fixed;
    background-color: var(--ca-bg);
}
body { color: var(--ca-text); font-size: 1rem; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; }
img { max-width: 100%; }
.text-soft { color: var(--ca-soft) !important; }
.link-soft { color: var(--ca-soft); }
.link-soft:hover { color: #fff; }
.skip-link { position: absolute; z-index: 2000; left: 1rem; top: 1rem; background: var(--ca-gold); color: #000; padding: .5rem 1rem; border-radius: 8px; }
.site-main { min-height: 40vh; }
h1, h2, h3, h4, h5, h6 { color: #fff; }

/* ---------- Typografie ---------- */
.kicker {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ca-gold);
    margin-bottom: .35rem;
}
.kicker::before {
    content: "";
    display: inline-block;
    width: 18px; height: 2px;
    margin-right: .5rem;
    vertical-align: middle;
    background: linear-gradient(90deg, var(--ca-blue-soft), var(--ca-gold));
    border-radius: 2px;
}
.kicker-sm { font-size: .66rem; letter-spacing: .12em; color: var(--ca-soft); margin-bottom: .15rem; }
.kicker-sm::before { display: none; }
.section-title, .page-title, .hero-title {
    font-family: var(--ca-display);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: .95;
    margin: 0;
}
.section-title { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.page-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }

/* ---------- Knoppen ---------- */
.btn { border-radius: 999px; font-weight: 600; }
.btn-gold {
    --bs-btn-color: #111;
    --bs-btn-bg: var(--ca-gold);
    --bs-btn-border-color: var(--ca-gold);
    --bs-btn-hover-color: #111;
    --bs-btn-hover-bg: #ffe3a8;
    --bs-btn-hover-border-color: #ffe3a8;
    --bs-btn-active-color: #111;
    --bs-btn-active-bg: var(--ca-gold-2);
    --bs-btn-active-border-color: var(--ca-gold-2);
    --bs-btn-disabled-bg: var(--ca-gold);
    --bs-btn-disabled-border-color: var(--ca-gold);
    --bs-btn-disabled-color: #111;
    box-shadow: 0 8px 24px -10px rgba(254, 214, 132, .6);
}
.btn-blue {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--ca-blue);
    --bs-btn-border-color: var(--ca-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #4954cc;
    --bs-btn-hover-border-color: #4954cc;
    --bs-btn-active-bg: var(--ca-blue-deep);
}
.btn-ghost {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgba(255, 255, 255, .08);
    --bs-btn-border-color: rgba(255, 255, 255, .22);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(255, 255, 255, .16);
    --bs-btn-hover-border-color: rgba(255, 255, 255, .4);
    backdrop-filter: blur(6px);
}
.btn-lg { padding: .7rem 1.5rem; font-size: 1rem; }

/* ---------- Badges ---------- */
.badge-versie {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .22rem .5rem;
    border-radius: 6px;
    color: var(--ca-blue-soft);
    background: rgba(58, 69, 176, .22);
    border: 1px solid rgba(154, 165, 255, .35);
    vertical-align: middle;
    line-height: 1.1;
}
.page-title .badge-versie { font-size: .9rem; vertical-align: .55em; }
.badge-label {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    padding: .25rem .5rem; border-radius: 6px;
    background: rgba(11, 12, 16, .82); color: #fff; border: 1px solid var(--ca-line-2);
}
.badge-label.is-new { background: var(--ca-gold); color: #111; border-color: var(--ca-gold); }

/* =====================================================================
   NAVIGATIE
   ===================================================================== */
/* Let op: GEEN backdrop-filter/transform op .site-nav zelf. Dat maakt de nav een containing block
   voor position:fixed, waardoor het (verborgen) offcanvas-menu de pagina op gsm breder maakte
   en vaste elementen (zoals de bestelknop) buiten beeld vielen. De blur zit op ::before. */
.site-nav {
    position: sticky; top: 0; z-index: 1030;
    border-bottom: 1px solid var(--ca-line);
    transition: border-color .25s ease;
}
.site-nav::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: rgba(22, 25, 36, .92);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    transition: opacity .25s ease;
}
.site-nav.is-overlay {
    position: fixed; left: 0; right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 100%);
    border-bottom-color: transparent;
}
.site-nav.is-overlay::before { opacity: 0; }
.site-nav.is-overlay.is-scrolled { border-bottom-color: var(--ca-line); }
.site-nav.is-overlay.is-scrolled::before { opacity: 1; }
.site-nav .navbar { min-height: var(--ca-nav-h); padding: .4rem 0; }
.navbar-brand img { height: 58px; width: auto; }
.site-nav .nav-link {
    color: rgba(255, 255, 255, .86);
    font-weight: 600;
    font-size: .95rem;
    padding: .5rem .85rem !important;
    border-radius: 999px;
}
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav .nav-link.active { color: var(--ca-gold); }
.navbar-toggler { border: 0; color: #fff; font-size: 1.9rem; padding: 0 .25rem; box-shadow: none !important; }
.nav-cart {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    color: #fff; font-size: 1.2rem; background: rgba(255, 255, 255, .08);
}
.nav-cart:hover, .nav-cart.active { background: rgba(255, 255, 255, .16); color: var(--ca-gold); }
.cart-count {
    position: absolute; top: -3px; right: -3px;
    min-width: 19px; height: 19px; padding: 0 5px;
    font-size: .68rem; font-weight: 800; line-height: 19px; text-align: center;
    border-radius: 999px; background: var(--ca-gold); color: #111;
}
.dropdown-menu { --bs-dropdown-bg: var(--ca-surface); --bs-dropdown-border-color: var(--ca-line-2); --bs-dropdown-link-hover-bg: var(--ca-surface-2); --bs-dropdown-link-active-bg: var(--ca-blue); border-radius: 12px; }
.offcanvas { --bs-offcanvas-bg: var(--ca-bg-2); --bs-offcanvas-width: 300px; }
@media (min-width: 992px) {
    .offcanvas.offcanvas-end { --bs-offcanvas-bg: transparent; }
}
@media (max-width: 991.98px) {
    :root { --ca-nav-h: 64px; }
    .navbar-brand img { height: 46px; }
    .offcanvas .nav-link { font-size: 1.15rem; padding: .7rem 1rem !important; }
}

/* =====================================================================
   STARTPAGINA: STAGE (hero + ambilight + nu in de zaal)
   ===================================================================== */
.stage { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 2.5rem; }

/* Ambilight: dezelfde afbeelding, sterk vervaagd en verzadigd, die naar beneden uitloopt */
.ambient { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.ambient::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(27, 30, 42, 0) 0%, rgba(27, 30, 42, .35) 55%, rgba(27, 30, 42, 0) 100%),
        linear-gradient(90deg, rgba(6, 7, 10, .8) 0%, rgba(6, 7, 10, .5) 45%, rgba(6, 7, 10, .25) 100%);
}
.ambient-layer {
    position: absolute; inset: -10% -10% 0 -10%;
    background-size: cover; background-position: center 30%;
    filter: blur(70px) saturate(1.7) brightness(.6);
    transform: scale(1.15);
    opacity: 0;
    transition: opacity 1.4s ease;
}
.ambient-layer.is-active { opacity: .9; }

.hero { position: relative; }
.hero .carousel-item { position: relative; height: min(76svh, 760px); min-height: 440px; background: transparent; }
.hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 30%;
    /* onderrand vloeit over in het ambilight i.p.v. een harde lijn */
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}
.hero-img:not([src]) { visibility: hidden; }
/* Scrim = garantie voor leesbaarheid, ongeacht de helderheid van de foto */
.hero-scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 7, 10, .92) 0%, rgba(6, 7, 10, .72) 32%, rgba(6, 7, 10, .25) 62%, rgba(6, 7, 10, 0) 80%),
        linear-gradient(0deg, rgba(6, 7, 10, .55) 0%, rgba(6, 7, 10, 0) 45%),
        linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%);
}
.hero-scrim { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: 5.5rem; }
.hero-copy { max-width: 620px; text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.hero-title { font-size: clamp(3rem, 7vw, 6rem); color: #fff; margin-bottom: .6rem; }
.hero-text { font-size: 1.08rem; line-height: 1.55; color: rgba(255, 255, 255, .9); max-width: 52ch; margin-bottom: 1.4rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero-nav { position: absolute; z-index: 3; left: 0; right: 0; bottom: 1.6rem; display: flex; align-items: center; justify-content: space-between; }
.hero-nav .carousel-indicators { position: static; margin: 0; justify-content: flex-start; gap: .4rem; }
.hero-nav .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border-radius: 4px; border: 0; margin: 0; background: #fff; opacity: .35; transition: width .3s, opacity .3s; }
.hero-nav .carousel-indicators .active { width: 46px; opacity: 1; background: var(--ca-gold); }
.hero-arrows { display: flex; gap: .5rem; }
.hero-spacer { height: calc(var(--ca-nav-h) + 2rem); }
@media (max-width: 767.98px) {
    .hero .carousel-item { height: 68svh; min-height: 420px; }
    .hero-scrim {
        background:
            linear-gradient(0deg, rgba(6, 7, 10, .96) 0%, rgba(6, 7, 10, .78) 38%, rgba(6, 7, 10, .2) 70%, rgba(6, 7, 10, 0) 100%),
            linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, 0) 25%);
    }
    .hero-content { padding-bottom: 4.2rem; }
    .hero-arrows { display: none; }
}

/* =====================================================================
   HORIZONTALE SLIDERS (rails)
   ===================================================================== */
.rail { padding: 2.2rem 0 .5rem; }
.stage .rail { padding-top: 1.6rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.rail-controls { display: flex; align-items: center; gap: .5rem; }
.link-more { color: var(--ca-soft); font-weight: 600; font-size: .9rem; margin-right: .5rem; }
.link-more:hover { color: var(--ca-gold); }
.rail-btn {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid var(--ca-line-2);
    transition: background .2s, opacity .2s;
}
.rail-btn:hover { background: rgba(255, 255, 255, .18); }
.rail-btn:disabled { opacity: .3; }
.rail-track {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: calc((100% - 5 * 1rem) / 6);
    gap: 1rem;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0;
    padding-bottom: .75rem;
    scrollbar-width: none;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track:focus-visible { outline: 2px solid var(--ca-blue-soft); outline-offset: 4px; border-radius: 8px; }
@media (max-width: 1399.98px) { .rail-track { grid-auto-columns: calc((100% - 4 * 1rem) / 5.3); } }
@media (max-width: 991.98px)  { .rail-track { grid-auto-columns: calc((100% - 3 * 1rem) / 4.3); } }
@media (max-width: 767.98px)  { .rail-track { grid-auto-columns: calc((100% - 2 * .8rem) / 2.6); gap: .8rem; } .rail-btn { display: none !important; } }

.poster-tile { scroll-snap-align: start; color: #fff; display: block; min-width: 0; }
.poster-frame {
    position: relative; display: block;
    aspect-ratio: 2 / 3; border-radius: var(--ca-radius-sm); overflow: hidden;
    background: linear-gradient(110deg, #171a23 30%, #222636 50%, #171a23 70%);
    background-size: 220% 100%;
    animation: shimmer 1.6s linear infinite;
    box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .9);
}
.poster-frame.is-loaded { animation: none; }
.poster-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.poster-tile:hover .poster-frame img { transform: scale(1.045); filter: brightness(1.08); }
.poster-tile:hover .poster-frame { box-shadow: 0 0 0 2px var(--ca-gold), 0 18px 34px -16px rgba(0, 0, 0, .9); }
.poster-title { display: block; margin-top: .6rem; font-weight: 700; font-size: .95rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.poster-sub { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-top: .3rem; }
.poster-date { font-size: .8rem; color: var(--ca-soft); }
@keyframes shimmer { 0% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@media (prefers-reduced-motion: reduce) { .poster-frame { animation: none; } html { scroll-behavior: auto; } }

/* =====================================================================
   PAGINAHEADERS
   ===================================================================== */
.page-header { position: relative; isolation: isolate; overflow: hidden; padding: 4.5rem 0 2.6rem; min-height: 240px; display: flex; align-items: flex-end; }
.page-header-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 35%; background-color: var(--ca-bg-2); }
.page-header::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 12, 16, .9) 0%, rgba(11, 12, 16, .55) 60%, rgba(11, 12, 16, .35) 100%),
        linear-gradient(0deg, rgba(27, 30, 42, .9) 0%, rgba(27, 30, 42, 0) 70%);
}
.page-header-inner { width: 100%; }
.page-header .page-title { text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }

.film-hero { position: relative; isolation: isolate; overflow: hidden; padding: 5.5rem 0 2.5rem; }
.film-hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 25%; }
.film-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(11, 12, 16, .95) 0%, rgba(11, 12, 16, .78) 45%, rgba(11, 12, 16, .45) 100%),
        linear-gradient(0deg, rgba(27, 30, 42, .9) 0%, rgba(27, 30, 42, 0) 60%);
}
.film-hero-inner { display: flex; gap: 2rem; align-items: flex-end; }
.film-hero-poster { width: 220px; flex: 0 0 220px; }
.film-hero-copy { padding-bottom: .5rem; }
.meta-list { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: rgba(255, 255, 255, .85); }
.meta-list i { color: var(--ca-gold); margin-right: .25rem; }
@media (max-width: 767.98px) {
    .film-hero { padding-top: 3rem; }
    .film-hero-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
    .film-hero-poster { width: 140px; flex-basis: auto; }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    margin-top: 4rem; padding: 3.5rem 0 1.5rem;
    background:
        radial-gradient(1200px 300px at 15% 0%, rgba(58, 69, 176, .35), transparent 70%),
        linear-gradient(180deg, #10132a 0%, #0b0c14 100%);
    border-top: 1px solid rgba(154, 165, 255, .18);
    color: var(--ca-soft);
}
.site-footer h6 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #dfe2ff; }
.site-footer a:hover { color: var(--ca-gold); }
.site-footer i { color: var(--ca-blue-soft); margin-right: .35rem; }
.footer-logo { width: 200px; height: auto; }
.address-list li { margin-bottom: .8rem; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--ca-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; }

.cookie-banner {
    position: fixed; z-index: 1080; left: 1rem; right: 1rem; bottom: 1rem; margin: 0 auto; max-width: 560px;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .85rem 1rem; border-radius: 14px;
    background: rgba(22, 25, 34, .96); border: 1px solid var(--ca-line-2); box-shadow: 0 20px 40px -20px #000;
    font-size: .9rem;
}
.cookie-banner[hidden] { display: none; }

/* =====================================================================
   PROGRAMMA
   ===================================================================== */
.programma { padding: 2.5rem 0 1rem; }
.stage + .site-main .programma, .page-start .programma { padding-top: 1rem; }
.programma-search { position: relative; min-width: 240px; }
.programma-search i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--ca-soft); }
.programma-search .form-control { padding-left: 2.4rem; border-radius: 999px; }

.daybar { display: flex; gap: .75rem; align-items: center; margin-bottom: 1.4rem; position: sticky; top: var(--ca-nav-h); z-index: 20; padding: .6rem 0; background: rgba(27, 30, 42, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-left: -.5rem; margin-right: -.5rem; padding-left: .5rem; padding-right: .5rem; border-radius: 0 0 14px 14px; }
.daybar-track { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; padding: 2px; }
.daybar-track::-webkit-scrollbar { display: none; }
.day-pill {
    flex: 0 0 auto; min-width: 74px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: .45rem .8rem; border-radius: 12px;
    background: var(--ca-surface); border: 1px solid var(--ca-line); color: #fff;
    transition: background .2s, border-color .2s, transform .1s;
}
.day-pill:hover { border-color: var(--ca-line-2); background: var(--ca-surface-2); }
.day-pill:active { transform: scale(.97); }
.day-pill-top { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ca-soft); }
.day-pill-main { font-family: var(--ca-display); font-size: 1.35rem; line-height: 1; letter-spacing: .03em; }
.day-pill.active { background: linear-gradient(160deg, var(--ca-blue) 0%, var(--ca-blue-deep) 100%); border-color: var(--ca-blue-soft); box-shadow: 0 8px 20px -10px rgba(58, 69, 176, .9); }
.day-pill.active .day-pill-top { color: #dfe2ff; }
.day-select { width: auto; flex: 0 0 auto; border-radius: 12px; background-color: var(--ca-surface); }
.day-select.is-active { border-color: var(--ca-blue-soft); }
@media (max-width: 575.98px) { .day-select { max-width: 112px; font-size: .85rem; padding-right: 1.8rem; } .programma-search { min-width: 0; width: 100%; } }

.film-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 992px) { .film-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; } }
.film-card {
    display: flex; gap: 1rem; padding: .85rem;
    background: linear-gradient(180deg, var(--ca-surface) 0%, #222737 100%);
    border: 1px solid var(--ca-line); border-radius: var(--ca-radius);
    min-width: 0;
    transition: border-color .2s;
}
.film-card:hover { border-color: var(--ca-line-2); }
.film-card[hidden] { display: none; }
.film-card-poster { flex: 0 0 112px; width: 112px; align-self: flex-start; }
.film-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.film-card-title { font-size: 1.12rem; font-weight: 700; line-height: 1.25; margin: 0 0 .25rem; }
.film-card-title a { color: #fff; }
.film-card-title a:hover { color: var(--ca-gold); }
.film-card-meta { display: flex; gap: 1rem; font-size: .85rem; color: var(--ca-soft); margin-bottom: .6rem; }
@media (min-width: 1400px) { .film-card-poster { flex-basis: 124px; width: 124px; } }
@media (max-width: 575.98px) { .film-card-poster { flex-basis: 92px; width: 92px; } .film-card { padding: .7rem; gap: .8rem; } }

/* Speeltijden per dag: horizontale strook in "alle films", één dag bij dagfilter */
.daygroups {
    display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #333849 transparent;
    padding-bottom: .35rem; margin-top: auto;
    mask-image: linear-gradient(90deg, #000 88%, transparent);
}
.daygroup { flex: 0 0 auto; padding: .5rem .55rem .55rem; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--ca-line); }
.daygroup[hidden] { display: none; }
.daygroup-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ca-soft); margin: 0 0 .35rem .1rem; }
.daygroup-times { display: flex; gap: .35rem; flex-wrap: wrap; max-width: 260px; }
.programma.is-dayfilter .daygroups { mask-image: none; }
.programma.is-dayfilter .daygroup { background: transparent; border: 0; padding: 0; }
.programma.is-dayfilter .daygroup-label { display: none; }
.programma.is-dayfilter .daygroup-times { max-width: none; }

.showchip {
    display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center;
    min-width: 64px; padding: .32rem .55rem; border-radius: 9px;
    background: #fff; color: #111; border: 1px solid #fff;
    line-height: 1.1; transition: transform .1s, box-shadow .2s, background .2s;
}
a.showchip:hover { background: var(--ca-gold); border-color: var(--ca-gold); color: #111; box-shadow: 0 6px 16px -8px rgba(254, 214, 132, .9); transform: translateY(-1px); }
.chip-time { font-weight: 800; font-size: .98rem; letter-spacing: .01em; }
.chip-zaal { font-size: .64rem; font-weight: 600; color: #5b6070; white-space: nowrap; margin-top: 1px; }
.chip-tag { display: inline-block; margin-top: 3px; font-size: .58rem; font-weight: 800; letter-spacing: .04em; padding: .12rem .35rem; border-radius: 5px; text-transform: uppercase; white-space: nowrap; }
.chip-tag.is-blue { background: var(--ca-blue); color: #fff; }
.chip-tag.is-gold { background: #2b2410; color: var(--ca-gold); border: 1px solid rgba(254, 214, 132, .5); }
.chip-tag.is-muted { background: transparent; color: #f0b35a; padding-left: 0; }
.showchip.is-past { opacity: .32; background: transparent; color: #fff; border-color: var(--ca-line-2); }
.showchip.is-past .chip-zaal { color: var(--ca-soft); }
.showchip.is-kassa, .showchip.is-offline { background: transparent; color: #fff; border: 1px dashed rgba(255, 255, 255, .35); cursor: default; }
.showchip.is-kassa .chip-zaal, .showchip.is-offline .chip-zaal { color: var(--ca-soft); }

.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.2rem; font-size: .8rem; color: var(--ca-soft); }
.legend-dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; background: #fff; vertical-align: -1px; margin-right: .3rem; }
.legend-dot.is-kassa { background: transparent; border: 1px dashed rgba(255, 255, 255, .5); }
.empty-state { color: var(--ca-soft); padding: 2rem 0; }

/* =====================================================================
   PANELEN / FORMULIEREN (tickets, kassa, vouchers)
   ===================================================================== */
.content-section { padding: 2rem 0 1rem; }
.panel {
    background: var(--ca-surface); border: 1px solid var(--ca-line); border-radius: var(--ca-radius);
    padding: 1.3rem;
}
.panel + .panel { margin-top: 1rem; }
.panel-title { font-size: 1.05rem; font-weight: 700; margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem; }
.panel-title i { color: var(--ca-gold); }
.panel-blue { background: linear-gradient(160deg, rgba(58, 69, 176, .28) 0%, rgba(51, 57, 111, .18) 100%); border-color: rgba(154, 165, 255, .3); }
.panel-gold { background: linear-gradient(160deg, rgba(254, 214, 132, .12) 0%, rgba(254, 214, 132, .04) 100%); border-color: rgba(254, 214, 132, .35); }
.form-control, .form-select { background-color: var(--ca-bg-2); border-color: var(--ca-line-2); color: #fff; }
.form-control:focus, .form-select:focus { background-color: var(--ca-bg-2); color: #fff; border-color: var(--ca-blue-soft); box-shadow: 0 0 0 .2rem rgba(154, 165, 255, .2); }
.form-control::placeholder { color: #6e7383; }
.form-label { font-size: .85rem; font-weight: 600; color: var(--ca-soft); }
.alert-ca { border-radius: 12px; padding: .9rem 1rem; border: 1px solid rgba(240, 179, 90, .45); background: rgba(240, 179, 90, .1); color: #f6dfbf; }
.alert-ca-red { border-color: rgba(255, 107, 107, .5); background: rgba(255, 107, 107, .1); color: #ffd3d3; }
.alert-ca-blue { border-color: rgba(154, 165, 255, .45); background: rgba(58, 69, 176, .18); color: #e3e6ff; }

.show-summary { display: flex; gap: 1rem; align-items: center; }
.show-summary .poster-frame { width: 84px; flex: 0 0 84px; }
.show-summary-when { font-family: var(--ca-display); font-size: 1.7rem; letter-spacing: .02em; line-height: 1; }
.show-summary-where { color: var(--ca-soft); font-size: .9rem; margin-top: .25rem; }

/* Lijnen met teller (tickets / vouchers / filmcheques) */
.qty-row { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--ca-line); }
.qty-row:last-child { border-bottom: 0; }
.qty-row[hidden] { display: none; }
.qty-info { flex: 1 1 auto; min-width: 0; }
.qty-name { font-weight: 700; }
.qty-sub { font-size: .8rem; color: var(--ca-soft); }
.qty-price { font-weight: 700; white-space: nowrap; min-width: 70px; text-align: right; }
.qty-price.is-free { color: #7ee2a8; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ca-line-2); border-radius: 999px; background: var(--ca-bg-2); overflow: hidden; flex: 0 0 auto; }
.stepper button { width: 38px; height: 38px; border: 0; background: transparent; color: #fff; font-size: 1.15rem; line-height: 1; }
.stepper button:hover:not(:disabled) { background: rgba(255, 255, 255, .08); }
.stepper button:disabled { opacity: .3; }
.stepper select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: #fff; width: 40px; text-align: center; text-align-last: center; font-weight: 800; font-size: 1rem; padding: 0; cursor: pointer; }
.stepper select:focus { outline: none; }
.stepper select option { background: var(--ca-surface); color: #fff; }
.stepper.is-disabled { opacity: .45; }

.total-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; margin-top: 1rem; border-radius: var(--ca-radius); background: var(--ca-surface-2); border: 1px solid var(--ca-line-2); }
.total-label { color: var(--ca-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.total-amount { font-family: var(--ca-display); font-size: 2rem; line-height: 1; }
.total-amount div { display: inline; }
@media (max-width: 991.98px) {
    .sticky-cta .total-bar { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 1040; margin: 0; padding: .7rem 1rem; box-shadow: 0 14px 40px -6px #000; }
    .sticky-cta .total-amount { font-size: 1.6rem; }
    .sticky-cta .total-bar .btn { flex: 0 0 auto; white-space: nowrap; }
    body:has(.sticky-cta) .site-footer { padding-bottom: 6.5rem; }
    body:has(.sticky-cta) .cookie-banner { bottom: 6.2rem; } /* nooit over de bestelknop */
}

.info-list { color: var(--ca-soft); font-size: .88rem; padding-left: 1.1rem; margin: 0; }
.info-list li { margin-bottom: .3rem; }

/* Winkelmandje */
.cart-show { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--ca-line); }
.cart-show:last-child { border-bottom: 0; }
.cart-show .poster-frame { width: 72px; flex: 0 0 72px; align-self: flex-start; }
.cart-show-body { flex: 1 1 auto; min-width: 0; }
.cart-line { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; font-size: .95rem; }
.cart-line .qty { display: inline-flex; min-width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 8px; background: var(--ca-surface-2); font-weight: 800; font-size: .85rem; }
.cart-line .grow { flex: 1 1 auto; min-width: 0; }
.cart-line .amount { font-weight: 700; white-space: nowrap; }
.btn-remove { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ca-soft); background: transparent; border: 1px solid var(--ca-line-2); }
.btn-remove:hover { color: #fff; border-color: var(--ca-red); background: rgba(255, 107, 107, .15); }
.seat-tag { display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem; padding: .1rem .45rem; border-radius: 6px; background: rgba(58, 69, 176, .3); color: #dfe2ff; }

/* =====================================================================
   STOELSELECTIE (coördinaten uit de database: posities blijven absoluut)
   ===================================================================== */
.seat-legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--ca-soft); }
.seat-legend .seat-demo { display: inline-block; width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: .35rem; }
.zaal-wrap { overflow: auto; border-radius: var(--ca-radius); background: radial-gradient(800px 260px at 50% 0%, rgba(154, 165, 255, .14), transparent 70%), var(--ca-bg-2); border: 1px solid var(--ca-line); padding: 2.2rem 1rem 1rem; }
#zaal-container { position: relative; padding-left: 40px; margin: 0 auto; min-width: max-content; }
.row-label { position: absolute; left: 8px; width: 26px; text-align: right; font-weight: 800; font-size: 12px; color: var(--ca-soft); line-height: 25px; pointer-events: none; user-select: none; }
.seat {
    width: 25px; height: 25px; position: absolute;
    border-radius: 6px 6px 4px 4px;
    background: #3a3f52; border: 1px solid #50566d; color: #d7dae4;
    cursor: pointer; text-align: center; line-height: 10px; font-weight: 700; font-size: .62em; padding-top: 1px;
    transition: background .15s, transform .1s;
}
.seat:hover { background: #4b5170; }
.seat.selected { background: var(--ca-gold); border-color: var(--ca-gold); color: #111; box-shadow: 0 0 12px rgba(254, 214, 132, .6); }
.seat.blocked { background: #1b1e27; border-color: #23262f; color: #444958; cursor: not-allowed; }
.screen { position: absolute; height: 6px; border-radius: 999px; background: linear-gradient(90deg, rgba(154, 165, 255, .3), #cfd5ff, rgba(154, 165, 255, .3)); box-shadow: 0 0 22px rgba(154, 165, 255, .7); }
.screen-labels { position: absolute; top: -22px; left: 0; width: 100%; display: flex; justify-content: space-between; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: var(--ca-blue-soft); pointer-events: none; user-select: none; }
.projector { position: absolute; height: 22px; border-radius: 8px; background: #2a2e3c; display: flex; align-items: center; justify-content: center; font-size: 14px; z-index: 5; }
.seat-status { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; background: var(--ca-blue-deep); color: #fff; font-weight: 600; font-size: .9rem; }

/* =====================================================================
   FILMDETAIL / EVENEMENTEN / INHOUD
   ===================================================================== */
.prose { color: rgba(255, 255, 255, .86); line-height: 1.7; font-size: 1.02rem; }
.prose a { color: var(--ca-gold); }
.prose img { max-width: 100%; height: auto; border-radius: 10px; }
.prose table { width: 100%; }
.facts { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; font-size: .92rem; }
.facts dt { color: var(--ca-soft); font-weight: 600; }
.facts dd { margin: 0; color: #fff; }
.keuringen { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.keuringen img { width: 34px; height: 34px; border-radius: 6px; background: #fff; padding: 2px; }

.showtimes-day { display: flex; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--ca-line); }
.showtimes-day:last-child { border-bottom: 0; }
.showtimes-day .daygroup-label { flex: 0 0 92px; margin: .5rem 0 0; }
.showtimes-day .daygroup-times { max-width: none; }

.trailer { position: relative; aspect-ratio: 16 / 9; border-radius: var(--ca-radius); overflow: hidden; background: #000; cursor: pointer; border: 1px solid var(--ca-line); }
.trailer img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s, transform .4s; }
.trailer:hover img { opacity: 1; transform: scale(1.02); }
.trailer-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.trailer-play span { width: 76px; height: 76px; border-radius: 50%; background: var(--ca-gold); color: #111; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stills { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.stills img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }
@media (max-width: 575.98px) { .stills { grid-template-columns: 1fr 1fr; } }

.event-list { display: grid; gap: 1rem; }
@media (min-width: 992px) { .event-list { grid-template-columns: 1fr 1fr; } }
.event-card { display: flex; gap: 1rem; padding: 1rem; background: var(--ca-surface); border: 1px solid var(--ca-line); border-radius: var(--ca-radius); }
.event-card .poster-frame { width: 120px; flex: 0 0 120px; align-self: flex-start; }
.event-date { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 64px; padding: .35rem .5rem; border-radius: 10px; background: linear-gradient(160deg, var(--ca-blue), var(--ca-blue-deep)); color: #fff; line-height: 1; }
.event-date .d { font-family: var(--ca-display); font-size: 1.8rem; }
.event-date .m { font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.event-title { font-size: 1.2rem; font-weight: 700; margin: .5rem 0 .3rem; }
.event-title a { color: #fff; }
.event-title a:hover { color: var(--ca-gold); }

.faq .accordion { --bs-accordion-bg: var(--ca-surface); --bs-accordion-border-color: var(--ca-line); --bs-accordion-btn-color: #fff; --bs-accordion-active-bg: rgba(58, 69, 176, .25); --bs-accordion-active-color: #fff; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem rgba(154, 165, 255, .25); --bs-accordion-border-radius: 14px; --bs-accordion-inner-border-radius: 14px; }
.faq .accordion-button { font-weight: 600; }

/* Filmcheques */
.voucher-tabs { border: 0; gap: .4rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 1rem; }
.voucher-tabs .nav-link { border: 1px solid var(--ca-line-2) !important; border-radius: 999px !important; color: #fff; font-weight: 600; white-space: nowrap; background: var(--ca-surface); }
.voucher-tabs .nav-link.active { background: linear-gradient(160deg, var(--ca-blue), var(--ca-blue-deep)); border-color: var(--ca-blue-soft) !important; color: #fff; }
.price-badge { font-family: var(--ca-display); font-size: 1.7rem; line-height: 1; color: var(--ca-gold); }
.snoep { margin-top: .7rem; padding: .8rem; border-radius: 12px; background: rgba(254, 214, 132, .06); border: 1px dashed rgba(254, 214, 132, .35); }
.snoep-title { font-weight: 700; font-size: .9rem; }
.snoep-grid { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.snoep-grid .btn { border-radius: 999px; }

.success-mark { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; background: rgba(126, 226, 168, .15); color: #7ee2a8; border: 1px solid rgba(126, 226, 168, .4); }

/* =====================================================================
   TICKETFUNNEL
   ===================================================================== */
.funnel { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: .5rem; counter-reset: stap; }
.funnel-step { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: .55rem; padding: .6rem .8rem; border-radius: 12px; background: var(--ca-surface); border: 1px solid var(--ca-line); color: var(--ca-soft); font-weight: 600; font-size: .9rem; }
.funnel-nr { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; background: var(--ca-surface-2); color: var(--ca-soft); border: 1px solid var(--ca-line-2); }
.funnel-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.funnel-step.is-active { color: #fff; border-color: var(--ca-blue-soft); background: linear-gradient(160deg, rgba(58, 69, 176, .45), rgba(51, 57, 111, .3)); }
.funnel-step.is-active .funnel-nr { background: var(--ca-gold); color: #111; border-color: var(--ca-gold); }
.funnel-step.is-done { color: #dfe2ff; }
.funnel-step.is-done .funnel-nr { background: var(--ca-blue); color: #fff; border-color: var(--ca-blue); }
@media (max-width: 575.98px) {
    .funnel { gap: .3rem; }
    .funnel-step { padding: .45rem .4rem; justify-content: center; font-size: .72rem; flex-direction: column; gap: .25rem; text-align: center; }
    .funnel-label { white-space: normal; line-height: 1.15; }
}

/* Stap 1: grote keuzekaarten per vertoning */
.option-day { padding: 1rem 0; border-top: 1px solid var(--ca-line); }
.option-day:first-of-type { border-top: 0; padding-top: 0; }
.option-day-label { font-size: 1rem; font-weight: 700; margin: 0 0 .6rem; }
.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .6rem; }
.show-option {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "time cta" "meta meta";
    align-items: center; column-gap: .6rem; row-gap: .3rem;
    padding: .7rem .85rem; border-radius: 12px;
    background: var(--ca-bg-2); border: 1px solid var(--ca-line-2); color: #fff;
    transition: border-color .15s, background .15s, transform .1s;
}
a.show-option:hover, a.show-option:focus-visible { border-color: var(--ca-gold); background: rgba(254, 214, 132, .08); color: #fff; transform: translateY(-1px); }
.opt-time { grid-area: time; font-family: var(--ca-display); font-size: 1.9rem; line-height: 1; letter-spacing: .02em; }
.opt-cta { grid-area: cta; font-size: .8rem; font-weight: 700; padding: .35rem .7rem; border-radius: 999px; background: var(--ca-gold); color: #111; white-space: nowrap; }
.opt-meta { grid-area: meta; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .4rem; }
.opt-meta .chip-tag { margin-top: 0; }
.opt-zaal { font-size: .78rem; color: var(--ca-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.show-option.is-disabled { opacity: .45; cursor: default; }
.show-option.is-disabled .opt-cta { background: transparent; color: var(--ca-soft); border: 1px dashed var(--ca-line-2); }

/* Programma: duidelijke Tickets-knop per film */
.film-card-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-bottom: .55rem; }
.film-card-actions .btn { padding: .4rem 1rem; }
.film-card-hint { font-size: .78rem; color: var(--ca-soft); }

/* =====================================================================
   NIEUWSBRIEF
   ===================================================================== */
.nb-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.6rem 1.8rem; margin-bottom: 2.8rem; border-radius: var(--ca-radius); background: linear-gradient(135deg, rgba(58, 69, 176, .45) 0%, rgba(51, 57, 111, .35) 60%, rgba(254, 214, 132, .12) 100%); border: 1px solid rgba(154, 165, 255, .3); }
.nb-band-copy { flex: 1 1 320px; color: #dfe2ff; }
.nb-band-copy .section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .3rem; }
.nb-band-form { flex: 1 1 380px; max-width: 520px; }
.nb-row { display: flex; gap: .5rem; }
.nb-row .form-control { border-radius: 999px; padding-left: 1rem; min-width: 0; }
.nb-row .btn { flex: 0 0 auto; }
.nb-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.nb-form .form-check-label { color: var(--ca-soft); }
@media (max-width: 575.98px) { .nb-band { padding: 1.2rem; } .nb-row { flex-direction: column; } .nb-row .btn { width: 100%; } }

/* Verwacht-overzicht: zelfde posters als de slider, in een raster */
.poster-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.4rem 1rem; }
@media (max-width: 1399.98px) { .poster-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 991.98px)  { .poster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767.98px)  { .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 479.98px)  { .poster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .8rem; } }

/* Paginaheaders vloeien onderaan zacht over in de (gebroken) achtergrond */
.page-header-bg, .film-hero-bg, .page-header::after, .film-hero::after {
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
}
