/* =====================================================================
   tr3s.nl — muisgrijs thema, zwarte letters, zwarte balken tussen secties
   ===================================================================== */

:root {
    --bg:        #9b9b98;   /* muisgrijs */
    --bg-2:      #92928f;   /* iets donkerder grijs voor afwisseling */
    --panel:     #adadaa;   /* lichter grijs paneel (licht op grijs) */
    --surface:   rgba(255, 255, 255, 0.16);
    --surface-2: rgba(255, 255, 255, 0.28);
    --border:    rgba(0, 0, 0, 0.28);
    --border-2:  rgba(0, 0, 0, 0.5);
    --text:      #0d0d0d;   /* zwart */
    --muted:     #2c2c2a;   /* donkergrijs, goed leesbaar */
    --red:       #b00d1c;
    --red-soft:  #8a0a16;   /* dieper rood voor links/accenten op grijs */
    --bar:       #0d0d0d;   /* zwarte balk */

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    --maxw: 1180px;
    --radius: 16px;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    --shadow-red: 0 10px 30px rgba(176, 13, 28, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--red-soft); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Secties met zwarte balk ertussen */
.section { padding: clamp(3rem, 8vw, 6rem) 0; border-top: 8px solid var(--bar); }
.narrow { max-width: 820px; margin-inline: auto; }
.text-red { color: var(--red); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Skip link */
.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--bar); color: #fff;
    padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Accenten ------------------------------------------------------ */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
    color: var(--red-soft); font-weight: 600;
    margin-bottom: 1rem;
}
.shine { color: var(--red); }

.divider {
    width: 70px; height: 4px; border: 0; margin: 1.2rem 0;
    background: var(--bar);
    border-radius: 3px;
}
.center .divider { margin-inline: auto; }

/* ---- Wordmark / logo ----------------------------------------------- */
.wordmark {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    color: var(--text);
}
.wordmark .n3 { color: var(--red); }
.wordmark:hover { color: var(--text); }

/* ---- Buttons (doorzichtig / glas) ---------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.6rem;
    font-family: var(--font-body); font-weight: 500; font-size: .95rem;
    letter-spacing: .02em;
    color: var(--text);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid var(--border-2);
    border-radius: 50px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .3s ease, background .3s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--bar); border-color: var(--bar); color: #fff; box-shadow: var(--shadow); }
.btn-primary {
    border-color: var(--red);
    background: rgba(176, 13, 28, .12);
    color: var(--red-soft);
    font-weight: 600;
}
.btn-primary:hover {
    background: var(--red); border-color: var(--red); color: #fff;
    box-shadow: var(--shadow-red);
}
.btn-ghost { background: transparent; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---- Header / navigatie -------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(155, 155, 152, 0.88);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 4px solid var(--bar);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    height: 74px; gap: 1rem;
}
.nav .brand { font-size: 1.9rem; }
.nav-links {
    display: flex; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0;
}
.nav-links a {
    display: block; padding: .55rem .85rem; border-radius: 40px;
    font-size: .93rem; color: var(--muted); position: relative; font-weight: 500;
    transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: #000; }
.nav-links a.active { color: #000; }
.nav-links a.active::after {
    content: ""; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
    width: 18px; height: 2px; background: var(--red); border-radius: 2px;
}
.nav-links .cta a, a.nav-cta {
    color: #fff; border: 1px solid var(--red);
    background: var(--red);
    padding: .55rem 1.2rem; font-weight: 600;
}
.nav-links .cta a:hover, a.nav-cta:hover { background: var(--red-soft); border-color: var(--red-soft); box-shadow: var(--shadow-red); color: #fff; }

/* Hamburger */
.nav-toggle {
    display: none; width: 46px; height: 46px; border: 1px solid var(--border-2);
    background: rgba(255,255,255,.12); border-radius: 12px; cursor: pointer;
    position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 20px; height: 2px; background: #000; border-radius: 2px; transition: .25s ease;
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 5px); }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-open .nav-toggle span::after  { transform: translate(-50%, 0) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed; inset: 78px 0 auto 0;
        flex-direction: column; align-items: stretch; gap: .2rem;
        background: var(--bg); border-bottom: 4px solid var(--bar);
        padding: 1rem 20px 1.4rem;
        transform: translateY(-120%); opacity: 0; pointer-events: none;
        transition: transform .3s ease, opacity .3s ease;
        max-height: calc(100vh - 78px); overflow-y: auto;
    }
    .nav-open .nav-links { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-links a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 10px; }
    .nav-links a.active::after { display: none; }
    .nav-links a.active { background: rgba(0,0,0,.08); }
    .nav-links .cta a, a.nav-cta { text-align: center; margin-top: .4rem; }
}

/* ---- Hero ----------------------------------------------------------- */
.hero { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); border-top: 0; }
.hero-grid {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero .lead { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; color: var(--muted); font-size: .9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-badges .dot { color: var(--red); }

.hero-media { position: relative; }
.hero-media .frame {
    border-radius: 22px; overflow: hidden; border: 3px solid var(--bar);
    box-shadow: var(--shadow); position: relative;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.hero-media .glow {
    position: absolute; inset: -25px; z-index: -1;
    background: radial-gradient(circle at 50% 40%, rgba(176,13,28,.25), transparent 60%);
    filter: blur(30px);
}
@media (max-width: 820px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; max-width: 420px; margin-inline: auto; }
    .hero-media .frame img { aspect-ratio: 16/12; }
}

/* ---- Cards / grids -------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
    background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius);
    padding: 1.8rem; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
    width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px;
    background: var(--red);
    border: 1px solid var(--red); color: #fff; margin-bottom: 1rem; font-size: 1.3rem;
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery img {
    width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px;
    border: 2px solid var(--bar); transition: transform .3s ease, box-shadow .3s ease;
}
.gallery a:hover img { transform: scale(1.03); box-shadow: var(--shadow); }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---- Prijzen -------------------------------------------------------- */
.price-cat { margin-bottom: 2.6rem; }
.price-cat > h3 {
    display: flex; align-items: baseline; gap: .8rem;
    padding: .6rem .8rem; margin-bottom: 1rem;
    background: var(--bar); color: #fff; border-radius: 8px;
}
.price-cat > h3 .count { font-family: var(--font-body); font-size: .8rem; color: #ddd; font-weight: 400; }
.price-list { display: grid; gap: .2rem; }
.price-row {
    display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: start;
    padding: .85rem .4rem; border-bottom: 1px solid rgba(0,0,0,.18);
}
.price-row:last-child { border-bottom: 0; }
.price-row .pname { font-weight: 600; }
.price-row .pdesc { color: var(--muted); font-size: .86rem; margin-top: .25rem; line-height: 1.5; }
.price-row .pmeta { text-align: right; white-space: nowrap; }
.price-row .pprice { font-family: var(--font-display); font-size: 1.25rem; color: var(--red-soft); font-weight: 700; }
.price-row .pdur { display: block; color: var(--muted); font-size: .8rem; }
.price-toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.price-toc a {
    font-size: .84rem; padding: .45rem .9rem; border-radius: 40px;
    border: 1px solid var(--border-2); color: var(--text); background: rgba(255,255,255,.12);
}
.price-toc a:hover { color: #fff; background: var(--bar); border-color: var(--bar); }

/* ---- Openingstijden ------------------------------------------------- */
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: .9rem .4rem; border-bottom: 1px solid var(--border-2); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table .day { font-weight: 600; }
.hours-table .time { text-align: right; color: var(--text); }
.hours-table tr.today td { color: #000; font-weight: 600; }
.hours-table tr.today .day::before { content: "▸ "; color: var(--red); }
.hours-table .closed { color: var(--muted); }
.status-pill {
    display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem;
    border-radius: 40px; border: 1px solid var(--border-2); background: rgba(255,255,255,.14); font-size: .9rem; font-weight: 500;
}
.status-pill .led { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status-pill.open .led { background: #157a3a; box-shadow: 0 0 8px #157a3a; }
.status-pill.closed .led { background: var(--red); box-shadow: 0 0 8px var(--red); }

/* ---- Forms ---------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; color: var(--text); font-weight: 500; }
.field label .req { color: var(--red); }
.input, .select, .textarea {
    width: 100%; padding: .85rem 1rem; color: var(--text);
    background: rgba(255, 255, 255, 0.55); border: 1px solid var(--border-2); border-radius: 12px;
    font-family: var(--font-body); font-size: 1rem;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.input::placeholder, .textarea::placeholder { color: #4a4a48; }
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(176,13,28,.22); background: #fff;
}
.textarea { min-height: 120px; resize: vertical; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230d0d0d' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem;
}
.select option { background: #cfcfcc; color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.help { font-size: .82rem; color: var(--muted); }

/* Radios als kaartjes (medewerkers) */
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice label {
    display: block; text-align: center; padding: 1rem; border-radius: 12px;
    border: 1px solid var(--border-2); background: rgba(255,255,255,.14); cursor: pointer; transition: .2s ease; font-weight: 500;
}
.choice input:checked + label { border-color: var(--red); background: var(--red); color: #fff; }
.choice input:focus-visible + label { box-shadow: 0 0 0 3px rgba(176,13,28,.28); }

/* ---- Alerts --------------------------------------------------------- */
.alert { padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid var(--border-2); margin-bottom: 1rem; font-size: .95rem; background: rgba(255,255,255,.14); }
.alert-success { border-color: #157a3a; background: rgba(21,122,58,.14); }
.alert-error   { border-color: var(--red); background: rgba(176,13,28,.14); }
.alert-info    { border-color: var(--border-2); background: rgba(255,255,255,.14); }
.errors { list-style: none; padding: 0; margin: 0; }

/* ---- Reviews -------------------------------------------------------- */
.stars { color: var(--red); letter-spacing: .1em; }
.stars .off { color: rgba(0,0,0,.25); }
.review { display: flex; flex-direction: column; gap: .6rem; }
.review .who { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.review .name { font-weight: 600; }
.review .date { color: var(--muted); font-size: .8rem; }
.review blockquote { margin: 0; color: var(--text); font-style: italic; }

/* ---- Contact / map -------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ic { color: var(--red); font-size: 1.1rem; margin-top: .1rem; }
#map { width: 100%; height: 380px; border-radius: var(--radius); border: 3px solid var(--bar); z-index: 1; }
.map-fallback {
    display: grid; place-items: center; height: 380px; text-align: center; padding: 2rem;
    background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius);
}

/* ---- CTA strip ------------------------------------------------------ */
.cta-strip {
    text-align: center; border-radius: 22px; padding: clamp(2.5rem, 6vw, 4rem);
    border: 3px solid var(--bar);
    background: var(--panel);
}

/* ---- Footer --------------------------------------------------------- */
.site-footer { border-top: 8px solid var(--bar); margin-top: 0; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red-soft); margin-bottom: 1rem; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a { color: var(--text); font-size: .93rem; }
.footer-links a:hover { color: var(--red-soft); }
.footer-brand .wordmark { font-size: 2.2rem; margin-bottom: .6rem; }
.footer-brand p { color: var(--muted); max-width: 34ch; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px;
    border: 1px solid var(--border-2); background: rgba(255,255,255,.14); color: #000; font-weight: 600;
}
.socials a:hover { background: var(--bar); border-color: var(--bar); color: #fff; }
.footer-bottom {
    border-top: 3px solid var(--bar); padding: 1.3rem 0; text-align: center;
    color: var(--muted); font-size: .84rem;
}
.footer-bottom a { color: var(--text); }
.footer-bottom a:hover { color: var(--red-soft); }

/* ---- Cookiebanner --------------------------------------------------- */
.cookie-banner {
    position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
    width: min(680px, calc(100% - 32px)); z-index: 150;
    background: var(--panel); border: 3px solid var(--bar); border-radius: 16px;
    box-shadow: var(--shadow); padding: 1.2rem 1.4rem;
    display: none; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1 1 280px; font-size: .9rem; color: var(--text); }
.cookie-banner .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.cookie-banner .btn { padding: .6rem 1.2rem; font-size: .88rem; }

/* ---- Utilities ------------------------------------------------------ */
.stack > * + * { margin-top: 1rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.tag { display:inline-block; font-size:.75rem; padding:.2rem .6rem; border-radius:40px; border:1px solid var(--border-2); color:var(--muted); }
.prose h2 { margin-top: 2rem; } .prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; } .prose li { margin-bottom: .4rem; }
.badge-row { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1rem; }

/* ---- Logo (metallic badge op zwart) -------------------------------- */
.brand-logo { display: inline-flex; align-items: center; }
.brand-logo img {
    height: 46px; width: auto; display: block;
    border-radius: 8px; border: 1px solid var(--bar);
    background: #000;
}
@media (max-width: 480px) { .brand-logo img { height: 38px; } }
.footer-logo {
    height: 62px; width: auto; display: block; margin-bottom: .8rem;
    border-radius: 10px; border: 1px solid var(--bar); background: #000;
}

/* ---- Salonfoto (contactpagina) ------------------------------------- */
.salon-photo { margin: 0 0 1.4rem; }
.salon-photo img {
    width: 100%; border-radius: var(--radius); border: 3px solid var(--bar);
    display: block; box-shadow: var(--shadow);
}
.salon-photo figcaption { margin-top: .55rem; font-size: .82rem; color: var(--muted); text-align: center; }
