/* De Ontsnapping — donker, mysterieus, warm.
   Palet: nachtblauw (#1a1a2e) als basis, dieprood (#8b0000) voor boekknoppen,
   goud (#c9a84c) als accent. Koppen in een klassieke serif, tekst in Inter. */
:root{
  --bg:#1a1a2e;          /* achtergrond */
  --bg-deep:#12121f;     /* donkerste vlakken: header, footer */
  --surface:#23233b;     /* kaarten en afwisselende secties */
  --brand:#8b0000;       /* boekknop: witte tekst erop 10:1 */
  --brand-hover:#a50f0f;
  --gold:#c9a84c;        /* accent: op --bg 7.9:1 */
  --text:#ece6d8;        /* hoofdtekst: op --bg 13:1 */
  --muted:#b9b3c4;       /* secundaire tekst: op --bg 8:1, op --surface 7:1 */
  --line:#34344f;
  --heading:#fff;        /* kopteksten */
  --header-bg:rgba(18,18,31,.96);
  --font-head:ui-serif,"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --font-body:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --radius:6px;
  --wrap:1160px;
  --s1:.5rem;--s2:1rem;--s3:1.5rem;--s4:2rem;--s5:3rem;--s6:5rem;
}
/* Lichte modus: zelfde paletopbouw, omgekeerde helderheid. Contrastverhoudingen opnieuw gecheckt. */
html[data-theme="light"]{
  --bg:#f7f4ec;          /* achtergrond: op --text 14:1 */
  --bg-deep:#efe8d7;     /* header, footer, paginakop */
  --surface:#ffffff;     /* kaarten en afwisselende secties */
  --gold:#8a6a1f;        /* accent: op --bg 5.3:1 */
  --text:#2b2630;        /* hoofdtekst: op --bg 14:1 */
  --muted:#5b5566;       /* secundaire tekst: op --bg 7.6:1 */
  --line:#ddd4bf;
  --heading:#201c26;
  --header-bg:rgba(247,244,236,.94);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 1.0625rem/1.65 var(--font-body)}
img{max-width:100%;height:auto;display:block}
a{color:var(--gold);text-underline-offset:.2em}
a:hover{color:#e0c672}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
h1,h2,h3{font-family:var(--font-head);font-weight:700;line-height:1.08;letter-spacing:-.02em;margin:0 0 .5em;color:var(--heading)}
h1{font-size:clamp(2.6rem,6vw + .5rem,5rem)}
h2{font-size:clamp(1.9rem,3vw + .7rem,3rem)}
h3{font-size:clamp(1.3rem,1vw + 1rem,1.6rem);letter-spacing:-.01em}
p{margin:0 0 1em;max-width:62ch}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 clamp(1.1rem,4vw,2rem)}
.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;z-index:20;background:var(--gold);color:var(--bg-deep);padding:.5rem 1rem}
.eyebrow{display:inline-flex;align-items:center;gap:.6rem;margin:0 0 var(--s2);font-size:1rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--gold)}
.eyebrow::before{content:"";width:2rem;height:2px;background:var(--gold)}

/* Knoppen */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:52px;padding:0 1.6rem;border-radius:var(--radius);background:var(--brand);color:#fff;font-weight:700;text-decoration:none;box-shadow:inset 0 0 0 1px rgba(201,168,76,.55);transition:background-color .15s,transform .15s,box-shadow .15s}
.btn:hover{background:var(--brand-hover);color:#fff;box-shadow:inset 0 0 0 1px var(--gold),0 0 24px rgba(139,0,0,.55)}
.btn:active{transform:translateY(1px)}
.btn svg{width:1.1rem;height:1.1rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-line{background:transparent;color:var(--gold);box-shadow:inset 0 0 0 2px var(--gold)}
.btn-line:hover{background:var(--gold);color:var(--bg-deep);box-shadow:inset 0 0 0 2px var(--gold)}
.btn-small{min-height:44px;padding:0 1.1rem;font-size:1rem}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:var(--s4)}

/* Header */
.site-header{position:sticky;top:0;z-index:10;background:var(--header-bg);border-bottom:1px solid var(--line);backdrop-filter:blur(6px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:72px}
.wordmark{display:inline-flex;align-items:center;gap:.65rem;font-family:var(--font-head);font-weight:700;font-size:1.3rem;letter-spacing:-.01em;color:var(--heading);text-decoration:none;margin:0}
.wordmark:hover{color:var(--heading)}
.wordmark svg{width:2.2rem;height:2.2rem;flex:none}
.header-tools{display:flex;align-items:center;gap:.6rem}
.site-nav{display:flex;align-items:center;gap:1.6rem}
.site-nav a{color:var(--muted);text-decoration:none;font-weight:500;padding:.5rem 0}
.site-nav a:hover,.site-nav a[aria-current="page"]{color:var(--gold)}
.menu-btn{display:none;justify-content:center;width:44px;height:44px;padding:0;border:2px solid var(--gold);border-radius:var(--radius);background:none;color:var(--gold);cursor:pointer}
.menu-btn svg{width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:2px solid var(--gold);border-radius:var(--radius);background:none;color:var(--gold);cursor:pointer}
.theme-toggle svg{width:1.3rem;height:1.3rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .icon-sun{display:none}
html[data-theme="light"] .theme-toggle .icon-moon{display:none}
html[data-theme="light"] .theme-toggle .icon-sun{display:block}
.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}

/* Hero (home): foto met donkere verloop eroverheen */
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:min(88vh,760px);display:flex;align-items:flex-end;padding:var(--s6) 0 clamp(3rem,8vw,6rem);--bg:#1a1a2e;--bg-deep:#12121f;--heading:#fff;--text:#ece6d8;--muted:#b9b3c4;--gold:#c9a84c}
.hero-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:62% 50%}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(26,26,46,.35) 0%,rgba(26,26,46,.55) 45%,var(--bg) 100%),radial-gradient(ellipse at 15% 85%,rgba(139,0,0,.45),transparent 60%)}
.hero-copy{max-width:40rem;animation:rise .8s ease-out both}
.hero .lede{font-size:clamp(1.1rem,.8vw + .95rem,1.3rem);color:var(--text);text-shadow:0 1px 12px rgba(0,0,0,.6)}
.hero h1{text-shadow:0 2px 24px rgba(0,0,0,.6)}
.hero-facts{display:flex;flex-wrap:wrap;gap:.5rem 1.5rem;margin:var(--s4) 0 0;padding:0;list-style:none;color:var(--muted);font-size:1rem}
.hero-facts li{display:flex;align-items:center;gap:.5rem}
.hero-facts svg{width:1.2rem;height:1.2rem;fill:none;stroke:var(--gold);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* Paginakop (subpagina's) */
.page-hero{position:relative;overflow:hidden;padding:clamp(3.5rem,9vw,6.5rem) 0 clamp(2.5rem,6vw,4rem);background:radial-gradient(ellipse at 85% 0%,rgba(139,0,0,.42),transparent 55%),radial-gradient(ellipse at 0% 100%,rgba(201,168,76,.12),transparent 50%),var(--bg-deep);border-bottom:1px solid var(--line)}
.page-hero .lede{font-size:clamp(1.1rem,.8vw + .95rem,1.25rem);color:var(--muted)}
.page-hero-key{position:absolute;right:clamp(-4rem,-2vw,0rem);top:50%;width:clamp(11rem,26vw,20rem);transform:translateY(-50%);opacity:.14;fill:none;stroke:var(--gold);stroke-width:1.5;pointer-events:none}

/* Secties */
.section{padding:clamp(3.5rem,8vw,6.5rem) 0}
.section-alt{background:var(--surface)}
.section-head{max-width:44rem;margin-bottom:var(--s5)}
.section-head p{color:var(--muted)}

/* Kamerkaarten */
.rooms{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:var(--s3)}
.room{display:flex;flex-direction:column;background:var(--bg-deep);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:border-color .2s,transform .2s}
.room:hover{border-color:var(--gold);transform:translateY(-3px)}
.room-img{aspect-ratio:3/2;width:100%;object-fit:cover}
.room-body{display:flex;flex-direction:column;flex:1;padding:var(--s3)}
.room-body p{color:var(--muted)}
.room-body .btn{margin-top:auto;align-self:flex-start}
.room-tag{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:.75rem;color:var(--gold);font-size:1rem;font-weight:600}
.icon{width:1.5rem;height:1.5rem;fill:none;stroke:var(--gold);stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* Kamers in detail (kamers.html) */
.room-row{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.room-row + .room-row{margin-top:clamp(3.5rem,8vw,6rem)}
.room-row:nth-child(even) .room-photo{order:2}
.room-photo{margin:0;position:relative}
.room-photo img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius);box-shadow:14px 14px 0 var(--brand)}
.room-num{font-family:var(--font-head);font-size:clamp(3rem,6vw,4.5rem);line-height:1;color:var(--gold);opacity:.5;margin:0 0 .25rem}
.room-row .lead{font-size:1.15rem;color:var(--text)}

/* Kenmerken / voor wie */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:var(--s4);margin:0;padding:0;list-style:none}
.features li{border-top:2px solid var(--gold);padding-top:var(--s3)}
.features .icon{width:2.5rem;height:2.5rem;margin-bottom:var(--s2)}
.features h3{font-size:1.3rem}
.features p{color:var(--muted);margin:0}

/* Over ons */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.split-photo{margin:0}
.split-photo img{width:100%;border-radius:var(--radius);box-shadow:-14px 14px 0 var(--gold)}
.split-photo figcaption{margin-top:var(--s3);color:var(--muted);font-size:1rem}
.founders{display:flex;flex-wrap:wrap;gap:.75rem;margin:var(--s3) 0 0;padding:0;list-style:none;--gold:#c9a84c}
.founders li{display:flex;align-items:center;gap:.6rem;padding:.5rem 1rem .5rem .5rem;border:1px solid var(--line);border-radius:999px;font-weight:600}
.founders span{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--brand);color:var(--gold);font-family:var(--font-head)}

/* Boekband */
.cta-band{position:relative;overflow:hidden;padding:clamp(3rem,7vw,5rem) 0;background:linear-gradient(120deg,#5e0000 0%,var(--brand) 55%,#6d0505 100%);--heading:#fff;--bg-deep:#12121f;--gold:#c9a84c}
.cta-band::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(-45deg,rgba(201,168,76,.07) 0 2px,transparent 2px 22px);pointer-events:none}
.cta-inner{position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--s3)}
.cta-inner h2{margin-bottom:.3rem}
.cta-inner p{margin:0;color:#f3e7d0}
.cta-inner .actions{margin-top:0}
.cta-band .btn{background:var(--gold);color:var(--bg-deep);box-shadow:none}
.cta-band .btn:hover{background:#dcbd63;color:var(--bg-deep)}
.cta-band .btn-line{background:transparent;color:#fff;box-shadow:inset 0 0 0 2px #fff}
.cta-band .btn-line:hover{background:#fff;color:var(--brand)}

/* Contact */
.contact-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:var(--s3)}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:var(--s4)}
.card h2{font-size:clamp(1.5rem,1.5vw + 1rem,2rem)}
.contact-list{list-style:none;margin:0;padding:0}
.contact-list li{border-bottom:1px solid var(--line)}
.contact-list li:last-child{border-bottom:0}
.contact-list a{display:flex;align-items:center;gap:.85rem;min-height:56px;padding:.5rem 0;color:var(--text);text-decoration:none;font-weight:600}
.contact-list a:hover{color:var(--gold)}
.contact-list small{display:block;color:var(--muted);font-weight:400;font-size:1rem}
.hours{width:100%;border-collapse:collapse}
.hours th,.hours td{padding:.7rem 0;border-bottom:1px solid var(--line);text-align:left;font-weight:400}
.hours td{text-align:right;font-variant-numeric:tabular-nums}
.hours tr:last-child th,.hours tr:last-child td{border-bottom:0}
.hours .closed{color:var(--muted)}
.note{color:var(--muted);font-size:1rem}

/* Footer */
.site-footer{background:var(--bg-deep);border-top:1px solid var(--line);color:var(--muted);padding:var(--s5) 0 var(--s4)}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:var(--s4)}
.site-footer h2{font-size:1.1rem;font-family:var(--font-body);letter-spacing:0;color:var(--gold);margin-bottom:.75rem}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li a{display:inline-flex;align-items:center;min-height:44px;color:var(--text);text-decoration:none}
.site-footer li a:hover{color:var(--gold)}
.footer-base{margin-top:var(--s4);padding-top:var(--s3);border-top:1px solid var(--line);font-size:1rem}
.footer-base p{margin:0;max-width:none}

/* Responsief */
@media (max-width:900px){
  .menu-btn{display:inline-flex;align-items:center}
  .site-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:0;padding:.5rem clamp(1.1rem,4vw,2rem) 1.2rem;background:var(--bg-deep);border-bottom:1px solid var(--line)}
  .site-nav.is-open{display:flex}
  .site-nav a{padding:.85rem 0;border-bottom:1px solid var(--line)}
  .site-nav a:last-child{border-bottom:0}
  .room-row,.split{grid-template-columns:1fr}
  .room-row:nth-child(even) .room-photo{order:0}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid > :first-child{grid-column:1/-1}
}
@media (max-width:560px){
  .wordmark{font-size:1.1rem}
  .wordmark svg{width:1.9rem;height:1.9rem}
  .header-tools .btn-small{padding:0 .9rem}
  .hero{min-height:auto;padding-top:clamp(9rem,40vw,14rem)}
  .actions .btn{flex:1 1 100%}
  .footer-grid{grid-template-columns:1fr}
  .room-photo img{box-shadow:8px 8px 0 var(--brand)}
  .split-photo img{box-shadow:-8px 8px 0 var(--gold)}
}
@media (max-width:400px){
  .wordmark svg{display:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
