/* Gemeinsam für alle Seiten von notat.app. Farben aus Sources/Notat/UI/Brand.swift,
   Schrift Inter laut Designgrundlagen §10, selbst gehostet (der Workflow kopiert sie aus
   Resources/schriften/). Nie Google Fonts, kein Skript von fremden Servern. */
@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("schriften/InterVariable.woff2") format("woff2");
}
:root {
  --grund: #F5F7FB; --flaeche: #FFFFFF; --tinte: #172033; --leise: #667085;
  --linie: #E3E8F0; --blau: #2864F0; --koralle: #FF5C57; --auf-blau: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #172033; --flaeche: #1E293F; --tinte: #E7ECF5; --leise: #9AA4B8;
    --linie: #2C3852; --blau: #6B96F5; --auf-blau: #0B1220;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--grund); color: var(--tinte);
  font: 17px/1.6 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blau); }
.rahmen { max-width: 68rem; margin: 0 auto; padding-inline: 1.25rem; }

/* Kopfleiste */
.leiste-innen { display: flex; align-items: center; gap: 1.5rem; padding-block: .8rem; }
.marke { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 1.1rem; color: var(--tinte); text-decoration: none; }
.marke img { width: 32px; height: 32px; }

/* Knöpfe */
.knopf {
  display: inline-block; padding: 0.7rem 1.3rem; border-radius: 10px; font-weight: 600;
  text-decoration: none; font-size: 1rem; border: 1px solid var(--linie); color: var(--tinte);
}
.knopf.haupt { background: var(--blau); border-color: var(--blau); color: var(--auf-blau); }
.knopf.klein { padding: 0.45rem 0.9rem; font-size: 0.9rem; }

/* Kopf mit Claim und Bild 1 */
.kopf { text-align: center; padding-block: 3.5rem 2rem; }
.kopf h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; letter-spacing: -0.025em; margin: 0 auto 1rem; max-width: 22ch; }
.kopf .unter { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--leise); margin: 0 auto 2rem; max-width: 34ch; }
.kopf .knoepfe { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 0.9rem; }
.kopf .fakten { font-size: 0.9rem; color: var(--leise); margin: 0 0 2.5rem; }

/* Bilder und Platzhalter. Platzhalter bleiben, bis die Aufnahmen aus #138 da sind. */
.bild { margin: 0; }
.bild img { width: 100%; height: auto; display: block; border-radius: 12px; }
/* Ausschnitte (Bild 2–5) sind weiß und brauchen eine Kante zum Seitengrund; Bild 1 hat
   die Fensterschatten der Aufnahme. */
.bild img.rand { border: 1px solid var(--linie); box-shadow: 0 12px 32px rgba(23, 32, 51, 0.10); }

/* Abschnitte 2–5, Bild abwechselnd links und rechts. nth-of-type zählt den Kopf als
   ersten <section> mit, deshalb steht Bild 2 (zweite <section>) bei „even“ links. */
.abschnitt { display: grid; grid-template-columns: 2fr 3fr; gap: 3rem; align-items: center; padding-block: 3.5rem; border-top: 1px solid var(--linie); }
.abschnitt .bild { order: 2; }
.abschnitt:nth-of-type(even) { grid-template-columns: 3fr 2fr; }
.abschnitt:nth-of-type(even) .bild { order: 0; }
.abschnitt p { margin: 0; color: var(--leise); }

/* Nachweis */
.nachweis { text-align: center; padding-block: 4.5rem 3rem; border-top: 1px solid var(--linie); }
.nachweis > p { color: var(--leise); max-width: 40rem; margin: 0 auto 1.5rem; }
.nachweis .erwartet { margin-bottom: .4rem; }
/* Nebensächliches klein und aufklappbar, damit es den Lesefluss nicht unterbricht
   (Ausnahmen im Nachweis, Hinweise zur Aufnahme in Schritt 4) */
.mehr { font-size: .88rem; color: var(--leise-kopf); }
.mehr summary { cursor: pointer; display: inline-block; color: var(--blau-text); font-weight: 600; }
.mehr p { margin: .6rem 0 0; }
.ausnahmen { max-width: 40rem; margin: 0 auto 2rem; }
.terminal-rahmen { position: relative; max-width: 40rem; margin: 0 auto 1.5rem; }
.terminal {
  text-align: left; border-radius: 12px; padding: 1.1rem 1.25rem; padding-right: 7rem;
  background: #0F172A; color: #E2E8F0; font: 0.95rem/1.7 ui-monospace, Menlo, monospace;
  /* Umbrechen statt abschneiden (Rückmeldung 08.10.2026) */
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.kopieren { position: absolute; top: .7rem; right: .7rem; padding: .3rem .7rem; border-radius: 8px; cursor: pointer;
  font: 600 .8rem/1.4 inherit; font-family: inherit; color: #E2E8F0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); }
.kopieren:hover { background: rgba(255,255,255,.18); }
@media (max-width: 760px) { .terminal { padding-right: 1.25rem; padding-top: 3rem; } }
.terminal .ein { color: #94A3B8; user-select: none; }

/* Fußzeile */
.fuss { border-top: 1px solid var(--linie); padding-block: 2rem 3rem; font-size: 0.9rem; color: var(--leise); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.fuss a { color: var(--leise); }

/* Textseiten (Impressum, Datenschutz) */
.text { max-width: 44rem; padding-block: 2rem 4rem; }
.text h1 { font-size: 2.2rem; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
.text h2 { font-size: 1.25rem; margin: 2.2rem 0 0.5rem; }
.text .stand { color: var(--leise); margin-top: 0; }
.text table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.text th, .text td { text-align: left; vertical-align: top; padding: 0.5rem 0.75rem 0.5rem 0; border-bottom: 1px solid var(--linie); }
.tabelle { overflow-x: auto; }

@media (max-width: 760px) {
  .abschnitt, .abschnitt:nth-of-type(even) { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2.5rem; }
  .abschnitt .bild, .abschnitt:nth-of-type(even) .bild { order: 0; }
  .kopf { padding-block: 2rem 1rem; }
}

/* ===== Bewegung und Vorführung (#139, 05.10.2026) ===================================== */

/* Kopf zweispaltig: links Claim, rechts Vorführung; Bild 1 darunter über die volle Breite */
.kopf { text-align: left; }
/* Farbschein: eigener Behälter in Fensterbreite mit abgeschnittenem Rand. Ein über den
   Rand ragendes Pseudo-Element direkt im Kopf ließ die Seite seitlich scrollen. */
body { position: relative; }
.schein { position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 52rem; overflow: hidden; pointer-events: none; }
.schein::before {
  content: ""; position: absolute; inset: -4rem -15% 0; filter: blur(40px);
  background:
    radial-gradient(38% 45% at 28% 40%, rgba(40, 100, 240, .20), transparent 70%),
    radial-gradient(32% 40% at 72% 35%, rgba(255, 92, 87, .17), transparent 70%),
    radial-gradient(30% 35% at 55% 70%, rgba(52, 191, 163, .12), transparent 70%);
}
.kopf-raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; margin-bottom: 3.5rem; }
.kopf h1, .kopf .unter { margin-left: 0; }
.kopf .knoepfe { justify-content: flex-start; }
.kopf .fakten { margin-bottom: 0; }

/* Knöpfe mit leichtem Anheben */
.knopf { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.knopf:hover { transform: translateY(-1px); }
.knopf.haupt:hover { box-shadow: 0 10px 28px rgba(40, 100, 240, .35); }

/* Vorführung: Editor-Karte und kleiner Kalender */
.vorfuehrung {
  display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; border-radius: 16px; overflow: hidden;
  background: var(--flaeche); border: 1px solid var(--linie);
  box-shadow: 0 30px 60px -20px rgba(23, 32, 51, .25), 0 10px 20px -10px rgba(23, 32, 51, .12);
  font-size: 15px; line-height: 1.5;
}
.vf-editor { border-right: 1px solid var(--linie); min-width: 0; }
.vf-leiste { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--linie); }
.vf-leiste i { width: 10px; height: 10px; border-radius: 50%; background: var(--linie); }
.vf-leiste i:nth-child(1) { background: #FF5F57; } .vf-leiste i:nth-child(2) { background: #FEBC2E; } .vf-leiste i:nth-child(3) { background: #28C840; }
.vf-leiste b { margin-left: 10px; font-weight: 600; font-size: 13px; color: var(--leise); }
.vf-inhalt { padding: 16px 18px 22px; }
.vf-h { margin: 0 0 8px; font-weight: 700; font-size: 17px; }
.vf-p { margin: 0 0 14px; color: var(--leise); font-size: 14px; white-space: normal; }
.vf-zeile { display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; min-height: 2.1em; white-space: nowrap; }
.vf-box { width: 14px; height: 14px; border: 1.5px solid var(--leise); border-radius: 50%; margin-right: 6px; flex: none; }
.vf-pille {
  display: inline-block; padding: 0 7px; border-radius: 6px; font-size: 13px; line-height: 1.6;
  color: #E5484D; background: rgba(255, 92, 87, .10); border: 1px solid rgba(255, 92, 87, .35);
}
.vf-roh { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--leise); display: none; }
.vf-cursor { display: none; width: 2px; height: 1.1em; background: var(--blau); margin-left: 1px; animation: blinken 1s steps(1) infinite; }
.vf-kalender { padding: 10px 12px 14px; background: color-mix(in srgb, var(--grund) 55%, var(--flaeche)); }
.vf-tag { font-weight: 600; font-size: 13px; color: var(--koralle); margin: 2px 0 8px 30px; }
.vf-raster { --zeile: 38px; position: relative; }
.vf-raster span { display: block; height: var(--zeile); border-top: 1px solid var(--linie); font: 11px/1.8 ui-monospace, monospace; color: var(--leise); }
.vf-block {
  position: absolute; left: 28px; right: 0; top: calc(var(--start) * var(--zeile) + 2px);
  height: calc(var(--dauer) * var(--zeile) - 4px); border-radius: 7px; padding: 4px 8px; overflow: hidden;
  background: #F06A60; color: #fff; font-size: 12px; line-height: 1.3; display: flex; flex-direction: column;
  box-shadow: 0 6px 16px -6px rgba(240, 106, 96, .6);
  transition: opacity .45s ease, transform .55s cubic-bezier(.2, .9, .3, 1.2), top .3s ease, height .3s ease;
}
.vf-block small { opacity: .85; font-size: 11px; }

/* Phasen, gesetzt von seite.js. Ohne Klasse = Endzustand. */
.vorfuehrung.tippt:not(.pille) .vf-roh, .vorfuehrung.tippt:not(.pille) .vf-cursor { display: inline-block; }
.vorfuehrung.tippt:not(.pille) .vf-neu { display: none; }
.vorfuehrung.pille .vf-neu { animation: pop .45s cubic-bezier(.2, 1.5, .4, 1); }
.vorfuehrung.tippt:not(.termin) .vf-block { opacity: 0; transform: translateY(14px) scale(.94); }
#vf-zeile, .vf-block { transition: opacity .45s ease, transform .55s cubic-bezier(.2, .9, .3, 1.2); }
.vorfuehrung.aus #vf-zeile, .vorfuehrung.aus .vf-block { opacity: 0; }

/* Terminal: Cursor nur während des Tippens */
.t-cursor { display: none; width: .55em; height: 1.1em; background: #E2E8F0; vertical-align: -0.15em; animation: blinken 1s steps(1) infinite; }
.terminal.tippt .t-cursor { display: inline-block; }

/* Bilder heben sich unter der Maus leicht an */
.bild img.rand { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease; }
.bild img.rand:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -18px rgba(23, 32, 51, .30); }

@keyframes blinken { 50% { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
@keyframes hoch { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes aufrichten { from { transform: perspective(1800px) rotateX(16deg) scale(.93); opacity: .55; } to { transform: none; opacity: 1; } }
@keyframes einblenden { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes schein { from { transform: translate3d(-3%, 0, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.06); } }

@media (prefers-reduced-motion: no-preference) {
  .kopf-text > *, .vorfuehrung { animation: hoch .8s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  .schein::before { animation: schein 16s ease-in-out infinite alternate; }
  /* Scroll-Animationen ohne Skript; Browser ohne Unterstützung zeigen die Seite ruhig. */
  @supports (animation-timeline: view()) {
    .bild-eins picture { display: block; transform-origin: 50% 0; animation: aufrichten linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
    .abschnitt > *, .nachweis > *, .dateien > :not(.bild-eins), .ablauf-kopf > *, .preis > * { animation: einblenden linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
  }
}

@media (min-width: 901px) {
  .vorfuehrung { font-size: 16px; }
  .vf-inhalt { padding: 20px 22px 26px; }
  .vf-raster { --zeile: 46px; }
}
@media (max-width: 900px) {
  .kopf { text-align: center; }
  .kopf-raster { grid-template-columns: 1fr; gap: 2.5rem; }
  .kopf h1, .kopf .unter { margin-inline: auto; }
  .kopf .knoepfe { justify-content: center; }
  .vorfuehrung { max-width: 34rem; margin-inline: auto; text-align: left; }
}
@media (max-width: 480px) {
  .vorfuehrung { grid-template-columns: 1fr; }
  .vf-editor { border-right: 0; border-bottom: 1px solid var(--linie); }
  .vf-raster { --zeile: 30px; }
}

/* ===== Rückmeldung 07.10.2026: Navigation, Ablauf, Transkription, Preis ================= */
html { scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Leiste bleibt stehen, mit Milchglas */
.leiste { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
  background: color-mix(in srgb, var(--grund) 72%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.leiste.gescrollt { border-bottom-color: var(--linie); }
.anker { display: flex; gap: 1.6rem; margin-left: auto; }
.anker a { color: var(--leise); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.anker a:hover, .anker a.aktiv { color: var(--tinte); }
.anker a.aktiv { text-decoration: underline; text-decoration-color: var(--blau); text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* Vorteile im Kopf */
.kopf .unter { margin-bottom: 1.3rem; }
.vorteile { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .65rem; max-width: 34rem; }

/* Abschnittsköpfe */
.vorzeile { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 700; color: var(--blau); margin: 0 0 .6rem; }
.dateien h2, .ablauf h2, .preis h2, .nachweis h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 1rem; }
.einleitung { color: var(--leise); font-size: 1.15rem; max-width: 40rem; margin: 0 auto 2.5rem; }
.dateien, .ablauf-kopf, .preis { text-align: center; }
.dateien { padding-block: 4.5rem 2rem; border-top: 1px solid var(--linie); }
.ablauf { position: relative; padding-block: 4.5rem 2rem; border-top: 1px solid var(--linie); }
.ablauf-kopf { margin-bottom: 1rem; }

/* Schlangenlinie durch die Schritte */
.schlange { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 0; overflow: visible; }
.schlange-spur { fill: none; stroke: var(--linie); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.schlange-strich { fill: none; stroke: url(#verlauf); stroke-width: 3.5; stroke-linecap: round; }
.schritt { position: relative; z-index: 1; }
.ablauf .abschnitt { border-top: 0; }
.nr { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: .9rem;
  font-weight: 700; font-size: 1.1rem; color: var(--blau); background: var(--flaeche); border: 2px solid var(--blau);
  box-shadow: 0 0 0 7px var(--grund); position: relative; z-index: 2; }
.schritt h3 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .75rem; }
.schritt p { margin: 0; color: var(--leise); }
.schritt .vorzeile { margin-bottom: .35rem; }

/* Schritt 4: gleiche Gestalt wie die anderen Schritte, rechts die Transkript-Vorführung
   statt eines Bildschirmfotos (Rückmeldung 08.10.2026: die Karte wirkte als Fremdkörper). */
.merkmale { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .65rem; }
.transkription-bild { display: grid; gap: 1rem; min-width: 0; }
/* Schritt 4 wie die anderen Schritte: links der Text (senkrecht mittig), rechts Vorführung und
   darunter die Merkmale 2 × 2 (Vorschlag 08.10.2026); die Linie braucht keine Sonderführung. */
#transkription .merkmale { margin: 0; grid-template-columns: 1fr 1fr; gap: 1rem; }
#transkription .hinweise { margin-top: 1.2rem; }
.tk-kopf { font-size: .8rem; color: var(--leise-kopf); margin-bottom: .6rem; }
.tk-kopf b { color: var(--tinte); }
.merkmale li { display: flex; gap: .75rem; align-items: flex-start; font-size: .88rem; line-height: 1.45; color: var(--leise-kopf);
  padding: 1rem 1.1rem; border-radius: 18px; background: var(--flaeche); border: 1px solid var(--linie); }
.merkmale .wen-symbol { margin: 0; flex: none; }
.merkmale b { display: block; font-size: .97rem; color: var(--tinte); margin-bottom: .15rem; }
/* Handy: Vorführung oben wie die Bilder der anderen Schritte, die Merkmale erst nach dem Text */
@media (max-width: 760px) {
  #transkription .transkription-bild { display: contents; }
  #transkription .merkmale { grid-template-columns: 1fr; order: 1; }
}
.kreis { margin: 1rem 0 0; font-size: .95rem; }
.kreis span { font-size: 1.3rem; margin-right: .3rem; }

/* Transkript-Vorführung */
.tk-vorfuehrung { border-radius: 18px; padding: 1rem 1.1rem 1.1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: .93rem; }
.tk-welle { display: flex; gap: 4px; align-items: center; height: 38px; margin-bottom: .7rem; }
.tk-welle i { flex: 1; height: 22%; border-radius: 3px; background: linear-gradient(180deg, #FF8A85, #6B96F5); opacity: .55; transform-origin: center; }
.tk-vorfuehrung.hoert .tk-welle i { opacity: 1; animation: welle .9s ease-in-out infinite alternate; }
.tk-welle i:nth-child(3n) { animation-delay: -.3s; } .tk-welle i:nth-child(3n+1) { animation-delay: -.6s; } .tk-welle i:nth-child(4n) { animation-duration: .7s; }
.tk-zeile { display: flex; gap: .6rem; align-items: baseline; margin: .45rem 0 0; color: #E7ECF5; transition: opacity .4s, transform .4s; }
.tk-zeile > span:first-child { flex: none; font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 6px; }
.tk-s1 { background: rgba(40,100,240,.28); color: #A9C2FF; }
.tk-s2 { background: rgba(255,92,87,.25); color: #FFB3AF; }
.tk-vorfuehrung.leer .tk-zeile { opacity: 0; transform: translateY(6px); }
.tk-vorfuehrung .tk-zeile.da { opacity: 1; transform: none; }
@keyframes welle { from { transform: scaleY(.6); } to { transform: scaleY(3.6); } }

/* Nachweis mit Aufruf */
.knoepfe.mitte { justify-content: center; margin-top: 2.2rem; display: flex; }
.knopf.gross { padding: .95rem 2rem; font-size: 1.1rem; }
.nachweis .fakten { color: var(--leise); font-size: .9rem; margin-top: .9rem; }

/* Preis */
.preis { padding-block: 4.5rem 3rem; border-top: 1px solid var(--linie); }
.preis-karten { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 54rem; margin: 2.5rem auto 0; text-align: left; }
.preis-karte { display: flex; flex-direction: column; padding: 2rem; border-radius: 18px; background: var(--flaeche); border: 1px solid var(--linie);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.preis-karte:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(23,32,51,.3); }
.preis-karte.jetzt { border: 2px solid var(--blau); box-shadow: 0 24px 60px -28px rgba(40,100,240,.45); }
.preis-karte h3 { margin: 0; font-size: 1.35rem; }
.betrag { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; margin: .35rem 0 1rem; }
.preis-karte ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; color: var(--leise); }
.preis-karte li { padding-left: 1.5rem; position: relative; }
.preis-karte li::before { content: "✓"; position: absolute; left: 0; color: #34BFA3; font-weight: 700; }
.preis-karte .knopf { margin-top: auto; align-self: flex-start; }

/* Vorführung: fliegende Pille und Kippen */
.vf-geist { position: absolute; z-index: 5; pointer-events: none; margin: 0; }
.vorfuehrung { transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; will-change: transform; }

@media (max-width: 900px) {
  .preis-karten { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .anker { display: none; }
  .leiste-innen .knopf { margin-left: auto; }
  .schritt h3 { font-size: 1.5rem; }
}

/* Nummer links neben dem Text statt darüber: die Linie fällt so in einem freien Streifen
   neben den Zeilen und kreuzt keinen Text (vorher lief sie durch Überschrift und Absatz). */
.schritt.abschnitt > div:not(.bild), .transkription-text { position: relative; padding-left: 4.4rem; }
.schritt .nr { position: absolute; left: 0; top: -.15rem; margin: 0; }
@media (max-width: 760px) { .schritt.abschnitt > div:not(.bild), .transkription-text { padding-left: 3.6rem; } .schritt .nr { width: 40px; height: 40px; } }

/* ===== Review 07.10.2026: Zugänglichkeit, neue Abschnitte, Handy ======================= */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
.knopf.haupt:focus-visible { outline-color: var(--tinte); }

/* Kontraste (WCAG AA): grauer Text über dem Farbschein, Markierungen, Häkchen. Die dunkle
   Koralle #B8332F ist aus der Markenkoralle abgeleitet, kein eigener Markenton. */
:root { --leise-kopf: #4B5568; --koralle-text: #B8332F; --mint-text: #1F8A74; }
@media (prefers-color-scheme: dark) { :root { --leise-kopf: #B4BFD3; --koralle-text: #FF8A86; --mint-text: #34BFA3; } }
.kopf .unter, .vorteile li { color: var(--leise-kopf); }
.vf-pille { color: var(--koralle-text); }
.vf-tag { color: var(--koralle-text); }
.vf-block { background: #B8332F; }
.preis-karte li::before { color: var(--mint-text); }

/* Animationen anhalten (WCAG 2.2.2) */
.still-knopf { display: block; margin: 1rem 0 0 auto; padding: .3rem .7rem; font: inherit; font-size: .85rem; color: var(--leise);
  background: transparent; border: 1px solid var(--linie); border-radius: 999px; cursor: pointer; }
.still-knopf:hover { color: var(--tinte); }
html.still *, html.still *::before, html.still *::after { animation-play-state: paused !important; }

/* Hinweis für Besucher am Handy */
.nur-handy { display: none; }

/* Für wen */
.fuer-wen { text-align: center; padding-block: 4.5rem 2rem; border-top: 1px solid var(--linie); }
.fuer-wen h2, .fragen h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 1rem; }
.wen-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; text-align: left; }
.wen-karte { padding: 1.4rem 1.3rem; border-radius: 18px; background: var(--flaeche); border: 1px solid var(--linie); }
.wen-karte h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.wen-karte p { margin: 0; color: var(--leise); font-size: .97rem; }

/* Hinweis in der Transkript-Karte */

/* Häufige Fragen */
.fragen { padding-block: 4.5rem 2rem; border-top: 1px solid var(--linie); text-align: center; }
.fragen-liste { max-width: 46rem; margin: 2rem auto 0; text-align: left; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; font-weight: 600; list-style: none; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: .3rem; top: .85rem; font-size: 1.4rem; font-weight: 400; color: var(--blau); transition: transform .2s; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { margin: 0 0 1.2rem; color: var(--leise); }

/* Wer hinter Notat steht */

@media (max-width: 900px) {
  #vf-zeile { min-height: 4.4em; align-content: flex-start; }  /* Karte springt nicht bei langen Zeilen */
}
@media (max-width: 760px) {
  html { scroll-padding-top: 7.5rem; }
  .leiste-innen { flex-wrap: wrap; row-gap: .35rem; }
  .anker { display: flex; order: 3; width: 100%; margin: 0; gap: 1.2rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .2rem; }
  .anker::-webkit-scrollbar { display: none; }
  .anker a { white-space: nowrap; font-size: .9rem; }
  .nur-handy { display: block; margin: 1rem auto 0; padding: .7rem 1rem; max-width: 26rem; border-radius: 12px; font-size: .92rem;
    background: color-mix(in srgb, var(--blau) 10%, var(--flaeche)); color: var(--tinte); }
  .wen-raster { grid-template-columns: 1fr; }
}
/* Bewegung reduziert: auch Übergänge und Anheben unter der Maus ruhen. */
@media (prefers-reduced-motion: reduce) {
  .knopf, .bild img.rand, .preis-karte, .vorfuehrung, .tk-zeile, .vf-block, #vf-zeile, .leiste { transition: none !important; }
  .knopf:hover, .bild img.rand:hover, .preis-karte:hover { transform: none; }
}
/* Vorteile bleiben linksbündig, auch wenn der Kopf auf schmalen Schirmen zentriert ist. */
@media (max-width: 900px) { .vorteile { text-align: left; margin-inline: auto; } }

/* Farbtoken für Text auf hellen Flächen (Kontrast AA) */
:root { --blau-text: #1F4FC2; }
@media (prefers-color-scheme: dark) { :root { --blau-text: #A9C2FF; } }
.kreis span { color: var(--mint-text); }
.tk-vorfuehrung { background: var(--flaeche); border-color: var(--linie); }
.tk-zeile { color: var(--tinte); }
.tk-s1 { background: color-mix(in srgb, var(--blau) 14%, var(--flaeche)); color: var(--blau-text); }
.tk-s2 { background: color-mix(in srgb, var(--koralle) 14%, var(--flaeche)); color: var(--koralle-text); }

/* „Zum Inhalt springen“: erst beim ersten Tab sichtbar, überspringt Logo und Navigation. */
.springen { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; border-radius: 10px;
  background: var(--tinte); color: var(--grund); font-weight: 600; text-decoration: none; }
.springen:focus { top: .75rem; }
main:focus { outline: none; }

/* Häkchen-Listen im Kopf (Vorteile) und in der Transkript-Karte (Merkmale) sehen gleich aus:
   Karte, grünes Häkchen links und senkrecht mittig, Text als Block daneben mit bündigen Zeilen
   (Rückmeldung 08.10.2026). Der Text steckt in einem <span>, damit Fett und Rest ein Block bleiben. */
.vorteile li { display: flex; align-items: center; gap: .55rem; padding: .55rem .9rem .55rem .7rem;
  border-radius: 14px; font-size: .95rem; line-height: 1.4; background: var(--flaeche); border: 1px solid var(--linie); }
.vorteile li::before { content: "✓"; flex: none; font-size: 1.25rem; line-height: 1; font-weight: 700; color: var(--mint-text); }
.vorteile b { color: var(--tinte); }

/* Für wen: Symbol, Szene als Zitat, darunter eine Zeile, wie sie in Notat aussieht (Variante C
   mit Symbol, Entscheidung 08.10.2026). Die App-Zeile sitzt unten, damit die Karten bündig enden. */
.wen-karte { display: flex; flex-direction: column; gap: .55rem; }
.wen-karte h3, .wen-karte p { margin: 0; }
.wen-symbol { width: 44px; height: 44px; padding: 10px; border-radius: 12px; box-sizing: border-box; margin-bottom: .35rem;
  fill: none; stroke: var(--blau-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: color-mix(in srgb, var(--blau) 12%, var(--flaeche)); }
.wen-karte .szene { color: var(--tinte); font-weight: 600; line-height: 1.4; }
.wen-app { margin-top: auto; padding: .6rem .75rem; border-radius: 10px; background: var(--grund); border: 1px solid var(--linie);
  font-size: .82rem; line-height: 1.7; color: var(--tinte); }
.wen-app .tk-s1, .wen-app .tk-s2 { font-size: .7rem; font-weight: 700; padding: .08rem .4rem; border-radius: 5px; margin-right: .2rem; }
.wen-app .vf-pille { font-size: .75rem; padding: 0 5px; }
.wen-kaestchen { display: inline-block; width: .8rem; height: .8rem; border: 1.5px solid var(--leise); border-radius: 3px; margin-right: .4rem; vertical-align: -.1rem; }
.wen-spalte { font-size: .7rem; font-weight: 700; padding: .08rem .45rem; border-radius: 5px; margin-right: .2rem;
  color: var(--blau-text); background: color-mix(in srgb, var(--blau) 14%, var(--flaeche)); }
/* Beispiele je Zielgruppe (Rückmeldung 08.10.2026: nur, was Notat so macht) */
.wen-app { display: grid; gap: .3rem; }
.wen-kopf { font-size: .74rem; color: var(--leise-kopf); }
.wen-kopf b { color: var(--tinte); }
.wen-leise { color: var(--leise-kopf); font-size: .78rem; }
.wen-roh { font: .78rem/1.5 ui-monospace, Menlo, monospace; color: var(--leise-kopf); }
.wen-pfeil::before { content: "↳ "; color: var(--leise-kopf); }
.wen-schalter { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.schalter { flex: none; width: 34px; height: 20px; border-radius: 10px; background: var(--linie); position: relative; }
.schalter::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--flaeche); box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.wen-karte-board { padding: .45rem .6rem; border-radius: 8px; background: var(--flaeche); border: 1px solid var(--linie); }

/* Schritt 5: Rückkehr zu Schritt 1 (↺ an der Nummer und als Link) */
.nr.zurueck::after { content: "↺"; position: absolute; right: -9px; bottom: -7px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; color: var(--mint-text); background: var(--flaeche); border: 2px solid var(--mint-text); }
.kreis a { color: var(--blau-text); font-weight: 600; text-decoration: none; }
.kreis a:hover { text-decoration: underline; }

/* Hauptüberschrift: Zeilen ausgleichen, kein einzelnes Wort in der letzten Zeile */
.kopf h1 { text-wrap: balance; }

/* Fenster nach dem Download-Klick (Issue 172) */
.danach { max-width: 32rem; width: calc(100% - 2rem); box-sizing: border-box; border: 1px solid var(--linie); border-radius: 18px;
  padding: 1.6rem 1.6rem 1.4rem; background: var(--flaeche); color: var(--tinte); box-shadow: 0 30px 60px -20px rgba(23, 32, 51, .35); }
.danach::backdrop { background: rgba(15, 23, 42, .45); }
.danach h2 { margin: 0 2rem .8rem 0; font-size: 1.4rem; }
.danach h3 { margin: 1.2rem 0 .3rem; font-size: 1.05rem; }
.danach p, .danach li { color: var(--leise-kopf); margin: 0 0 .4rem; }
.danach-schritte { padding-left: 1.2rem; margin: 0 0 .6rem; }
.danach-zu { position: absolute; top: .6rem; right: .6rem; margin: 0; }
.danach-zu button { border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--leise-kopf); padding: .2rem .5rem; }
.neuigkeiten label { display: block; margin: .8rem 0 0; font-weight: 600; font-size: .9rem; color: var(--tinte); }
.neuigkeiten label span { font-weight: 400; color: var(--leise-kopf); }
.neuigkeiten input { display: block; width: 100%; box-sizing: border-box; margin-top: .3rem; padding: .6rem .7rem; font: inherit;
  border: 1px solid var(--linie); border-radius: 10px; background: var(--grund); color: var(--tinte); }
.neuigkeiten .knopf { margin-top: 1rem; font: inherit; font-weight: 600; cursor: pointer; }
.danach .klein { font-size: .8rem; margin-top: .8rem; }
.danach-danke { font-weight: 600; color: var(--mint-text) !important; margin-top: 1rem !important; }
.danach.nur-mail .danach-schritte, .danach.nur-mail .danach-hinweis, .danach.nur-mail .neuigkeiten h3 { display: none; }
.nur-mail-knopf { display: block; margin: .5rem auto 0; font: inherit; font-weight: 600; color: var(--blau-text); background: none; border: 0; cursor: pointer; text-decoration: underline; }
