

@font-face {
  font-family: 'InterVariable';
  src: url('schriften/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  
  --papier:      #FFFFFF;
  
  --flaeche:     #F1F3F5;
  --flaeche-satt:#E0E5E9;   
  --tinte:       #1D1D1B;   
  --text:        #45443F;   
  --gedaempft:   #5B5E63;   
  --haarlinie:   rgba(0,0,0,.13);
  --haarlinie-stark: rgba(0,0,0,.20);
  
  --rand-bedienbar: rgba(0,0,0,.42);
  --rot:         #C91430;   
  --rot-dunkel:  #A9102A;   
  --nacht:       #02141E;   
  
  --wahl:        var(--rot);
  

  --spalte:      44rem;   
  --spalte-weit: 60rem;   
  --radius:      14px;
  --kopfhoehe:   4.5rem;

  --tempo:       .26s;
  --kurve:       cubic-bezier(.22,.61,.36,1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--papier);
  color: var(--text);
  font-family: 'InterVariable', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg { max-width: 100%; }

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


p, li, label, h1, h2, h3, span, blockquote, td, th {
  overflow-wrap: anywhere;
}


.nur-vorleser {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sprungmarke {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--nacht);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius) 0;
  text-decoration: none;
}
.sprungmarke:focus { left: 0; }




.kopf {
  position: fixed;
  inset: clamp(12px, 1.5vw, 20px) 0 auto;
  z-index: 20;
  pointer-events: none;   
}

.kopf-innen {
  width: min(1240px, 92vw);   
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.kopf-pille {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 22px);
  
  min-height: 57px;
  padding: 8px clamp(16px, 1.6vw, 24px);
  background: rgba(255,255,255,.93);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(18,11,6,.26),
              0 1px 0 rgba(255,255,255,.7) inset;
}

.kopf .fortschritt {
  pointer-events: auto;
  background: rgba(255,255,255,.93);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-radius: 16px;
  padding: .6rem clamp(16px, 1.6vw, 24px) .55rem;
  box-shadow: 0 8px 26px rgba(18,11,6,.16), 0 0 0 1px var(--haarlinie);
}

 

.kopf-marke { display: flex; align-items: center; margin-right: auto; }
.kopf-logo  { height: auto; width: auto; max-height: 22px; max-width: 440px;
              flex: none; display: block; }

@media (max-width: 760px) {
  .kopf-pille { min-height: 47px; padding: 7px 15px; gap: 10px; }
  .kopf-logo  { max-height: 19px; max-width: 380px; }
  .kopf-pille .marke { display: none; }
  .kopf .fortschritt { padding: .5rem 14px .45rem; border-radius: 14px; }
  
  .buehne { padding-top: clamp(12rem, 40vw, 13rem); }
}
@media (max-width: 430px) {
  .kopf-pille { padding: 7px 13px; gap: 9px; }
  .kopf-logo  { max-height: 16px; max-width: 320px; }
}


.marke {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--rot);
  text-transform: uppercase;
}


.fortschritt {
  display: flex;
  align-items: flex-end;
  gap: .9rem;
}

.fortschritt[hidden] { display: none; }

.stufen {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .4rem;
}

.stufe { min-width: 0; }

.stufe-spur {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--haarlinie);
  overflow: hidden;
}

.stufe-fuell {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: var(--wahl);
  transition: width var(--tempo) var(--kurve);
}


.stufe-zeile {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-top: .38rem;
}

.stufe-label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--gedaempft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stufe[aria-current="step"] .stufe-label {
  color: var(--wahl);
  font-weight: 650;
}


.stufe-prozent {
  flex: 0 0 auto;
  font-size: .6875rem;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  color: var(--gedaempft);
}

.stufe[aria-current="step"] .stufe-prozent { color: var(--wahl); }


.fortschritt-gesamt {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: .4rem;
}

.fortschritt-gesamt-marke {
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gedaempft);
}

.fortschritt-gesamt-wert {
  font-size: .8125rem;
  font-weight: 620;
  font-variant-numeric: tabular-nums;
  color: var(--tinte);
}



body.ohne-prozent .stufe-prozent,
body.ohne-prozent .fortschritt-gesamt { display: none; }




.buehne {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: clamp(9.5rem, 15vw, 11.5rem) clamp(1.1rem, 4vw, 2rem)
           clamp(1.75rem, 5vw, 3.5rem);
}

.karte {
  width: 100%;
  max-width: var(--spalte);
  margin-inline: auto;
  margin-block: auto;   
}

.karte--weit { max-width: var(--spalte-weit); }


@keyframes eintreten {
  from { opacity: 0; transform: translateY(9px); }
  to   { opacity: 1; transform: none; }
}
.karte--neu { animation: eintreten var(--tempo) var(--kurve) both; }



.frage {
  font-size: clamp(1.375rem, 1.05rem + 1.35vw, 2rem);
  font-weight: 620;
  line-height: 1.22;
  letter-spacing: -.021em;
  color: var(--tinte);
  text-wrap: balance;
}

.frage-vorspann {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gedaempft);
  margin-bottom: .8rem;
}

.schablone {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: var(--flaeche);
  border-radius: var(--radius);
  font-size: 1.0625rem;
  font-weight: 550;
  line-height: 1.5;
  color: var(--tinte);
}

.hinweiszeile {
  margin-top: .9rem;
  font-size: .875rem;
  color: var(--gedaempft);
}


.gold {
  background-image: linear-gradient(var(--rot), var(--rot));
  background-repeat: no-repeat;
  background-size: 100% .22em;
  background-position: 0 96%;
  padding-bottom: .04em;
}



.start-titel {
  font-size: clamp(1.875rem, 1.2rem + 2.8vw, 3.25rem);
  font-weight: 660;
  line-height: 1.08;
  letter-spacing: -.031em;
  color: var(--tinte);
  text-wrap: balance;
}

.start-strophe {
  margin-top: 1.75rem;
  display: grid;
  gap: .1rem;
  font-size: 1.0625rem;
  color: var(--gedaempft);
}

.start-frage {
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 1rem + .7vw, 1.5rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -.014em;
  color: var(--tinte);
  max-width: 34ch;
}

.start-einleitung {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--haarlinie);
  font-size: 1.0625rem;
  color: var(--text);
}

.start-punkte {
  margin-top: 1rem;
  display: grid;
  gap: .7rem;
}

.start-punkte li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--tinte);
}

.start-punkte li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: .5rem;
  height: 1px;
  background: var(--rot);
}

.start-fuss {
  margin-top: 1.5rem;
  font-size: .875rem;
  color: var(--gedaempft);
  max-width: 46ch;
}



.ergebnisblock {
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--haarlinie);
}

.ergebnisblock-kette {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .55rem;
  font-size: .9375rem;
  line-height: 1.45;
}

.ergebnis-blass { color: var(--gedaempft); }

.ergebnis-hervor {
  color: var(--tinte);
  font-weight: 620;
}

.ergebnis-pfeil {
  color: var(--gedaempft);
  font-weight: 400;
}

.ergebnisblock-paar {
  margin-top: 1.35rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ergebnis-saeule {
  min-width: 0;
  padding: 1.15rem 1.25rem 1.3rem;
  background: var(--flaeche);
  border-radius: var(--radius);
}

.ergebnis-titel {
  font-size: 1.0625rem;
  font-weight: 640;
  line-height: 1.28;
  letter-spacing: -.014em;
  color: var(--tinte);
  text-wrap: balance;
}

.ergebnis-zitate {
  margin-top: 1rem;
  display: grid;
  gap: .8rem;
}

.ergebnis-zitat {
  padding-left: .85rem;
  border-left: 2px solid var(--haarlinie-stark);
}

.ergebnis-zitat-text {
  display: block;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--text);
}

.ergebnis-zitat .offen-quelle { margin-top: .2rem; }


.folgezeile {
  margin-top: 1.25rem;
}

.folgezeile-kette {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .55rem;
  font-size: .9375rem;
  line-height: 1.45;
}



.antworten {
  margin-top: 1.75rem;
  display: grid;
  gap: .5rem;
}

.antwort {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  min-height: 3.25rem;      
  padding: .85rem 1.05rem;
  background: var(--papier);
  
  border: 1px solid var(--rand-bedienbar);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--tempo) var(--kurve),
              border-color var(--tempo) var(--kurve);
}

.antwort:hover { background: var(--flaeche); }

.antwort input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.antwort-marke {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .18rem;
  border: 1.5px solid var(--rand-bedienbar);
  border-radius: 50%;
  background: var(--papier);
  transition: border-color var(--tempo) var(--kurve),
              box-shadow var(--tempo) var(--kurve);
}

.antwort--mehrfach .antwort-marke { border-radius: 6px; }

.antwort-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--tinte);
}

.antwort[data-gewaehlt="ja"] {
  border-color: var(--wahl);
  background: var(--papier);
  box-shadow: inset 0 0 0 1px var(--wahl);
}

.antwort[data-gewaehlt="ja"] .antwort-marke {
  border-color: var(--wahl);
  box-shadow: inset 0 0 0 4px var(--wahl);
}

.antwort--mehrfach[data-gewaehlt="ja"] .antwort-marke {
  box-shadow: inset 0 0 0 3px var(--wahl);
}


.antwort:has(input:focus-visible) {
  outline: 2px solid var(--wahl);
  outline-offset: 3px;
}

@supports not selector(:has(*)) {
  .antwort:focus-within {
    outline: 2px solid var(--wahl);
    outline-offset: 3px;
  }
}



.feld {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: .8rem .95rem;
  background: var(--papier);
  color: var(--tinte);
  border: 1px solid var(--rand-bedienbar);
  border-radius: 10px;
  font-size: 1rem;   
  line-height: 1.5;
  transition: border-color var(--tempo) var(--kurve);
}

.feld:hover { border-color: rgba(0,0,0,.3); }
.feld:focus { border-color: var(--wahl); }

textarea.feld {
  min-height: 8.5rem;
  resize: vertical;
}

.feldblock { margin-top: 1.75rem; }

.formularraster {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.formularfeld { min-width: 0; display: grid; gap: .35rem; }
.formularfeld--voll { grid-column: 1 / -1; }

.feldname {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--tinte);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  letter-spacing: -.01em;
}

.feldpflicht {
  margin-left: .45rem;
  font-family: 'InterVariable', system-ui, sans-serif;
  font-weight: 500;
  color: var(--gedaempft);
  letter-spacing: 0;
}

.feldhinweis {
  font-size: .8125rem;
  line-height: 1.45;
  color: var(--gedaempft);
}

.einwilligung {
  margin-top: 1.5rem;
  display: grid;
  gap: .85rem;
}

.haken {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .85rem 1rem;
  border: 1px solid var(--haarlinie);
  border-radius: var(--radius);
  cursor: pointer;
}

.haken input {
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin: .2rem 0 0;
  accent-color: var(--wahl);
}

.haken-text { min-width: 0; font-size: .9375rem; }



.fehler {
  margin-top: 1.1rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--rot);
  background: var(--flaeche);
  border-radius: 0 10px 10px 0;
  font-size: .9375rem;
  color: var(--tinte);
}

.fehler[hidden] { display: none; }



.navigation {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--haarlinie);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.navigation--offen { border-top: 0; padding-top: 0; }

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  
  min-height: 3rem;
  padding: 18px 30px 18px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: background var(--tempo) var(--kurve),
              border-color var(--tempo) var(--kurve),
              transform .12s var(--kurve);
  background: none;
}

.knopf:active { transform: translateY(1px); }

.knopf--haupt {
  background: var(--rot);
  color: #fff;
}
.knopf--haupt:hover { background: var(--rot-dunkel); }

.knopf--gross {
  min-height: 3.5rem;
  padding: 22px 38px 22px 32px;
  font-size: 18px;
}

.knopf--still {
  border-color: var(--haarlinie-stark);
  color: var(--tinte);
}
.knopf--still:hover { background: var(--flaeche); }

.nav-fueller { flex: 1 1 auto; }

.nav-tastatur {
  flex: 0 0 auto;
  font-size: .75rem;
  color: var(--gedaempft);
}



.tafel {
  padding: clamp(1.75rem, 5vw, 3rem);
  background: var(--flaeche);
  border-radius: calc(var(--radius) + 6px);
}

.tafel-titel {
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
  font-weight: 640;
  line-height: 1.2;
  letter-spacing: -.022em;
  color: var(--tinte);
  margin-bottom: 1rem;
}

.tafel-text {
  display: grid;
  gap: .9rem;
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.5;
  color: var(--tinte);
}

.tafel-definition {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--haarlinie);
  font-size: 1rem;
  color: var(--text);
}


.tafel--dunkel {
  background: var(--nacht);
  color: #fff;
}
.tafel--dunkel .tafel-text { color: #fff; }
.tafel--dunkel .tafel-text .leise { color: rgba(255,255,255,.72); }
.tafel--dunkel .tafel-text .stark { font-weight: 620; }

.tafel--dunkel :focus-visible { outline-color: #fff; }



.offen {
  margin-top: 1.25rem;
  padding: .75rem .95rem;
  border: 1px dashed var(--haarlinie-stark);
  border-radius: 10px;
  background: var(--flaeche);
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--gedaempft);
}

.offen + .offen { margin-top: .5rem; }

.offen-marke {
  display: inline-block;
  margin-right: .5rem;
  padding: .05rem .4rem;
  border-radius: 4px;
  background: var(--rot);
  color: #fff;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .05em;
  vertical-align: .05em;
}

.offen-quelle {
  display: block;
  margin-top: .3rem;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: .6875rem;
  color: var(--gedaempft);
}

.offen--klein { margin-top: .4rem; padding: .45rem .7rem; }

.quellenzeile {
  margin-top: .9rem;
  font-size: .9375rem;
  color: var(--gedaempft);
}



.demo {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--haarlinie-stark);
}

.demo-titel {
  display: inline-block;
  padding: .1rem .45rem;
  border-radius: 4px;
  background: var(--nacht);
  color: #fff;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .09em;
}

.demo-text {
  margin-top: .6rem;
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--gedaempft);
  max-width: 56ch;
}

.demo-reihe {
  margin-top: .85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}

.demo-wahl {
  flex: 1 1 15rem;
  min-width: 0;
  max-width: 26rem;
  padding: .6rem .75rem;
  border: 1px solid var(--haarlinie-stark);
  border-radius: 10px;
  background: var(--papier);
  font-size: .875rem;
}

.demo-knopf {
  min-height: 2.75rem;
  padding: .55rem 1.15rem;
  border: 1px solid var(--nacht);
  border-radius: 999px;
  background: var(--papier);
  color: var(--wahl);
  font-size: .875rem;
  font-weight: 570;
  cursor: pointer;
  transition: background var(--tempo) var(--kurve);
}
.demo-knopf:hover { background: var(--flaeche); }


.demo-fahne {
  margin-bottom: 1.75rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--nacht);
  border-left-width: 4px;
  border-radius: 0 10px 10px 0;
  background: var(--flaeche);
  font-size: .875rem;
  line-height: 1.55;
  color: var(--tinte);
}

.demo-fahne strong { font-weight: 640; }

.demo-teil {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--haarlinie);
}



.vorfuehrstreifen {
  width: 100%;
  max-width: var(--spalte-weit);
  margin-inline: auto;
  margin-bottom: 1.75rem;
  padding: .8rem 1rem .9rem;
  background: var(--flaeche);
  border: 1px solid var(--haarlinie-stark);
  border-left: 4px solid var(--wahl);
  border-radius: 0 10px 10px 0;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
}

.vorfuehr-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
}

.vorfuehr-marke {
  flex: 0 0 auto;
  padding: .1rem .45rem;
  border-radius: 4px;
  background: var(--wahl);
  color: #fff;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .09em;
}


.vorfuehr-zaehler {
  flex: 0 0 auto;
  font-size: .6875rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--gedaempft);
}

.vorfuehr-sprung {
  flex: 1 1 16rem;
  min-width: 0;
  max-width: 34rem;
  padding: .45rem .6rem;
  border: 1px solid var(--rand-bedienbar);
  border-radius: 8px;
  background: var(--papier);
  color: var(--tinte);
  font-family: inherit;
  font-size: .75rem;
}

.vorfuehr-knopf {
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: .4rem 1rem;
  border: 1px solid var(--nacht);
  border-radius: 999px;
  background: var(--papier);
  color: var(--wahl);
  font-family: inherit;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--tempo) var(--kurve);
}
.vorfuehr-knopf:hover { background: var(--flaeche); }

.vorfuehr-satz {
  margin-top: .7rem;
  max-width: 76ch;
  font-size: .75rem;
  line-height: 1.55;
  color: var(--text);
}


body.vorfuehrung .kopf { border-bottom-color: var(--haarlinie-stark); }



.befund-ziel { display: block; }

.systemfehler {
  padding: 1.5rem;
  border: 1px solid var(--rot);
  border-radius: var(--radius);
  background: var(--papier);
}

.systemfehler h2 {
  font-size: 1.25rem;
  font-weight: 640;
  color: var(--rot);
  margin-bottom: .6rem;
}

.systemfehler p { font-size: .9375rem; margin-bottom: .6rem; }

.rohausgabe {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--flaeche);
  border-radius: 10px;
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--tinte);
  overflow-x: auto;         
  white-space: pre;
}



.fuss {
  border-top: 1px solid var(--haarlinie);
  background: var(--papier);
}


html:not(.js) .fuss { display: none; }

.fuss-innen {
  max-width: var(--spalte-weit);
  margin: 0 auto;
  padding: 1.1rem clamp(1.1rem, 4vw, 2rem) 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.5rem;
}

.fuss-hinweis {
  flex: 1 1 22rem;
  min-width: 0;
  font-size: .75rem;
  line-height: 1.55;
  color: var(--gedaempft);
}


.fuss-hinweis:empty { flex: 1 1 0; }

.fuss-knopf {
  flex: 0 0 auto;
  min-height: 2.5rem;
  padding: .4rem .9rem;
  
  border: 1px solid var(--rand-bedienbar);
  border-radius: 999px;
  background: var(--papier);
  color: var(--gedaempft);
  font-size: .75rem;
  font-weight: 550;
  cursor: pointer;
}
.fuss-knopf:hover { background: var(--flaeche); color: var(--tinte); }

.fuss-zahl {
  display: inline-block;
  margin-left: .35rem;
  padding: 0 .35rem;
  border-radius: 999px;
  background: var(--flaeche);
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: .6875rem;
}



.blatt {
  width: min(56rem, calc(100vw - 2rem));
  max-height: min(80dvh, 50rem);
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius) + 4px);
  background: var(--papier);
  color: var(--text);
  overflow: hidden;
}

.blatt::backdrop { background: rgba(10,10,10,.45); }

.blatt-kopf {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.1rem, 3vw, 1.75rem);
  border-bottom: 1px solid var(--haarlinie);
  background: var(--papier);
}

.blatt-kopf h2 {
  font-size: 1.0625rem;
  font-weight: 640;
  color: var(--tinte);
}

.blatt-schliessen {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--haarlinie-stark);
  border-radius: 50%;
  background: var(--papier);
  color: var(--tinte);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.blatt-schliessen:hover { background: var(--flaeche); }

.blatt-koerper {
  max-height: calc(min(80dvh, 50rem) - 4.5rem);
  overflow-y: auto;
  padding: 1.25rem clamp(1.1rem, 3vw, 1.75rem) 2rem;
}

.blatt-gruppe { margin-top: 1.5rem; }
.blatt-gruppe:first-child { margin-top: 0; }

.blatt-gruppe h3 {
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gedaempft);
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--haarlinie);
}

.blatt-liste { display: grid; gap: .85rem; margin-top: .9rem; }

.blatt-eintrag {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: .25rem .9rem;
  font-size: .875rem;
  line-height: 1.5;
}

.blatt-kennung {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: .75rem;
  color: var(--gedaempft);
  padding-top: .15rem;
}

.blatt-thema { font-weight: 600; color: var(--tinte); }
.blatt-befund { grid-column: 2; color: var(--text); }



@media (max-width: 44rem) {
  :root { --kopfhoehe: 4.25rem; }

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

  
  .fortschritt { flex-wrap: wrap; }

  .fortschritt-gesamt {
    order: -1;
    width: 100%;
    justify-content: flex-end;
  }

  
  body.ohne-prozent .fortschritt-gesamt.fortschritt-gesamt {
    display: flex;
    visibility: hidden;
  }

  
  body.ohne-prozent .stufe-prozent.stufe-prozent {
    display: block;
    visibility: hidden;
  }

  .stufe-zeile {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .stufe-label { font-size: .625rem; letter-spacing: -.005em; }
  .stufe-prozent { font-size: .625rem; }

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

  .vorfuehr-sprung { flex: 1 1 100%; max-width: none; }
  .vorfuehr-knopf { flex: 1 1 auto; }

  .navigation { gap: .6rem; }
  .navigation .knopf { flex: 1 1 auto; }
  .nav-tastatur { display: none; }   

  .blatt-eintrag { grid-template-columns: minmax(0, 1fr); }
  .blatt-befund { grid-column: 1; }
}

@media (max-width: 24rem) {
  .stufe-label { font-size: .5625rem; }
}



@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .karte--neu { animation: none; }
  .knopf:active { transform: none; }
}



@media print {
  .kopf, .fuss, .navigation, .demo, .blatt,
  .vorfuehrstreifen { display: none !important; }
  body { background: #fff; }
  .buehne { padding: 0; }
}



.demo-hinweis {
  margin-bottom: 1.5rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--rot);
  border-radius: var(--radius);
  font-size: .9rem;
  line-height: 1.5;
  color: var(--text);
}
.demo-hinweis strong { color: var(--tinte); }




body.ohne-marken .kgc-b__marke,
body.ohne-marken .kgc-b__offenliste,
body.ohne-marken .kgc-b__technik,
body.ohne-marken .offen-quelle,
body.ohne-marken #offen-oeffnen { display: none !important; }


body.ohne-marken .offen .offen-quelle { display: block !important; }



.fuss-marke {
  background: var(--nacht);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.1rem, 4vw, 2rem);
}
.fuss-marke-innen {
  max-width: var(--spalte-weit);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.fuss-logo { height: auto; width: auto; max-width: 250px; display: block; }
.fuss-schluss {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14.5px;
  font-weight: 500;
}



.feldtitel{
  display:block;margin:0 0 8px;
  font:700 15px/1.35 Inter,sans-serif;color:var(--tinte);
  letter-spacing:-.008em;
}
.feldnotiz{
  margin:8px 0 0;
  font:500 14px/1.5 Inter,sans-serif;color:var(--gedaempft);
}
.feldblock + .feldblock{margin-top:1.4rem}


@media (max-width: 600px) {
  .buehne { padding-top: 11.5rem; }

  
  .nav-fueller { display: none; }
  .navigation .knopf { flex: 0 0 auto; }
}


.lt{
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, .96rem + .5vw, 1.3125rem);
  line-height: 2.1;
  font-weight: 500;
  color: var(--tinte);
}

.lt__luecke{
  
  padding: .14em .3em;
  background: var(--flaeche);
  border-bottom: 2px solid var(--wahl);
  border-radius: 7px 7px 0 0;
  font-weight: 620;
  color: var(--tinte);
  outline: none;
  cursor: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background var(--tempo) var(--kurve),
              box-shadow var(--tempo) var(--kurve);
}


.lt__luecke:empty::before{
  content: attr(data-platz);
  color: var(--gedaempft);
  font-weight: 500;
}

.lt__luecke:hover{ background: #E7EAEE; }
.lt__luecke:focus{
  background: var(--papier);
  box-shadow: inset 0 0 0 1px var(--wahl);
}

.lt__zaehler{
  margin: 1.3rem 0 0;
  font: 500 14px/1.5 Inter, sans-serif;
  color: var(--gedaempft);
}
