/* Wandi Thai-Massage-Studio */

@font-face {
  font-family: "Philosopher";
  src: url("../fonts/philosopher-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Philosopher";
  src: url("../fonts/philosopher-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Philosopher";
  src: url("../fonts/philosopher-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish.woff2") format("woff2");
  font-weight: 200 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Mulish";
  src: url("../fonts/mulish-italic.woff2") format("woff2");
  font-weight: 200 1000; font-style: italic; font-display: swap;
}

:root {
  --surface: #FDFBF7;
  --surface-alt: #F7F1E7;
  --paper: #FFFFFF;
  --ink: #2A221D;
  --muted: #5F554D;
  --soft: #8A7E73;
  --line: #E8DDCB;
  --gold: #C2913F;
  --gold-light: #E3C48C;
  --gold-dark: #9A6C28;
  --bronze: #6E4A24;
  --dark: #1F1712;

  --serif: "Philosopher", Georgia, serif;
  --sans: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --wrap: 1240px;
  --shadow: 0 18px 40px -24px rgba(60, 40, 20, .35);
  --card-shadow: 0 0 0 1px rgba(232,221,203,.6), 0 18px 40px -24px rgba(60, 40, 20, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 110%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--bronze); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(1.8rem, 3.74vw, 2.55rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1em 2.1em;
  border-radius: 8px;
  font: 600 .78rem/1.2 var(--sans);
  letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s;
  cursor: pointer;
}
.btn-gold { background: var(--gold); border-color: var(--gold-dark); color: #2A1B0C; }
.btn-gold:hover { background: var(--gold-light); color: #2A1B0C; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--gold); color: var(--gold-dark); }
.btn-outline:hover { background: var(--gold); color: #2A1B0C; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }

/* Typo-Elemente */
.eyebrow {
  font: 600 .74rem/1.4 var(--sans);
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 1.1em;
}
.eyebrow-group { display: inline-flex; flex-direction: column; align-items: center; }
.eyebrow-icon { height: 56px; width: 84px; object-fit: contain; margin-bottom: 14px; opacity: .9; }
.eyebrow-group-left { align-items: flex-start; }
.eyebrow-group-left .eyebrow-icon { object-position: left center; }
.eyebrow-icon-small { height: 46px; width: 70px; }
.eyebrow-icon-large { height: 72px; width: 100px; }
.rule { display: block; width: 44px; height: 1px; margin: 4px 0 22px; background: linear-gradient(90deg, var(--gold), transparent); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 6px 0 22px; font-size: .8rem; }
.ornament::before, .ornament::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .8; }
.ornament-light { color: var(--gold-light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 251, 247, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.brand-logo { display: block; width: 6.85rem; height: auto; transition: opacity .2s; }
.brand-sub { font-family: var(--serif); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.brand:hover .brand-logo { opacity: .75; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a, .brand-sub, .btn { white-space: nowrap; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--gold-dark); }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(31,23,18,.3) 0%, rgba(31,23,18,.55) 70%),
    linear-gradient(180deg, rgba(31,23,18,.15), rgba(31,23,18,.35));
}
.hero-content { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 90px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin: 0 0 18px; color: #fff; font-weight: 400; }
.hero-logo { display: block; width: calc(clamp(12rem, 39.8vw, 22.5rem) - 30px); height: auto; margin: 0 auto; filter: drop-shadow(0 2px 24px rgba(0,0,0,.35)); }
.hero-sub { display: block; margin-top: 28px; font-size: clamp(.95rem, 2.53vw, 1.6rem); letter-spacing: .36em; text-transform: uppercase; color: var(--gold-light); margin-right: -.38em; }
.hero-place { display: block; margin-top: 10px; font-size: clamp(.85rem, 1.7vw, 1.1rem); letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero-text { font-family: var(--serif); font-size: clamp(1.05rem, 1.98vw, 1.22rem); line-height: 1.5; color: rgba(255,255,255,.85); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 1.8em; }

/* Infobar */
.infobar { background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.infobar-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.infobar-grid > div { padding: 24px; display: flex; flex-direction: column; gap: 4px; font-size: .95rem; color: var(--muted); }
.infobar-grid > div + div { border-left: 1px solid var(--line); }
.label { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.infobar a { color: var(--muted); text-decoration: none; }
.infobar a:hover { color: var(--gold-dark); }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-alt { background: var(--surface-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 14px; }
.section-note { color: var(--muted); margin: 0; }
.sub-head { text-align: center; margin: 72px 0 28px; font-size: 1.65rem; }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.split-reverse { grid-template-columns: .95fr 1.05fr; }
.split-voucher { align-items: start; }
.split-text p { color: var(--muted); }
.split-media { margin: 0; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split-media.portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.split-media figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--soft); text-align: center; }

.facts { list-style: none; padding: 0; margin: 2.2em 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts li { padding: 18px 12px 0 0; font-size: .85rem; color: var(--soft); line-height: 1.4; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--gold-dark); margin-bottom: 2px; }

/* Treatments */
.treatments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.treatment {
  background: var(--paper); border-radius: var(--radius);
  padding: 34px 32px 26px; display: flex; flex-direction: column;
  box-shadow: var(--card-shadow);
}
.treatment-icon { display: block; align-self: center; width: auto; margin: 0 0 20px; opacity: .9; }
.treatment-icon.icon-tall { height: 80px; }
.treatment-icon.icon-wide { height: 68px; margin-top: 12px; }
.treatment-icon.icon-ruecken { height: 58px; margin-top: 22px; }
.treatment h3 { margin-bottom: 10px; }
.treatment .rule { margin: 0 0 18px; }
.treatment > p { color: var(--muted); font-size: .92rem; line-height: 1.65; flex: 1; }
.prices { list-style: none; padding: 0; margin: 14px 0 0; }
.prices li { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--soft); }
.price { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--bronze); }
.treatment-cta { padding: 0; overflow: hidden; background: var(--dark); color: #fff; box-shadow: var(--shadow); }
.treatment-cta img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; opacity: .9; }
.treatment-cta > div { padding: 26px 30px 30px; }
.treatment-cta h3 { color: #fff; }
.treatment-cta p { color: rgba(255,255,255,.72); font-size: .92rem; }
.disclaimer { margin: 44px auto 0; font-size: .82rem; color: var(--soft); text-align: center; max-width: 760px; }
.disclaimer strong { color: var(--ink); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }
.gallery video { background: #000; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px;
  color: #fff; font-family: var(--serif); font-size: 1rem; pointer-events: none;
  background: linear-gradient(transparent, rgba(31,23,18,.7));
}
.g-wide { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; }
.g-room { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; }
.g-video { grid-row: 1 / 3; align-self: stretch; }
.g-video figcaption { bottom: auto; top: 0; padding: 14px 18px 36px; background: linear-gradient(rgba(31,23,18,.7), transparent); }

.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.certs a { display: block; background: var(--paper); padding: 14px; border-radius: 10px; box-shadow: var(--card-shadow); overflow: hidden; }
.certs img { width: 100%; height: 240px; object-fit: contain; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--card-shadow); }
.card p { color: var(--muted); font-size: .95rem; }
.card .small { font-size: .88rem; color: var(--soft); }
.card-dark { background: var(--dark); color: #fff; box-shadow: var(--shadow); }
.card-dark h3, .card-dark h4 { color: #fff; }
.card-dark h4 { margin-top: 1.5em; }
.contact-list { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.contact-list li { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding: 4px 0; color: rgba(255,255,255,.85); }
.contact-list li span:first-child { color: var(--gold-light); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; padding-top: 4px; }
.card-dark a { color: #fff; text-decoration: none; word-break: break-word; }
.card-dark a:hover { color: var(--gold-light); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; text-align: left; }
.faq details { background: var(--paper); border-radius: 10px; box-shadow: var(--card-shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--sans); font-size: 1.3rem; line-height: 1; color: var(--gold-dark); }
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--gold-dark); }
.faq details p { margin: 0; padding: 0 24px 20px; color: var(--muted); font-size: .95rem; }

/* Closing */
.closing { background: var(--surface-alt); text-align: center; padding: clamp(80px, 11vw, 130px) 0; border-top: 1px solid var(--line); }
.closing .btn { margin-top: 44px; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.9); padding: 72px 0 26px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 44px; }
.site-footer h2 { color: rgba(255,255,255,.9); font-size: 1.3rem; }
.site-footer a { color: rgba(255,255,255,.9); }
.site-footer a:hover { color: var(--gold-light); }
.brand-light .brand-sub { color: var(--gold); }
.footer-claim { font-family: var(--serif); font-size: 1.05rem; margin-top: 18px; color: rgba(255,255,255,.9); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(227,196,140,.18); margin-top: 52px; padding-top: 22px; font-size: .8rem; }
.footer-bottom a { text-decoration: none; }
.credit { text-align: right; }

/* Anruf-Button mobil */
.call-fab { display: none; }

/* Responsive */
@media (max-width: 1020px) {
  .nav { gap: 22px; }
  .treatments, .contact-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .g-wide, .g-room { grid-column: 1 / 3; grid-row: auto; }
  .g-video { grid-row: auto; aspect-ratio: 9 / 16; }
  .contact-grid .card-dark { grid-column: 1 / 3; }
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); box-shadow: 0 1px 0 var(--line);
    padding: 8px 28px 24px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 1.15rem; }
  .nav-cta { margin-top: 18px; }
}

@media (max-width: 900px) {
  .split, .split-reverse { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 2; }
  .split-media.portrait { max-width: 460px; }
  .infobar-grid { grid-template-columns: 1fr; }
  .infobar-grid > div { padding: 16px 24px; }
  .infobar-grid > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .header-inner { min-height: 72px; }
  .brand-logo { width: 5.7rem; }
  .brand-sub { font-size: .66rem; letter-spacing: .26em; }
  .hero { min-height: 0; }
  .hero-content { padding-top: 80px; padding-bottom: 80px; }
  .hero-sub { letter-spacing: .24em; margin-right: -.24em; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .treatments, .contact-grid, .certs { grid-template-columns: 1fr; }
  .contact-grid .card-dark { grid-column: auto; }
  .treatment, .card { padding: 28px 24px; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 14px 0 0; }
  .certs img { height: auto; max-height: 320px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding-top: 20px; }
  .credit { text-align: left; }
  .site-footer { padding-bottom: 100px; }

  .call-fab {
    display: inline-flex; align-items: center; justify-content: center;
    position: fixed; right: 16px; bottom: 16px; z-index: 60;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--gold); color: #2A1B0C; text-decoration: none;
    box-shadow: 0 12px 26px -10px rgba(60, 40, 20, .6);
  }
  .call-fab svg { width: 21px; height: 21px; fill: currentColor; }
  .br-desktop { display: none; }
  .call-fab:hover { color: #2A1B0C; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Lightbox */
.lb-trigger { display: none; }
.lb-on .lb-trigger {
  display: block; position: absolute; inset: 0; z-index: 2;
  border: 0; padding: 0; background: transparent; cursor: zoom-in;
}
.lb-on .lb-trigger-video { cursor: pointer; }
.lb-on .lb-trigger-video::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: rgba(31,23,18,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E3C48C' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 30px no-repeat;
  border: 1px solid rgba(227,196,140,.6); transition: transform .25s, background-color .25s;
}
.lb-on .lb-trigger-video:hover::after { transform: scale(1.08); background-color: rgba(31,23,18,.75); }
.lb-on .gallery figure img, .lb-on .certs img { transition: transform .6s; }
.lb-on .gallery figure:hover img, .lb-on .certs a:hover img { transform: scale(1.03); }
.lb-on .certs a { cursor: zoom-in; }
.lb-open { overflow: hidden; }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 14, 10, .94); color: #fff;
  display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: transparent; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; }
.lb-media img, .lb-media video {
  max-width: min(88vw, 1500px); max-height: 82vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); pointer-events: auto; background: #000;
}
.lb-caption { font-family: var(--serif); font-size: 1.1rem; color: rgba(255,255,255,.85); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; border: 1px solid rgba(227,196,140,.4); background: rgba(31,23,18,.6); color: var(--gold-light);
  width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: #2A1B0C; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev[hidden], .lb-next[hidden] { display: none; }

/* Deko */
.deco { position: relative; overflow: hidden; isolation: isolate; }
.deco > .wrap { position: relative; z-index: 1; }
.deco::before, .deco::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  background: url("../img/pflanze-gross-gold.webp") no-repeat top left / contain;
}
.deco-vine::before, .deco-vine::after {
  top: 0; bottom: 0; height: auto; width: auto;
  aspect-ratio: 210 / 702;
  max-width: 30vw;
}
.deco-vine::before { left: 0; }
.deco-vine::after { right: 0; transform: scaleX(-1); }

.deco-vine-top::before, .deco-vine-top::after {
  bottom: auto; width: min(30vw, 444px); max-width: none;
}

@media (max-width: 640px) {
  .deco::before, .deco::after { opacity: .9; }
  .deco-vine::before, .deco-vine::after { max-width: 38vw; }
  .deco-vine-top::before, .deco-vine-top::after { width: 38vw; }
}
