/* Layout und Typografie. Farben stehen ausschließlich in farben.css. */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
}

:root { --rand: clamp(16px, 2vw, 32px); }

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Hanken Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: .65; }
/* Tastatur-Fokus: bei Textlinks eine kräftige Unterstreichung statt eines Kastens.
   Bei Symbolen, Zeilen und Links im Fließtext (dort ist schon unterstrichen) bleibt ein Rahmen. */
a:focus-visible, summary:focus-visible {
  outline: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.nach-oben:focus-visible, .fuss-gross:focus-visible, .bereich:focus-visible, .zeile:focus-visible,
.block-inhalt p a:focus-visible, .block-inhalt li a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px; text-decoration: none;
}
.block-inhalt p a:focus-visible, .block-inhalt li a:focus-visible { text-decoration: underline; }

h1, h2, h3, p, ul, dl, dd { margin: 0; }
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
body { overflow-wrap: break-word; }
ul { padding: 0; list-style: none; }

/* Alter Sprunglink: bleibt versteckt, bis alle Seiten neu hochgeladen sind. */
.skip { display: none; }

/* ---------- Kopf ---------- */
.kopf {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  padding: 28px var(--rand);
}
.logo, .kopf-kontakt { grid-row: 1; min-height: 44px; display: flex; align-items: center; }
.logo { grid-column: 1; }
.kopf-kontakt { grid-column: 2; }
.logo { font-size: 1.125rem; letter-spacing: .32em; font-weight: 500; text-transform: lowercase; }
.kopf-kontakt { justify-self: center; font-size: 1.0625rem; letter-spacing: .04em; color: var(--accent); }

/* Das Menü liegt in der Kopfzeile und schiebt den Seiteninhalt nach unten. */
.menue { grid-column: 1 / -1; grid-row: 1; pointer-events: none; }
.menue summary {
  list-style: none; cursor: pointer; font-size: 1.0625rem; letter-spacing: .04em;
  min-height: 44px; display: flex; align-items: center; width: max-content; margin-left: auto; pointer-events: auto;
}
.menue summary::-webkit-details-marker { display: none; }
.menue summary:hover { opacity: .65; }
.menue-liste { padding: 8px 0 4px; pointer-events: auto; }
.menue-liste a { display: flex; align-items: center; justify-content: flex-end; min-height: 48px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; }
.menue-liste a[aria-current="page"] { color: var(--accent); }

/* ---------- Startseite ---------- */
.hero { padding: clamp(120px, 22vh, 260px) var(--rand) 64px; }
.hero h1 { font-weight: 400; font-size: clamp(6.875rem, 21vw, 20rem); line-height: .82; letter-spacing: -.045em; }
/* Das g von „Yoga“ ragt über die Linie: Die Linie wird um den Buchstaben ausgespart (Schatten in Hintergrundfarbe). */
.hero h1 { position: relative; z-index: 2;
  text-shadow: -.03em 0 var(--bg), .03em 0 var(--bg), 0 .03em var(--bg), 0 -.03em var(--bg),
               -.024em -.024em var(--bg), .024em .024em var(--bg), -.024em .024em var(--bg), .024em -.024em var(--bg); }
.hero-linie { border-top: 1.5px solid var(--text); margin-top: 18px; padding-top: 18px; }
.hero-claim { position: relative; z-index: 3;  font-size: clamp(2.125rem, 5.2vw, 4.75rem); line-height: 1.05; letter-spacing: -.025em; }
.hero-text { margin-top: 40px; max-width: 720px; font-size: 1.25rem; line-height: 1.55; }

.bereiche { display: flex; flex-wrap: wrap; gap: 48px clamp(32px, 5vw, 96px); padding: 160px var(--rand) 200px clamp(16px, 34vw, 600px); }
.bereich { display: flex; gap: 28px; align-items: flex-start; flex: 1 1 200px; }
.bereich svg { margin-top: 10px; flex: none; }
.bereich span { font-size: clamp(2.5rem, 4.6vw, 4.5rem); line-height: 1.02; letter-spacing: -.03em; }

.abschnitt-titel { font-weight: 400; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.035em; line-height: 1; }

.aktuelles { padding: 0 0 160px; }
.aktuelles .abschnitt-titel { padding: 0 var(--rand) 40px; }
.eintrag { border-top: 1.5px solid var(--text); display: flex; flex-wrap: wrap; gap: 24px 0; padding: 48px var(--rand); }
.eintrag:last-child { border-bottom: 1.5px solid var(--text); }
.eintrag-hinweis, .eintrag-datum { flex: 1 1 200px; font-size: 1.125rem; }
.eintrag-inhalt { flex: 999 1 560px; min-width: 0; max-width: 1000px; }
.eintrag h3 { font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.875rem); line-height: 1.15; letter-spacing: -.02em; }
.eintrag p { margin-top: 20px; font-size: 1.1875rem; line-height: 1.55; max-width: 720px; }

.btn { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; min-height: 44px; font-size: 1.1875rem; color: var(--accent); }

.angebote { padding: 0 var(--rand) 180px; }
.angebote .abschnitt-titel { margin-bottom: 40px; }
.zeile { border-top: 1.5px solid var(--text); display: flex; flex-wrap: wrap; gap: 12px 32px; padding: 36px 0; }
.zeile:last-child { border-bottom: 1.5px solid var(--text); }
.zeile-nr { flex: 0 0 80px; font-size: 1.125rem; }
.zeile h3 { flex: 1 1 360px; font-weight: 400; font-size: clamp(1.625rem, 2.6vw, 2.5rem); letter-spacing: -.02em; line-height: 1.15; }
.zeile p { flex: 1 1 420px; font-size: 1.125rem; line-height: 1.55; }

.ueber { display: flex; flex-wrap: wrap; gap: 48px clamp(32px, 5vw, 96px); padding: 0 var(--rand) 200px; }
.ueber-links { flex: 1 1 360px; min-width: 0; }
.ueber-rechts { flex: 999 1 560px; min-width: 0; max-width: 820px; padding-top: 12px; }
.foto { margin-top: 48px; aspect-ratio: 4 / 5; max-width: 420px; background: var(--panel); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.foto-bild { margin-top: 48px; max-width: 420px; }
.foto-bild img { display: block; width: 100%; height: auto; }
.leitsatz { font-size: clamp(1.375rem, 2.2vw, 2rem); line-height: 1.35; letter-spacing: -.01em; }
.ueber-rechts .text { margin-top: 32px; font-size: 1.1875rem; line-height: 1.6; }
.fakten { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; font-size: 1.0625rem; line-height: 1.5; }
.fakten dt { color: var(--muted); }
.fakten dd { margin-top: 6px; }
.mehr { margin-top: 40px; }

/* ---------- Unterseiten ---------- */
.seite { padding: clamp(40px, 8vh, 100px) var(--rand) 160px; }
.seite h1 { font-weight: 400; font-size: clamp(2.75rem, 8vw, 8rem); line-height: .95; letter-spacing: -.04em; max-width: 14ch; }
.seite-linie { border-top: 1.5px solid var(--text); margin-top: 28px; padding-top: 20px; }
.seite-sub { font-size: clamp(1.5rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; max-width: 36ch; }
.seite-text { margin-top: 40px; max-width: 760px; font-size: 1.25rem; line-height: 1.55; }

.block { margin-top: clamp(64px, 9vw, 120px); border-top: 1.5px solid var(--text); padding-top: 28px; display: flex; flex-wrap: wrap; gap: 20px 48px; }
.block > h2 { flex: 1 1 300px; font-weight: 400; font-size: clamp(1.625rem, 2.8vw, 2.625rem); letter-spacing: -.02em; line-height: 1.12; }
.block-inhalt { flex: 999 1 520px; min-width: 0; max-width: 760px; font-size: 1.1875rem; line-height: 1.6; }
.block-inhalt p + p, .block-inhalt p + ul, .block-inhalt ul + p { margin-top: 18px; }
.block-inhalt li { padding: 6px 0 6px 28px; position: relative; }
.block-inhalt li::before { content: "–"; position: absolute; left: 0; }
.block-inhalt strong { font-weight: 500; }
.klein { font-size: 1.0625rem; color: var(--muted); }
.block-inhalt p a, .block-inhalt li a { text-decoration: underline; text-underline-offset: 3px; }

/* Kursseite: weniger Luft zwischen den Wochentagen */
.block:is(:has(.zeiten), .kompakt) { margin-top: clamp(40px, 5vw, 64px); }
.block:is(:has(.zeiten), .kompakt) .block-inhalt > :last-child { margin-bottom: 8px; }
/* Titel links, alle Infos ab der Seitenmitte (auch bei sehr breiten Fenstern) */
.block:is(:has(.zeiten), .kompakt) > h2 { flex: 0 1 calc(50% - 24px); min-width: 300px; }
.block:is(:has(.zeiten), .kompakt) .block-inhalt { flex: 1 1 320px; }
/* gleicher Abstand nach dem letzten Kurs-Block wie zwischen den Tagen */
.seite:is(:has(.zeiten), :has(.kompakt)) { padding-bottom: clamp(40px, 5vw, 64px); }
.block-inhalt .info + .info { margin-top: 4px; }
.zeiten li { padding: 10px 0; }
.zeiten li::before { content: none; }
.zeiten .z { display: block; font-size: 1rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.zeiten .n { display: block; font-size: 1.75rem; letter-spacing: -.02em; line-height: 1.15; }
.zeiten .d { display: block; font-size: 1rem; color: var(--muted); margin-top: 2px; }
.info { font-size: 1rem; color: var(--muted); }
.info a { color: var(--text); }
.info strong { font-weight: 500; }

.liste-ausb li { padding-left: 0; display: flex; gap: 24px; }
.liste-ausb li::before { content: none; }
.liste-ausb .jahr { flex: 0 0 110px; color: var(--muted); }

.kontakt-liste li { padding: 0; }
.kontakt-liste li::before { content: none; }
.kontakt-liste a { color: var(--accent); display: inline-flex; align-items: center; min-height: 44px; }

.platzhalter { background: color-mix(in srgb, var(--accent) 14%, transparent); padding: 0 .25em; border-radius: 2px; }

/* ---------- Fuß ---------- */
.fuss { border-top: 1.5px solid var(--text); padding: 64px var(--rand) 40px; }
.fuss-gross { display: inline-flex; gap: 28px; align-items: flex-start; }
.fuss-gross svg { margin-top: 16px; flex: none; }
.fuss-gross span { font-size: clamp(3rem, 7vw, 6.875rem); line-height: 1; letter-spacing: -.035em; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 96px; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 1.0625rem; }
.fuss-links a { min-height: 44px; display: inline-flex; align-items: center; }
.fuss-links a.mail { color: var(--accent); }
.nach-oben { display: inline-flex; width: 64px; height: 88px; align-items: center; justify-content: center; }

@media (max-width: 700px) {
  .kopf { grid-template-columns: 1fr auto; }
  .kopf-kontakt { display: none; }
  .logo { font-size: 0.9375rem; letter-spacing: .22em; }
  .bereiche { padding: 96px var(--rand) 120px; }
  .fakten { grid-template-columns: minmax(0, 1fr); }
  .fuss-unten { margin-top: 56px; }
  .liste-ausb li { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: opacity .15s; }
}

/* ---------- Formular ---------- */
.formular { display: grid; gap: 24px; max-width: 640px; }
.feld label { display: block; margin-bottom: 8px; font-size: 1rem; }
.feld input, .feld textarea {
  width: 100%; font: inherit; font-size: 1.1875rem; color: var(--text);
  background: transparent; border: 1.5px solid var(--text); border-radius: 0;
  padding: 12px 14px; min-height: 48px;
}
.feld textarea { min-height: 10rem; resize: vertical; line-height: 1.5; }
.feld input:focus-visible, .feld textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.senden {
  justify-self: start; min-height: 48px; padding: 0 28px; font: inherit; font-size: 1.1875rem;
  background: var(--text); color: var(--bg); border: 0; border-radius: 0; cursor: pointer;
}
.senden:hover { opacity: .8; }
.senden:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fehlerliste { margin-top: 40px; }
