/* ==========================================================================
   Suthina's Thai Massage — Design-System "Thai-Glassmorphism"
   Visuelle Werte exakt aus dem freigegebenen Mockup (referenz/index.html).
   Fonts selbst gehostet (kein Google-Fonts-CDN). Kein Dark-Mode.
   ========================================================================== */

/* --- Selbst gehostete Fonts (DSGVO, §5) ---------------------------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/fraunces-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Charm";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/charm-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Charm";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/charm-latin-700-normal.woff2") format("woff2");
}
/* Sriracha = thailändische Brush-/Display-Schrift (echte Thai-Glyphen).
   Nur ein Schnitt → Gewichtsbereich 400–700 auf dieselbe Datei, damit keine
   künstliche Fettung entsteht. Nur Thai-Subset → Latin fällt auf Charm zurück. */
@font-face {
  font-family: "Sriracha";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0E00-0E7F;
  src: url("/fonts/sriracha-thai-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/sarabun-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/sarabun-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/sarabun-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/sarabun-latin-700-normal.woff2") format("woff2");
}

/* --- Design-Tokens (exakt aus dem Mockup) -------------------------------- */
:root {
  color-scheme: light only;

  --sand:         #FBF2DE;  /* warmer Sand-Hintergrund */
  --sand-tief:    #F6E8CC;
  --cream:        #FCF6E8;  /* helle Fläche / Button-Text */
  --smaragd:      #0F5D45;  /* kräftiges Tempel-Grün, Primär */
  --smaragd-tief: #0A4534;
  --gold:         #D29A22;  /* kräftiges Gold, Akzent */
  --gold-dk:      #A9751A;  /* dunkles Gold (Hero-Gruß, Betonung) */
  --safran:       #DD5E1C;  /* lebhaftes Safran-Orange */
  --text:         #34220F;  /* Teak, dunkler Fließtext, hoher Kontrast */
  --glas:         rgba(252, 246, 232, 0.62);
  --glas-rand:    rgba(255, 255, 255, 0.55);
  --line:         rgba(52, 34, 15, 0.18);

  --font-serif:  "Fraunces", Georgia, serif;
  --font-script: "Sriracha", "Charm", "Segoe Script", cursive;
  --font-sans:   "Sarabun", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius:       20px;
  --radius-sm:    16px;
  --schatten:     0 10px 40px rgba(52, 34, 15, 0.12);
  --schatten-tief:0 16px 48px rgba(52, 34, 15, 0.28);
  --maxbreite:    1100px;
  --content:      920px;
  --spalte:       28px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--sand);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background:
    radial-gradient(40vw 40vw at 12% 8%,  rgba(210, 154, 34, 0.30), transparent 60%),
    radial-gradient(46vw 46vw at 92% 22%, rgba(15, 93, 69, 0.26),  transparent 60%),
    radial-gradient(50vw 50vw at 70% 96%, rgba(221, 94, 28, 0.22), transparent 62%),
    linear-gradient(180deg, #FCF4E2, #F6E8CC);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--smaragd);
  text-decoration-color: rgba(210, 154, 34, 0.55);
  text-underline-offset: 3px;
}
a:hover { color: var(--smaragd-tief); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.06;
  color: var(--smaragd);
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(30px, 4.5vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 24px); }

/* --- Labels / Akzentschrift --------------------------------------------- */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--safran);
}
.thai,
.script {
  font-family: var(--font-script);
}

/* --- Layout-Helfer ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxbreite);
  margin-inline: auto;
  padding-inline: var(--spalte);
}

.section { padding-block: 72px; }
.section--eng { padding-block: 40px; }

.telefon { white-space: nowrap; } /* §4: Telefonnummern nicht umbrechen */

.mt { margin-top: 1.5rem; }

.text-center { text-align: center; }

/* Skip-Link: standardmäßig aus dem Sichtfeld, nur bei Tastatur-Fokus sichtbar */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.skip-link:focus {
  position: static !important;
  left: auto !important;
  display: inline-flex;
  margin: 0.5rem;
}

/* --- Glassmorphism-Baustein --------------------------------------------- */
.glas {
  background: var(--glas);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid var(--glas-rand);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 30px;
  border-radius: 40px;
  border: 1px solid var(--smaragd);
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}
.btn:focus-visible { outline: 2px solid var(--smaragd); outline-offset: 3px; }

.btn--primär {
  background: var(--smaragd);
  color: var(--cream);
  box-shadow: 0 6px 18px rgba(15, 93, 69, 0.28);
}
.btn--primär:hover {
  background: var(--smaragd-tief);
  color: var(--cream);
  box-shadow: 0 9px 24px rgba(15, 93, 69, 0.34);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.35);
  border-color: var(--smaragd);
  color: var(--smaragd);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.6); color: var(--smaragd); }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(210, 154, 34, 0.30);
}
.btn--gold:hover { background: var(--gold-dk); color: var(--cream); transform: translateY(-1px); }

/* --- Header (Navbar als Glass-Leiste) ----------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 22px;
  border-radius: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand .mark {
  width: 52px;
  height: 52px;
  flex: none;
}
.brand-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 25px;
  color: var(--smaragd);
  line-height: 1;
}
.brand-text span {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--safran);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 26px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
}
.nav a:hover { color: var(--smaragd); }
.nav a.active { color: var(--smaragd); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--smaragd);
  cursor: pointer;
}

/* --- Hero mit Breathing-Sun-Glow ---------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
}
.sun {
  position: absolute;
  top: 30%;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle,
      rgba(210, 154, 34, 0.35),
      rgba(221, 94, 28, 0.12) 46%,
      transparent 66%);
  animation: breathe 10s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9);  opacity: 0.7; }
  50%      { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.hero-card {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin: 0 auto;
  padding: 44px 46px;
  text-align: center;
}
.hero-logo {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 28px;
}
.greet {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(44px, 7.5vw, 72px);
  color: var(--gold-dk);
  line-height: 1.3;
}
.greet small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--safran);
  margin-top: 8px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(44px, 7.5vw, 80px);
  line-height: 1.02;
  color: var(--text);
  margin: 14px 0 20px;
}
.hero h1 em { font-style: italic; color: var(--gold-dk); }
.hero p.lead {
  font-size: 20px;
  max-width: 580px;
  margin: 0 auto;
  color: var(--text);
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: center;
}

/* --- Bilder-Streifen / Mobile-Slider ------------------------------------ */
.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 34px auto 0;
  max-width: var(--content);
  position: relative;
  z-index: 1;
}
.imgslot {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(252, 246, 232, 0.5);
  border: 1px dashed rgba(15, 93, 69, 0.5);
  color: var(--smaragd);
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.swipe-hint { display: none; }

/* --- Grids --------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
.grid--zwei {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

/* --- Behandlungen als Menü-Liste (Mockup-Optik) ------------------------- */
.menu {
  display: grid;
  gap: 0;
  padding: 40px 44px;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.menu-item:first-child { border-top: 1px solid var(--line); }

.menu-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--text);
  margin: 0;
}
.menu-name .th {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--safran);
  font-size: 18px;
  margin-left: 8px;
}
.menu-desc {
  font-size: 15px;
  color: var(--text);
  margin: 5px 0 0;
  max-width: 48ch;
  opacity: 0.92;
}
.menu-buchen {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--smaragd);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}
.menu-buchen:hover { color: var(--safran); }

.menu-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--smaragd);
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.menu-dur {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--safran);
}

/* --- Lotus-Divider (Mockup) --------------------------------------------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  max-width: 280px;
  padding: 6px 0;
}
.divider .rule {
  flex: 1;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.lotus {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--gold);
}

/* --- Panels / Info-Boxen ------------------------------------------------ */
.karte-box { padding: 40px 44px; }

.info-liste { list-style: none; margin: 0; padding: 0; }
.info-liste li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.info-liste li:last-child { border-bottom: 0; }
.info-liste .tag { font-weight: 600; color: var(--smaragd-tief); }

/* --- Prosa (Impressum/Datenschutz/Über) --------------------------------- */
.prosa { max-width: var(--content); margin-inline: auto; }
.prosa .glas { padding: 40px 44px; }
.prosa h1,
.prosa h2 { color: var(--smaragd); }
.prosa h3 { color: var(--smaragd); font-size: 20px; margin: 22px 0 6px; }
.prosa h2 { margin-top: 1.4em; }
.prosa h2:first-child, .prosa h1:first-child { margin-top: 0; }

/* ==========================================================================
   Consent-gated Buchungs-Widget (§7) – Optik an Mockup .booking-ph
   ========================================================================== */
.buchung { scroll-margin-top: 90px; }
.buchung__box { padding: 40px 44px; }
.buchung__box > h2 { margin-bottom: 0.6rem; }

.buchung__platzhalter {
  min-height: 340px;
  margin-top: 20px;
  border-radius: 16px;
  border: 1px dashed rgba(15, 93, 69, 0.5);
  background: rgba(252, 246, 232, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 28px;
}
.buchung__platzhalter p { max-width: 60ch; margin-inline: auto; }
.buchung__hinweis {
  font-size: 13.5px;
  color: var(--text);
  opacity: 0.82;
  margin-top: 0.5rem;
}
.buchung__widget { min-height: 200px; margin-top: 20px; }
.buchung__widget:empty { display: none; }
[hidden] { display: none !important; }

/* Floating „Termin buchen"-Button (§7) */
.floating-buchung {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 60;
  box-shadow: var(--schatten-tief);
}

/* --- Footer (helle Glass-Leiste) ---------------------------------------- */
.site-footer { margin-top: 24px; padding: 30px 0 40px; }
.site-footer .foot { padding: 28px 32px; }
.site-footer h4 {
  font-family: var(--font-serif);
  color: var(--smaragd);
  margin-bottom: 0.5rem;
}
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--smaragd); }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.footer__untern {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  justify-content: space-between;
}
.footer__untern a { border-bottom: 1px solid var(--line); text-decoration: none; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    gap: 6px;
    padding: 16px 22px;
    border-radius: 16px;
    background: rgba(251, 242, 222, 0.97);
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
    border: 1px solid var(--glas-rand);
    box-shadow: 0 16px 48px rgba(52, 34, 15, 0.28);
  }
  .nav.is-open { display: flex; }
  .nav a { width: 100%; padding: 8px 2px; }
  .nav-toggle { display: block; }

  /* Bilder-Streifen wird zum horizontalen Slider */
  .strip {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .strip::-webkit-scrollbar { display: none; }
  .strip .imgslot { flex: 0 0 85%; scroll-snap-align: center; }
  .swipe-hint {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--safran);
    position: relative;
    z-index: 1;
  }

  .hero-card,
  .karte-box,
  .buchung__box,
  .prosa .glas,
  .card { padding: 30px 24px; }
}

/* --- Bewegung reduzieren (§4) ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .sun { animation: none; }
}
