/* ===== Thai Massage Flammersfeld — public design system =====
   ALL colors are tokens. Dark is the default; [data-theme="light"] overrides.
   Split accent: --accent (fills/borders/decor + text-on-dark),
                 --accent-ink (text/links; darkens to legible bronze on light). */
:root {
  /* dark theme (default) */
  --color-bg:      #15120B;
  --bg-strip:      #0D0B06;   /* darkest — info strip + footer */
  --surface:       #242219;   /* warm-charcoal content panel */
  --surface-2:     #302D27;   /* cards */
  --ink:           #F4EEDB;   /* primary text (cream) */
  --muted:         #BEB395;   /* secondary text */
  --line:          #413C33;   /* borders */
  --accent:        #E5B80B;   /* gold — fills/borders/decoration */
  --accent-hover:  #F5C921;
  --accent-ink:    #E5B80B;   /* gold as text — OK on dark (~8:1) */
  --on-accent:     #15120B;   /* text/icon on a gold fill */
  --danger:        #E86A5C;   /* error accent, legible on dark surfaces */
  --focus-ring:    var(--accent);   /* keyboard focus indicator — gold on dark (~10:1) */
  --slot-free:     #7BE09D;   /* "frei" text/border — green on its tint */
  --slot-free-bg:  #173222;
  --slot-booked:   #FF9C90;   /* "belegt" text/border — red on its tint */
  --slot-booked-bg:#3D1C17;

  --serif: "Fraunces","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --sans:  "Hanken Grotesk",ui-sans-serif,system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;

  --shadow-gold: 0 10px 26px -8px rgba(229,184,11,.55);
  --radius: 12px;
  --measure: 66ch;
}

:root[data-theme="light"] {
  /* light "Deluxe" theme — airy cream + white, gold fills, BRONZE text */
  --color-bg:      #FBF8F1;
  --bg-strip:      #F3EEE3;
  --surface:       #FFFFFF;
  --surface-2:     #FFFFFF;
  --ink:           #201B12;
  --muted:         #6B6152;
  --line:          #E4DCCB;
  --accent:        #E5B80B;   /* gold fill stays; dark ink sits on it */
  --accent-hover:  #C99F09;
  --accent-ink:    #7A5F07;   /* bronze — gold darkened for text on light (≈5.6:1 on --color-bg, real margin over 4.5) */
  --on-accent:     #201B12;
  --danger:        #B3261E;   /* error accent, legible on light surfaces */
  --slot-free:     #1B6E37;
  --slot-free-bg:  #E2F3E7;
  --slot-booked:   #A3241C;
  --slot-booked-bg:#FBE3DF;
  --focus-ring:    var(--accent-ink);   /* focus indicator: bronze, not raw gold — gold outline is only ~1.8:1 on light bg (fails 3:1); bronze is 5.7:1 */
  --shadow-gold:   0 10px 26px -10px rgba(160,120,10,.35);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; font-size: 106.25%; }   /* 17px base: a touch larger for older guests */
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { margin: 0; font-family: var(--serif); font-weight: 600; text-wrap: balance; color: var(--ink); }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
[x-cloak] { display: none !important; }   /* hide Alpine islands until initialized (no FOUC) */

/* layout primitives */
.wrap { max-width: 1120px; margin-inline: auto; }
.pad  { padding-inline: clamp(1.2rem, 4vw, 2.4rem); }
main  { display: block; }

/* buttons */
.btn { display: inline-block; font: inherit; font-weight: 600; cursor: pointer;
       border: 0; border-radius: 999px; transition: transform .16s, background .16s, color .16s; }
.btn-primary { background: var(--accent); color: var(--on-accent); padding: .85rem 1.7rem; box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); text-decoration: none; }
.btn-ghost { border: 1px solid var(--accent); color: var(--accent-ink); padding: .85rem 1.6rem; background: transparent; }
.btn-ghost:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); text-decoration: none; }

/* click-to-load Google Maps (2-Klick) on Kontakt */
.map-block { margin-top: 1.5rem; }
.map-block iframe { display: block; width: 100%; border-radius: var(--radius); }
.map-consent { background: var(--surface-2); border: 1px solid var(--line);
               border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.map-consent p { color: var(--muted); margin: 0 0 1rem; }

/* focus + motion */
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn-primary:hover { transform: none; }
}

/* self-hosted fonts (files land in Step 1; @font-face is harmless if a file is missing — stack falls back) */
@font-face { font-family:"Fraunces"; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/fraunces-400.woff2") format("woff2"); }
@font-face { font-family:"Fraunces"; font-style:normal; font-weight:600; font-display:swap; src:url("../fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/hanken-400.woff2") format("woff2"); }
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:600; font-display:swap; src:url("../fonts/hanken-600.woff2") format("woff2"); }
@font-face { font-family:"Hanken Grotesk"; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/hanken-700.woff2") format("woff2"); }

/* skip link */
.skip-link { position:absolute; left:.5rem; top:-3rem; background:var(--accent); color:var(--on-accent);
  padding:.5rem .9rem; border-radius:8px; z-index:40; transition:top .16s; }
.skip-link:focus { top:.5rem; text-decoration:none; }

/* nav */
.site-nav { display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding-block:1.05rem; border-bottom:1px solid var(--line); background:var(--color-bg); position:relative;
  z-index:30; /* the open mobile menu must paint above later positioned content (.hero, cards) */ }
.site-nav__brand { display:flex; align-items:center; gap:.55rem; font-family:var(--serif); font-size:1.14rem; font-weight:600; color:var(--ink); }
.site-nav__brand svg { width:54px; height:40px; flex:none; color:var(--accent); }
.site-nav__links { display:flex; align-items:center; gap:1.4rem; font-size:.9rem; }
.site-nav__link { color:var(--muted); }
.site-nav__link:hover, .site-nav__link.is-active { color:var(--accent-ink); text-decoration:none; }
.site-nav__link.is-active { font-weight:700; }
.site-nav__book { background:var(--accent); color:var(--on-accent); padding:.55rem 1.15rem; border-radius:999px; font-weight:700; }
.site-nav__book:hover { background:var(--accent-hover); text-decoration:none; }
.site-nav__toggle { display:none; }
.site-nav__burger { display:none; }
@media (max-width:720px){
  .site-nav__toggle { display:inline-block; position:absolute; width:1px; height:1px; overflow:hidden;
    clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
  .site-nav__toggle:focus-visible + .site-nav__burger { outline:2px solid var(--focus-ring); outline-offset:3px; border-radius:4px; }
  .site-nav__burger { display:inline-flex; flex-direction:column; gap:5px; width:30px; height:24px; justify-content:center; cursor:pointer;
    box-sizing:content-box; padding:10px 7px; margin:-10px -7px; } /* 44x44 tap target, same visual size */
  .site-nav__burger span, .site-nav__burger::before, .site-nav__burger::after {
    content:""; height:2px; background:var(--ink); border-radius:2px; display:block; }
  .site-nav__links { display:none; position:absolute; top:100%; left:0; right:0; flex-direction:column;
    align-items:flex-start; gap:.2rem; background:var(--color-bg); border-bottom:1px solid var(--line);
    padding:.6rem clamp(1.2rem,4vw,2.4rem) 1rem; }
  .site-nav__toggle:checked ~ .site-nav__links { display:flex; }
  .site-nav__link, .site-nav__book { padding-block:.6rem; }
  .site-nav__brand { gap:.45rem; }
  .site-nav__brand svg { width:38px; height:28px; }
}

/* footer */
.site-footer { background:var(--bg-strip); border-top:3px solid var(--accent); margin-top:3rem; }
.site-footer__in { display:flex; flex-wrap:wrap; gap:.5rem 1.2rem; justify-content:space-between;
  padding-block:1.5rem; font-size:.86rem; color:var(--muted); }
.site-footer a { color:var(--muted); }
.site-footer a:hover { color:var(--accent-ink); }
.site-footer__note { flex-basis:100%; margin:0; }

/* ===== shared atmosphere: grain, scroll reveal, eyebrow, arch frames ===== */
/* Fine film grain over every page: flat dark surfaces read warm and tactile. */
/* Normal blending on purpose: mix-blend-mode on a full-screen fixed layer forces the whole viewport to be
   re-blended on every animation frame, which made the hero animations stutter. */
body::after { content:""; position:fixed; inset:0; pointer-events:none; z-index:100; opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="light"] body::after { opacity:.035; }

/* Fade-up on scroll (site.js). Only hides content once JS has run (html.js), so no-JS and crawlers see everything. */
html.js .reveal { opacity:0; transform:translateY(22px); transition:opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay:var(--d,0s); }
html.js .reveal.is-in { opacity:1; transform:none; }

.eyebrow { font-size:.78rem; letter-spacing:.3em; text-transform:uppercase; color:var(--accent-ink); font-weight:700; }
.rule { position:relative; width:80px; margin:1.3rem 0; border-top:1px solid var(--accent); }
.rule::before { content:""; position:absolute; left:50%; top:-4px; transform:translateX(-50%) rotate(45deg);
  width:7px; height:7px; background:var(--accent); }
.btnrow { display:flex; gap:.9rem; flex-wrap:wrap; }

/* Arch-topped photo frame (temple doorway), with a thin offset gold outline. Empty slot = gold logo emblem. */
.arch-wrap { position:relative; }
.arch-wrap::before { content:""; position:absolute; inset:-14px 14px 14px -14px; border:1px solid var(--accent);
  border-radius:999px 999px 22px 22px; opacity:.55; pointer-events:none; }
.arch { position:relative; aspect-ratio:3/4; border-radius:999px 999px 18px 18px; overflow:hidden; background:var(--surface-2);
  box-shadow:0 30px 60px -25px rgb(0 0 0 / .8); }
.arch img { width:100%; height:100%; object-fit:cover; }
/* One-time entrance, then still. Endless slow drifts (1-3 px/s) get resampled every frame and visibly crawl. */
.arch--kenburns img { animation:settle 2.4s cubic-bezier(.16,.84,.3,1) .1s both; }
.arch__emblem { display:grid; place-items:center; width:100%; height:100%;
  background:radial-gradient(80% 60% at 50% 40%, color-mix(in srgb, var(--accent) 14%, var(--surface-2)), var(--surface)); }
.arch__emblem svg { width:58%; color:var(--accent); filter:drop-shadow(0 6px 18px rgb(0 0 0 / .5)); }

/* ===== homepage: hero (text left, framed photo right) ===== */
.hero { position:relative; overflow:hidden;
  background:radial-gradient(90% 120% at 85% 10%, color-mix(in srgb, var(--surface) 70%, var(--color-bg)), var(--color-bg) 65%); }
.hero__in { display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,5vw,4.5rem); align-items:center;
  padding-block:clamp(2.6rem,7vw,5.5rem); }
.hero__in > div:first-child { container-type:inline-size; }
/* Sized to the text column (13.5cqi keeps "Thai-Massage", ~6.9em wide, on one line even with a larger browser font). */
.hero h1 { font-size:min(4.4rem,13.5cqi); line-height:1.06; margin-top:.8rem; }
.hero h1 em { display:block; white-space:nowrap; font-style:italic; color:var(--accent-ink); }
.hero__lead { max-width:38ch; color:var(--muted); font-size:1.08rem; margin:0 0 1.9rem; }
.hero__media { position:relative; justify-self:center; width:min(100%,420px); }
.hero__bubble { position:absolute; left:-12%; bottom:12%; width:38%; aspect-ratio:1; border-radius:50%; overflow:hidden;
  border:4px solid var(--color-bg); box-shadow:0 18px 40px -16px rgb(0 0 0 / .9); animation:glide-in-left 1.1s cubic-bezier(.16,.84,.3,1) .6s both; }
.hero__bubble img { width:100%; height:100%; object-fit:cover; }
.hero__badge { position:absolute; right:-6%; top:16%; background:var(--surface-2); border:1px solid var(--line);
  border-left:3px solid var(--accent); border-radius:10px; padding:.6rem .9rem; font-size:.8rem; color:var(--muted); line-height:1.4;
  box-shadow:0 18px 40px -18px rgb(0 0 0 / .9); animation:glide-in-right 1.1s cubic-bezier(.16,.84,.3,1) .85s both; }
.hero__badge b { display:block; color:var(--ink); font-size:.92rem; font-variant-numeric:tabular-nums; }
.hero__dot { position:relative; display:inline-block; width:8px; height:8px; border-radius:50%; margin-right:.35rem; background:var(--muted); }
.hero__dot--open { background:var(--slot-free); }
.hero__dot--open::after { content:""; position:absolute; inset:0; border-radius:50%; background:var(--slot-free);
  animation:pulse 2.4s cubic-bezier(.2,.6,.4,1) infinite; will-change:transform, opacity; }
.hero__lotus { position:absolute; left:-60px; bottom:-40px; width:340px; color:var(--accent); opacity:.035; pointer-events:none; }
@media (max-width:820px) {
  .hero__in { grid-template-columns:1fr; text-align:center; }
  .hero__lead { margin-inline:auto; }
  .hero .btnrow { justify-content:center; }
  .hero .rule { margin-inline:auto; }
  .hero__media { width:min(78%,340px); margin-top:1rem; }
  .hero__badge { right:-10%; }
}

/* info strip: darkest band, icon per fact */
.info-strip { background:var(--bg-strip); border-block:1px solid var(--line); }
.info-strip__in { display:flex; flex-wrap:wrap; justify-content:center; gap:.6rem 2.6rem; padding:1rem clamp(1.2rem,4vw,2.4rem);
  font-size:.86rem; color:var(--muted); }
.info-strip__in > span { display:inline-flex; align-items:center; gap:.55rem; }
.info-strip b { color:var(--accent-ink); font-weight:700; }

/* line icons from _Icons.cshtml */
.ico-line { width:20px; height:20px; flex:none; fill:none; stroke:var(--accent); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.ico { flex:none; width:42px; height:42px; border-radius:50%; display:grid; place-items:center;
  background:color-mix(in srgb, var(--accent) 12%, transparent); border:1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.ico .ico-line { width:20px; height:20px; }

/* sections */
.sec { padding-block:clamp(3rem,7vw,5.5rem); }
.sec--surface { background:var(--surface); }
.section-head { display:flex; align-items:center; gap:.8rem; margin-bottom:1.8rem; }
.section-head::before { content:""; width:26px; height:4px; background:var(--accent); border-radius:2px; flex:none; }
.section-head h2 { font-size:clamp(1.6rem,3.4vw,2.1rem); color:var(--ink); }
.section-head__more { margin-left:auto; font-size:.84rem; color:var(--accent-ink); font-weight:600; white-space:nowrap; }
.services__eyebrow { margin-bottom:.7rem; }
.services__more { display:flex; justify-content:center; margin-top:2.2rem; }
.hero__more { display:inline-flex; align-items:center; padding:.85rem .4rem; font-weight:600; color:var(--accent-ink); }
@media (max-width:640px) { .hero .btnrow { flex-direction:column; align-items:center; gap:.3rem; } }
.services__empty { color:var(--muted); }
.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.1rem; }
.cards--3 { grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); }

.card { background:var(--surface-2); border:1px solid var(--line); border-top:3px solid var(--accent);
  border-radius:var(--radius); padding:1.3rem; display:flex; flex-direction:column; gap:.55rem; }
.card__name { font-family:var(--serif); font-size:1.2rem; color:var(--ink); }
.card__desc { font-size:.88rem; color:var(--muted); flex:1; }
.card__meta { display:flex; align-items:center; justify-content:space-between; padding-top:.7rem;
  border-top:1px solid var(--line); font-size:.86rem; }
.card__duration { color:var(--muted); }
.field-hint { color:var(--muted); font-size:.9rem; margin:-.3rem 0 0; }
/* separators live on the list/items, not the rows, so a row's hover highlight is symmetric around its text */
.card__prices { list-style:none; margin:0; padding:.35rem 0 0; border-top:1px solid var(--line); }
.card__prices li + li { border-top:1px dashed var(--line); margin-top:.2rem; padding-top:.2rem; }
.card__prices .card__meta { border-top:0; padding-block:.4rem; }
.card__price { background:var(--accent); color:var(--on-accent); font-weight:700; padding:.16rem .6rem;
  border-radius:7px; font-variant-numeric:tabular-nums; }

/* clickable cards: the name's ::after stretches over the whole card (books the treatment); each price row
   sits above it (z-index) and books that length. No nested anchors. */
.card--link { position:relative; transition:transform .18s, border-color .18s, box-shadow .18s; }
.card--link .card__link { color:var(--ink); text-decoration:none; }
.card--link .card__link::after { content:""; position:absolute; inset:0; border-radius:inherit; }
.card--link .card__link:focus-visible { outline:none; }
.card--link:has(.card__link:focus-visible) { outline:2px solid var(--focus-ring); outline-offset:3px; }
.card--link:hover, .card--link:focus-within { border-color:var(--accent); transform:translateY(-3px);
  box-shadow:0 14px 30px -18px color-mix(in srgb, var(--accent) 55%, transparent); }
.card--link:hover .card__link { color:var(--accent-ink); }
.card__meta--link { position:relative; z-index:1; color:inherit; text-decoration:none; border-radius:6px;
  margin-inline:-.4rem; padding-inline:.4rem; transition:background .16s; }
.card__meta--link:hover, .card__meta--link:focus-visible { background:color-mix(in srgb, var(--accent) 12%, transparent); text-decoration:none; }
.card__meta--link:hover .card__duration { color:var(--ink); }
.card__meta--link:hover .card__price { background:var(--accent-hover); }
.card__cta { font-size:.84rem; font-weight:600; color:var(--accent-ink); margin-top:.3rem; }
.card__arrow { display:inline-block; transition:transform .18s; }
.card--link:hover .card__arrow { transform:translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .card--link:hover, .card--link:focus-within, .card--link:hover .card__arrow { transform:none; }
}

/* card head: icon medallion with the name next to it */
.card__head { display:flex; align-items:center; gap:.85rem; margin-bottom:.15rem; }
.card__icon { flex:none; width:46px; height:46px; border-radius:50%; display:grid; place-items:center;
  background:color-mix(in srgb, var(--accent) 12%, transparent); border:1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.card__icon svg { width:24px; height:24px; fill:none; stroke:var(--accent); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.card__head .card__name { line-height:1.3; }

/* about / welcome */
.about__in { display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(2rem,6vw,5rem); align-items:center; }
.about__photo { max-width:360px; width:100%; justify-self:center; }
.about__photo.arch-wrap::before { inset:14px -14px -14px 14px; }
.about__photo .arch { aspect-ratio:4/5; }
.about__photo .arch img { object-position:50% 25%; }
.about h2 { font-size:clamp(1.8rem,4vw,2.6rem); line-height:1.15; margin:.7rem 0 0; }
.about h2 em { font-style:italic; color:var(--accent-ink); }
.about__body p { color:var(--muted); max-width:52ch; margin:0 0 1rem; }
.about__sig { font-family:var(--serif); font-style:italic; font-size:1.5rem; color:var(--accent-ink); margin-top:1.4rem; line-height:1.3; }
.about__role { display:block; font-family:var(--sans); font-style:normal; font-size:.8rem; color:var(--muted); letter-spacing:.06em; margin-top:.2rem; }
@media (max-width:820px) { .about__in { grid-template-columns:1fr; } .about__photo { max-width:300px; } }
.about__certs { margin-top:2rem; padding-top:1.4rem; border-top:1px solid var(--line); max-width:52ch; scroll-margin-top:6rem; }
.about__certs-title { font-family:var(--sans); font-size:.8rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--accent-ink); margin:0 0 .9rem; }
.certs { display:grid; grid-template-columns:repeat(3,1fr); gap:.8rem; }
.certs figure { margin:0; }
.certs .gallery__open { border:1px solid var(--line); border-radius:6px; background:var(--surface-2); transition:border-color .16s; }
.certs .gallery__open:hover, .certs .gallery__open:focus-visible { border-color:var(--accent); }
.certs img { display:block; width:100%; height:auto; aspect-ratio:7/5; object-fit:cover; transition:transform .3s ease; }
.certs .gallery__open:hover img, .certs .gallery__open:focus-visible img { transform:scale(1.04); }
.certs figcaption { margin-top:.45rem; font-size:.82rem; line-height:1.3; color:var(--ink); }
.certs figcaption span { display:block; color:var(--muted); font-size:.8rem; }
.about__certs-note { margin:.9rem 0 0; font-size:.8rem; color:var(--muted); }
@media (prefers-reduced-motion: reduce) { .certs .gallery__open:hover img, .certs .gallery__open:focus-visible img { transform:none; } }

/* gallery teaser: asymmetric mosaic */
.mosaic { display:grid; grid-template-columns:repeat(4,1fr); grid-auto-rows:clamp(120px,16vw,200px); gap:.8rem; }
.mosaic a { position:relative; overflow:hidden; border-radius:var(--radius); border:1px solid var(--line); }
.mosaic img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease, filter .5s; filter:saturate(.9) brightness(.92); }
.mosaic a:hover img, .mosaic a:focus-visible img { transform:scale(1.06); filter:none; }
.mosaic a::after { content:""; position:absolute; inset:0; border-radius:inherit; box-shadow:inset 0 0 0 0 var(--accent); transition:box-shadow .3s; }
.mosaic a:hover::after { box-shadow:inset 0 0 0 2px var(--accent); }
.mosaic__big { grid-column:span 2; grid-row:span 2; }
.mosaic__tall { grid-row:span 2; }
.mosaic__more { grid-column:span 2; display:grid; place-items:center; text-align:center; background:var(--surface-2);
  font-family:var(--serif); font-size:1.15rem; color:var(--ink); }
.mosaic__more span { display:block; font-family:var(--sans); font-size:.82rem; color:var(--accent-ink); font-weight:600; margin-top:.3rem; }
.mosaic a.mosaic__more:hover { text-decoration:none; }
@media (max-width:640px) { .mosaic { grid-template-columns:repeat(2,1fr); } .mosaic__tall { grid-row:span 1; } .mosaic__more { grid-column:span 1; } }

/* gift: real voucher photo, tilted */
.gift { display:grid; grid-template-columns:1.3fr .7fr; align-items:center; gap:2rem; position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--surface-2), var(--surface)); border:1px solid var(--line); border-left:5px solid var(--accent);
  border-radius:14px; padding:1.8rem 1.8rem 1.8rem 2rem; }
.gift h3 { font-size:1.5rem; color:var(--accent-ink); margin-bottom:.35rem; }
.gift p { color:var(--muted); margin:0 0 1.2rem; max-width:44ch; }
.gift .btn-primary { box-shadow:none; }
.gift__img { justify-self:end; width:100%; max-width:230px; aspect-ratio:1; border-radius:12px; overflow:hidden; transform:rotate(3deg);
  box-shadow:0 20px 40px -18px rgb(0 0 0 / .9); border:3px solid var(--color-bg); transition:transform .3s; }
.gift:hover .gift__img { transform:rotate(0deg) scale(1.03); }
.gift__img img { width:100%; height:100%; object-fit:cover; }
.gift__logo { justify-self:end; width:150px; color:var(--accent); opacity:.18; }
@media (max-width:640px) { .gift { grid-template-columns:1fr; } .gift__img { justify-self:start; max-width:180px; } .gift__logo { display:none; } }

/* closing call-to-action band (layout, opt-in per page) */
.cta { position:relative; overflow:hidden; text-align:center; padding-block:clamp(3.5rem,8vw,6rem); border-top:1px solid var(--line); }
.cta__bg { position:absolute; inset:0; }
.cta__bg img { width:100%; height:100%; object-fit:cover; object-position:50% 55%; }
.cta__bg::after { content:""; position:absolute; inset:0; background:linear-gradient(rgb(13 11 6 / .78), rgb(13 11 6 / .92)); }
.cta__in { position:relative; }
.cta h2 { font-size:clamp(2rem,5vw,3rem); color:#F4EEDB; }
.cta h2 em { font-style:italic; color:var(--accent); }
.cta p { color:#D8CFB5; margin:.8rem auto 1.8rem; max-width:40ch; }
.cta .btnrow { justify-content:center; }
.cta .btn-ghost { color:var(--accent); }
.btn__ico { width:18px; height:18px; vertical-align:-3px; margin-right:.45rem; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.site-footer { margin-top:0; }

/* ===== shared subpage header (_PageHeader) ===== */
.phead { position:relative; overflow:hidden; border-bottom:1px solid var(--line);
  background:radial-gradient(90% 140% at 85% 0%, color-mix(in srgb, var(--surface) 70%, var(--color-bg)), var(--color-bg) 65%); }
.phead__in { display:grid; grid-template-columns:1fr auto; gap:clamp(1.5rem,5vw,4rem); align-items:center; padding-block:clamp(2.2rem,5vw,3.8rem); }
.phead h1 { font-size:clamp(2rem,4.6vw,3.2rem); line-height:1.1; margin-top:.6rem; }
.phead h1 em { font-style:italic; color:var(--accent-ink); }
.phead__lead { color:var(--muted); max-width:50ch; margin:0; font-size:1.04rem; }
.phead .rule { margin:1.1rem 0; }
.phead__media { width:clamp(180px,22vw,250px); margin-right:14px; }
.phead__media.arch-wrap::before { inset:-12px 12px 12px -12px; }
.phead__media .arch { aspect-ratio:4/5; }
.phead__lotus { position:absolute; left:38%; bottom:-60px; width:280px; color:var(--accent); opacity:.035; pointer-events:none; }
@media (max-width:640px) {
  .phead__in { grid-template-columns:1fr 84px; align-items:start; gap:1rem; }
  .phead__media { width:84px; margin:0; }
  .phead__media .arch { aspect-ratio:1; border-radius:50%; }
  .phead__media.arch-wrap::before { display:none; }
}
.page-body { padding-block:clamp(2rem,5vw,3.4rem); }

/* Leistungen: facts row */
.facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; margin-top:1.2rem; }
@media (max-width:720px) { .facts { grid-template-columns:minmax(0,1fr); } }
.fact { display:flex; gap:.85rem; align-items:flex-start; padding:1.1rem 1.2rem; background:var(--surface-2); border:1px solid var(--line); border-radius:var(--radius); }
.fact b { display:block; color:var(--ink); font-weight:600; }
.fact b + span { display:block; font-size:.9rem; line-height:1.5; color:var(--muted); margin-top:.15rem; }
.fact__link { display:inline-block; margin-top:.45rem; font-size:.9rem; font-weight:600; color:var(--accent-ink); }
.fact--wide { grid-column:1 / -1; }
.facts-head { margin:3rem 0 0; }

/* ===== generic prose-page scaffold (Leistungen, and reused by later pages) ===== */
.page { max-width: var(--measure); margin-inline:auto; padding-block: clamp(2rem,5vw,3rem); }
.page--wide { max-width: 1120px; }
.page__head h1 { font-size: clamp(1.9rem,4vw,2.6rem); }
.page__head { margin-bottom: 1.6rem; }
.page__lead { color: var(--muted); }
.muted-note { color: var(--muted); }
.price-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.1rem; }

/* ===== booking islands (Buchen + Manage) ===== */
.booking, .booking__steps { display:grid; gap:1.1rem; }
.booking { max-width:640px; }
.field { display:flex; flex-direction:column; gap:.35rem; font-size:.9rem; color:var(--muted); }
.field input, .field select {
  font:inherit; color:var(--ink); background:var(--surface-2); border:1px solid var(--line);
  border-radius:8px; padding:.6rem .75rem; }
.field input:focus, .field select:focus { border-color:var(--accent); }
/* "Personen": 1 or 2 (Massage zu zweit) as two pill-shaped radios */
.persons { border:0; margin:0; padding:0; min-width:0; }
.persons legend { padding:0; margin-bottom:.35rem; }
.persons__opts { display:flex; flex-wrap:wrap; gap:.5rem; }
.persons__opt { display:inline-flex; align-items:center; gap:.5rem; cursor:pointer; color:var(--ink); font-size:.95rem;
  background:var(--surface-2); border:1px solid var(--line); border-radius:999px; padding:.55rem 1rem; min-height:44px; }
.persons__opt:hover { border-color:var(--accent); }
.persons__opt small { color:var(--muted); }
.field .persons__opt input { width:1.1rem; height:1.1rem; min-height:0; padding:0; margin:0; border:0; background:none; accent-color:var(--accent); }
.persons__opt:has(input:checked) { border-color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent); }
.persons__opt:has(input:focus-visible) { outline:2px solid var(--focus-ring); outline-offset:2px; }
.persons .field-hint { margin:.45rem 0 0; }
.slots { display:flex; flex-wrap:wrap; gap:.5rem; margin:.3rem 0 .5rem; }
.slot { font:inherit; cursor:pointer; background:var(--surface-2); color:var(--ink);
  border:1px solid var(--line); border-radius:8px; padding:.5rem .8rem; font-variant-numeric:tabular-nums; }
.slot:hover { border-color:var(--accent); }
/* half-hour occupancy grid */
.slot-grid { display:grid; gap:.35rem; margin:.4rem 0 .8rem; }
.slot-grid__legend { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem; color:var(--muted); font-size:.9rem; margin:0 0 .3rem; }
.slot-row { font:inherit; display:flex; align-items:center; gap:.6rem; width:100%; text-align:left; cursor:pointer;
  background:var(--surface-2); color:var(--ink); border:1px solid var(--line); border-radius:10px; padding:.4rem .7rem; }
.slot-row:hover:not(:disabled) { border-color:var(--accent); }
.slot-row:disabled { cursor:not-allowed; }
.slot-row:disabled .slot-row__time { color:var(--muted); }
.slot-row.is-past { opacity:.55; }
.slot-row.is-covered { border-color:var(--accent); box-shadow:inset 4px 0 0 var(--accent); }
.slot-row[aria-pressed="true"] .slot-row__time { color:var(--accent-ink); }
.slot-row__time { font-weight:700; font-variant-numeric:tabular-nums; min-width:3.2rem; }
/* /booking/manage: the appointment being moved; its own places show as free */
.slot-row.is-current { border-style:dashed; }
.slot-row__now { order:3; margin-left:auto; font-size:.75rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--accent-ink); }
.slot-row__places { display:flex; gap:.4rem; }
.place { display:inline-flex; align-items:center; gap:.25rem; font-size:.82rem; font-weight:600; line-height:1;
  padding:.28rem .55rem; border-radius:999px; border:1px solid currentColor; }
.place--free { color:var(--slot-free); background:var(--slot-free-bg); }
.place--free::before { content:"✓"; }
.place--booked { color:var(--slot-booked); background:var(--slot-booked-bg); }
.place--booked::before { content:"✕"; }
.slot[aria-pressed="true"] { background:var(--accent); color:var(--on-accent); border-color:var(--accent); font-weight:700; }
.booking__form { display:grid; gap:1rem; margin-top:.6rem; padding-top:1.2rem; border-top:1px solid var(--line); }
.price-preview { font-size:1.05rem; color:var(--ink); }
.price-preview del { margin-left:.5rem; opacity:.6; }
.form-actions { display:flex; gap:.8rem; align-items:center; }
/* big result panel: /buchen after submit, /booking/confirm */
.result-panel { position:relative; overflow:hidden; background:linear-gradient(160deg, var(--surface-2), var(--surface));
  border:1px solid var(--line); border-top:4px solid var(--accent); border-radius:14px;
  padding:clamp(1.5rem,5vw,2.4rem); max-width:640px; outline:none; scroll-margin-top:5rem;
  animation:result-in .35s ease-out; }
.result-panel--error { border-top-color:var(--danger); }
.result-panel__icon { width:56px; height:56px; fill:none; stroke:var(--accent); stroke-width:3;
  stroke-linecap:round; stroke-linejoin:round; margin-bottom:.8rem; }
.result-panel--error .result-panel__icon { stroke:var(--danger); }
.result-panel__title { font-size:clamp(1.6rem,4.5vw,2.2rem); line-height:1.15; color:var(--ink); margin-bottom:.7rem; }
.result-panel__lead { font-size:1.08rem; color:var(--ink); margin:0 0 1rem; }
.result-panel__summary { padding:.9rem 1rem; background:color-mix(in srgb, var(--accent) 7%, transparent);
  border-radius:10px; }
.result-panel__warn { color:var(--muted); font-size:.93rem; margin:1.1rem 0 0; }
.result-panel__actions { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.4rem; }
.result-steps { list-style:none; margin:1.2rem 0 0; padding:0; display:grid; gap:.7rem; }
.result-steps li { display:flex; align-items:center; gap:.8rem; color:var(--ink); }
.result-steps__n { flex:none; display:grid; place-items:center; width:2rem; height:2rem; border-radius:50%;
  background:var(--accent); color:var(--on-accent); font-weight:700; }
@keyframes result-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

/* Manage page status/detail */
.manage-section { margin-top:1.6rem; padding-top:1.4rem; border-top:1px solid var(--line); max-width:640px; }
.manage-section h2 { font-size:1.2rem; margin-bottom:.7rem; }
.notice { border:1px solid var(--line); border-left:4px solid var(--accent); background:var(--surface-2);
  border-radius:8px; padding:.7rem .9rem; margin-bottom:1rem; }
.notice--error { border-left-color:var(--danger); }
.detail-list { display:grid; grid-template-columns:auto 1fr; gap:.3rem 1rem; margin:1rem 0; }
.detail-list dt { color:var(--muted); }
.detail-list dd { margin:0; color:var(--ink); }

/* ===== Galerie + Kontakt (Task 6) ===== */
.gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1rem; }
.gallery figure { margin:0; background:var(--surface-2); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; transition:border-color .16s; }
.gallery figure:hover, .gallery figure:focus-within { border-color:var(--accent); }
.gallery__open { display:block; width:100%; padding:0; border:0; background:none; cursor:zoom-in; overflow:hidden; }
.gallery img { display:block; width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .3s ease; }
.gallery figure:hover img, .gallery__open:focus-visible img { transform:scale(1.04); }
.gallery__open:focus-visible { outline-offset:-3px; }

/* lightbox (native <dialog>, gallery.js) */
.lightbox { padding:0; border:0; background:transparent; max-width:100vw; max-height:100vh; width:100vw; height:100vh;
  color:var(--ink); overflow:hidden; }
.lightbox::backdrop { background:rgb(0 0 0 / .88); }
.lightbox__stage { position:relative; width:100%; height:100%; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:.8rem; padding:3.5rem 4.5rem 1.5rem; box-sizing:border-box; }
.lightbox__img { max-width:100%; max-height:calc(100vh - 8rem); object-fit:contain; border-radius:8px;
  box-shadow:0 20px 60px rgb(0 0 0 / .6); }
.lightbox__meta { display:flex; gap:1rem; align-items:baseline; color:#d8d2c4; font-size:.9rem; text-align:center; }
.lightbox__count { color:#9a9384; font-variant-numeric:tabular-nums; }
.lightbox__btn { position:absolute; display:grid; place-items:center; width:3rem; height:3rem; border-radius:50%;
  border:1px solid rgb(255 255 255 / .25); background:rgb(20 18 14 / .6); color:#fff; font-size:1.5rem;
  line-height:1; cursor:pointer; transition:background .16s, border-color .16s; }
.lightbox__btn:hover { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.lightbox__btn[hidden] { display:none; }
.lightbox__close { top:1rem; right:1rem; }
.lightbox__prev { left:1rem; top:50%; transform:translateY(-50%); }
.lightbox__next { right:1rem; top:50%; transform:translateY(-50%); }
@media (max-width:640px) {
  .lightbox__stage { padding:3.5rem .5rem 1rem; }
  .lightbox__prev, .lightbox__next { top:auto; bottom:1rem; transform:none; }
  .lightbox__img { max-height:calc(100vh - 10rem); }
}
html.is-locked { overflow:hidden; }
@media (prefers-reduced-motion: reduce) { .gallery figure:hover img, .gallery__open:focus-visible img { transform:none; } }
.gallery figure { position:relative; }
/* caption overlays the photo's bottom edge, so every tile is the same size and uncaptioned ones get no empty bar */
.gallery figcaption { position:absolute; inset:auto 0 0 0; padding:1.6rem .8rem .6rem; font-size:.85rem; color:#f3eee4;
  background:linear-gradient(to top, rgb(0 0 0 / .72), transparent); pointer-events:none; }
/* video tiles (gallery + homepage mosaic): poster frame with a gold play badge */
.play-badge { position:absolute; left:50%; top:50%; translate:-50% -50%; display:grid; place-items:center;
  width:3.4rem; height:3.4rem; border-radius:50%; background:rgb(14 12 9 / .58); border:2px solid var(--accent);
  box-shadow:0 6px 20px rgb(0 0 0 / .35); pointer-events:none; transition:background .2s, scale .2s; }
.play-badge svg { width:1.5rem; height:1.5rem; fill:#fff; margin-left:.2rem; }
.gallery__open { position:relative; }
.gallery__open--video { cursor:pointer; }
.gallery figure:hover .play-badge, .gallery__open:focus-visible .play-badge, .mosaic a:hover .play-badge { background:var(--accent); scale:1.08; }
.gallery figure:hover .play-badge svg, .gallery__open:focus-visible .play-badge svg, .mosaic a:hover .play-badge svg { fill:var(--on-accent); }
.mosaic .play-badge { z-index:1; }
.lightbox__video { max-width:100%; max-height:calc(100vh - 8rem); border-radius:8px; background:#000;
  box-shadow:0 20px 60px rgb(0 0 0 / .6); }
@media (max-width:640px) { .lightbox__video { max-height:calc(100vh - 10rem); } }
@media (prefers-reduced-motion: reduce) { .play-badge { transition:none; } .gallery figure:hover .play-badge, .mosaic a:hover .play-badge { scale:1; } }
.empty-state { text-align:center; padding:clamp(2.5rem,6vw,4rem); border:1px dashed var(--line);
  border-radius:var(--radius); background:var(--surface); }
.empty-state svg { width:72px; height:53px; color:var(--accent); opacity:.5; }
.empty-state h2 { margin:.8rem 0 .3rem; }
.empty-state p { color:var(--muted); margin:0; }
.contact-page { max-width:960px; margin-inline:auto; }
.contact { display:grid; grid-template-columns:minmax(280px,1fr) 1.2fr; gap:clamp(1.4rem,4vw,3rem); align-items:start; }
@media (max-width:640px){ .contact { grid-template-columns:1fr; } }
.contact address { font-style:normal; color:var(--ink); line-height:1.7; }
.contact .btn { white-space:nowrap; }
.contact .hours-table th { white-space:nowrap; width:1%; padding-right:1.6rem; }
.contact-page .map-block { margin-top:2.2rem; }
@media (min-width:900px) { .contact-page .map-block iframe { height:420px; } }
.hours-table { width:100%; border-collapse:collapse; }
.hours-table th { text-align:left; font-weight:600; color:var(--ink); padding:.35rem .8rem .35rem 0; }
.hours-table td { color:var(--muted); padding:.35rem 0; font-variant-numeric:tabular-nums; }

/* ===== Prose + status pages (Task 7) ===== */
.prose h1 { font-size:clamp(1.9rem,4vw,2.6rem); margin-bottom:1rem; }
.prose h2 { font-size:1.15rem; margin:2rem 0 .5rem; color:var(--accent-ink); }
.prose p { margin:0 0 1rem; }
.prose a { color:var(--accent-ink); }
.prose address { font-style:normal; color:var(--ink); }
.prose strong { color:var(--ink); }

/* ===== redesign: Galerie masonry, Kontakt, Buchen ===== */
/* Galerie: CSS columns keep portrait/landscape shapes (order runs down each column). */
.gallery { display:block; columns:3 250px; column-gap:1rem; }
.gallery figure { break-inside:avoid; margin:0 0 1rem; }
.gallery img { aspect-ratio:auto; }

/* Kontakt */
.kontakt { display:grid; grid-template-columns:1fr 1fr; gap:1.4rem; align-items:start; }
@media (max-width:760px) { .kontakt { grid-template-columns:1fr; } }
.panel { position:relative; background:var(--surface-2); border:1px solid var(--line); border-top:3px solid var(--accent);
  border-radius:var(--radius); padding:1.5rem 1.6rem; min-width:0; }
.panel h2 { font-size:1.35rem; margin-bottom:.8rem; }
.kline { display:flex; gap:.9rem; align-items:center; padding:.8rem 0; border-bottom:1px dashed var(--line); }
.kline:last-of-type { border-bottom:0; }
.kline small { display:block; color:var(--muted); font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; }
.kline address { font-style:normal; }
.kline a, .kline b, .kline address { color:var(--ink); font-weight:600; }
.panel .btnrow { margin-top:1.1rem; }
.kontakt .hours-table th { white-space:nowrap; width:1%; padding-right:1.6rem; }
.kontakt-map { margin-top:1.6rem; }
.hours-table tr.is-today th, .hours-table tr.is-today td { background:color-mix(in srgb, var(--accent) 11%, transparent); }
.hours-table tr.is-today th { box-shadow:inset 3px 0 0 var(--accent); border-radius:8px 0 0 8px; padding-left:.6rem; color:var(--accent-ink); }
.hours-table tr.is-today td { border-radius:0 8px 8px 0; color:var(--ink); }
.hours-table th, .hours-table td { padding-block:.5rem; }
.pill { display:inline-block; margin-left:.5rem; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  background:var(--accent); color:var(--on-accent); padding:.1rem .5rem; border-radius:999px; vertical-align:middle; }
.map-consent { position:relative; overflow:hidden; padding:clamp(2.2rem,6vw,3.6rem) 1.5rem;
  background:repeating-linear-gradient(115deg, transparent 0 46px, color-mix(in srgb, var(--accent) 7%, transparent) 46px 48px),
    repeating-linear-gradient(25deg, transparent 0 70px, color-mix(in srgb, var(--accent) 5%, transparent) 70px 73px), var(--surface); }
.map-consent p { max-width:52ch; margin-inline:auto; font-size:.92rem; }
.map-consent__pin { width:46px; height:46px; margin:0 auto .9rem; display:grid; place-items:center; border-radius:50%; background:var(--accent);
  animation:pinpulse 2.4s infinite; }
.map-consent__pin svg { width:22px; height:22px; fill:none; stroke:var(--on-accent); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }

/* Buchen: form + summary aside */
.buchen { display:grid; grid-template-columns:minmax(0,640px) minmax(0,1fr); gap:clamp(1.5rem,4vw,3rem); align-items:start; }
.buchen > * { min-width:0; }
@media (max-width:899.98px) { .buchen { grid-template-columns:minmax(0,1fr); } }
.booking-aside { display:grid; gap:1rem; position:sticky; top:1rem; }
.booking-aside .panel { padding:1.3rem 1.4rem; }
.booking-aside h2 { font-size:1.1rem; margin-bottom:.6rem; }
.booking-aside .fact { background:none; border:0; padding:.55rem 0; }
.booking-aside .fact a { color:var(--accent-ink); }
.sum { display:grid; grid-template-columns:auto minmax(0,1fr); gap:.25rem 1rem; margin:0; font-size:.9rem; }
.sum dt { color:var(--muted); }
.sum dd { margin:0; color:var(--ink); overflow-wrap:anywhere; }
.sum__price { display:flex; justify-content:space-between; align-items:center; margin-top:.9rem; padding-top:.9rem; border-top:1px solid var(--line); color:var(--muted); }
.sum__empty { color:var(--muted); font-size:.9rem; margin:0; }
@media (max-width:899.98px) { .booking-aside { position:static; } }

/* step indicator */
.steps { list-style:none; display:flex; margin:0 0 1.6rem; padding:0; }
.steps li { flex:1; display:flex; align-items:center; gap:.55rem; font-size:.86rem; color:var(--muted); min-width:0; }
.steps li:last-child { flex:none; }
.steps__n { flex:none; display:grid; place-items:center; width:2rem; height:2rem; border-radius:50%; border:1px solid var(--line);
  background:var(--surface-2); font-weight:700; color:var(--muted); }
.steps li:not(:last-child)::after { content:""; flex:1; min-width:.8rem; height:1px; background:var(--line); margin-right:.55rem; }
.steps li.is-done .steps__n { background:var(--accent); border-color:var(--accent); color:var(--on-accent); }
.steps li.is-done:not(:last-child)::after { background:var(--accent); }
.steps li.is-current { color:var(--ink); font-weight:600; }
.steps li.is-current .steps__n { border-color:var(--accent); color:var(--accent-ink); box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
@media (max-width:519.98px) { .steps li:not(.is-current) .steps__label { display:none; } }

/* ===== mobile hardening for the booking flow (Buchen, Manage, Confirm) ===== */
.booking, .booking__steps, .booking__form, .slot-grid { min-width:0; }
.booking__form { scroll-margin-top:1rem; }
.field select, .field input { width:100%; max-width:100%; min-width:0; font-size:max(16px,1rem); min-height:44px; }   /* 16px: no iOS focus zoom */
.slot-row { min-height:44px; flex-wrap:wrap; }
.slot-row__places { flex-wrap:wrap; }
.slot-grid__legend { font-size:.86rem; }
.cf-turnstile { max-width:100%; overflow:hidden; }
.flatpickr-calendar { max-width:calc(100vw - 2rem); }
.result-panel, .detail-list dd, .result-steps li { overflow-wrap:anywhere; }
.detail-list { grid-template-columns:auto minmax(0,1fr); }
@media (max-width:519.98px) {
  .result-panel__actions .btn, .booking__form .btn-primary, .manage-section .btn { width:100%; text-align:center; }
  .form-actions { flex-wrap:wrap; }
  .slot-grid__legend { gap:.35rem .5rem; }
}
@media (max-width:379.98px) {
  .site-nav__brand { font-size:1rem; }
  .site-nav__brand svg { width:32px; height:24px; }
}

/* ===== metallic gold (dark theme): shadow / base / highlight stops ===== */
:root { --m-dark:#8C6A06; --m-mid:#E5B80B; --m-light:#F8D862; --m-hi:#FFF4C2;
  --metal:linear-gradient(115deg, var(--m-dark) 0%, var(--m-mid) 18%, var(--m-light) 32%, var(--m-hi) 40%, var(--m-light) 48%, var(--m-mid) 62%, var(--m-dark) 82%, var(--m-mid) 100%); }
/* Big gold words: gradient clipped to the glyphs + a slow light sweep. inline-block + padding makes the painted box
   cover italic overhang and descenders (otherwise the "g" of "Thai-Massage" gets cut off); the negative margin
   keeps the layout unchanged. */
:root:not([data-theme="light"]) .metal {
  display:inline-block; padding:0 .14em .16em 0; margin:0 -.14em -.16em 0;
  background:var(--metal); background-size:250% 100%; -webkit-background-clip:text; background-clip:text;
  color:transparent; -webkit-text-fill-color:transparent;
  filter:drop-shadow(0 1px 0 rgb(0 0 0 / .45)); animation:sheen 9s ease-in-out infinite; }
.hero h1 em.metal { display:block; width:fit-content; }
@media (max-width:820px) { .hero h1 em.metal { margin-inline:auto; } }
/* fills: metal + bevel (top highlight, bottom shade) */
:root:not([data-theme="light"]) :is(.btn-primary, .site-nav__book, .card__price, .pill, .map-consent__pin, .steps li.is-done .steps__n, .result-steps__n) {
  background:var(--metal); background-size:220% 100%; background-position:30% 50%;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .55), inset 0 -1px 0 rgb(0 0 0 / .28), 0 8px 22px -10px color-mix(in srgb, var(--m-mid) 70%, transparent);
  transition:background-position .6s ease, transform .16s; }
:root:not([data-theme="light"]) :is(.btn-primary, .site-nav__book):hover { background-position:85% 50%; }
:root:not([data-theme="light"]) :is(.btn-primary, .site-nav__book) { text-shadow:0 1px 0 rgb(255 255 255 / .35); }
:root:not([data-theme="light"]) .gift .btn-primary { box-shadow:inset 0 1px 0 rgb(255 255 255 / .55), inset 0 -1px 0 rgb(0 0 0 / .28); }
/* hairlines + edges */
:root:not([data-theme="light"]) .rule { border-top:0; height:1px; background:linear-gradient(90deg, transparent, var(--m-mid) 20%, var(--m-hi) 50%, var(--m-mid) 80%, transparent); }
:root:not([data-theme="light"]) .rule::before { background:var(--metal); background-size:300% 300%; box-shadow:0 0 6px color-mix(in srgb, var(--m-light) 60%, transparent); }
:root:not([data-theme="light"]) .section-head::before { background:var(--metal); background-size:300% 100%; }
:root:not([data-theme="light"]) :is(.card, .panel) { border-top-color:transparent; }
:root:not([data-theme="light"]) :is(.card, .panel)::before { content:""; position:absolute; left:-1px; right:-1px; top:-3px; height:3px;
  border-radius:var(--radius) var(--radius) 0 0; background:var(--metal); background-size:200% 100%; pointer-events:none; }
:root:not([data-theme="light"]) .card { position:relative; }
:root:not([data-theme="light"]) .gift { border-left-color:transparent; }
:root:not([data-theme="light"]) .gift::before { content:""; position:absolute; left:-5px; top:-1px; bottom:-1px; width:5px;
  border-radius:14px 0 0 14px; background:var(--metal); background-size:100% 200%; }
:root:not([data-theme="light"]) .site-footer { border-image:linear-gradient(90deg, var(--m-dark), var(--m-mid) 25%, var(--m-hi) 50%, var(--m-mid) 75%, var(--m-dark)) 1; }
:root:not([data-theme="light"]) :is(.card__icon svg, .ico-line) { stroke:url(#metal-icon); }
:root:not([data-theme="light"]) { --logo-fill:url(#metal-logo); }
:root:not([data-theme="light"]) :is(.arch-wrap)::before { border-color:var(--m-light); opacity:.7; }

/* FAQ page, location/parking notes, Google reviews link (SEO content) */
.faq-wrap { display:grid; gap:2.4rem; max-width:820px; }
.faq-group__title { font-size:clamp(1.3rem,2.6vw,1.6rem); margin-bottom:.8rem; display:flex; align-items:center; gap:.7rem; }
.faq-group__title::before { content:""; width:22px; height:3px; background:var(--accent); border-radius:2px; flex:none; }
.faq { border-bottom:1px solid var(--line); }
.faq-group__title + .faq { border-top:1px solid var(--line); }
.faq summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:1rem;
  padding:1.05rem .2rem; font-weight:600; color:var(--ink); }
.faq summary::-webkit-details-marker { display:none; }
/* The plus is drawn from two bars instead of a "+" glyph, whose font metrics sit it off-centre in the circle. */
.faq summary::after { content:""; flex:none; box-sizing:border-box; width:1.9rem; height:1.9rem; border-radius:50%; border:1px solid var(--line);
  color:var(--accent-ink);
  background:linear-gradient(currentColor,currentColor) center/11px 1.5px no-repeat,
             linear-gradient(currentColor,currentColor) center/1.5px 11px no-repeat;
  transition:transform .2s, border-color .2s; }
.faq[open] summary::after { transform:rotate(45deg); border-color:var(--accent); }
.faq summary:hover { color:var(--accent-ink); }
.faq summary:focus-visible { outline:2px solid var(--focus-ring); outline-offset:3px; border-radius:6px; }
.faq__a { padding:0 .2rem 1.2rem; }
.faq__a p { margin:0; color:var(--muted); max-width:64ch; line-height:1.7; }
.faq__a .faq__link { margin-top:.5rem; font-weight:600; }
.faq__link a { color:var(--accent-ink); }
.facts-more { margin:1.2rem 0 0; font-weight:600; }
.kline__note { display:block; color:var(--muted); font-size:.9rem; margin-top:.2rem; }
.hero__place { display:block; font-family:var(--sans); font-size:clamp(1rem,1.9vw,1.25rem); font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:var(--muted); margin-top:.9rem; }
.profile-links { display:flex; flex-direction:column; align-items:flex-start; gap:.55rem; margin-top:1.4rem; }
.profile-link { display:inline-flex; align-items:center; gap:.5rem; font-size:.92rem; font-weight:600; }
.profile-link__ico { width:18px; height:18px; flex:none; fill:var(--accent); }
@media (max-width:820px) { .hero .profile-links { align-items:center; } }
.kline__note + .kline__note { margin-top:.45rem; }
.kline__note--sub b { display:block; font-size:.95rem; margin-bottom:.05rem; }
.kline__note--sub + .kline__note--sub { margin-top:.7rem; }
.kline:has(+ .kontakt-links) { border-bottom:0; }
.kline__tel { display:flex; flex-wrap:wrap; gap:.15rem 1.2rem; }
.kline__kind { margin-left:.35rem; color:var(--muted); font-size:.85rem; font-weight:400; }
.kontakt-links { display:flex; flex-direction:column; align-items:flex-start; gap:.55rem; margin-top:1rem; padding-top:1.1rem; border-top:1px solid var(--line); }
.kontakt-links .profile-links { display:contents; }
.profile-link__ico--line { fill:none; stroke:var(--accent); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.site-footer nav { display:flex; gap:.4rem 1.6rem; flex-wrap:wrap; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition:none; } }

@keyframes settle { from { transform:scale(1.09); } to { transform:none; } }
@keyframes glide-in-left { from { opacity:0; transform:translate3d(-18px,14px,0) scale(.92); } to { opacity:1; transform:none; } }
@keyframes glide-in-right { from { opacity:0; transform:translate3d(18px,-10px,0); } to { opacity:1; transform:none; } }
@keyframes pulse { 0% { transform:scale(1); opacity:.6; } 80%,100% { transform:scale(3); opacity:0; } }
@keyframes pinpulse { 0% { box-shadow:0 0 0 0 rgb(229 184 11 / .5); } 70% { box-shadow:0 0 0 16px rgb(229 184 11 / 0); } 100% { box-shadow:0 0 0 0 rgb(229 184 11 / 0); } }
@keyframes sheen { 0%,100% { background-position:0% 50%; } 50% { background-position:100% 50%; } }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity:1; transform:none; }
  .mosaic a:hover img, .gift:hover .gift__img { transform:none; }
}
@media (max-width:899.98px) { .booking-aside__summary { display:none; } }   /* phones: the form already shows the price */
