/* ==========================================================================
   NEUSSER SCHLÜSSELDIENST - DESIGN SYSTEM & MASTER STYLESHEET
   Farbschema: Sicherheits-Navy (#0f172a / #1e293b) & Signal-Rot (#dc2626 / #b91c1c)
   Optimiert für High-Speed, Barrierefreiheit, Mobile-UX & Klickbarkeit
   ========================================================================== */

:root {
  --primary: #dc2626;          /* Signal-Rot Notruf */
  --primary-hover: #b91c1c;    /* Tiefes Rubinrot */
  --primary-light: #fef2f2;    /* Helles Notruf-Pastell */
  --primary-dark: #991b1b;     /* Dunkelrot Kontrast */
  --primary-glow: rgba(220, 38, 38, 0.28);

  --accent: #2563eb;           /* Akzent-Blau für technische Siegel */
  --accent-light: #eff6ff;

  --dark: #0f172a;             /* Tiefes Nacht-Navy */
  --dark-surface: #1e293b;     /* Navy-Slate für Header & Kontraste */
  --dark-deep: #0b132b;

  --text-main: #1e293b;
  --text-body: #334155;
  --text-muted: #475569;
  --text-light: #94a3b8;

  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-focus: #dc2626;

  --success: #10b981;
  --danger: #ef4444;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 20px rgba(220, 38, 38, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary-hover);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------------- TOPBAR ---------------- */
.topbar {
  background: var(--dark);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(220, 38, 38, 0.3);
  padding: 7px 0;
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pulse {
  width: 9px;
  height: 9px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.topbar-highlight {
  color: var(--primary);
  font-weight: 800;
}

/* ---------------- 2-ZEILIGER NOTDIENST-HEADER ---------------- */
.site-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
  flex-shrink: 0;
}

.brand-title {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  color: var(--dark);
  line-height: 1.15;
}

.brand-name span {
  color: var(--primary-hover);
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.header-hotline-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.hotline-number-display {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.hotline-number-display:hover {
  color: var(--primary-hover);
}

.hotline-number-display span {
  color: var(--primary-hover);
}

.hotline-subtext {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 2px;
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.9rem;
  margin-top: 6px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.header-action-btn:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.45);
}

/* Navigations-Leiste unter dem Logo */
.header-nav-bar {
  background: #f8fafc;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
  background: rgba(220, 38, 38, 0.1);
}

/* ---------------- MOBILE STICKY CALL BAR ---------------- */
.mobile-sticky-call-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px !important;
  }

  .site-header {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  }

  .header-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    text-align: left;
  }

  .brand-link {
    gap: 8px;
    align-items: center;
    min-width: 0;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    box-shadow: none;
  }

  .brand-name {
    font-size: 0.95rem;
    line-height: 1.15;
    white-space: nowrap;
  }

  .brand-sub {
    display: none; /* Untertitel mobil ausblenden für maximale Platzersparnis */
  }

  .header-hotline-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
  }

  .hotline-number-display,
  .hotline-subtext {
    display: none; /* Nummer ist prominent im sticky Bottom-Button */
  }

  .header-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    border-radius: 6px;
    box-shadow: none;
  }

  .header-action-btn span {
    font-size: 0;
  }

  .header-action-btn span::after {
    content: "📞 Anruf";
    font-size: 0.82rem;
    font-weight: 700;
  }

  .header-nav-bar {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
  }

  .nav-container {
    padding: 0 6px;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nav-container::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    font-size: 0.82rem;
    padding: 7px 10px;
    white-space: nowrap;
  }

  /* Fester Anruf-Button am unteren Display-Rand */
  .mobile-sticky-call-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 52px;
    background: #dc2626;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    z-index: 999999;
    box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-sticky-call-bar:active {
    background: #b91c1c;
  }

  .mobile-sticky-call-bar .call-icon {
    font-size: 1.25rem;
    animation: phoneWiggle 2.5s infinite;
  }

  .mobile-sticky-call-bar strong {
    font-weight: 900;
    letter-spacing: 0.02em;
  }

  @keyframes phoneWiggle {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-14deg); }
    20%, 40% { transform: rotate(14deg); }
    50% { transform: rotate(0deg); }
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 0.85rem;
  }
  .brand-logo {
    width: 30px;
    height: 30px;
  }
  .header-action-btn {
    padding: 5px 8px;
    font-size: 0.75rem;
  }
  .header-action-btn span::after {
    content: "📞";
    font-size: 0.9rem;
  }
}

/* ---------------- HERO SECTION ---------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0b132b 0%, #1e293b 100%);
  color: #ffffff;
  padding: 60px 20px 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.16) 0%, transparent 60%),
                    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 640px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.18);
  border: 1px solid rgba(220, 38, 38, 0.45);
  color: #fca5a5;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 25px rgba(220, 38, 38, 0.35);
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 900;
}

.hero-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
}

.hero-check {
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 900;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.45);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.hero-image-wrap {
  position: relative;
}

.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(220, 38, 38, 0.3);
  width: 100%;
}

/* Preis-Banner "ab 49 €" oben rechts auf dem Hero-Bild (alle Seiten) */
.hero-visual {
  position: relative;
}

.hero-image-wrap::after,
.hero-visual::after {
  content: "ab 49 €";
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 3px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 600px) {
  .hero-image-wrap::after,
  .hero-visual::after {
    font-size: 1.25rem;
    padding: 10px 16px;
    top: 10px;
    right: 10px;
  }
}

.hero-floating-card {
  position: absolute;
  bottom: -22px;
  left: 20px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 38, 38, 0.5);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.floating-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
}

.floating-title {
  font-size: 0.9rem;
  font-weight: 800;
}

.floating-desc {
  font-size: 0.78rem;
  color: #94a3b8;
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-features {
    grid-template-columns: 1fr;
  }
}

/* ---------------- TRUST BAR ---------------- */
.trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  border-left: 3px solid var(--primary);
}

.trust-icon-circle {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  flex-shrink: 0;
  border: 2px solid rgba(220, 38, 38, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-item:hover .trust-icon-circle {
  transform: scale(1.08);
  box-shadow: 0 0 12px var(--primary-glow);
}

.trust-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--dark);
}

.trust-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------------- SECTIONS & KACHELN ---------------- */
.section {
  padding: 60px 20px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.section-title {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 450;
}

/* 6-Kacheln Grid (3 Spalten x 2 Reihen) */
.services-grid-6,
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

@media (min-width: 1024px) {
  .services-grid-6,
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* VOLLFLÄCHIG KLICKBARE KACHEL */
.modern-card {
  position: relative;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.modern-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.2);
  border-color: var(--primary);
}

.modern-card:hover .card-link {
  color: var(--primary-hover);
  gap: 10px;
}

.card-img-wrap {
  position: relative;
  height: 185px;
  overflow: hidden;
  background: var(--dark);
  display: block;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.modern-card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.22rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.card-text {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 450;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-link {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  margin-top: auto;
}

/* Pseudo-Overlay für vollflächige Klickbarkeit */
.modern-card .card-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}

/* ---------------- 4-SCHRITTE PROZESS-GRID ---------------- */
.step-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

@media (min-width: 1024px) {
  .step-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-content {
  padding: 24px 20px 20px;
  position: relative;
  flex-grow: 1;
}

.step-badge {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4);
  border: 3px solid #ffffff;
}

.step-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--dark);
  margin-top: 10px;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.step-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 450;
}

/* ---------------- LOKALE DEEP-DIVE SEKTION (BEZIRKS- & STADTMUSTER) ---------------- */
.local-deep-dive {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  margin-bottom: 44px;
}

.local-section-header {
  margin-bottom: 32px;
}

.local-section-header h2 {
  font-size: clamp(1.5rem, 2.3vw, 1.95rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.local-section-header .lead-text {
  font-size: 1.1rem;
  color: #1e293b;
  font-weight: 450;
  line-height: 1.75;
}

.local-text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

@media (max-width: 768px) {
  .local-text-columns {
    grid-template-columns: 1fr;
  }
}

.local-feature-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.local-feature-box h3 {
  font-size: 1.18rem;
  font-weight: 750;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

.local-feature-box p {
  font-size: 1.02rem;
  color: #334155;
  font-weight: 450;
  line-height: 1.7;
}

/* LOKALE FALLBEISPIELE */
.local-cases-section {
  border-top: 1px solid var(--border);
  padding-top: 36px;
}

.local-cases-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.local-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.local-case-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  position: relative;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.local-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  border-color: var(--primary);
}

.local-case-badge {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  font-size: 0.78rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.local-case-card h4 {
  font-size: 1.08rem;
  font-weight: 750;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.local-case-card p {
  font-size: 0.98rem;
  color: #334155;
  font-weight: 450;
  line-height: 1.68;
}

/* ---------------- FAQ ACCORDION & GRID ---------------- */
.local-faq-section {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.local-faq-title {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  letter-spacing: -0.005em;
  max-width: 820px;
  margin: 0 auto;
}

.local-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .local-faq-grid {
    grid-template-columns: 1fr;
  }
}

.local-faq-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.local-faq-card h4 {
  font-size: 1.12rem;
  font-weight: 750;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.local-faq-card p {
  font-size: 1.0rem;
  color: #334155;
  font-weight: 450;
  line-height: 1.7;
}

/* ---------------- EINSATZGEBIETE HUB & BUTTONS ---------------- */
.city-group-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-group-title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.district-btn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}

.district-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 750;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.district-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--dark);
  transform: translateX(3px);
}

.district-btn span {
  color: var(--primary-dark);
  font-weight: 900;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: var(--dark-deep);
  color: #94a3b8;
  padding: 60px 20px 30px;
  margin-top: auto;
  border-top: 3px solid var(--primary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.footer-legal-links {
  display: flex;
  gap: 18px;
}

.footer-legal-links a {
  color: #94a3b8;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ---------------- UNTERSEITEN HERO & KOMPONENTEN ---------------- */
.hero-subpage {
  position: relative;
  background: linear-gradient(135deg, #0b132b 0%, #1e293b 100%);
  color: #ffffff;
  padding: 50px 20px 65px;
  overflow: hidden;
}

.hero-subpage-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-subpage-content {
  max-width: 640px;
}

.hero-heading {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 26px;
}

.hero-actions-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 900;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  transition: all 0.2s ease;
}

.btn-emergency:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(185, 28, 28, 0.55);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(220, 38, 38, 0.3);
  background: var(--dark);
}

.hero-visual-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

.hero-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 18px;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.92) 0%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.visual-badge {
  background: rgba(220, 38, 38, 0.95);
  color: #0f172a;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* BREADCRUMBS */
.breadcrumbs {
  max-width: 1200px;
  margin: 16px auto 12px;
  padding: 0 20px;
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumbs a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.breadcrumbs span {
  color: #0f172a;
  font-weight: 600;
}

.breadcrumbs span:first-of-type {
  color: #94a3b8;
  font-weight: 400;
}

@media (max-width: 900px) {
  .hero-subpage-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.district-unified-section {
  padding: 50px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.district-unified-intro {
  margin-bottom: 40px;
  text-align: center;
}

.district-unified-intro h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.district-unified-intro p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto;
}

/* ---------------- ERWEITERTE CONTENT-MODULE & TABELLEN ---------------- */
.spec-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-body);
}

.spec-table th {
  background: #0f172a;
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 750;
  letter-spacing: 0.02em;
  font-size: 0.92rem;
  white-space: nowrap;
}

.spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.6;
}

.spec-table tr:nth-child(even) td {
  background: #f8fafc;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table .highlight-col {
  font-weight: 700;
  color: var(--primary-dark);
}

.info-callout {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid var(--success);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0;
}

.info-callout.warning {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: var(--primary);
}

.info-callout h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.info-callout p {
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.68;
  margin: 0;
}

.feature-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.feature-checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 0.98rem;
  color: #334155;
  line-height: 1.6;
  font-weight: 450;
}

.feature-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
}
