/* Wehrkompass – gemeinsames Stylesheet
   Schriften liegen lokal unter assets/fonts (SIL Open Font License),
   es werden keine externen Dienste geladen. */

@font-face { font-family: "WK Display"; src: url("fonts/BigShoulders-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "WK Text"; src: url("fonts/InstrumentSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "WK Text"; src: url("fonts/InstrumentSans-Bold.ttf") format("truetype"); font-weight: 600 700; font-display: swap; }

:root {
  --grund: #121417;
  --grund-2: #16191D;
  --flaeche: #1B1F24;
  --flaeche-2: #242A31;
  --linie: #2A3038;
  --linie-2: #343B44;
  --text: #EEF1F3;
  --text-2: #C3CAD2;
  --text-3: #A4ADB7;
  --text-4: #8A939D;
  --rot: #D2122E;
  --rot-hell: #FF5A6E;
  --gelb: #F2A900;
  --gruen: #5CC48A;
  --blau: #6FB2E0;
  --max: 1200px;
  --display: "WK Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --sans: "WK Text", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--grund); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--text); }
a:hover { color: #FFFFFF; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--gelb); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.abschnitt { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--linie); }
.abschnitt.dunkel { background: var(--grund-2); }
.stapel { display: flex; flex-direction: column; gap: 16px; }
.zeile { display: flex; flex-wrap: wrap; gap: 18px; }
.kopf { max-width: 760px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rot-hell); }
h1, h2, h3 { margin: 0; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(46px, 6.4vw, 84px); line-height: 0.98; letter-spacing: 0.005em; text-wrap: balance; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; text-wrap: balance; }
h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: 19px; color: var(--text-2); max-width: 36em; }
.gross { font-size: 18px; color: var(--text-2); }
.leise { color: var(--text-3); font-size: 16px; }

/* Buttons */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; font-family: inherit; font-size: 16px; cursor: pointer; }
.knopf.rot { background: var(--rot); color: #FFFFFF; }
.knopf.rot:hover { background: #B50F27; color: #FFFFFF; }
.knopf.rand { border-color: #3A424B; color: var(--text); background: transparent; }
.knopf.rand:hover { border-color: #5A636D; }

/* Navigation */
.nav { border-bottom: 1px solid var(--linie); }
.nav .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 16px; padding-bottom: 16px; }
.marke { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marke-zeichen { width: 36px; height: 36px; border-radius: 10px; background: var(--rot); display: flex; align-items: center; justify-content: center; }
.marke-name { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: 0.01em; color: var(--text); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 15px; }
.nav-links a { color: var(--text-2); text-decoration: none; }
.nav-links a:hover { color: #FFFFFF; }
.nav-links .knopf { min-height: 42px; padding: 9px 18px; font-size: 15px; color: #FFFFFF; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-bild { flex: 1 1 460px; min-width: 0; position: relative; display: flex; justify-content: center; padding-bottom: 44px; }
.label { align-self: flex-start; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--gelb); color: var(--gelb); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.statuszeile { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--text-3); padding-top: 4px; }
.statuszeile span { display: flex; align-items: center; gap: 8px; }
.punkt { width: 8px; height: 8px; border-radius: 4px; flex-shrink: 0; }

/* Karten */
.karte { flex: 1 1 320px; padding: 26px; border-radius: 16px; background: var(--flaeche); border: 1px solid var(--linie); display: flex; flex-direction: column; gap: 10px; }
.karte p { color: var(--text-3); font-size: 16px; }
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px 36px; }
.raster p { color: var(--text-3); font-size: 16px; margin-top: 6px; }
.zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.zahl { padding: 24px; border-radius: 16px; background: var(--flaeche); border: 1px solid var(--linie); }
.zahl strong { display: block; font-family: var(--display); font-size: 60px; line-height: 1; }
.zahl span { color: var(--text-3); font-size: 15px; }
.pille { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }

/* Spotlight */
.spot { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.spot.umgekehrt { flex-wrap: wrap-reverse; }
.spot-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.spot-bild { flex: 1 1 420px; min-width: 0; max-width: 540px; }

/* App-Ansichten (nachgezeichnet) */
.fenster { border-radius: 16px; background: var(--flaeche); border: 1px solid #2F363E; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.fenster-leiste { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #15181C; border-bottom: 1px solid var(--linie); font-size: 12px; color: var(--text-4); }
.fenster-leiste i { width: 9px; height: 9px; border-radius: 5px; background: #3A424B; }
.fenster-inhalt { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.kachel { padding: 10px 12px; border-radius: 10px; background: var(--flaeche-2); }
.kachel small { display: block; font-size: 11px; color: var(--text-3); }
.kachel .wert { display: block; font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.1; }
.mini-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--text-3); }
.chip { padding: 5px 9px; border-radius: 7px; font-size: 12px; font-weight: 600; }
.chip.gruen { background: rgba(92,196,138,0.16); color: var(--gruen); }
.chip.gelb { background: rgba(242,169,0,0.16); color: var(--gelb); }
.chip.rot { background: rgba(255,90,110,0.16); color: var(--rot-hell); }
.chip.blau { background: rgba(111,178,224,0.16); color: var(--blau); }
.handy { position: absolute; right: 0; bottom: 0; width: 200px; padding: 7px; border-radius: 30px; background: #0B0D0F; border: 1px solid #2F363E; box-shadow: 0 20px 50px rgba(0,0,0,0.55); }
.handy-inhalt { border-radius: 24px; background: #15181C; overflow: hidden; }
.handy-zeile { padding: 9px 12px; border-top: 1px solid var(--linie); display: flex; flex-direction: column; gap: 4px; }
.handy-zeile b { font-size: 12px; }
.handy-zeile span { font-size: 10px; color: var(--text-3); }
.tag { padding: 2px 5px; border-radius: 4px; font-size: 9px; font-weight: 700; }
.verlauf { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.verlauf div { display: flex; gap: 12px; }
.verlauf time { color: var(--text-4); flex-shrink: 0; width: 86px; }
.monitor { border-radius: 16px; background: #0E1013; border: 1px solid #2F363E; padding: 20px; display: flex; flex-wrap: wrap; gap: 16px; }
.monitor-spalte { flex: 1 1 250px; display: flex; flex-direction: column; gap: 10px; }
.monitor-spalte > div:first-child { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; }
.ticket { padding: 14px; border-radius: 10px; background: var(--flaeche); border: 1px solid #2F363E; }
.ticket b { display: block; }
.ticket span { font-size: 13px; color: var(--text-2); }

/* Formulare */
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld label { font-size: 14px; color: var(--text-2); }
.feld input, .feld textarea { padding: 12px; border-radius: 10px; border: 1px solid var(--linie-2); background: var(--flaeche-2); color: var(--text); font-family: inherit; font-size: 16px; }
.feld input:focus, .feld textarea:focus { border-color: var(--gelb); outline: none; }
.feld textarea { resize: vertical; min-height: 110px; }
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.formular { flex: 1 1 460px; min-width: 0; padding: 28px; border-radius: 16px; background: var(--flaeche); border: 1px solid #2F363E; display: flex; flex-direction: column; gap: 14px; }
.hinweis { font-size: 13px; color: var(--text-3); }
.versteckt { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Fußzeile */
.fuss { border-top: 1px solid var(--linie); }
.fuss .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 32px; padding-bottom: 40px; font-size: 14px; color: var(--text-3); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 20px; }
.fuss a { color: var(--text-2); text-decoration: none; }
.fuss a:hover { color: #FFFFFF; }

/* Rechtstexte */
.rechtstext { max-width: 820px; padding-top: 64px; padding-bottom: 96px; }
.rechtstext h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 28px; }
.rechtstext h2 { font-family: var(--sans); font-size: 22px; font-weight: 600; margin-top: 40px; margin-bottom: 10px; line-height: 1.3; }
.rechtstext h3 { font-size: 17px; margin-top: 22px; margin-bottom: 6px; }
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext p + p { margin-top: 12px; }
.rechtstext ul { padding-left: 22px; margin: 10px 0; }
.rechtstext li + li { margin-top: 6px; }
.rechtstext address { font-style: normal; color: var(--text-2); }
.rechtstext a { color: var(--text); }
.stand { margin-top: 48px; font-size: 14px; color: var(--text-4) !important; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .abschnitt { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 44px; padding-bottom: 48px; gap: 40px; }
  .handy { width: 160px; }
  .nav-links { gap: 6px 16px; }
  .nav-links .nur-breit { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
