/* ==========================================================================
   Teach the Brain · Gestaltung der Website
   Farben: Tinte, Schiefer, Papier, Bernstein
   Schriften: Fraunces (Überschriften), Atkinson Hyperlegible Next (Text)
   Beide Schriften liegen in assets/fonts und werden nicht von fremden Servern geladen.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff") format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic-latin.woff") format("woff");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-latin.woff") format("woff");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben und Maße ---------- */
:root {
  color-scheme: dark;

  --tinte: #212a35;
  --schiefer: #2b3541;
  --schiefer-hell: #36414e;
  --papier: #f2ece2;
  --bernstein: #e2a33e;

  /* abgeleitete Töne */
  --bernstein-hell: #edb65a;
  --bernstein-tief: #86570f;
  --tinte-tief: #171d25;
  --papier-karte: #fbf8f2;
  --text: var(--papier);
  --text-leise: rgba(242, 236, 226, 0.74);
  --linie: rgba(242, 236, 226, 0.13);
  --linie-stark: rgba(242, 236, 226, 0.26);
  --tinte-text-leise: rgba(20, 25, 31, 0.76);
  --tinte-linie: rgba(20, 25, 31, 0.14);
  /* Kopfzeile: Tinte, leicht durchscheinend (bei neuer Tinte-Farbe hier mit anpassen) */
  --kopf-grund: rgba(33, 42, 53, 0.88);
  --kopf-grund-stark: rgba(33, 42, 53, 0.95);

  --schrift-titel: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --schrift-text: "Atkinson Hyperlegible Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --breite: 1160px;
  --rand: clamp(16px, 4vw, 40px);
  --abschnitt: clamp(72px, 9vw, 128px);
  --radius: 18px;
  --radius-klein: 12px;
  --schatten: 0 24px 60px -30px rgba(0, 0, 0, 0.75);
  --kopf-hoehe: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf-hoehe) + 24px);
}

body {
  margin: 0;
  background: var(--tinte);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.125rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

[hidden] {
  display: none !important;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--schrift-titel);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.012em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}

h1 {
  font-size: clamp(2.35rem, 1.55rem + 3.9vw, 4.4rem);
  line-height: 1.02;
}

/* Große Überschriften im Schnitt für Plakatgrößen: etwas schmaler und kontrastreicher */
h1,
h2 {
  font-variation-settings: "opsz" 120;
}

.buch__titel,
.formular__titel,
.naechste-schritte h2 {
  font-variation-settings: normal;
}

h2 {
  font-size: clamp(1.95rem, 1.4rem + 2.3vw, 3.2rem);
}

h3 {
  font-size: clamp(1.28rem, 1.15rem + 0.5vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.akzent {
  font-style: italic;
  font-weight: 500;
  color: var(--bernstein);
}

:focus-visible {
  outline: 3px solid var(--bernstein);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprunglink {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-klein);
  background: var(--papier);
  color: var(--tinte);
  font-weight: 700;
  text-decoration: none;
}

.sprunglink:focus {
  top: 12px;
}

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

.abschnitt {
  padding-block: var(--abschnitt);
}

.abschnitt--oben-eng {
  padding-top: 0;
}

.abschnitt--eng {
  padding-block: clamp(24px, 4vw, 48px);
}

.abschnitt__kopf {
  display: grid;
  gap: 1rem;
  max-width: 44rem;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.leise {
  color: var(--text-leise);
}

/* Heller Abschnitt wie ein Rechenheft: Papier mit feinem Karomuster */
.abschnitt--papier {
  color-scheme: light;
  background-color: var(--papier);
  background-image:
    linear-gradient(rgba(20, 25, 31, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 25, 31, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: center top;
  color: var(--tinte);
}

.abschnitt--papier .leise {
  color: var(--tinte-text-leise);
}

.abschnitt--papier :focus-visible {
  outline-color: var(--tinte);
}

/* Kleine Überzeile mit Stationspunkt */
.vorzeile {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--schrift-text);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bernstein);
}

.vorzeile::before {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.abschnitt--papier .vorzeile {
  color: var(--bernstein-tief);
}

/* ---------- Knöpfe und Links ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 54px;
  padding: 0.85rem 1.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--bernstein);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 34px -16px rgba(226, 163, 62, 0.7);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.knopf:hover {
  background: var(--bernstein-hell);
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -16px rgba(226, 163, 62, 0.8);
}

.knopf:active {
  transform: translateY(0);
}

.knopf svg {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform 0.2s ease;
}

.knopf:hover svg {
  transform: translateX(3px);
}

.knopf--klein {
  min-height: 46px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  box-shadow: none;
}

.knopf--klein:hover {
  box-shadow: none;
}

.knopf--dunkel {
  background: var(--tinte);
  color: var(--papier);
  box-shadow: none;
}

.knopf--dunkel:hover {
  background: var(--tinte-tief);
  box-shadow: 0 14px 30px -18px rgba(13, 17, 21, 0.9);
}

.knopf--rand {
  background: transparent;
  color: var(--papier);
  border: 1.5px solid var(--linie-stark);
  box-shadow: none;
}

.knopf--rand:hover {
  background: rgba(242, 236, 226, 0.06);
  border-color: var(--papier);
  box-shadow: none;
}

.knopf[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

.pfeil-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--bernstein-tief);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.2s ease;
}

.pfeil-link svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s ease;
}

.pfeil-link:hover {
  border-bottom-color: currentColor;
}

.pfeil-link:hover svg {
  transform: translateX(3px);
}

.pfeil-link--hell {
  color: var(--bernstein);
}

/* Download-Link: der Pfeil zeigt nach unten und bewegt sich beim Überfahren nach unten */
.pfeil-link--laden:hover svg {
  transform: translateY(2px);
}

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--kopf-grund);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.kopf.ist-gescrollt {
  background: var(--kopf-grund-stark);
  border-bottom-color: var(--linie);
}

.kopf__innen {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--kopf-hoehe);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--papier);
  text-decoration: none;
}

.logo__zeichen {
  width: 44px;
  height: auto;
  flex: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.logo:hover .logo__zeichen {
  transform: rotate(-10deg);
}

.logo__wort {
  font-family: var(--schrift-titel);
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo__wort em {
  font-weight: 500;
  color: var(--bernstein);
}

.navi {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navi__liste {
  display: flex;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navi__link {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  color: var(--text-leise);
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.navi__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--bernstein);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.navi__link:hover,
.navi__link[aria-current="page"] {
  color: var(--papier);
}

.navi__link:hover::after,
.navi__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.menue-knopf {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--linie-stark);
  border-radius: var(--radius-klein);
  background: transparent;
  color: var(--papier);
  cursor: pointer;
}

.menue-knopf svg {
  width: 22px;
  height: 22px;
}

.menue-knopf .zu {
  display: none;
}

.kopf.ist-offen .menue-knopf .auf {
  display: none;
}

.kopf.ist-offen .menue-knopf .zu {
  display: block;
}

/* ---------- Startseite: Kopfbereich ---------- */
.held {
  position: relative;
  overflow: clip;
  padding-block: clamp(32px, 5vw, 80px) clamp(48px, 7vw, 96px);
}

.held > .huelle {
  position: relative;
  z-index: 1;
}

/* Kleines Extra: eine Gedankenblase an Franks Foto zeigt, was sein Gehirn sich gerade merkt */
.held__bild {
  position: relative;
}

.blase {
  position: absolute;
  top: 4.5%;
  right: 60%;
  z-index: 2;
  pointer-events: none;
}

.blase__wolke {
  position: relative;
  display: block;
  min-width: 5.5em;
  padding: 0.55em 1.05em 0.6em;
  border-radius: 1.5em;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: scale(0.4);
  transform-origin: 85% 100%;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.blase__text {
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.blase__text.ist-wort {
  font-family: var(--schrift-titel);
  font-style: italic;
  font-weight: 600;
}

.blase__text.ist-weg {
  opacity: 0;
  transform: translateY(-6px);
}

.blase__punkt {
  position: absolute;
  border-radius: 50%;
  background: var(--papier);
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1);
}

.blase__punkt--klein {
  right: -0.9em;
  bottom: -2.35em;
  width: 0.55em;
  height: 0.55em;
}

.blase__punkt--mittel {
  right: 0.1em;
  bottom: -1.35em;
  width: 0.9em;
  height: 0.9em;
}

.blase.ist-da .blase__punkt,
.blase.ist-da .blase__wolke {
  opacity: 1;
  transform: none;
}

.blase.ist-da .blase__punkt--mittel {
  transition-delay: 0.15s;
}

.blase.ist-da .blase__wolke {
  transition-delay: 0.3s;
}

.ziel-wort {
  display: inline-block;
  border-radius: 8px;
  transform-origin: 50% 60%;
}

.ziel-wort.ist-gefuellt {
  animation: gehirn-leuchten 1.9s ease-out;
}

@keyframes gehirn-leuchten {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(226, 163, 62, 0);
  }
  70% {
    color: #fff3df;
    transform: scale(1.08);
    text-shadow: 0 0 46px rgba(226, 163, 62, 0.95), 0 0 14px rgba(226, 163, 62, 0.75);
  }
  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(226, 163, 62, 0);
  }
}

.held__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.held__text {
  display: grid;
  gap: 1.6rem;
  justify-items: start;
}

.held__lead {
  max-width: 34ch;
  color: var(--text-leise);
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.38rem);
  line-height: 1.55;
}

.bildrahmen {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--schiefer);
  box-shadow: var(--schatten);
}

/* Das picture-Element (WebP mit JPEG als Rückfall) bildet keinen eigenen Rahmen */
.bildrahmen picture {
  display: contents;
}

.bildrahmen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bildrahmen:hover img {
  transform: scale(1.025);
}

.held__bild .bildrahmen,
.seitenkopf__bild .bildrahmen {
  aspect-ratio: 4 / 5;
}

/* Der Weg ins Gedächtnis: Bild, Geschichte, Ort */
.zutaten {
  display: grid;
  gap: 0.9rem;
  width: 100%;
  max-width: 380px;
  margin-top: 0.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--linie);
}

.zutaten__titel {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-leise);
}

.zutaten__route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.zutaten__route li {
  position: relative;
  padding-top: 26px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--papier);
}

.zutaten__route li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bernstein);
  box-shadow: 0 0 0 5px rgba(226, 163, 62, 0.16);
}

.zutaten__route li:nth-child(2)::before {
  background: var(--tinte);
  border: 3px solid var(--bernstein);
}

.zutaten__route li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 22px;
  right: 8px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--bernstein) 0 7px, transparent 7px 13px);
  opacity: 0.75;
}

/* ---------- Zahlenleiste ---------- */
.fakten {
  padding-bottom: clamp(24px, 4vw, 48px);
}

.fakten__liste {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--linie);
}

.fakt {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 1.9rem 1.5rem 1.9rem 1.6rem;
  border-left: 1px solid var(--linie);
}

.fakt:first-child {
  padding-left: 0;
  border-left: 0;
}

.fakt__zahl {
  font-family: var(--schrift-titel);
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--bernstein);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}

.fakt__text {
  color: var(--text-leise);
  font-size: 0.98rem;
  line-height: 1.45;
}

/* ---------- Kernidee ---------- */
.fakten + .abschnitt {
  padding-top: clamp(48px, 6vw, 88px);
}

.idee {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.idee__titel {
  display: grid;
  gap: 1rem;
}

.idee__titel h2 {
  font-size: clamp(2.2rem, 1.45rem + 2.9vw, 3.8rem);
  line-height: 1.04;
}

.idee__text {
  display: grid;
  gap: 1.2rem;
  max-width: 60ch;
  padding-top: 0.4rem;
  color: var(--text-leise);
  font-size: clamp(1.1rem, 1.05rem + 0.3vw, 1.25rem);
}

.idee__text p:first-child {
  color: var(--papier);
}

.idee__text strong {
  color: var(--papier);
  font-weight: 700;
}

/* ---------- Karten (Für wen) ---------- */
.karten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.karte {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--tinte-linie);
  border-radius: var(--radius);
  background: var(--papier-karte);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.karte:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 44px -30px rgba(20, 25, 31, 0.5);
}

.karte__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--tinte);
  color: var(--bernstein);
}

.karte__icon svg {
  width: 26px;
  height: 26px;
}

.karte p {
  color: var(--tinte-text-leise);
}

.karte .pfeil-link {
  margin-top: auto;
  align-self: flex-start;
}

/* Die Karten liegen wie Karteikarten auf dunklem Grund */
.karte {
  color: var(--tinte);
}

.karte:hover {
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.85);
}

.karte :focus-visible {
  outline-color: var(--tinte);
}

/* ---------- Gedächtnistest zum Ausprobieren ---------- */
/* Ohne JavaScript funktioniert der Test nicht, dann bleibt der Abschnitt ausgeblendet */
html:not(.js) #test {
  display: none;
}

.test-raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.test-raster .abschnitt__kopf {
  position: sticky;
  top: calc(var(--kopf-hoehe) + 32px);
  margin-bottom: 0;
}

.test {
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--tinte-linie);
  border-radius: var(--radius);
  background: var(--papier-karte);
  box-shadow: 0 30px 60px -42px rgba(20, 25, 31, 0.55);
  color: var(--tinte);
}

.test__schritt {
  display: grid;
  gap: 1.1rem;
  justify-items: start;
}

.test__schritt:focus,
.test__ergebnis:focus {
  outline: none;
}

.test__titel {
  font-family: var(--schrift-titel);
  font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.test__schritt .leise {
  max-width: 52ch;
}

/* Zeitbalken beim Merken */
.test__zeit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.test__balken {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--tinte-linie);
}

.test__balken span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--bernstein);
  transform-origin: left center;
  transition: transform 1s linear;
}

.test__sekunden {
  color: var(--tinte-text-leise);
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Die zehn Begriffe: zwei Spalten, von oben nach unten nummeriert wie bei einem Wettkampfbogen */
.test__woerter {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  gap: 0.6rem 1.1rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: wort;
}

.test__woerter li {
  counter-increment: wort;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 54px;
  padding: 0.5rem 0.9rem 0.5rem 0.6rem;
  border: 1.5px solid var(--tinte-linie);
  border-radius: var(--radius-klein);
  background: #fff;
  font-family: var(--schrift-titel);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
  hyphens: auto;
  overflow-wrap: anywhere;
  animation: wort-rein 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.test__woerter li::before {
  content: counter(wort);
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--bernstein);
  border-radius: 50%;
  color: var(--bernstein-tief);
  font-family: var(--schrift-text);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

@keyframes wort-rein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Vor dem Start: verdeckter Bogen als Vorschau */
.test__woerter--verdeckt li {
  animation: none;
  border-style: dashed;
  background: transparent;
}

.test__woerter--verdeckt li::after {
  content: "";
  flex: 1;
  max-width: 7rem;
  height: 10px;
  border-radius: 999px;
  background: var(--tinte-linie);
}

/* Auswertung: gewusst mit Häkchen, nicht gewusst gestrichelt */
.test__woerter .ist-gewusst {
  border-color: rgba(226, 163, 62, 0.75);
  background: #fdf1dc;
}

.test__woerter .ist-gewusst::before {
  content: "✓";
  border-color: var(--bernstein);
  background: var(--bernstein);
  color: var(--tinte);
  font-size: 0.95rem;
}

.test__woerter .ist-vergessen {
  border-style: dashed;
  border-color: rgba(20, 25, 31, 0.28);
  background: transparent;
  color: var(--tinte-text-leise);
  font-weight: 500;
}

.test__woerter .ist-vergessen::before {
  border-color: rgba(20, 25, 31, 0.22);
  color: var(--tinte-text-leise);
}

/* Nur für Screenreader, zum Beispiel „gewusst“ in der Auswertung */
.nur-vorlesen {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.test textarea {
  width: 100%;
  min-height: 132px;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(20, 25, 31, 0.24);
  border-radius: var(--radius-klein);
  background: #fffdf9;
  color: var(--tinte);
  font-family: inherit;
  font-size: 1.1rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.test textarea:hover {
  border-color: rgba(20, 25, 31, 0.42);
}

.test textarea:focus-visible {
  outline: none;
  border-color: var(--tinte);
  box-shadow: 0 0 0 4px rgba(226, 163, 62, 0.55);
}

.test__ergebnis {
  font-family: var(--schrift-titel);
  font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
}

.test__ergebnis strong {
  color: var(--bernstein-tief);
  font-weight: 700;
}

.test__zusatz {
  display: block;
  margin-top: 0.55rem;
  color: var(--tinte-text-leise);
  font-family: var(--schrift-text);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}

.test__geschichte,
.test__abschluss {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--tinte-linie);
}

.test__geschichte h3 {
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem);
}

.test__geschichte p {
  color: var(--tinte-text-leise);
}

.test__geschichte .test__story {
  padding: 1.1rem 1.25rem;
  border-left: 4px solid var(--bernstein);
  border-radius: 0 var(--radius-klein) var(--radius-klein) 0;
  background: #fdf1dc;
  color: var(--tinte);
  font-size: 1.12rem;
  line-height: 1.7;
}

.test__story strong {
  color: var(--bernstein-tief);
}

.test__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.8rem;
}

/* Heller Knopf mit dunklem Rand für helle Flächen */
.knopf--rand-dunkel {
  background: transparent;
  color: var(--tinte);
  border: 1.5px solid rgba(20, 25, 31, 0.35);
  box-shadow: none;
}

.knopf--rand-dunkel:hover {
  background: rgba(20, 25, 31, 0.05);
  border-color: var(--tinte);
  box-shadow: none;
}

/* Knopf, der wie ein Link aussieht */
.text-knopf {
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--tinte-text-leise);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(20, 25, 31, 0.3);
  text-underline-offset: 4px;
  cursor: pointer;
}

.text-knopf:hover {
  color: var(--tinte);
  text-decoration-color: currentColor;
}

/* ---------- Stimme aus dem Publikum ---------- */
.abschnitt--stimme {
  padding-block: clamp(64px, 8vw, 112px);
}

.stimme {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.stimme blockquote p {
  color: var(--tinte);
  font-family: var(--schrift-titel);
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.stimme .anf {
  color: var(--bernstein-tief);
}

.stimme figcaption {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  color: var(--tinte-text-leise);
  font-size: 1rem;
  font-weight: 700;
}

.stimme figcaption::before {
  content: "";
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: var(--bernstein);
}

/* Beispiel aus dem Unterricht mit der Formel der alkoholischen Gärung, wie auf einem Karteikärtchen */
.beispiel {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  max-width: 38rem;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: clamp(24px, 3.5vw, 36px) clamp(20px, 3.5vw, 40px);
  border: 1px solid var(--tinte-linie);
  border-radius: var(--radius);
  background: var(--papier-karte);
  text-align: center;
  box-shadow: 0 22px 40px -32px rgba(20, 25, 31, 0.45);
}

.beispiel__titel {
  color: var(--bernstein-tief);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.beispiel__formel {
  color: var(--tinte);
  font-family: var(--schrift-titel);
  font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* Die Formel bricht auf schmalen Handys nur hinter dem Pfeil um */
.beispiel__formel .am-stueck {
  white-space: nowrap;
}

.beispiel__formel sub {
  font-size: 0.6em;
  line-height: 1;
  vertical-align: -0.2em;
}

.beispiel__text {
  max-width: 32rem;
  color: var(--tinte-text-leise);
}

/* Kleines Zitat in den Angeboten „Vortrag“ und „Workshop“ */
.mini-zitat {
  display: grid;
  gap: 0.5rem;
  margin-block: 0.3rem;
  padding: 0.2rem 0 0.2rem 1.3rem;
  border-left: 3px solid var(--bernstein);
}

.mini-zitat p {
  color: var(--papier);
  font-family: var(--schrift-titel);
  font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}

.mini-zitat figcaption {
  font-size: 0.92rem;
}

/* ---------- Warum ich ---------- */
.bild-breit {
  display: grid;
  gap: 0.8rem;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.bild-breit .bildrahmen {
  aspect-ratio: 21 / 9;
}

.bild-breit .bildrahmen img {
  object-position: 50% 78%;
}

figcaption {
  color: var(--text-leise);
  font-size: 0.95rem;
  line-height: 1.45;
}

.saeulen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 52px);
}

.saeule {
  position: relative;
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding-top: 1.6rem;
  border-top: 2px solid var(--linie-stark);
}

.saeule::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bernstein);
  box-shadow: 0 0 0 5px var(--tinte);
}

.saeule p {
  color: var(--text-leise);
}

.mehr-link {
  margin-top: clamp(32px, 4vw, 48px);
}

/* ---------- Buch ---------- */
.buch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--schiefer);
}

.buch__cover {
  position: relative;
  display: grid;
  align-content: space-between;
  justify-items: start;
  width: clamp(96px, 12vw, 136px);
  aspect-ratio: 3 / 4;
  padding: 14px 12px 12px 22px;
  border-radius: 4px 12px 12px 4px;
  background:
    linear-gradient(90deg, rgba(13, 17, 21, 0.28) 0 9px, rgba(255, 255, 255, 0.18) 9px 10px, transparent 10px),
    var(--bernstein);
  color: var(--tinte);
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, 0.9);
  transform: rotate(-3deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.buch:hover .buch__cover {
  transform: rotate(0deg) translateY(-4px);
}

.buch__cover img {
  width: 46%;
  height: auto;
}

.buch__cover span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.buch__text {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.buch__titel {
  max-width: 28ch;
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2.1rem);
  font-weight: 500;
  line-height: 1.22;
}

/* ---------- Ablauf als Route mit Stationen ---------- */
.route {
  --lueck: clamp(24px, 3.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--lueck);
  margin: 0;
  padding: 0;
  list-style: none;
}

.station {
  position: relative;
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding-top: 68px;
}

.station__nr {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--bernstein);
  border-radius: 50%;
  background: var(--tinte);
  color: var(--bernstein);
  font-family: var(--schrift-titel);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.station:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 54px;
  right: calc(-1 * var(--lueck) + 8px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--bernstein) 0 8px, transparent 8px 15px);
  opacity: 0.7;
}

.station p {
  max-width: 34ch;
  color: var(--text-leise);
}

/* Flyer zum Weitergeben, unter den drei Schritten */
.flyer-hinweis {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.6rem;
  margin-top: clamp(36px, 4.5vw, 56px);
  padding-top: clamp(20px, 2.5vw, 28px);
  border-top: 1px solid var(--linie);
}

.flyer-hinweis p {
  max-width: 58ch;
  color: var(--text-leise);
}

/* Senkrechte Variante, zum Beispiel neben dem Formular */
.route--senkrecht {
  --lueck: 22px;
  grid-template-columns: minmax(0, 1fr);
}

.route--senkrecht .station {
  min-height: 40px;
  padding-top: 7px;
  padding-left: 58px;
}

.route--senkrecht .station__nr {
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
}

.route--senkrecht .station:not(:last-child)::after {
  top: 46px;
  left: 19px;
  right: auto;
  bottom: calc(-1 * var(--lueck) + 6px);
  width: 2px;
  height: auto;
  background: repeating-linear-gradient(180deg, var(--bernstein) 0 7px, transparent 7px 13px);
}

/* ---------- Abschluss mit Handlungsaufforderung ---------- */
.abschnitt--aufruf {
  padding-top: clamp(8px, 2vw, 24px);
  padding-bottom: clamp(56px, 7vw, 96px);
}

.abschnitt--papier + .abschnitt--aufruf {
  padding-top: clamp(48px, 6vw, 88px);
}

.aufruf {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 3rem;
  align-items: end;
  padding: clamp(32px, 6vw, 76px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--bernstein);
  color: var(--tinte);
}

.aufruf__text {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.aufruf__text p {
  color: rgba(20, 25, 31, 0.82);
  font-size: 1.15rem;
}

.aufruf .knopf {
  position: relative;
  z-index: 1;
}

.aufruf__route {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: min(760px, 90%);
  height: auto;
  color: var(--tinte);
  opacity: 0.13;
  pointer-events: none;
}

/* ---------- Unterseiten: Kopfbereich ---------- */
.seitenkopf {
  padding-block: clamp(36px, 6vw, 88px) clamp(40px, 6vw, 80px);
}

.seitenkopf__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.seitenkopf__text {
  display: grid;
  gap: 1.4rem;
  justify-items: start;
}

.seitenkopf__lead {
  max-width: 44ch;
  color: var(--text-leise);
  font-size: clamp(1.12rem, 1.05rem + 0.4vw, 1.32rem);
  line-height: 1.55;
}

.seitenkopf--schmal .huelle {
  display: grid;
  gap: 1.4rem;
  justify-items: start;
}

.seitenkopf__bild {
  display: grid;
  gap: 0.8rem;
}

/* ---------- Angebote ---------- */
.uebersicht {
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background: var(--schiefer);
}

.uebersicht__titel {
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-leise);
}

.uebersicht ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.uebersicht li + li {
  border-top: 1px solid var(--linie);
}

.uebersicht a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.uebersicht a span:first-child {
  font-weight: 700;
}

.uebersicht a span:first-child {
  min-width: 0;
}

.uebersicht__dauer {
  flex: 0 1 auto;
  max-width: 45%;
  color: var(--text-leise);
  font-size: 0.92rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.uebersicht a:hover span:first-child {
  color: var(--bernstein);
}

.angebot {
  padding-block: clamp(52px, 7vw, 96px);
  border-top: 1px solid var(--linie);
}

.angebot__raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.angebot__kopf {
  position: sticky;
  top: calc(var(--kopf-hoehe) + 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.1rem;
  justify-items: start;
}

.angebot__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1.5px solid rgba(226, 163, 62, 0.45);
  border-radius: 16px;
  color: var(--bernstein);
}

.angebot__icon svg {
  width: 28px;
  height: 28px;
}

.eckdaten {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  padding-top: 0.4rem;
}

.eckdaten div {
  display: grid;
  grid-template-columns: 5.6rem minmax(0, 1fr);
  gap: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--linie);
}

.eckdaten dt {
  padding-top: 0.2rem;
  color: var(--text-leise);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eckdaten dd {
  font-weight: 600;
  line-height: 1.45;
}

.angebot__text {
  display: grid;
  gap: 1.2rem;
  justify-items: start;
  max-width: 62ch;
  color: var(--text-leise);
}

.angebot__text .einstieg {
  color: var(--papier);
  font-size: clamp(1.18rem, 1.1rem + 0.35vw, 1.32rem);
  line-height: 1.55;
}

.angebot__text h3 {
  margin-top: 0.6rem;
  color: var(--papier);
  font-size: 1.2rem;
}

/* Hervorgehobener Merksatz in einem Angebot */
.merksatz {
  display: grid;
  gap: 0.4rem;
  justify-self: stretch;
  padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--bernstein);
  border-radius: 0 var(--radius-klein) var(--radius-klein) 0;
  background: rgba(226, 163, 62, 0.1);
  color: var(--papier);
}

.merksatz__titel {
  color: var(--bernstein);
  font-family: var(--schrift-titel);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.3;
}

.stationsliste {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stationsliste li {
  position: relative;
  padding-left: 1.9rem;
}

.stationsliste li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0.15rem;
  width: 11px;
  height: 11px;
  border: 2px solid var(--bernstein);
  border-radius: 50%;
}

.stationsliste strong {
  color: var(--papier);
  font-weight: 700;
}

/* ---------- Tipps für den Unterricht ---------- */
.tipp__nr {
  font-family: var(--schrift-titel);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
}

.tipps__autor {
  font-size: 0.95rem;
}

/* Nummerierte Schritte mit Zahlen im Bernsteinkreis */
.schritte {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: schritt;
}

.schritte li {
  position: relative;
  padding-left: 2.6rem;
  counter-increment: schritt;
}

.schritte li::before {
  content: counter(schritt);
  position: absolute;
  top: 0.05rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--bernstein);
  border-radius: 50%;
  color: var(--bernstein);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.angebot__text strong.hell {
  color: var(--papier);
}

.hinweise {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hinweis-karte {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--tinte-linie);
  border-radius: var(--radius);
  background: var(--papier-karte);
  color: var(--tinte);
}

.hinweis-karte h3 {
  font-family: var(--schrift-titel);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
}

.hinweis-karte p {
  color: var(--tinte-text-leise);
}

.hinweise__mehr {
  max-width: 44rem;
  margin-top: clamp(28px, 4vw, 44px);
  color: var(--tinte-text-leise);
}

.hinweise__mehr a {
  color: var(--tinte);
  font-weight: 700;
}

/* Beispielabläufe im Angebot „Fortbildung“: zwei Kärtchen mit Zeiten */
.ablauf {
  display: grid;
  gap: 1rem;
  justify-self: stretch;
}

.ablauf__einleitung {
  max-width: 62ch;
  margin-top: -0.4rem;
}

.ablauf__raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
  gap: 1rem;
}

.ablauf__karte {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: 1.1rem 1.2rem 1.25rem;
  border: 1px solid var(--linie);
  border-radius: var(--radius-klein);
  background: var(--schiefer);
}

.ablauf__karte h4 {
  margin: 0;
  color: var(--papier);
  font-family: var(--schrift-titel);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.ablauf__rahmen {
  margin-top: -0.35rem;
  color: var(--text-leise);
  font-size: 0.9rem;
}

.ablauf__liste {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ablauf__liste li {
  display: grid;
  grid-template-columns: 3.9rem minmax(0, 1fr);
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.ablauf__zeit {
  color: var(--bernstein);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ablauf__hinweis {
  font-size: 0.95rem;
}

/* Häufige Fragen */
.fragen-raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.fragen-raster .abschnitt__kopf {
  margin-bottom: 0;
}

.fragen {
  border-top: 1px solid var(--tinte-linie);
}

.frage {
  border-bottom: 1px solid var(--tinte-linie);
}

.frage summary {
  position: relative;
  padding: 1.3rem 3rem 1.3rem 0;
  list-style: none;
  cursor: pointer;
  color: var(--tinte);
  font-family: var(--schrift-titel);
  font-size: clamp(1.15rem, 1.08rem + 0.3vw, 1.3rem);
  font-weight: 600;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.frage summary::-webkit-details-marker {
  display: none;
}

.frage summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.3rem;
  width: 18px;
  height: 18px;
  background:
    linear-gradient(var(--bernstein-tief), var(--bernstein-tief)) center / 100% 2px no-repeat,
    linear-gradient(var(--bernstein-tief), var(--bernstein-tief)) center / 2px 100% no-repeat;
  transform: translateY(-50%);
  transition: transform 0.25s ease;
}

.frage[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.frage summary:hover {
  color: var(--bernstein-tief);
}

.frage__antwort {
  max-width: 60ch;
  padding: 0 3rem 1.5rem 0;
  color: var(--tinte-text-leise);
}

.abschnitt--papier a:not(.knopf) {
  color: var(--bernstein-tief);
  font-weight: 700;
}

/* ---------- Über mich ---------- */
.zweispaltig {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}

.zweispaltig > div:first-child {
  display: grid;
  gap: 1rem;
}

.fliesstext {
  display: grid;
  gap: 1.2rem;
  max-width: 62ch;
  color: var(--text-leise);
  font-size: clamp(1.08rem, 1.04rem + 0.2vw, 1.18rem);
}

.fliesstext p:first-child {
  color: var(--papier);
}

.adhs {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
}

.adhs__kopf {
  display: grid;
  gap: 1.4rem;
}

.adhs__satz {
  max-width: 20ch;
  font-family: var(--schrift-titel);
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.adhs__satz em {
  font-weight: 500;
  color: var(--bernstein-tief);
}

.adhs__text {
  display: grid;
  gap: 1rem;
  color: var(--tinte-text-leise);
}

.stationen {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}

.zeitleiste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zeitleiste li {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 0 0 2.2rem 2.6rem;
}

.zeitleiste li::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bernstein);
  box-shadow: 0 0 0 5px rgba(226, 163, 62, 0.14);
}

.zeitleiste li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.75rem;
  bottom: 0.25rem;
  left: 7px;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--bernstein) 0 7px, transparent 7px 13px);
  opacity: 0.6;
}

.zeitleiste li.ist-vortrag::before,
.zeitleiste li.ist-weiterbildung::before {
  background: var(--tinte);
  border: 3px solid var(--bernstein);
}

.zeitleiste__art {
  color: var(--bernstein);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.zeitleiste p:last-child {
  color: var(--text-leise);
}

/* Fotos neben der Zeitleiste: große Bilder über die ganze Breite, kleinere paarweise nebeneinander */
.stationen__bilder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
}

.stationen__bilder figure {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  grid-column: 1 / -1;
}

.stationen__bilder .ist-halb {
  grid-column: auto;
}

.stationen__bilder .bildrahmen {
  aspect-ratio: 16 / 9;
}

.stationen__bilder .ist-halb .bildrahmen {
  aspect-ratio: 4 / 3;
}

.stationen__bilder .ist-quadrat .bildrahmen {
  aspect-ratio: 1 / 1;
}

.stationen__bilder .ist-halb figcaption {
  font-size: 0.9rem;
}

/* Große Bildschirme: Die Fotos bleiben neben der längeren Zeitleiste stehen, während man scrollt */
@media (min-width: 821px) {
  .stationen__bilder {
    position: sticky;
    top: 104px;
  }
}

/* ---------- Presse ---------- */
/* Jeder Artikel als Zeile: links Quelle und Überschrift, rechts die Zusammenfassung */
.presse {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.presse__eintrag {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1rem clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid var(--tinte-linie);
  border-radius: var(--radius);
  background: var(--papier-karte);
  color: var(--tinte);
}

.presse__kopf {
  display: grid;
  gap: 0.8rem;
}

.presse__text {
  display: grid;
  gap: 0.8rem;
  max-width: 62ch;
  color: var(--tinte-text-leise);
}

.presse__quelle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--bernstein-tief);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Kleines Zeitungssymbol aus zwei Linien vor der Quelle */
.presse__quelle::before {
  content: "";
  flex: none;
  width: 18px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 3px;
  background: linear-gradient(currentColor, currentColor) 3px 3px / 8px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 3px 7px / 8px 2px no-repeat;
}

.presse__titel {
  font-family: var(--schrift-titel);
  font-size: clamp(1.25rem, 1.12rem + 0.45vw, 1.5rem);
  font-weight: 600;
  line-height: 1.22;
  text-wrap: balance;
}


.profilkarte {
  display: grid;
  gap: 1.3rem;
  justify-items: start;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1.5px dashed var(--linie-stark);
  border-radius: var(--radius);
  background: var(--schiefer);
}

.profilkarte p {
  max-width: 62ch;
}

.kopierzeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
}

.kopier-status {
  color: var(--text-leise);
  font-size: 0.95rem;
}

/* ---------- Kontakt ---------- */
.kontakt-raster {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.formular {
  color-scheme: light;
  display: grid;
  gap: 1.3rem;
  padding: clamp(22px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--papier);
  color: var(--tinte);
}

.formular :focus-visible {
  outline-color: var(--tinte);
}

.formular__titel {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
}

.feld-paar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.3rem;
}

.feld {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.feld label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.feld .hinweis {
  font-weight: 400;
  color: rgba(20, 25, 31, 0.62);
}

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 0.95rem;
  border: 1.5px solid rgba(20, 25, 31, 0.24);
  border-radius: var(--radius-klein);
  background: #fffdf9;
  color: var(--tinte);
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feld select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314191f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 20px 20px;
}

.feld textarea {
  min-height: 170px;
  resize: vertical;
}

.feld input::placeholder,
.feld textarea::placeholder {
  color: rgba(20, 25, 31, 0.45);
}

.feld input:hover,
.feld select:hover,
.feld textarea:hover {
  border-color: rgba(20, 25, 31, 0.42);
}

.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
  outline: none;
  border-color: var(--tinte);
  box-shadow: 0 0 0 4px rgba(226, 163, 62, 0.55);
}

/* Unsichtbares Feld gegen Spam-Programme */
.honig {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formular__fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 0.4rem;
}

.formular__hinweis {
  max-width: 38ch;
  color: rgba(20, 25, 31, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.formular__hinweis a {
  color: var(--bernstein-tief);
  font-weight: 700;
}

.meldung {
  padding: 1rem 1.15rem;
  border-radius: var(--radius-klein);
  font-weight: 600;
  line-height: 1.5;
}

.meldung--ok {
  background: #e3eed8;
  color: #1f3a12;
}

.meldung--fehler {
  background: #f6ddd4;
  color: #5c1d0e;
}

.meldung--info {
  background: #efe3cb;
  color: #4a3208;
}

.ziel-meldung {
  display: none;
}

.ziel-meldung:target {
  display: block;
}

.js .ziel-meldung:target {
  display: none;
}

.kontakt-info {
  display: grid;
  gap: 2rem;
  align-content: start;
}

.person {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.person img {
  width: 76px;
  height: 76px;
  flex: none;
  border: 2px solid var(--bernstein);
  border-radius: 50%;
  object-fit: cover;
}

.person__name {
  font-family: var(--schrift-titel);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.kontakt-daten {
  display: grid;
  gap: 0.9rem;
}

.kontakt-daten div {
  display: grid;
  gap: 0.15rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--linie);
}

.kontakt-daten dt {
  color: var(--text-leise);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kontakt-daten dd {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.kontakt-daten a {
  text-decoration-color: rgba(226, 163, 62, 0.6);
  text-underline-offset: 3px;
}

.kontakt-daten a:hover {
  color: var(--bernstein);
}

.naechste-schritte {
  display: grid;
  gap: 1.2rem;
}

.naechste-schritte h2 {
  font-size: 1.3rem;
}

.naechste-schritte .station p {
  color: var(--text-leise);
  font-size: 1rem;
}

/* ---------- Rechtliche Seiten ---------- */
.rechtstext {
  display: grid;
  gap: 1rem;
  max-width: 68ch;
  color: var(--text-leise);
}

.rechtstext h2 {
  margin-top: 1.4rem;
  color: var(--papier);
  font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.55rem);
  line-height: 1.25;
}

.rechtstext h2:first-child {
  margin-top: 0;
}

.rechtstext a {
  color: var(--bernstein);
  text-underline-offset: 3px;
}

.rechtstext strong {
  color: var(--papier);
}

/* ---------- Fehlerseite ---------- */
.fehler-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 0.6rem;
}

/* ---------- Fußzeile ---------- */
.fuss {
  padding-block: clamp(48px, 6vw, 72px) 32px;
  border-top: 1px solid var(--linie);
  color: var(--text-leise);
  font-size: 1rem;
}

.fuss__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.fuss__marke {
  display: grid;
  gap: 1rem;
  justify-items: start;
  max-width: 34rem;
}

.fuss__titel {
  margin-bottom: 0.9rem;
  color: var(--papier);
  font-family: var(--schrift-text);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fuss ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fuss a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.fuss a:hover {
  color: var(--papier);
  text-decoration: underline;
  text-decoration-color: var(--bernstein);
  text-underline-offset: 4px;
}

.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--linie);
  font-size: 0.9rem;
}

/* ---------- Sanftes Einblenden beim Scrollen ---------- */
/* Inhalte sind immer sichtbar. Nur Elemente knapp unterhalb des Bildschirms
   werden kurz vorbereitet und blenden beim Hineinscrollen sanft ein. */
.js [data-zeigen].ist-bereit {
  opacity: 0;
  transform: translateY(22px);
}

.js [data-zeigen].ist-sichtbar {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Tablet und Handy ---------- */
@media (max-width: 1020px) {
  .fakten__liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fakt:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .fakt:nth-child(n + 3) {
    border-top: 1px solid var(--linie);
  }

  .karten {
    grid-template-columns: minmax(0, 1fr);
  }

  .karte {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.3rem;
    row-gap: 0.6rem;
  }

  .karte__icon {
    grid-row: span 3;
  }

  .karte .pfeil-link {
    margin-top: 0.2rem;
  }

  .saeulen {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.2rem;
  }
}

@media (max-width: 820px) {
  :root {
    --kopf-hoehe: 66px;
  }

  body {
    font-size: 1.0625rem;
  }

  .menue-knopf {
    display: inline-flex;
  }

  .navi {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 1.2rem;
    padding: 0.5rem var(--rand) 1.6rem;
    border-bottom: 1px solid var(--linie);
    background: var(--tinte);
    box-shadow: 0 30px 40px -30px rgba(0, 0, 0, 0.8);
  }

  .js .kopf:not(.ist-offen) .navi {
    display: none;
  }

  .navi__liste {
    flex-direction: column;
    gap: 0;
  }

  .navi__link {
    display: block;
    padding-block: 0.95rem;
    border-bottom: 1px solid var(--linie);
    font-size: 1.2rem;
  }

  .navi__link::after {
    display: none;
  }

  .navi__link[aria-current="page"] {
    color: var(--bernstein);
  }

  .navi .knopf {
    width: 100%;
    min-height: 54px;
    font-size: 1.0625rem;
  }

  .logo__zeichen {
    width: 40px;
    height: auto;
  }

  .logo__wort {
    font-size: 1.2rem;
  }

  /* Startseite auf dem Handy: Text mit Knopf zuerst, Foto flacher darunter */
  .held__raster,
  .seitenkopf__raster,
  .idee,
  .zweispaltig,
  .adhs,
  .stationen,
  .angebot__raster,
  .fragen-raster,
  .kontakt-raster,
  .test-raster {
    grid-template-columns: minmax(0, 1fr);
  }

  .held__bild .bildrahmen,
  .seitenkopf__bild .bildrahmen {
    aspect-ratio: 4 / 3;
  }

  .blase {
    top: 6%;
    right: auto;
    left: 5%;
  }

  .blase__wolke {
    font-size: 0.9rem;
  }

  /* Etwas mehr Luft im Kopfbereich, damit die Animation auf dem Handy Platz hat */
  .held {
    padding-block: 80px 72px;
  }

  .held__raster {
    gap: 64px;
  }

  .zutaten {
    display: none;
  }

  .angebot__kopf,
  .test-raster .abschnitt__kopf {
    position: static;
  }

  .route {
    grid-template-columns: minmax(0, 1fr);
    --lueck: 30px;
  }

  .station {
    min-height: 46px;
    padding-top: 8px;
    padding-left: 64px;
  }

  .station:not(:last-child)::after {
    top: 52px;
    left: 22px;
    right: auto;
    bottom: calc(-1 * var(--lueck) + 6px);
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--bernstein) 0 8px, transparent 8px 15px);
  }

  .route--senkrecht .station:not(:last-child)::after {
    top: 46px;
    left: 19px;
  }

  .aufruf {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .aufruf .knopf {
    justify-self: start;
  }

  .fuss__raster {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .fuss__marke {
    grid-column: 1 / -1;
  }

  /* Fotos auf dem Handy: eine Leiste zum seitlichen Wischen, das nächste Foto schaut schon herein */
  .stationen__bilder {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(82%, 360px);
    gap: 14px;
    margin-inline: calc(-1 * var(--rand));
    padding: 6px var(--rand) 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--rand);
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 163, 62, 0.55) transparent;
  }

  .stationen__bilder figure,
  .stationen__bilder .ist-halb {
    grid-column: auto;
    scroll-snap-align: start;
  }

  .stationen__bilder .bildrahmen,
  .stationen__bilder .ist-halb .bildrahmen,
  .stationen__bilder .ist-quadrat .bildrahmen {
    aspect-ratio: 4 / 3;
  }

  .stationen__bilder .fokus-oben img {
    object-position: 50% 35%;
  }

  .stationen__bilder .fokus-links img {
    object-position: 35% 50%;
  }

  .stationen__bilder figcaption,
  .stationen__bilder .ist-halb figcaption {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .presse__eintrag {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1020px) {
  .hinweise {
    grid-template-columns: minmax(0, 1fr);
    max-width: 40rem;
  }
}

@media (max-width: 560px) {
  .feld-paar {
    grid-template-columns: minmax(0, 1fr);
  }

  .fakt {
    padding: 1.4rem 0.9rem 1.4rem 1.1rem;
  }

  .fakt__text {
    font-size: 0.92rem;
  }

  .buch {
    grid-template-columns: minmax(0, 1fr);
  }

  .buch__cover {
    width: 92px;
  }

  .bild-breit .bildrahmen {
    aspect-ratio: 16 / 9;
  }

  .knopf {
    width: 100%;
  }

  .navi .knopf,
  .held .knopf {
    width: 100%;
  }

  .profilkarte .knopf,
  .fehler-links .knopf {
    width: auto;
  }

  .formular__fuss .knopf {
    width: 100%;
  }

  .eckdaten div {
    grid-template-columns: 5.4rem minmax(0, 1fr);
  }

  .frage summary {
    padding-right: 2.4rem;
  }

  .frage__antwort {
    padding-right: 0;
  }

  .test__woerter {
    gap: 0.5rem 0.6rem;
  }

  .test__woerter li {
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.45rem 0.45rem 0.45rem 0.45rem;
    font-size: 1.04rem;
  }

  .test__woerter li::before {
    width: 26px;
    height: 26px;
    font-size: 0.78rem;
  }

  .test__geschichte .test__story {
    padding: 0.95rem 1rem;
    font-size: 1.06rem;
  }

  .text-knopf {
    width: auto;
  }
}

/* Sehr schmale Handys */
@media (max-width: 380px) {
  .fakt {
    padding-left: 0.8rem;
    padding-right: 0.4rem;
  }

  .fakt__zahl {
    font-size: 1.5rem;
  }

  .fakt__text {
    font-size: 0.88rem;
  }

  /* Karten „Für wen“: Symbol über dem Text, damit der Text die ganze Breite nutzt */
  .karte {
    grid-template-columns: minmax(0, 1fr);
  }

  .karte__icon {
    grid-row: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .js [data-zeigen].ist-bereit {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .kopf,
  .aufruf,
  .fuss {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .js [data-zeigen].ist-bereit {
    opacity: 1;
    transform: none;
  }

  /* Beim Drucken keine Wischleiste, sondern alle Fotos im Raster */
  .stationen__bilder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
}
