/* Wildunfall.de · Gestaltung nach Brandbook Oktober 2026 */

@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fonts/space-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fonts/space-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --gruen: #0F2B20;
  --orange: #E4703A;
  --papier: #F7F5EF;
  --graublau: #9FAFA6;
  --graublau-hell: #CBD2CA;
  --creme: #F1EBDC;
  --rand: max(20px, 4.4vw);
  --sans: "Sora", Arial, sans-serif;
  --mono: "Space Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.45; background: var(--papier); color: var(--gruen); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3, p, ul { margin: 0; }
.mono { font-family: var(--mono); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--papier); padding: 8px 16px; }

/* Typografie */
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; white-space: pre-wrap; }
h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.1; font-weight: 700; }
h2 { font-size: clamp(26px, 3vw, 32px); line-height: 1.15; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.2; font-weight: 700; }
.lead { font-size: 18px; max-width: 720px; }
.small { font-size: 14px; }

/* Flächen */
.gruen { background: var(--gruen); color: var(--papier); }
.gruen .sub, .gruen .eyebrow.sub { color: var(--graublau); }
.band { background: var(--graublau-hell); }
.karte { background: var(--creme); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 8px; }
.band .karte { background: var(--papier); }
.karte.dunkel { background: var(--gruen); color: var(--papier); }
.karte.dunkel .sub { color: var(--graublau); }

/* Layout */
.wrap { padding-left: var(--rand); padding-right: var(--rand); }
.sec { padding-top: 128px; padding-bottom: 128px; }
.sec-t { padding-top: 128px; padding-bottom: 64px; }
.sec-m { padding-top: 64px; padding-bottom: 64px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-l { display: flex; flex-direction: column; gap: 32px; }
.row { display: flex; flex-wrap: wrap; gap: 48px 16px; }
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.c1 { flex: 1 1 280px; }
.c4 { flex: 4 1 300px; }
.c5 { flex: 5 1 380px; }
.c6 { flex: 6 1 440px; }
.c7 { flex: 7 1 460px; }
.c8 { flex: 2 1 560px; }
.pr { padding-right: 5%; }
.maxw { max-width: 760px; }
@media (max-width: 700px) { .sec { padding-top: 64px; padding-bottom: 64px; } .sec-t { padding-top: 64px; } .pr { padding-right: 0; } }

/* Kopf */
.kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.kopf .logo img { width: 240px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
@media (max-width: 700px) { .kopf .logo img { width: 180px; } .nav { gap: 8px 20px; } .nav .btn { display: none; } }

/* Alarmbalken */
.alarm { background: var(--orange); color: var(--gruen); padding-top: 16px; padding-bottom: 16px; font-size: 16px; }
.alarm a { font-weight: 700; }

/* Buttons */
.btn { display: inline-block; background: var(--orange); color: var(--gruen); font-family: var(--sans); font-size: 17px; font-weight: 700; text-decoration: none; padding: 18px 32px; border: 0; border-radius: 6px; cursor: pointer; line-height: 1.2; }
.nav .btn { font-size: 16px; padding: 14px 24px; }
.btn-line { display: inline-block; color: var(--papier); font-weight: 700; font-size: 17px; text-decoration: none; padding: 16px 30px; border: 2px solid var(--papier); border-radius: 6px; line-height: 1.2; }
.btns { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }

/* Start */
.hero { padding-top: 128px; padding-bottom: 128px; align-items: flex-end; gap: 64px 16px; }
.zahl { font-family: var(--mono); font-weight: 700; font-size: clamp(36px, 4vw, 48px); line-height: 1.1; }
.kennzahl { border-top: 1px solid var(--graublau); padding-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.schritt { border-top: 2px solid var(--gruen); padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.schritt .nr { font-family: var(--mono); font-size: 32px; font-weight: 700; }
.schritt h3, .phase h3 { font-size: 24px; }
.punkt { border-top: 1px solid var(--graublau); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.punkt h3 { font-size: 18px; }
.phase-label { font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 0.05em; }
.foto { min-height: 520px; border-radius: 6px; background: var(--gruen) center / cover no-repeat; display: flex; align-items: flex-end; padding: 32px; color: var(--graublau); font-size: 14px; }
.cta { align-items: flex-end; justify-content: space-between; }
.cta h2 { font-size: clamp(30px, 3.5vw, 40px); line-height: 1.1; }

/* Daten */
.daten-zahl { font-family: var(--mono); font-size: clamp(32px, 3.5vw, 40px); font-weight: 700; line-height: 1.1; margin-bottom: 8px; }
.karte .quelle { margin-top: auto; padding-top: 8px; font-size: 14px; }
.tabelle { width: 100%; border-collapse: collapse; font-size: 16px; }
.tabelle th { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; padding: 0 0 8px; }
.tabelle td { border-top: 1px solid var(--graublau); padding: 16px 0; }
.tabelle td.mono, .tabelle th.r { text-align: right; font-size: 15px; }
.tabelle tr.summe td { border-top: 2px solid var(--gruen); font-weight: 700; }
.balken { display: flex; flex-direction: column; gap: 8px; }
.balken .kopfzeile { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.balken .kopfzeile .mono { font-size: 15px; font-weight: 700; }
.balken .spur { height: 12px; background: var(--graublau-hell); border-radius: 2px; }
.balken .wert { height: 12px; background: var(--gruen); border-radius: 2px; }
.wahl { display: grid; gap: 8px; }
.wahl.m { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wahl.t { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wahl button { height: 44px; border: 2px solid var(--gruen); border-radius: 6px; background: var(--papier); color: var(--gruen); font-family: var(--sans); font-size: 15px; font-weight: 500; cursor: pointer; padding: 0 4px; }
.wahl button[aria-pressed="true"] { background: var(--gruen); color: var(--papier); }
@media (max-width: 480px) { .wahl.m { grid-template-columns: repeat(4, minmax(0, 1fr)); } .wahl.t { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.risiko { border-radius: 6px; padding: 32px; display: flex; flex-direction: column; gap: 16px; justify-content: center; background: var(--creme); }
.risiko .stufe { font-size: 40px; line-height: 1.1; font-weight: 700; }
.risiko[data-stufe="1"] { background: var(--graublau-hell); }
.risiko[data-stufe="2"] { background: var(--gruen); color: var(--papier); }
.risiko[data-stufe="2"] .stufe { color: var(--orange); }
.quellen { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }

/* Kontakt und Formulare */
.formular { background: var(--graublau-hell); border-radius: 6px; padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 24px; }
.feld { display: flex; flex-direction: column; gap: 8px; }
.feld label { font-size: 15px; font-weight: 500; }
.feld input, .feld select, .feld textarea { font-family: var(--sans); font-size: 17px; color: var(--gruen); background: var(--papier); border: 2px solid var(--gruen); border-radius: 6px; padding: 0 16px; height: 56px; width: 100%; }
.feld textarea { height: auto; padding: 16px; line-height: 1.45; resize: vertical; }
.honig { position: absolute; left: -9999px; }
.hinweis { border-radius: 6px; padding: 16px 24px; font-weight: 500; }
.hinweis.ok { background: var(--gruen); color: var(--papier); }
.hinweis.fehler { background: var(--creme); }

/* Textseiten */
.text { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.text h2 { font-size: 24px; margin-top: 32px; }
.text h3 { font-size: 18px; margin-top: 16px; }
.text ul { padding-left: 20px; }

/* Fuß */
.fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; padding-top: 48px; padding-bottom: 48px; font-size: 15px; }
.fuss .rechts { display: flex; align-items: center; gap: 32px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 24px; }
.fuss img { width: 48px; }

/* Schmale Bildschirme: Spalten untereinander */
.row > *, .cards > * { min-width: 0; }
@media (max-width: 700px) { .c1, .c4, .c5, .c6, .c7, .c8 { flex-basis: 100%; } .tabelle th { letter-spacing: 0.04em; } .tabelle { font-size: 15px; } .tabelle td.mono { font-size: 14px; } .tabelle th:first-child, .tabelle td:first-child { width: 34%; } }
@media (max-width: 700px) { .hero { padding-top: 64px; padding-bottom: 64px; } }

/* Foto: img/foto-revier.jpg wird automatisch eingesetzt, sobald die Datei existiert */
.foto { position: relative; overflow: hidden; }
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 62%; max-width: none; }
.foto span { position: relative; }
.foto img + span { display: none; }
.text { overflow-wrap: anywhere; }
h1, h2 { hyphens: manual; text-wrap: balance; overflow-wrap: break-word; }

/* Warteliste */
.check { display: flex; gap: 16px; align-items: flex-start; font-size: 15px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.check input { flex: 0 0 24px; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--gruen); }
.feld .small { font-size: 14px; }
.formular .btn { width: 100%; text-align: center; }
@media (min-width: 701px) { .formular .btn { width: auto; } }
