/* seite.css · lp-228 KOPFÜBER Luftakrobatik. Hell: Kalkweiß, Tinte, ein Akzent Zirkusrot (Tuch, Knöpfe, Satzzeichen). Je Szene genau ein kräftiges Rot. */
@font-face { font-family: "Mona Sans"; src: url("../fonts/mona-sans-wdth-var.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; 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: light;
  --grund: #F2EEE8; --grund-2: #E9E3DA; --text: #17130F; --text-2: #4A433C; --text-3: #4A433C; --linie: #D8D0C4; --linie-feld: #7a7165;
  --akzent: #D7261E; --auf-akzent: #ffffff; --fehler: #b0201a; --kopf-grund: rgba(242,238,232,.96);
  --rot: #D7261E;
  --schrift-display: "Mona Sans", system-ui, "Segoe UI", sans-serif;
  --schrift-text: "Instrument Sans", system-ui, "Segoe UI", sans-serif;
  --g-wort: clamp(4rem, min(15vw, 26svh), 16rem);
  --g-zeile: clamp(2.25rem, min(6vw, 10svh), 6.5rem);
  --g-ueber: clamp(1.5rem, 2.4vw, 2.5rem);
  --g-lead: clamp(1.1875rem, 1.45vw, 1.5rem);
  --g-text: clamp(1.0625rem, 1.1vw, 1.1875rem);
  --g-klein: 1rem;
  --zz: clamp(1.9rem, min(4.4vw, 8svh), 5.6rem);
  --a1: 8px; --a2: 16px; --a3: 24px; --a4: 40px; --a5: 64px; --a6: 104px; --a7: 168px;
  --rand: clamp(16px, 4vw, 64px);
  --kopf-hoehe: 72px;
  --wd: 100;
  --tw: 36px;                    /* Breite des Tuchs am Rand (Preise) */
}
html { background: var(--grund); scroll-padding-top: 16px; overflow-x: clip; }
body { font-family: var(--schrift-text); font-size: var(--g-text); line-height: 1.55; background: var(--grund); color: var(--text); }
.kopf-fest .kopfzeile { backdrop-filter: none; }
.knopf { font-family: var(--schrift-text); font-weight: 600; min-height: 48px; }

/* Kopfzeile */
.kopfzeile { z-index: 60; background: transparent; padding-inline: var(--rand); gap: 12px; }
.kopfzeile .marke { font-family: var(--schrift-display); font-weight: 800; letter-spacing: .02em; font-size: 1.15rem; color: var(--text); padding: 0 14px; background: rgba(242,238,232,.88); border-radius: 999px; }
.pillen { display: flex; gap: 8px; }
.pille { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; background: rgba(242,238,232,.88); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
@media (hover: hover) and (pointer: fine) { .pille:hover { background: var(--text); color: var(--grund); } }
.kopfzeile .knopf--klein { background: var(--akzent); color: #fff; min-height: 44px; }
.unterseite .kopfzeile { position: static; background: var(--grund); }
@media (max-height: 520px) { .kopfzeile { position: absolute; } }

/* ---------- Ebenen: gemeinsame Lage (ohne JavaScript und bei ruhiger Fassung stehen die Szenen untereinander) ---------- */
.szene { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: var(--grund-2); }
.lage { position: absolute; margin: 0; }
.lage > img, .lage > picture, .lage > picture > img { display: block; width: 100%; height: 100%; }
[data-l="bg"] { inset: -4%; z-index: 1; }
[data-l="bg"] img { object-fit: cover; }
.wort { z-index: 3; }
.person { z-index: 4; }
.textfeld, .hinweis { z-index: 5; }
.zaehl { z-index: 6; pointer-events: none; }
.person img, .zaehl img { object-fit: contain; }
.marke-ziel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.zeile { font-family: var(--schrift-display); font-weight: 750; font-size: var(--zz); line-height: .98; letter-spacing: -.03em; font-variation-settings: "wdth" var(--wd); text-wrap: balance; }
.zeile--klein { font-size: calc(var(--zz) * .66); }
.satz { margin-top: var(--a2); font-family: var(--schrift-display); font-weight: 800; font-size: min(var(--g-zeile), 5.4vw, 9.6svh); line-height: .98; letter-spacing: -.03em; font-variation-settings: "wdth" var(--wd); text-wrap: balance; }
.wort { font-family: var(--schrift-display); font-weight: 900; font-size: var(--g-wort); line-height: .9; letter-spacing: -.03em; color: var(--text); font-variation-settings: "wdth" var(--wd); white-space: nowrap; margin: 0; pointer-events: none; }
.fz { color: var(--rot); }

/* Text steht direkt im Bild; lesbar durch einen weichen kalkweißen Lichtschein ohne Kanten (wandert mit dem Text) */
.textfeld { width: min(37vw, 36rem); padding: clamp(8px, 1vw, 16px); color: var(--text); }
.textfeld::before { content: ""; position: absolute; z-index: -1; inset: -30% -30% -34%; pointer-events: none; background: radial-gradient(closest-side, rgba(242,238,232,.96) 0, rgba(242,238,232,.92) 48%, rgba(242,238,232,.55) 72%, rgba(242,238,232,.16) 88%, rgba(242,238,232,0) 100%); }
.textfeld .lead { margin-top: var(--a3); font-size: var(--g-lead); line-height: 1.5; color: var(--text); max-width: 34rem; }
.handlung { margin-top: var(--a3); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.beruhigung { flex-basis: 100%; font-size: var(--g-klein); color: var(--text); }
.hinweis { font-size: var(--g-klein); font-weight: 600; letter-spacing: .04em; color: var(--text); padding: 6px 4px; margin: 0; text-shadow: 0 0 12px rgba(242,238,232,.95), 0 0 4px rgba(242,238,232,.95); }
.kurse { list-style: none; margin: var(--a2) 0 0; padding: 0; display: grid; gap: var(--a2); }
.kurs-name { font-family: var(--schrift-display); font-weight: 750; font-size: var(--g-ueber); line-height: 1.1; letter-spacing: -.02em; }
.kurs-name span { font-family: var(--schrift-text); font-weight: 600; font-size: var(--g-klein); letter-spacing: 0; margin-left: .6em; color: var(--rot); }
.kurse li > p:last-child { font-size: var(--g-text); }
.stufen { margin-top: var(--a2); font-size: var(--g-klein); line-height: 1.45; }

/* Kopf */
.p0 { left: 55vw; top: 8svh; height: 84svh; aspect-ratio: 1664 / 2166; }
.tf0 { left: var(--rand); top: 0; bottom: 0; margin-block: auto; height: fit-content; width: min(46vw, 40rem); }
.tf0 .zeile { font-size: min(var(--g-zeile), 5.2vw, 9.4svh); }
.hinweis { left: var(--rand); bottom: 4svh; }
/* S1 Kraft */
.w1 { left: 3vw; top: 60svh; }
.p1 { left: 27vw; bottom: 0; height: 86svh; aspect-ratio: 690 / 2319; }
.tf1 { right: var(--rand); top: 9svh; }
.z1 { right: -3vw; bottom: -24svh; height: 54svh; aspect-ratio: 3 / 4; }
/* S2 Höhe */
.w2 { left: 3vw; top: 60svh; }
.p2 { left: 54vw; top: 8svh; height: 80svh; aspect-ratio: 2 / 3; }
.tf2 { left: var(--rand); top: 9svh; }
.z2 { right: -2vw; bottom: -4svh; width: 22vw; aspect-ratio: 1776 / 1182; }
/* S3 Alter */
.w3 { right: 6vw; top: 12svh; }
.p3 { left: 5vw; top: 8svh; height: 86svh; aspect-ratio: 1524 / 2356; }
.tf3 { right: var(--rand); top: 40svh; }
.z3 { right: -3vw; bottom: -22svh; height: 44svh; aspect-ratio: 3 / 4; }
/* S4 Fallen */
.w4 { left: 3vw; top: 12svh; color: var(--grund); }
.p4 { left: 40vw; top: -2svh; height: 104svh; aspect-ratio: 1664 / 2496; }
.tf4 { left: var(--rand); bottom: 6svh; width: min(42vw, 40rem); }
.z4 { right: -2vw; top: -8svh; height: 42svh; aspect-ratio: 1527 / 2368; }
/* S5 Kurse */
.w5 { left: 3vw; top: 77svh; font-size: calc(var(--g-wort) * .85); }
.p5 { left: 53vw; bottom: 0; height: 86svh; aspect-ratio: 1401 / 2339; }
.tf5 { left: var(--rand); top: 9svh; width: min(42vw, 40rem); }
.z5 { right: -4vw; top: -10svh; height: 46svh; aspect-ratio: 1178 / 2179; }

/* ---------- Die Bühne (nur mit Bewegung) ---------- */
.fahrt .flug { position: relative; height: calc(100svh + var(--U, 5.34) * var(--P, 280svh)); }
.fahrt .buehne { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #c8c1b6; }
.fahrt .kamera { position: absolute; inset: 0; transform-origin: 50% 50%; }
.fahrt .szene { position: absolute; inset: 0; height: auto; min-height: 0; overflow: visible; background: none; visibility: hidden; }
.fahrt .szene.da { visibility: visible; }
.fahrt .szene.nah .lage { will-change: transform; }
.fahrt .marke-ziel { top: calc(var(--P, 280svh) * 5); }
.tuch { display: none; }
.fahrt .tuch { display: block; position: absolute; z-index: 2; top: 0; left: 0; width: 120px; height: 150svh; transform-origin: 50% 100%; pointer-events: none; }
.tuch img { width: 100%; height: 100%; object-fit: fill; display: block; transform: scaleY(-1); }

/* ---------- Danach im Fluss: Preise, Anfrage ---------- */
.unten { position: relative; z-index: 3; background: var(--grund); }
.unten .spalte { width: min(100% - 2 * var(--rand), 44rem); margin-left: var(--rand); }
.preise { position: relative; padding-block: var(--a6) var(--a5); }
.anfrage { position: relative; padding-block: var(--a4) var(--a6); }
.tuch-flug { position: absolute; top: 0; bottom: 0; left: 95.5%; width: var(--tw); margin-left: calc(var(--tw) / -2); background: linear-gradient(90deg, #8f130e, #d7261e 28%, #ef5348 52%, #c4201a 76%, #8f130e); }
.ueber { font-family: var(--schrift-display); font-weight: 750; font-size: clamp(2.25rem, min(4.4vw, 8svh), 4.5rem); line-height: 1; letter-spacing: -.03em; }
.preisliste { margin: var(--a4) 0 0; }
.preisliste div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--a3); padding: var(--a3) 0; border-bottom: 1px solid var(--linie); }
.preisliste dt { font-size: var(--g-lead); }
.preisliste dd { margin: 0; font-family: var(--schrift-display); font-weight: 800; font-size: clamp(1.75rem, 3vw, 3rem); letter-spacing: -.02em; }
.klein { margin-top: var(--a3); font-size: var(--g-klein); color: var(--text-2); }
.anfrage .lead { margin-top: var(--a3); font-size: var(--g-lead); max-width: 34rem; }
.anfrage .formular { margin-top: var(--a4); max-width: 34rem; }
.formular-meldung { color: var(--text); }
.knoten { position: absolute; top: 0; left: 95.5%; width: calc(var(--tw) / .137); margin-left: calc(var(--tw) / .137 * -.67); }
.knoten img { display: block; width: 100%; height: auto; }
.knoten-satz { position: absolute; top: 14%; right: calc(100% + 12px); width: 11rem; text-align: right; font-family: var(--schrift-display); font-weight: 750; font-size: var(--g-ueber); line-height: 1.05; letter-spacing: -.02em; }
.fuss { position: relative; z-index: 3; background: var(--grund); }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  :root { --zz: clamp(1.7rem, 8.2vw, 2.4rem); --g-wort: 25vw; --g-lead: 1.1875rem; --tw: 27px; }
  .pillen { display: none; }
  .kopfzeile { min-height: 60px; }
  .kopfzeile .knopf--klein { display: inline-flex; padding: 0 14px; font-size: .88rem; white-space: nowrap; }
  .textfeld { width: auto; left: 20px; right: 20px; top: auto; bottom: 18px; margin: 0; padding: 8px; }
  .textfeld::before { inset: -22px -26px -24px; border-radius: 0; background: rgba(242,238,232,.95); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%), linear-gradient(180deg, transparent 0, #000 30px, #000 calc(100% - 22px), transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%), linear-gradient(180deg, transparent 0, #000 30px, #000 calc(100% - 22px), transparent 100%); mask-composite: intersect; }
  .textfeld .lead { margin-top: 10px; }
  .hinweis { bottom: auto; top: 76px; left: 14px; }
  .wort { left: 4vw; right: auto; top: 11svh; font-size: var(--g-wort); }
  .w2, .w4 { font-size: 29vw; }
  .p0 { left: 30vw; height: 62svh; top: 8svh; }
  .tf0 { top: auto; bottom: 18px; width: auto; }
  .tf0 .zeile { font-size: clamp(1.7rem, 8.4vw, 2.5rem); }
  .p1 { left: 12vw; height: 44svh; top: 27svh; bottom: auto; } .z1 { right: -8vw; bottom: auto; top: 38svh; height: 20svh; }
  .p2 { left: 16vw; height: 40svh; top: 26svh; } .z2 { right: -6vw; bottom: auto; top: 58svh; width: 30vw; }
  .p3 { left: 4vw; height: 42svh; top: 26svh; } .z3 { right: -8vw; bottom: auto; top: 46svh; height: 20svh; }
  .p4 { left: 10vw; height: 66svh; top: 14svh; } .z4 { right: -8vw; top: 28svh; height: 20svh; }
  .p5 { left: 24vw; height: 34svh; top: 27svh; bottom: auto; } .z5 { right: -8vw; top: 28svh; height: 24svh; }
  .zeile--klein { font-size: clamp(1.4rem, 6.6vw, 1.9rem); }
  .satz { font-size: clamp(1.7rem, 8.4vw, 2.5rem); margin-top: 8px; }
  .tf4 .lead, .tf5 .stufen { font-size: 1rem; }
  .kurse { gap: 8px; margin-top: 8px; } .kurs-name { font-size: 1.3rem; } .kurse li > p:last-child { font-size: 1rem; line-height: 1.35; }
  .unten .spalte { margin-right: 16vw; width: auto; }
  .anfrage { padding-top: 340px; }
}
@media (max-height: 520px) {
  :root { --zz: min(3.8vw, 7.4svh); --g-lead: 1rem; --g-wort: clamp(2.5rem, 17svh, 5rem); }
  .wort { top: 13svh; left: 3vw; font-size: var(--g-wort); } .w3 { left: auto; right: 6vw; } .w5 { font-size: var(--g-wort); }
  .textfeld { left: var(--rand); right: auto; top: 31svh; bottom: auto; width: 54vw; margin: 0; padding: 8px; }
  .textfeld::before { inset: -22px -26px -24px; border-radius: 0; background: rgba(242,238,232,.95); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%), linear-gradient(180deg, transparent 0, #000 30px, #000 calc(100% - 22px), transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 26px, #000 calc(100% - 26px), transparent 100%), linear-gradient(180deg, transparent 0, #000 30px, #000 calc(100% - 22px), transparent 100%); mask-composite: intersect; }
  .textfeld .lead { margin-top: 8px; font-size: 1rem; line-height: 1.4; }
  .tf0 { top: 0; bottom: 0; margin-block: auto; } .tf0 .zeile { font-size: min(3.8vw, 7.4svh); } .handlung { margin-top: 10px; } .knopf { min-height: 44px; }
  .tf4, .tf5 { top: 28svh; }
  .satz { font-size: min(4.4vw, 8svh); margin-top: 6px; } .zeile--klein { font-size: calc(var(--zz) * .8); }
  .kurs-name { font-size: 1.1rem; } .kurse { gap: 4px; margin-top: 6px; } .kurse li > p:last-child { font-size: .95rem; line-height: 1.3; } .stufen { display: none; }
  .p0 { left: 62vw; top: 8svh; height: 88svh; } .p1 { left: 66vw; top: 18svh; height: 80svh; bottom: auto; } .p2 { left: 62vw; top: 16svh; height: 76svh; }
  .p3 { left: 60vw; top: 16svh; height: 80svh; } .p4 { left: 58vw; top: 6svh; height: 90svh; } .p5 { left: 64vw; top: 18svh; height: 80svh; bottom: auto; }
  .fahrt .zaehl { display: none; }
  .hinweis { left: var(--rand); top: auto; bottom: 3svh; }
}

/* Tuch ohne Naht (04.11.2026, Martin: „warum ist das so abgerissen?“): das Tuch jeder Person läuft im Foto oben aus dem Bild.
   Ein Streifen aus ihrer obersten Zeile (bilder/<name>-oben.webp, naehte.py) verlängert es nahtlos bis über den Bildschirmrand
   und fliegt mit der Person mit. Das frühere eigene Tuch-Band traf die Schnittkante nie genau und ist in den Szenen aus. */
.person::before { content: ""; position: absolute; bottom: 96%; left: var(--o-l); width: var(--o-b); height: 240svh; background: var(--o-bild) center / 100% 100% no-repeat; pointer-events: none; }
.p0 { --o-l: 50.000%; --o-b: 4.000%; --o-bild: url("../bilder/p0-kopfueber-oben.webp"); }
.p1 { --o-l: 68.551%; --o-b: 6.667%; --o-bild: url("../bilder/p1-anfaengerin-oben.webp"); }
.p2 { --o-l: 48.067%; --o-b: 20.000%; --o-bild: url("../bilder/p2-mann-oben.webp"); }
.p3 { --o-l: 40.200%; --o-b: 20.467%; --o-bild: url("../bilder/p3b-frau55-oben.webp"); }
.p4 { --o-l: 50.933%; --o-b: 2.333%; --o-bild: url("../bilder/p4b-drop-oben.webp"); }
.p5 { --o-l: 10.635%; --o-b: 35.546%; --o-bild: url("../bilder/p5-trapez-oben.webp"); }
.fahrt .tuch { display: none; }
