/* =========================================================================
   Souf de Barber - homepage styles
   ========================================================================= */

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

:root {
    --bg:           #0a0a0a;
    --bg-elev-1:    #131313;
    --bg-elev-2:    #1a1a1a;
    --bg-elev-3:    #212121;
    --border:       rgba(255, 255, 255, 0.07);
    --border-strong:rgba(255, 255, 255, 0.16);

    --text:         #f1f1f1;
    --text-soft:    #c4c4c4;
    --muted:        #7a7a7a;

    --gold:         #cfad63;
    --gold-soft:    #b9985a;
    --gold-bright:  #e5cd96;
    --gold-glow:    rgba(207, 173, 99, 0.18);

    --success:      #65d28e;
    --warn:         #e8a64a;
    --danger:       #e2655a;

    --radius:       12px;
    --radius-lg:    18px;
    --radius-pill:  999px;

    --ease:         cubic-bezier(0.2, 0.7, 0.2, 1);

    --header-h:     72px;

    --shadow-soft:  0 12px 40px rgba(0, 0, 0, 0.45);
    --shadow-card:  0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 32px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; margin: 0; }

::selection { background: var(--gold); color: #111; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* -------------------------------------------------------------------------
   Section shell
   ------------------------------------------------------------------------- */
.section-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--gold);
    font-weight: 500;
}

.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
    display: inline-block;
    opacity: 0.7;
}

.eyebrow-dark { color: var(--gold); }

.section-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -0.01em;
    margin: 14px 0 18px;
    color: var(--text);
}

.section-sub {
    color: var(--text-soft);
    max-width: 56ch;
    font-size: 1.025rem;
    margin: 0;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
    user-select: none;
    text-decoration: none;
}

.btn-sm  { padding: 9px 16px;  font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-gold {
    background: var(--gold);
    color: #111;
    border-color: var(--gold);
    box-shadow: 0 8px 24px var(--gold-glow);
}
.btn-gold:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px var(--gold-glow);
}
.btn-gold:disabled,
.btn-gold[disabled] {
    background: rgba(207, 173, 99, 0.25);
    border-color: rgba(207, 173, 99, 0.25);
    color: rgba(17, 17, 17, 0.7);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-link {
    background: transparent;
    color: var(--text-soft);
    padding: 14px 8px;
    border-radius: 0;
}
.btn-link:hover { color: var(--gold); }
.btn-link span { transition: transform .25s var(--ease); display: inline-block; margin-left: 4px; }
.btn-link:hover span { transform: translateX(4px); }

/* -------------------------------------------------------------------------
   Admin pill
   ------------------------------------------------------------------------- */
.admin-pill {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 50;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-strong);
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.admin-pill:hover { border-color: var(--gold); }

/* -------------------------------------------------------------------------
   Site header
   ------------------------------------------------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 30;
    height: var(--header-h);
    transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--border);
}

.site-header-inner {
    max-width: 1140px;
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}
.brand-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}
.brand-name {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}
.site-nav a {
    font-size: 0.9rem;
    color: var(--text-soft);
    position: relative;
    padding: 6px 0;
    transition: color .2s var(--ease);
}
.site-nav a:hover { color: var(--gold); }
.site-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta { white-space: nowrap; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0 24px;
}

.hero-media {
    position: absolute; inset: 0;
    z-index: 0;
}
.hero-media img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.15) contrast(1.04) brightness(0.78);
    transform: scale(1.03);
}
.hero-veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.25) 35%, rgba(10,10,10,0.85) 100%),
        radial-gradient(ellipse at 50% 65%, transparent 0%, rgba(10,10,10,0.45) 70%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    animation: heroFade 1.1s var(--ease) both;
}

@keyframes heroFade {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: none; }
}

.hero-inner .eyebrow {
    color: var(--gold-bright);
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

.hero-lead {
    color: rgba(255,255,255,0.85);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    margin: 0 auto 38px;
    max-width: 540px;
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
    animation: scrollIndicator 2s var(--ease) infinite;
}
@keyframes scrollIndicator {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* -------------------------------------------------------------------------
   About
   ------------------------------------------------------------------------- */
.about {
    padding: clamp(70px, 11vw, 130px) 0;
    background:
        radial-gradient(ellipse 60% 60% at 80% 0%, rgba(207, 173, 99, 0.07) 0%, transparent 60%),
        var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(40px, 7vw, 90px);
    align-items: center;
}

.about-text p {
    color: var(--text-soft);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 50ch;
    margin: 0 0 30px;
}

.about-list {
    border-top: 1px solid var(--border);
    margin-top: 10px;
}
.about-list li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.02rem;
}
.about-list li span:first-child { color: var(--text); }
.about-list li span:last-child  { color: var(--gold); font-variant-numeric: tabular-nums; font-weight: 600; }
.about-list li .dots {
    flex: 1;
    border-bottom: 1px dotted var(--border-strong);
    transform: translateY(-3px);
    min-width: 30px;
}

.about-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: visible;
}
.about-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}
.about-card img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.1) contrast(1.05);
    transition: transform .9s var(--ease);
}
.about-visual:hover .about-card img { transform: scale(1.04); }

.about-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.about-badge {
    position: absolute;
    bottom: -22px;
    left: -22px;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: var(--bg-elev-2);
    border: 1px solid var(--gold);
    color: var(--gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-soft);
}
.about-badge-num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 4px;
}
.about-badge-label {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-soft);
    line-height: 1.3;
}

/* -------------------------------------------------------------------------
   Reviews
   ------------------------------------------------------------------------- */
.reviews {
    padding: clamp(70px, 11vw, 130px) 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.reviews-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}
.reviews-header .eyebrow { justify-content: center; }
.reviews-header .eyebrow::before { display: none; }

/* Volle-breedte oneindige carrousel (marquee) */
.reviews-marquee {
    overflow: hidden;
    padding: 6px 0 22px;
    /* Vervaagde randen links/rechts */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.reviews-track {
    display: flex;
    width: max-content;
    animation: reviews-scroll 48s linear infinite;
    will-change: transform;
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
.reviews-track .review-card { margin-right: 18px; }

@keyframes reviews-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    /* Geen autoscroll: handmatig scrollbaar maken, scrollbalk verborgen */
    .reviews-marquee { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
    .reviews-marquee::-webkit-scrollbar { display: none; }
    .reviews-track { animation: none; }
}

.review-card {
    margin: 0;
    flex: 0 0 min(360px, 82vw);
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.review-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.review-stars {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 1.05rem;
}
.review-text {
    margin: 0;
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.65;
    flex: 1;
}
.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2a2a2a, #141414);
    border: 1px solid var(--border-strong);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.15rem;
}
.review-who { display: flex; flex-direction: column; }
.review-name { color: var(--text); font-weight: 600; font-size: 0.98rem; }
.review-date { color: var(--muted); font-size: 0.8rem; }

/* -------------------------------------------------------------------------
   Booking
   ------------------------------------------------------------------------- */
.booking {
    padding: clamp(70px, 11vw, 130px) 0 100px;
    background:
        linear-gradient(180deg, var(--bg) 0%, var(--bg-elev-1) 100%);
    position: relative;
}
.booking::before {
    content: '';
    position: absolute; left: 0; right: 0; top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.booking-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}
.booking-header .eyebrow { justify-content: center; }
.booking-header .eyebrow::before { display: none; }
.booking-header .section-sub { margin: 0 auto; }

/* Steps indicator */
.steps {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin: 0 auto 48px;
    max-width: 760px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.step {
    flex: 1 1 0;
    padding: 18px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    text-align: center;
    color: var(--muted);
    transition: color .25s var(--ease);
    border-right: 1px solid var(--border);
    cursor: default;
}
.step:last-child { border-right: 0; }

/* Bereikte stappen zijn klikbaar (terug navigeren) -> pointer */
.step.is-clickable,
.step.is-active {
    cursor: pointer;
}

.step-num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 0.95rem;
    color: var(--muted);
    transition: color .25s var(--ease);
}
.step-label {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: inherit;
}
.step.is-active {
    color: var(--text);
}
.step.is-active .step-num { color: var(--gold); }
.step.is-active::after {
    content: '';
    position: absolute;
    left: 12%; right: 12%;
    bottom: -1px;
    height: 2px;
    background: var(--gold);
}
.step.is-done {
    color: var(--text-soft);
}
.step.is-done .step-num { color: var(--gold-soft); }

/* Booking stage */
.booking-stage {
    max-width: 760px;
    margin: 0 auto;
}

.step-panel {
    animation: panelIn .45s var(--ease) both;
}
.step-panel[hidden] { display: none; }

@keyframes panelIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.panel-header { margin-bottom: 28px; }
.panel-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: 1.65rem;
    margin: 0 0 6px;
    color: var(--text);
}
.panel-sub {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.98rem;
}

/* Barber grid */
.barber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.barber-card {
    text-align: left;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text);
    transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
    position: relative;
}
.barber-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.barber-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2a2a2a, #141414);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.55rem;
    color: var(--gold);
    flex-shrink: 0;
    transition: border-color .25s var(--ease);
}

.barber-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.barber-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;
}
.barber-role {
    font-size: 0.78rem;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.barber-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

/* Op vakantie: zichtbaar maar niet te kiezen */
.barber-card.is-on-vacation {
    cursor: not-allowed;
}
.barber-card.is-on-vacation:hover {
    border-color: var(--border);
    transform: none;
}
.barber-card.is-on-vacation .barber-avatar {
    filter: grayscale(1);
    color: var(--muted);
    opacity: 0.7;
}
.barber-card.is-on-vacation .barber-name {
    color: var(--muted);
}
.barber-card.is-on-vacation .barber-check {
    visibility: hidden;
}
.barber-vacation-badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(207, 173, 99, 0.45);
    border-radius: 999px;
    padding: 2px 9px;
    margin-top: 3px;
}

.barber-card.is-selected {
    border-color: var(--gold);
    background: linear-gradient(180deg, rgba(207,173,99,0.06) 0%, rgba(207,173,99,0) 100%), var(--bg-elev-1);
}
.barber-card.is-selected .barber-avatar { border-color: var(--gold); }
.barber-card.is-selected .barber-check  {
    background: var(--gold);
    border-color: var(--gold);
    color: #0a0a0a;
}

/* Calendar */
.calendar-wrap {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-month-title {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: var(--text);
    margin: 0;
    text-transform: capitalize;
}

.cal-nav-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-strong);
    color: var(--text);
    display: inline-flex; align-items: center; justify-content: center;
    transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.cal-nav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.calendar { display: flex; flex-direction: column; gap: 6px; }

.calendar-header-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 6px;
}
.calendar-header-day {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 6px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    min-width: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    color: var(--text);
    position: relative;
    transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.calendar-day:hover:not(.disabled):not(.other-month) {
    border-color: var(--gold-soft);
    background: rgba(207, 173, 99, 0.06);
}

.calendar-day-number {
    font-size: 0.98rem;
    font-weight: 500;
    color: inherit;
    line-height: 1;
}

.calendar-day.today .calendar-day-number { color: var(--gold); }

.calendar-day.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: #0a0a0a;
}
.calendar-day.selected .calendar-day-number { color: #0a0a0a; }
.calendar-day.selected .availability-indicator { display: none; }

.calendar-day.disabled {
    cursor: not-allowed;
    color: var(--muted);
    opacity: 0.55;
    background: rgba(255,255,255,0.015);
}
.calendar-day.other-month {
    cursor: not-allowed;
    opacity: 0.25;
    border-color: transparent;
}

/* Availability pill */
.availability-indicator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.55;
    white-space: nowrap;
    border: 1px solid transparent;
}
.availability-indicator.available {
    background: rgba(101, 210, 142, 0.13);
    color: var(--success);
    border-color: rgba(101, 210, 142, 0.28);
}
.availability-indicator.warning {
    background: rgba(232, 166, 74, 0.13);
    color: var(--warn);
    border-color: rgba(232, 166, 74, 0.30);
}
.availability-indicator.full {
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    border-color: var(--border);
}
.availability-indicator.closed,
.availability-indicator.past { display: none; }

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.78rem;
    color: var(--muted);
}
.calendar-legend .dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.dot-available { background: var(--success); }
.dot-limited   { background: var(--warn); }
.dot-full      { background: var(--muted); }

/* Time slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}
.time-slot {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 10px;
    text-align: center;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.time-slot:hover {
    border-color: var(--gold-soft);
    transform: translateY(-1px);
}
.time-slot.selected {
    background: var(--gold);
    border-color: var(--gold);
    color: #0a0a0a;
}

.no-slots-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 36px 18px;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    font-style: normal;
}

/* Booking summary */
.booking-summary {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-left: 2px solid var(--gold);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin-bottom: 28px;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}
.summary-row:last-child { border-bottom: 0; }
.summary-label {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}
.summary-value {
    font-size: 1rem;
    color: var(--text);
    text-align: right;
    font-weight: 500;
}

/* Form */
.booking-form {
    display: grid;
    gap: 18px;
}
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field label {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-soft);
}
.field input {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1rem;
    padding: 14px 16px;
    transition: border-color .25s var(--ease), background .25s var(--ease);
    font-family: inherit;
}
.field input::placeholder { color: var(--muted); }
.field input:hover { border-color: var(--border-strong); }
.field input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg-elev-2);
}
.field input:invalid:not(:placeholder-shown) {
    border-color: rgba(226, 101, 90, 0.45);
}
.field input.has-error {
    border-color: var(--danger);
    background: rgba(226, 101, 90, 0.06);
}
.field input.has-error:focus {
    border-color: var(--danger);
}
.field-error {
    color: var(--danger);
    font-size: 0.82rem;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.field-error::before {
    content: '!';
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--danger);
    color: #0a0a0a;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.field-help {
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 2px;
}

/* Email typo suggestion box */
.email-suggestion {
    margin-top: 10px;
    background: rgba(207, 173, 99, 0.07);
    border: 1px solid rgba(207, 173, 99, 0.30);
    border-radius: var(--radius);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: panelIn .35s var(--ease) both;
}
.email-suggestion-text {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.45;
}
.email-suggestion-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.email-suggestion-actions .btn { padding: 8px 14px; font-size: 0.82rem; }

.check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.92rem;
    color: var(--text-soft);
    line-height: 1.55;
    user-select: none;
}
.check input {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.check-box {
    width: 20px; height: 20px;
    border-radius: 5px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border-strong);
    flex-shrink: 0;
    margin-top: 2px;
    transition: background .2s var(--ease), border-color .2s var(--ease);
    position: relative;
}
.check-box::after {
    content: '';
    position: absolute;
    left: 6px; top: 2px;
    width: 6px; height: 11px;
    border: solid #0a0a0a;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform .2s var(--ease);
}
.check input:checked ~ .check-box {
    background: var(--gold);
    border-color: var(--gold);
}
.check input:checked ~ .check-box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible ~ .check-box {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.link {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
.link:hover { color: var(--gold-bright); }

/* Step nav */
.step-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 760px;
    margin: 36px auto 0;
}
.step-spacer { flex: 1; }
.step-back   { color: var(--text-soft); }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.footer {
    background: #050505;
    padding: 80px 0 28px;
    border-top: 1px solid var(--border);
    color: var(--text-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 48px;
}

.footer-heading {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--gold);
    margin: 0 0 16px;
    letter-spacing: 0.04em;
}

.footer-line {
    margin: 0 0 8px;
    color: var(--text-soft);
    font-size: 0.95rem;
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.footer-line a:hover { color: var(--gold); }
.footer-line .dots {
    flex: 1;
    border-bottom: 1px dotted rgba(255,255,255,0.1);
    transform: translateY(-3px);
    min-width: 16px;
}

.footer-brand-col {
    align-self: end;
    text-align: right;
}
.footer-logo {
    display: inline-block;
    width: auto;
    height: 120px;
    margin-bottom: 14px;
    object-fit: contain;
}
.footer-tagline {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
    font-style: italic;
}
.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 16px;
    padding: 9px 16px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 500;
    transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.footer-social svg { display: block; }
.footer-social:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(207, 173, 99, 0.06);
}

.footer-bottom {
    max-width: 1140px;
    margin: 60px auto 0;
    padding: 22px 28px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}

/* -------------------------------------------------------------------------
   Mobile sticky CTA
   ------------------------------------------------------------------------- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 12px;
    left: 12px;
    right: 12px;
    z-index: 40;
    padding: 4px;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
    transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.mobile-cta.is-hidden {
    transform: translateY(140%);
    opacity: 0;
    pointer-events: none;
}

/* -------------------------------------------------------------------------
   Modals
   ------------------------------------------------------------------------- */
.modal {
    position: fixed; inset: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.modal.show { opacity: 1; visibility: visible; }
.modal[style*="flex"] { opacity: 1; visibility: visible; }

.modal-overlay {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}
.modal-content {
    position: relative;
    background: var(--bg-elev-1);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    max-width: 460px;
    width: 100%;
    max-height: 86vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}
.modal-header {
    padding: 22px 24px 14px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px;
}
.modal-header h3 {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--text);
}
.modal-close {
    background: transparent;
    border: 0;
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 6px;
    transition: color .2s var(--ease);
}
.modal-close:hover { color: var(--text); }
.modal-body {
    padding: 18px 24px;
    overflow-y: auto;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.65;
}
.modal-body h4 {
    margin: 18px 0 6px;
    color: var(--gold);
    font-weight: 600;
    font-size: 0.95rem;
}
.modal-body p { margin: 0 0 8px; }
.modal-footer {
    padding: 16px 24px 22px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.terms-modal.show { display: flex !important; }

/* Public notification (success/error) */
.notification-card {
    text-align: center;
    padding: 28px 26px 24px;
    max-width: 420px;
}
.public-notification-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
}
.public-notification-message {
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 20px;
}

/* Loading */
.loading-overlay {
    position: fixed; inset: 0;
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 14px;
    color: var(--text-soft);
}
.loading-spinner {
    width: 38px; height: 38px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------
   Mobile / responsive
   ------------------------------------------------------------------------- */

/* Tablets */
@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    .about-visual { max-width: 480px; margin: 0 auto; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand-col {
        grid-column: 1 / -1;
        text-align: left;
    }
}

/* Phones */
@media (max-width: 720px) {
    :root { --header-h: 60px; }

    .section-inner { padding: 0 18px; }

    .site-nav { display: none; }
    .header-cta { padding: 8px 14px; font-size: 0.78rem; }

    .hero { min-height: 540px; padding: 0 18px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }
    .hero-actions .btn-link { width: auto; align-self: center; }

    .steps {
        gap: 0;
        margin-bottom: 32px;
    }
    .step { padding: 14px 6px; flex-direction: column; gap: 4px; }
    .step-num { font-size: 0.85rem; }
    .step-label { font-size: 0.65rem; letter-spacing: 0.08em; }

    .panel-title { font-size: 1.35rem; }

    .barber-grid { grid-template-columns: 1fr; }

    .calendar-wrap { padding: 16px; }
    .calendar-grid, .calendar-header-days { gap: 4px; }
    .calendar-day { gap: 2px; padding: 2px; }
    .calendar-day-number { font-size: 0.88rem; }

    /* Compacte beschikbaarheids-pill op mobiel: alleen het getal, smal label weg */
    .availability-indicator { padding: 1px 5px; font-size: 0.58rem; letter-spacing: 0; }
    .availability-indicator .ai-suffix { display: none; }

    .time-slots { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }

    .booking-summary { padding: 14px 16px; }

    .mobile-cta { display: block; }
    .booking { padding-bottom: 120px; }

    .footer { padding-top: 56px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-brand-col { text-align: left; }
    .footer-bottom { flex-direction: column; gap: 6px; padding-top: 18px; margin-top: 36px; }

    .about-badge { width: 100px; height: 100px; bottom: -16px; left: -16px; }
    .about-badge-num { font-size: 1.3rem; }
    .about-badge-label { font-size: 0.6rem; }

    .step-nav { margin-top: 24px; }
}

/* Very small */
@media (max-width: 380px) {
    .step-label { display: none; }
    .step { gap: 0; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
