/* UltraTerms · Markenfarben für das West-Labs-Design-Kit (Welt: welt-sachlich).
   Kontraste gemessen am 2026-11-15, siehe DESIGN.md. */
:root {
  --marke: #2b4a3f;          /* auf Weiß 9,75:1, Weiß darauf 9,75:1 */
  --marke-dunkel: #1e362d;   /* auf Weiß 12,96:1 */
  --marke-hell: #e8f0ec;     /* --marke darauf 8,41:1, --text-leise darauf 6,53:1 */
  --akzent: #b5651d;         /* nur Fokusrahmen und Ampel; auf Weiß 4,34:1 (Nicht-Text, ≥ 3:1) */
  --flaeche: #f4f3ef;        /* --marke darauf 8,78:1, --text-leise darauf 6,83:1 */
  --radius: 6px;
}

/* Seitenspezifisch (wenige Zeilen): */
/* Unterseiten ohne Startbereich */
.seite { padding-block: 2.5rem 4rem; }
.seite h2 { margin-top: 2.2em; }
[hidden] { display: none !important; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
.fuss nav a { display: inline-block; padding-block: .4rem; }
/* Aktenauszug auf der Startseite (HTML statt Bild, damit er bei 390 px lesbar bleibt) */
.akte { padding: 1.25rem 1.4rem; font-size: .97rem; line-height: 1.5; transform: none; }
.akte h3 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
.akte table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.akte td { padding: .3rem .2rem; border-top: 1px solid var(--linie); }
.akte td:last-child { text-align: right; white-space: nowrap; }
.akte .entwurf { border-left: 4px solid var(--marke); background: var(--flaeche); padding: .6rem .8rem; margin: .5rem 0 0; }
/* Schnellcheck */
.sc-anteile { display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem; gap: .4rem 1rem; align-items: center; }
.sc-anteile label { font-weight: 400; margin: 0; }
.sc-ergebnis { margin-top: 2rem; scroll-margin-top: 5.5rem; }
.sc-quelle { display: block; font-size: .85rem; color: var(--text-leise); }
.sc-weiter { margin-top: 1.5rem; }
.sc-ergebnis:focus { outline: none; }
#sc { max-width: 40rem; }
#sc > label { display: block; margin: 1.1rem 0 .35rem; }
/* Textseiten (Musterakte, Ratgeber, Danke): lesbare Zeilenlänge, Band und Karten in .seite */
.seite h1, .seite .abschnitt-kopf { max-width: 46rem; }
.seite .band { margin-top: 3rem; }
.seite .band h2 { margin-top: 0; }
.seite .karte h2 { margin-top: 0; font-size: 1.3rem; line-height: 1.3; }
.seite .quellen { margin-top: 1.25rem; }
.ratgeber-weiter { margin-top: 2rem; }
.tabelle-scroll { margin-bottom: 1em; }
.tabelle-scroll.breit > table { min-width: 40rem; }
/* Musterakte: zusammenhängende Akte im Papierrahmen, ohne Drehung */
.akte-voll { transform: none; padding: clamp(1.1rem, 3vw, 2.25rem); margin-top: 2rem; min-width: 0; }
.akte-voll > :first-child { margin-top: 0; }
.akte-voll h2 { font-size: 1.45rem; margin-top: 1.8em; max-width: none; }
.akte-voll h3 { margin-top: 1.4em; }
.akte-kopf { font-size: .95rem; color: var(--text-leise); padding-bottom: 1rem; border-bottom: 2px solid var(--marke); max-width: none; }
.akte-voll .entwurf { border-left: 4px solid var(--marke); background: var(--flaeche); padding: .8rem 1.1rem; margin: .5rem 0 0; max-width: none; }
.akte-voll .entwurf p:last-child { margin-bottom: 0; }
/* Kopfknopf mindestens 44 px hoch (Kit: 42 px auf dem Handy) */
@media (max-width: 760px) { .nav .btn { min-height: 44px; } }
@media (max-width: 520px) { .akte-voll th, .akte-voll td { padding: .6rem .45rem; } }
