/* FEDER – öffentliche Seiten. Baut auf base.css („Korrekturfahne“) auf.
   Signature: das Korrektur-Ritual in der Demo-Fahne (Federstrich → Ersatz setzt sich ein → Grün verblasst).
   Rot/Grün nur für Markierungen und Vorschläge, alles andere Kopierstift-Violett und Satztinte. */

/* ------------------------------------------------------------------ Kopf & Fuß */
.kopf .nav { display: inline-flex; align-items: center; min-height: 44px; }
.kopf .nav[aria-current="page"] { color: var(--kopierstift); }
.kopf .btn--klein { min-height: 44px; padding: 0 16px; }
.thema-knopf {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent;
  color: var(--satz-2); cursor: pointer; transition: background-color .15s, transform .15s var(--ease);
}
.thema-knopf:hover { background: var(--bogen-2); color: var(--satz); }
.thema-knopf:active { transform: scale(.94); }
.thema-knopf svg { width: 20px; height: 20px; }
.thema-knopf .ic-sonne, :root[data-theme="dark"] .thema-knopf .ic-mond { display: none; }
:root[data-theme="dark"] .thema-knopf .ic-sonne { display: block; }
.fuss nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.fuss .marke svg { width: 26px; height: 26px; }

.btn--gross { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn--primaer:hover { transform: translateY(-1px); }
.btn--primaer:active { transform: scale(.97); }
.btn--voll { width: 100%; }
.mono { font-family: var(--ff-mono); }
.nw { white-space: nowrap; }
.recht h1 { hyphens: auto; }
.lead { font-size: 18px; line-height: 1.6; color: var(--satz-2); max-width: 36em; }

/* ------------------------------------------------------------------ Hero: These + Fahne */
.held {
  min-height: calc(100svh - 72px); display: flex; flex-direction: column;
  padding: clamp(20px, 4vh, 48px) clamp(16px, 4vw, 40px) 18px;
}
.held-innen {
  flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; display: grid; align-items: center;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 76px);
}
.these h1 { font-size: clamp(2.6rem, 5.1vw, 4.7rem); line-height: 1.02; margin-bottom: .38em; }
.these-sub { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--satz-2); max-width: 31em; margin-bottom: 28px; }
.these-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.vertrauen { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 0; font-size: 14.5px; color: var(--graphit); max-width: 30em; }
.vertrauen svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--kopierstift); }
.weiter {
  align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 18px; padding: 0 12px;
  font: 500 12px/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--graphit); text-decoration: none;
}
.weiter svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.weiter:hover { color: var(--satz); }
.weiter:hover svg { transform: translateY(3px); }

/* Die Fahne: ein Korrekturbogen mit zweitem Bogen dahinter */
.fahne {
  position: relative; scroll-margin-top: 84px; background: var(--bogen); border: 1px solid var(--linie); border-radius: var(--r-l);
  box-shadow: var(--schatten-hoch);
}
.fahne::before {
  content: ""; position: absolute; inset: 10px -8px -10px 8px; z-index: -1; border-radius: var(--r-l);
  background: var(--bogen); border: 1px solid var(--linie); transform: rotate(1.6deg); box-shadow: var(--schatten);
}
.fahne-kopf {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 28px; align-items: end;
  padding: 18px 22px 14px; border-bottom: 1px solid var(--linie);
}
.mess .etikett { margin-bottom: 4px; }
.mess-zahl { display: flex; align-items: baseline; gap: 6px; margin: 0 0 10px; }
.mess-wert { font: 400 52px/0.9 var(--ff-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.mess-max { font: 500 13px/1 var(--ff-mono); color: var(--graphit); }
.mess-label {
  margin-left: 8px; padding: 4px 9px; border-radius: 999px; background: var(--kopierstift-hauch); color: var(--kopierstift-tief);
  font: 600 12px/1 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; align-self: center;
}
:root[data-theme="dark"] .mess-label { color: var(--kopierstift-tief); }
.mess-skala { position: relative; height: 6px; border-radius: 3px; background: var(--bogen-2); overflow: hidden; }
.mess-balken {
  position: absolute; inset: 0; background: var(--satz); border-radius: 3px; transform-origin: left center;
  transition: transform .6s var(--ease);
}
.mess-skala i { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--bogen); }
.mess-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 10px 0 0; font-size: 13px; color: var(--graphit); }
.mess-trenner { width: 3px; height: 3px; border-radius: 50%; background: var(--linie-stark); }
.rhythmus-box { text-align: right; }
.rhythmus-box .etikett { margin-bottom: 8px; }
.rhythmus { display: flex; align-items: flex-end; justify-content: flex-end; gap: 4px; height: 38px; }
.rhythmus span {
  width: 7px; height: 100%; border-radius: 2px 2px 0 0; background: var(--kopierstift); opacity: .85;
  transform-origin: center bottom; transition: transform .5s var(--ease);
}
.rhythmus-text { margin: 6px 0 0; font-size: 13px; color: var(--graphit); }

.wz-band {
  display: flex; align-items: center; gap: 10px; margin: 14px 18px 0; padding: 6px 6px 6px 14px;
  border-radius: var(--r); background: var(--bogen-2); font-size: 14px;
}
.wz-band p { margin: 0; flex: 1; font-weight: 600; }
.wz-punkt { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--rot-linie); box-shadow: 0 0 0 3px var(--rot-flaeche); }
.wz-band .btn { min-height: 44px; }
.wz-band.erfolg { background: var(--kopierstift-hauch); }
.wz-band.erfolg .wz-punkt { background: var(--kopierstift); box-shadow: 0 0 0 3px var(--kopierstift-hauch); }
.wz-band.erfolg p { color: var(--kopierstift-tief); }

.fahne-blatt { position: relative; padding: 14px 24px 18px 44px; }
.fahne-blatt::before { /* Korrekturrand */
  content: ""; position: absolute; left: 26px; top: 16px; bottom: 18px; width: 0; border-left: 1px solid var(--linie-stark);
}
.fahne-titel { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 8px; }
.fahne-titel .etikett { margin: 0; }
.fahne-tipp { font-size: 13px; color: var(--graphit); }
.fahne-text-wrap { position: relative; }
.fahne-text {
  margin: 0; font-size: 17px; line-height: 1.85; color: var(--satz); white-space: pre-wrap; overflow-wrap: anywhere;
}
.fahne-text:focus { outline: none; }
.fahne-text:focus-visible { outline: 2px solid var(--kopierstift); outline-offset: 6px; }
.fahne-text .mk { transition: background-color .15s, box-shadow .15s, opacity .25s ease .18s; }
.fahne-text .mk.gestrichen { opacity: .45; }
/* unsichtbare Zeichen als Pille mit Kürzel */
.mk--wz {
  display: inline-block; vertical-align: 2px; margin: 0 2px; padding: 3px 6px 2px; border-radius: 999px;
  font: 600 10.5px/1 var(--ff-mono) !important; letter-spacing: .04em; color: var(--rot) !important;
  background: var(--rot-flaeche); box-shadow: inset 0 0 0 1px var(--rot-linie);
}
.fahne-text .mk--wz::after { content: ""; position: absolute; inset: -12px -6px; }
.fahne-text .mk--wz::before { content: attr(data-kurz); }
.fahne-text .mk--wz:empty { min-width: 2.6em; min-height: 1.6em; }
.mk--wz:hover, .mk--wz[aria-expanded="true"] { box-shadow: inset 0 0 0 1px var(--rot-linie), 0 0 0 2px var(--rot-linie); }
.mk--dg { text-decoration: underline dotted var(--rot-linie); text-underline-offset: 4px; }
.mk--probe { cursor: default; }
.mk--probe:hover { box-shadow: inset 0 -2px 0 var(--rot-linie); }
.mk--wz.mk--probe:hover { box-shadow: inset 0 0 0 1px var(--rot-linie); }

/* Ritual: Federstrich (nur scaleX) */
.striche { position: absolute; inset: 0; pointer-events: none; }
.strich {
  position: absolute; height: 8px; overflow: visible; transform: scaleX(0); transform-origin: left center;
  transition: transform .3s var(--ease-feder); will-change: transform;
}
.strich path { fill: none; stroke: var(--kopierstift); stroke-width: 2.2px; stroke-linecap: round; }
.strich.zieht { transform: scaleX(1); }
/* Ersatz setzt sich von oben ein, Grün verblasst danach (nur opacity) */
.fahne-text .neu { position: relative; isolation: isolate; background: transparent; border-radius: 4px; }
.fahne-text .neu::before {
  content: ""; position: absolute; inset: 0 -2px; z-index: -1; border-radius: 4px;
  background: var(--gruen-flaeche); box-shadow: inset 0 -2px 0 var(--gruen-linie); transition: opacity 1.6s ease 1.2s;
}
.fahne-text .neu.verblasst { background: transparent; }
.fahne-text .neu.verblasst::before { opacity: 0; }
.fahne-text .neu.ein { display: inline-block; line-height: 1.5; animation: einsetzen .36s var(--ease) both; }
@keyframes einsetzen { from { opacity: 0; transform: translateY(-.65em); } }

.eigen-feld textarea { min-height: 268px; font-size: 16px; line-height: 1.7; background: var(--bogen); }
.eigen-fuss { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--graphit); }
.eigen-fuss p { margin: 0; }
#eigenWz.treffer { color: var(--satz); font-weight: 600; }
#eigenWz.treffer::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; vertical-align: 1px; border-radius: 50%; background: var(--rot-linie); }
#eigenZaehler { white-space: nowrap; }
.fahne-info { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--r-s); background: var(--bogen-2); font-size: 14px; color: var(--satz-2); }

.fahne-fuss { border-top: 1px solid var(--linie); padding: 8px 10px; }
.fahne-aktionen { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.btn--fahne { min-height: 44px; padding: 0 14px; font-size: 14px; }
.btn--fahne svg { width: 17px; height: 17px; }
.fahne-eigen, #pruefen { margin-left: auto; }
.fahne-eigen { border-color: var(--kopierstift); color: var(--kopierstift); }
.fahne-eigen:hover { background: var(--kopierstift-hauch); border-color: var(--kopierstift); color: var(--kopierstift-tief); }

/* Popover / Bottom-Sheet */
.pop {
  position: absolute; z-index: 30; width: min(340px, calc(100% - 24px)); padding: 10px 14px 16px 18px;
  background: var(--bogen); border: 1px solid var(--linie-stark); border-radius: 14px; box-shadow: var(--schatten-hoch);
  opacity: 0; transform: translateY(6px); transition: opacity .16s ease, transform .22s var(--ease);
}
.pop.sichtbar { opacity: 1; transform: none; }
.pop-kopf { display: flex; justify-content: space-between; align-items: center; margin-right: -8px; }
.pop-kopf .etikett { margin: 0; color: var(--rot); }
.pop-zu { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--graphit); cursor: pointer; }
.pop-zu:hover { background: var(--bogen-2); color: var(--satz); }
.pop-zu svg { width: 18px; height: 18px; }
.pop-zitat { margin: 0 0 6px; font: 400 23px/1.2 var(--ff-display); overflow-wrap: anywhere; }
.pop-grund { margin: 0 0 14px; font-size: 14.5px; color: var(--satz-2); }
.pop-unten { display: flex; flex-wrap: wrap; gap: 8px; }
.pop-unten--vs { flex-direction: column; align-items: stretch; }
.pop-vs-titel { margin: 0; }
.pop-vs { display: flex; flex-wrap: wrap; gap: 8px; }
.pop .vs { min-height: 44px; }
.pop-lektor { margin: 0; font-size: 14.5px; }
.pop-unten--vs .btn--leise { align-self: flex-start; }
.pop.als-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto !important; left: 0 !important; width: auto; z-index: 80;
  padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; border-bottom: 0;
  transform: translateY(100%); opacity: 1; transition: transform .28s var(--ease);
}
.pop.als-sheet::before { content: ""; display: block; width: 40px; height: 4px; margin: 2px auto 6px; border-radius: 2px; background: var(--linie-stark); }
.pop.als-sheet.sichtbar { transform: none; }
.schleier { position: fixed; inset: 0; z-index: 70; background: rgba(16, 15, 29, .45); opacity: 0; transition: opacity .2s ease; }
.schleier.sichtbar { opacity: 1; }

/* ------------------------------------------------------------------ Abschnitte */
.abschnitt { padding: clamp(72px, 9vw, 124px) clamp(16px, 4vw, 40px); }
.innen { max-width: var(--maxw); margin: 0 auto; }
.abschnitt-kopf { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }

.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.schritt-bild {
  position: relative; height: 168px; margin-bottom: 22px; padding: 22px; display: flex; flex-direction: column; justify-content: center;
  background: var(--bogen); border: 1px solid var(--linie); border-radius: var(--r-l); box-shadow: var(--schatten);
}
.probe-feld { display: grid; gap: 10px; padding: 16px; border: 1px dashed var(--linie-stark); border-radius: var(--r); }
.probe-zeile { height: 8px; border-radius: 4px; background: var(--bogen-2); }
.probe-zeile.kurz { width: 62%; }
.probe-taste { justify-self: start; margin-top: 4px; padding: 5px 9px; border-radius: 6px; background: var(--kopierstift-hauch); color: var(--kopierstift-tief); font-size: 12px; }
.probe-satz { margin: 0; font-size: 16px; line-height: 1.7; }
.probe-pop {
  display: flex; flex-direction: column; gap: 8px; align-self: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--linie-stark); background: var(--bogen); box-shadow: var(--schatten); font-size: 13px; color: var(--satz-2);
}
.probe-knopf { align-self: flex-start; padding: 6px 10px; border-radius: 7px; background: var(--kopierstift); color: var(--knopf-text); font-weight: 700; }
.probe-neu { padding: 1px 2px; }
.probe-vs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.probe-vs .vs { min-height: 34px; cursor: default; font-size: 14px; }
.probe-vs .vs:hover { box-shadow: none; }
.schritt-nr { margin: 0 0 6px; color: var(--kopierstift); font-size: 13px; letter-spacing: .1em; }
.schritt h3 { margin-bottom: .35em; }
.schritt p:last-child { color: var(--satz-2); margin: 0; }

.abschnitt--stufen { padding-top: 0; }
.stufen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.stufe { padding: clamp(26px, 3vw, 40px); border-radius: var(--r-l); background: var(--bogen); border: 1px solid var(--linie); }
.stufe h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.stufe p { color: var(--satz-2); }
.stufe-marke { margin: 0 0 18px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--kopierstift); }
.stufe-grenze { margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--linie-stark); font-size: 15px; }
.stufe--lektor { background: var(--satz); border-color: var(--satz); color: var(--fahne); }
.stufe--lektor h3, .stufe--lektor p { color: var(--fahne); }
.stufe--lektor .stufe-grenze { border-top-color: color-mix(in srgb, var(--fahne) 30%, transparent); color: color-mix(in srgb, var(--fahne) 82%, var(--satz)); }
.stufe--lektor .stufe-marke { color: color-mix(in srgb, var(--fahne) 80%, var(--kopierstift)); }

.muster-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.muster-kopf { position: sticky; top: 96px; }
.grenze { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--kopierstift); border-radius: 0 var(--r) var(--r) 0; background: var(--kopierstift-hauch); }
.grenze h3 { font: 700 15px/1.3 var(--ff-body); margin-bottom: 6px; }
.grenze p { margin: 0; font-size: 15px; color: var(--satz-2); }
.legende { margin: 0; }
.legende-zeile { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 28px; padding: 26px 0; border-top: 1px solid var(--linie); }
.legende-zeile:last-child { border-bottom: 1px solid var(--linie); }
.legende dt { font: 400 1.65rem/1.1 var(--ff-display); }
.legende dd { margin: 0; }
.legende dd > p:first-child { color: var(--satz-2); }
.probe { margin: 0; line-height: 2.2; }
.probe .mk { margin-right: 6px; }
.rhythmus-vergleich { display: grid; gap: 10px; margin-top: 4px; }
.rhythmus-vergleich > div { display: grid; grid-template-columns: 110px auto; align-items: end; gap: 14px; }
.rhythmus-vergleich .mono { font-size: 12px; color: var(--graphit); padding-bottom: 2px; }
.balken-reihe { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.balken-reihe i { width: 12px; height: 100%; border-radius: 2px 2px 0 0; background: var(--kopierstift); transform: scaleY(var(--h)); transform-origin: center bottom; }
.rhythmus-vergleich > div:first-child .balken-reihe i { background: var(--graphit); }
.js .legende-zeile .balken-reihe i { transform: scaleY(.06); transition: transform .7s var(--ease); }
.js .legende-zeile.in .balken-reihe i { transform: scaleY(var(--h)); }
.balken-reihe i:nth-child(2) { transition-delay: 60ms; } .balken-reihe i:nth-child(3) { transition-delay: 120ms; }
.balken-reihe i:nth-child(4) { transition-delay: 180ms; } .balken-reihe i:nth-child(5) { transition-delay: 240ms; }
.balken-reihe i:nth-child(6) { transition-delay: 300ms; }

.abschnitt--wz { background: var(--bogen); border-block: 1px solid var(--linie); }
.wz-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.wz-text > p { color: var(--satz-2); max-width: 36em; }
.wz-text .grenze { margin-top: 24px; }
.roentgen { display: grid; gap: 14px; }
.roentgen-blatt { padding: 18px 20px; border-radius: var(--r-l); background: var(--fahne); border: 1px solid var(--linie); }
.roentgen-blatt--feder { background: var(--bogen); border-color: var(--linie-stark); box-shadow: var(--schatten-hoch); margin-left: clamp(0px, 3vw, 28px); }
.roentgen-blatt .etikett { margin-bottom: 6px; }
.roentgen-satz { margin: 0; font: 400 clamp(1.45rem, 2.2vw, 1.8rem)/1.45 var(--ff-display); }
.kuerzel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 10px 0 0; }
.kuerzel > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.kuerzel dt { flex: none; min-width: 52px; padding: 4px 7px; border-radius: 6px; background: var(--bogen-2); font-size: 11.5px; text-align: center; }
.kuerzel dd { margin: 0; font-size: 14px; color: var(--satz-2); }

.einsatz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.einsatz-karte {
  padding: clamp(24px, 3vw, 34px); border-radius: var(--r-l); background: var(--bogen); border: 1px solid var(--linie);
  transition: border-color .2s;
}
.einsatz-karte:hover { border-color: var(--linie-stark); }
.einsatz-karte h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.einsatz-karte p:last-child { margin: 0; color: var(--satz-2); }
.einsatz-karte .etikett { color: var(--kopierstift); }

.abschnitt--schutz { padding-top: 0; }
.schutz-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.schutz { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.schutz li { position: relative; padding-top: 18px; border-top: 1px solid var(--linie); }
.schutz li::before { content: ""; position: absolute; left: 0; top: -1px; width: 32px; height: 2px; background: var(--kopierstift); }
.schutz h3 { font-size: 1.4rem; margin-bottom: .3em; }
.schutz p { margin: 0; color: var(--satz-2); font-size: 15.5px; }

.faq-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.frage { border-bottom: 1px solid var(--linie); }
.frage:first-child { border-top: 1px solid var(--linie); }
.frage h3 { margin: 0; font: inherit; }
.frage button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 16px 4px;
  border: 0; background: transparent; color: var(--satz); font: 600 17px/1.4 var(--ff-body); text-align: left; cursor: pointer;
}
.frage button:hover { color: var(--kopierstift); }
.frage-zeichen { position: relative; flex: none; width: 16px; height: 16px; }
.frage-zeichen::before, .frage-zeichen::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .25s var(--ease); }
.frage-zeichen::after { transform: rotate(90deg); }
.frage.offen .frage-zeichen::after { transform: rotate(0deg); }
.antwort { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s var(--ease), visibility .32s; }
.antwort > div { overflow: hidden; }
.antwort p { margin: 0 0 14px; padding-right: 34px; color: var(--satz-2); }
.antwort p:last-child { padding-bottom: 12px; }
.frage:not(.offen) .antwort { grid-template-rows: 0fr; visibility: hidden; } /* ohne JS: <noscript>-Stil öffnet alle */

.schluss { padding: 0 clamp(16px, 4vw, 40px) clamp(48px, 6vw, 80px); }
.schluss-innen {
  max-width: 960px; margin: 0 auto; padding: clamp(44px, 6vw, 76px) clamp(22px, 5vw, 64px); text-align: center;
  border-radius: 24px; background: var(--kopierstift-hauch); border: 1px solid var(--linie);
}
.schluss-innen p { color: var(--satz-2); font-size: 18px; max-width: 32em; margin: 0 auto 26px; }
.schluss-innen .these-cta { justify-content: center; }

/* Scroll-Reveals: aus dem Satz nach oben, gestaffelt */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .75s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .legende-zeile.reveal { transform: translateX(-14px); }
.js .reveal.in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Auth, Recht, 404 */
.auth-intro { color: var(--graphit); font-size: 15px; margin-bottom: 22px; }
.auth-karte .check { margin-bottom: 14px; }
.auth-karte .check a { font-weight: 600; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 18px; }
.auth-links a { display: inline-flex; align-items: center; min-height: 44px; }
#resendBox { margin-top: 12px; }
#resendBox .btn { min-height: 44px; }
.fehlerseite h1 .mk--probe { font-style: italic; }
.fehler-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 0; }
.recht address { font-style: normal; color: var(--satz-2); margin-bottom: 1em; }
.recht ul { padding-left: 1.2em; }
.recht li { margin-bottom: .4em; }
.recht-kurz { padding: 16px 18px; border-radius: var(--r); background: var(--kopierstift-hauch); }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1080px) {
  .held-innen { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .fahne-text { font-size: 16.5px; }
}
@media (max-width: 920px) {
  .held { min-height: 0; }
  .held-innen { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 700px; }
  .these h1 { font-size: clamp(2.5rem, 7.4vw, 3.9rem); }
  .weiter { display: none; }
  .muster-raster, .wz-raster, .schutz-raster, .faq-raster { grid-template-columns: minmax(0, 1fr); }
  .muster-kopf { position: static; }
  .schritte { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .roentgen { max-width: 560px; }
}
@media (max-width: 768px) {
  .kopf .nur-breit { display: none; }
  .stufen, .einsatz { grid-template-columns: minmax(0, 1fr); }
  .legende-zeile { grid-template-columns: minmax(0, 1fr); padding: 22px 0; }
  .fahne-tipp { display: none; }
}
@media (max-width: 560px) {
  .kopf { padding-left: 14px; padding-right: 10px; gap: 8px; }
  .kopf nav { gap: 2px; }
  .kopf-cta { display: none; }
  .held { padding-top: 18px; }
  .these h1 { font-size: clamp(2.3rem, 10.6vw, 2.9rem); }
  .these-sub { font-size: 16.5px; margin-bottom: 22px; }
  .these-cta { flex-direction: column; }
  .these-cta .btn { width: 100%; }
  .vertrauen { margin-top: 16px; font-size: 14px; }
  .fahne::before { inset: 8px -4px -8px 4px; }
  .fahne-kopf { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 12px; gap: 14px; }
  .rhythmus-box { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px; text-align: left; }
  .rhythmus-box .etikett { margin: 0 0 2px; }
  .rhythmus { justify-content: flex-start; height: 28px; }
  .rhythmus-text { margin: 0; }
  .mess-wert { font-size: 46px; }
  .wz-band { margin: 12px 12px 0; flex-wrap: wrap; }
  .fahne-blatt { padding: 12px 16px 16px 30px; }
  .fahne-blatt::before { left: 16px; }
  .fahne-text { font-size: 16px; line-height: 1.85; }
  .fahne-aktionen .btn--fahne { padding: 0 10px; }
  .eigen-feld textarea { min-height: 240px; }
  .eigen-fuss { flex-direction: column; gap: 4px; }
  .kuerzel { grid-template-columns: minmax(0, 1fr); }
  .rhythmus-vergleich > div { grid-template-columns: 96px auto; }
  .antwort p { padding-right: 0; }
  .schritt-bild { height: auto; min-height: 150px; }
}
@media (max-width: 380px) {
  .fahne-aktionen { gap: 2px; }
  .fahne-aktionen .btn--fahne { font-size: 13.5px; padding: 0 8px; }
  .marke { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .legende-zeile.reveal { opacity: 1; transform: none; transition-delay: 0s; }
  .js .legende-zeile .balken-reihe i { transition-delay: 0s; }
  .js .legende-zeile .balken-reihe i { transform: scaleY(var(--h)); }
}
