/*
 * Barbershop Kovan
 * Kleuren uit het logo: marineblauw, paalrood en wit.
 * Rood is alleen voor de afspraakknop en accenten van de kapperspaal.
 */

@font-face {
    font-family: "Big Shoulders Display";
    src: url("../fonts/big-shoulders-display.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Libre Franklin";
    src: url("../fonts/libre-franklin.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Libre Franklin";
    src: url("../fonts/libre-franklin-italic.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --chalk: #f6f7fa;
    --tile: #dfe5f1;
    --tile-deep: #c4cfe5;
    --navy: #14245a;
    --navy-soft: #26397a;
    --ink: #151b2c;
    --steel: #586179;
    --line: #cdd4e2;
    --pole: #b8141e;
    --pole-dark: #930f17;
    --white: #fff;
    --success: #1f6b45;
    --error: #b0262a;

    --font-sign: "Big Shoulders Display", "Arial Narrow", sans-serif;
    --font-text: "Libre Franklin", "Segoe UI", Arial, sans-serif;

    --width: 1120px;
    --gutter: max(1.25rem, calc((100vw - var(--width)) / 2));
    --radius: 6px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--chalk);
    font-family: var(--font-text);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--navy-soft); text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2 {
    font-family: var(--font-sign);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.01em;
    text-transform: uppercase;
}
h1 { font-size: clamp(3.4rem, 9vw, 7.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.4rem, 5vw, 3.75rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.lead { max-width: 34em; font-size: 1.1875rem; line-height: 1.55; }

/* Header */
.site-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 80px;
    padding: 0 var(--gutter);
    border-bottom: 1px solid var(--line);
    background: var(--chalk);
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--font-sign);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none;
    text-transform: uppercase;
}
.brand:hover { color: var(--navy); }
.brand img { width: 52px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); }
.site-nav a { font-size: .9375rem; text-decoration: none; }
.site-nav a:not(.button):hover { text-decoration: underline; }
.nav-toggle { display: none; padding: .5rem .9rem; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: transparent; }

/* Buttons & links */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: .75rem 1.6rem;
    border: 2px solid var(--pole);
    border-radius: 999px;
    color: var(--white);
    background: var(--pole);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.button:hover { border-color: var(--pole-dark); color: var(--white); background: var(--pole-dark); text-decoration: none; }
.button-small { min-height: 42px; padding: .45rem 1.1rem; font-size: .9375rem; }
.button-light { border-color: var(--chalk); color: var(--navy); background: var(--chalk); }
.button-light:hover { border-color: var(--white); color: var(--navy); background: var(--white); }
.button-outline { border-color: currentColor; color: inherit; background: transparent; }
.button-outline:hover { border-color: currentColor; color: inherit; background: rgba(0, 0, 0, .06); }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Home: hero */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    padding: clamp(3.5rem, 8vw, 7rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.hero-copy h1 { max-width: 9ch; }
.hero-copy .lead { margin-bottom: 2rem; color: var(--steel); }
.hero-side { display: flex; flex-direction: column; align-items: stretch; gap: 1.25rem; width: 280px; }
.hero-logo { display: block; width: 100%; height: auto; }

.today {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-width: 13rem;
    padding: 1.5rem;
    border-radius: var(--radius);
    color: var(--chalk);
    background: var(--navy);
}
.today p { margin: 0; }
.today-label { font-size: .9375rem; color: var(--tile); }
.today-hours { margin: .2rem 0 1rem !important; font-family: var(--font-sign); font-size: clamp(2.25rem, 9vw, 3rem); white-space: nowrap; font-weight: 800; line-height: 1; }
.today-address { font-size: .875rem; color: var(--tile); }

/* Home: price board */
.board { padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); background: var(--tile); }
.board-inner { max-width: 760px; }
.board-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.board-heading h2 { margin: 0; }
.price-list { margin: 0; padding: 0; list-style: none; }
.price-list li {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    padding: .9rem 0;
    border-bottom: 1px solid var(--tile-deep);
}
.price-name { font-family: var(--font-sign); font-size: 1.75rem; font-weight: 600; line-height: 1.1; text-transform: uppercase; }
.price-name small { margin-left: .4rem; font-family: var(--font-text); font-size: .875rem; font-weight: 400; color: var(--steel); text-transform: none; }
.price-leader { flex: 1; min-width: 1.5rem; border-bottom: 2px dotted var(--navy); transform: translateY(-.3em); opacity: .45; }
.price-amount { font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); }
.placeholder-note { margin: 1.25rem 0 0; color: var(--steel); font-size: .8125rem; font-style: italic; }

.team-strip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); }
.team-copy p { max-width: 24em; color: var(--steel); }
.team-list { display: grid; }
.team-member { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.team-member:last-child { border-bottom: 1px solid var(--line); }
.team-avatar, .profile-placeholder {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    color: var(--chalk);
    background: var(--navy);
    font-family: var(--font-sign);
    font-size: 1.75rem;
    font-weight: 800;
}
.team-member h3 { margin: .1rem 0 .2rem; font-family: var(--font-sign); font-size: 1.75rem; font-weight: 600; text-transform: uppercase; }
.team-member p { margin: 0; color: var(--steel); font-size: .9375rem; }

.visit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 6vw, 5rem);
    background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.visit-info p { margin-bottom: .4rem; }
.visit-info .text-link { display: inline-block; margin-top: 1rem; }
.hours h3 { margin-bottom: .75rem; }
.hours-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { padding: .6rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours-table td { text-align: right; }
.hours-table .is-today th, .hours-table .is-today td { font-weight: 600; }
.hours-table .is-today th::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 .6rem .1em -1rem;
    border-radius: 50%;
    background: var(--pole);
}

.closing { padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); color: var(--chalk); background: var(--navy); }
.closing h2 { margin-bottom: .75rem; }
.closing p { margin-bottom: 1.75rem; color: var(--tile); }
.closing h2 + .button { margin-top: 1rem; }

/* Inner pages */
.page-hero { padding: clamp(3rem, 7vw, 5.5rem) var(--gutter) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { margin-bottom: 0; color: var(--steel); }

.service-list { display: grid; margin-bottom: 2rem; }
.service-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 3rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--line);
}
.service-item:first-child { padding-top: 0; }
.service-item h2 { margin-bottom: .5rem; font-size: clamp(2rem, 4vw, 2.75rem); }
.service-item p { max-width: 36em; margin: 0; color: var(--steel); }
.service-meta { display: flex; flex-direction: column; align-items: flex-end; color: var(--steel); font-size: .9375rem; text-align: right; }
.service-price { color: var(--ink); font-family: var(--font-sign); font-size: 2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.service-list + .placeholder-note { margin: 0 0 2rem; }

.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.profile-placeholder { width: 88px; height: 88px; margin-bottom: 1.25rem; font-size: 2.75rem; }
.team-profile h2 { margin-bottom: .5rem; font-size: 2.25rem; }
.team-profile p { color: var(--steel); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4rem); align-items: start; }
.contact-grid p { margin-bottom: .4rem; }
.map {
    height: 380px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--tile);
    box-shadow: 0 18px 40px -28px rgba(20, 36, 90, .55);
    z-index: 0;
}
.map .leaflet-tile-pane { filter: grayscale(1) sepia(.3) hue-rotate(185deg) saturate(1.4) brightness(1.05) contrast(.9); }
.map .leaflet-control-zoom { border: 0; box-shadow: 0 0 0 1px var(--line); border-radius: 8px; overflow: hidden; }
.map .leaflet-control-zoom a { width: 34px; height: 34px; color: var(--navy); line-height: 34px; }
.map .leaflet-control-attribution { padding: 2px 8px; border-top-left-radius: 6px; background: rgba(246, 247, 250, .85); color: var(--steel); font: 11px var(--font-text); }
.map .leaflet-control-attribution a { color: inherit; }
.map-pin { position: relative; }
.map-pin-head {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    border: 3px solid var(--white);
    border-radius: 50% 50% 50% 0;
    background:
        radial-gradient(circle at 50% 50%, var(--navy) 0 7px, transparent 7.5px),
        linear-gradient(45deg, var(--pole) 0 25%, var(--white) 0 50%, var(--pole) 0 75%, var(--white) 0) 0 0 / 12px 12px;
    box-shadow: 0 6px 14px -4px rgba(20, 36, 90, .6);
    transform: rotate(-45deg);
}
.map-pin-label {
    position: absolute;
    left: 50%;
    bottom: 54px;
    padding: .2rem .6rem;
    border-radius: 999px;
    color: var(--chalk);
    background: var(--navy);
    font: 800 1rem/1.2 var(--font-sign);
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}
@media (max-width: 600px) { .map { height: 300px; } }
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.contact-actions .button-outline { color: var(--navy); }

.policy-copy > * { max-width: 760px; }
.policy-copy h2 { margin-top: 2.5rem; font-size: 2rem; }
.policy-copy h2:first-child { margin-top: 0; }
.policy-copy p { color: #3c4459; }

.error-page { min-height: 55vh; }
.error-code { margin-bottom: .5rem; font-family: var(--font-sign); font-size: 1.5rem; font-weight: 800; color: var(--pole); }
.error-page .button { margin-top: 2rem; }

/* Footer */
.site-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.5rem 2rem;
    align-items: end;
    padding: 2.5rem var(--gutter);
    color: var(--tile);
    background: #0c1638;
    font-size: .9375rem;
}
.footer-brand strong { display: block; color: var(--chalk); font-family: var(--font-sign); font-size: 1.75rem; font-weight: 800; text-transform: uppercase; }
.footer-brand p { margin: 0; }
.footer-since { color: var(--chalk); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a:hover { color: var(--chalk); }
.copyright { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; grid-column: 1 / -1; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--navy-soft); font-size: .8125rem; opacity: .8; }

.flash { width: min(var(--width), calc(100% - 2.5rem)); margin: 1rem auto; padding: .85rem 1rem; border-left: 4px solid; border-radius: var(--radius); background: var(--white); }
.flash-success { border-color: var(--success); }
.flash-error { border-color: var(--error); }

/* Forms */
label { display: block; margin-bottom: .35rem; font-size: .9375rem; font-weight: 600; }
input, select, textarea {
    width: 100%;
    min-height: 48px;
    padding: .65rem .8rem;
    border: 1px solid #a7b1c6;
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; border-color: var(--navy); }
textarea { min-height: 96px; resize: vertical; }
input[type="checkbox"] { width: 18px; min-height: 18px; margin: .2rem .65rem 0 0; accent-color: var(--navy); }
input:disabled, select:disabled { background: #eef0f5; }
.form-hint { color: var(--steel); font-size: .875rem; }
.optional { color: var(--steel); font-weight: 400; }
.checkbox-label { display: flex; align-items: flex-start; margin: 1rem 0; font-weight: 400; }
.checkbox-label span { flex: 1; font-size: .9375rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-message { margin: .8rem 0; }
.form-error { color: var(--error); font-weight: 600; }
.form-success { padding: 1rem; border-radius: var(--radius); color: var(--success); background: #e4f0e8; font-weight: 600; }
.form-success a { color: inherit; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid > div { min-width: 0; }
.form-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Booking: vragen links, afspraakkaart rechts */
.booker {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
    padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(3.5rem, 7vw, 6rem);
}
.booker-title { margin-bottom: 1rem; font-size: clamp(2.75rem, 6vw, 4.5rem); }
.booker-steps { min-width: 0; }

.step { min-width: 0; margin: 0; padding: 1.75rem 0 2rem; border: 0; border-top: 1px solid var(--line); transition: opacity .2s ease; }
.step:disabled { opacity: .4; }
.step legend {
    display: flex;
    float: left;
    width: 100%;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
    padding: 0;
    font-family: var(--font-sign);
    font-size: 1.875rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}
.step legend + * { clear: both; }
.step-number {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    color: var(--white);
    background: var(--pole);
    font-size: 1.25rem;
}
.step-status { margin-bottom: 1rem; color: var(--steel); }
.step.is-loading .step-status::after { content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .5em; border: 2px solid var(--line); border-top-color: var(--navy); border-radius: 50%; vertical-align: -.1em; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Radios that look like rows and chips; the input stays focusable */
.choice input, .barber-choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice-list { display: grid; gap: .5rem; }
.choice {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: baseline;
    gap: 1.25rem;
    margin: 0;
    padding: .9rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    font-weight: 400;
    cursor: pointer;
}
.choice:hover { border-color: var(--navy); }
.choice:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: var(--tile); }
.choice:has(input:focus-visible), .barber-choice:has(input:focus-visible) { outline: 3px solid var(--navy); outline-offset: 2px; }
.choice-name { font-family: var(--font-sign); font-size: 1.5rem; font-weight: 600; line-height: 1.1; text-transform: uppercase; }
.choice-meta { color: var(--steel); font-size: .9375rem; }
.choice-price { min-width: 5.5rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.barber-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.barber-choice {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
    padding: .35rem 1.1rem .35rem .35rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    font-weight: 600;
    cursor: pointer;
}
.barber-choice:hover { border-color: var(--navy); }
.barber-initial {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: var(--navy);
    background: var(--tile);
    font-family: var(--font-sign);
    font-size: 1.25rem;
    font-weight: 800;
}
.barber-choice:has(input:checked) { border-color: var(--navy); color: var(--chalk); background: var(--navy); }
.barber-choice:has(input:checked) .barber-initial { color: var(--navy); background: var(--chalk); }

/* Day strip */
.day-strip-wrap { display: flex; align-items: center; gap: .5rem; }
.day-strip {
    display: flex;
    flex: 1;
    gap: .5rem;
    overflow-x: auto;
    padding: .25rem .1rem .75rem;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.day {
    display: flex;
    flex: 0 0 4.5rem;
    flex-direction: column;
    align-items: center;
    padding: .6rem 0 .55rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    line-height: 1.15;
    scroll-snap-align: start;
}
.day:hover { border-color: var(--navy); }
.day-name { font-size: .8125rem; color: var(--steel); }
.day-number { font-family: var(--font-sign); font-size: 2rem; font-weight: 800; line-height: 1; }
.day-month { font-size: .8125rem; }
.day[aria-pressed="true"] { border-color: var(--navy); color: var(--chalk); background: var(--navy); }
.day[aria-pressed="true"] .day-name { color: var(--tile); }
.strip-nav { flex: 0 0 auto; width: 2.5rem; height: 2.5rem; margin-bottom: .5rem; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); font-size: 1.5rem; line-height: 1; }
.strip-nav:hover:not(:disabled) { border-color: var(--navy); }
.strip-nav:disabled { opacity: .3; }

.slot-groups { display: grid; gap: 1rem; margin-top: 1rem; }
.slot-label { margin-bottom: .4rem; font-size: .9375rem; font-weight: 600; }
.slot-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.slot { min-width: 4.75rem; padding: .55rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--white); font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--navy); }
.slot[aria-pressed="true"] { border-color: var(--navy); color: var(--chalk); background: var(--navy); font-weight: 600; }

.field-error { margin: .35rem 0 0; color: var(--error); font-size: .9rem; font-weight: 600; }
.field-error:empty { display: none; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.step .form-hint { margin: .35rem 0 0; }

/* The appointment card */
.ticket-wrap { position: sticky; top: 1.5rem; }
.ticket {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 1.5rem 1.5rem 2.25rem;
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(20, 36, 90, .5);
}
.ticket::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 10px;
    background: linear-gradient(45deg,
        var(--pole) 0 12.5%, var(--white) 0 25%, var(--navy) 0 37.5%, var(--white) 0 50%,
        var(--pole) 0 62.5%, var(--white) 0 75%, var(--navy) 0 87.5%, var(--white) 0) 0 0 / 20px 20px;
}
.ticket-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 2px solid var(--ink); }
.ticket-shop { font-family: var(--font-sign); font-size: 1.5rem; font-weight: 800; line-height: 1; text-transform: uppercase; }
.ticket-kind { color: var(--steel); font-size: .875rem; }
.ticket-lines { margin: 0; }
.ticket-lines > div { padding-top: .8rem; }
.ticket-lines dt { color: var(--steel); font-size: .8125rem; }
.ticket-lines dd { min-height: 1.9rem; margin: 0; padding-bottom: .2rem; border-bottom: 1px dotted #a3aec6; color: var(--steel); font-size: 1.0625rem; }
.ticket-lines dd.is-filled { color: var(--ink); font-weight: 600; }
.ticket-lines dd[data-ticket="date"]::first-letter { text-transform: uppercase; }
.ticket-lines .ticket-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; padding-top: 0; }
.ticket-pair > div { padding-top: .8rem; }
.ticket-lines dd[data-ticket="time"].is-filled { font-family: var(--font-sign); font-size: 1.75rem; font-weight: 800; line-height: 1.1; }
.ticket-foot { margin-top: 1.5rem; }
.ticket-hint { margin-bottom: 1rem; color: var(--steel); font-size: .9375rem; }
.ticket-submit { width: 100%; }
.ticket .form-message { margin: .75rem 0 0; }
.ticket-link { display: inline-block; font-weight: 600; }

.ticket-stamp {
    position: absolute;
    right: 1.25rem;
    bottom: 7.5rem;
    padding: .2rem .8rem;
    border: 3px solid var(--pole);
    border-radius: 6px;
    color: var(--pole);
    font-family: var(--font-sign);
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: 0;
    transform: rotate(-12deg) scale(1.6);
    pointer-events: none;
}
.is-booked .ticket-stamp { animation: stamp .35s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes stamp {
    to { opacity: .9; transform: rotate(-12deg) scale(1); }
}
.is-booked .ticket-hint { color: var(--success); font-weight: 600; }
.is-booked .booker-steps { opacity: .55; }

.manage-section { display: grid; grid-template-columns: minmax(280px, 5fr) minmax(320px, 7fr); gap: 2rem; align-items: start; }
.manage-card, .reschedule-form { padding: 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.manage-card { background: var(--tile); border-color: var(--tile); }
.manage-card p { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .7rem 0; border-bottom: 1px solid var(--tile-deep); }
.manage-card p:last-child { border-bottom: 0; }
.manage-card p span { color: var(--steel); }
.manage-card strong { text-align: right; }
.reschedule-form h2 { font-size: 2.25rem; }
.reschedule-form .button { margin-top: 1rem; }
.cancel-form { grid-column: 2; }
.login-section .login-card { max-width: 560px; }
.login-card { display: grid; gap: .6rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.login-card .button { justify-self: start; margin-top: .8rem; }
.code-input { max-width: 14rem; font-size: 1.8rem; font-weight: 700; letter-spacing: .35em; font-variant-numeric: tabular-nums; }
.resend-form { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; max-width: 560px; margin-top: 1rem; font-size: .9375rem; }
.link-button { padding: 0; border: 0; color: var(--navy); background: none; font-weight: 600; text-decoration: underline; }

/* Admin */
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 2.5rem var(--gutter); color: var(--chalk); background: var(--navy); }
.admin-top h1 { margin-bottom: .4rem; font-size: clamp(2.8rem, 5vw, 4rem); }
.admin-top p { margin-bottom: 0; color: var(--tile); }
.admin-top form { margin: 0; }
.admin-section { padding: 3rem var(--gutter); border-bottom: 1px solid var(--line); }
.admin-section h2 { margin-bottom: 0; font-size: 2.5rem; }
.section-heading, .admin-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.filter-form { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem; margin-bottom: 1.5rem; }
.filter-form label { margin: 0; }
.filter-form input, .filter-form select { width: auto; min-width: 150px; }
.empty-state { padding: 2rem; border-radius: var(--radius); background: var(--tile); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--white); font-size: .9rem; }
.admin-table th, .admin-table td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table th { color: var(--steel); font-size: .875rem; font-weight: 600; background: #eef1f7; }
.admin-table td small, .admin-list small { display: block; margin-top: .2rem; color: var(--steel); }
.inline-form { display: flex; align-items: center; gap: .5rem; min-width: 200px; }
.inline-form select { min-height: 38px; }
.status { display: inline-block; padding: .15rem .55rem; border-radius: 999px; background: #e7ebe8; font-size: .8125rem; font-weight: 600; }
.status-confirmed { color: var(--success); background: #dcebe1; }
.status-cancelled { color: var(--error); background: #f6e1df; }
.admin-form { display: grid; gap: .55rem; }
.admin-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 1.5rem; border-radius: var(--radius); background: var(--tile); }
.form-wide { grid-column: 1 / -1; }
.admin-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.admin-card { min-width: 0; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.admin-card h3 { font-family: var(--font-sign); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; }
.admin-card .checkbox-label { margin: .3rem 0; }
.delete-form { margin-top: .8rem; text-align: right; }
.text-danger { padding: .2rem 0; border: 0; color: var(--error); background: none; font-weight: 600; }
.text-danger:hover { text-decoration: underline; }
.service-checks { display: grid; gap: .2rem; margin: .5rem 0; padding: .8rem; border: 1px solid var(--line); border-radius: var(--radius); }
.service-checks legend { padding: 0 .4rem; font-size: .875rem; font-weight: 600; }
.admin-list { margin: 0; padding: 0; list-style: none; }
.admin-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.admin-list form { flex: 0 0 auto; }
.settings-form { max-width: 800px; }
.settings-form .button { justify-self: start; margin-top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }


/* Eigen bevestigingspopup (vervangt het browservenster) */
.confirm-dialog { width: min(440px, calc(100vw - 2rem)); padding: 1.6rem 1.6rem 1.4rem; border: 0; border-top: 5px solid var(--pole); border-radius: 14px; color: var(--ink); background: var(--white); box-shadow: 0 24px 60px rgba(20, 36, 90, .3); }
.confirm-dialog::backdrop { background: rgba(15, 24, 56, .55); }
.confirm-text { margin: 0 0 1.4rem; font-size: 1.1rem; font-weight: 600; line-height: 1.45; }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .6rem; }
.confirm-actions .button-outline { color: var(--navy); }

/* Responsive */
@media (max-width: 900px) {
    .booker { grid-template-columns: 1fr; }
    .ticket-wrap { position: static; }
}
@media (max-width: 880px) {
    .hero { grid-template-columns: 1fr; align-items: start; }
    .hero-side { flex-direction: row; align-items: center; width: auto; max-width: 480px; }
    .hero-logo { width: 42%; flex: 0 0 auto; }
    .today { flex: 1; }
    .team-strip, .visit { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .site-header { min-height: 68px; }
    .nav-toggle { display: block; }
    .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; padding: .75rem 1.25rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--chalk); }
    .site-nav.is-open { display: flex; flex-direction: column; gap: .25rem; }
    .site-nav a:not(.button) { padding: .6rem 0; font-size: 1.0625rem; }
    .site-nav .button { margin-top: .5rem; }
}
@media (max-width: 600px) {
    .brand { gap: .5rem; font-size: 1.35rem; white-space: nowrap; }
    .brand img { width: 40px; }
    .team-grid, .contact-grid, .manage-section, .admin-card-grid { grid-template-columns: 1fr; }
    .price-list li { flex-wrap: wrap; }
    .price-name { flex: 1 1 100%; }
    .price-leader { display: none; }
    .price-amount { color: var(--navy); }
    .service-item { grid-template-columns: 1fr; }
    .service-meta { flex-direction: row; align-items: baseline; gap: 1rem; text-align: left; }
    .section-heading { flex-direction: column; align-items: start; gap: 1rem; }
    .site-footer { grid-template-columns: 1fr; }
    .copyright { grid-column: auto; }
    .form-grid, .admin-form-grid { grid-template-columns: 1fr; }
    .form-wide { grid-column: auto; }
    .admin-top { align-items: flex-start; }
    .filter-form { display: grid; grid-template-columns: 1fr 1fr; }
    .filter-form input, .filter-form select { width: 100%; min-width: 0; }
    .filter-form button { grid-column: 1 / -1; }
    .cancel-form { grid-column: auto; }
    .choice { grid-template-columns: minmax(0, 1fr) auto; gap: .1rem 1rem; }
    .choice-meta { grid-row: 2; }
    .choice-price { grid-row: 1 / 3; grid-column: 2; align-self: center; }
    .day-strip-wrap .strip-nav { display: none; }
    .admin-table { min-width: 760px; }
}
@media (prefers-reduced-motion: reduce) {
    .is-booked .ticket-stamp, .step.is-loading .step-status::after { animation: none; }
    .is-booked .ticket-stamp { opacity: .9; transform: rotate(-12deg); }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

.screen-link { max-width: 760px; }
.screen-link a { font-weight: 600; word-break: break-all; }
.screen-link form { margin: 1rem 0 .5rem; }

/* Onderhoudsmodus */
.maintenance-body { display: grid; min-height: 100vh; place-items: center; padding: 2rem 1.25rem; }
.maintenance { max-width: 34rem; text-align: center; }
.maintenance img { width: 220px; height: auto; margin-bottom: 1.5rem; }
.maintenance h1 { font-size: clamp(3rem, 10vw, 5.5rem); margin-bottom: 1rem; }
.maintenance .lead { margin: 0 auto 1rem; color: var(--steel); }
.maintenance a { font-weight: 600; }
.maintenance-bar { padding: .6rem var(--gutter); color: var(--white); background: var(--pole); font-size: .9375rem; font-weight: 600; }
.maintenance-bar a { color: inherit; }
.maintenance-state { margin: .5rem 0 0; color: var(--steel); }
.maintenance-panel.is-on { background: #fbeaea; }
.maintenance-panel.is-on .maintenance-state { color: var(--pole); font-weight: 600; }
.maintenance-form { max-width: 640px; }
.maintenance-form .button { justify-self: start; margin-top: .5rem; }

/* Cookiemelding */
.cookie-notice {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 50;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    max-width: 640px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(20, 36, 90, .18);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { flex: 1 1 18rem; margin: 0; font-size: .9375rem; }
.cookie-notice a { font-weight: 600; }
.table-scroll { overflow-x: auto; }
.cookie-table { width: 100%; margin: 1rem 0; border-collapse: collapse; font-size: .9375rem; }
.cookie-table th, .cookie-table td { padding: .6rem .75rem .6rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cookie-table code { font-size: .875rem; word-break: break-all; }
