@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/instrument-serif-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/instrument-serif-400-kursiv.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/assets/fonts/figtree.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --grund: #E7E3EC; --flaeche: #F3F1F6; --text: #2E2E2B; --leise: #5C5862;
  --ton: #C98F6F; --sand: #D9D1DF; --tief: #6E4A39;
  --akzent: var(--ton); --akzent-text: #2E2E2B; --linie: #E2DACD; --fehler: #A23B2E; --fokus: #2E2E2B;
  --gewaehlt: #2E2E2B; --gewaehlt-text: #F3F1F6;
  --schrift-titel: "Instrument Serif", Georgia, serif; --schrift-text: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --rundung: 999px; --rundung-fenster: 16px; --groesse: 17px; --breite: 1080px;
}
em { font-style: italic; }
.knopf { font-weight: 500; }

.yo-logo-zeile { padding-block: 16px 0; }
.yo-logo { display: inline-block; line-height: 0; }
.yo-logo svg { height: 44px; width: auto; overflow: visible; }
.logo-kreis { fill: none; stroke: var(--ton); stroke-width: 2.4; stroke-linecap: round; }
.logo-punkt { fill: var(--ton); }
.logo-wort { fill: var(--text); font: italic 400 34px var(--schrift-titel); }

/* Kopf: Bild in der Kreismaske */
.yo-kopf { position: relative; display: grid; justify-items: center; gap: 14px; padding-block: 0 112px; text-align: center; }
.yo-kopf .yo-atem { margin-top: -20px; }
.yo-leise-nav { position: absolute; top: 8px; right: 0; display: grid; justify-items: end; gap: 4px; }
.yo-leise-nav a { padding: 6px 0; color: var(--text); font-size: 18px; text-decoration: none; line-height: 1.5; }
.yo-leise-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.yo-atem { display: grid; justify-items: center; gap: 12px; }
.yo-kreis { width: var(--kreis, min(46vh, 440px)); aspect-ratio: 1; border-radius: 50%; overflow: hidden; }
.yo-kreisbild { width: 100%; height: 100%; clip-path: circle(50%); background: var(--sand); }
.yo-kreisbild img { object-position: 76% 82%; transform: scale(1.55); transform-origin: 78% 82%; }
.yo-wort { position: relative; z-index: 1; background: var(--grund); width: 4em; height: 1.5em; font-size: 15px; line-height: 1.5; letter-spacing: .24em; color: var(--leise); }
.yo-wort span { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.yo-kopf h1 { display: grid; justify-items: center; gap: 10px; }
.yo-erst { font-size: clamp(54px, 6.2vw, 88px); line-height: 1; }
.yo-an { padding-left: .42em; font-size: clamp(22px, 2vw, 28px); line-height: 1.5; letter-spacing: .42em; color: var(--tief); }
.yo-satz { max-width: 34ch; font-size: 20px; color: var(--leise); }

/* Der Atem: 4 s ein, 6 s aus; Kreis und Punkt im selben Takt */
.atmet .yo-kreis, .yo-pille.atmet .yo-punkt { animation: atmen 10s var(--takt, 0s) infinite; }
.atmet .yo-kreisbild { animation: gegen 10s var(--takt, 0s) infinite; }
.atmet .yo-ein { animation: wort-ein 10s var(--takt, 0s) infinite; }
.atmet .yo-aus { animation: wort-aus 10s var(--takt, 0s) infinite; }
@keyframes atmen { 0% { transform: scale(.92); animation-timing-function: cubic-bezier(.4, 0, .5, 1); } 40% { transform: scale(1); animation-timing-function: cubic-bezier(.4, 0, .6, 1); } 100% { transform: scale(.92); } }
@keyframes gegen { 0% { transform: scale(1.087); animation-timing-function: cubic-bezier(.4, 0, .5, 1); } 40% { transform: scale(1); animation-timing-function: cubic-bezier(.4, 0, .6, 1); } 100% { transform: scale(1.087); } }
@keyframes wort-ein { 0%, 36% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes wort-aus { 0%, 38% { opacity: 0; } 44%, 96% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .yo-wort { visibility: hidden; } }
.motion-off .yo-wort { visibility: hidden; }

/* Langsam einblenden */
.sehen-bereit [data-beim-sehen] { transition: opacity .9s cubic-bezier(.3, 0, .2, 1); }
.sehen-bereit [data-beim-sehen]:not([data-gesehen]) { opacity: 0; }
.yo-zeilen div:nth-child(2) { transition-delay: 80ms; }
.yo-zeilen div:nth-child(3) { transition-delay: 160ms; }
.yo-zeilen div:nth-child(4) { transition-delay: 240ms; }
.yo-unterzeile { transition-delay: 80ms; }

section h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; }

/* Kursplan mit Tagesreitern */
.yo-kursplan { padding-block: 96px; background: var(--flaeche); }
.yo-unterzeile { margin-top: 8px; font-size: 17px; color: var(--leise); }
.yo-reiter { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 36px; }
.yo-reiter button {
  min-height: 52px; padding: 8px 4px; border: 1px solid #D4C9B8; border-radius: 26px; background: var(--grund);
  line-height: 1.5; white-space: nowrap;
}
.yo-reiter button[aria-selected=true] { background: var(--text); border-color: var(--text); color: var(--grund); }
.yo-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.yo-filter button { min-height: 44px; padding: 8px 18px; border: 1px solid #D4C9B8; border-radius: 999px; background: transparent; line-height: 1.5; }
.yo-filter button[aria-pressed=true] { background: var(--text); border-color: var(--text); color: var(--grund); }
.yo-plan { margin-top: 30px; touch-action: pan-y; }
.yo-plan h3 { padding-bottom: 8px; border-bottom: 1px solid #D4C9B8; font: italic 400 30px/1.2 var(--schrift-titel); }
.yo-plan ul { list-style: none; margin: 0; padding: 0; }
.yo-plan li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 8px 20px; min-height: 68px; padding: 10px 0; border-bottom: 1px solid #E5DCCD; }
.yo-zeit { font-variant-numeric: tabular-nums; font-weight: 500; }
.yo-kurs strong { font-weight: 500; font-size: 19px; }
.yo-kurs small { color: var(--leise); font-size: 15px; }
.yo-platz { font-size: 15px; line-height: 1.5; color: var(--tief); white-space: nowrap; }
.ist-voll .yo-platz { color: var(--leise); }
.yo-probe { min-height: 44px; padding: 8px 18px; border: 0; border-radius: 999px; background: var(--ton); color: var(--text); font-weight: 500; line-height: 1.5; }
.yo-leer { padding: 24px 0; font-size: 19px; color: var(--leise); }
.yo-weiter { display: inline; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--text); font: inherit; text-decoration: underline; text-decoration-color: var(--ton); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.yo-kennzeichnung { margin-top: 22px; font-size: 14px; line-height: 1.5; color: var(--leise); }
.probe-kopf { font: italic 400 24px/1.3 var(--schrift-titel); }
.probe .knopf { justify-self: start; }

/* Probestunde: ruhige Zeilen mit Atempunkt statt Kästchen */
#modal { border: 0; }
.probe .wahl { display: grid; gap: 0; }
.probe .chip span { width: 100%; min-height: 52px; padding: 12px 4px 12px 36px; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; background: none; font-size: 18px; }
.probe .chip span::before { content: ""; position: absolute; left: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 1.5px solid var(--leise); border-radius: 50%; transition: background .3s, transform .3s; }
.probe .chip input:checked + span { background: none; color: var(--text); font-weight: 500; }
.probe .chip input:checked + span::before { border-color: var(--ton); background: var(--ton); transform: scale(1.15); }
.probe .eingabe { padding: 8px 2px; border: 0; border-bottom: 1px solid var(--text); border-radius: 0; background: none; font: italic 400 24px/1.4 var(--schrift-titel); }
.probe .eingabe:focus-visible { outline: none; border-bottom: 2px solid var(--ton); }
.probe .formhinweis { font-size: 15px; }

/* Für wen */
.yo-fuer-wen { padding-block: 120px 96px; }
.yo-zeilen { margin: 40px 0 0; }
.yo-zeilen div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6px 40px; padding: 24px 0; border-top: 1px solid var(--linie); }
.yo-zeilen dt { font: italic 400 34px/1.15 var(--schrift-titel); }
.yo-zeilen dd { margin: 0; align-self: center; color: var(--leise); font-size: 19px; }

/* Der Raum als flaches Band */
.yo-raum { padding-block: 24px 56px; }
.yo-band { aspect-ratio: 3 / 1; margin-block: 40px 32px; background: var(--sand); }
.yo-band img { object-position: 50% 58%; }
.yo-raum p { max-width: 40ch; margin-inline: auto; font-size: 21px; text-align: center; color: var(--leise); }

/* Abschluss: Ausatmen */
.yo-ende { display: grid; justify-items: center; gap: 18px; padding-block: 120px 72px; text-align: center; }
.yo-ende-kreis { width: 18px; height: 18px; border-radius: 50%; background: var(--ton); }
.yo-ende h2 { font: italic 400 30px/1.3 var(--schrift-titel); }
.yo-angaben { max-width: 64ch; font-size: 15px; line-height: 1.6; color: var(--leise); }
.beispielangaben { font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.yo-kontakt { min-height: 44px; padding: 8px 4px; border: 0; background: none; text-decoration: underline; text-underline-offset: 6px; line-height: 1.5; }
.fuss-zeile { border-top-color: transparent; }

/* Atempunkt: die schwebende Pille */
.yo-pille {
  position: fixed; z-index: 30; left: 50%; bottom: 22px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 24px 10px 18px;
  border-radius: 999px; background: var(--grund); color: var(--text); text-decoration: none; line-height: 1.5; font-weight: 500; white-space: nowrap;
  box-shadow: 0 0 0 1px #E2DACD, 0 14px 34px #2E2E2B22; transition: opacity .6s, visibility .6s;
}
.yo-punkt { width: 14px; height: 14px; border-radius: 50%; background: var(--ton); }
.yo-pille.weg { opacity: 0; visibility: hidden; }
.yo-pille .yo-punkt { flex: none; }

@media (max-width: 759px) {
  .yo-logo-zeile { padding-top: 16px; }
  .yo-leise-nav { display: none; }
  .yo-kopf { gap: 18px; padding-block: 18px 72px; }
  .yo-kreis { width: var(--kreis, 72vw); }
  .yo-kopf .yo-atem { margin-top: 0; }
  .yo-erst { font-size: clamp(46px, 13.4vw, 62px); }
  .yo-an { font-size: 20px; letter-spacing: .36em; padding-left: .36em; }
  .yo-satz { font-size: 18px; }
  .yo-kursplan { padding-block: 64px; }
  .yo-reiter { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .yo-reiter button { font-size: 15px; }
  .yo-plan li { grid-template-columns: 52px minmax(0, 1fr) auto; }
  .yo-platz { grid-column: 2; grid-row: 2; }
  .yo-probe { grid-column: 3; grid-row: 1 / 3; padding: 8px 14px; }
  .yo-fuer-wen { padding-block: 72px 56px; }
  .yo-zeilen div { grid-template-columns: 1fr; }
  .yo-zeilen dt { font-size: 30px; }
  .yo-band { aspect-ratio: 2 / 1; }
  .yo-ende { padding-block: 80px 56px; }
  .yo-pille { bottom: 14px; min-height: 56px; }
}
