/* Banchen's Thaimassage — styles.css
   Design-System: Bordeaux Bloom Editorial — siehe website/03-design-system/02-design-system.md */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/fraunces-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url('../fonts/fraunces-italic-variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Pinyon Script';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/pinyonscript-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --marke-bordeaux: #7C1836;
  --marke-bordeaux-dunkel: #55101F;
  --marke-bordeaux-hell: #A33352;

  --flaeche-creme: #F6EEDE;
  --flaeche-creme-warm: #EEE0C4;

  --ink: #241016;
  --ink-variante: #3B1424;

  --text-haupt: #241016;
  --text-gedaempft: #6B5A55;
  --text-hell: #F6EEDE;
  --text-hell-gedaempft: #D9C2B8;

  --akzent-gold: #C9A24C;

  --linie: rgba(36, 16, 22, 0.14);
  --linie-hell: rgba(246, 238, 222, 0.18);
  --linie-punkt: #C0304F;

  --verlauf-bordeaux: linear-gradient(135deg, #7C1836 0%, #55101F 100%);
  --verlauf-dunkel: linear-gradient(180deg, rgba(36,16,22,0) 0%, rgba(36,16,22,0.85) 100%);

  --radius-klein: 6px;
  --radius-mittel: 16px;
  --radius-gross: 28px;

  --schatten-ruhe: 0 8px 24px rgba(36, 16, 22, 0.12);
  --schatten-hover: 0 16px 40px rgba(36, 16, 22, 0.20);

  --container: 1240px;
  --raum-8: 8px; --raum-16: 16px; --raum-24: 24px; --raum-32: 32px;
  --raum-48: 48px; --raum-64: 64px; --raum-96: 96px; --raum-128: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.16vw, 1.0625rem);
  line-height: 1.7;
  color: var(--text-haupt);
  background: var(--flaeche-creme);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; margin: 0 0 0.5em; font-weight: 600; color: var(--text-haupt); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif; font-size: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
  font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--marke-bordeaux-dunkel); margin-bottom: 1em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--marke-bordeaux); display: inline-block; }

h1.display {
  font-size: clamp(2.875rem, 1.4rem + 6.8vw, 7.5rem);
  line-height: 0.94; letter-spacing: -0.03em; max-width: 22ch;
}
h2.sektion { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.25rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 40ch; }
h3.zwischen { font-size: clamp(1.44rem, 1.2rem + 1vw, 1.875rem); line-height: 1.15; letter-spacing: -0.015em; max-width: 46ch; }
.lead { font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem); line-height: 1.45; max-width: 58ch; color: var(--text-gedaempft); }
p { max-width: 66ch; }
.script-akzent { font-family: 'Pinyon Script', cursive; font-weight: 400; color: var(--marke-bordeaux); font-size: 2em; line-height: 1; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 64px; } }

.sektion { padding: 64px 0; }
.sektion--normal { padding: 80px 0; }
.sektion--gross { padding: 96px 0; }
@media (min-width: 1024px) {
  .sektion { padding: 112px 0; }
  .sektion--normal { padding: 128px 0; }
  .sektion--gross { padding: 160px 0; }
}
.sektion--dunkel { background: var(--ink-variante); color: var(--text-hell); }
.sektion--dunkel h1, .sektion--dunkel h2, .sektion--dunkel h3 { color: var(--text-hell); }
.sektion--dunkel .eyebrow { color: var(--akzent-gold); }
.sektion--dunkel .eyebrow::before { background: var(--akzent-gold); }
.sektion--dunkel p, .sektion--dunkel .lead { color: var(--text-hell-gedaempft); }
.sektion--dunkel hr, .sektion--dunkel .trenner { border-color: var(--linie-hell); }
.sektion--bordeaux { background: var(--verlauf-bordeaux); color: var(--text-hell); }
.sektion--bordeaux h1, .sektion--bordeaux h2, .sektion--bordeaux h3 { color: var(--text-hell); }
.sektion--bordeaux .eyebrow { color: var(--akzent-gold); }
.sektion--bordeaux .eyebrow::before { background: var(--akzent-gold); }

/* Punkt-Trennlinie — echtes Markenelement aus Preisliste/Treuekarte */
.trenner-punkt {
  border: none; border-bottom: 3px dotted var(--linie-punkt);
  margin: 20px 0; opacity: 0.7;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn--primaer { background: var(--verlauf-bordeaux); color: var(--text-hell); box-shadow: var(--schatten-ruhe); }
.btn--primaer:hover { box-shadow: var(--schatten-hover); transform: translateY(-2px); }
.btn--primaer:active { transform: scale(0.98); }
.btn--sekundaer { background: transparent; color: var(--text-haupt); border-color: var(--linie); }
.btn--sekundaer:hover { border-color: var(--marke-bordeaux-dunkel); color: var(--marke-bordeaux-dunkel); }
.sektion--dunkel .btn--sekundaer, .sektion--bordeaux .btn--sekundaer { color: var(--text-hell); border-color: var(--linie-hell); }
.btn:focus-visible { outline: 3px solid var(--akzent-gold); outline-offset: 2px; }
.btn-reihe { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* Navigation */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--flaeche-creme); border-bottom: 1px solid var(--linie); }
.kopf__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; max-width: var(--container); margin: 0 auto; }
@media (min-width: 768px) { .kopf__inner { padding: 20px 64px; } }
.kopf__logo img { height: 34px; width: auto; }
.kopf__nav { display: none; align-items: center; gap: 32px; }
.kopf__nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.kopf__nav a[aria-current="page"] { color: var(--marke-bordeaux-dunkel); font-weight: 700; }
@media (min-width: 1024px) { .kopf__nav { display: flex; } .kopf__burger { display: none; } }
.kopf__burger {
  background: none; border: none; cursor: pointer; padding: 8px;
  display: flex; flex-direction: column; gap: 5px;
}
.kopf__burger span { width: 24px; height: 2px; background: var(--text-haupt); display: block; }
.kopf__mobil {
  display: none; position: fixed; inset: 0; background: var(--ink); z-index: 100;
  padding: 24px 20px; overflow-y: auto;
}
.kopf__mobil.ist-offen { display: block; }
.kopf__mobil-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.kopf__mobil-schliessen { background: none; border: none; color: var(--text-hell); font-size: 2rem; cursor: pointer; line-height: 1; }
.kopf__mobil nav { display: flex; flex-direction: column; }
.kopf__mobil nav a {
  color: var(--text-hell); text-decoration: none; font-family: 'Fraunces', serif; font-size: 1.75rem;
  padding: 16px 0; border-bottom: 1px dotted var(--linie-hell);
}
.kopf__mobil .btn { margin-top: 32px; width: 100%; }
.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; }
.sprunglink {
  position: absolute; left: -9999px; top: 0; background: var(--marke-bordeaux); color: var(--text-hell);
  padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.sprunglink:focus { left: 0; }

/* Hero */
.hero { padding: 48px 0 64px; }
@media (min-width: 1024px) { .hero { padding: 64px 0 96px; } }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 8fr 4fr; gap: 64px; } }
.hero__bild { border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten-ruhe); position: relative; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 7fr 5fr; } }

/* Trust-Leiste */
.trust-leiste { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .trust-leiste { grid-template-columns: repeat(4, 1fr); } }
.trust-leiste li { font-size: 0.9rem; font-weight: 600; padding-top: 16px; border-top: 3px dotted var(--linie-punkt); }

/* Karten */
.karten-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .karten-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .karten-grid { grid-template-columns: repeat(4, 1fr); } }
.karte {
  background: var(--flaeche-creme-warm); border-radius: var(--radius-mittel); padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten-hover); }

/* Preistabelle */
.preis-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .preis-grid { grid-template-columns: repeat(2, 1fr); } }
.preis-karte { background: var(--flaeche-creme-warm); border-radius: var(--radius-mittel); padding: 28px; }
.preis-karte h3 { font-size: 1.25rem; margin-bottom: 16px; }
.preis-zeile { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; border-bottom: 3px dotted var(--linie-punkt); font-weight: 600; }
.preis-zeile:last-child { border-bottom: none; }
.preis-zeile span:last-child { color: var(--marke-bordeaux-dunkel); font-family: 'Fraunces', serif; font-size: 1.15rem; }
.preis-hinweis { text-align: center; margin-top: 40px; color: var(--text-gedaempft); font-style: italic; }

/* Treuekarte-Mockup — echtes gerendertes Kartenbild in CSS-3D-Rahmen */
.treuekarte-mockup {
  perspective: 1400px; display: flex; justify-content: center; padding: 32px 0;
}
.treuekarte-mockup__karte {
  width: min(100%, 480px); border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(36,16,22,0.35), 0 8px 20px rgba(36,16,22,0.2);
  transform: rotate3d(1, -1, 0.15, 8deg);
  transition: transform .4s ease;
  border: 1px solid rgba(255,255,255,0.4);
}
.treuekarte-mockup__karte:hover { transform: rotate3d(1, -1, 0.15, 2deg) scale(1.02); }
.treuekarte-mockup__karte img { width: 100%; }

/* Ablauf (nummeriert) */
.ablauf-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; counter-reset: schritt; }
@media (min-width: 768px) { .ablauf-liste { grid-template-columns: repeat(3, 1fr); } }
.ablauf-liste li { counter-increment: schritt; position: relative; padding-left: 56px; }
.ablauf-liste li::before {
  content: counter(schritt); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(246,238,222,0.15);
  border: 1px solid var(--linie-hell); display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 700; color: var(--akzent-gold);
}

/* Bild-Band (21:9) */
.bildband { border-radius: var(--radius-gross); overflow: hidden; margin: 48px 0; box-shadow: var(--schatten-ruhe); }
.bildband img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--linie); padding: 20px 0;
}
.sektion--dunkel .faq details, .sektion--bordeaux .faq details { border-color: var(--linie-hell); }
.faq summary {
  cursor: pointer; font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--marke-bordeaux); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin-top: 12px; color: var(--text-gedaempft); }
.sektion--dunkel .faq p, .sektion--bordeaux .faq p { color: var(--text-hell-gedaempft); }

/* Auf-einen-Blick Kasten */
.blick-kasten {
  background: var(--flaeche-creme-warm); border-radius: var(--radius-mittel); padding: 28px;
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .blick-kasten { grid-template-columns: repeat(2, 1fr); } }
.blick-kasten dt { font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--marke-bordeaux-dunkel); }
.blick-kasten dd { margin: 4px 0 0; }

/* Footer */
.fuss { background: var(--ink); color: var(--text-hell); padding: 64px 0 24px; }
.fuss a { text-decoration: none; }
.fuss__grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 48px; }
@media (min-width: 768px) { .fuss__grid { grid-template-columns: repeat(4, 1fr); } }
.fuss h3 { color: var(--text-hell); font-size: 1rem; margin-bottom: 16px; }
.fuss ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.fuss ul a { color: var(--text-hell-gedaempft); }
.fuss ul a:hover { color: var(--akzent-gold); }
.fuss__logo img { height: 30px; margin-bottom: 16px; }
.fuss__unten {
  border-top: 1px solid var(--linie-hell); padding-top: 24px; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: 0.85rem; color: var(--text-hell-gedaempft);
}
.fuss__made { color: var(--text-hell-gedaempft); }
.fuss__made a { color: var(--akzent-gold); font-weight: 600; }

/* Cookie-Banner */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 300;
  max-width: 620px; margin: 0 auto; background: var(--flaeche-creme);
  border: 1px solid var(--linie); border-radius: var(--radius-mittel);
  box-shadow: var(--schatten-hover); padding: 24px; display: none;
}
.cookie-banner.ist-sichtbar { display: block; }
.cookie-banner p { font-size: 0.9rem; color: var(--text-gedaempft); margin: 0 0 16px; max-width: none; }
.cookie-banner__buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__buttons .btn { padding: 10px 20px; font-size: 0.85rem; }
.cookie-widerruf {
  position: fixed; left: 16px; bottom: 16px; z-index: 250; width: 44px; height: 44px;
  border-radius: 50%; background: var(--ink); color: var(--text-hell); border: none;
  cursor: pointer; font-size: 1.1rem; box-shadow: var(--schatten-ruhe); display: none;
}
.cookie-widerruf.ist-sichtbar { display: block; }

/* Rechtstexte */
.rechtstext { max-width: 680px; }
.rechtstext h2 { font-size: 1.4rem; margin-top: 2em; }
.rechtstext table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 0.9rem; }
.rechtstext th, .rechtstext td { text-align: left; padding: 10px; border-bottom: 1px solid var(--linie); }
.rechtstext .hinweis-box {
  background: var(--flaeche-creme-warm); border-radius: var(--radius-klein); padding: 16px 20px;
  font-size: 0.9rem; margin: 1.5em 0;
}

/* Utility */
.text-zentriert { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--akzent-gold); outline-offset: 2px;
}
