/* WebDronix Post – nur die fünf Markenfarben (Lime, Midnight, Charcoal, Graphite, Light) + Logo-Weiß */
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("fonts/archivo-expanded.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }

:root {
  --lime: #B8FF39; --midnight: #080F14; --charcoal: #151A20; --graphite: #2A323B; --light: #E5E7EB;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Archivo Expanded", "Arial Black", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--midnight); color: var(--light); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
a { color: var(--lime); }
::selection { background: var(--lime); color: var(--midnight); }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: 1.5rem; } h2 { font-size: 1.1rem; } h3 { font-size: .95rem; }
[hidden] { display: none !important; }

.kopf { display: flex; align-items: center; gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--graphite); background: var(--midnight); position: sticky; top: 0; z-index: 5; flex-wrap: wrap; }
.kopf img { height: 30px; }
.produkt { font-family: var(--display); font-weight: 800; color: var(--lime); letter-spacing: .04em; font-size: .9rem; }
.luft { flex: 1; }
.reiter { display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--graphite); overflow-x: auto; }
.reiter button { background: none; border: 0; color: var(--light); padding: 12px 14px; font: 600 .9rem var(--sans); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.reiter button[aria-selected="true"] { border-bottom-color: var(--lime); color: var(--lime); }
main { padding: 24px; max-width: 1280px; margin: 0 auto; }

.karte { background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 6px; padding: 18px; margin-bottom: 18px; }
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.zahlen { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.zahl { background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 6px; padding: 12px 16px; min-width: 130px; }
.zahl b { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--lime); }
.zahl span { font-size: .8rem; }

.btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 4px; padding: 8px 14px; font: 600 .88rem var(--sans); cursor: pointer; border: 1px solid var(--graphite); background: var(--graphite); color: var(--light); text-decoration: none; }
.btn:hover { border-color: var(--light); }
.btn-primaer { background: var(--lime); border-color: var(--lime); color: var(--midnight); }
.btn-primaer:hover { border-color: var(--light); }
.btn-leise { background: transparent; }
.btn:disabled { opacity: .5; cursor: default; }

label { display: block; font-size: .8rem; font-weight: 600; margin: 12px 0 4px; }
input, select, textarea { width: 100%; background: var(--midnight); color: var(--light); border: 1px solid var(--graphite); border-radius: 4px; padding: 9px 10px; font: .92rem var(--sans); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--lime); outline-offset: -1px; }
textarea { min-height: 90px; resize: vertical; }
.zeile { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 14px; }
.hinweis { font-size: .8rem; opacity: .8; margin: 4px 0 0; }
.zaehler { float: right; font-weight: 400; opacity: .8; }

table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th { text-align: left; font-weight: 600; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; padding: 8px; border-bottom: 1px solid var(--graphite); }
td { padding: 9px 8px; border-bottom: 1px solid var(--graphite); vertical-align: top; }
tr.klick { cursor: pointer; } tr.klick:hover td { background: var(--graphite); }

.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; border: 1px solid var(--graphite); background: var(--graphite); color: var(--light); }
.chip-geplant { }
.chip-in_arbeit, .chip-hochgeladen { background: transparent; border-color: var(--lime); color: var(--lime); }
.chip-veroeffentlicht { background: var(--lime); border-color: var(--lime); color: var(--midnight); }
.chip-wartet_manuell { background: transparent; border-color: var(--light); color: var(--light); }
.chip-fehler { background: var(--light); border-color: var(--light); color: var(--midnight); }
.chip-abgesagt { background: transparent; text-decoration: line-through; }
.chip-test { background: transparent; border-style: dashed; }
.plattform { font-weight: 700; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }

.anmeldung { max-width: 420px; margin: 8vh auto; padding: 0 16px; }
.anmeldung img { width: 240px; margin-bottom: 16px; }
.fuss { text-align: center; font-size: .78rem; padding: 24px; opacity: .8; }

.modal-hg { position: fixed; inset: 0; background: rgba(8, 15, 20, .85); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; z-index: 20; overflow-y: auto; }
.modal { background: var(--charcoal); border: 1px solid var(--graphite); border-radius: 6px; padding: 22px; width: 100%; max-width: 720px; }
.modal-knoepfe { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.protokoll { font-size: .82rem; max-height: 260px; overflow-y: auto; border-top: 1px solid var(--graphite); margin-top: 12px; padding-top: 8px; }
.protokoll div { padding: 3px 0; }
.meldung { position: fixed; bottom: 18px; right: 18px; background: var(--light); color: var(--midnight); padding: 10px 16px; border-radius: 4px; font-weight: 600; z-index: 30; max-width: 420px; }
.meldung.fehler { background: var(--lime); }
pre.code { background: var(--midnight); border: 1px solid var(--graphite); padding: 10px; border-radius: 4px; overflow-x: auto; font-size: .8rem; white-space: pre-wrap; word-break: break-all; }
svg.kurve { width: 100%; height: auto; display: block; }
svg.kurve .linie { fill: none; stroke: var(--lime); stroke-width: 2; }
svg.kurve .achse { stroke: var(--graphite); stroke-width: 1; }
svg.kurve text { fill: var(--light); font: 10px var(--sans); }
.leer { opacity: .7; font-style: italic; }

@media (max-width: 640px) {
  main { padding: 16px; } .kopf { padding: 12px 16px; } .reiter { padding: 0 8px; }
  .nur-breit { display: none; }
}
