/* =========================
   Design-Variablen
========================= */
:root {
  --char: #1c1b1a;
  --char-soft: #2a2927;
  --steel: #eef1f2;
  --steel-line: #d7dcdd;
  --red: #c81d25;
  --red-dark: #931017;
  --amber: #f4a300;
  --paper: #ffffff;
  --text-soft: #5b6163;
  --max-width: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--steel);
  color: var(--char);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
h1, h2, h3 { font-family: 'Oswald', sans-serif; }
.mono { font-family: 'IBM Plex Mono', monospace; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* =========================
   Header
========================= */
.top {
  background: var(--char);
  color: #fff;
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
}
.top-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex: 0 0 auto;
}
.top-inner h1 {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.top-inner .claim {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #b8bcbd;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
}

/* =========================
   Navigation
========================= */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--red-dark);
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 13px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.85;
  border-bottom: 3px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover { opacity: 1; }
.main-nav a.active { opacity: 1; border-color: var(--amber); }

/* =========================
   Bereichs-Dock (linker Rand)
========================= */
/* siehe switcher.css */

/* =========================
   Hero (große Version – nur Startseite)
========================= */
.hero-lg {
  position: relative;
  color: #fff;
  padding: 72px 0 64px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(28,27,26,0.94) 0%, rgba(28,27,26,0.82) 40%, rgba(28,27,26,0.55) 100%),
    url("bilder/310.png") center 38% / cover no-repeat;
}
.hero-lg .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 14px;
}
.hero-lg h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  margin: 0 0 16px;
  text-transform: uppercase;
  font-weight: 700;
  max-width: 640px;
}
.hero-lg p {
  max-width: 480px;
  color: #c7cbcb;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* =========================
   Page-Header (kompakt – Unterseiten)
========================= */
.page-header {
  position: relative;
  background: var(--char);
  color: #fff;
  padding: 38px 0 32px;
  overflow: hidden;
}
.page-header .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 8px;
}
.page-header h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 36px);
  text-transform: uppercase;
  font-weight: 700;
}

/* Alarmlicht-Sweep – gemeinsames Signature-Element */
.beacon {
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  background-size: 200% 100%;
  animation: sweep 3.2s linear infinite;
}
@keyframes sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .beacon { animation: none; background-position: 0 0; }
}

/* =========================
   Content Layout
========================= */
.content { padding: 44px 0 80px; }
.grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; }
.grid.single { grid-template-columns: 1fr; }
.grid.two-even { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) {
  .grid, .grid.two-even { grid-template-columns: 1fr; }
}
.stack { display: flex; flex-direction: column; gap: 24px; }

/* =========================
   Panels (Karten)
========================= */
.panel {
  background: var(--paper);
  border: 1px solid var(--steel-line);
  border-radius: 4px;
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--steel-line);
}
.panel-head h3 {
  margin: 0;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.team-photo{
  overflow: hidden;
  margin-bottom: 24px;
}
.team-photo img{
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
.panel-head .count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--text-soft);
  white-space: nowrap;
}
.panel-body { padding: 18px 20px 22px; }
.panel-body p { margin: 0 0 14px; color: var(--text-soft); font-size: 14.5px; }
.panel-body p:last-child { margin-bottom: 0; }
.panel + .panel { margin-top: 24px; }

/* =========================
   Log-Liste (Einsätze / Termine)
========================= */
.log { padding: 6px 0; }
.log-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f2f2;
}
.log-row:last-child { border-bottom: none; }
.log-row.tagged { grid-template-columns: 80px 70px 1fr; min-width: 0;}
.log-date {
  color: var(--red);
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 13px;
}
.log-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
}
.log-tag.b { background: var(--red); }
.log-tag.thl { background: #3a5a63; }
.log-desc { color: var(--char); font-size: 14.5px; min-width: 0; overflow-wrap: break-word;}
.log-desc a { color: var(--red-dark); font-weight: 600; }

/* =========================
   Rollen-Liste (Vorstandschaft)
========================= */
.role-list { list-style: none; margin: 0; padding: 0; }
.role-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px dashed var(--steel-line);
  font-size: 14px;
  min-width: 0;
}
.role-list li span{
  min-width: 0;
  overflow-wrap: break-word;}
.role-list li:last-child { border-bottom: none; }
.role-list .role {
  color: var(--text-soft);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =========================
   Kontakt / Kontaktbox
========================= */
address { font-style: normal; font-size: 14.5px; line-height: 1.7; color: var(--char); }
.emergency {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fdf1e8;
  border-left: 3px solid var(--amber);
  font-size: 13.5px;
  color: #6b4a12;
}
.btn-mail, .btn-download {
  display: inline-block;
  margin-top: 6px;
  margin-right: 8px;
  padding: 9px 16px;
  background: var(--red);
  color: #fff !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 3px;
  transition: background 0.2s ease;
}
.btn-mail:hover, .btn-download:hover { background: var(--red-dark); }

/* =========================
   Ausrüstung – Datenblatt-Stil
========================= */
.spec-card { padding: 0; overflow: hidden; }
.spec-card .spec-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
}
@media (max-width: 700px) {
  .spec-card .spec-inner { grid-template-columns: 1fr; }
}
.spec-img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}
.spec-content { padding: 22px 24px; }
.spec-content h3 {
  margin: 0 0 14px;
  font-size: 19px;
  text-transform: uppercase;
}
.spec-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--steel-line);
  font-size: 13.5px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}
.spec-row .v { color: var(--char); font-weight: 500; }

/* =========================
   Lauftext-Seiten (Impressum, Datenschutz)
========================= */
.prose { padding: 26px 28px 30px; }
.prose h2 {
  margin: 0 0 18px;
  font-size: 26px;
  text-transform: uppercase;
}
.prose h2:not(:first-child) { margin-top: 36px; }
.prose h3 {
  margin: 24px 0 8px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--red-dark);
}
.prose p, .prose li { font-size: 14.5px; color: var(--text-soft); }
.prose ul { padding-left: 20px; }
.prose address { margin: 8px 0; }
.prose a { color: var(--red-dark); font-weight: 600; }

/* =========================
   Footer
========================= */
.site-footer {
  background: var(--char);
  color: #a9adae;
  padding: 22px 0;
  text-align: center;
  font-size: 12.5px;
}
.footer-social {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer-social a {
  display: inline-flex;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--red); transform: translateY(-2px); }
.footer-social img { width: 14px; height: 14px; filter: invert(1); }

/* =========================
   Mobile
========================= */
@media (max-width: 700px) {
  .main-nav ul { gap: 0; }
  .main-nav a { padding: 11px 12px; font-size: 12.5px; }
}
