:root{
  color-scheme: dark;

  --bg: #1f232a;
  --panel: #2a2f36;
  --panel-dark: #23272e;
  --border: #3a4048;

  --text: #ffffff;
  --muted: #c8ccd2;

  --accent: #c9a24d; /* EIN Akzent – wie Einsatzart */
  --danger: #d71920;
}

*{
  box-sizing: border-box;
}

body{
  margin:0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background:#1b1f26;
  color:var(--text);

  background:
    linear-gradient(
      rgba(27,31,38,0.85),
      rgba(27,31,38,0.85)
    ),
    url("../image/background.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Zentrierter Monitor-Rahmen */
.wrap{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

/* Hauptpanel */
.card{
  width:100%;
  max-width:1100px;
  background:var(--panel-dark);
  border:2px solid var(--border);
  border-radius:6px;          /* kaum Rundung */
  padding:20px;
}

/* obere Statuslinie */
.card::before{
  content:"";
  display:block;
  height:6px;
  background:var(--accent);
  margin:-20px -20px 14px -20px;
}

/* Badge = Statusfeld */
.badge{
  display:inline-block;
  padding:6px 10px;
  background:#1b1f26;
  border:1px solid var(--border);
  font-size:13px;
  color:var(--muted);
  margin-bottom:10px;
}

/* Headline */
h1{
  font-size:28px;
  margin:6px 0 10px;
  font-weight:600;
}

.lead{
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

/* Grid wie Monitor-Kacheln */
.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-top:18px;
}

/* Box = Einsatz-/Statusfeld */
.box{
  background:var(--panel);
  border:2px solid var(--border);
  padding:14px;
}

/* KEINE Deko-Leisten */
.box::before{
  display:none;
}

.box h2{
  font-size:15px;
  margin:0 0 8px;
  font-weight:600;
}

/* Text */
.text,
.list,
p{
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.list{
  padding-left:18px;
}

/* Countdown-Feld wie Zeitstatus */
.countdown{
  border-color:var(--danger);
}

.cd-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-top:10px;
}

.cd-item{
  background:#1b1f26;
  border:2px solid var(--border);
  padding:10px;
  text-align:center;
}

.cd-num{
  font-size:26px;
  font-weight:700;
}

.cd-label{
  font-size:12px;
  color:var(--muted);
}

/* Links wie Monitor */
a{
  color:var(--accent);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

/* Footer */
.footer{
  margin-top:14px;
  font-size:13px;
  color:var(--muted);
  border-top:1px solid var(--border);
  padding-top:10px;
}

.footer-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.sep{
  opacity:.6;
}

/* Mobile */
@media (max-width: 900px){
  .grid{
    grid-template-columns:1fr;
  }
}
