/* BUILT IN CLASS Startseite. Richtung "Loud and flat" (taste-skill, seed 552045160).
   Markenfarben: Rot #E92117, Anthrazit #182B34, Weiss. Schrift: Archivo (schmal und schwer fuer Anzeige). */

/* Schriften selbst gehostet (keine Verbindung zu Google). Kyrillisch kommt aus Roboto Flex, alles andere aus Archivo. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-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: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Gleiche Angaben wie die Archivo-Schnitte: nur dann bilden sie eine Familie und der Browser nimmt diesen Schnitt fuer Kyrillisch. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url(fonts/robotoflex-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --red: #E92117;
  --ink: #182B34;
  --paper: #FFFFFF;
  --tile: #EEF1F2;
  --tone-0: #182B34;
  --tone-1: #2B4653;
  --tone-2: #456370;
  --tone-3: #7C96A1;
  --tone-4: #B9C8CE;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);

  --margin: clamp(1.25rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7.5rem, 12vw, 13rem);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

/* ---------- Grundlage ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.top :focus-visible, .hero :focus-visible, .rules :focus-visible, .price :focus-visible, .foot :focus-visible, .proof :focus-visible { outline-color: var(--paper); }
::selection { background: var(--ink); color: var(--paper); }
.skip-link { position: absolute; left: var(--margin); top: -120px; z-index: 20; padding: 12px 18px; background: var(--ink); color: var(--paper); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Schrift auf Markenrot: Weiss erreicht dort 4,47:1, also nur grosse oder fette Schrift ab 19px (WCAG "large text"). */
.hero-fact, .hero-place, .band-cap, .price-more { font-size: 1.1875rem !important; font-weight: 700; }
.num { font-variant-numeric: tabular-nums; text-align: right; }

/* Anzeigeschrift: schmal, schwer, Versalien */
.h-head, .mq-track, .giant, .tk-title, .tk-price, .foot-name, .acc-tab {
  font-family: var(--font); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 0.86;
}
.h-head { font-size: var(--step-head); text-wrap: balance; }

/* Knöpfe: flach, eckig, eine Form auf der ganzen Seite */
.btn { display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; font-weight: 600; font-size: var(--step-body); text-decoration: none; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #0E1B21; }
.btn-red { background: var(--red); color: var(--paper); }
.btn-red:hover { background: #C91A11; }
.link { font-weight: 600; text-underline-offset: 4px; }
.link:hover { text-decoration-thickness: 3px; }

/* ---------- Kopfleiste (liegt auf dem roten Hero) ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 5; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 28px var(--margin); color: var(--paper); }
.top-nav { display: flex; gap: 28px; }
.top a { font-size: 1.1875rem; font-weight: 700; text-decoration: none; }
.top-nav a:hover, .top-login:hover { text-decoration: underline; text-underline-offset: 5px; }
.top-logo img { width: 172px; height: auto; }
.top-end { justify-self: end; display: flex; align-items: center; gap: 28px; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 6px; font-weight: 700; text-decoration: none; }
.lang-switch a:hover { text-decoration: underline; text-underline-offset: 5px; }
.lang-switch a[aria-current="page"] { background: var(--paper); color: var(--red); }
.lang-jump { display: none; align-items: center; min-height: 40px; padding: 0 8px; background: var(--paper); color: var(--red) !important; }
.lang-foot { margin-top: 32px; flex-wrap: wrap; scroll-margin-top: 24px; }
.lang-foot a[aria-current="page"] { color: var(--ink); }

/* ---------- Hero: Quadrat unter laufender Zeile ---------- */
.hero { --sq: clamp(300px, 25vw, 400px); position: relative; min-height: max(100svh, 760px); background: var(--red); color: var(--paper); display: grid; grid-template-rows: 120px auto 1fr auto; overflow: hidden; }
.hero-stage { position: relative; grid-row: 2; height: calc(var(--sq) + 40px); }
.hero-square { position: absolute; left: 50%; top: 50%; width: var(--sq); height: var(--sq); transform: translate(-50%, -50%); }
.mq { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; }
.mq-track { display: inline-flex; align-items: center; flex: none; font-size: clamp(7rem, 12.5vw, 15rem); white-space: nowrap; color: var(--paper); animation: marquee 56s linear infinite; will-change: transform; }
.mq-item { margin: 0; padding-right: 0.28em; font: inherit; letter-spacing: inherit; }
.mq-dot { display: inline-block; width: 0.22em; height: 0.22em; margin-right: 0.28em; border-radius: 50%; background: currentColor; transform: translateY(-0.04em); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.hero-copy { grid-row: 3; align-self: start; justify-self: center; text-align: center; padding: 48px var(--margin) 32px; max-width: 46rem; }
.hero-lead { font-size: var(--step-lead); font-weight: 700; line-height: 1.25; text-wrap: balance; }
.hero-fact { margin-top: 24px; font-size: var(--step-body); font-weight: 700; }
.hero-bottom { grid-row: 4; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 var(--margin) 40px; }
.hero-place { font-weight: 700; }

/* ---------- Interface-Ausschnitte (data-ui) ---------- */
.ui { background: var(--paper); color: var(--ink); font-size: var(--step-small); line-height: 1.4; overflow: hidden; }
.ui-bar { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 18px; background: var(--tile); font-weight: 600; }
.ui-count { font-weight: 400; }
.ui table { width: 100%; border-collapse: collapse; }
.ui th { text-align: left; font-weight: 600; padding: 10px 18px; border-bottom: 1px solid #D5DDE0; }
.ui td { padding: 10px 18px; border-bottom: 1px solid #E3E8EA; vertical-align: top; }
.ui td strong { display: block; font-weight: 600; }
.ui td span { display: block; }
.ui th.num, .ui td.num { text-align: right; }
.st { display: inline-block !important; padding: 2px 8px; font-weight: 600; background: var(--tile); }
.st-won { background: var(--ink); color: var(--paper); }
.st-lost { background: #DCE3E6; }
.st-qualified { background: #CFE0E6; }
.nowrap { white-space: nowrap; }
/* Quadrat im Hero: dunkle Fassung, damit die weisse Laufzeile darüber lesbar bleibt */
.ui-hero { width: 100%; height: 100%; background: var(--ink); color: #DCE5E8; }
.ui-hero .ui-bar { background: var(--tone-1); color: var(--paper); }
.ui-hero th { border-bottom-color: var(--tone-2); }
.ui-hero td { border-bottom-color: var(--tone-1); white-space: nowrap; }
.ui-hero td span:not(.st) { display: none; }
.ui-hero th:last-child, .ui-hero td:last-child { display: none; }
.ui-hero th:nth-child(2), .ui-hero td:nth-child(2) { text-align: right; }
.ui-hero .st { background: var(--tone-1); color: var(--paper); }
.ui-hero .st-won { background: var(--paper); color: var(--ink); }

/* Statusschalter */
.ui-switch { font-size: inherit; padding: 1.1em 1.2em 1.4em; }
.sw-head strong { display: block; font-size: 1.6em; font-weight: 800; line-height: 1.1; }
.sw-head span { display: block; margin-top: 0.3em; }
.sw-group { display: grid; gap: 0.35em; margin-top: 1em; }
.sw-btn { display: flex; align-items: center; justify-content: space-between; min-height: 2.4em; padding: 0 0.8em; background: var(--tile); font-weight: 600; text-align: left; transition: background-color var(--t-hover) var(--ease-out), transform var(--t-press) var(--ease-out); }
.sw-btn::after { content: ""; width: 0.6em; height: 0.6em; border-radius: 50%; background: transparent; }
.sw-btn:hover { background: #DCE3E6; }
.sw-btn:active { transform: scale(0.98); }
.sw-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.sw-btn[aria-pressed="true"]::after { background: var(--paper); }
.sw-result { margin-top: 0.9em; min-height: 2.8em; font-weight: 600; }
.sw-rows { margin-top: 0.8em; }
.sw-rows div { display: flex; justify-content: space-between; gap: 1em; padding: 0.5em 0; border-top: 1px solid #E3E8EA; } /* taste-skill-ignore: Tabellenzeile im Interface-Ausschnitt (data-ui) */
.sw-rows dd { overflow-wrap: anywhere; text-align: right; }
.sw-rows dt { font-weight: 600; white-space: nowrap; }

/* Kit, Protokoll, Terminal, Lernstand, Rubrik */
.ui-kit ul { padding: 8px 0; }
.ui-kit li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 18px; }
.kit-file { font-weight: 600; }
.ui-doc { padding-bottom: 12px; }
.ui-doc h4 { padding: 16px 18px 4px; font-size: var(--step-body); }
.ui-doc dl div { padding: 8px 18px; }
.ui-doc dt { font-weight: 600; }
.ui-term { background: #0F1D24; color: #E6EDF0; }
.ui-term pre { margin: 0; padding: 18px; overflow: hidden; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: var(--step-small); line-height: 1.55; white-space: pre-wrap; }
.ui-term figcaption { padding: 0 18px 16px; color: #B8C6CC; }
.ui-verdict p, .ui-verdict ul { padding: 0 18px; }
.vd-mission { padding-top: 16px !important; font-weight: 600; }
.vd-score { margin-top: 8px; font-size: var(--step-lead); }
.ui-verdict li { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid #E3E8EA; } /* taste-skill-ignore: Liste im Interface-Ausschnitt (data-ui) */
.vd-next { margin: 8px 0 18px; padding: 10px 18px !important; background: var(--ink); color: var(--paper); font-weight: 600; }

/* ---------- Statusregeln: ein Schalter, gross ---------- */
.rules { position: relative; min-height: 92svh; overflow: hidden; background: var(--ink); color: var(--paper); transition: background-color 420ms var(--ease-out); }
.rules.is-forbidden { background: var(--red); }
.rules-copy { position: relative; z-index: 1; max-width: 34rem; padding: clamp(80px, 10vw, 140px) var(--margin) 0; }
.rules-copy p { margin-top: 28px; font-size: var(--step-lead); font-weight: 700; line-height: 1.3; }
.rules-control { position: absolute; right: -5vw; top: clamp(80px, 10vw, 140px); width: min(60vw, 860px); font-size: clamp(18px, 1.9vw, 30px); }

/* ---------- Ablauf: Akkordeon getönter Felder ---------- */
.flow { padding: var(--section) var(--margin) 0; }
.flow-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; }
.flow-intro h2 { grid-column: 1 / 7; }
.flow-intro p { grid-column: 7 / 12; font-size: var(--step-lead); line-height: 1.35; }
.acc { display: flex; height: 560px; margin-top: 64px; }
.acc-panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; transition: flex-grow 450ms var(--ease-out); }
.acc-panel[data-open="true"] { flex-grow: 5.6; }
.tone-0 { background: var(--tone-0); color: var(--paper); }
.tone-1 { background: var(--tone-1); color: var(--paper); }
.tone-2 { background: var(--tone-2); color: var(--paper); }
.tone-3 { background: var(--tone-3); color: var(--ink); }
.tone-4 { background: var(--tone-4); color: var(--ink); }
.acc-h { position: absolute; inset: 0; }
.acc-tab { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px 20px; font-size: var(--step-lead); line-height: 1; text-align: left; }
.acc-tab span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.acc-tab:hover span { text-decoration: underline; text-underline-offset: 6px; }
.acc-panel[data-open="true"] .acc-h { inset: 0 auto auto 0; }
.acc-panel[data-open="true"] .acc-tab { position: static; padding: 32px 32px 0; font-size: clamp(2.5rem, 1.8rem + 1.6vw, 3rem); cursor: default; }
.acc-panel[data-open="true"] .acc-tab span { writing-mode: horizontal-tb; transform: none; }
.acc-body { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 120px 32px 32px; opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease-out); }
.acc-panel[data-open="true"] .acc-body { opacity: 1; visibility: visible; transition-delay: 160ms; }
.acc-text { align-self: end; max-width: 36ch; font-size: var(--step-body); }
.acc-pic { align-self: center; }
.acc-pic .ui { max-height: 380px; }

/* ---------- Band: Foto über zwei Kanten, Bildlegende auf Farbbalken ---------- */
.band { position: relative; margin-top: var(--section); }
.band-photo { overflow: hidden; }
.band-photo img { width: 100%; height: min(78vh, 760px); object-fit: cover; object-position: 50% 45%; transform: scale(1.06); transition: transform 1200ms var(--ease-out); }
.band.is-in .band-photo img { transform: scale(1); }
.band-bar { position: relative; margin-top: -120px; margin-right: 18vw; background: var(--red); color: var(--paper); }
.band-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding: 48px var(--margin) 56px; }
.band-grid h2 { grid-column: 1 / 7; }
.band-text { grid-column: 7 / 13; font-size: var(--step-lead); font-weight: 700; line-height: 1.3; }
.band-cap { grid-column: 1 / 13; margin-top: 16px; font-weight: 700; }

/* ---------- Kurs: grosses Wort, gefüllte Balken ---------- */
.course { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding: var(--section) var(--margin) 0; }
.course-list { grid-column: 1 / 7; container-type: inline-size; }
/* Das Wort fuellt die Spalte: vier Buchstaben bei 46cqw, laengere Woerter entsprechend kleiner */
.giant { --letters: 4; font-size: calc(184cqw / var(--letters)); line-height: 0.78; white-space: nowrap; }
.course-sub { margin-top: 28px; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.bars { display: grid; gap: 6px; margin-top: 40px; }
.bar { background: var(--tile); }
.bar summary { display: flex; align-items: center; gap: 16px; min-height: 60px; padding: 0 18px; font-weight: 600; cursor: pointer; list-style: none; transition: background-color var(--t-hover) var(--ease-out); }
.bar summary::-webkit-details-marker { display: none; }
.bar summary:hover { background: #E2E8EA; }
.bar-name { flex: 1; }
.bar-hours { font-variant-numeric: tabular-nums; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform var(--t-ui) var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] > summary .plus::after { transform: rotate(0deg); }
.bar-body { padding: 4px 18px 22px; max-width: 60ch; }
.bar-body a { display: inline-block; margin-top: 12px; font-weight: 600; text-underline-offset: 4px; }
.course-links { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.course-tool { grid-column: 8 / 13; align-self: start; position: sticky; top: 40px; }
.course-tool figcaption { margin-top: 16px; font-size: var(--step-body); }
/* Die Tabelle liegt ohne Fläche auf Weiss: ihre Textkanten sind die Seitenränder */
.ui-full th:first-child, .ui-full td:first-child { padding-left: 0; }
.ui-full th:last-child, .ui-full td:last-child { padding-right: 0; }
.ui-full .ui-bar { padding-left: 14px; padding-right: 14px; }

/* ---------- Nachweis: gedruckte Karte ---------- */
.proof { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); margin-top: var(--section); padding: clamp(80px, 8vw, 120px) var(--margin) 0; background: var(--ink); color: var(--paper); height: clamp(820px, 108svh, 1040px); overflow: hidden; }
.proof-copy { grid-column: 1 / 6; }
.proof-copy p { margin-top: 28px; font-size: var(--step-lead); line-height: 1.35; }
.proof-copy .proof-note { font-size: var(--step-body); }
.proof-card { grid-column: 7 / 13; }
.cert { aspect-ratio: 5 / 7; padding: clamp(28px, 3.4vw, 48px); text-align: center; transform: rotate(-1.5deg); transform-origin: 50% 0; font-size: var(--step-body); }
.cert-mark { width: 56px; height: 56px; margin: 0 auto; }
.cert-kind { margin-top: 20px; font-weight: 600; }
.cert-title { margin-top: 18px; font-size: 1.75rem; font-weight: 800; line-height: 1.15; text-wrap: balance; }
.cert-holder { margin-top: 18px; font-size: var(--step-lead); }
.cert-list { margin: 20px auto 0; max-width: 40ch; line-height: 1.45; }
.cert-list li + li::before { content: "·"; display: block; line-height: 1; }
.cert-foot { display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; margin-top: 28px; text-align: left; }
.cert-foot .qr { width: 112px; height: 112px; }
.cert-foot div { display: flex; gap: 10px; }
.cert-foot dt { font-weight: 600; }
.cert-foot .ok { font-weight: 700; }

/* ---------- Preis: das Ticket ---------- */
.price { padding: var(--section) var(--margin); background: var(--red); color: var(--paper); overflow-x: clip; }
.ticket { position: relative; display: grid; grid-template-columns: 7fr 3fr; width: min(64vw, 1000px); aspect-ratio: 2.3 / 1; margin: 132px auto 0; background: var(--paper); color: var(--ink); }
.tk-main { display: flex; flex-direction: column; justify-content: space-between; padding: 40px; }
.tk-title { font-size: clamp(2.5rem, 1rem + 3.4vw, 4.25rem); }
.tk-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; font-size: var(--step-body); }
.tk-stub { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 20px; padding: 32px; }
.tk-price { font-size: var(--step-head); text-align: center; }
.tk-buy { display: flex; align-items: center; justify-content: center; min-height: 56px; background: var(--red); color: var(--paper); font-weight: 700; text-decoration: none; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) var(--ease-out); }
.tk-buy:hover { background: #C91A11; }
.tk-buy:active { transform: scale(0.97); }
.tk-notch { position: absolute; left: 70%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; background: var(--red); }
.tk-notch-top { top: -14px; }
.tk-notch-bottom { bottom: -14px; }
.tk-perf { position: absolute; left: 70%; top: 22px; bottom: 22px; width: 6px; margin-left: -3px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='16'%3E%3Ccircle cx='3' cy='3' r='3' fill='%23E92117'/%3E%3C/svg%3E"); background-repeat: repeat-y; }
.tk-sticker { position: absolute; right: -64px; top: -88px; width: 168px; height: 168px; object-fit: cover; object-position: 50% 32%; border-radius: 50%; transform: rotate(6deg); }
.price-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); width: min(64vw, 1000px); margin: 56px auto 0; font-size: var(--step-body); font-weight: 700; line-height: 1.4; }
.price-more a { text-underline-offset: 4px; }

/* ---------- Fragen: gefüllte Kacheln ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding: var(--section) var(--margin); }
.faq-h { grid-column: 1 / 5; align-self: start; position: sticky; top: 96px; }
.faq-list { grid-column: 5 / 13; display: grid; gap: 8px; }
.qa { background: var(--tile); transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 0 24px; font-size: var(--step-lead); font-weight: 500; line-height: 1.25; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: #E2E8EA; }
.qa[open] { background: var(--ink); color: var(--paper); }
.qa[open] summary:hover { background: transparent; }
.qa p { max-width: 52ch; padding: 0 24px 28px; font-size: var(--step-body); }

/* ---------- Schluss: Einladung über angeschnittenem Namen ---------- */
.foot { position: relative; min-height: 100svh; display: flex; flex-direction: column; background: var(--ink); color: var(--paper); overflow: hidden; }
.foot-top { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); padding: clamp(80px, 9vw, 140px) var(--margin) 0; }
.foot-call { grid-column: 1 / 8; }
.foot-call .btn { margin-top: 40px; }
.foot-side { grid-column: 10 / 13; }
.foot-nav { display: grid; align-content: start; gap: 12px; }
.foot-nav a { text-decoration: none; font-weight: 500; }
.foot-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-legal { display: flex; justify-content: space-between; gap: 32px; margin-top: auto; padding: 48px var(--margin) 16px; font-size: var(--step-small); }
.foot-legal p:first-child { max-width: 70ch; }
.foot-legal a { text-underline-offset: 3px; }
.foot-name { font-size: 25vw; line-height: 0.8; white-space: nowrap; color: var(--red); padding-left: var(--margin); margin-bottom: -0.16em; }

/* ---------- Bewegung: Eintritte (nur mit Script, nur ohne reduzierte Bewegung) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] > * { opacity: 0; transform: translateY(24px); transition: opacity var(--t-reveal) var(--ease-expo), transform var(--t-reveal) var(--ease-expo); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-rise].is-in > * { opacity: 1; transform: none; }
  .js .bars > li { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
  .js .bars.is-in > li { opacity: 1; transform: none; }
  .js .ticket { opacity: 0; transform: translateY(32px) rotate(-1deg); transition: opacity 900ms var(--ease-expo), transform 900ms var(--ease-expo); }
  .js .ticket.is-in { opacity: 1; transform: none; }
  .js .cert { opacity: 0; translate: 0 60px; transition: opacity 900ms var(--ease-expo), translate 900ms var(--ease-expo); }
  .js .cert.is-in { opacity: 1; translate: 0 0; }
  .js .tk-sticker { scale: 0.6; opacity: 0; transition: scale 700ms var(--ease-out) 400ms, opacity 400ms var(--ease-out) 400ms; }
  .js .ticket.is-in .tk-sticker { scale: 1; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
  .band-photo img { transform: none; transition: none; }
  .rules, .acc-panel, .acc-body, .qa { transition: none; }
}

/* ---------- Tablet und Telefon ---------- */
@media (max-width: 900px) {
  .top { padding: 20px var(--margin); }
  .top-nav { gap: 16px; font-size: var(--step-small); }
  .top-logo img { width: 132px; }
  .rules { min-height: 0; padding-bottom: 0; }
  .rules-control { position: relative; right: auto; top: auto; width: calc(100vw - var(--margin)); margin: 48px 0 -40px var(--margin); font-size: clamp(19px, 2.6vw, 24px); }
  .flow-intro h2, .flow-intro p { grid-column: 1 / 13; }
  .acc { flex-direction: column; height: auto; margin-top: 40px; }
  .acc-panel { flex: none; }
  .acc-h { position: static; }
  .acc-tab, .acc-panel[data-open="true"] .acc-tab { position: static; display: flex; width: 100%; min-height: 64px; align-items: center; padding: 0 20px; font-size: var(--step-lead); }
  .acc-tab span, .acc-panel[data-open="true"] .acc-tab span { writing-mode: horizontal-tb; transform: none; }
  .acc-body { position: static; display: none; grid-template-columns: 1fr; gap: 24px; padding: 0 20px 24px; opacity: 1; visibility: visible; }
  .acc-panel[data-open="true"] .acc-body { display: grid; }

  .band-grid h2, .band-text, .band-cap { grid-column: 1 / 13; }
  .band-bar { margin-right: 0; margin-top: -60px; }
  .course-list, .course-tool { grid-column: 1 / 13; }
  .course-tool { position: static; margin-top: 56px; }
  .proof { height: auto; max-height: 1400px; }
  .proof-copy, .proof-card { grid-column: 1 / 13; }
  .proof-card { margin-top: 48px; margin-bottom: -40px; }
  .ticket, .price-more { width: 100%; }
  .tk-sticker { right: 12px; }
  .price-more { grid-template-columns: 1fr; }
  .faq-h { grid-column: 1 / 13; position: static; }
  .faq-list { grid-column: 1 / 13; }
  .foot { min-height: 0; }
  .foot-legal { margin-top: 96px; }
  .foot-call, .foot-side { grid-column: 1 / 13; }
  .foot-side { margin-top: 40px; }
  .top-end { gap: 12px; }
}

@media (max-width: 760px) {
  .top-nav { display: none; }
  .top { grid-template-columns: 1fr auto; }
  .top-logo { grid-column: 1; justify-self: start; }
  .top-end { grid-column: 2; }
  .top .lang-switch { display: none; }
  .lang-jump { display: inline-flex !important; }
  .hero { --sq: 46vw; grid-template-rows: 96px auto auto 1fr; }
  .hero-stage { height: calc(var(--sq) + 80px); margin-top: 8vh; }
  .mq-track { font-size: 34vw; }
  .hero-copy { padding-top: 40px; }
  .hero-bottom { flex-direction: column; align-items: stretch; align-self: end; padding-bottom: 20px; }
  .hero-bottom .btn { justify-content: center; }
  .hero-place { text-align: center; }

  .rules { min-height: 86svh; }
  .rules-copy { padding-top: 72px; }
  .rules-control { position: relative; right: auto; top: auto; width: calc(100vw - var(--margin)); margin: 40px 0 -40px var(--margin); font-size: 19px; }

  .band-photo img { height: 62vh; }
  .ticket { grid-template-columns: 1fr; aspect-ratio: auto; }
  .tk-main { padding: 28px; gap: 28px; }
  .tk-lines { grid-template-columns: 1fr; }
  .tk-stub { padding: 56px 28px 28px; background: var(--tile); }
  .tk-notch, .tk-perf { display: none; }
  .ticket { margin-top: 112px; }
  .tk-sticker { width: 112px; height: 112px; right: 8px; top: -100px; }
  .foot-name { font-size: 34vw; }
  .foot-legal { flex-direction: column; gap: 12px; }
}

/* ohne Script: Akkordeon als Liste, damit alles lesbar bleibt */
html:not(.js) .acc { flex-direction: column; height: auto; }
html:not(.js) .acc-panel { flex: none; }
html:not(.js) .acc-h, html:not(.js) .acc-tab { position: static; }
html:not(.js) .acc-tab span { writing-mode: horizontal-tb; transform: none; }
html:not(.js) .acc-body { position: static; opacity: 1; visibility: visible; padding-top: 0; }
