/* =========================================================
   Feuerwehr Oelbronn-Duerrn - Desktop / Basis Stylesheet
   Datei: css/fw-desktop.css
   Dieses CSS wird immer geladen und enthaelt das Grundlayout.
   Tablet und Smartphone ueberschreiben nur einzelne Bereiche.
   ========================================================= */

:root {
  --rot: #c40000;
  --rot-dunkel: #930000;
  --dunkel: #121212;
  --grau: #f3f4f6;
  --text: #222;
  --weiss: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--grau);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Obere Infoleiste */
.topline {
  background: #2b2b2b;
  color: #fff;
  font-size: 14px;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.topline strong {
  color: #fff;
}

/* Header */
.header {
  background: linear-gradient(135deg, #111111 0%, #2a2a2a 60%, #4b0000 100%);
  color: #ffffff;
  padding: 32px 5%;
  border-bottom: 6px solid var(--rot);
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo_wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
  text-decoration: none;
}

.logo_wrap:hover {
  color: #fff;
}

#logo {
  height: 112px;
  width: auto;
  display: block;
}

.logo_text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo_title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}

.logo_subtitle {
  margin-top: 6px;
  font-size: 17px;
  color: #ddd;
  font-weight: 500;
}

.emergency-box {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 13px 18px;
  border-radius: 12px;
  text-align: right;
  min-width: 255px;
}

.emergency-box strong {
  font-size: 18px;
}

/* Navigation */
.nav {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-shell {
  max-width: 1200px;
  margin: auto;
  padding: 0 5%;
}

.nav-inner {
  padding: 0;
}

.mobile-menu-btn {
  display: none;
}

.nav ul,
.nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.nav li {
  margin: 0;
}

.nav a {
  display: inline-block;
  padding: 17px 18px;
  font-weight: bold;
  color: #222;
  border-bottom: 3px solid transparent;
}

.nav a:hover {
  color: var(--rot);
  border-bottom-color: var(--rot);
}

/* Hero */
.hero {
  background:
    radial-gradient(circle at 75% 35%, rgba(196,0,0,.26), transparent 32%),
    linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)),
    linear-gradient(135deg, #333333, #080808);
  color: #ffffff;
  padding: 95px 5% 110px;
}

.hero-inner {
  max-width: 1200px;
  margin: auto;
}

.hero-kicker {
  display: inline-block;
  background: var(--rot);
  padding: 7px 13px;
  border-radius: 999px;
  font-weight: bold;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  margin: 0 0 16px;
  line-height: 1.05;
  max-width: 900px;
}

.hero p {
  max-width: 750px;
  font-size: 20px;
  color: #eee;
  margin: 0;
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 50px;
}

.hero-content {
  min-width: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-btn {
  display: inline-block;
  background: var(--rot);
  color: #ffffff !important;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: bold;
  box-shadow: 0 8px 22px rgba(196,0,0,.25);
}

.hero-btn:hover {
  background: var(--rot-dunkel);
  color: #ffffff !important;
}

.hero-btn.secondary {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
}

.hero-btn.secondary:hover {
  background: rgba(255,255,255,.22);
}

.hero-card {
  background: linear-gradient(135deg, #c40000, #680000);
  color: #ffffff;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 20px 45px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.18);
}

.hero-card-label {
  display: inline-block;
  background: rgba(255,255,255,.18);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: bold;
  margin-bottom: 14px;
}

.hero-card strong {
  display: block;
  font-size: 74px;
  line-height: 1;
  margin-bottom: 12px;
}

.hero-card p {
  font-size: 18px;
  margin: 0;
  color: #ffffff;
}

/* Schnellzugriff */
.quick-grid {
  max-width: 1360px;
  margin: -48px auto 45px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 5;
}

.quick-card {
  background: #ffffff;
  padding: 26px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  border-top: 5px solid var(--rot);
  min-height: 125px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

.quick-card strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
  color: #111;
}

.quick-card span {
  display: block;
  color: #666;
  line-height: 1.35;
}

/* Hauptlayout */
.main {
  max-width: 1360px;
  margin: auto;
  padding: 20px 5% 70px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  align-items: start;
}

.content {
  background: #fff;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
  min-width: 0;
}

.content h1,
.content h2,
.content h3 {
  color: #111;
}

.content h1 {
  border-left: 6px solid var(--rot);
  padding-left: 14px;
  line-height: 1.2;
}

.content h2 {
  margin-top: 30px;
}

.content p {
  line-height: 1.6;
}

.content a {
  color: var(--rot);
  font-weight: bold;
}

.content a:hover {
  color: var(--rot-dunkel);
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.content table td,
.content table th {
  border: 1px solid #ddd;
  padding: 10px;
}

.content table th {
  background: #f0f0f0;
}

/* Startseiten-Inhalt */
.lead {
  font-size: 19px;
  line-height: 1.6;
  color: #444;
}

.home-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 30px;
}

.content-btn {
  display: inline-block;
  background: var(--rot);
  color: #fff !important;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: bold;
}

.content-btn:hover {
  background: var(--rot-dunkel);
  color: #fff !important;
}

.content-btn.secondary {
  background: #222;
}

.content-btn.secondary:hover {
  background: #000;
}

.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 35px;
}

.home-stats div {
  background: #f3f4f6;
  border-radius: 16px;
  padding: 22px;
  border-left: 5px solid var(--rot);
}

.home-stats strong {
  display: block;
  font-size: 32px;
  color: var(--rot);
  line-height: 1;
  margin-bottom: 8px;
}

.home-stats span {
  color: #555;
  font-weight: bold;
}

.news-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 20px 0 35px;
}

.news-card {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 22px;
  border-top: 5px solid var(--rot);
}

.news-card h3 {
  margin-top: 8px;
}

.news-date {
  display: inline-block;
  background: #222;
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.task-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 35px;
}

.task-card {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  padding: 18px;
}

.task-card strong {
  display: block;
  color: var(--rot);
  font-size: 19px;
  margin-bottom: 8px;
}

.task-card p {
  margin: 0;
}

.join-box {
  background: linear-gradient(135deg, #b00000, #650000);
  color: #fff;
  border-radius: 18px;
  padding: 28px;
  margin-top: 30px;
}

.join-box h2 {
  color: #fff;
  margin-top: 0;
}

.join-box p {
  color: #fff;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.sidebox {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 22px rgba(0,0,0,.08);
}

.sidebox h3 {
  margin-top: 0;
  border-left: 5px solid var(--rot);
  padding-left: 12px;
  color: #111;
}

.sidebox p {
  line-height: 1.45;
}

.alert-box {
  background: #b00000;
  color: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 22px rgba(0,0,0,.15);
}

.alert-box h3 {
  margin-top: 0;
  color: #fff;
}

.alert-box p {
  line-height: 1.45;
}

.btn {
  display: inline-block;
  background: var(--rot);
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: bold;
  margin-top: 10px;
}

.btn:hover {
  background: #920000;
  color: #fff !important;
}

.alert-box .btn {
  background: rgba(255,255,255,.14);
}

.alert-box .btn:hover {
  background: rgba(255,255,255,.25);
}

.termin {
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.termin:last-child {
  border-bottom: none;
}

.instagram-link {
  color: var(--rot);
  font-weight: bold;
}

.box-kicker {
  display: inline-block;
  background: #222222;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.alert-box .box-kicker {
  background: rgba(255,255,255,.18);
}

.sidebox-dark {
  background: linear-gradient(135deg, #222222, #111111);
  color: #ffffff;
}

.sidebox-dark h3 {
  color: #ffffff;
}

.sidebox-dark p {
  color: #eeeeee;
}

.big-number {
  display: block;
  font-size: 58px;
  line-height: 1;
  color: #ffffff;
  margin-top: 12px;
}

.text-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--rot) !important;
  font-weight: bold;
}

.instagram-box {
  border-bottom: 5px solid var(--rot);
}

/* Infoband */
.info-band {
  background: #1d1d1d;
  color: #fff;
  padding: 35px 5%;
}

.info-band-inner {
  max-width: 1360px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-item {
  border-left: 5px solid var(--rot);
  padding-left: 16px;
}

.info-item strong {
  display: block;
  font-size: 24px;
  margin-bottom: 5px;
}

.info-item span {
  color: #ddd;
}

/* Footer */
.footer {
  background: #151515;
  color: #ddd;
  padding: 45px 5% 20px;
}

.footer-inner {
  max-width: 1360px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin-top: 0;
}

.footer p {
  line-height: 1.55;
}

.footer a {
  color: #ddd;
}

.footer a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1360px;
  margin: 30px auto 0;
  border-top: 1px solid #333;
  padding-top: 18px;
  font-size: 14px;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
