/* ==========================================================================
   KFZ-AUTOEXPORT.DE - Modern Style Sheet
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #0f2137;
  --primary-light: #1c3554;
  --primary-dark: #08121f;
  
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-light: #ffedd5;
  --accent-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  
  --success: #10b981;
  --success-dark: #059669;
  --success-light: #d1fae5;
  
  --dark: #0b1727;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-light: #f1f5f9;
  
  --border: #e2e8f0;
  --border-focus: #f97316;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 33, 55, 0.06);
  --shadow-md: 0 4px 14px rgba(15, 33, 55, 0.08);
  --shadow-lg: 0 12px 30px rgba(15, 33, 55, 0.12);
  --shadow-xl: 0 20px 45px rgba(15, 33, 55, 0.18);
  
  /* Transitions */
  --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* Reset & Basics */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin-inline: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Info Bar */
.topbar {
  background: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.topbar-item a:hover {
  color: #ffffff;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

.topbar-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Sticky Main Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--primary);
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-gradient);
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.brand-icon svg {
  width: 26px;
  height: 26px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  line-height: 1.1;
  color: var(--primary);
}

.brand-name span {
  color: var(--accent);
}

.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 6px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  color: var(--primary);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 200;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 23, 39, 0.6);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links a {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  padding: 8px 0;
}

.mobile-nav-links a:hover {
  color: var(--accent);
}

.mobile-drawer-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(249, 115, 22, 0.45);
}

.btn-dark {
  background: var(--primary);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: #cbd5e1;
  background: #ffffff;
  color: var(--primary);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
}

.btn-outline-white:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.42);
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.badge-accent {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.25);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #ffd0a3;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Internal Topic Links Strip (Themenübersicht on light backgrounds) */
.internal-links-strip {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.internal-links-strip span {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary) !important;
  margin-right: 6px;
}

.internal-links-strip a,
.internal-links-strip a.badge,
.internal-links-strip a.badge-dark {
  background: #f1f5f9 !important;
  color: var(--primary) !important;
  border: 1px solid #cbd5e1 !important;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.internal-links-strip a:hover,
.internal-links-strip a.badge:hover,
.internal-links-strip a.badge-dark:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 70px 0 85px;
  overflow: hidden;
}

/* Background Geometry */
.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 18px 0 20px;
}

.hero-content h1 .highlight {
  color: var(--accent);
  background: linear-gradient(135deg, #ff9b42 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 28px;
  max-width: 560px;
  line-height: 1.6;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.hero-benefit svg {
  width: 20px;
  height: 20px;
  color: #34d399;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero Fast-Quote Card */
.hero-card {
  background: #ffffff;
  color: var(--text-main);
  padding: 32px 28px;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.card-header {
  margin-bottom: 20px;
  text-align: center;
}

.card-header h3 {
  font-size: 1.45rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.card-features {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 14px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
}

.card-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* Eye-Catching yet Eye-Friendly Phone Callout Box (Comfortable Colors) */
.card-contact-box {
  position: relative;
  background: linear-gradient(145deg, #f0fdf4 0%, #e6f9ee 100%);
  color: var(--primary);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.12);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-contact-box:hover {
  transform: translateY(-2px);
  border-color: #4ade80;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.2);
}

.card-contact-box::before {
  content: "";
  position: absolute;
  top: -35px;
  right: -35px;
  width: 85px;
  height: 85px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.call-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  background: #16a34a;
  border-radius: 50%;
  display: inline-block;
  animation: pulseDotGreen 1.8s infinite;
}

@keyframes pulseDotGreen {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.card-contact-box .call-prompt {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f2942;
  display: block;
  margin-bottom: 10px;
}

.card-contact-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  border-radius: var(--radius-md);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-decoration: none;
}

.card-contact-phone:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.45);
  filter: brightness(1.04);
}

.phone-icon-animated {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  animation: phoneRing 2.4s infinite cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.phone-icon-animated svg {
  width: 17px;
  height: 17px;
}

@keyframes phoneRing {
  0% { transform: rotate(0) scale(1); }
  5% { transform: rotate(-14deg) scale(1.08); }
  10% { transform: rotate(14deg) scale(1.08); }
  15% { transform: rotate(-14deg) scale(1.08); }
  20% { transform: rotate(14deg) scale(1.08); }
  25% { transform: rotate(0) scale(1); }
  100% { transform: rotate(0) scale(1); }
}

.phone-digits {
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

.card-contact-box .call-subhint {
  display: block;
  font-size: 0.8rem;
  color: #047857;
  margin-top: 9px;
  font-weight: 600;
}

/* ==========================================================================
   Trust & Highlights Bar
   ========================================================================== */

.trustbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 24px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 14px;
  flex-shrink: 0;
}

.trust-icon svg {
  width: 24px;
  height: 24px;
}

.trust-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 800;
}

.trust-text span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   Section Headers & Shared
   ========================================================================== */

.section {
  padding: 85px 0;
}

.section-alt {
  background: #ffffff;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--primary);
  margin: 12px 0 14px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Step-by-Step (Ablauf)
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(249, 115, 22, 0.3);
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.step-badge {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  background: var(--accent-light);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.step-icon-wrap {
  color: var(--text-light);
}

.step-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.step-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Vehicle Categories (Was wir ankaufen)
   ========================================================================== */

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--transition);
}

.category-card:hover {
  background: #ffffff;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.category-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.category-icon svg {
  width: 24px;
  height: 24px;
}

.category-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Popular Brands Strip */
.brands-strip {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.brands-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.brand-tag {
  background: var(--bg-light);
  color: var(--text-main);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--border);
}

/* ==========================================================================
   Full Interactive Valuation Form
   ========================================================================== */

.form-section {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
}

.contact-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.contact-sidebar {
  position: sticky;
  top: 105px;
}

.sidebar-card {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.sidebar-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 12px 0 10px;
  line-height: 1.2;
}

.sidebar-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.sidebar-contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  color: #ffffff;
  transition: var(--transition);
}

.sidebar-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.sidebar-btn-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-btn-icon.wa {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.sidebar-btn-text strong {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar-btn-text span {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.guarantee-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.guarantee-box h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guarantee-box h4 svg {
  color: var(--success);
  width: 20px;
  height: 20px;
}

.guarantee-list {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.guarantee-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guarantee-list li svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}

/* The Main Form Container */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
}

.form-header {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
}

.form-header h3 {
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

.form-section-title {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 22px 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full-col {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
}

.field label .req {
  color: #ef4444;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fbfcfd;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

/* File Upload Drop Area */
.upload-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.upload-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 10px;
  color: var(--accent);
}

.upload-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
}

.upload-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.file-input-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.file-preview-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
}

.file-preview-item button {
  background: none;
  border: none;
  cursor: pointer;
  color: #ef4444;
  font-size: 1rem;
  line-height: 1;
}

/* Action Buttons inside Form */
.form-submit-group {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.privacy-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.45;
  text-align: center;
}

.notice-banner {
  display: none;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid;
}

.notice-success {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.notice-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.notice-loading {
  background: #eff6ff;
  color: #1e40af;
  border-color: #bfdbfe;
}

/* ==========================================================================
   Informational Guide / Content Section (Article)
   ========================================================================== */

.guide-section {
  background: #ffffff;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
}

.article-content h2 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.article-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin: 32px 0 12px;
}

.article-content p {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.article-content ul {
  padding-left: 22px;
  margin-bottom: 22px;
}

.article-content li {
  margin: 10px 0;
  color: #475569;
  font-size: 1rem;
}

.article-content strong {
  color: var(--primary);
}

.info-callout {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
}

.info-callout p {
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(249, 115, 22, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--accent);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   Call To Action Strip (Pre-Footer)
   ========================================================================== */

.cta-banner {
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 55px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 1.05rem;
  color: #fff3e6;
  max-width: 580px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
  background: var(--dark);
  color: #94a3b8;
  padding: 60px 0 28px;
}

.footer-top,
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand-name {
  color: #ffffff;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 320px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Floating Action Buttons (WhatsApp & Call)
   ========================================================================== */

.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.floating-btn.wa {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.35);
}

.floating-btn.wa:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.45);
}

.floating-btn.phone {
  background: var(--primary);
  display: none;
}

.floating-btn svg {
  width: 22px;
  height: 22px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   Modals (Impressum & Datenschutz)
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 23, 39, 0.7);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 34px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.modal-close:hover {
  color: var(--primary);
  background: #e2e8f0;
}

.modal-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.modal-content p, .modal-content li {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 12px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card {
    max-width: 580px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid,
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    position: static;
  }
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links, .nav-actions .btn-outline {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .floating-btn.phone {
    display: flex;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    justify-content: center;
    font-size: 0.78rem;
  }
  .topbar-info {
    justify-content: center;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .steps-grid,
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-submit-group {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-top,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-buttons {
    bottom: 16px;
    right: 16px;
  }
  .floating-btn {
    padding: 10px 14px;
    font-size: 0.88rem;
  }
  .floating-btn span {
    display: none;
  }
  .floating-btn svg {
    margin: 0;
  }
  .back-to-top {
    bottom: 16px;
    left: 16px;
  }
  .form-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   Navigation Dropdowns & Hub Buttons (Startseite, Städte, Marken)
   ========================================================================== */

.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 290px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 120;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--bg-light);
  color: var(--accent);
}

.dropdown-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.dropdown-footer a {
  font-size: 0.84rem;
  color: var(--accent);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-footer a:hover {
  text-decoration: underline;
}

/* 3 Quick Navigation Hub Buttons */
.hub-navigation {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.hub-buttons-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: var(--primary);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.hub-btn svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: color 0.2s ease;
}

.hub-btn:hover,
.hub-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hub-btn:hover svg,
.hub-btn.active svg {
  color: #ffffff;
}

/* ==========================================================================
   Cities (Städte) Section Styles
   ========================================================================== */

.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.city-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.city-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.city-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.city-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.city-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bg-light);
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

.city-features {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.city-action-link {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

/* ==========================================================================
   Brands (Marken) Section Styles
   ========================================================================== */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.brand-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.brand-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.brand-logo-badge {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.brand-card h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.brand-models-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.brand-btn-select {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

/* Responsive adjustments for Cities and Brands */
@media (max-width: 1024px) {
  .cities-grid,
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .cities-grid,
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hub-buttons-wrap {
    gap: 10px;
  }
  .hub-btn {
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .cities-grid,
  .brands-grid {
    grid-template-columns: 1fr;
  }
  .hub-btn {
    width: 100%;
    justify-content: center;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   City Landing Page Extensions (Data Table, District Grids, Category Cards)
   ========================================================================== */

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumbs a {
  color: var(--primary);
  font-weight: 500;
}
.breadcrumbs a:hover {
  color: var(--accent);
}
.breadcrumbs .sep {
  color: var(--text-light);
}

/* Data Table Component */
.data-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
  -webkit-overflow-scrolling: touch;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.data-table th,
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table th {
  background: var(--bg-light);
  color: var(--primary);
  font-weight: 700;
  width: 30%;
  white-space: nowrap;
}
.data-table td {
  color: #334155;
  line-height: 1.55;
}
.data-table tr:hover td {
  background: #f8fafc;
}
.data-table a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 600;
}
.data-table a:hover {
  color: var(--accent-hover);
}

/* District Grid */
.district-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.district-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.district-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.district-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.district-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}
.district-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.district-ortsteile {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Category Grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.cat-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.cat-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.cat-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sources / Citation Box */
.sources-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.9rem;
}
.sources-box h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.sources-box ul {
  padding-left: 20px;
  margin-bottom: 0;
}
.sources-box li {
  margin: 6px 0;
  color: var(--text-muted);
}
.sources-box a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}
.sources-box a:hover {
  color: var(--accent);
}

