/* ==========================================================================
   Occto — Landingpage Tanzschulen (Meta-Ads-Traffic)

   Komposition 1:1 nach dem Stitch-Entwurf "Occto Landingpage - Tanzschulen
   Web-App" (zentrierter Hero, Bento-Grid, gestaffelte Problem-Karten,
   hervorgehobene mittlere Preisstufe, 4er-Bildreihe, zentriertes Zitat-Panel).

   Farben stattdessen aus Occtos Dark-Theme (/css/tokens.css, [data-theme=dark]),
   dark gelockt: bezahlter Traffic bekommt genau einen Look, kein Toggle.

   Gegenüber dem Export bewusst NICHT übernommen: Tailwind-CDN, Scroll-Reveal
   (setzte jede Section auf opacity-0 → ohne JS leere Seite), Google-Icon-Font
   (Icons sind inline-SVG), #FF5C00, Montserrat.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 350 600;
  font-display: swap;
  src: url("/tanzschulen/fonts/inter-350-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: "Inter";
  font-style: normal;
  font-weight: 350 600;
  font-display: swap;
  src: url("/tanzschulen/fonts/inter-350-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;

  --surface-0: #0b0b0c;
  --surface-1: #111214;
  --surface-2: #15161a;
  --surface-border: #2a2a2e;
  --surface-border-str: #3a3a3e;

  --brand-primary: #972738;
  --brand-primary-hover: #a92e42;
  /* Crimson trägt als FLÄCHE (weisse Schrift darauf: 7.9:1). Als SCHRIFT auf
     #0b0b0c sind es nur 1.9:1, WCAG verlangt 4.5:1. Für Text und sichtbare
     Ränder deshalb der aufgehellte Ton derselben Familie: 5.1:1. */
  --brand-on-dark: #d2596b;

  --text-primary: #f6f7f8;
  --text-body: rgba(246, 247, 248, 0.75);
  --text-tertiary: rgba(246, 247, 248, 0.52);
  --text-muted: rgba(246, 247, 248, 0.38);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif;

  /* Hero bewusst gross wie im Entwurf (dort 72px Montserrat ExtraBold). */
  --font-size-display: clamp(2.25rem, 1.1rem + 5.2vw, 4.5rem);
  --font-size-h2: clamp(1.875rem, 1.2rem + 2.8vw, 3rem);
  --font-size-h3: 1.5rem;
  --font-size-small: 0.8125rem;

  --max-content-width: 1280px;
  --gutter: clamp(1rem, 4vw, 4rem);
  --radius: 12px;
  --ease-out: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* Occto-Regel: nie kursiv. */
em, i, cite, dfn, address { font-style: normal; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

body {
  background: var(--surface-0);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { flex-shrink: 0; }

h1, h2, h3 {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: var(--font-size-display); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); letter-spacing: -0.015em; line-height: 1.25; }

/* Einzige Hervorhebung: Crimson, aufrecht (nie kursiv). */
em { color: var(--brand-on-dark); }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-content-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.band { background: var(--surface-1); }
.mitte { text-align: center; }
.mitte p { margin-inline: auto; }
.lede { font-size: 1.125rem; color: var(--text-body); max-width: 44rem; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--brand-primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}
.btn:hover { background: var(--brand-primary-hover); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--brand-on-dark); outline-offset: 3px; }
.btn.gross { padding: 1.15rem 2.5rem; font-size: 1.0625rem; }
.btn.geist {
  background: transparent;
  border-color: var(--surface-border-str);
  color: var(--text-primary);
}
.btn.geist:hover { background: rgba(255, 255, 255, 0.05); }

.cta-paar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 34rem) {
  .cta-paar { flex-direction: row; }
  .mitte .cta-paar { justify-content: center; }
}

/* Kleines Wortbildmarken-SVG mittig über der Headline (ersetzt die Kopfleiste). */
.marke { width: 104px; height: auto; margin: 0 auto 2.5rem; opacity: 0.92; }

/* ── Platzhalter für Bild- und Videoflächen ─────────────────────────────── */
.platzhalter {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--surface-2);
  border: 1px dashed var(--surface-border-str);
  border-radius: var(--radius);
  color: var(--text-tertiary);
  font-size: var(--font-size-small);
}
.platzhalter.medien { aspect-ratio: 16 / 9; font-size: 1rem; }
.platzhalter.kachel { aspect-ratio: 16 / 10; }
.platzhalter.portraet { aspect-ratio: 4 / 3; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.hero h1 { max-width: 17ch; margin-inline: auto; }
.hero .lede { margin-top: 1.75rem; }

.hero-bild { margin-top: clamp(3rem, 7vw, 5rem); }
.hero-bild img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
}
.hero-bild figcaption {
  margin-top: 0.85rem;
  font-size: var(--font-size-small);
  color: var(--text-tertiary);
}

/* ── Problem: Text links, gestaffelte Karten rechts ─────────────────────── */
.problem { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) { .problem { grid-template-columns: 1fr 1fr; } }

.marker { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 1rem; }
.marker li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}
.marker svg { color: var(--brand-on-dark); }

.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tools div {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  min-height: 9rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.9375rem;
  font-weight: 500;
}
/* Versatz wie im Entwurf — erst ab Tablet, sonst reisst das Raster auf. */
@media (min-width: 40rem) {
  .tools div:nth-child(2) { margin-top: 2rem; }
  .tools div:nth-child(3) { margin-top: -2rem; }
}

/* ── Bento-Grid (Lösung) ────────────────────────────────────────────────── */
.bento { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 56rem) {
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 1fr; }
  .bento .breit { grid-column: span 8; }
  .bento .hoch { grid-column: span 4; grid-row: span 2; }
  .bento .schmal { grid-column: span 4; }
}
.karte {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: border-color 0.25s var(--ease-out);
}
.karte:hover { border-color: var(--surface-border-str); }
.karte h3 { margin-bottom: 0.6rem; }
.karte p { color: var(--text-body); }
.karte svg { color: var(--brand-on-dark); margin-bottom: 1.25rem; }
.karte.hoch {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to bottom right, rgba(151, 39, 56, 0.22), var(--surface-1) 62%);
}

/* ── Preise ─────────────────────────────────────────────────────────────── */
.preise { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 56rem) { .preise { grid-template-columns: repeat(3, 1fr); align-items: center; } }

.stufe {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.stufe.hebt {
  border: 2px solid var(--brand-on-dark);
  background: var(--surface-2);
}
@media (min-width: 56rem) { .stufe.hebt { transform: scale(1.05); z-index: 1; } }
.plakette {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--brand-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.stufe h3 { font-size: 1.375rem; margin-bottom: 1.25rem; }
.stufe .einmalig {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--brand-on-dark);
  letter-spacing: -0.03em;
}
.stufe .einmalig span { font-size: 1rem; font-weight: 400; color: var(--text-body); letter-spacing: 0; }
.stufe .monatlich {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 0.4rem;
}
.stufe .monatlich span { font-size: 1rem; font-weight: 400; color: var(--text-body); }
.stufe ul { list-style: none; padding: 0; margin: 1.75rem 0; display: grid; gap: 0.7rem; }
.stufe li { display: flex; align-items: center; gap: 0.6rem; color: var(--text-body); }
.stufe li svg { color: var(--brand-on-dark); }
.stufe .btn { margin-top: auto; }
.klein { margin-top: 1.75rem; font-size: var(--font-size-small); color: var(--text-body); }

/* ── Referenzen: Bildreihe wie im Entwurf ───────────────────────────────── */
.referenzen { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 40rem) { .referenzen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .referenzen { grid-template-columns: repeat(4, 1fr); } }

.projekt { display: flex; flex-direction: column; }
.projekt .rahmen {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.projekt img {
  width: 100%;
  /* Der Entwurf hatte quadratische Kacheln, aber das schneidet bei
     Website-Screenshots (1200x806) ein Drittel der Breite weg. 16:10 lässt
     die Seiten stehen. */
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s var(--ease-out);
}
.projekt:hover img { transform: scale(1.06); }
.projekt h3 { font-size: 1.125rem; margin-top: 1.15rem; }
.projekt p { margin-top: 0.5rem; font-size: 0.9375rem; }
.projekt a {
  margin-top: 0.85rem;
  font-size: var(--font-size-small);
  color: var(--brand-on-dark);
  text-underline-offset: 3px;
}

/* ── Zahlen-Panel (steht an der Stelle des Zitats) ──────────────────────── */
.panel {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 64rem;
  margin-inline: auto;
  text-align: center;
}
.zahlen {
  list-style: none;
  padding: 0;
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem;
}
@media (min-width: 34rem) { .zahlen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) { .zahlen { grid-template-columns: repeat(4, 1fr); } }
.zahlen b {
  display: block;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--brand-on-dark);
  letter-spacing: -0.035em;
  line-height: 1;
}
.zahlen span { display: block; margin-top: 0.6rem; font-size: 0.9375rem; color: var(--text-body); }

/* ── Wer dahinter steckt ────────────────────────────────────────────────── */
.ueber { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 56rem) { .ueber { grid-template-columns: 1fr 1fr; } }
.ueber p + p { margin-top: 1.25rem; }
/* Versetzter Akzentrahmen wie im Entwurf. Erst ab Tablet — auf dem Handy
   ragt der Versatz über den Seitenrand hinaus. */
.rahmen-versetzt { position: relative; }
@media (min-width: 48rem) {
  .rahmen-versetzt::before {
    content: "";
    position: absolute;
    inset: -1rem;
    border: 2px solid var(--brand-primary);
    border-radius: var(--radius);
    transform: translate(1rem, 1rem);
  }
}
.rahmen-versetzt img {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
}
.rahmen-versetzt figcaption {
  position: relative;
  margin-top: 1.5rem;
  font-size: var(--font-size-small);
  color: var(--text-tertiary);
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { max-width: 48rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; display: grid; gap: 1rem; }
.faq details {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.faq details[open] { background: var(--surface-2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--text-tertiary); transition: transform 0.25s var(--ease-out); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding-top: 1rem; }

/* ── Kontakt ────────────────────────────────────────────────────────────── */
.formular {
  margin: 2.5rem auto 0;
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  text-align: left;
}
@media (min-width: 40rem) {
  .formular { grid-template-columns: 1fr 1fr; }
  .formular .voll { grid-column: 1 / -1; }
}
.feld { display: flex; flex-direction: column; gap: 0.4rem; }
.feld label { font-size: var(--font-size-small); color: var(--text-tertiary); }
.feld input, .feld textarea {
  background: var(--surface-1);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font: inherit;
}
.feld textarea { min-height: 7.5rem; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--brand-on-dark); }
/* Honeypot — für Menschen unsichtbar, für Bots ausfüllbar. */
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--surface-border);
  background: var(--surface-1);
  padding-block: 3.5rem;
  font-size: 0.9375rem;
  color: var(--text-body);
}
footer .zeilen { display: grid; gap: 2rem; }
@media (min-width: 40rem) { footer .zeilen { grid-template-columns: 1fr auto; align-items: start; } }
footer .wordmark { display: inline-block; margin-bottom: 0.75rem; }
footer nav { display: flex; gap: 1.75rem; flex-wrap: wrap; }
