/* =============================================================
   ELEKTRO-LKW PORTAL – Design System
   Hybrid · Dark Hero + Light Content · B2B Professional
   =============================================================

   FONTS (Sora & DM Sans – Selbst gehostet/Lokal):
   Die Schriften liegen in public/fonts/ als .woff2:
     sora-700.woff2 / sora-800.woff2
     dm-sans-300.woff2 / dm-sans-400.woff2 / dm-sans-500.woff2

   Vorteil: 100% DSGVO-konform & kommerziell sicher (OFL Lizenz)
   Quelle: Google Fonts
   ============================================================= */

/* 1. FONT-FACE (Self-Hosted for Legal Safety) ----------------- */
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-300.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

/* 2. CSS CUSTOM PROPERTIES ----------------------------------- */
:root {
  --green:      #00e676;
  --green-dark: #00c853;
  --green-glow: rgba(0, 230, 118, 0.25);

  --blue:       #0d47a1;
  --blue-mid:   #1565c0;
  --blue-light: #42a5f5;

  --dark:       #050e1a;
  --dark2:      #071424;
  --card-bg:    rgba(8, 20, 40, 0.85);

  --text:       #e8f4ff;
  --muted:      #7fa8c9;
  --border:     rgba(0, 230, 118, 0.15);

  --font-head:  'Sora', system-ui, sans-serif;
  --font-body:  'DM Sans', 'Inter', system-ui, sans-serif;
}

/* 3. BASE ---------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* 4. SCROLL-REVEAL ------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 5. NAVIGATION ---------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  background: rgba(5, 14, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 8px 0;
}

.nav-logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

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

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  position: relative;
  transition: color 0.2s;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--green);
  color: var(--dark);
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #33eb91;
  transform: translateY(-1px);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  align-items: center;
}

.nav-mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(5, 14, 26, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 16px;
  z-index: 99;
  display: none;
}

.nav-mobile-menu.open {
  display: block;
}

.nav-mobile-menu a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  transition: color 0.2s;
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
}

.nav-mobile-menu a:hover {
  color: var(--green);
}

/* 6. HERO ---------------------------------------------------- */
.hero {
  position: relative;
  min-height: 72vh;
  max-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(5,14,26,0.92) 0%, rgba(13,71,161,0.65) 50%, rgba(0,200,83,0.4) 100%),
    /* Hero-Bild hier einfügen: */
    url('../images/hero-truck.png') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(0,230,118,0.12) 0%, transparent 65%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,230,118,0.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--green);
  margin-bottom: 28px;
  animation: hero-in 0.6s 0s ease both;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.4;
  animation: pulse 1.8s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 20px;
  animation: hero-in 0.6s 0.15s ease both;
}

.hero-title .accent {
  color: var(--green);
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  animation: hero-in 0.6s 0.25s ease both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: hero-in 0.6s 0.35s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: hero-in 0.6s 0.45s ease both;
  white-space: nowrap;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--muted);
  border-radius: 2px;
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

/* 7. BUTTONS ------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--dark);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  line-height: 1;
}

.btn-primary:hover {
  background: #33eb91;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--green-glow);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  line-height: 1;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

/* 8. SECTION COMMONS ----------------------------------------- */
.section-wrap {
  padding: 100px 0;
}

.section-wrap--alt {
  background: var(--dark2);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-header {
  margin-bottom: 48px;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 580px;
}

/* 9. STATS BANNER -------------------------------------------- */
.stats-banner {
  background: 
    linear-gradient(90deg, rgba(13,71,161,0.2) 0%, rgba(0,230,118,0.1) 100%),
    linear-gradient(rgba(5, 14, 26, 0.92), rgba(5, 14, 26, 0.92)),
    url('../images/hero-truck.png') center bottom / cover no-repeat;
  background-attachment: fixed;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-mission {
  max-width: 1000px;
  margin: 0 auto;
  padding: 39px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: left;
}

.mission-icon {
  color: var(--green);
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(0, 230, 118, 0.1);
}

.mission-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  margin: 0;
}

.mission-text strong {
  color: var(--green);
  font-weight: 700;
}

@media (max-width: 900px) {
  .stats-mission {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 28px 20px;
  }
  .mission-text {
    font-size: 1.15rem;
  }
}

/* 10. CARD BASE ---------------------------------------------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,230,118,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0a1e3a 0%, #071424 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  min-height: 160px;
  overflow: hidden;
  white-space: nowrap; /* Prevent emojis from stacking vertically */
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-wrap--sm {
  aspect-ratio: 16/7;
  min-height: 110px;
}

/* Wissens-Farbgebung für Bild-Container */
.card-img-wrap--knowledge {
  background: rgba(0, 230, 118, 0.04) !important;
  border: 1px solid rgba(0, 230, 118, 0.1) !important;
}

/* Spezial-Stil für kleine Icon/Emoji-Boxen (Wissenswertes) */
.card-icon-slot {
  width: auto !important;
  min-width: 44px;
  height: 44px !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 12px;
  white-space: nowrap;
  overflow: visible !important;
  font-size: 1.25rem;
  background: rgba(0, 230, 118, 0.05);
  border: 1px solid rgba(0, 230, 118, 0.1);
  margin: 12px 0;
}

.card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 10px;
}

.card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
}

.card-title:hover {
  color: var(--green);
}

.card-title--sm {
  font-size: 1rem;
}

.card-teaser {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 4.8em; /* 3 lines * 1.6 line-height */
}

.card-meta {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.card-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
}

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

/* 12. MODEL CARDS -------------------------------------------- */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.model-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,230,118,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}

.model-img {
  height: 180px;
  position: relative;
  background: linear-gradient(135deg, #071a33 0%, #0a2240 60%, #041422 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.model-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(transparent, var(--card-bg));
}

.model-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 50px;
  z-index: 1;
}

.model-body {
  padding: 20px 24px 24px;
}

.model-brand {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 4px;
}

.model-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 16px;
  text-decoration: none;
  display: block;
}

.model-name:hover {
  color: var(--green);
}

.model-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.spec-box {
  background: rgba(0,230,118,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}

.spec-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--green);
  line-height: 1.2;
  display: block;
}

.spec-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
  display: block;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: gap 0.2s ease;
}

.arrow-link:hover {
  gap: 12px;
}

/* 13. CHARGING INFRASTRUCTURE -------------------------------- */
.charging-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.charging-features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0,230,118,0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}

.feature-text h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.charging-visual {
  background: linear-gradient(135deg, rgba(13,71,161,0.3) 0%, rgba(0,200,83,0.15) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.charging-visual-icon {
  font-size: 5rem;
  position: relative;
  z-index: 1;
}

.charging-glow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.charging-glow::after {
  content: '';
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,230,118,0.22) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
}

/* 14. MAP PLACEHOLDER ---------------------------------------- */
.map-container {
  position: relative;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #071424 0%, #0a2240 50%, #040e1a 100%);
  border: 1px solid var(--border);
}

.map-dots-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,230,118,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

.map-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  text-align: center;
}

.map-center h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text);
  margin-bottom: 8px;
}

.map-center p {
  font-size: 0.88rem;
  color: var(--muted);
}

.map-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow);
  z-index: 1;
  transform: translate(-50%, -50%);
}

.map-dot::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: 0;
  animation: map-ping 2.5s ease-out infinite;
}

/* 15. KNOWLEDGE SECTION -------------------------------------- */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.knowledge-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.knowledge-card:hover {
  transform: translateX(4px);
  border-color: rgba(0,230,118,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.knowledge-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: rgba(0,230,118,0.2);
  line-height: 1;
  min-width: 52px;
  user-select: none;
}

.knowledge-content h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 8px;
}

.knowledge-content p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* 16. CTA BANNER --------------------------------------------- */
.cta-section {
  padding: 88px 0;
  background: linear-gradient(135deg, rgba(13,71,161,0.4) 0%, rgba(0,200,83,0.3) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.cta-section .section-sub {
  margin: 0 auto 32px;
}

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

/* 17. FOOTER ------------------------------------------------- */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
  margin-top: 16px;
}

.footer-col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 20px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* 18. KEYFRAME ANIMATIONS ------------------------------------ */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: none; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%       { transform: scale(2); opacity: 0; }
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.4; }
}

@keyframes glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.3); opacity: 0.4; }
}

@keyframes map-ping {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* 19. RESPONSIVE ≤ 900px ------------------------------------- */
@media (max-width: 900px) {
  .site-nav {
    padding: 0 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .section-container {
    padding: 0 20px;
  }

  .section-wrap {
    padding: 64px 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }

  .charging-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .charging-visual {
    height: 260px;
  }

  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item {
    border-bottom: 1px solid var(--border);
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding: 0 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* =============================================================
   20. HYBRID LIGHT SECTIONS
   Dark: Nav, Hero, Stats-Banner, Map, CTA, Footer
   Light: News, Modelle, Ladeinfrastruktur, Wissenswertes
   ============================================================= */

/* Light section backgrounds */
.section-wrap--light {
  background: #f4f7fb;
}

.section-wrap--light-alt {
  background: #edf1f7;
}

/* ── Typography ─────────────────────────────────────────────── */
.section-wrap--light .section-label,
.section-wrap--light-alt .section-label {
  color: #00994d;
}

.section-wrap--light .section-title,
.section-wrap--light-alt .section-title {
  color: #0f1f35;
}

.section-wrap--light .section-sub,
.section-wrap--light-alt .section-sub {
  color: #4a6a85;
}

/* ── News Cards ─────────────────────────────────────────────── */
.section-wrap--light .card,
.section-wrap--light-alt .card {
  background: #ffffff;
  border-color: rgba(13, 71, 161, 0.1);
  box-shadow: 0 2px 16px rgba(13, 71, 161, 0.06);
}

.section-wrap--light .card:hover,
.section-wrap--light-alt .card:hover {
  border-color: rgba(13, 71, 161, 0.22);
  box-shadow: 0 10px 36px rgba(13, 71, 161, 0.11);
}

.section-wrap--light .card-tag,
.section-wrap--light-alt .card-tag {
  color: #00994d;
}

.section-wrap--light .card-title,
.section-wrap--light-alt .card-title {
  color: #0f1f35;
}

.section-wrap--light .card-title:hover,
.section-wrap--light-alt .card-title:hover {
  color: #0d47a1;
}

.section-wrap--light .card-teaser,
.section-wrap--light-alt .card-teaser {
  color: #4a6a85;
}

.section-wrap--light .card-meta,
.section-wrap--light-alt .card-meta {
  color: #7a9ab5;
}

.section-wrap--light .card-meta-dot,
.section-wrap--light-alt .card-meta-dot {
  background: #7a9ab5;
}

/* ── Modell Cards ───────────────────────────────────────────── */
.section-wrap--light .model-card,
.section-wrap--light-alt .model-card {
  background: #ffffff;
  border-color: rgba(13, 71, 161, 0.1);
  box-shadow: 0 2px 16px rgba(13, 71, 161, 0.06);
}

.section-wrap--light .model-card:hover,
.section-wrap--light-alt .model-card:hover {
  border-color: rgba(13, 71, 161, 0.25);
  box-shadow: 0 12px 40px rgba(13, 71, 161, 0.12);
}

/* Model-Img bleibt dunkel – sieht auf weißer Karte gut aus */
/* Gradient-Ausblendung auf weißen Karten-Body anpassen */
.section-wrap--light .model-img::after,
.section-wrap--light-alt .model-img::after {
  background: linear-gradient(transparent, #ffffff);
}

.section-wrap--light .model-body,
.section-wrap--light-alt .model-body {
  background: #ffffff;
}

.section-wrap--light .model-name,
.section-wrap--light-alt .model-name {
  color: #0f1f35;
}

.section-wrap--light .model-name:hover,
.section-wrap--light-alt .model-name:hover {
  color: #0d47a1;
}

.section-wrap--light .spec-box,
.section-wrap--light-alt .spec-box {
  background: #f4f7fb;
  border-color: rgba(13, 71, 161, 0.12);
}

.section-wrap--light .spec-label,
.section-wrap--light-alt .spec-label {
  color: #4a6a85;
}

/* ── Ladeinfrastruktur ──────────────────────────────────────── */
.section-wrap--light .feature-text h4,
.section-wrap--light-alt .feature-text h4 {
  color: #0f1f35;
}

.section-wrap--light .feature-text p,
.section-wrap--light-alt .feature-text p {
  color: #4a6a85;
}

/* Feature-Icon und Charging-Visual bleiben dunkel – gewollt */

/* ── Wissenswertes Cards ────────────────────────────────────── */
.section-wrap--light .knowledge-card,
.section-wrap--light-alt .knowledge-card {
  background: #ffffff;
  border-color: rgba(13, 71, 161, 0.1);
  box-shadow: 0 2px 16px rgba(13, 71, 161, 0.06);
}

.section-wrap--light .knowledge-card:hover,
.section-wrap--light-alt .knowledge-card:hover {
  border-color: rgba(13, 71, 161, 0.22);
  box-shadow: 0 8px 28px rgba(13, 71, 161, 0.1);
}

.section-wrap--light .knowledge-number,
.section-wrap--light-alt .knowledge-number {
  color: rgba(13, 71, 161, 0.16);
}

.section-wrap--light .knowledge-content h4,
.section-wrap--light-alt .knowledge-content h4 {
  color: #0f1f35;
}

.section-wrap--light .knowledge-content p,
.section-wrap--light-alt .knowledge-content p {
  color: #4a6a85;
}

/* ── Links & Buttons in Light Sections ─────────────────────── */
.section-wrap--light .arrow-link,
.section-wrap--light-alt .arrow-link {
  color: #0d47a1;
}

.section-wrap--light .arrow-link:hover,
.section-wrap--light-alt .arrow-link:hover {
  color: #00994d;
}

.section-wrap--light .btn-outline,
.section-wrap--light-alt .btn-outline {
  background: transparent;
  color: #0d47a1;
  border-color: rgba(13, 71, 161, 0.3);
}

.section-wrap--light .btn-outline:hover,
.section-wrap--light-alt .btn-outline:hover {
  background: rgba(13, 71, 161, 0.06);
  transform: translateY(-2px);
}

/* ── Map Container bleibt immer dunkel ─────────────────────── */
.section-wrap--map {
  background: #f4f7fb;
}

.section-wrap--map .section-label { color: #00994d; }
.section-wrap--map .section-title { color: #0f1f35; }
.section-wrap--map .section-sub   { color: #4a6a85; }

/* ── Responsive Anpassungen für Light Sections ─────────────── */
@media (max-width: 900px) {
  .section-wrap--light,
  .section-wrap--light-alt,
  .section-wrap--map {
    padding: 64px 0;
  }
}

/* =============================================================
   21. NEWS INDEX PAGE
   ============================================================= */

/* ── Page Banner (dark) ─────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, #050e1a 0%, rgba(13,71,161,0.9) 100%);
  padding: 80px 0 56px;
  margin-top: 80px;
  border-bottom: 1px solid var(--border);
}

.page-banner-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

.page-banner .section-label {
  color: var(--green);
  display: block;
  margin-bottom: 12px;
}

.page-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 20px;
}

.page-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,230,118,0.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--green);
  font-family: var(--font-body);
}

/* ── Filter Bar (sticky, hell) ──────────────────────────────── */
.filter-bar {
  background: #ffffff;
  border-bottom: 1px solid rgba(13,71,161,0.1);
  position: sticky;
  top: 80px;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(13,71,161,0.07);
}

.filter-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  gap: 8px;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  height: 56px;
}

.filter-bar-inner::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(13,71,161,0.18);
  background: transparent;
  color: #4a6a85;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.filter-pill:hover {
  border-color: rgba(13,71,161,0.35);
  color: #0d47a1;
}

.filter-pill.active {
  background: #0d47a1;
  border-color: #0d47a1;
  color: #ffffff;
}

.filter-pill-count {
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 1px 7px;
  font-size: 0.72rem;
}

.filter-pill.active .filter-pill-count {
  background: rgba(255,255,255,0.25);
}

.filter-pill:not(.active) .filter-pill-count {
  background: rgba(13,71,161,0.08);
  color: #0d47a1;
}

/* ── Featured Article ───────────────────────────────────────── */
.news-page-content {
  background: #f4f7fb;
  padding: 56px 0 80px;
}

.featured-card {
  display: grid;
  grid-template-columns: 5fr 6fr;
  background: #ffffff;
  border: 1px solid rgba(13,71,161,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(13,71,161,0.06);
  margin-bottom: 40px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(13,71,161,0.12);
  border-color: rgba(13,71,161,0.2);
}

.featured-card-img {
  background: linear-gradient(135deg, #0a1e3a 0%, #071424 60%, #0d47a1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  min-height: 300px;
  position: relative;
}

.featured-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,230,118,0.08) 0%, transparent 65%);
}

.featured-card-body {
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.featured-card-body .card-tag {
  color: #00994d;
}

.featured-card-body .card-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.65rem;
  color: #0f1f35;
  line-height: 1.25;
  text-decoration: none;
}

.featured-card-body .card-teaser {
  color: #4a6a85;
  font-size: 0.95rem;
  line-height: 1.7;
}

.featured-card-body .card-meta {
  color: #7a9ab5;
  font-size: 0.8rem;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0d47a1;
  margin-bottom: 4px;
}

/* ── Article Grid ───────────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.articles-grid .card {
  background: #ffffff;
  border-color: rgba(13,71,161,0.1);
  box-shadow: 0 2px 16px rgba(13,71,161,0.06);
}

.articles-grid .card:hover {
  border-color: rgba(13,71,161,0.22);
  box-shadow: 0 10px 36px rgba(13,71,161,0.11);
}

.articles-grid .card-tag { color: #00994d; }
.articles-grid .card-title { color: #0f1f35; }
.articles-grid .card-title:hover { color: #0d47a1; }
.articles-grid .card-teaser { color: #4a6a85; }
.articles-grid .card-meta { color: #7a9ab5; }
.articles-grid .card-meta-dot { background: #7a9ab5; }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-top: 56px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(13,71,161,0.15);
  background: #ffffff;
  color: #4a6a85;
  font-size: 0.88rem;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-btn:hover {
  border-color: rgba(13,71,161,0.3);
  color: #0d47a1;
}

.page-btn.active {
  background: #0d47a1;
  border-color: #0d47a1;
  color: #ffffff;
  font-weight: 600;
}

.page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* No-results state */
.no-results {
  text-align: center;
  padding: 64px 0;
  color: #4a6a85;
  display: none;
}

.no-results h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #0f1f35;
  margin-bottom: 8px;
}

/* =============================================================
   22. NEWS ARTICLE DETAIL PAGE
   ============================================================= */

/* ── Reading Progress Bar ───────────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--green);
  z-index: 200;
  width: 0%;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Article Header (dark) ──────────────────────────────────── */
.article-header {
  background: linear-gradient(135deg, #050e1a 0%, rgba(13,71,161,0.88) 100%);
  padding: 72px 0 60px;
  margin-top: 80px;
  border-bottom: 1px solid var(--border);
}

.article-header-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 48px;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0,230,118,0.12);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 20px;
}

.article-header-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-header-excerpt {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.article-meta-bar strong {
  color: var(--text);
}

/* ── Article Layout ─────────────────────────────────────────── */
.article-page-bg {
  background: #f4f7fb;
  padding: 56px 0 80px;
}

.article-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ── Prose (article body) ───────────────────────────────────── */
.prose {
  background: #ffffff;
  border: 1px solid rgba(13,71,161,0.08);
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: 0 2px 16px rgba(13,71,161,0.05);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2d4a62;
}

.prose h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.55rem;
  color: #0f1f35;
  margin: 44px 0 16px;
  line-height: 1.25;
}

.prose h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #0f1f35;
  margin: 32px 0 12px;
}

.prose h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #0f1f35;
  margin: 24px 0 10px;
}

.prose p {
  margin-bottom: 20px;
}

.prose ul,
.prose ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.prose blockquote {
  border-left: 4px solid #00994d;
  background: #f4f7fb;
  padding: 16px 24px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
}

.prose blockquote p {
  margin: 0;
  color: #0f1f35;
  font-style: italic;
  font-size: 1.05rem;
}

.prose strong {
  color: #0f1f35;
  font-weight: 600;
}

.prose a {
  color: #0d47a1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #00994d;
}

.prose hr {
  border: none;
  border-top: 1px solid rgba(13,71,161,0.12);
  margin: 40px 0;
}

.prose img {
  border-radius: 10px;
  max-width: 100%;
  margin: 24px 0;
}

.prose code {
  background: #edf1f7;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.88em;
  color: #0d47a1;
}

.prose pre {
  background: #0f1f35;
  color: #e2edf7;
  border-radius: 10px;
  padding: 24px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.prose pre code {
  background: none;
  color: inherit;
  padding: 0;
}

/* ── Article Sidebar ────────────────────────────────────────── */
.article-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid rgba(13,71,161,0.1);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 14px rgba(13,71,161,0.05);
  margin-bottom: 16px;
}

.sidebar-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d47a1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: gap 0.2s;
}

.sidebar-back:hover {
  gap: 12px;
}

.sidebar-divider {
  border: none;
  border-top: 1px solid rgba(13,71,161,0.1);
  margin: 16px 0;
}

.sidebar-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4a6a85;
  margin-bottom: 12px;
  display: block;
}

.sidebar-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: #4a6a85;
  margin-bottom: 8px;
}

.sidebar-meta-item strong {
  color: #0f1f35;
}

.sidebar-recent-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-recent-item {
  text-decoration: none;
  display: block;
}

.sidebar-recent-item .card-tag {
  font-size: 0.65rem;
  color: #00994d;
  display: block;
  margin-bottom: 4px;
}

.sidebar-recent-item h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: #0f1f35;
  line-height: 1.35;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.sidebar-recent-item:hover h4 {
  color: #0d47a1;
}

.sidebar-recent-item span {
  font-size: 0.75rem;
  color: #7a9ab5;
}

/* ── Responsive: News Pages ─────────────────────────────────── */
@media (max-width: 900px) {
  .page-banner-inner,
  .article-header-inner {
    padding: 0 20px;
  }

  .page-banner {
    padding: 56px 0 40px;
  }

  .filter-bar-inner {
    padding: 0 16px;
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-card-img {
    min-height: 200px;
  }

  .featured-card-body {
    padding: 28px 24px;
  }

  .featured-card-body .card-title {
    font-size: 1.3rem;
  }

  .news-page-content {
    padding: 40px 0 60px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-header {
    padding: 48px 0 40px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 24px;
  }

  .article-sidebar {
    position: static;
  }

  .prose {
    padding: 28px 24px;
  }
}

/* =============================================================
   23. WISSENSWERTES INDEX PAGE
   ============================================================= */

/* ── Category Hub (dark, direkt unter Banner) ───────────────── */
.knowledge-hub {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}

.knowledge-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hub-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,230,118,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.hub-icon {
  width: 48px;
  height: 48px;
  min-height: 48px;
  background: rgba(0,230,118,0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 4px;
}

.hub-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.2;
}

.hub-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.hub-count {
  font-size: 0.8rem;
  color: var(--green);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

/* ── Article Type Badges ────────────────────────────────────── */
.type-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid;
}

.type-badge--ratgeber  { background: rgba(0,153,77,0.1);    color: #00994d; border-color: rgba(0,153,77,0.25);    }
.type-badge--leitfaden { background: rgba(13,71,161,0.1);   color: #0d47a1; border-color: rgba(13,71,161,0.25);   }
.type-badge--faq       { background: rgba(217,119,6,0.1);   color: #b45309; border-color: rgba(217,119,6,0.25);   }
.type-badge--glossar   { background: rgba(124,58,237,0.1);  color: #6d28d9; border-color: rgba(124,58,237,0.25);  }
.type-badge--default   { background: rgba(13,71,161,0.08);  color: #4a6a85; border-color: rgba(13,71,161,0.15);   }

/* ── Knowledge Page Content ─────────────────────────────────── */
.knowledge-page-content {
  background: #f4f7fb;
  padding: 56px 0 80px;
}

/* ── Featured 2-Column ──────────────────────────────────────── */
.knowledge-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.featured-knowledge-card {
  background: #ffffff;
  border: 1px solid rgba(13,71,161,0.1);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 2px 16px rgba(13,71,161,0.06);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.featured-knowledge-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0d47a1, #00994d);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-knowledge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(13,71,161,0.12);
  border-color: rgba(13,71,161,0.2);
}

.featured-knowledge-card:hover::before { opacity: 1; }

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0d47a1;
}

.fk-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: #0f1f35;
  line-height: 1.3;
  transition: color 0.2s;
}

.featured-knowledge-card:hover .fk-title { color: #0d47a1; }

.fk-excerpt {
  font-size: 0.88rem;
  color: #4a6a85;
  line-height: 1.7;
  flex: 1;
}

.fk-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #7a9ab5;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(13,71,161,0.08);
  margin-top: auto;
}

/* ── Knowledge Article Grid ─────────────────────────────────── */
.knowledge-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.knowledge-grid-header h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: #0f1f35;
}

.knowledge-grid-header span {
  font-size: 0.82rem;
  color: #7a9ab5;
}

.knowledge-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.knowledge-article-card {
  background: #ffffff;
  border: 1px solid rgba(13,71,161,0.1);
  border-radius: 14px;
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 12px rgba(13,71,161,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.knowledge-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(13,71,161,0.1);
  border-color: rgba(13,71,161,0.2);
}

.ka-category {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00994d;
}

.ka-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f1f35;
  line-height: 1.35;
  flex: 1;
  transition: color 0.2s;
}

.knowledge-article-card:hover .ka-title { color: #0d47a1; }

.ka-excerpt {
  font-size: 0.82rem;
  color: #4a6a85;
  line-height: 1.6;
}

.ka-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(13,71,161,0.08);
  margin-top: 4px;
}

.ka-meta { font-size: 0.75rem; color: #7a9ab5; }

/* ── No-results (wiederverwenden) ───────────────────────────── */
.knowledge-no-results {
  text-align: center;
  padding: 64px 0;
  color: #4a6a85;
  display: none;
  grid-column: 1 / -1;
}

.knowledge-no-results h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f1f35;
  margin-bottom: 6px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .knowledge-hub-grid        { grid-template-columns: 1fr 1fr; }
  .knowledge-hub             { padding: 32px 0; }
  .knowledge-featured-grid   { grid-template-columns: 1fr; }
  .featured-knowledge-card   { padding: 24px; }
  .knowledge-articles-grid   { grid-template-columns: 1fr; }
  .knowledge-page-content    { padding: 40px 0 60px; }
  .knowledge-grid-header     { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* 24. ARTICLE DETAIL & FEATURED IMAGES ----------------------- */
.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-hero-image {
  width: 100%;
  max-width: 1100px;
  margin: -60px auto 40px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  position: relative;
  z-index: 10;
  border: 4px solid var(--dark);
  background: var(--dark2);
}

.article-hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/8;
  object-fit: cover;
  display: block;
}

@media (max-width: 1200px) {
  .article-hero-image {
    max-width: calc(100% - 80px);
  }
}

@media (max-width: 768px) {
  .article-hero-image {
    margin: -30px 24px 32px;
    width: calc(100% - 48px);
    border-radius: 12px;
    border-width: 2px;
  }
  .article-hero-image img {
    aspect-ratio: 16/9;
  }
}

/* KNOWLEDGE CARD IMAGES */
.fk-img-wrap, .ka-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--dark);
  border: 1px solid var(--border);
}

.fk-img-wrap img, .ka-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 25. COOKIE CONSENT MODAL ------------------------------------ */
.cookie-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 14, 26, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9998;
  display: none;
}

.cookie-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 440px;
  background: var(--dark);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: 20px;
  padding: 40px 32px;
  z-index: 9999;
  box-shadow: 0 32px 64px rgba(0,0,0,0.6);
  display: none;
}

.cookie-modal.visible, .cookie-overlay.visible {
  display: block;
}

.cookie-modal-inner {
  text-align: center;
}

.cookie-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cookie-modal h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--text);
}

.cookie-modal p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.cookie-modal p a {
  color: var(--green);
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-actions .btn-primary {
  width: 100%;
  justify-content: center;
}

.cookie-actions .btn-outline {
  width: 100%;
  justify-content: center;
}

/* MINI-VARIANT (for legal pages) */
.cookie-overlay.is-mini {
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.cookie-modal.is-mini {
  top: auto;
  bottom: 24px;
  left: 24px;
  transform: none;
  max-width: 360px;
  padding: 24px;
  border-color: var(--green);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.cookie-modal.is-mini .cookie-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.cookie-modal.is-mini h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.cookie-modal.is-mini p {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.cookie-modal.is-mini .cookie-actions {
  flex-direction: row;
  gap: 8px;
}

.cookie-modal.is-mini .btn-primary,
.cookie-modal.is-mini .btn-outline {
  font-size: 0.75rem;
  padding: 8px 12px;
}

@media (max-width: 600px) {
  .cookie-modal.is-mini {
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    max-width: none;
  }
}

/* 24. NEWSLETTER SECTION ------------------------------------ */
.newsletter-section {
  padding: 100px 0;
  background: 
    linear-gradient(135deg, #050e1a 0%, #0a1e3a 100%);
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.newsletter-content {
  max-width: 500px;
}

.newsletter-form-wrap {
  flex: 1;
  max-width: 560px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-form:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.1);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(127, 168, 201, 0.5);
}

.newsletter-form .btn-primary {
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.btn-icon {
  margin-top: -1px;
}

.newsletter-message {
  margin-top: 16px;
  font-size: 0.9rem;
  min-height: 1.4em;
  transition: opacity 0.3s;
}

.newsletter-message.success {
  color: var(--green);
  opacity: 1;
}

.newsletter-message.error {
  color: #ff5252;
  opacity: 1;
}

/* Response for Newsletter on mobile */
@media (max-width: 992px) {
  .newsletter-grid {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .newsletter-form {
    flex-direction: column;
    padding: 16px;
  }
  .newsletter-form .btn-primary {
    justify-content: center;
  }
}
