/* ============================================
   Protexium Security Website
   CI: Dark theme + Blue (#386FFB)
   ============================================ */

:root {
  --blue: #386ffb;
  --blue-dark: #2558d4;
  --blue-light: #60a5fa;
  --blue-glow: rgba(56, 111, 251, 0.4);

  --bg-950: #060a14;
  --bg-900: #0b1120;
  --bg-800: #111827;
  --bg-700: #1e293b;
  --bg-600: #334155;
  --bg-500: #475569;

  --text-100: #f1f5f9;
  --text-200: #e2e8f0;
  --text-300: #cbd5e1;
  --text-400: #94a3b8;
  --text-500: #64748b;

  --red: #a90707;
  --green: #22c55e;
  --zone-green: #22c55e;
  --zone-blue: #386ffb;
  --zone-red: #ef4444;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: 300ms ease;
  --transition-fast: 150ms ease;

  --border: rgba(255, 255, 255, 0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--text-200);
  background: var(--bg-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-light); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--blue); }

/* Focus visible for keyboard navigation (accessibility) */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* Skip to content link (accessibility) */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--blue);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top var(--transition-fast);
}
.skip-to-content:focus {
  top: 1rem;
  color: white;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

h1, h2, h3, h4 { color: white; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  background: rgba(56, 111, 251, 0.12);
  color: var(--blue);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header p { color: var(--text-400); font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  box-shadow: 0 4px 16px var(--blue-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--blue-glow);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid var(--bg-500);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-light); }

.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-nav { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 17, 32, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}
.nav-logo:hover { color: white; }
.nav-logo img { border-radius: 50%; }

.nav-menu { display: flex; gap: 1.75rem; align-items: center; }

.nav-link {
  color: var(--text-300);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: white; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--bg-800);
  padding: 1.5rem;
  z-index: 999;
  border-bottom: 1px solid var(--bg-600);
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-menu.active { display: flex; }
.mobile-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--text-200);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.mobile-link:hover { background: var(--bg-700); color: white; }

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 10, 20, 0.70) 0%,
    rgba(11, 17, 32, 0.55) 40%,
    rgba(11, 17, 32, 0.40) 100%
  );
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  flex: 1;
}


.hero-text {
  max-width: 800px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 111, 251, 0.12);
  border: 1px solid rgba(56, 111, 251, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

@keyframes floatKnight {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-300);
  margin-bottom: 2rem;
  max-width: 520px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Hero Stats Bar */
.hero-stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(56, 111, 251, 0.15);
}

.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--blue);
}
.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--bg-600);
}

/* ============================================
   CRIME STATS SECTION (Deutschland / Spanien)
   ============================================ */
.crime-stats-section {
  padding: 5rem 0;
  background: var(--bg-800);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.crime-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-top: 2.5rem;
}
.crime-country {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.crime-country-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.crime-flag {
  width: 28px;
  height: auto;
  display: inline-block;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  vertical-align: middle;
}
.crime-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}
.crime-stat {
  position: relative;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.crime-stat:hover {
  border-color: rgba(56, 111, 251, 0.35);
  transform: translateY(-2px);
}
.crime-stat-num {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.crime-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.crime-stat-info {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(56, 111, 251, 0.12);
  border: 1px solid rgba(56, 111, 251, 0.45);
  color: var(--blue);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.72rem;
  font-style: italic;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.crime-stat-info:hover,
.crime-stat-info:focus {
  background: var(--blue);
  color: #fff;
  transform: scale(1.08);
  outline: none;
}
.crime-country-divider {
  background: var(--border);
  width: 1px;
}
.inline-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: rgba(56, 111, 251, 0.15);
  border: 1px solid rgba(56, 111, 251, 0.45);
  color: var(--blue);
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

/* ============================================
   PROMISE SECTION
   ============================================ */

.promise-section {
  padding: 6rem 0;
  background: var(--bg-800);
}

.promise-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.promise-lead {
  font-size: 1.1rem;
  color: var(--text-300);
  margin-bottom: 2rem;
}

.promise-features { display: flex; flex-direction: column; gap: 1.5rem; }

.promise-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feat-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-icon svg { width: 22px; height: 22px; color: white; }

.promise-feat h4 { margin-bottom: 0.25rem; }
.promise-feat p { color: var(--text-400); margin-bottom: 0; font-size: 0.925rem; }

.promise-visual { text-align: center; }
.promise-img {
  max-width: 100%;
  border-radius: var(--radius);
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.4));
}

/* ============================================
   ZONE SECTION
   ============================================ */

.zone-section {
  padding: 6rem 0;
  background: var(--bg-900);
}

.zone-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.zone-visual { text-align: center; }

.zone-diagram {
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.4));
  animation: floatKnight 8s ease-in-out infinite;
}

.zone-cards { display: flex; flex-direction: column; gap: 1.25rem; }

.zone-card {
  display: flex;
  background: var(--bg-800);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.zone-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.zone-indicator { width: 5px; flex-shrink: 0; }

.zone-card[data-zone="4"] .zone-indicator { background: var(--zone-green); }
.zone-card[data-zone="4"] .zone-label { color: var(--zone-green); }

.zone-card[data-zone="2"] .zone-indicator { background: var(--zone-blue); }
.zone-card[data-zone="2"] .zone-label { color: var(--zone-blue); }

.zone-card[data-zone="1"] .zone-indicator { background: var(--zone-red); }
.zone-card[data-zone="1"] .zone-label { color: var(--zone-red); }

.zone-card-content { padding: 1.5rem; }

.zone-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.zone-card h3 { margin-bottom: 0.5rem; }
.zone-card p { color: var(--text-400); margin-bottom: 0; font-size: 1.05rem; line-height: 1.6; }

/* ============================================
   FEATURE HIGHLIGHT (CS-Gas)
   ============================================ */

.feature-highlight {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-800) 0%, var(--bg-900) 100%);
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.feature-video { width: 100%; display: block; }

.video-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.feature-lead {
  font-size: 1.1rem;
  color: var(--text-300);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  margin-bottom: 2rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  color: var(--text-300);
  font-size: 0.95rem;
}
.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.check-list-grid strong {
  display: inline-block;
  min-width: 15rem;
}
@media (max-width: 480px) {
  .check-list-grid strong {
    min-width: auto;
    display: block;
    margin-bottom: 0.25rem;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
  padding: 6rem 0;
  background: var(--bg-900);
}

.services-overview {
  margin-bottom: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.services-hero-img { width: 100%; display: block; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-800);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid transparent;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  border-color: rgba(56, 111, 251, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.service-card:hover::before { opacity: 1; }

.service-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(56, 111, 251, 0.15), rgba(56, 111, 251, 0.05));
  border: 1px solid rgba(56, 111, 251, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-icon-wrap svg { width: 26px; height: 26px; color: var(--blue); }

.service-card h3 { font-size: 1.2rem; }
.service-card > p { color: var(--text-400); font-size: 0.925rem; }

.service-features {
  list-style: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-600);
}
.service-features li {
  color: var(--text-300);
  font-size: 0.85rem;
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   TECHNOLOGY SECTION
   ============================================ */

.tech-section {
  padding: 6rem 0;
  background: var(--bg-800);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.tech-card {
  background: var(--bg-700);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition);
}
.tech-card:hover { transform: scale(1.02); }

.tech-video-wrap { aspect-ratio: 4/3; overflow: hidden; }
.tech-video-wrap video { width: 100%; height: 100%; object-fit: cover; }

.tech-info { padding: 1.25rem; }
.tech-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.tech-info p { color: var(--text-400); margin-bottom: 0; font-size: 0.9rem; }

/* Features Strip */
.features-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-700);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-300);
  border: 1px solid var(--bg-600);
}
.strip-item svg { color: var(--blue); flex-shrink: 0; }

/* ============================================
   PARTNER SECTION
   ============================================ */

.partner-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-900) 0%, var(--bg-800) 100%);
}

.partner-logo {
  max-width: 200px;
  margin: 1.5rem auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.partner-card {
  background: var(--bg-800);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--bg-600);
  transition: all var(--transition);
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(56, 111, 251, 0.12);
}

.partner-card-img {
  height: 220px;
  overflow: hidden;
}
.partner-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.partner-card:hover .partner-card-img img { transform: scale(1.05); }

.partner-card-body { padding: 1.5rem; }
.partner-card-body h3 { font-size: 1.15rem; }
.partner-card-body p { color: var(--text-400); font-size: 0.925rem; margin-bottom: 0; }

.partner-highlight-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  padding: 1.5rem 2.5rem;
  border-radius: var(--radius);
}

.highlight-knight { width: 64px; height: 64px; border-radius: 50%; }

.partner-highlight-bar p {
  color: white;
  font-size: 1.1rem;
  margin: 0;
  flex: 1;
}

/* ============================================
   CTA SECTION (Schutzritter werden)
   ============================================ */

.cta-section {
  padding: 4rem 0;
  background: var(--bg-800);
}

.cta-banner {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: linear-gradient(135deg, var(--bg-700) 0%, var(--bg-800) 50%, rgba(56, 111, 251, 0.08) 100%);
  border: 1px solid rgba(56, 111, 251, 0.15);
  border-radius: var(--radius-lg);
  padding: 3rem;
  overflow: hidden;
}

.cta-content { flex: 1; }
.cta-content p { color: var(--text-400); font-size: 1.05rem; max-width: 500px; }

.cta-knight { flex-shrink: 0; width: 200px; }
.cta-knight img {
  width: 100%;
  filter: drop-shadow(0 8px 30px rgba(56, 111, 251, 0.2));
  animation: floatKnight 5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .cta-banner { flex-direction: column; text-align: center; padding: 2rem; }
  .cta-knight { width: 150px; order: -1; }
  .cta-content p { margin-left: auto; margin-right: auto; }
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: 6rem 0;
  background: var(--bg-900);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 0.75rem; }
.contact-info > p { color: var(--text-400); margin-bottom: 2rem; }

.contact-limit-notice {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, rgba(56, 111, 251, 0.14), rgba(56, 111, 251, 0.06));
  border: 1px solid rgba(56, 111, 251, 0.35);
  border-radius: var(--radius-sm, 0.75rem);
  box-shadow: 0 0 0 1px rgba(56, 111, 251, 0.05), 0 8px 24px -12px rgba(56, 111, 251, 0.4);
}
.contact-limit-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 111, 251, 0.18);
  border-radius: 999px;
  color: var(--blue);
}
.contact-limit-icon svg { width: 20px; height: 20px; }
.contact-limit-notice strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.contact-limit-notice span {
  display: block;
  color: var(--text-400);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: 0.15rem;
}
.contact-limit-notice span b {
  color: var(--blue-light, #60a5fa);
  font-weight: 700;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.contact-details { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--bg-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--blue); }

.contact-item strong { display: block; color: white; font-size: 0.85rem; }
.contact-item a, .contact-item span { color: var(--text-400); font-size: 0.9rem; }
.contact-item a:hover { color: var(--blue-light); }

.contact-social { display: flex; gap: 0.75rem; }

.social-link {
  width: 42px;
  height: 42px;
  background: var(--bg-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.social-link svg { width: 20px; height: 20px; color: var(--text-400); }
.social-link:hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.social-link:hover svg { color: white; }

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-800);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--bg-600);
}

.contact-form h3 { margin-bottom: 1.5rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-300);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font);
  font-size: 0.95rem;
  color: white;
  background: var(--bg-700);
  border: 1.5px solid var(--bg-600);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(56, 111, 251, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-500); }

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}
.form-group select option { background: var(--bg-700); }

.form-group textarea { resize: vertical; min-height: 100px; }

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-400);
}
.checkbox-wrap .checkmark {
  margin-top: 0;
}
.checkbox-wrap input { display: none; }

.checkmark {
  display: inline-block;
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  flex-shrink: 0;
  background: var(--bg-500);
  border: 2px solid var(--text-300);
  border-radius: 4px;
  position: relative;
  transition: all var(--transition-fast);
}

.checkbox-wrap:hover .checkmark { border-color: var(--blue); }

.checkbox-wrap input:checked + .checkmark {
  background: var(--blue);
  border-color: var(--blue);
}
.checkbox-wrap input:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: var(--text-500);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: 4rem 0 0;
  background: var(--bg-950);
  border-top: 1px solid var(--bg-700);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--bg-700);
}

.footer-logo-img { border-radius: 50%; margin-bottom: 1rem; }
.footer-tagline { font-style: italic; color: var(--text-400); font-size: 0.95rem; }
.footer-desc { color: var(--text-500); font-size: 0.85rem; }

.footer-nav h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-300);
  margin-bottom: 1rem;
}
.footer-nav a, .footer-nav span {
  display: block;
  color: var(--text-500);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}
.footer-nav a:hover { color: var(--blue-light); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 2rem 0 3.5rem;
  text-align: center;
}
.footer-bottom p { color: var(--text-500); font-size: 0.85rem; margin: 0; }

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}
.footer-meta-line {
  color: var(--text-500);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}
.footer-meta-line:first-child {
  color: var(--text-400);
  font-weight: 500;
}

.footer-legal {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-legal a {
  color: var(--text-400);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--blue-light); }

/* ============================================
   REFERENZEN / TESTIMONIALS SECTION
   ============================================ */

.referenzen-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-900) 0%, var(--bg-800) 50%, var(--bg-900) 100%);
}

/* Testimonial Carousel */
.testimonial-carousel-wrap {
  position: relative;
  margin-bottom: 2rem;
  padding: 0 3rem;
}

.testimonial-carousel {
  overflow: hidden;
  border-radius: var(--radius);
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 1.25rem;
}

.testimonial-card {
  min-width: calc(33.333% - 0.84rem);
  flex-shrink: 0;
  background: var(--bg-800);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--bg-600);
  transition: all var(--transition);
}
.testimonial-card:hover {
  border-color: rgba(56, 111, 251, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.testimonial-video-wrap {
  position: relative;
  aspect-ratio: 9/14;
  background: var(--bg-700);
  overflow: hidden;
}

.testimonial-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.testimonial-play-btn svg {
  width: 48px;
  height: 48px;
  color: white;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: transform var(--transition);
}
.testimonial-play-btn:hover { background: rgba(0, 0, 0, 0.25); }
.testimonial-play-btn:hover svg { transform: scale(1.15); }
.testimonial-play-btn.hidden { opacity: 0; pointer-events: none; }

.testimonial-meta {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-name { color: white; font-weight: 600; font-size: 0.9rem; }
.testimonial-location { color: var(--text-400); font-size: 0.8rem; }

/* Carousel Arrows */
.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--bg-700);
  border: 1px solid var(--bg-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition);
}
.testimonial-arrow svg { width: 20px; height: 20px; color: white; }
.testimonial-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 4px 16px var(--blue-glow);
}
.testimonial-arrow-left { left: 0; }
.testimonial-arrow-right { right: 0; }

/* Carousel Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 4rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-600);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.testimonial-dot.active {
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue-glow);
  transform: scale(1.2);
}

/* ============================================
   INTERACTIVE GERMANY MAP
   ============================================ */

.ref-map-section {
  margin-top: 1rem;
}

.ref-map-title {
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 0.5rem;
}

.ref-map-subtitle {
  text-align: center;
  color: var(--text-400);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.ref-map-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  perspective: 1200px;
}

/* Trio layout: Teneriffa | Deutschland | Spanien in einer Reihe */
.ref-maps-trio {
  display: grid;
  /* Spaltenbreiten proportional zu den SVG-Aspect-Ratios, damit alle 3 Karten
     auf ungefähr gleiche Höhe gerendert werden:
     Teneriffa 400:320 (1.25), Deutschland 600:810 (0.74), Spanien 600:450 (1.33) */
  grid-template-columns: 1.25fr 0.74fr 1.33fr;
  gap: 2rem;
  margin: 0 auto;
  max-width: 1500px;
  align-items: start;
}
.ref-map-container--small,
.ref-map-container--medium,
.ref-map-container--large {
  max-width: none;
  margin: 0;
}
/* Visuelle Reihenfolge: Teneriffa | Deutschland | Spanien */
.ref-map-container--small  { order: 1; }
.ref-map-container--large  { order: 2; }
.ref-map-container--medium { order: 3; }

.ref-map-title {
  text-align: center;
  color: var(--text-100);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .ref-maps-trio {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .ref-map-container--small,
  .ref-map-container--medium,
  .ref-map-container--large {
    max-width: 700px;
    margin: 0 auto;
  }
  .ref-map-container--small  { order: 2; }
  .ref-map-container--large  { order: 1; }
  .ref-map-container--medium { order: 3; }
}

/* Shared overlay: fixed to viewport so it sits above all three maps */
.ref-detail-overlay--shared {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.ref-map-layer {
  position: relative;
  width: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center center;
}

.ref-map-layer.zoomed {
  transform: scale(1.4);
}

.germany-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 30px rgba(56, 111, 251, 0.08));
}

.germany-path {
  transition: all 0.6s ease;
}

.ref-map-container:hover .germany-path {
  stroke: rgba(56, 111, 251, 0.5);
}

/* Map Markers */
.ref-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-marker-dot {
  width: 14px;
  height: 14px;
  background: var(--blue);
  border-radius: 50%;
  border: 2.5px solid white;
  box-shadow: 0 2px 8px rgba(56, 111, 251, 0.5);
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}

/* Marker color variants */
.ref-marker--main .ref-marker-dot {
  width: 18px;
  height: 18px;
  background: #ef4444;
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.65);
}
.ref-marker--main .ref-marker-ping {
  border-color: #ef4444;
  width: 40px;
  height: 40px;
}

.ref-marker--lead .ref-marker-dot {
  background: #22c55e;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.55);
}
.ref-marker--lead .ref-marker-ping {
  border-color: #22c55e;
}

.ref-marker:hover .ref-marker-dot {
  transform: scale(1.3);
  box-shadow: 0 2px 16px rgba(56, 111, 251, 0.7);
}
.ref-marker--main:hover .ref-marker-dot {
  box-shadow: 0 2px 18px rgba(239, 68, 68, 0.85);
}
.ref-marker--lead:hover .ref-marker-dot {
  box-shadow: 0 2px 16px rgba(34, 197, 94, 0.75);
}

.ref-marker.active .ref-marker-dot {
  background: white;
  border-color: var(--blue);
  transform: scale(1.4);
}
.ref-marker--main.active .ref-marker-dot { border-color: #ef4444; }
.ref-marker--lead.active .ref-marker-dot { border-color: #22c55e; }

/* Legend filter states */
.ref-marker.dimmed { opacity: 0.15; filter: grayscale(0.6); pointer-events: none; }
.ref-marker.dimmed .ref-marker-ping { animation: none; opacity: 0; }
.ref-marker.highlighted .ref-marker-dot { transform: scale(1.25); }

.ref-marker-ping {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  opacity: 0;
  animation: markerPing 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes markerPing {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(2); opacity: 0; }
}

.ref-marker-label {
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(6px);
  color: white;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
  max-width: min(160px, 40vw);
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 0.01em;
}

.ref-marker:hover .ref-marker-label,
.ref-marker.active .ref-marker-label,
.ref-marker.highlighted .ref-marker-label {
  opacity: 1;
  background: var(--bg-700);
  border-color: var(--bg-500);
}

.ref-marker--main .ref-marker-label {
  background: rgba(239, 68, 68, 0.92);
  border-color: rgba(239, 68, 68, 0.6);
  opacity: 1;
  font-weight: 700;
}

/* Label positioned below the marker instead of above */
.ref-marker-label.label-below {
  bottom: auto;
  top: calc(100% + 2px);
}
.ref-marker--lead .ref-marker-label {
  background: rgba(34, 197, 94, 0.88);
  border-color: rgba(34, 197, 94, 0.55);
  opacity: 1;
  font-weight: 700;
}

/* Map Legend */
.ref-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1.5rem;
  max-width: 700px;
  padding: 0.75rem 1rem;
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 1rem);
}
.ref-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--text-300);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.ref-legend-item:hover,
.ref-legend-item:focus,
.ref-legend-item.active {
  background: var(--bg-700);
  border-color: var(--bg-500);
  color: var(--text-100);
  outline: none;
}
.ref-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  flex-shrink: 0;
}
.ref-legend-dot--main {
  background: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}
.ref-legend-dot--lead {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
}
.ref-legend-dot--project {
  background: var(--blue);
  box-shadow: 0 0 8px rgba(56, 111, 251, 0.5);
}
@media (max-width: 600px) {
  .ref-legend-item { font-size: 0.75rem; padding: 0.3rem 0.65rem; }
  .ref-map-legend { gap: 0.35rem; padding: 0.6rem 0.75rem; }
}

/* Reference Detail Overlay */
.ref-detail-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ref-detail-overlay.active {
  pointer-events: auto;
  opacity: 1;
}

.ref-detail-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--bg-700);
  border: 1px solid var(--bg-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all var(--transition);
}
.ref-detail-close svg { width: 18px; height: 18px; color: white; }
.ref-detail-close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg);
}

/* 3D Reference Detail Card */
.ref-detail-card {
  width: min(420px, 90vw);
  max-width: 90%;
  transform-style: preserve-3d;
  transform: rotateY(90deg) scale(0.6);
  transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ref-detail-overlay.active .ref-detail-card {
  transform: rotateY(0deg) scale(1);
}

.ref-detail-front {
  background: var(--bg-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(56, 111, 251, 0.25);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(56, 111, 251, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backface-visibility: hidden;
}

.ref-detail-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
}

.ref-detail-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.ref-detail-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.ref-detail-header h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.ref-detail-location {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.ref-detail-body {
  padding: 1.75rem 2rem;
}

.ref-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bg-600);
}

.ref-stat { text-align: center; }

.ref-stat-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
}

.ref-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.ref-detail-desc {
  color: var(--text-300);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.ref-detail-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.ref-detail-features li {
  color: var(--text-300);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0;
}

.ref-detail-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   BIOGAS INTRO SECTION
   ============================================ */

.biogas-intro-section {
  padding: 6rem 0;
  background: var(--bg-900);
}

.biogas-partner-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.biogas-partner-card {
  background: var(--bg-800);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--bg-600);
  transition: all var(--transition);
}
.biogas-partner-card:hover {
  border-color: rgba(56, 111, 251, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.biogas-partner-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.biogas-partner-icon svg { color: white; }

.biogas-partner-card h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }

.biogas-partner-role {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.biogas-partner-card p { color: var(--text-400); font-size: 0.925rem; }
.biogas-partner-card p strong { color: var(--text-200); }

/* ============================================
   BIOGAS ZONES SECTION
   ============================================ */

.biogas-zones-section {
  padding: 6rem 0;
  background: var(--bg-800);
}

.biogas-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.biogas-info-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(56, 111, 251, 0.08);
  border: 1px solid rgba(56, 111, 251, 0.15);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-300);
}
.biogas-info-item svg { color: var(--blue); flex-shrink: 0; }
.biogas-info-item strong { color: white; }

.biogas-zone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.biogas-zone-card {
  background: var(--bg-700);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 4px solid transparent;
  transition: all var(--transition);
}
.biogas-zone-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.biogas-zone-card[data-zone="outer"] { border-top-color: var(--zone-green); }
.biogas-zone-card[data-zone="shell"] { border-top-color: var(--zone-blue); }
.biogas-zone-card[data-zone="core"] { border-top-color: var(--zone-red); }

.biogas-zone-header { margin-bottom: 1rem; }

.biogas-zone-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.biogas-zone-card[data-zone="outer"] .biogas-zone-label { color: var(--zone-green); }
.biogas-zone-card[data-zone="shell"] .biogas-zone-label { color: var(--zone-blue); }
.biogas-zone-card[data-zone="core"] .biogas-zone-label { color: var(--zone-red); }

.biogas-zone-card h3 { font-size: 1.2rem; margin-bottom: 0; }
.biogas-zone-card p { color: var(--text-400); margin-bottom: 0; font-size: 0.925rem; }

/* ============================================
   BIOGAS SERVICES SECTION
   ============================================ */

.biogas-services-section {
  padding: 6rem 0;
  background: var(--bg-900);
}

.biogas-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.biogas-service-tile {
  background: var(--bg-800);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--bg-600);
  transition: all var(--transition);
}
.biogas-service-tile:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(56, 111, 251, 0.12);
}

.biogas-service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(56, 111, 251, 0.15), rgba(56, 111, 251, 0.05));
  border: 1px solid rgba(56, 111, 251, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.biogas-service-icon svg { width: 26px; height: 26px; color: var(--blue); }

.biogas-service-tile h4 { color: white; font-size: 1rem; margin-bottom: 0; }

/* ============================================
   BIOGAS FEATURES SECTION (Innenbereich)
   ============================================ */

.biogas-features-section {
  padding: 6rem 0;
  background: var(--bg-800);
}

.biogas-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.biogas-feature-card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.biogas-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(56, 111, 251, 0.25);
}

.biogas-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.biogas-feature-icon svg { width: 22px; height: 22px; color: white; }

.biogas-feature-card h4 { color: white; font-size: 1rem; margin-bottom: 0.5rem; }
.biogas-feature-card p { color: rgba(255, 255, 255, 0.8); margin-bottom: 0; font-size: 0.85rem; line-height: 1.5; }

/* ============================================
   CERTIFICATIONS SECTION
   ============================================ */

.cert-section {
  padding: 6rem 0;
  background: var(--bg-900);
}

.cert-category {
  margin-bottom: 2.5rem;
}

.cert-category-title {
  font-size: 1.1rem;
  color: var(--blue-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--bg-600);
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 130px;
  text-align: center;
}

.cert-badge-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2.5px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  background: var(--bg-800);
  line-height: 1.2;
  text-align: center;
  padding: 4px;
}
.cert-badge-inner small { font-size: 0.6rem; font-weight: 500; color: var(--text-300); }

.cert-badge span {
  font-size: 0.7rem;
  color: var(--text-400);
  line-height: 1.3;
}

.cert-badge-special .cert-badge-inner { width: 80px; height: 80px; font-size: 0.9rem; }

.cert-ce { border-color: var(--blue); color: var(--blue); font-size: 1.3rem !important; font-weight: 800; }
.cert-rohs { border-color: var(--green); color: var(--green); }
.cert-iso { border-color: #1e40af; background: #1e40af; color: white; }

.cert-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cert-category-half { margin-bottom: 0; }

/* ============================================
   TECHNOLOGY PARTNERS SECTION
   ============================================ */

.techpartner-section {
  padding: 6rem 0;
  background: var(--bg-800);
}

.techpartner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.techpartner-logo-card {
  background: var(--bg-700);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border: 1px solid var(--bg-600);
  transition: all var(--transition);
  gap: 0.5rem;
}
.techpartner-logo-card:hover {
  border-color: rgba(56, 111, 251, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.techpartner-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.03em;
}

.techpartner-highlight {
  background: linear-gradient(135deg, rgba(56, 111, 251, 0.08), rgba(56, 111, 251, 0.03));
  border-color: rgba(56, 111, 251, 0.25);
}

.techpartner-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
}

.techpartner-logo-card small {
  font-size: 0.75rem;
  color: var(--text-400);
  text-align: center;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */

.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--blue-glow);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: all var(--transition);
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.scroll-top:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px var(--blue-glow);
}
.scroll-top svg { width: 22px; height: 22px; color: white; }

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .btn-nav { display: none; }
  .nav-actions > .lang-switch { display: none; }

  .hero-content { gap: 2rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }

  .biogas-zone-grid { grid-template-columns: repeat(2, 1fr); }
  .biogas-services-grid { grid-template-columns: repeat(2, 1fr); }
  .biogas-features-grid { grid-template-columns: repeat(2, 1fr); }
  .techpartner-grid { grid-template-columns: repeat(3, 1fr); }

  .testimonial-card { min-width: calc(50% - 0.625rem); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }

  .hero-stats-bar {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
  }
  .hero-stat-divider { display: none; }
  .hero-stat { flex: 1; min-width: 120px; }
  .hero-stat-num { font-size: 1.4rem; }

  /* Crime-Stats mobil: gestapelt, Divider zu horizontaler Linie */
  .crime-stats-section { padding: 3.5rem 0; }
  .crime-stats-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .crime-country-divider {
    width: 100%;
    height: 1px;
  }
  .crime-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .crime-stat { padding: 1.25rem 0.6rem 1rem; }
  .crime-stat-num { font-size: 1.35rem; }
  .crime-stat-label { font-size: 0.68rem; }

  .promise-grid { grid-template-columns: 1fr; gap: 2rem; }
  .promise-visual { order: -1; }
  .promise-img { max-width: 300px; margin: 0 auto; }

  .zone-layout { grid-template-columns: 1fr; gap: 2rem; }
  .zone-diagram { max-width: 320px; margin: 0 auto; }

  .feature-split { grid-template-columns: 1fr; gap: 2rem; }

  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }

  .biogas-partner-split { grid-template-columns: 1fr; }
  .biogas-zone-grid { grid-template-columns: 1fr; }
  .biogas-services-grid { grid-template-columns: repeat(2, 1fr); }
  .biogas-features-grid { grid-template-columns: 1fr; }
  .biogas-info-bar { flex-direction: column; align-items: stretch; }
  .cert-bottom-row { grid-template-columns: 1fr; }
  .techpartner-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { min-width: 100%; }
  .testimonial-carousel-wrap { padding: 0 2.5rem; }
  .ref-detail-card { width: 340px; }
  .ref-detail-stats { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .ref-detail-features { grid-template-columns: 1fr; }
  .ref-detail-body { padding: 1.25rem 1.5rem; }
  .ref-detail-header { padding: 1.25rem 1.5rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-wrap { padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }

  .partner-highlight-bar {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }

  .biogas-services-grid { grid-template-columns: 1fr; }
  .techpartner-grid { grid-template-columns: 1fr; }
  .cert-badges { gap: 0.75rem; }
  .cert-badge { width: 100px; }
  .cert-badge-inner { width: 60px; height: 60px; font-size: 0.7rem; }
  .cert-badge-special .cert-badge-inner { width: 68px; height: 68px; }

  .hero { min-height: 90vh; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }

  .hero-stats-bar { gap: 0.5rem; }
  .hero-stat { min-width: 70px; }
  .hero-stat-num { font-size: 1.1rem; }
  .hero-stat-label { font-size: 0.65rem; }

  .crime-stats-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .crime-stat { padding: 1.1rem 1rem; }
  .crime-stat-num { font-size: 1.6rem; }
  .crime-stat-label { font-size: 0.75rem; }

  .btn-lg { padding: 0.875rem 1.5rem; font-size: 0.95rem; }

  .service-card { padding: 1.5rem; }
  .partner-card-img { height: 180px; }

  .scroll-top { bottom: 4.5rem; right: 1rem; width: 42px; height: 42px; }
}

/* ============================================
   MULTI-PAGE INFRASTRUCTURE (Phase 0)
   Dropdown Nav, Breadcrumbs, Page Headers,
   Trust Bar, Comparison Table, Webinar CTA,
   Branchen Teaser, Subpage Layouts
   ============================================ */

/* --- Dropdown Navigation --- */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link { cursor: pointer; display: flex; align-items: center; gap: 0.25rem; }
.nav-dropdown > .nav-link::after {
  content: '\25BE';
  position: static;
  display: inline-block;
  width: auto;
  height: auto;
  border: none;
  background: none;
  font-size: 0.75em;
  margin-left: 4px;
  opacity: 0.7;
  transition: transform var(--transition-fast);
}
.nav-dropdown:hover > .nav-link::after,
.nav-dropdown.open > .nav-link::after { transform: rotate(180deg); opacity: 1; }

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg-700);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--text-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.dropdown-menu a:hover {
  background: rgba(56,111,251,0.1);
  color: var(--blue-light);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-500);
}
.breadcrumbs a {
  color: var(--text-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.breadcrumbs a:hover { color: var(--blue-light); }
.breadcrumbs .breadcrumb-sep,
.breadcrumbs > span:not(.current):not(.breadcrumb-current) {
  margin: 0 0.5rem;
  color: var(--text-500);
}
.breadcrumbs .breadcrumb-current,
.breadcrumbs .current { color: var(--text-200); }

/* --- Subpage Header Banner --- */
.page-header {
  padding: 8rem 0 3rem;
  background: linear-gradient(135deg, var(--bg-900) 0%, var(--bg-800) 50%, rgba(56,111,251,0.08) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.page-header .section-tag { margin-bottom: 1rem; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-100);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 1.1rem;
  color: var(--text-400);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-header .page-header-sub {
  font-size: 1.1rem;
  color: var(--text-400);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Trust Bar (Marquee) --- */
.trust-bar {
  padding: 1.5rem 0;
  background: var(--bg-800);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: trustScroll 30s linear infinite;
  width: max-content;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  color: var(--text-400);
  font-size: 0.85rem;
  font-weight: 500;
}
.trust-bar-item strong { color: var(--text-200); }
.trust-bar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(56,111,251,0.1);
  border: 1px solid rgba(56,111,251,0.2);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-light);
}
@keyframes trustScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Zertifizierungen Marquee --- */
.cert-section {
  padding: 5rem 0 3.5rem;
  background: var(--bg-900);
  position: relative;
}
.cert-marquee-wrap {
  position: relative;
  margin-top: 2.5rem;
  padding: 1rem 0;
  overflow: hidden;
}
.cert-marquee-wrap::before,
.cert-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.cert-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-900) 0%, transparent 100%);
}
.cert-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-900) 0%, transparent 100%);
}
.cert-marquee-track {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  animation: certScroll 50s linear infinite;
  width: max-content;
}
.cert-marquee-track:hover { animation-play-state: paused; }

.cert-badge {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.cert-badge-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a 0%, #386ffb 100%);
  border: 2px solid rgba(255,255,255,0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(56,111,251,0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  padding: 0.4rem;
  line-height: 1.05;
}
.cert-badge:hover .cert-badge-circle {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 36px rgba(56,111,251,0.4);
}
.cert-badge-top {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.75;
  text-transform: uppercase;
}
.cert-badge-main {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.15rem;
}
.cert-badge-sub {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.75;
  margin-top: 0.1rem;
  text-transform: uppercase;
}
.cert-badge-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.45;
  padding: 0 0.25rem;
}
/* Variant: plain/white badges (CE, RoHS, ISO) */
.cert-badge-circle.cert-light {
  background: #ffffff;
  color: #0b1120;
  border-color: rgba(56,111,251,0.3);
  box-shadow: 0 10px 26px rgba(0,0,0,0.35);
}
.cert-badge-circle.cert-ce {
  font-family: 'Arial', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}
.cert-badge-circle.cert-rohs {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f6e2a;
  letter-spacing: 0.02em;
}
.cert-badge-circle.cert-iso-main {
  background: linear-gradient(135deg, #0b1120 0%, #1e293b 100%);
  color: #fff;
}
.cert-badge-circle.cert-iso-main .cert-badge-main {
  font-size: 1.05rem;
}
@keyframes certScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Technologiepartner Karussell --- */
.tech-partners-section {
  padding: 4rem 0 5rem;
  background: var(--bg-800);
  position: relative;
  overflow: hidden;
}
.tech-partners-wrap {
  position: relative;
  margin-top: 2.5rem;
  padding: 1rem 0;
  overflow: hidden;
}
.tech-partners-wrap::before,
.tech-partners-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.tech-partners-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-800) 0%, transparent 100%);
}
.tech-partners-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-800) 0%, transparent 100%);
}
.tech-partners-track {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  animation: techPartnerScroll 42s linear infinite;
  width: max-content;
}
.tech-partners-track:hover { animation-play-state: paused; }
.tech-partner-tile {
  flex-shrink: 0;
  width: 210px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tech-partner-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(56,111,251,0.28);
}
.tech-partner-tile img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.05);
  opacity: 0.55;
  transition: filter 0.35s ease, opacity 0.35s ease;
}
.tech-partner-tile:hover img {
  filter: grayscale(0%);
  opacity: 1;
}
.tech-partner-tile.placeholder {
  background: var(--bg-700);
  border: 1px dashed rgba(56,111,251,0.4);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  box-shadow: none;
}
.tech-partner-tile.placeholder:hover {
  transform: none;
  background: var(--bg-600);
}
@keyframes techPartnerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .cert-badge { width: 130px; }
  .cert-badge-circle { width: 78px; height: 78px; }
  .cert-badge-main { font-size: 0.82rem; }
  .tech-partner-tile { width: 170px; height: 100px; padding: 1rem 1.25rem; }
  .tech-partner-tile img { max-height: 55px; }
  .cert-marquee-wrap::before,
  .cert-marquee-wrap::after,
  .tech-partners-wrap::before,
  .tech-partners-wrap::after { width: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .cert-marquee-track,
  .tech-partners-track { animation: none; }
}

/* --- Branchen Teaser --- */
.branchen-teaser { padding: 5rem 0; }
.branchen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.branche-card {
  background: var(--bg-700);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.branche-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,111,251,0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.branche-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.25rem;
  background: rgba(56,111,251,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.branche-icon svg { width: 28px; height: 28px; stroke: var(--blue-light); }
.branche-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-100); margin-bottom: 0.5rem; }
.branche-card p { font-size: 0.9rem; color: var(--text-400); margin-bottom: 1.25rem; line-height: 1.6; }
.branche-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.branche-link:hover { color: var(--blue-light); gap: 0.6rem; }
.branche-link svg { width: 16px; height: 16px; }

/* --- Comparison Table --- */
.comparison-section { padding: 5rem 0; }

/* Info tooltip button (used in comparison section headlines) */
.info-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.65rem;
  padding: 0;
  background: var(--bg-700);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: help;
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  top: -0.15em;
}
.info-tooltip:hover,
.info-tooltip:focus-visible {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  outline: none;
}
.info-tooltip .info-icon { pointer-events: none; }
.info-tooltip .info-text {
  position: absolute;
  bottom: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(340px, 85vw);
  padding: 0.9rem 1rem;
  background: var(--bg-800);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  font-size: 0.78rem;
  font-weight: 400;
  font-style: normal;
  line-height: 1.55;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 20;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
}
.info-tooltip .info-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--bg-800);
}
.info-tooltip:hover .info-text,
.info-tooltip:focus-visible .info-text {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 600px) {
  .info-tooltip .info-text {
    width: min(280px, 80vw);
    left: auto;
    right: 0;
    transform: none;
  }
  .info-tooltip .info-text::after {
    left: auto;
    right: 0.75rem;
    transform: none;
  }
}
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.comparison-table thead th {
  background: var(--bg-700);
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-200);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table thead th.highlight {
  background: linear-gradient(135deg, rgba(56,111,251,0.2), rgba(56,111,251,0.1));
  color: var(--blue-light);
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  border-top: 2px solid var(--blue);
}
.comparison-table tbody td {
  padding: 0.875rem 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-300);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-200);
}
.comparison-table tbody td.highlight {
  background: rgba(56,111,251,0.04);
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}
.comparison-table tbody tr:last-child td.highlight {
  border-bottom: 2px solid var(--blue);
}
.comparison-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.comparison-table tbody tr:hover td.highlight { background: rgba(56,111,251,0.08); }
.check-yes { color: var(--green); font-weight: 700; font-size: 1.1rem; }
.check-no { color: var(--text-500); font-size: 1.1rem; }

/* --- Webinar CTA Banner --- */
.webinar-cta {
  padding: 4rem 0;
}
.webinar-banner {
  background: linear-gradient(135deg, var(--bg-700) 0%, rgba(56,111,251,0.1) 100%);
  border: 1px solid rgba(56,111,251,0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.webinar-banner-content { flex: 1; }
.webinar-banner-content .section-tag { margin-bottom: 0.75rem; }
.webinar-banner-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 0.5rem;
}
.webinar-banner-content p { color: var(--text-400); margin-bottom: 1.25rem; }
.webinar-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.webinar-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-300);
}
.webinar-meta-item svg { width: 16px; height: 16px; stroke: var(--blue-light); }

/* --- Alternating Text/Media Sections (Service Subpages) --- */
.content-split {
  padding: 4rem 0;
}
.content-split-inner {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: center;
}
.content-split.reversed .content-split-inner,
.content-split-inner.reversed { direction: rtl; }
.content-split.reversed .content-split-inner > *,
.content-split-inner.reversed > * { direction: ltr; }
.content-split-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 1rem;
}
.content-split-text p {
  color: var(--text-300);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.content-split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.content-split-media video,
.content-split-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Service "More Info" Link on Cards --- */
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: auto;
  padding-top: 1rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}
.service-card-link:hover { color: var(--blue-light); gap: 0.6rem; }
.service-card-link svg { width: 16px; height: 16px; }

/* --- CTA Banner (Subpage bottom) --- */
.page-cta-banner {
  padding: 5rem 0;
  text-align: center;
}
.page-cta-inner {
  background: linear-gradient(135deg, rgba(56,111,251,0.12) 0%, var(--bg-700) 100%);
  border: 1px solid rgba(56,111,251,0.2);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
}
.page-cta-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 1rem;
}
.page-cta-inner p {
  color: var(--text-400);
  max-width: 550px;
  margin: 0 auto 2rem;
}

/* --- Responsive: New Components --- */
@media (max-width: 1024px) {
  .branchen-grid { grid-template-columns: repeat(2, 1fr); }
  .content-split-inner { grid-template-columns: 1fr; gap: 2rem; }
  .content-split.reversed .content-split-inner,
  .content-split-inner.reversed { direction: ltr; }
  .webinar-banner { flex-direction: column; text-align: center; padding: 2rem; }
  .webinar-meta { justify-content: center; }
}

@media (max-width: 768px) {
  .comparison-table { font-size: 0.8rem; }
  .comparison-table thead th, .comparison-table tbody td { padding: 0.6rem 0.5rem; }
  .page-header { padding: 6rem 0 2rem; }
  .page-header h1 { font-size: 1.8rem; }
  .trust-bar-inner { gap: 2rem; }
}

@media (max-width: 480px) {
  .branchen-grid { grid-template-columns: 1fr; }
  .page-cta-inner { padding: 2rem 1.25rem; }
  .webinar-banner { padding: 1.5rem; }
}

/* --- Page CTA Banner (direct children) --- */
.page-cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 1rem;
}
.page-cta-banner p {
  color: var(--text-400);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.page-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Process Steps (Kinderschutz) --- */
.process-section {
  padding: 5rem 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.process-steps.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .process-steps.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .process-steps.cols-3 { grid-template-columns: 1fr; }
}
.process-step {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
}
.process-step-number {
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.process-step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 0.75rem;
}
.process-step p {
  color: var(--text-300);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Stat Grid (große Zahlen-Kacheln) --- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .stat-grid { grid-template-columns: 1fr; }
}
.stat-card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-number {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  word-break: normal;
}
.stat-number small {
  font-size: 0.45em;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.85;
}
.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-100, var(--text-primary));
  margin: 0.25rem 0 0.5rem;
  line-height: 1.35;
}
.stat-card p {
  color: var(--text-300, var(--text-secondary));
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 0;
}

/* --- Webinar CTA Banner Content --- */
.webinar-banner {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: linear-gradient(135deg, rgba(56,111,251,0.12) 0%, var(--bg-700) 100%);
  border: 1px solid rgba(56,111,251,0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.webinar-banner-content {
  flex: 1;
}
.webinar-banner-content h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 1rem;
}
.webinar-banner-content p {
  color: var(--text-300);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.webinar-banner-visual {
  flex-shrink: 0;
}
.webinar-info-box {
  background: var(--bg-800);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  min-width: 200px;
}
.webinar-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  font-weight: 600;
}
.webinar-date {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-100);
}
.webinar-time {
  font-size: 0.95rem;
  color: var(--text-300);
}
.webinar-free {
  font-size: 0.85rem;
  color: var(--text-500);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .webinar-banner { flex-direction: column; text-align: center; padding: 2rem; }
  .webinar-info-box { min-width: auto; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Index Page */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.blog-card {
  background: var(--bg-700);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56,111,251,0.3);
  box-shadow: 0 8px 30px rgba(56,111,251,0.08);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-500);
  margin-bottom: 0.75rem;
}
.blog-card-tag {
  background: rgba(56,111,251,0.15);
  color: var(--blue);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.blog-card-body h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.blog-card-body h3 a:hover { color: var(--blue); }
.blog-card-body > p {
  font-size: 0.9rem;
  color: var(--text-400);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap var(--transition-fast);
}
.blog-card-read:hover { gap: 0.6rem; }
.blog-card-read svg { width: 16px; height: 16px; }

/* Blog Post Page */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}
.blog-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-400);
}
.blog-post-meta svg { width: 16px; height: 16px; flex-shrink: 0; }
.blog-post-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.blog-post-hero {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.blog-post-hero img,
.blog-post-hero video {
  width: 100%;
  height: auto;
  display: block;
}

/* Table of Contents */
.blog-toc {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.blog-toc h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 1rem;
}
.blog-toc ol {
  list-style: none;
  counter-reset: toc;
  padding: 0;
}
.blog-toc ol li {
  counter-increment: toc;
  margin-bottom: 0.5rem;
}
.blog-toc ol li::before {
  content: counter(toc) ". ";
  color: var(--blue);
  font-weight: 600;
}
.blog-toc a {
  color: var(--text-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.blog-toc a:hover { color: var(--blue); }

/* Blog Content */
.blog-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-100);
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
}
.blog-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-100);
  margin: 2rem 0 0.75rem;
}
.blog-content p {
  color: var(--text-300);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.blog-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}
.blog-content a:hover { color: var(--blue-light); }
.blog-content ul, .blog-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-300);
  line-height: 1.8;
}
.blog-content li { margin-bottom: 0.5rem; }
.blog-content blockquote {
  border-left: 4px solid var(--blue);
  background: var(--bg-700);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-300);
}
.blog-content figure {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.blog-content figure img,
.blog-content figure video {
  width: 100%;
  height: auto;
  display: block;
}
.blog-content figcaption {
  padding: 0.75rem 1rem;
  background: var(--bg-700);
  font-size: 0.8rem;
  color: var(--text-500);
  text-align: center;
}
.blog-content .stat-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.blog-content .stat-box-item {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}
.blog-content .stat-box-item strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.2;
}
.blog-content .stat-box-item span {
  font-size: 0.8rem;
  color: var(--text-400);
}
.blog-content .info-box {
  background: rgba(56,111,251,0.08);
  border: 1px solid rgba(56,111,251,0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.blog-content .info-box strong {
  color: var(--blue);
  display: block;
  margin-bottom: 0.5rem;
}
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.blog-content table th,
.blog-content table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}
.blog-content table th {
  background: var(--bg-700);
  color: var(--text-100);
  font-weight: 600;
}
.blog-content table td { color: var(--text-300); }

/* Source list */
.blog-sources {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.blog-sources h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.blog-sources ol {
  list-style: decimal;
  margin-left: 1.25rem;
  font-size: 0.85rem;
}
.blog-sources a {
  color: var(--text-400);
  word-break: break-all;
}

/* Author Box */
.blog-author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 3rem 0;
}
.blog-author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.blog-author-box h3 {
  font-size: 0.85rem;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.blog-author-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 0.5rem;
}
.blog-author-box p {
  font-size: 0.875rem;
  color: var(--text-400);
  line-height: 1.6;
}

/* Related Posts */
.blog-related {
  margin: 3rem 0;
}
.blog-related h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 1.5rem;
}
.blog-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-related-card {
  background: var(--bg-700);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition), border-color var(--transition);
}
.blog-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56,111,251,0.3);
}
.blog-related-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}
.blog-related-card h4 {
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-200);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-related-grid { grid-template-columns: 1fr; }
  .blog-author-box { flex-direction: column; align-items: center; text-align: center; }
  .blog-post-meta { justify-content: center; }
  .blog-content .stat-box { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .blog-content .stat-box { grid-template-columns: 1fr; }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE ENHANCEMENTS
   Mobile (375-480px), Tablet (768-1024px)
   Desktop UNAFFECTED
   ============================================ */

/* --- TABLET LANDSCAPE (max-width: 1024px) --- */
@media (max-width: 1024px) {
  /* General section spacing */
  .services-section,
  .tech-section,
  .contact-section,
  .branchen-teaser,
  .comparison-section { padding: 4rem 0; }

  .page-cta-banner { padding: 3.5rem 0; }

  /* Stats grid */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Interactive map */
  .ref-map-container { max-width: 550px; }
  .ref-marker { width: 36px; height: 36px; }
  .ref-marker-dot { width: 12px; height: 12px; }
  .ref-marker-ping { width: 28px; height: 28px; }
  .ref-detail-card { width: 360px; }

  /* Blog */
  .blog-card-img { height: 180px; }
  .blog-toc { padding: 1.25rem 1.5rem; }
}

/* --- TABLET PORTRAIT (max-width: 768px) --- */
@media (max-width: 768px) {
  /* General spacing & typography */
  .container { padding: 0 1.25rem; }

  .services-section,
  .tech-section,
  .contact-section,
  .branchen-teaser,
  .comparison-section { padding: 3rem 0; }

  .section-header { margin-bottom: 2.5rem; }
  .section-header p { font-size: 1rem; }

  .page-cta-banner { padding: 3rem 0; }
  .page-cta-inner { padding: 2.5rem 1.5rem; }

  /* Mobile menu - scrollable if many items */
  .mobile-menu {
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Content-split text */
  .content-split { padding: 3rem 0; }
  .content-split-text h2 { font-size: 1.4rem; }

  /* Interactive map */
  .ref-map-container { max-width: 100%; }
  .ref-detail-card { width: 300px; }
  .ref-detail-header { padding: 1rem 1.25rem; }
  .ref-detail-header h3 { font-size: 1.1rem; }
  .ref-detail-body { padding: 1rem 1.25rem; }
  .ref-detail-stats { gap: 0.5rem; }
  .ref-stat-value { font-size: 1.1rem; }
  .ref-stat-label { font-size: 0.65rem; }
  .ref-detail-features { grid-template-columns: 1fr; }
  .ref-detail-close { width: 34px; height: 34px; top: 0.5rem; right: 0.5rem; }

  /* Comparison table - horizontal scroll */
  .comparison-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0 0;
    padding: 0;
    width: 100%;
  }
  .comparison-table { min-width: 460px; }

  /* Webinar info box */
  .webinar-info-box { min-width: auto; width: 100%; }

  /* Blog post */
  .blog-post { padding: 0 0.75rem; }
  .blog-post-hero { margin-bottom: 1.5rem; }
  .blog-content h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; }
  .blog-content h3 { font-size: 1.1rem; }
  .blog-author-box { padding: 1.25rem; gap: 1rem; }
  .blog-sources ol { font-size: 0.8rem; }

  /* Blog content table responsive */
  .blog-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Statistics section on index */
  .stat-card { padding: 1.5rem; }

  /* Partner highlight bar */
  .partner-highlight-bar .btn { width: 100%; text-align: center; }

  /* Certifications */
  .cert-badges { flex-wrap: wrap; justify-content: center; }

  /* Biogas partner split */
  .biogas-info-bar-item { text-align: center; }

  /* CTA Banner */
  .cta-content h2 { font-size: 1.4rem; }

  /* Page CTA buttons stack on tablet */
  .page-cta-buttons { flex-direction: column; align-items: center; }
  .page-cta-buttons .btn { width: 100%; max-width: 320px; }
}

/* --- MOBILE (max-width: 480px) --- */
@media (max-width: 480px) {
  /* Typography */
  h3 { font-size: 1.05rem; }
  h4 { font-size: 1rem; }

  /* Container */
  .container { padding: 0 1rem; }

  /* Section spacing */
  .services-section,
  .tech-section,
  .contact-section,
  .branchen-teaser,
  .comparison-section { padding: 2.5rem 0; }

  .section-header { margin-bottom: 2rem; }

  /* Navbar */
  .nav-logo img { width: 40px; height: 40px; }
  .nav-logo span { font-size: 1rem; }
  .nav-container { padding: 0.6rem 1rem; }

  /* Mobile menu */
  .mobile-menu { padding: 1rem; top: 60px; }
  .mobile-link { padding: 0.65rem 0.75rem; font-size: 0.9rem; }

  /* Page headers */
  .page-header { padding: 5rem 0 1.5rem; }
  .page-header p { font-size: 0.95rem; }

  /* Breadcrumbs */
  .breadcrumbs { font-size: 0.75rem; }
  .breadcrumbs .breadcrumb-sep,
  .breadcrumbs > span:not(.current):not(.breadcrumb-current) { margin: 0 0.3rem; }

  /* Trust bar */
  .trust-bar { padding: 1rem 0; }
  .trust-bar-item { font-size: 0.75rem; }

  /* Content-split */
  .content-split { padding: 2rem 0; }
  .content-split-inner { gap: 1.5rem; }
  .content-split-text h2 { font-size: 1.25rem; }
  .content-split-text p { font-size: 0.925rem; line-height: 1.7; }

  /* Branche cards */
  .branche-card { padding: 1.5rem 1.25rem; }

  /* Interactive map */
  .ref-map-subtitle { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .ref-marker { width: 30px; height: 30px; }
  .ref-marker-dot { width: 10px; height: 10px; border-width: 2px; }
  .ref-marker-ping { width: 24px; height: 24px; }
  .ref-marker-label { font-size: 0.6rem; padding: 0.15rem 0.4rem; }
  .ref-detail-card { width: 260px; }
  .ref-detail-header h3 { font-size: 1rem; }
  .ref-detail-badge { font-size: 0.6rem; }
  .ref-detail-desc { font-size: 0.8rem; }
  .ref-detail-features li { font-size: 0.75rem; }
  .ref-detail-stats { grid-template-columns: repeat(2, 1fr); gap: 0.35rem; }
  .ref-stat-value { font-size: 0.95rem; }

  /* Comparison table */
  .comparison-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0 0; padding: 0; width: 100%; }
  .comparison-table { min-width: 400px; }

  /* Blog tables */
  .blog-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Blog post meta */
  .blog-post-meta { flex-direction: column; gap: 0.5rem; font-size: 0.8rem; }

  /* Blog stat-box */
  .blog-content .stat-box-item { padding: 0.875rem; }
  .blog-content .stat-box-item strong { font-size: 1.3rem; }

  /* Testimonials */
  .testimonial-carousel-wrap { padding: 0 0.5rem; }
  .testimonial-nav { display: none; }

  /* Webinar */
  .webinar-banner { padding: 1.25rem; }
  .webinar-banner-content h3 { font-size: 1.15rem; }
  .webinar-meta { flex-direction: column; gap: 0.5rem; }

  /* Contact */
  .contact-form-wrap { padding: 1.25rem; }
  .contact-info h2 { font-size: 1.4rem; }

  /* Blog card */
  .blog-card-img { height: 180px; }
  .blog-card-body { padding: 1.25rem; }
  .blog-card-body h3 { font-size: 1rem; }

  /* Blog post */
  .blog-post { padding: 0 0.5rem; }
  .blog-toc { padding: 1rem 1.25rem; }
  .blog-toc h2 { font-size: 0.9rem; }
  .blog-toc a { font-size: 0.8rem; }
  .blog-content p { font-size: 0.925rem; line-height: 1.75; }
  .blog-content h2 { font-size: 1.2rem; }
  .blog-content h3 { font-size: 1.05rem; }
  .blog-content blockquote { padding: 1rem 1.25rem; }
  .blog-content .info-box { padding: 1rem 1.25rem; }
  .blog-content .stat-box-item strong { font-size: 1.5rem; }
  .blog-author-box { padding: 1rem; }
  .blog-author-box img { width: 56px; height: 56px; }
  .blog-related-card img { height: 110px; }

  /* Footer */
  .footer { padding: 3rem 0 0; }
  .footer-logo-img { width: 60px; height: 60px; }
  .footer-bottom p { font-size: 0.75rem; line-height: 1.5; }
  .footer-legal { gap: 1rem; }
  .footer-legal a { font-size: 0.75rem; }

  /* Page CTA */
  .page-cta-banner { padding: 2rem 0; }
  .page-cta-inner { padding: 2rem 1rem; }

  /* CTA section */
  .cta-banner { padding: 1.5rem; }
  .cta-content h2 { font-size: 1.2rem; }
  .cta-knight { width: 120px; }

  /* Buttons touch-friendly */
  .btn { min-height: 44px; font-size: 0.9rem; }
  .btn-primary { padding: 0.75rem 1.25rem; }

  /* Scroll to top - already handled */

  /* Process steps */
  .process-step { padding: 1.5rem; }
}

/* --- VERY SMALL SCREENS (max-width: 360px) --- */
@media (max-width: 360px) {
  html { font-size: 14px; }

  .container { padding: 0 0.75rem; }

  .nav-logo span { font-size: 0.9rem; }
  .nav-logo img { width: 36px; height: 36px; }

  .hero-stat-num { font-size: 1rem; }
  .hero-stat-label { font-size: 0.6rem; }

  .ref-detail-card { width: 240px; }
  .ref-detail-header { padding: 0.75rem 1rem; }
  .ref-detail-body { padding: 0.75rem 1rem; }
  .ref-detail-header h3 { font-size: 0.9rem; }

  .blog-card-body h3 { font-size: 0.95rem; }
  .blog-content .stat-box-item strong { font-size: 1.25rem; }
}

/* ============================================
   STOCK IMAGE BANNERS
   ============================================ */
.stock-image-banner {
  position: relative;
  overflow: hidden;
  max-height: 400px;
}
.stock-image-banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.55);
}
.stock-image-banner .banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(transparent, rgba(11, 17, 32, 0.95));
  text-align: center;
}
.stock-image-banner .banner-overlay p {
  color: var(--text-primary);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  margin: 0;
  max-width: 700px;
  margin-inline: auto;
}
.stock-image-banner .banner-overlay .banner-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

/* Content-split with stock image */
.content-split-media .stock-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
  aspect-ratio: 16/9;
}

@media (max-width: 768px) {
  .stock-image-banner { max-height: 300px; }
  .stock-image-banner img { height: 300px; }
  .stock-image-banner .banner-overlay { padding: 1.5rem 1rem; }
}
@media (max-width: 480px) {
  .stock-image-banner { max-height: 220px; }
  .stock-image-banner img { height: 220px; }
  .stock-image-banner .banner-overlay p { font-size: 1rem; }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
}
.lang-switch img {
  width: 24px;
  height: auto;
  border-radius: 2px;
  vertical-align: middle;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.lang-switch a:hover img {
  opacity: 0.8;
  transform: scale(1.1);
}
.lang-switch .lang-active img {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--blue);
}
.lang-switch .lang-inactive img {
  opacity: 0.6;
}
.lang-switch .lang-inactive:hover img {
  opacity: 1;
}

/* Mobile menu language switcher */
.mobile-lang-switch {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}
.mobile-lang-switch a,
.mobile-lang-switch span {
  display: inline-flex;
  align-items: center;
  padding: 0;
}
.mobile-lang-switch img {
  width: 32px;
  height: auto;
  border-radius: 3px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-lang-switch a:hover img {
  transform: scale(1.1);
}
.mobile-lang-switch .lang-active img {
  box-shadow: 0 0 0 2px var(--blue);
}

/* ============================================
   FLOATING LANGUAGE SWITCHER (Weglot-Style)
   ============================================ */
.lang-floating {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 1000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.lang-floating-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12), 0 1px 3px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #1e293b;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  min-height: 40px;
  line-height: 1;
}
.lang-floating-trigger:hover {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.lang-floating-trigger:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.lang-floating-trigger img {
  width: 22px;
  height: auto;
  border-radius: 2px;
  display: block;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05);
}
.lang-floating-trigger .chev {
  width: 12px;
  height: 12px;
  opacity: 0.55;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.lang-floating.is-open .lang-floating-trigger .chev {
  transform: rotate(180deg);
  opacity: 0.85;
}
.lang-floating-menu {
  position: absolute;
  bottom: calc(100% + 0.5rem);
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18), 0 4px 10px rgba(15, 23, 42, 0.08);
  min-width: 200px;
  padding: 0.375rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.lang-floating.is-open .lang-floating-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-floating-menu a,
.lang-floating-menu .lang-item-disabled {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  transition: background 0.15s ease;
}
.lang-floating-menu a:hover {
  background: rgba(56, 111, 251, 0.09);
  color: var(--blue);
}
.lang-floating-menu a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.lang-floating-menu a.is-active {
  background: rgba(56, 111, 251, 0.1);
  color: var(--blue);
  font-weight: 600;
}
.lang-floating-menu .lang-item-disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.lang-floating-menu .lang-item-disabled .soon {
  margin-left: auto;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 600;
}
.lang-floating-menu img {
  width: 22px;
  height: auto;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05);
}
.lang-floating-menu .check {
  margin-left: auto;
  width: 14px;
  height: 14px;
  color: var(--blue);
  opacity: 0;
  flex-shrink: 0;
}
.lang-floating-menu a.is-active .check {
  opacity: 1;
}

/* ============================================
   COOKIE PREFERENCES BUTTON
   ============================================ */
.cookie-prefs-btn {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #475569;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  opacity: 0.76;
  line-height: 1;
}
.cookie-prefs-btn:hover {
  opacity: 1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
  color: #1e293b;
}
.cookie-prefs-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  opacity: 1;
}
.cookie-prefs-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .lang-floating {
    bottom: 0.875rem;
    right: 0.875rem;
  }
  .lang-floating-trigger {
    padding: 0.4375rem 0.75rem;
    font-size: 0.75rem;
    min-height: 36px;
  }
  .lang-floating-trigger img {
    width: 20px;
  }
  .lang-floating-menu {
    min-width: 180px;
  }
  .cookie-prefs-btn {
    bottom: 0.875rem;
    left: 0.875rem;
    font-size: 0.6875rem;
    padding: 0.375rem 0.625rem;
  }
}
@media (max-width: 480px) {
  .cookie-prefs-btn .cookie-prefs-btn-label { display: none; }
  .cookie-prefs-btn { padding: 0.4375rem; }
}

/* Hide floating widgets on print */
@media print {
  .lang-floating,
  .cookie-prefs-btn { display: none !important; }
}

/* ============================================
   ACCESSIBILITY: Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .fade-in, .fade-in-left, .fade-in-right { opacity: 1; transform: none; }
  .trust-bar-inner { animation: none; }
  .ref-marker-ping { animation: none; }
  .service-card:hover, .blog-card:hover, .branche-card:hover,
  .blog-related-card:hover, .social-link:hover { transform: none; }
  .ref-map-layer.zoomed { transform: none; }
}

/* ============================================
   PRINT STYLESHEET
   ============================================ */
@media print {
  /* Hide non-content elements */
  .navbar, .mobile-menu, .scroll-top, .page-cta-banner,
  .page-cta-section, .cta-section, .webinar-cta,
  .blog-related, .nav-toggle, .cookie-banner,
  .ref-map-section, .trust-bar { display: none !important; }

  /* Reset colors for print */
  body {
    background: white !important;
    color: #111 !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  h1, h2, h3, h4 { color: #111 !important; page-break-after: avoid; }
  p, li { color: #333 !important; }

  a { color: #386ffb !important; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
  a[href^="#"]::after { content: none; }

  .container { max-width: 100%; padding: 0; }
  .page-header { background: none !important; border: none; padding: 2rem 0 1rem; }
  .section-tag { border: 1px solid #386ffb; color: #386ffb !important; }
  .gradient-text { -webkit-text-fill-color: #386ffb; background: none; }

  .footer { border-top: 1px solid #ccc; padding: 1rem 0; }
  .footer-top { display: block; }
  .footer-brand { margin-bottom: 1rem; }
  .footer-nav { display: none; }
  .footer-bottom p { color: #666 !important; }

  .blog-content .stat-box { border: 1px solid #ccc; }
  .blog-content .stat-box-item { border: 1px solid #eee; }
  .blog-content .stat-box-item strong { color: #386ffb !important; }
  .blog-content .info-box { border: 1px solid #386ffb; background: #f0f4ff !important; }
  .blog-author-box { border: 1px solid #ccc; background: #f9f9f9 !important; }

  img, video { max-width: 100%; }
  .blog-post-hero { border: 1px solid #ccc; }
}

/* ============================================
   CROSS-BROWSER COMPATIBILITY
   ============================================ */

/* iOS Safari: Safe area insets for notched devices */
@supports (padding-top: env(safe-area-inset-top)) {
  .navbar { padding-top: env(safe-area-inset-top); }
  .footer-bottom { padding-bottom: calc(3.5rem + env(safe-area-inset-bottom)); }
}

/* iOS Safari: 100vh fix */
@supports (-webkit-touch-callout: none) {
  .hero { min-height: -webkit-fill-available; }
  .mobile-menu { max-height: -webkit-fill-available; }
}

/* ══════════════════════════════════════════
   AJAX Customer Success Stories
══════════════════════════════════════════ */
.ajax-partner-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.ajax-partner-badge img {
  display: block;
  max-height: 52px;
  width: auto;
}
.ajax-partner-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.ajax-partner-text a { color: var(--blue); text-decoration: none; }
.ajax-partner-text a:hover { text-decoration: underline; }

.ajax-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.ajax-story-card {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ajax-story-card:hover {
  border-color: rgba(56,111,251,0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.asc-category {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 4px;
  width: fit-content;
}
.asc-cat-brand     { background: rgba(239,68,68,0.15);  color: #f87171; }
.asc-cat-gewerbe   { background: rgba(56,111,251,0.15); color: #60a5fa; }
.asc-cat-industrie { background: rgba(245,158,11,0.15); color: #fbbf24; }
.asc-cat-spezial   { background: rgba(34,197,94,0.15);  color: #4ade80; }
.asc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0;
}
.asc-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.asc-location svg { flex-shrink: 0; }
.asc-desc {
  font-size: 0.845rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.asc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.asc-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(56,111,251,0.35);
  border-radius: 6px;
  transition: background 0.15s, border-color 0.15s;
}
.asc-pdf-link:hover { background: rgba(56,111,251,0.1); border-color: var(--blue); }
.asc-credit { font-size: 0.72rem; color: var(--text-secondary); opacity: 0.7; }
.asc-credit a { color: var(--text-secondary); text-decoration: underline; }
.asc-credit a:hover { color: var(--text-primary); }
.ajax-disclaimer {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}
.ajax-disclaimer a { color: var(--text-secondary); text-decoration: underline; }
@media (max-width: 1024px) {
  .ajax-stories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ajax-stories-grid { grid-template-columns: 1fr; }
  .ajax-partner-row { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════
   Video Showcase – Referenzen Testimonials
══════════════════════════════════════════ */
.video-showcase {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

/* Featured player */
.video-showcase-main {
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.video-showcase-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg-800);
}

.vs-tag {
  background: var(--blue);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.vs-title {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.video-showcase-main video {
  width: 100%;
  display: block;
  background: #000;
  max-height: 520px;
  object-fit: contain;
}

/* Thumbnail strip */
.video-showcase-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.video-thumb {
  background: var(--bg-700);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.video-thumb:hover {
  border-color: rgba(56, 111, 251, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.video-thumb.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 8px 24px rgba(56,111,251,0.15);
}

/* Thumbnail video frame */
.video-thumb-inner {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-thumb-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Overlay with play button */
.video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.38);
  transition: background 0.2s ease;
}

.video-thumb.active .video-thumb-overlay {
  background: rgba(56, 111, 251, 0.18);
}

.video-thumb:hover .video-thumb-overlay {
  background: rgba(0, 0, 0, 0.22);
}

.vto-play {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-thumb.active .vto-play {
  background: var(--blue);
}

.video-thumb:hover .vto-play {
  transform: scale(1.12);
  background: rgba(255,255,255,0.28);
}

.video-thumb.active:hover .vto-play {
  background: var(--blue-dark);
}

/* Thumbnail meta label */
.video-thumb-meta {
  padding: 0.6rem 0.8rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: var(--bg-700);
}

.vt-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.vt-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
  .video-showcase-thumbs {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .video-thumb-inner {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 480px) {
  .video-showcase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

/* ============================================
   CookieConsent v3 – Protexium Dark Theme
   ============================================ */

/* --- CSS-Variablen-Override (native --cc-* Variablen) --- */
#cc-main {
  --cc-font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --cc-modal-border-radius: 1rem;
  --cc-btn-border-radius: 0.5rem;

  /* Hintergründe */
  --cc-bg: #111827;
  --cc-primary-color: #f1f5f9;
  --cc-secondary-color: #94a3b8;

  /* Primär-Button (Alle akzeptieren) */
  --cc-btn-primary-bg: #386ffb;
  --cc-btn-primary-color: #ffffff;
  --cc-btn-primary-border-color: #386ffb;
  --cc-btn-primary-hover-bg: #2a5bd4;
  --cc-btn-primary-hover-color: #ffffff;
  --cc-btn-primary-hover-border-color: #2a5bd4;

  /* Sekundär-Button (Nur notwendige / Auswahl speichern) */
  --cc-btn-secondary-bg: #1e293b;
  --cc-btn-secondary-color: #f1f5f9;
  --cc-btn-secondary-border-color: rgba(255,255,255,0.12);
  --cc-btn-secondary-hover-bg: #334155;
  --cc-btn-secondary-hover-color: #f1f5f9;
  --cc-btn-secondary-hover-border-color: rgba(255,255,255,0.2);

  /* Toggle-Switch */
  --cc-toggle-on-bg: #386ffb;
  --cc-toggle-off-bg: #334155;
  --cc-toggle-on-knob-bg: #ffffff;
  --cc-toggle-off-knob-bg: #ffffff;
  --cc-toggle-enabled-bg: rgba(56,111,251,0.12);
  --cc-toggle-readonly-bg: rgba(56,111,251,0.22);
  --cc-toggle-readonly-knob-bg: #cbd5e1;
  --cc-toggle-readonly-knob-icon-color: rgba(56,111,251,0.5);

  /* Kategorie-Blöcke (die weißen/hellen Panels) */
  --cc-cookie-category-block-bg: #1e293b;
  --cc-cookie-category-block-bg-hover: #334155;
  --cc-cookie-category-expanded-block-hover-bg: #1e293b;
  --cc-cookie-category-expanded-block-bg: #0b1120;

  /* Separator & Scrollbar */
  --cc-separator-border-color: rgba(255,255,255,0.08);
  --cc-scrollbar-thumb-bg: #334155;
  --cc-scrollbar-thumb-hover-bg: #475569;
  --cc-scrollbar-bg: #111827;

  /* Overlay */
  --cc-overlay-bg: rgba(6,10,20,0.72);
  --cc-overlay-opacity: 1;

  /* Cookie-Tabelle */
  --cc-cookie-table-border-color: rgba(255,255,255,0.08);
  --cc-cookie-table-head-bg: #1e293b;
  --cc-cookie-table-head-color: #f1f5f9;
  --cc-cookie-table-body-color: #94a3b8;
}

/* --- Consent Modal (Bottom Bar) --- */
#cc-main .cm {
  background: #111827 !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4) !important;
  font-family: var(--font) !important;
}

#cc-main .cm__title {
  color: var(--text-100) !important;
  font-weight: 700 !important;
}

#cc-main .cm__desc {
  color: var(--text-400) !important;
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

#cc-main .cm__footer {
  background: transparent !important;
  border-top: 1px solid var(--border) !important;
}

#cc-main .cm__footer a {
  color: var(--text-500) !important;
  font-size: 0.8rem !important;
}

#cc-main .cm__footer a:hover {
  color: var(--blue-light) !important;
}

/* --- Buttons --- */
#cc-main .cm__btn {
  border-radius: var(--radius-sm) !important;
  font-family: var(--font) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  padding: 0.65rem 1.4rem !important;
  transition: var(--transition) !important;
}

#cc-main .cm__btn--1 {
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
}

#cc-main .cm__btn--1:hover {
  background: var(--blue-dark) !important;
}

#cc-main .cm__btn--2 {
  background: transparent !important;
  color: var(--text-200) !important;
  border: 1px solid var(--border) !important;
}

#cc-main .cm__btn--2:hover {
  background: var(--bg-700) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

#cc-main .cm__btn--3 {
  background: transparent !important;
  color: var(--blue-light) !important;
  border: none !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  padding: 0.65rem 0.5rem !important;
}

#cc-main .cm__btn--3:hover {
  color: var(--blue) !important;
}

/* --- Preferences Modal --- */
#cc-main .pm {
  background: var(--bg-800) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
  font-family: var(--font) !important;
}

#cc-main .pm__header {
  background: var(--bg-800) !important;
  border-bottom: 1px solid var(--border) !important;
}

#cc-main .pm__title {
  color: var(--text-100) !important;
  font-weight: 700 !important;
}

#cc-main .pm__close-btn {
  color: var(--text-400) !important;
  background: transparent !important;
  border-radius: var(--radius-sm) !important;
}

#cc-main .pm__close-btn:hover {
  background: var(--bg-700) !important;
  color: var(--text-100) !important;
}

#cc-main .pm__body {
  background: var(--bg-800) !important;
}

#cc-main .pm__section {
  border-bottom: 1px solid var(--border) !important;
}

#cc-main .pm__section-title-wrapper {
  background: #1e293b !important;
  border-radius: 0.5rem !important;
}

#cc-main .pm__section--toggle .pm__section-title-wrapper:hover {
  background: #334155 !important;
}

#cc-main .pm__section-title {
  color: var(--text-100) !important;
  font-weight: 600 !important;
}

#cc-main .pm__section-desc,
#cc-main .pm__section-desc-wrapper {
  color: var(--text-400) !important;
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
}

#cc-main .pm__section-desc a {
  color: var(--blue-light) !important;
}

#cc-main .pm__section-desc a:hover {
  color: var(--blue) !important;
}

#cc-main .pm__badge {
  background: rgba(56, 111, 251, 0.15) !important;
  color: var(--blue-light) !important;
  border: none !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border-radius: var(--radius-full) !important;
  padding: 0.15rem 0.6rem !important;
}

/* --- Toggle Switch --- */
#cc-main .pm__toggle .toggle__icon {
  background: var(--bg-600) !important;
  border: none !important;
}

#cc-main .pm__toggle input:checked + .toggle__icon {
  background: var(--blue) !important;
}

#cc-main .pm__toggle input[disabled]:checked + .toggle__icon {
  background: var(--blue) !important;
  opacity: 0.6 !important;
}

/* --- Cookie Table --- */
#cc-main .pm__table {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  overflow: hidden !important;
}

#cc-main .pm__table thead {
  background: var(--bg-700) !important;
}

#cc-main .pm__table th {
  color: var(--text-200) !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

#cc-main .pm__table td {
  color: var(--text-400) !important;
  font-size: 0.825rem !important;
  border-color: var(--border) !important;
}

#cc-main .pm__table tr {
  border-color: var(--border) !important;
}

#cc-main .pm__table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02) !important;
}

/* --- Preferences Modal Footer --- */
#cc-main .pm__footer {
  background: var(--bg-800) !important;
  border-top: 1px solid var(--border) !important;
}

#cc-main .pm__btn {
  border-radius: var(--radius-sm) !important;
  font-family: var(--font) !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  padding: 0.65rem 1.4rem !important;
  transition: var(--transition) !important;
}

#cc-main .pm__btn--1 {
  background: var(--blue) !important;
  color: #fff !important;
  border: none !important;
}

#cc-main .pm__btn--1:hover {
  background: var(--blue-dark) !important;
}

#cc-main .pm__btn--2 {
  background: transparent !important;
  color: var(--text-200) !important;
  border: 1px solid var(--border) !important;
}

#cc-main .pm__btn--2:hover {
  background: var(--bg-700) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* --- Overlay --- */
#cc-main .cm--bar .cm__overlay,
#cc-main .pm__overlay {
  background: rgba(6, 10, 20, 0.7) !important;
  backdrop-filter: blur(4px) !important;
}

/* --- Floating Preferences Button (Complianz-Stil) --- */
#cc-main #cc-revisit-btn {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 999;
  background: var(--bg-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-400);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

#cc-main #cc-revisit-btn:hover {
  background: var(--bg-600);
  color: var(--text-100);
  border-color: rgba(255, 255, 255, 0.15);
}

/* --- Section Chevron/Arrow --- */
#cc-main .pm__section-arrow {
  background: transparent !important;
}

#cc-main .pm__section-arrow svg {
  stroke: var(--text-400) !important;
}

/* --- Responsive Anpassungen --- */
@media (max-width: 768px) {
  #cc-main .cm {
    padding: 1rem !important;
  }

  #cc-main .cm__btn {
    font-size: 0.85rem !important;
    padding: 0.55rem 1rem !important;
  }

  #cc-main .pm {
    border-radius: var(--radius) !important;
    margin: 0.5rem !important;
    max-height: 90vh !important;
  }
}

/* --- Fix: Prevent cookie banner (bar-inline) from blocking page scroll --- */
/* Doubled class selectors give higher specificity than CookieConsent CDN CSS */
html.show--consent.show--consent,
html.show--preferences.show--preferences {
  overflow: visible !important;
  height: auto !important;
}
html.show--consent.show--consent body,
html.show--preferences.show--preferences body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  position: static !important;
}
