/* USA FIRES website. Fonts are self-hosted (no Google connection). */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-500.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-800.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --ground: #0c0d10;
  --panel: #14161a;
  --panel-2: #1b1e23;
  --line: #24282f;
  --ink: #f0efec;
  --ink-2: #a5a6a2;
  --ink-3: #6e7072;
  --ember: #ff4a1c;
  --ember-2: #ff7448;
  --f-display: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Plex Mono", "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink); font-family: var(--f-body); font-size: 15px; line-height: 1.5;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 40px;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.wrap { max-width: 1320px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.cap { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(12,13,16,.88); backdrop-filter: blur(10px);
  display: flex; align-items: center; gap: 26px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo { width: 30px; height: 30px; border-radius: 6px; background: var(--ember); display: grid; place-items: center; }
.brand .logo svg { width: 60%; height: 60%; }
.brand b { font-family: var(--f-display); font-weight: 800; letter-spacing: .09em; font-size: 17px; }
.brand b i { color: var(--ember); font-style: normal; }
.nav .links { display: flex; gap: 20px; font-size: 14px; color: var(--ink-2); }
.nav .links a:hover { color: var(--ink); }
.nav .rechts { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 17px; font-weight: 600; font-size: 14px;
  border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.btn:hover { border-color: var(--ink-3); }
.btn:active { transform: scale(.97); }
.btn.fire { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn.fire:hover { background: var(--ember-2); }

/* overview */
.ueber { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; padding-top: 22px; }
.neu { position: relative; border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; }
.neu .bild { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.neu .bild img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 6s ease; }
.neu:hover .bild img { transform: scale(1.1); }
.neu .bild::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(12,13,16,0) 45%, rgba(12,13,16,.85) 100%); }
.neu .bild iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.neu .play { position: absolute; z-index: 2; left: 22px; bottom: 20px; display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 0; cursor: pointer; }
.neu .play i { width: 54px; height: 54px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; }
@media (prefers-reduced-motion: no-preference) { .neu .play i { animation: atmen 2.6s infinite; } }
@keyframes atmen { 0% { box-shadow: 0 0 0 0 rgba(255,74,28,.55); } 70% { box-shadow: 0 0 0 14px rgba(255,74,28,0); } 100% { box-shadow: none; } }
.neu .play i::before { content: ""; border-left: 15px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.neu .play span { font-family: var(--f-mono); font-size: 12px; color: var(--ink); background: rgba(0,0,0,.55); padding: 3px 8px; border-radius: 4px; }
.neu .label { position: absolute; z-index: 2; left: 22px; top: 20px; background: var(--ember); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 13px; padding: 5px 9px; letter-spacing: .04em; }
.neu .hinweis { position: absolute; z-index: 2; right: 16px; bottom: 16px; max-width: 46%; font-size: 11px; color: var(--ink-2); text-align: right; }
.neu .txt { padding: 18px 22px 20px; display: grid; gap: 8px; align-content: start; }
.neu h1 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.neu .meta { color: var(--ink-2); font-size: 14px; }
.neu .fakten { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.neu .fakten div { display: grid; }
.neu .fakten b { font-family: var(--f-mono); font-weight: 500; font-size: 20px; }
.neu .fakten div:first-child b { color: var(--ember); }
.neu .fakten span { font-size: 12px; color: var(--ink-2); }

.kartenfeld { position: relative; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-height: 520px;
  background: radial-gradient(120% 100% at 50% 60%, #121419 0%, #0a0b0d 75%); }
#szene { position: absolute; inset: 0; }
#szene canvas { display: block; width: 100%; height: 100%; }
.kk { position: absolute; left: 18px; top: 16px; right: 18px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; z-index: 3; pointer-events: none; }
.kk h2 { font-size: 14px; letter-spacing: .16em; text-transform: uppercase; }
.kk .z { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); margin-top: 2px; }
.kk .z b { color: var(--ember); font-weight: 500; font-size: 20px; margin-right: 4px; vertical-align: -2px; }
.kk .reset { pointer-events: auto; }
.kk .reset[hidden] { display: none; }
.schild { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; font-family: var(--f-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: #8d8f90; white-space: nowrap; transform: translate(-50%, -160%); text-shadow: 0 1px 2px #000; }
.marke { position: absolute; left: 0; top: 0; z-index: 4; transform: translate(-50%, -100%); border: 0; background: none; padding: 0; cursor: pointer; }
.marke .chip { background: rgba(12,13,16,.92); border: 1px solid var(--ember); border-radius: 8px; padding: 6px 10px; display: grid; text-align: left;
  box-shadow: 0 0 26px rgba(255,74,28,.28); transition: transform .2s; }
.marke:hover .chip { transform: translateY(-2px); }
.marke .chip b { font-family: var(--f-display); font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; }
.marke .chip span { font-family: var(--f-mono); font-size: 10px; color: var(--ember-2); letter-spacing: .08em; text-transform: uppercase; }
.akte { position: absolute; right: 14px; bottom: 14px; z-index: 5; width: min(310px, calc(100% - 28px)); background: rgba(12,13,16,.94);
  border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: grid; gap: 8px; backdrop-filter: blur(6px); transition: opacity .3s, transform .3s; }
.akte[data-zu="true"] { opacity: 0; transform: translateY(10px); pointer-events: none; }
.akte .o { display: flex; justify-content: space-between; align-items: center; }
.akte h3 { font-size: 17px; }
.akte p { font-size: 13px; color: var(--ink-2); }
.akte .w { border-left: 2px solid var(--ember); padding-left: 9px; color: var(--ink); }
.zu { border: 0; background: none; color: var(--ink-3); cursor: pointer; font-size: 18px; line-height: 1; }
.kein-3d { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); text-align: center; padding: 24px; }

/* live strip */
.leiste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.zelle { padding: 14px 18px; display: grid; gap: 2px; min-width: 0; }
.zelle + .zelle { border-left: 1px solid var(--line); }
.zelle b { font-family: var(--f-mono); font-weight: 500; font-size: clamp(20px, 2vw, 26px); font-variant-numeric: tabular-nums; }
.zelle b.e { color: var(--ember); }
.zelle span { font-size: 12.5px; color: var(--ink-2); }

/* latest documentary */
.kopf2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 34px; margin-bottom: 12px; flex-wrap: wrap; }
.kopf2 h2 { font-size: 20px; }
.archiv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fall { display: grid; gap: 9px; min-width: 0; }
.fall .t { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.fall:hover .t { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--ember), 0 12px 28px rgba(0,0,0,.5); }
.fall .t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fall .t .label { position: absolute; left: 7%; bottom: 12%; background: var(--ember); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 12px; padding: 4px 7px; line-height: 1; }
.fall .t .dauer { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.82); font-size: 11px; font-weight: 600; padding: 1px 5px; border-radius: 4px; }
.fall h3 { font-size: 15px; line-height: 1.3; }
.fall .m { font-size: 12.5px; color: var(--ink-2); }

/* timeline */
.zeit { margin-top: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 16px 20px 14px; }
.zeit .zk { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
#zeitachse { width: 100%; height: auto; display: block; }
#zeitachse .tick { stroke: var(--line); }
#zeitachse text { fill: var(--ink-3); font-family: var(--f-mono); font-size: 11px; }

/* footer + legal */
.fuss { margin-top: 26px; color: var(--ink-3); font-size: 12px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fuss nav { display: flex; gap: 16px; }
.fuss a:hover { color: var(--ink); }
.legal { max-width: 760px; margin: 40px auto 0; display: grid; gap: 14px; }
.legal h1 { font-size: 30px; }
.legal h2 { font-size: 17px; margin-top: 14px; }
.legal p { color: var(--ink-2); }
.legal a { color: var(--ink); border-bottom: 1px solid var(--line); }
.legal .fein { font-size: 12px; color: var(--ink-3); }

@media (max-width: 1050px) {
  .ueber { grid-template-columns: minmax(0, 1fr); }
  .archiv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leiste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zelle:nth-child(3) { border-left: 0; }
  .zelle:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .nav .links { display: none; }
  .kartenfeld { min-height: 420px; }
  .archiv { grid-template-columns: minmax(0, 1fr); }
}
.platzhalter { background: #ff4a1c; color: #fff; padding: 0 4px; }
