/* =====================================================================
   Sukhothai Academy — Schulstart-Landingpage
   Alle Farben und Größen stammen aus brand/tokens.css (gemessen an den
   Elementor-Global-Styles von sukhothai.eu, 19.08.2026). Hier stehen sie
   noch einmal, weil die ausgelieferte Seite nicht auf den Marken-Ordner
   zugreifen kann — bei Änderungen IMMER dort zuerst.
   ===================================================================== */

:root {
  --sa-blau:      #008CD2;
  --sa-orange:    #F39200;
  --sa-anthrazit: #323232;
  --sa-schwarz:   #292929;
  --sa-weiss:     #FFFFFF;
  --sa-hell:      #FAFAFA;
  --sa-text:      #333333;

  --font-h: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-b: 'Inter', system-ui, -apple-system, sans-serif;

  --rand: clamp(20px, 5vw, 64px);
  --block: clamp(56px, 9vw, 112px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-b);
  font-size: 18px;
  line-height: 1.55;
  color: var(--sa-text);
  background: var(--sa-weiss);
  -webkit-font-smoothing: antialiased;
}

/* `height: auto` ist hier NICHT kosmetisch: Die Bilder tragen im HTML echte
   width/height-Attribute (gegen Layout-Springen beim Laden). Ohne diese Zeile
   gilt das height-Attribut als feste Höhe und schlägt jedes `aspect-ratio` aus
   dem CSS — die Team-Porträts standen am 20.08. deshalb 875 px hoch statt im
   4:5-Rahmen. Spezifischere Regeln (Hero, Bildband) setzen ihre Höhe danach
   bewusst selbst. */
img { max-width: 100%; height: auto; display: block; }

/* Outfit läuft im mittleren Schnitt (500), NIE fett — die Wucht kommt aus
   Größe und engem Zeilenabstand (GUIDELINES §3). */
h1, h2, h3 { font-family: var(--font-h); font-weight: 500; margin: 0; }
h1 { font-size: clamp(34px, 5.6vw, 68px); line-height: 1.02; letter-spacing: -.015em; }
h2 { font-size: clamp(28px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.012em; }
h3 { font-size: clamp(20px, 2.2vw, 27px); line-height: 1.15; }

p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--rand); }

/* Fließtext läuft gedämpft, Überschriften voll deckend — dieser Kontrast ist
   ein Merkmal des Auftritts (GUIDELINES §2). */
.gedaempft { color: rgba(51,51,51,.72); }
.gedaempft-hell { color: rgba(255,255,255,.72); }

/* ---- Knopf: 5px Radius, fast eckig, nie Pillen-Form ------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-b); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 17px 26px; border-radius: 5px; border: 0;
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn-primaer { background: var(--sa-blau); color: #fff; }
.btn-primaer:hover { background: #0079b6; }
.btn-hell { background: var(--sa-weiss); color: var(--sa-anthrazit); }
.btn-hell:hover { background: #ececec; }
.btn:active { transform: translateY(1px); }

/* ---- Hero: geteilt. Der Text steht auf EIGENER Fläche, nie als Schleier
   über dem Foto (harte Regel 3 der Kunden-CLAUDE.md). ------------------- */
.hero { background: var(--sa-schwarz); color: var(--sa-weiss); }
.hero-grid { display: grid; grid-template-columns: 1fr; }
.hero-text {
  padding: clamp(36px, 6vw, 76px) var(--rand) clamp(44px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-logo { width: 168px; height: auto; margin-bottom: clamp(24px, 4vw, 44px); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .akzent { color: var(--sa-orange); }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 30em; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-bild { position: relative; min-height: 300px; background: #1d1d1d; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Vertrauens-Zeile direkt unter dem Knopf — sie beantwortet die stumme
   Frage „kostet das gleich was?" an der Stelle, an der sie entsteht. */
.hero-trust {
  margin-top: 22px; font-size: 15px; display: flex; flex-wrap: wrap;
  gap: 8px 18px; color: rgba(255,255,255,.66);
}
.hero-trust b { color: #fff; font-weight: 600; }

@media (min-width: 900px) {
  /* Bild LINKS, Argument rechts — der Scanpfad in westlichen Märkten
     (Verkaufspsychologe § Bildwirkung). Dazu passt das Motiv: der Junge
     schaut nach rechts, sein Blick führt also in die Headline statt aus dem
     Bild heraus („people look at people"). Am Handy bleibt die Reihenfolge
     umgekehrt — dort muss die Headline zuerst kommen, nicht ein Bild. */
  .hero-grid { grid-template-columns: .95fr 1.05fr; min-height: 640px; }
  .hero-text { order: 2; padding-left: clamp(32px, 4vw, 60px); padding-right: var(--rand); }
  .hero-bild { order: 1; min-height: 100%; }
}

/* ---- Abschnitte ------------------------------------------------------- */
.block { padding: var(--block) 0; }
.block-hell { background: var(--sa-hell); }
.block-dunkel { background: var(--sa-anthrazit); color: var(--sa-weiss); }

.kopf { max-width: 24em; margin-bottom: clamp(32px, 5vw, 56px); }
.kopf h2 { margin-bottom: 16px; }
.kopf p { font-size: clamp(17px, 1.5vw, 19px); margin: 0; }

/* ---- Karten ----------------------------------------------------------- */
.karten { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 760px) { .karten-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) { .karten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.karte { background: var(--sa-weiss); padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(0,0,0,.09); }
.block-hell .karte { background: var(--sa-weiss); }
.karte h3 { margin-bottom: 10px; }
.karte p { margin: 0; font-size: 17px; }
.karte .nr {
  font-family: var(--font-h); font-size: 15px; font-weight: 500;
  color: var(--sa-blau); letter-spacing: .06em; display: block; margin-bottom: 14px;
}

/* ---- Gruppen (Alter + echte Trainingszeiten) -------------------------- */
.gruppe { background: var(--sa-weiss); border: 1px solid rgba(0,0,0,.09); overflow: hidden; }
.gruppe-bild { aspect-ratio: 4 / 3; }
.gruppe-bild img { width: 100%; height: 100%; object-fit: cover; }
.gruppe-inhalt { padding: clamp(24px, 3vw, 34px); }
.gruppe-alter {
  display: inline-block; font-family: var(--font-b); font-weight: 600; font-size: 14px;
  letter-spacing: .04em; color: #fff; background: var(--sa-blau);
  padding: 6px 11px; border-radius: 5px; margin-bottom: 14px;
}
.zeiten { list-style: none; margin: 18px 0 0; padding: 0; font-size: 16px; }
.zeiten li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(0,0,0,.09); }
.zeiten li span:last-child { font-variant-numeric: tabular-nums; color: rgba(51,51,51,.72); white-space: nowrap; }

/* ---- Stimmen ---------------------------------------------------------- */
/* Stimmen als geschlossener BLOCK, nicht als Kette einzelner Kästen:
   schon auf dem Handy zwei nebeneinander (20.08., Nikita — untereinander
   riss die Sektion auseinander und lief seitlich aus). Damit das trägt,
   sind die Zitate auf ihren Kern gekürzt; die Kachel bleibt so kurz, dass
   zwei nebeneinander lesbar sind. */
.stimmen { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .stimmen { gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stimme {
  /* `margin: 0` ist hier Pflicht, kein Feinschliff: <figure> bringt vom
     Browser 40 px Rand links UND rechts mit. In einer 170-px-Spalte blieben
     davon 90 px Kachel übrig — der Text brach am Handy buchstabenweise um
     (20.08. gemessen, Nikita hatte es sofort gesehen). */
  margin: 0;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  border-radius: 5px; padding: 14px 13px; display: flex; flex-direction: column;
}
@media (min-width: 700px) { .stimme { padding: 24px 22px; } }
.stimme blockquote {
  /* KEIN `hyphens: auto`: in schmalen Spalten trennt der Browser dann fast
     jedes Wort und die Kachel wird zur Buchstabensuppe. Lieber ein etwas
     unruhigerer rechter Rand als zerhackte Wörter. */
  margin: 0 0 12px; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.9);
  overflow-wrap: break-word;
}
@media (min-width: 700px) { .stimme blockquote { font-size: 16px; line-height: 1.5; } }
.stimme .wer { font-size: 12px; color: rgba(255,255,255,.55); margin-top: auto; line-height: 1.35; }
@media (min-width: 700px) { .stimme .wer { font-size: 13px; } }
.sterne { color: var(--sa-orange); letter-spacing: .1em; font-size: 13px; margin-bottom: 10px; }

/* Die Google-Zeile über dem Block trägt den Sozialbeweis, den die einzelne
   Kachel nicht tragen kann. */
.stimmen-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-bottom: 18px; }
.stimmen-kopf b { font-family: var(--font-h); font-weight: 500; font-size: 30px; color: #fff; line-height: 1; }

/* ---- Bildband --------------------------------------------------------- */
.band { position: relative; }
/* Die beiden Bildband-Dateien sind bereits im richtigen Verhältnis
   geschnitten (breit 21:9, schmal 4:3) — hier wird nur noch die Breite
   gesetzt, kein zweiter Beschnitt. */
.band img { width: 100%; height: auto; }
.band picture { display: block; }

/* ---- Formular --------------------------------------------------------- */
.formular-grid { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .formular-grid { grid-template-columns: 1fr 1fr; } }

.feld { margin-bottom: 18px; }
.feld label { display: block; font-size: 14px; font-weight: 600; letter-spacing: .02em; margin-bottom: 7px; }
.feld input, .feld select {
  width: 100%; font-family: var(--font-b); font-size: 17px;
  padding: 14px 15px; border: 1px solid rgba(0,0,0,.22); border-radius: 5px;
  background: #fff; color: var(--sa-text);
}
.feld input:focus, .feld select:focus { outline: 2px solid var(--sa-blau); outline-offset: 1px; border-color: transparent; }
.block-dunkel .feld input, .block-dunkel .feld select { background: #fff; }
.feld-zwei { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .feld-zwei { grid-template-columns: 1fr 1fr; } }

.dsgvo { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.45; margin: 20px 0 24px; }
.dsgvo input { margin-top: 3px; width: 18px; height: 18px; flex: none; }

.hinweis { font-size: 14px; margin-top: 16px; }
.fehler { color: #ffb4a2; font-size: 15px; margin-top: 14px; display: none; }

/* ---- FAQ -------------------------------------------------------------- */
.faq { max-width: 780px; }
.faq details { border-top: 1px solid rgba(0,0,0,.12); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid rgba(0,0,0,.12); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--font-h); font-weight: 500; font-size: clamp(18px, 2vw, 21px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--sa-blau); font-family: var(--font-b); font-weight: 400;
}
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; margin: 0; font-size: 17px; }

/* ---- Fuß ------------------------------------------------------------- */
.fuss { background: var(--sa-schwarz); color: rgba(255,255,255,.72); padding: clamp(48px, 6vw, 72px) 0 40px; font-size: 15px; }
.fuss-grid { display: grid; gap: 32px; grid-template-columns: 1fr; margin-bottom: 40px; }
@media (min-width: 760px) { .fuss-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.fuss h3 { font-size: 16px; color: #fff; margin-bottom: 12px; font-family: var(--font-b); font-weight: 600; letter-spacing: .02em; }
.fuss a { color: rgba(255,255,255,.78); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-logo { width: 150px; margin-bottom: 18px; }
.fuss-unten { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; }

/* ---- Mitlaufender Knopf auf dem Handy -------------------------------- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(41,41,41,.97); padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none; gap: 12px; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.14);
}
.sticky .btn { padding: 14px 20px; font-size: 15px; }
.sticky .txt { color: rgba(255,255,255,.8); font-size: 13px; line-height: 1.3; }
@media (max-width: 899px) { .sticky.an { display: flex; } body.hat-sticky { padding-bottom: 84px; } }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---- Team: die Menschen, die vor der Gruppe stehen -------------------- */
.team-reihe { display: grid; gap: 2px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .team-reihe { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.team-kachel { background: #1d1d1d; position: relative; }
.team-kachel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
/* Die Bilder sind bereits als 4:5-Porträts geschnitten (tools: magick-Crop
   aus den Ganzkörper-Originalen). Ein zusätzlicher CSS-Beschnitt hat am
   20.08. die Köpfe oben angeschnitten — deshalb hier KEIN object-position. */
/* Die fuenfte Kachel steht auf dem Handy allein in der letzten Reihe —
   sie nimmt dort die volle Breite, sonst klafft rechts ein Loch. */
@media (max-width: 699px) {
  .team-kachel:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 1px); }
}

/* ---- Standorte -------------------------------------------------------- */
.ort { background: var(--sa-weiss); border: 1px solid rgba(0,0,0,.09); padding: clamp(24px, 3vw, 34px); }
.block-dunkel .ort { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.13); }
.ort h3 { margin-bottom: 6px; }
.ort .adr { font-size: 17px; margin-bottom: 18px; }

/* ---- Anfrage-Strecke: ein Schritt je Bildschirm ----------------------- */
.strecke { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
  background: var(--sa-schwarz); color: var(--sa-weiss); }
.strecke-kopf { padding: 22px var(--rand); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
.strecke-kopf img { width: 132px; height: auto; }
.balken { height: 3px; background: rgba(255,255,255,.14); }
.balken i { display: block; height: 100%; background: var(--sa-blau); width: 0; transition: width .35s ease; }
.strecke-mitte { flex: 1; display: flex; align-items: center; padding: clamp(32px, 6vw, 72px) var(--rand); }
.strecke-inhalt { width: 100%; max-width: 760px; margin: 0 auto; }
.schritt { display: none; }
.schritt.an { display: block; animation: auf .32s ease both; }
@keyframes auf { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .schritt.an { animation: none; } }
.schritt h1 { font-size: clamp(28px, 4.4vw, 46px); margin-bottom: 12px; }
.schritt .hilfe { color: rgba(255,255,255,.66); font-size: 17px; margin-bottom: 30px; max-width: 30em; }

/* Auswahl-Knoepfe: gross genug fuer den Daumen, eine Spalte auf dem Handy */
.wahl { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .wahl { grid-template-columns: 1fr 1fr; } }
.wahl button { display: flex; align-items: center; justify-content: space-between; gap: 14px;
  text-align: left; font-family: var(--font-b); font-size: 17px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 5px; padding: 20px 22px; cursor: pointer; transition: .16s ease; }
.wahl button:hover, .wahl button:focus-visible { background: rgba(0,140,210,.16); border-color: var(--sa-blau); outline: none; }
.wahl button .neben { display: block; font-weight: 400; font-size: 14px; color: rgba(255,255,255,.6); margin-top: 4px; }
.wahl button .pfeil { color: var(--sa-blau); font-size: 20px; flex: none; }

.strecke-fuss { padding: 18px var(--rand) calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255,255,255,.12); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; font-size: 14px; color: rgba(255,255,255,.55); }
.zurueck { background: none; border: 0; color: rgba(255,255,255,.72); font-family: var(--font-b);
  font-size: 15px; cursor: pointer; padding: 8px 0; }
.zurueck:hover { color: #fff; }
.zurueck[hidden] { visibility: hidden; }

.merker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.merker span { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #fff;
  background: rgba(0,140,210,.2); border: 1px solid rgba(0,140,210,.42);
  border-radius: 5px; padding: 6px 11px; }

/* Der Schritt-Wechsel setzt den Fokus auf die neue Überschrift, damit
   Screenreader den neuen Inhalt vorlesen. Sichtbar soll dieser Fokus NICHT
   sein — er entsteht nicht durch Tastatur-Navigation, und ein blauer Rahmen
   um die Frage liest sich wie ein Fehler (im Sicht-Gate am 20.08. gefangen).
   Fokusrahmen für echte Tastatur-Nutzung bleiben überall sonst erhalten. */
[tabindex="-1"]:focus { outline: none; }
