:root {
  --papier-grund: #f7f4ee;
  --karte-hell: #ffffff;
  --kasten-sand: #ede7dc;
  --tief-petrol: #1b3a4b;
  --tief-petrol-dunkel: #122733;
  --ziegel-akzent: #a84b24;
  --ziegel-dunkel: #833818;
  --druck-tinte: #1d2328;
  --neben-tinte: #4b555d;
  --linie-fein: #d5cec2;
  --linie-stark: #9e9688;
  --fuss-hell: #f2eee7;
  --fuss-gedaempft: #c7d3da;
  --hinweis-gruen-bg: #e7f1ec;
  --hinweis-gruen-text: #1b4d38;
  --fehler-rot-bg: #f9eae7;
  --fehler-rot-text: #8c2318;
  --schrift-titel: Georgia, "Palatino Linotype", serif;
  --schrift-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --schrift-zahlen: ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; background: var(--papier-grund); color: var(--druck-tinte); }
body { margin: 0; font: 1.02rem/1.68 var(--schrift-text); color: var(--druck-tinte); background: var(--papier-grund); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ziegel-akzent); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--ziegel-dunkel); }
:is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--tief-petrol); outline-offset: 2px; }

.sprung-link { position: absolute; left: -999px; top: 0; background: var(--tief-petrol-dunkel); color: var(--fuss-hell); padding: 0.7rem 1.1rem; z-index: 200; text-decoration: none; font-weight: 600; }
.sprung-link:focus { left: 0.75rem; top: 0.75rem; }
.blatt-rahmen { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

.kopfzeile { background: var(--karte-hell); border-bottom: 2px solid var(--tief-petrol); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 76px; padding: 0.7rem 0; }
.markenband { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--druck-tinte); flex-shrink: 0; }
.marken-bild { width: 42px; height: 42px; border-radius: 6px; flex-shrink: 0; }
.marken-text { display: flex; flex-direction: column; line-height: 1.15; }
.marken-name { font: 700 1.32rem/1.15 var(--schrift-titel); color: var(--tief-petrol-dunkel); }
.marken-zusatz { font-size: 0.78rem; color: var(--neben-tinte); margin-top: 2px; }

.menue-schalter { display: none; background: var(--kasten-sand); color: var(--tief-petrol-dunkel); border: 1px solid var(--linie-stark); border-radius: 3px; padding: 0.45rem 0.85rem; font: 600 0.92rem var(--schrift-text); cursor: pointer; }
.kopfnavigation { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.menue-punkt { display: inline-block; padding: 0.45rem 0.78rem; color: var(--druck-tinte); text-decoration: none; font: 600 0.94rem var(--schrift-text); border-radius: 3px; }
.menue-punkt:hover, .menue-punkt:focus-visible { background: var(--kasten-sand); color: var(--tief-petrol-dunkel); }
.menue-aktiv, .menue-aktiv:hover { background: var(--tief-petrol); color: var(--fuss-hell); }

h1, h2, h3 { font-family: var(--schrift-titel); color: var(--tief-petrol-dunkel); line-height: 1.24; margin: 0 0 0.75rem; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 3.2vw, 2.45rem); letter-spacing: -0.015em; margin-bottom: 0.85rem; }
h2 { font-size: clamp(1.36rem, 2.2vw, 1.8rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
p { margin: 0 0 1.05rem; }
.rubrik-marke, .ort-zeile { display: inline-block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ziegel-akzent); margin-bottom: 0.48rem; }

.titel-bildrahmen, .methodik-foto, .artikel-hauptbild, .fall-kachel, .eingabe-form, .quartal-posten, .quer-karte, .fehler-kasten, .impressum-tafel, .mess-tabelle, .verzeichnis-tabelle { background: var(--karte-hell); border: 1px solid var(--linie-fein); border-radius: 3px; }

.leitartikel-kopf, .fallstudien-band, .quartal-band { padding: 2.5rem 0; border-bottom: 1px solid var(--linie-fein); }
.titel-raster { display: grid; grid-template-columns: 1.08fr 1.15fr; gap: 2.2rem; align-items: center; }
.titel-vorspann { font-size: 1.08rem; color: var(--neben-tinte); line-height: 1.62; margin-bottom: 1.2rem; }
.mess-streifen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1.2rem 0 1.45rem; padding: 0.9rem 1rem; background: var(--kasten-sand); border-left: 4px solid var(--tief-petrol); }
.mess-wert strong { display: block; font: 700 0.94rem var(--schrift-zahlen); color: var(--tief-petrol-dunkel); }
.mess-wert span { display: block; font-size: 0.8rem; color: var(--neben-tinte); margin-top: 2px; }
.titel-aktion, .senden-knopf { display: inline-block; background: var(--tief-petrol); color: var(--fuss-hell); text-decoration: none; border: 0; border-radius: 3px; padding: 0.68rem 1.25rem; font: 600 0.95rem var(--schrift-text); cursor: pointer; }
.titel-aktion:hover, .senden-knopf:hover { background: var(--tief-petrol-dunkel); color: var(--fuss-hell); }

.titel-bildrahmen, .methodik-foto, .artikel-hauptbild { margin: 0; padding: 0.5rem; }
.titel-bildrahmen img, .methodik-foto img, .artikel-hauptbild img, .kachel-bild { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bild-legende { font-size: 0.84rem; color: var(--neben-tinte); margin-top: 0.55rem; line-height: 1.45; }

.band-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.75rem; margin-bottom: 1.6rem; }
.band-kopf p { margin: 0; color: var(--neben-tinte); max-width: 60ch; }
.fallstudien-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.fall-kachel { display: flex; flex-direction: column; overflow: hidden; }
.kachel-bild { border-bottom: 1px solid var(--linie-fein); }
.kachel-inhalt { padding: 1.15rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.fall-kachel h3 { font-size: 1.12rem; line-height: 1.32; margin-bottom: 0.6rem; }
.fall-kachel h3 a, .quer-karte a { color: var(--tief-petrol-dunkel); text-decoration: none; }
.fall-kachel h3 a:hover, .quer-karte a:hover { color: var(--ziegel-akzent); text-decoration: underline; }
.kachel-auszug { font-size: 0.94rem; color: var(--neben-tinte); line-height: 1.58; margin-bottom: 1rem; flex: 1; }
.weiter-verweis { font-size: 0.9rem; font-weight: 600; color: var(--tief-petrol); }

.methodik-band { padding: 2.6rem 0; background: var(--kasten-sand); border-bottom: 1px solid var(--linie-fein); }
.methodik-gitter { display: grid; grid-template-columns: 1.15fr 0.95fr; gap: 2.2rem; align-items: center; }
.methodik-punkte, .artikel-spalte ul, .artikel-spalte ol { margin: 1rem 0 1.2rem; padding-left: 1.25rem; }
.methodik-punkte li, .artikel-spalte li { margin-bottom: 0.48rem; }

.quartal-liste { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.quartal-posten { border-top: 3px solid var(--tief-petrol); padding: 1rem 1.1rem; }
.quartal-zeit { display: inline-block; font: 700 0.78rem var(--schrift-zahlen); color: var(--ziegel-akzent); margin-bottom: 0.35rem; }
.quartal-posten p { font-size: 0.91rem; color: var(--neben-tinte); margin: 0; line-height: 1.55; }

.leserrunde-band { padding: 2.65rem 0 3rem; }
.leser-gitter { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 2.2rem; align-items: start; }
.eingabe-form { padding: 1.45rem 1.55rem; }
.feld-reihe { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.feld-gruppe { margin-bottom: 1rem; }
.feld-gruppe label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--tief-petrol-dunkel); margin-bottom: 0.3rem; }
.feld-gruppe :is(input, select, textarea) { width: 100%; padding: 0.6rem 0.75rem; font: 0.96rem var(--schrift-text); color: var(--druck-tinte); background: var(--papier-grund); border: 1px solid var(--linie-stark); border-radius: 3px; }
.feld-gruppe textarea { min-height: 104px; resize: vertical; }
.zustimmung-zeile { display: flex; align-items: flex-start; gap: 0.6rem; margin: 0.9rem 0 1.15rem; font-size: 0.88rem; color: var(--neben-tinte); }
.zustimmung-zeile input { margin-top: 0.25rem; flex-shrink: 0; }
.rueckmeldung-box, .fehler-hinweis { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 3px; font-size: 0.93rem; display: none; }
.rueckmeldung-box.ist-sichtbar { display: block; background: var(--hinweis-gruen-bg); color: var(--hinweis-gruen-text); border: 1px solid #9cc4b1; }
.fehler-hinweis.ist-sichtbar { display: block; background: var(--fehler-rot-bg); color: var(--fehler-rot-text); border: 1px solid #d9a098; }

.artikel-kopf { padding: 2.1rem 0 1.4rem; border-bottom: 1px solid var(--linie-fein); background: var(--karte-hell); }
.artikel-pfad, .artikel-pfad a { font-size: 0.84rem; color: var(--neben-tinte); margin-bottom: 0.7rem; }
.artikel-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.3rem; font-size: 0.88rem; color: var(--neben-tinte); margin-top: 0.8rem; }
.artikel-spalte { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem 2.9rem; }
.artikel-hauptbild { margin-bottom: 1.8rem; }
.artikel-spalte h2 { margin-top: 1.95rem; padding-top: 0.4rem; border-top: 1px solid var(--linie-fein); }
.breit-spalte { padding: 2.15rem 0 2.9rem; }

.tabelle-huelle { width: 100%; overflow-x: auto; margin: 1.35rem 0 1.55rem; }
.mess-tabelle, .verzeichnis-tabelle { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
:is(.mess-tabelle, .verzeichnis-tabelle) :is(th, td) { padding: 0.65rem 0.8rem; text-align: left; border-bottom: 1px solid var(--linie-fein); vertical-align: top; }
:is(.mess-tabelle, .verzeichnis-tabelle) thead th { background: var(--tief-petrol); color: var(--fuss-hell); font-weight: 600; }
:is(.mess-tabelle, .verzeichnis-tabelle) tbody tr:nth-child(even) { background: var(--papier-grund); }
.zahl-spalte { font-family: var(--schrift-zahlen); white-space: nowrap; }

.praxis-merkkasten, .fehler-kasten, .impressum-tafel { margin: 1.5rem 0; padding: 1.15rem 1.3rem; }
.praxis-merkkasten { background: var(--kasten-sand); border-left: 4px solid var(--tief-petrol); border-radius: 3px; }
.fehler-kasten { border-left: 4px solid var(--ziegel-akzent); }
.impressum-tafel { border-left: 4px solid var(--tief-petrol); }
.impressum-tafel p:last-child { margin-bottom: 0; }

.nachbar-beitraege { margin-top: 2.4rem; padding-top: 1.45rem; border-top: 2px solid var(--tief-petrol); }
.quer-gitter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.quer-karte { padding: 0.95rem 1rem; }
.quer-karte a { font: 700 1rem/1.3 var(--schrift-titel); display: block; margin-bottom: 0.35rem; }
.quer-karte span { font-size: 0.84rem; color: var(--neben-tinte); }

.seitenabschluss { background: var(--tief-petrol-dunkel); color: var(--fuss-hell); padding: 2.6rem 0 1.7rem; margin-top: 1rem; }
.fuss-gitter { display: grid; grid-template-columns: 1.2fr 1.1fr 0.9fr; gap: 2rem; padding-bottom: 1.9rem; border-bottom: 1px solid #2b4757; }
.fuss-titel { font: 700 1.05rem var(--schrift-titel); color: var(--fuss-hell); margin: 0 0 0.7rem; }
.seitenabschluss p { font-size: 0.9rem; color: var(--fuss-gedaempft); line-height: 1.6; }
.fuss-liste { list-style: none; margin: 0; padding: 0; }
.fuss-liste li { margin-bottom: 0.45rem; font-size: 0.9rem; }
.seitenabschluss a { color: var(--fuss-hell); text-decoration: none; }
.seitenabschluss a:hover { color: #ffffff; text-decoration: underline; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding-top: 1.15rem; font-size: 0.84rem; color: var(--fuss-gedaempft); }

.browser-notiz { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 780px; margin: 0 auto; background: var(--tief-petrol-dunkel); color: var(--fuss-hell); border: 1px solid #35586b; border-radius: 6px; padding: 0.9rem 1.1rem; display: none; align-items: center; justify-content: space-between; gap: 1rem; z-index: 150; }
.browser-notiz.ist-offen { display: flex; }
.browser-notiz p { margin: 0; font-size: 0.86rem; color: var(--fuss-hell); line-height: 1.48; }
.browser-notiz a { color: #f6c7ae; }
.hinweis-knopf { background: var(--ziegel-akzent); color: #ffffff; border: 0; border-radius: 3px; padding: 0.5rem 0.95rem; font: 600 0.86rem var(--schrift-text); cursor: pointer; flex-shrink: 0; }
.hinweis-knopf:hover { background: var(--ziegel-dunkel); }

@media (max-width: 960px) {
  .titel-raster, .methodik-gitter, .leser-gitter { grid-template-columns: 1fr; gap: 1.5rem; }
  .fallstudien-raster, .quartal-liste, .fuss-gitter { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .kopf-innen { flex-wrap: wrap; }
  .menue-schalter { display: inline-block; }
  .kopfnavigation { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-top: 0.65rem; border-top: 1px solid var(--linie-fein); }
  .kopfnavigation.ist-geoeffnet { display: flex; }
  .menue-punkt { padding: 0.58rem 0.7rem; }
  .fallstudien-raster, .quartal-liste, .quer-gitter, .fuss-gitter, .feld-reihe, .mess-streifen { grid-template-columns: 1fr; }
  .browser-notiz { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .blatt-rahmen, .artikel-spalte { padding-left: 0.9rem; padding-right: 0.9rem; }
  .marken-name { font-size: 1.15rem; }
  .eingabe-form { padding: 1.15rem 1rem; }
}
