/* aha60 Webseite · Look aus dem Skill aha60-video (references/corporate-design.md)
   Farben, Schriften und Logo kommen aus der Marke. Keine Verläufe, keine Glows. */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Montserrat";
  src: url("../fonts/montserrat-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  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 {
  --ground: #0d0e1a;
  --raised: #1a1c2e;
  --track: #262a44;
  --line: rgba(167, 169, 194, 0.16);
  --text: #ffffff;
  --muted: #a7a9c2;
  --gelb: #ffd60a;
  --ink: #0d0e1a;
  --cyan: #3ddcff;
  --koralle: #ff6b57;
  --mint: #4be3a4;

  --display: "Anton", "Impact", sans-serif;
  --sans: "Montserrat", system-ui, sans-serif;

  --edge: clamp(20px, 5vw, 56px);
  --max: 1160px;
  --section: clamp(72px, 10vw, 128px);

  --r-sm: 8px;
  --r-md: 24px;
  --r-lg: 44px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scrollbar-color: var(--track) var(--ground);
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

::selection {
  background: var(--gelb);
  color: var(--ink);
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--ground);
}
::-webkit-scrollbar-thumb {
  background: var(--track);
  border-radius: 10px;
  border: 2px solid var(--ground);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  transition: text-decoration-color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  a:hover {
    text-decoration-color: var(--gelb);
  }
}

:focus-visible {
  outline: 2px solid var(--gelb);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: var(--edge);
  top: -60px;
  z-index: 50;
  background: var(--gelb);
  color: var(--ink);
  font-weight: 800;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--edge));
  margin-inline: auto;
  padding-inline: var(--edge);
}

.num {
  font-variant-numeric: tabular-nums;
}

/* ---------- Kopfzeile ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 14, 26, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.top.is-scrolled {
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(1px)) {
  .top {
    background: rgba(13, 14, 26, 0.78);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
  }
}
.top__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.brand__mark .ring {
  transition: stroke-dashoffset 120ms linear;
}
.brand__word {
  width: 92px;
  height: auto;
}
.nav {
  display: none;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.nav a {
  text-decoration: none;
  transition: color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    color: var(--text);
  }
}
.top__follow {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--raised);
  border: 1px solid var(--line);
  transition: transform 160ms var(--ease-out), border-color 160ms ease;
}
.top__follow:active {
  transform: scale(0.97);
}
@media (min-width: 900px) {
  .nav {
    display: flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(28px, 7vw, 72px);
  padding-bottom: var(--section);
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 7vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .timer {
    width: min(100%, 400px);
  }
}

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.94;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}
.hero h1 {
  font-size: clamp(3.4rem, 15.5vw, 6rem);
}
.hero h1 .line {
  display: block;
}
.hero h1 .gelb {
  color: var(--gelb);
}
.hero__lead {
  margin: 24px 0 0;
  max-width: 34ch;
  font-size: clamp(18px, 4.6vw, 21px);
  line-height: 1.45;
  font-weight: 500;
  color: var(--text);
}
.hero__lead span {
  color: var(--muted);
}

.channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
  max-width: 480px;
}
.channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 14px 13px;
  border-radius: 18px;
  background: var(--raised);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  transition: transform 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease;
}
.channel svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.channel small {
  display: block;
  font-weight: 600;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}
.channel:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .channel:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 214, 10, 0.45);
  }
  .channel:hover:active {
    transform: translateY(-2px) scale(0.97);
  }
}

/* Timer: zählt bis zum nächsten Video */
.timer {
  justify-self: center;
  width: min(100%, 300px);
  text-align: center;
}
.timer__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.timer__arc {
  transition: stroke-dashoffset 900ms var(--ease-out);
}
.timer__count {
  font-family: var(--display);
  font-size: 46px;
  fill: var(--text);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.timer__label {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--muted);
}
.timer__next {
  margin: 18px 0 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--muted);
}
.timer__next strong {
  color: var(--text);
  font-weight: 700;
}

/* Tagesleiste: wann was kommt */
.day {
  margin-top: 26px;
  position: relative;
}
.day__track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: var(--track);
}
.day__now {
  position: absolute;
  top: 50%;
  width: 4px;
  height: 22px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--text);
  transform: translateY(-50%);
  left: 0;
}
.day__slot {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--ground);
  border: 3px solid var(--muted);
  transform: translateY(-50%);
}
.day__slot.is-next {
  border-color: var(--gelb);
  background: var(--gelb);
}
.day__labels {
  position: relative;
  height: 40px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.day__labels span {
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  line-height: 1.25;
  text-align: center;
}
.day__labels b {
  display: block;
  color: var(--text);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ---------- Abschnitte ---------- */

.section {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}
.section__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 6vw, 64px);
}
.section__head h2 {
  font-size: clamp(2.6rem, 10vw, 4.6rem);
}
.section__head p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 18px;
}
@media (min-width: 900px) {
  .section__head {
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 48px;
  }
  .section__head p {
    justify-self: end;
  }
}

/* ---------- Videos ---------- */

.reel-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(74vw, 300px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin-inline: calc(-1 * var(--edge));
  padding-inline: var(--edge);
  scroll-padding-inline: var(--edge);
  padding-bottom: 6px;
}
.reel-row::-webkit-scrollbar {
  display: none;
}
@media (min-width: 900px) {
  .reel-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    gap: 22px;
    row-gap: 22px;
  }
}

.reel {
  scroll-snap-align: start;
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-md);
  background: var(--raised);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.reel__poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
  transition: opacity 220ms var(--ease-out), filter 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.reel__dial {
  position: absolute;
  left: 50%;
  top: 15%;
  width: 64%;
  transform: translateX(-50%);
  height: auto;
  z-index: -1;
}
.reel__dial text {
  font-family: var(--display);
  fill: var(--muted);
}
.reel__tag {
  align-self: flex-start;
  padding: 5px 9px 4px;
  border-radius: 7px;
  background: var(--cat, var(--mint));
  color: var(--ink);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.reel__title {
  margin: auto 0 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(30px, 8.6vw, 38px);
  line-height: 1.12;
  text-wrap: balance;
}
@media (min-width: 900px) {
  .reel__title {
    font-size: clamp(26px, 2.5vw, 34px);
  }
}
.reel__title em {
  font-style: normal;
  background: var(--gelb);
  color: var(--ink);
  padding: 0 0.12em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.reel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.reel__play {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--ink);
  border: 0;
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.reel__play svg {
  width: 16px;
  height: 16px;
  margin-left: 3px;
  fill: currentColor;
}
.reel__open {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: inherit;
}
.reel__open:focus-visible {
  outline-offset: -4px;
}
@media (hover: hover) and (pointer: fine) {
  .reel {
    transition: transform 200ms var(--ease-out), border-color 200ms ease;
  }
  .reel:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.22);
  }
  .reel:hover .reel__play {
    transform: scale(1.06);
  }
}
.reel__open:active ~ .reel__poster .reel__play {
  transform: scale(0.94);
}

/* Zustimmung vor dem Laden */
.reel__consent {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px;
  background: rgba(13, 14, 26, 0.94);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.reel.is-asking .reel__consent {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s;
}
.reel.is-asking .reel__poster {
  filter: blur(6px);
  transform: scale(1.03);
  opacity: 0.5;
}
.reel__consent p {
  margin: 0;
}
.reel__consent strong {
  color: var(--text);
  font-weight: 700;
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
}
.reel__consent a {
  color: var(--text);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn--gelb {
  background: var(--gelb);
  color: var(--ink);
}
.btn--leise {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.reel__actions {
  display: grid;
  gap: 8px;
}
.reel__frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.reel__hint {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- So arbeiten wir ---------- */

.rules {
  display: grid;
  gap: clamp(40px, 6vw, 56px);
}
@media (min-width: 900px) {
  .rules {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }
}
.rule h3 {
  font-family: var(--display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.9rem, 7.5vw, 2.4rem);
  line-height: 1;
  margin: 0 0 14px;
}
.rule p {
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}
.rule p + p {
  margin-top: 12px;
}
.sourceline {
  display: inline-block;
  margin-top: 20px;
  line-height: 1.45;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--raised);
  font-size: 13px;
  font-weight: 650;
  color: var(--muted);
}
.sourceline b {
  color: var(--text);
  font-weight: 700;
}
/* ---------- Zahlen ---------- */

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.ledger caption {
  text-align: left;
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 14px;
}
.ledger th,
.ledger td {
  text-align: right;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}
.ledger th:first-child,
.ledger td:first-child {
  text-align: left;
}
.ledger thead th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0;
}
.ledger tbody th {
  font-weight: 700;
  font-size: 17px;
}
.ledger td {
  font-family: var(--display);
  font-size: clamp(1.6rem, 6.5vw, 2.4rem);
  line-height: 1;
}
.ledger tfoot td,
.ledger tfoot th {
  border-bottom: 0;
}
.ledger tfoot th {
  font-weight: 700;
  color: var(--muted);
}
.ledger tfoot td {
  color: var(--muted);
}

.records {
  list-style: none;
  margin: clamp(48px, 8vw, 80px) 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .records {
    grid-template-columns: 1.4fr 1fr;
  }
  .records li:first-child {
    grid-row: span 3;
  }
}
.record {
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--raised);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.record__value {
  font-family: var(--display);
  font-size: clamp(2.4rem, 11vw, 3.2rem);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
.record--top {
  justify-content: flex-end;
}
@media (min-width: 900px) {
  .record--top {
    min-height: 300px;
  }
}
.record--top .record__value {
  font-size: clamp(4rem, 21vw, 6rem);
  color: var(--gelb);
}
.record__what {
  margin: 0;
  font-weight: 600;
  font-size: 16.5px;
  max-width: 38ch;
}
.record__src {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.numbers__note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- Kontakt ---------- */

.contact {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
}
@media (min-width: 900px) {
  .contact {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.mail {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(1.6rem, 7.4vw, 2.6rem);
  line-height: 1.05;
  word-break: break-word;
  text-decoration: none;
  border-bottom: 3px solid var(--gelb);
  padding-bottom: 4px;
}
.contact p {
  color: var(--muted);
  max-width: 44ch;
}
.form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 28px);
  border-radius: var(--r-md);
  background: var(--raised);
}
.field {
  display: grid;
  gap: 7px;
}
.field label {
  font-size: 14px;
  font-weight: 700;
}
.field label small {
  font-weight: 600;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  caret-color: var(--gelb);
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 160ms ease;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #7d7f99;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--gelb);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--koralle);
}
.form__fine {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.form__status {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.5em;
}

/* ---------- Fußzeile ---------- */

.foot {
  border-top: 1px solid var(--line);
  padding-block: 48px 56px;
  font-size: 14px;
  color: var(--muted);
}
.foot__grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .foot__grid {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
  }
}
.foot__word {
  width: 96px;
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-weight: 700;
  color: var(--text);
}
.foot__links a {
  text-decoration: none;
}
.foot p {
  margin: 0;
}

/* Vorschau-Hinweis, kommt beim Start raus */
.preview-tag {
  padding: 7px var(--edge);
  background: var(--koralle);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
}

/* ---------- Rechtstexte ---------- */

.legal {
  padding-top: clamp(40px, 8vw, 88px);
  padding-bottom: var(--section);
}
.legal h1 {
  font-size: clamp(3rem, 13vw, 5.4rem);
  margin-bottom: 28px;
}
.legal__body {
  max-width: 68ch;
}
.legal__body h2 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  margin: 44px 0 10px;
}
.legal__body h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 26px 0 6px;
}
.legal__body p,
.legal__body li {
  color: #d5d6e3;
}
.legal__body ul {
  padding-left: 1.2em;
}
.legal__body li + li {
  margin-top: 6px;
}
.legal__body address {
  font-style: normal;
}
.legal__stand {
  color: var(--muted);
  font-size: 14px;
}
.platzhalter {
  background: rgba(255, 107, 87, 0.16);
  color: #ffb3a8;
  border: 1px dashed rgba(255, 107, 87, 0.6);
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 700;
}
.back {
  display: inline-flex;
  margin-bottom: 28px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--muted);
}

/* ---------- Auftritt beim Laden ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .enter {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  .js.is-ready .enter {
    opacity: 1;
    transform: none;
    filter: none;
    transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out), filter 640ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
  .reel.is-asking .reel__poster {
    transform: none;
  }
}

/* Rekord-Karte: Timer-Ring der Marke als Fläche, nur am großen Bildschirm */
.record--top {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 900px) {
  .record--top::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 320px;
    height: 320px;
    right: -60px;
    top: -70px;
    border-radius: 50%;
    border: 34px solid var(--track);
  }
}


/* ---------- Worum es geht: Handy bleibt stehen, Kapitel ziehen vorbei ---------- */

.story__grid {
  display: grid;
  gap: 24px;
}
.story__stage {
  position: sticky;
  top: 68px;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 12px 0 14px;
  margin-inline: calc(-1 * var(--edge));
  background: var(--ground);
}
.story__stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 40px;
  background: linear-gradient(var(--ground), transparent);
  pointer-events: none;
}
.phone {
  --p: 0;
  position: relative;
  width: min(54vw, 236px);
  aspect-ratio: 9 / 16;
  max-height: 46svh;
  border-radius: 30px;
  background: #07080f;
  border: 6px solid var(--raised);
  outline: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
@supports not (height: 1svh) {
  .phone { max-height: 46vh; }
}
/* Drei Schritte pro Thema: Frage, was dahinter steckt, Aha (wie Story-Balken) */
.phone__steps {
  position: absolute;
  left: 9%;
  right: 9%;
  top: 6%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  z-index: 3;
}
.phone__steps i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--track);
  overflow: hidden;
  position: relative;
}
.phone__steps i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  transform-origin: left;
  transform: scaleX(clamp(0, var(--p) * 3, 1));
}
.phone__steps i:nth-child(2)::after { transform: scaleX(clamp(0, var(--p) * 3 - 1, 1)); }
.phone__steps i:nth-child(3)::after { transform: scaleX(clamp(0, var(--p) * 3 - 2, 1)); }
.phone__mark {
  position: absolute;
  right: 8%;
  bottom: 4.5%;
  width: 13%;
  height: auto;
  border-radius: 8px;
  z-index: 3;
  opacity: 0.9;
}
.screen {
  --q: 0;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 15% 9% 9%;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 260ms var(--ease-out), transform 320ms var(--ease-out);
}
.screen.is-on {
  opacity: 1;
  transform: none;
}
.screen__tag {
  align-self: flex-start;
  padding: 4px 7px 3px;
  border-radius: 6px;
  background: var(--c);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(9px, 2.4vw, 11px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Bild: drei Ebenen, je Schritt eine */
.scene {
  width: 80%;
  margin: 5% auto 2%;
  overflow: visible;
  fill: none;
  stroke: var(--c);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene .k {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transform-origin: 100px 100px;
  transition: opacity 280ms var(--ease-out), transform 360ms var(--ease-out);
}
.screen[data-b="0"] .k0,
.screen[data-b="1"] .k1,
.screen[data-b="2"] .k2 {
  opacity: 1;
  transform: none;
}
.scene text {
  font-family: var(--display);
  text-anchor: middle;
  text-transform: uppercase;
  fill: var(--c);
  stroke: none;
}
.scene .lbl { font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: 0.08em; fill: var(--muted); }
.scene .lbl.left { text-anchor: start; }
.scene .lbl.warn { fill: var(--koralle); }
.scene .big { font-size: 30px; }
.scene .huge { font-size: 68px; fill: var(--text); }
.scene .hd { font-size: 18px; fill: var(--ink); }
.scene text.wt { fill: var(--text); }
.scene .dim { stroke: var(--track); }
.scene .thin { stroke-width: 5; }
.scene .w { stroke: var(--text); }
.scene .solid { fill: var(--c); }
.scene .dot { fill: var(--c); stroke: none; }
.scene .tyre { stroke: var(--text); stroke-width: 14; }
.scene .x { stroke: var(--koralle); stroke-width: 12; }
.scene .sign { fill: #2C64D8; stroke: var(--text); stroke-width: 6; }
.scene .red { fill: var(--koralle); stroke: none; }
.scene .off { fill: var(--track); stroke: none; }
.scene .alert { fill: var(--koralle); stroke: none; }
.scene .box { fill: #2a2412; }
.scene .tape { stroke-width: 4; }
.scene .vessel {
  fill: var(--koralle);
  stroke: none;
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleY(calc(0.6 + var(--q) * 2));
}

/* Bewegung innerhalb eines Schritts (--q von 0 bis 1) */
.scene .draw {
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - min(1, 0.4 + var(--q) * 1.2) * 100);
}
.scene .snow {
  fill: var(--text);
  stroke: none;
  opacity: 0.6;
  transform: translateY(calc(var(--q) * 30px));
}
.scene .snow.s2 { transform: translateY(calc(var(--q) * 18px)); }
.scene .steam {
  stroke-width: 5;
  opacity: 0.7;
  transform: translateY(calc(var(--q) * -10px));
}
.scene .steam.st2 { transform: translateY(calc(var(--q) * -16px)); }
.scene .heat { opacity: calc(0.2 + var(--q) * 0.8); transform: translateY(calc(var(--q) * -8px)); }
.scene .heat path, .scene .out { stroke-width: 5; }
.scene .out { stroke-dasharray: 8 0; opacity: calc(0.35 + var(--q) * 0.65); }

/* Text im Handy: drei Zeilen übereinander, je Schritt eine */
.caps {
  display: grid;
  margin-top: auto;
}
.cap {
  grid-area: 1 / 1;
  align-self: end;
  margin: 0 16% 0 0;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(16px, 4.8vw, 23px);
  line-height: 1.1;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out);
}
.cap1 {
  font-family: var(--sans);
  text-transform: none;
  font-weight: 800;
  font-size: clamp(12px, 3.4vw, 16px);
  line-height: 1.3;
}
.screen[data-b="0"] .cap0,
.screen[data-b="1"] .cap1,
.screen[data-b="2"] .cap2 {
  opacity: 1;
  transform: none;
}
.cap em {
  font-style: normal;
  white-space: nowrap;
  background: var(--gelb);
  color: var(--ink);
  padding: 0 0.12em;
  border-radius: 4px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.cap b {
  display: inline-block;
  margin-right: 0.3em;
  padding: 0.05em 0.3em 0;
  border-radius: 4px;
  background: var(--c);
  color: var(--ink);
  font-weight: 400;
}

/* Kapitel links: Thema, drei Schritte, Quelle */
.story__chapters {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ch;
}
.chapter {
  counter-increment: ch;
  position: relative;
  min-height: 120svh;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.chapter:last-child { min-height: 100svh; }
.chapter__body { position: relative; }
.chapter__body::before {
  content: counter(ch, decimal-leading-zero) " / 05";
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--track);
  transition: color 240ms ease;
}
.chapter.is-on .chapter__body::before { color: var(--c); }
.chapter__name {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 11vw, 4.2rem);
  line-height: 1;
  color: var(--track);
  transition: color 240ms ease;
}
.chapter.is-on .chapter__name { color: var(--text); }
.chapter__lead {
  margin: 0;
  max-width: 40ch;
  font-size: 17px;
}
.beats {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.beat {
  position: relative;
  padding-left: 26px;
  max-width: 46ch;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--track);
  transition: color 240ms ease;
}
.beat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid currentColor;
  transition: background-color 240ms ease;
}
.beat:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(0.35em + 14px);
  bottom: -12px;
  width: 2px;
  background: currentColor;
  opacity: 0.4;
}
.beat__label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.beat.is-done { color: var(--muted); }
.beat.is-on { color: var(--text); }
.beat.is-on::before { background: var(--c); border-color: var(--c); }
.beat.is-on .beat__label { color: var(--c); }
.chapter__src {
  margin: 20px 0 0;
  font-size: 12.5px;
  color: var(--muted);
}
.chapter__more {
  margin: 10px 0 0;
  font-size: 13.5px;
  max-width: 50ch;
}
.chapter__more b { color: var(--text); font-weight: 700; }
/* Ohne JavaScript: alles lesbar */
html:not(.js) .beat { color: var(--text); }
html:not(.js) .chapter__name { color: var(--text); }

@media (max-width: 899px) {
  /* Am Handy erzählt das Handy oben die Schritte, darunter steht der volle Text */
  .chapter { min-height: 110svh; }
  .chapter:last-child { min-height: 80svh; }
}

@media (min-width: 900px) {
  .story__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
  .story__stage {
    order: 2;
    top: calc(50svh - 290px + 34px);
    background: none;
    box-shadow: none;
    padding: 0;
    margin-inline: 0;
  }
  .story__stage::after { display: none; }
  .phone {
    width: 326px;
    max-height: none;
    border-radius: 40px;
    border-width: 8px;
  }
  .cap { font-size: 30px; }
  .cap1 { font-size: 17px; }
  .screen__tag { font-size: 12px; }
  .chapter {
    isolation: isolate;
    min-height: 130svh;
  }
  .chapter:last-child { min-height: 110svh; }
  .chapter__body {
    position: sticky;
    top: calc(50svh - 230px + 34px);
  }
  .chapter__body::after {
    content: counter(ch, decimal-leading-zero);
    position: absolute;
    right: 0;
    top: -20px;
    z-index: -1;
    font-family: var(--display);
    font-size: 220px;
    line-height: 1;
    color: var(--raised);
    transition: color 400ms ease;
  }
  .chapter:not(.is-on) .chapter__body { opacity: 0.55; transition: opacity 300ms ease; }
}


/* ---------- Wann was kommt ---------- */

.slots {
  list-style: none;
  margin: clamp(18px, 4vw, 36px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
@media (min-width: 900px) {
  .slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
.slot {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--raised);
  border: 1px solid transparent;
  color: var(--muted);
  transition: color 220ms ease, border-color 220ms ease, transform 260ms var(--ease-out), opacity 220ms ease;
}
.slot__time {
  flex: none;
  font-family: var(--display);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  line-height: 1;
}
.slot h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
}
.slot p {
  margin: 2px 0 0;
  font-size: 14.5px;
  line-height: 1.4;
}
.slot { color: var(--text); position: relative; }
.slot p { color: var(--muted); }
.slot.is-next { border-color: var(--gelb); }
.slot.is-next::after {
  content: "Als Nächstes";
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 3px 8px 2px;
  border-radius: 6px;
  background: var(--gelb);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aha600 {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted);
  max-width: 60ch;
}
.aha600 strong { color: var(--text); }

/* ---------- Quellen-Wand ---------- */

.sources {
  margin-top: clamp(48px, 8vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.sources__label {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.sources__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.55em;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(1.7rem, 7vw, 3.2rem);
  line-height: 1.12;
  color: var(--track);
}
.sources__list li {
  transition: color 200ms ease;
}
.sources__list li:not(:last-child)::after {
  content: "·";
  margin-left: 0.55em;
  color: var(--track);
}
@media (hover: hover) and (pointer: fine) {
  .sources__list li:hover { color: var(--text); }
}

/* ---------- Kleine Details und Easter Eggs ---------- */

.egg-dot {
  display: inline-block;
  cursor: default;
  transition: transform 200ms var(--ease-out);
}
.egg-dot.is-bang {
  transform: rotate(-6deg) scale(1.08);
}
.timer__svg { cursor: default; -webkit-user-select: none; user-select: none; }
.cookie {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline dotted rgba(167, 169, 194, 0.5);
  text-underline-offset: 0.25em;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  max-width: min(92vw, 420px);
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--text);
  color: var(--ink);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
}
.toast.is-on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s;
}
.confetti {
  position: fixed;
  z-index: 70;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 4px solid var(--gelb);
  border-right-color: var(--track);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scene .k, .cap, .screen { transition: none; }
  .scene .snow, .scene .steam, .scene .heat, .scene .vessel { transform: none; }
}

/* ---------- iPhone: kompakter und übersichtlicher (Kuba, 30.11.2026); iPad bleibt wie gehabt ---------- */
@media (max-width: 699px) {
  /* Themen: kleineres Handy, Text darunter zeigt nur den aktuellen Schritt ausführlich */
  .phone { width: min(46vw, 200px); max-height: 38svh; border-radius: 26px; border-width: 5px; }
  .cap { font-size: clamp(14px, 4.2vw, 19px); margin-right: 18%; }
  .cap1 { font-size: clamp(11px, 3.2vw, 14px); }
  .chapter { min-height: 100svh; padding-top: 22px; }
  .chapter:last-child { min-height: 72svh; }
  .chapter__body::before { margin-bottom: 6px; }
  .chapter__name { font-size: clamp(2rem, 9vw, 2.6rem); margin-bottom: 6px; }
  .chapter__lead { font-size: 15px; line-height: 1.45; }
  .beats { margin-top: 16px; gap: 10px; }
  .beat { font-size: 15px; padding-left: 24px; }
  .js .beat:not(.is-on) { font-size: 0; line-height: 0; padding-block: 4px; max-width: none; }
  .js .beat:not(.is-on) .beat__label { line-height: 1.2; }
  .js .beat:not(.is-on)::before { top: 4px; }
  .beat__label { margin-bottom: 2px; }
  .chapter__src { margin-top: 14px; font-size: 12px; }
  .chapter__more { font-size: 12.5px; color: var(--muted); }

  /* Rekorde: als Reihe zum Wischen statt vier großer Karten untereinander */
  .records {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--edge));
    padding: 0 var(--edge) 6px;
    scrollbar-width: none;
  }
  .records::-webkit-scrollbar { display: none; }
  .record { flex: 0 0 78%; scroll-snap-align: start; scroll-margin-left: var(--edge); }
  .record--top { flex-basis: 86%; }
  .record--top .record__value { font-size: clamp(3.2rem, 16vw, 4.4rem); }
  .record__what { font-size: 15px; }

  /* Quellen-Wand und Timer etwas kleiner */
  .sources__list { font-size: clamp(1.25rem, 6vw, 1.6rem); color: #3b4066; }
  .timer { max-width: 250px; }
}

/* ---------- Menü am Handy und Tablet ---------- */
.top__end { display: flex; align-items: center; gap: 10px; }
.burger {
  display: grid;
  place-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--raised);
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.burger:active { transform: scale(0.95); }
.burger i {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 260ms var(--ease-out);
}
.top.is-open .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.top.is-open .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 899px) {
  .nav {
    position: fixed;
    /* Kopfzeile hat backdrop-filter, deshalb gilt die Position relativ zu ihr */
    top: 68px;
    left: 0;
    right: 0;
    height: calc(100svh - 68px);
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 0 var(--edge) 12svh;
    background: var(--ground);
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(2.4rem, 12vw, 3.4rem);
    line-height: 1.15;
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s linear 260ms;
  }
  .top.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 220ms var(--ease-out), transform 260ms var(--ease-out), visibility 0s;
  }
  .nav a { display: block; padding: 4px 0; }
  .nav a:active { color: var(--gelb); }
  html.menu-open { overflow: hidden; }
}
@media (min-width: 900px) {
  .burger { display: none; }
}

/* Quelle im Handy-Bild: nur am iPhone sichtbar (dort fehlt der Text daneben) */
.screen__src { display: none; }

/* ---------- iPhone: Themen als ganze Bildschirme, wie eine Story ---------- */
@media (max-width: 699px) {
  .story__stage {
    top: 68px;
    height: calc(100svh - 68px);
    padding: 0;
    align-items: stretch;
  }
  .story__stage::after { display: none; }
  .phone {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: var(--ground);
  }
  .phone__steps { left: var(--edge); right: var(--edge); top: 14px; }
  .screen { padding: 34px var(--edge) calc(18px + env(safe-area-inset-bottom)); }
  .screen__tag { font-size: 12px; padding: 5px 9px 4px; }
  .scene { width: min(78vw, 46svh); margin: auto; }
  .caps {
    margin-top: 0;
    padding: 18px 18px 16px;
    border-radius: 20px;
    background: rgba(26, 28, 46, 0.78);
    border: 1px solid var(--line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .caps::before {
    grid-row: 1;
    grid-column: 1;
    align-self: start;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c);
  }
  .screen[data-b="0"] .caps::before { content: "1 / 3 · Die Frage"; }
  .screen[data-b="1"] .caps::before { content: "2 / 3 · Was dahinter steckt"; }
  .screen[data-b="2"] .caps::before { content: "3 / 3 · Das Aha"; }
  .cap { grid-row: 2; margin: 10px 0 0; font-size: clamp(22px, 6.6vw, 28px); }
  .cap1 { font-size: clamp(16px, 4.6vw, 19px); }
  .screen__src {
    display: block;
    grid-row: 3;
    margin: 10px 0 0;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--muted);
    visibility: hidden;
  }
  .screen[data-b="2"] .screen__src { visibility: visible; }
  .phone__mark { display: none; }
  /* Der Text daneben bleibt für Vorleseprogramme da, das Bild erzählt */
  /* Kapitel liegen unsichtbar hinter dem Bild; so bleibt das Bild in seinem Abschnitt und ragt nicht in den nächsten */
  .story__grid { gap: 0; }
  .story__chapters { margin-top: calc(-100svh + 68px); }
  .chapter { min-height: 95svh; border-top: 0; }
  .chapter:last-child { min-height: 175svh; }
  .js .chapter__body { opacity: 0; }
}


/* =====================================================================
   Szenen beim Scrollen und Akzente (Kuba, 30.11.2026 abends:
   „Nutze überall das Scroll-Erlebnis, es fehlen Akzente“)
   Flächen in den Themenfarben, keine Verläufe, keine Glows.
   ===================================================================== */

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

/* ---------- Überschriften fahren beim Auftauchen hoch ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .section__head h2 {
    clip-path: inset(0 0 100% 0);
    transform: translateY(0.35em);
    transition: clip-path 700ms var(--ease-out), transform 700ms var(--ease-out);
  }
  .js .section__head p {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 600ms var(--ease-out) 160ms, transform 600ms var(--ease-out) 160ms;
  }
  .js .section__head.is-in h2 { clip-path: inset(-0.2em -0.2em -0.2em -0.2em); transform: none; }
  .js .section__head.is-in p { opacity: 1; transform: none; }
}

/* ---------- Farbflut: Ring läuft ab, Gelb füllt den Schirm ---------- */
.flood { position: relative; height: 100svh; }
.js .flood { height: 280svh; }
.flood__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.flood__ring {
  position: absolute;
  width: min(68vmin, 520px);
  height: auto;
}
.flood__track, .flood__arc { fill: none; stroke-width: 12; }
.flood__track { stroke: var(--track); }
.flood__arc {
  stroke: var(--gelb);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}
.flood__count {
  position: absolute;
  font-family: var(--display);
  font-size: min(24vmin, 180px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.flood__fill {
  position: absolute;
  inset: 0;
  background: var(--gelb);
  clip-path: circle(0px at 50% 50%);
}
.flood__words {
  position: relative;
  z-index: 2;
  margin: 0;
  padding-inline: var(--edge);
  display: grid;
  justify-items: center;
  text-align: center;
  color: var(--ink);
  font-size: clamp(3.2rem, 12vw, 9rem);
  line-height: 0.98;
}
.flood__words span {
  display: block;
  opacity: var(--w, 0);
  transform: translateY(calc((1 - var(--w, 0)) * 0.5em)) scale(calc(0.92 + var(--w, 0) * 0.08));
}
html:not(.js) .flood__fill { clip-path: none; }
html:not(.js) .flood__words span { opacity: 1; transform: none; }

/* ---------- Die besten Videos: Karten in Themenfarbe, Reihe zieht seitlich ---------- */
.reel-row { counter-reset: rank; }
.reel {
  counter-increment: rank;
  background: var(--cat, var(--mint));
  border: 0;
  color: var(--ink);
}
.reel__poster::after {
  content: counter(rank, decimal-leading-zero);
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  color: var(--ink);
}
.reel__tag { background: var(--ink); color: var(--cat, var(--mint)); }
.reel__title { color: var(--ink); }
.reel__title em { background: var(--ink); color: var(--cat, var(--gelb)); }
.reel__meta { color: rgba(13, 14, 26, 0.72); }
.reel__play { background: var(--ink); color: var(--cat, var(--mint)); }
.reel__dial circle { stroke: rgba(13, 14, 26, 0.16); }
.reel__dial circle + circle { stroke: var(--ink); }
.reel__dial text { fill: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .reel:hover { border-color: transparent; }
}

/* ---------- Bänder zwischen den Bereichen ---------- */
.band {
  overflow: hidden;
  padding-block: clamp(34px, 6vw, 60px);
}
.band__tape {
  width: 130%;
  margin-left: -15%;
  transform: rotate(-3deg);
}
.band--gelb .band__tape { background: var(--gelb); color: var(--ink); transform: rotate(2.5deg); }
.band--dunkel .band__tape { background: var(--raised); }
.band__row {
  display: flex;
  width: max-content;
  white-space: nowrap;
  padding-block: 14px 10px;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: clamp(2rem, 6.5vw, 4.4rem);
  line-height: 1;
  transform: translate3d(var(--x, 0px), 0, 0);
  will-change: transform;
}
.band__row span { padding-inline: 0.4em; }
.band__row span::after { content: "●"; margin-left: 0.8em; font-size: 0.4em; vertical-align: middle; }
.band--dunkel .band__row span { color: var(--c); }

/* ---------- Themen: der aktive Name leuchtet in seiner Farbe ---------- */
.chapter.is-on .chapter__name { color: var(--c); }

/* ---------- Sendeplan: Kacheln fahren ein, der nächste ist gelb ---------- */
.slot.is-next { background: var(--gelb); border-color: var(--gelb); color: var(--ink); }
.slot.is-next p { color: rgba(13, 14, 26, 0.75); }
.slot.is-next::after { background: var(--ink); color: var(--gelb); }
@media (prefers-reduced-motion: no-preference) {
  .js .slots .slot {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), background-color 300ms ease;
  }
  .js .slots .slot:nth-child(2) { transition-delay: 120ms; }
  .js .slots .slot:nth-child(3) { transition-delay: 240ms; }
  .js .slots.is-in .slot { opacity: 1; transform: none; }
}

/* ---------- Zahlen: die Summe zählt beim Scrollen hoch ---------- */
.js #zahlen { padding-top: 0; }
.tally { position: relative; }
.js .tally.is-pinned { height: 360svh; }
.tally__pin { padding-top: var(--section); }
.tally.is-pinned .tally__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
}
.tally__pin > .wrap { width: 100%; }
.tally__total {
  display: block;
  font-family: var(--display);
  font-size: clamp(4.6rem, 20vw, 15rem);
  line-height: 0.9;
  color: var(--gelb);
  font-variant-numeric: tabular-nums;
}
.tally__label { margin: 10px 0 0; font-weight: 600; color: var(--muted); }
.tally__bars { display: grid; gap: 14px; margin-top: clamp(24px, 4vh, 44px); }
.tally__bar {
  display: grid;
  grid-template-columns: minmax(84px, 120px) 1fr minmax(5.5ch, auto);
  align-items: center;
  gap: 14px;
  font-weight: 700;
}
.tally__bar i {
  position: relative;
  height: 18px;
  border-radius: 9px;
  background: var(--track);
  overflow: hidden;
}
.tally__bar i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--c);
  transform-origin: left center;
  transform: scaleX(var(--w, 0));
}
.tally__bar b { font-family: var(--display); font-weight: 400; font-size: clamp(1.3rem, 4vw, 2rem); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 699px) {
  .tally__bar { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .tally__bar i { grid-column: 1 / -1; grid-row: 2; height: 14px; }
}

/* Rekord-Karte in Gelb */
.record--top { background: var(--gelb); color: var(--ink); }
.record--top .record__value { color: var(--ink); }
.record--top .record__src { color: rgba(13, 14, 26, 0.7); }
.record--top::before { border-color: rgba(13, 14, 26, 0.12) !important; }

@media (prefers-reduced-motion: reduce) {
  .js .flood { height: 100svh; }
  .flood__fill { clip-path: none; }
  .flood__words span { opacity: 1; transform: none; }
}
/* Tabellen halten sich nicht an width: 1px; fest stehend zählt sie nicht zur Seitenbreite */
table.vh-only { position: fixed !important; left: 0; top: 0; }
.reel__title { line-height: 1.17; }

/* ---------- Das kommt als Nächstes (aus der Postliste, zweimal am Tag) ---------- */
.slot__news { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.slot.is-next .slot__news { color: rgba(13, 14, 26, 0.7); }
.soon { margin-top: clamp(48px, 7vw, 84px); }
.soon__head { font-size: clamp(1.9rem, 6vw, 3rem); margin: 0 0 20px; }
.soon__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) { .soon__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .soon__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 699px) {
  .soon__list {
    grid-auto-flow: column;
    grid-auto-columns: 78vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--edge));
    padding-inline: var(--edge);
    scroll-padding-inline: var(--edge);
    padding-bottom: 6px;
  }
  .soon__list::-webkit-scrollbar { display: none; }
  .soon__card { scroll-snap-align: start; }
}
.soon__card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 20px 20px 18px;
  border-radius: var(--r-md);
  background: var(--raised);
  border-top: 6px solid var(--cat, var(--gelb));
}
.soon__card[hidden] { display: none; }
.soon__card::after {
  content: "?";
  position: absolute;
  z-index: -1;
  right: 4px;
  bottom: -46px;
  font-family: var(--display);
  font-size: 190px;
  line-height: 1;
  color: var(--cat, var(--gelb));
  opacity: 0.16;
}
.soon__when { font-size: 14px; font-weight: 700; color: var(--muted); }
.soon__when b { font-size: 16px; color: var(--text); }
.soon__tag {
  align-self: flex-start;
  padding: 5px 9px 4px;
  border-radius: 7px;
  background: var(--cat, var(--gelb));
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.soon__q {
  margin: auto 0 0;
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  line-height: 1.16;
  text-wrap: balance;
}
.soon__q em {
  font-style: normal;
  background: var(--cat, var(--gelb));
  color: var(--ink);
  padding: 0 0.12em;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.soon__hint { font-size: 13px; font-weight: 600; color: var(--muted); }
.soon__hint::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--cat, var(--gelb)); }
@media (prefers-reduced-motion: no-preference) {
  .js .soon__list .soon__card {
    opacity: 0;
    transform: perspective(900px) rotateX(-28deg) translateY(36px);
    transform-origin: 50% 0;
    transition: opacity 600ms var(--ease-out), transform 800ms var(--ease-out);
    transition-delay: calc(var(--k, 0) * 90ms);
  }
  .js .soon__list.is-in .soon__card { opacity: 1; transform: none; }
}

/* ---------- Das kommt als Nächstes: Kartenstapel blättert beim Scrollen ab ---------- */
.soon__now, .soon__count { display: none; }
.soon.is-pinned { position: relative; }
.soon.is-pinned .soon__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  align-content: center;
  gap: clamp(18px, 3vh, 32px);
  padding-top: 68px;
  overflow-x: clip;
}
@media (min-width: 900px) {
  .soon.is-pinned .soon__pin { grid-template-columns: 1fr minmax(0, 440px); align-items: center; gap: 56px; }
}
.soon.is-pinned .soon__head { margin: 0 0 6px; }
.soon.is-pinned .soon__now {
  display: block;
  margin: 0;
  font-size: clamp(3rem, 13vw, 7.5rem);
  line-height: 0.92;
  color: var(--now, var(--gelb));
  transition: color 300ms ease;
}
.soon.is-pinned .soon__count {
  display: block;
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.soon.is-pinned .soon__list {
  position: relative;
  display: block;
  overflow: visible;
  margin: 0;
  padding: 0;
  height: min(46svh, 330px);
  width: min(100%, 440px);
  justify-self: center;
}
.soon.is-pinned .soon__card {
  position: absolute;
  inset: 0;
  min-height: 0;
  opacity: 1;
  transition: none;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.04);
}
.soon.is-pinned .soon__q { font-size: clamp(1.7rem, 7vw, 2.4rem); }
.soon.is-pinned .soon__card::after { font-size: 240px; bottom: -60px; }
@media (max-width: 899px) {
  .soon.is-pinned .soon__now { font-size: clamp(2.4rem, 12vw, 4.4rem); }
  .soon.is-pinned .soon__side { text-align: left; }
}
@media (max-width: 699px) {
  .soon.is-pinned .soon__list { height: min(42svh, 300px); width: 100%; }
}

/* =====================================================================
   Jede Erlebniswelt für sich (Kuba, 30.11.2026 abends)
   Videos: Handy-Feed · Sendeplan: ein Tag läuft ab · So arbeiten wir:
   Skriptblatt mit Stempeln · Zahlen: Zählwerk · Kontakt: Chat
   ===================================================================== */

/* ---------- Videos: Länge als Leiste unten wie im Feed ---------- */
.reel__len { display: block; margin-top: 12px; }
.reel__len i { display: block; height: 6px; border-radius: 3px; background: rgba(13, 14, 26, 0.18); position: relative; overflow: hidden; }
.reel__len i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--l, 0.5)); }
.reel__len b { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: rgba(13, 14, 26, 0.72); }
.feed__rank { display: none; }

/* ---------- Videos: ein Handy, der Feed wischt beim Scrollen weiter ---------- */
.reels.is-pinned { padding-block: 0; }
.reels.is-pinned .reels__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 64px;
}
.reels.is-pinned .reels__pin > .wrap {
  width: 100%;
  display: grid;
  gap: 18px;
  justify-items: center;
}
.reels.is-pinned .section__head { margin: 0; justify-self: stretch; position: relative; z-index: 2; }
.reels.is-pinned .feed {
  --pw: min(70vw, 300px, calc((100svh - 330px) * 0.5625));
  display: grid;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 14px;
}
.reels.is-pinned .feed__rank {
  display: grid;
  justify-items: end;
  align-self: center;
  line-height: 0.85;
}
.reels.is-pinned .feed__rank b {
  font-weight: 400;
  font-size: clamp(3.4rem, 12vw, 11rem);
  color: var(--now, var(--mint));
  transition: color 300ms ease;
}
.reels.is-pinned .feed__rank span { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; margin-top: 8px; }
.reels.is-pinned .feed__phone {
  position: relative;
  width: var(--pw);
  aspect-ratio: 9 / 16;
}
.reels.is-pinned .reel-row {
  position: absolute;
  inset: 0;
  display: block;
  overflow: visible;
  margin: 0;
  padding: 0;
  scroll-snap-type: none;
}
.reels.is-pinned .reel {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  will-change: transform, opacity;
}
.reels.is-pinned .reel__poster { padding: 18px 16px 16px; }
.reels.is-pinned .reel__poster::after { display: none; }
.reels.is-pinned .reel__title { font-size: clamp(20px, calc(var(--pw) * 0.1), 32px); line-height: 1.14; }
.reels.is-pinned .reel__len { margin-top: 10px; }
@media (min-width: 900px) {
  .reels.is-pinned .reels__pin > .wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 48px; }
  .reels.is-pinned .section__head { grid-template-columns: 1fr; gap: 22px; }
  .reels.is-pinned .section__head h2 { font-size: clamp(3.4rem, 6vw, 5.6rem); }
  .reels.is-pinned .section__head p { max-width: 40ch; justify-self: start; }
  .reels.is-pinned .feed { --pw: min(330px, calc((100svh - 140px) * 0.5625)); gap: 28px; }
}
@media (max-width: 699px) {
  .reels.is-pinned .section__head p { font-size: 14px; line-height: 1.45; }
  .reels.is-pinned .feed { --pw: min(64vw, calc((100svh - 350px) * 0.5625)); }
}

/* ---------- Wann was kommt: ein Tag läuft ab ---------- */
.day { position: relative; }
.day__sky, .day__clock { display: none; }
.js .day.is-pinned { height: 340svh; }
.js #sendeplan:has(.day.is-pinned) { padding-top: 0; }
.day.is-pinned .day__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background: var(--sky);
  color: var(--sky-ink);
  transition: background-color 600ms ease, color 600ms ease;
}
.day { --sky: var(--ground); --sky-ink: var(--text); --sky-muted: var(--muted); --ground-c: var(--raised); }
.day[data-sky="morgen"] { --sky: var(--track); }
.day[data-sky="tag"] { --sky: var(--cyan); --sky-ink: var(--ink); --sky-muted: rgba(13, 14, 26, 0.72); --ground-c: #2bb3d4; }
.day[data-sky="abend"] { --sky: var(--koralle); --sky-ink: var(--ink); --sky-muted: rgba(13, 14, 26, 0.72); --ground-c: #e2513e; }
.day[data-sky="nacht"] { --sky: var(--ground); --ground-c: var(--raised); }
.day.is-pinned .section__head p { color: var(--sky-muted); }
.day.is-pinned .day__wrap { position: relative; z-index: 2; width: 100%; }
.day.is-pinned .day__sky {
  display: block;
  position: absolute;
  inset: 0;
  container-type: size;
  pointer-events: none;
}
.day__ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--horizon, 40%);
  background: var(--ground-c);
  transition: background-color 600ms ease;
}
.day__sun, .day__moon {
  position: absolute;
  left: 0;
  bottom: var(--horizon, 40%);
  width: clamp(64px, 12vmin, 120px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(calc(var(--sx, 8) * 1cqw - 50%), calc(50% - var(--sy, 0) * 1cqh));
}
.day__sun { background: var(--gelb); z-index: 0; }
.day[data-sky="tag"] .day__sun { background: #fff; }
.day__moon { background: var(--text); overflow: hidden; z-index: 0; --sy: -20; }
.day__moon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--sky); transform: translate(28%, -14%); transition: background-color 600ms ease; }
.day[data-sky="tag"] .day__moon, .day[data-sky="morgen"] .day__moon { visibility: hidden; }
.day.is-pinned .day__ground { z-index: 1; }
.day.is-pinned .day__clock {
  display: block;
  margin: 0 0 clamp(10px, 2vh, 24px);
  font-size: clamp(4.4rem, 18vw, 12rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.day.is-pinned .slots { position: relative; }
.js .day.is-pinned .slots .slot {
  opacity: 0;
  transition-delay: 0ms;
  transform: translateY(40px) scale(0.96);
  transition: opacity 300ms var(--ease-out), transform 420ms var(--ease-out), background-color 300ms ease;
  background: var(--ink);
  color: var(--text);
  border-color: transparent;
}
.day.is-pinned .slot p { color: var(--muted); }
.js .day.is-pinned .slots .slot.is-on { opacity: 1; transform: none; }
.day.is-pinned .slot.is-next { background: var(--gelb); color: var(--ink); }
.day.is-pinned .slot.is-next p { color: rgba(13, 14, 26, 0.75); }
.day.is-pinned { --horizon: 46%; }
@media (max-width: 699px) {
  .day.is-pinned { --horizon: 54%; }
  .day.is-pinned .section__head { margin-bottom: 10px; }
  .day.is-pinned .section__head p { font-size: 14px; }
  .day.is-pinned .day__clock { font-size: clamp(3.6rem, 19vw, 5rem); margin-bottom: 4vh; }
  .day.is-pinned .slots { gap: 8px; }
  .day.is-pinned .slot { padding: 12px 14px; }
  .day.is-pinned .slot > div > p:not(.slot__news) { display: none; }
}
@media (min-width: 900px) {
  .day.is-pinned .day__clock { margin-bottom: 12vh; }
}

/* ---------- So arbeiten wir: Skriptblatt, für jede Regel ein Stempel ---------- */
#so-arbeiten-wir { overflow-x: clip; }
.sheet {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(22px, 5vw, 56px);
  border-radius: 10px;
  background: #f6f4ee;
  color: var(--ink);
  transform: rotate(-1deg);
}
.sheet__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: clamp(18px, 3vw, 30px);
  border-bottom: 3px solid var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.sheet .rules { display: grid; grid-template-columns: 1fr; gap: 0; }
.sheet .rule {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  padding: clamp(18px, 3vw, 30px) 0;
  border-bottom: 1px dashed rgba(13, 14, 26, 0.3);
}
.sheet .rule__no {
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 0.9;
  width: 1.2ch;
}
.sheet .rule h3 { font-size: clamp(1.8rem, 5.6vw, 3rem); line-height: 1; margin: 0 0 10px; max-width: 14ch; }
.sheet .rule p { color: rgba(13, 14, 26, 0.78); max-width: 52ch; }
.sheet .sourceline { background: rgba(13, 14, 26, 0.08); color: rgba(13, 14, 26, 0.7); }
.sheet .sourceline b { color: var(--ink); }
.stamp {
  position: absolute;
  right: clamp(0px, 2vw, 18px);
  top: clamp(14px, 3vw, 28px);
  padding: 8px 14px 6px;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.4rem, 4.4vw, 2.4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transform: rotate(-12deg) scale(calc(2.4 - 1.4 * var(--k, 1)));
  opacity: var(--k, 1);
  transform-origin: 50% 50%;
  pointer-events: none;
}
.sheet .rule:nth-child(2) .stamp { transform: rotate(9deg) scale(calc(2.4 - 1.4 * var(--k, 1))); }
.sheet .rule:nth-child(3) .stamp { transform: rotate(-6deg) scale(calc(2.4 - 1.4 * var(--k, 1))); }
.js .sheet .rule .stamp { opacity: clamp(0, calc(var(--k, 0) * 3 - 2), 1); }
@media (prefers-reduced-motion: no-preference) {
  .sheet .rule.is-stamped { animation: stempel 260ms ease-out; }
}
@keyframes stempel { 30% { transform: translateY(3px); } }
@media (max-width: 699px) {
  .sheet { transform: rotate(-0.6deg); }
  .sheet .rule { grid-template-columns: 1fr; padding-top: 22px; }
  .sheet .rule__no { font-size: 2rem; }
  .sheet .rule h3 { max-width: 11ch; }
  .stamp { top: 18px; }
}
/* Quellen als Fußnoten mit Textmarker */
.sheet .sources {
  overflow: visible;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  border: 0;
}
.sheet .sources__label { padding: 0; margin: 0 0 10px; color: rgba(13, 14, 26, 0.6); font-size: 13px; font-weight: 700; }
.sheet .sources__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 4px 18px;
  width: auto;
  white-space: normal;
  list-style: none;
  counter-reset: fn;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 650;
  text-transform: none;
  line-height: 1.6;
  color: var(--ink);
  transform: none;
}
.sheet .sources__list li { counter-increment: fn; color: var(--ink); }
.sheet .sources__list li::before { content: "[" counter(fn) "] "; font-weight: 800; color: rgba(13, 14, 26, 0.5); }
.sheet .sources__list li::after { content: none; }
.sheet mark {
  color: inherit;
  padding: 0 3px;
  background: linear-gradient(var(--gelb), var(--gelb)) no-repeat 0 60% / calc(var(--m, 1) * 100%) 70%;
}

/* ---------- Zahlen: Zählwerk wie beim Kilometerzähler ---------- */
.odo { display: inline-flex; align-items: center; gap: clamp(3px, 0.6vw, 8px); color: var(--text); }
.odo__win {
  display: inline-block;
  height: 1.1em;
  overflow: hidden;
  padding-inline: 0.06em;
  border-radius: 0.1em;
  background: var(--raised);
  border: 2px solid var(--track);
  position: relative;
}
.odo__win::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--ground); opacity: 0.6; }
.odo__wheel { display: flex; flex-direction: column; will-change: transform; }
.odo__wheel span { display: block; height: 1.1em; line-height: 1.1em; text-align: center; }
.odo__sep { color: var(--gelb); }
.tally__total.odo { font-size: clamp(3rem, 14vw, 11rem); line-height: 1.1; }

/* ---------- Schreib uns: Fragen kommen wie Chatnachrichten ---------- */
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 560px;
  margin: 0 0 clamp(32px, 5vw, 56px);
}
.chat__msg {
  margin: 0;
  max-width: 82%;
  padding: 12px 18px;
  border-radius: 22px;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 19px);
}
.chat__msg--du { align-self: flex-end; background: var(--gelb); color: var(--ink); border-bottom-right-radius: 6px; }
.chat__msg--wir { align-self: flex-start; background: var(--raised); color: var(--text); border-bottom-left-radius: 6px; }
.chat__dots { display: none; gap: 5px; padding: 6px 0; }
.chat__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .js .chat__msg { opacity: 0; transform: translateY(16px) scale(0.92); transition: opacity 260ms var(--ease-out), transform 360ms var(--ease-out); }
  .js .chat__msg--du { transform-origin: 100% 100%; }
  .js .chat__msg--wir { transform-origin: 0 100%; }
  .js .chat.is-in .chat__msg { opacity: 1; transform: none; }
  .js .chat.is-in .chat__msg:nth-child(2) { transition-delay: 450ms; }
  .js .chat.is-in .chat__msg:nth-child(3) { transition-delay: 900ms; }
  .js .chat.is-in .chat__msg:nth-child(4) { transition-delay: 1500ms; }
  .js .chat:not(.is-done) .chat__dots { display: inline-flex; }
  .js .chat:not(.is-done) .chat__text { display: none; }
  .chat__dots i { animation: tippen 900ms ease-in-out infinite; }
  .chat__dots i:nth-child(2) { animation-delay: 150ms; }
  .chat__dots i:nth-child(3) { animation-delay: 300ms; }
}
@keyframes tippen { 50% { transform: translateY(-4px); opacity: 0.5; } }

/* ---------- Gute Frage (FAQ): jede Frage leuchtet Wort für Wort auf ---------- */
.faq__list { border-top: 2px solid var(--track); }
.faq__item { border-bottom: 2px solid var(--track); }
.faq__q {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  padding: clamp(18px, 3vw, 30px) 0;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 3px solid var(--gelb); outline-offset: 4px; border-radius: 6px; }
.faq__no { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; color: var(--muted); align-self: start; padding-top: 0.5em; }
.faq__text { font-size: clamp(1.7rem, 5.4vw, 3.6rem); line-height: 1.04; text-wrap: balance; }
.faq__text .w { color: #3b4066; transition: color 180ms linear; }
.faq__text .w.is-lit { color: var(--text); }
html:not(.js) .faq__text .w, .faq--still .faq__text .w { color: var(--text); }
.faq__item[open] .faq__text .w.is-lit, .faq__item[open] .faq__text .w { color: var(--gelb); }
.faq__plus { position: relative; width: clamp(34px, 5vw, 48px); aspect-ratio: 1; border-radius: 50%; background: var(--raised); flex: none; transition: background-color 200ms ease, transform 300ms var(--ease-out); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 40%; height: 3px; border-radius: 2px; background: var(--text); transform: translate(-50%, -50%); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus { background: var(--gelb); transform: rotate(135deg); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .faq__q:hover .faq__plus { background: var(--track); }
  .faq__item[open] .faq__q:hover .faq__plus { background: var(--gelb); }
}
.faq__a { margin: 0 0 clamp(20px, 3vw, 32px); padding-left: calc(2ch + clamp(12px, 2.4vw, 28px)); max-width: 62ch; font-size: clamp(16px, 1.8vw, 19px); color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .faq__item[open] .faq__a { animation: antwort 420ms var(--ease-out); }
}
@keyframes antwort { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 699px) {
  .faq__q { grid-template-columns: 1fr auto; }
  .faq__no { grid-column: 1 / -1; padding: 0; }
  .faq__a { padding-left: 0; }
}
/* Kopfzeile: sieben Punkte passen auch bei 900 px in eine Zeile */
@media (min-width: 900px) {
  .nav a { white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .nav { gap: 16px; font-size: 14px; }
}

/* ---------- So arbeiten wir übersichtlicher (Kuba, 30.11.2026 18:24): dunkel, drei Spalten, Stempel oben ---------- */
.sheet { max-width: none; padding: 0; border-radius: 0; background: none; color: var(--text); transform: none; }
.sheet__top { display: none; }
.sheet .rules { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--track); }
@media (min-width: 900px) {
  .sheet .rules { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 0; }
}
.sheet .rule {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 28px 0 32px;
  border-bottom: 2px solid var(--track);
}
@media (min-width: 900px) {
  .sheet .rule { padding: 30px 0 0; border-bottom: 0; border-top: 2px solid var(--track); }
}
.sheet .stamp { position: static; order: -1; margin: 0 0 22px; font-size: clamp(1.5rem, 4.4vw, 2.1rem); border-color: var(--ink); }
.sheet .rule__no { font-family: var(--sans); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; color: var(--muted); width: auto; margin-bottom: 8px; }
.sheet .rule__no::before { content: "Regel "; }
.sheet .rule h3 { font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1; margin: 0 0 12px; max-width: none; color: var(--text); }
.sheet .rule p { color: var(--muted); font-size: 16px; max-width: 44ch; }
.sheet .sourceline { background: var(--raised); color: var(--muted); }
.sheet .sourceline b { color: var(--text); }
.sheet .sources { margin-top: clamp(36px, 5vw, 56px); }
.sheet .sources__label { color: var(--muted); font-size: 14px; }
.sheet .sources__list { color: var(--text); font-size: 15px; }
.sheet .sources__list li { color: var(--text); }
.sheet .sources__list li::before { color: var(--muted); }
.sheet mark { color: var(--text); transition: color 160ms linear; }
.sheet mark.is-lit { color: var(--ink); }
@media (max-width: 699px) {
  .sheet .rule { padding-top: 24px; }
}

/* ---------- So arbeiten wir: eine Regel nach der anderen (Kuba, 30.11.2026 18:26) ---------- */
.rulestage__bar { display: none; }
.js #so-arbeiten-wir:has(.rulestage.is-pinned) { padding-top: 0; }
.rulestage.is-pinned { height: 380svh; }
.rulestage.is-pinned .rulestage__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 64px;
}
.rulestage.is-pinned .rulestage__pin > .wrap { width: 100%; }
.rulestage.is-pinned .section__head { margin-bottom: clamp(16px, 3vh, 32px); }
.rulestage.is-pinned .rulestage__bar { display: flex; gap: 8px; margin-bottom: clamp(18px, 3vh, 30px); }
.rulestage__bar i { flex: 1; height: 6px; border-radius: 3px; background: var(--track); position: relative; overflow: hidden; }
.rulestage__bar i::after { content: ""; position: absolute; inset: 0; background: var(--c, var(--gelb)); transform-origin: left; transform: scaleX(var(--f, 0)); }
.rulestage__bar i:nth-child(1) { --c: var(--gelb); }
.rulestage__bar i:nth-child(2) { --c: var(--cyan); }
.rulestage__bar i:nth-child(3) { --c: var(--koralle); }
.rulestage.is-pinned .sheet .rules {
  position: relative;
  display: block;
  border: 0;
  height: min(52svh, 440px);
}
.rulestage.is-pinned .sheet .rule {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: var(--ground);
  clip-path: inset(-60px calc(var(--q, 0) * 100%) -100svh calc((1 - var(--r, 1)) * 100%));
}
.rulestage.is-pinned .sheet .rule::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((1 - var(--r, 1)) * 100%);
  width: 14px;
  background: var(--c);
  opacity: calc((1 - var(--r, 1)) * 40);
}
.rulestage.is-pinned .sheet .rule:nth-child(1) { --c: var(--gelb); }
.rulestage.is-pinned .sheet .rule:nth-child(2) { --c: var(--cyan); }
.rulestage.is-pinned .sheet .rule:nth-child(3) { --c: var(--koralle); }
.rulestage.is-pinned .sheet .stamp { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: clamp(18px, 3vh, 30px); }
.rulestage.is-pinned .sheet .rule h3 { font-size: clamp(2.6rem, 8.4vw, 5.6rem); line-height: 0.95; max-width: 14ch; }
.rulestage.is-pinned .sheet .rule p { font-size: clamp(16px, 1.8vw, 20px); max-width: 48ch; }
.rulestage.is-pinned .sheet .rule__no::after { content: " von 3"; }
.sheet--src .sources { margin-top: 0; }
@media (max-width: 699px) {
  .rulestage.is-pinned .sheet .rules { height: min(60svh, 470px); }
  .rulestage.is-pinned .section__head p { font-size: 15px; }
}
@media (min-width: 900px) {
  .rulestage.is-pinned .sheet .rule::after {
    content: attr(data-stamp);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--display);
    font-size: min(46svh, 26vw);
    line-height: 0.8;
    color: var(--c);
  }
}
.rulestage.is-pinned .sheet .rule h3 { font-size: clamp(2.2rem, min(8.4vw, 8.5svh), 5.6rem); }
.rulestage.is-pinned .sheet .stamp { font-size: clamp(1.6rem, min(6vw, 5.4svh), 3.4rem); }
