/* ==========================================================================
   Rhein-Sieg-Systems – Stylesheet
   Farben: Dunkelblau #0a2540 + Smaragdgrün #10b981
   ========================================================================== */

/* --------------------------------------------------------------------------
   Bildschutz – nur für ausgewählte Bilder (z. B. Porträts), nicht global.
   Verwendung: <img class="protected-img" ...>
   -------------------------------------------------------------------------- */
.protected-img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   1. Reset & Variablen
   -------------------------------------------------------------------------- */
:root {
  --color-primary: #0a2540;
  --color-primary-light: #1a3d6e;
  --color-primary-dark: #061a30;
  --color-accent: #047857;
  --color-accent-dark: #065f46;
  --color-accent-light: #34d399;
  --color-text: #1e293b;
  --color-text-light: #5b6779;
  --color-text-muted: #5b6779;
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-heading: #0a2540;
  --color-bg-soft: #f8fafc;
  --color-bg-section: #f1f5f9;
  --color-border: #e2e8f0;
  --color-white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(10, 37, 64, 0.1), 0 4px 6px -2px rgba(10, 37, 64, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(10, 37, 64, 0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max: 1200px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* iOS: kein grauer Tap-Flash auf Links/Buttons */
  -webkit-tap-highlight-color: transparent;
}

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

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

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

ul {
  list-style: none;
}

/* --------------------------------------------------------------------------
   2. Layout & Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-soft {
  background-color: var(--color-bg-soft);
}

.section-section {
  background-color: var(--color-bg-section);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-dark .section-eyebrow {
  color: var(--color-accent-light);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   3. Typografie
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-heading);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: 20px; }

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  touch-action: manipulation; /* kein 300ms Tap-Delay auf iOS */
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-primary:hover,
.btn-primary:active {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:active {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-heading);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section-dark .btn-outline {
  color: var(--color-white);
  border-color: var(--color-white);
}

.section-dark .btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.hero .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero .btn-outline:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}

.cta-section .btn-outline {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-section .btn-outline:hover {
  background-color: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

.btn-arrow::after {
  content: '→';
  font-size: 18px;
  transition: transform var(--transition);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  overflow: visible;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--color-heading);
  letter-spacing: -0.02em;
  margin-right: 32px;
  flex-shrink: 0;
}

.logo:hover {
  color: var(--color-heading);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-image: url("../img/logo-symbol.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0;
  font-size: 0;
  color: transparent;
}

.footer-brand .logo-mark {
  background-image: url("../img/logo-symbol-hell.png");
}

/* Animiertes Inline-SVG-Logo (Header) – legt sich über das PNG-Fallback */
.logo-mark-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.logo-mark:has(.logo-mark-svg) {
  background-image: none;
}
.lm-p {
  fill: var(--color-heading);
}
[data-theme="dark"] .lm-p {
  fill: var(--color-heading);
}

/* Variante A: Teile schieben sich von aussen zusammen, einmal beim Laden */
@keyframes lm-slide-1 { from { opacity: 0; transform: translate(14%, -10%); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes lm-slide-2 { from { opacity: 0; transform: translate(14%, 10%); } to { opacity: 1; transform: translate(0, 0); } }
@keyframes lm-slide-3 { from { opacity: 0; transform: translate(-16%, 6%); } to { opacity: 1; transform: translate(0, 0); } }

.logo-animate .lm-p {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.logo-animate .lm-p1 { animation: lm-slide-1 0.7s cubic-bezier(.22,1,.36,1) 0s both; }
.logo-animate .lm-p2 { animation: lm-slide-2 0.7s cubic-bezier(.22,1,.36,1) 0.12s both; }
.logo-animate .lm-p3 { animation: lm-slide-3 0.7s cubic-bezier(.22,1,.36,1) 0.24s both; }

@media (prefers-reduced-motion: reduce) {
  .logo-animate .lm-p { opacity: 1; animation: none; transform: none; }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 3px;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  touch-action: manipulation;
}

.nav-link:hover,
.nav-link:active {
  color: var(--color-heading);
  background-color: var(--color-bg-section);
}

.nav-link.active {
  color: var(--color-white);
  background-color: var(--color-primary);
}

.nav-cta {
  margin-left: 16px;
}

/* Dropdown Nav */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  line-height: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:active,
.nav-item:hover .nav-dropdown-toggle,
.nav-item.is-open .nav-dropdown-toggle {
  color: var(--color-heading);
  background-color: var(--color-bg-soft);
}

.nav-dropdown-toggle svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}

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

/* Desktop: Dropdown absolut positioniert, standardmäßig versteckt */
@media (min-width: 901px) {
  .nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 180px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    padding: 6px;
    flex-direction: column;
    gap: 2px;
  }


  .nav-item.is-open .nav-dropdown {
    display: flex;
  }
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  touch-action: manipulation;
}

.nav-dropdown a:hover,
.nav-dropdown a:active {
  color: var(--color-heading);
  background-color: var(--color-bg-section);
}

.nav-dropdown a.active {
  color: var(--color-white);
  background-color: var(--color-primary);
}

/* Mehr-Button aktiv wenn eine Unterseite (Blog/FAQ/Referenzen/Kontakt) aktiv ist */
.nav-item:has(.nav-dropdown a.active) .nav-dropdown-toggle {
  color: var(--color-heading);
  background-color: var(--color-bg-section);
}

/* IT-Leistungen Button aktiv wenn man sich auf der IT-Seite befindet */
.nav-dropdown-toggle.active-parent {
  color: var(--color-heading);
  background-color: var(--color-bg-section);
}

/* ── Nav "Neu"-Badge ────────────────────────────────────────────────────── */
.nav-badge-new {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: #16a34a;
  border-radius: 3px;
  padding: 1px 4px;
  line-height: 1.4;
  position: absolute;
  top: 3px;
  right: 3px;
  pointer-events: none;
}

/* Elternelement braucht position:relative für das absolute Badge */
.nav-link:has(.nav-badge-new),
.nav-dropdown a:has(.nav-badge-new) {
  position: relative;
  padding-right: 34px; /* Platz für das Badge rechts */
}

/* ── Nav Subdropdown (Tools-Untermenü) ──────────────────────────────────── */
.nav-sub-item {
  position: relative;
}

.nav-subdropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  text-align: left;
}

.nav-subdropdown-toggle:hover,
.nav-subdropdown-toggle.is-open {
  color: var(--color-heading);
  background-color: var(--color-bg-section);
}

.nav-subdropdown-toggle svg {
  flex-shrink: 0;
  margin-left: 6px;
  transition: transform var(--transition);
}

.nav-subdropdown-toggle.is-open svg {
  transform: rotate(90deg);
}

.nav-subdropdown {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0 4px 10px;
  border-left: 2px solid var(--color-border);
  margin: 2px 6px 4px 6px;
}

.nav-subdropdown.is-open {
  display: flex;
}

.nav-subdropdown a {
  font-size: 13px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 85% -15%, rgba(16, 185, 129, 0.20), transparent 55%),
    radial-gradient(900px 460px at -10% 115%, rgba(52, 211, 153, 0.10), transparent 60%),
    linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: 120px 0 140px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(16, 185, 129, 0.15);
  color: #a7f3d0;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.1;
}

.hero h1 .accent {
  color: var(--color-accent-light);
}

.hero-lead {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-item::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 480px;
}

.hero-card {
  position: absolute;
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  color: var(--color-text);
}

.hero-card-1 {
  top: 0;
  right: 0;
  width: 260px;
  border-top: 4px solid var(--color-accent);
  animation: float 6s ease-in-out infinite;
}

.hero-card-2 {
  bottom: 40px;
  left: 0;
  width: 300px;
  border-top: 4px solid #3b82f6;
  animation: float 6s ease-in-out infinite 2s;
}

.hero-card-3 {
  top: 180px;
  right: 80px;
  width: 240px;
  border-top: 4px solid #f59e0b;
  animation: float 6s ease-in-out infinite 4s;
}

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

.hero-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  font-size: 24px;
}

.hero-card-1 .hero-card-icon {
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--color-accent-dark);
}

.hero-card-2 .hero-card-icon {
  background-color: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.hero-card-3 .hero-card-icon {
  background-color: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.hero-card h4,
.hero-card .hero-card-title {
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--color-heading);
}

.hero-card p {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   7. Stats Section
   -------------------------------------------------------------------------- */
.stats {
  background-color: var(--color-bg-soft);
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
  margin-top: -60px;
  position: relative;
  z-index: 2;
}

.stats-inner {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 48px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat {
  text-align: center;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background-color: var(--color-border);
}

.stat-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-heading);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat-value .accent {
  color: var(--color-accent);
}

.stat-label {
  font-size: 14px;
  color: var(--color-text-light);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. Service Cards (Hauptbereiche IT + PV)
   -------------------------------------------------------------------------- */
.services-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.pillar {
  position: relative;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  transition: all var(--transition);
  overflow: hidden;
}

.pillar:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 32px;
  margin-bottom: 24px;
}

.pillar.pv .pillar-icon {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
}

.pillar.pm .pillar-icon {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
}

.pillar.web .pillar-icon {
  background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
}


.pillar-title {
  font-size: 26px;
  color: var(--color-heading);
  margin-bottom: 12px;
}

.pillar-lead {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.pillar-list {
  margin-bottom: 32px;
}

.pillar-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px dashed var(--color-border);
}

.pillar-list li:last-child {
  border-bottom: none;
}

.pillar-list li::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--color-accent-dark);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   9. Process Section (3 Schritte)
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.process-step {
  position: relative;
  text-align: left;
}

.process-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  font-size: 22px;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.25);
}

.process-step h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--color-white);
}

.section-dark .process-step h3 {
  color: var(--color-white);
}

.process-step p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   10. Feature Grid
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.feature:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--color-accent-dark);
  border-radius: var(--radius-md);
  font-size: 24px;
  margin-bottom: 20px;
}

.feature h3 {
  font-size: 19px;
  margin-bottom: 10px;
  color: var(--color-heading);
}

.feature p {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   11. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-brand .logo-text small {
  color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  max-width: 360px;
}

.site-footer h3,
.site-footer h4,
.footer-col h4,
.footer-col .footer-col-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  transition: color var(--transition);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-contact-icon {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--color-accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   12b. FAQ-Akkordeon
   -------------------------------------------------------------------------- */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: var(--color-bg);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
  font-family: inherit;
}
.faq-question:hover {
  background: var(--color-bg-section);
}
.faq-question[aria-expanded="true"] {
  background: var(--color-bg-section);
  color: var(--color-accent);
}
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  color: var(--color-text-light);
  line-height: 1.7;
}
.faq-answer.open {
  display: block;
}
.faq-answer p { margin: 0; }
.faq-answer a { color: var(--color-accent); }

/* --------------------------------------------------------------------------
   13. Page Header (für Unterseiten)
   -------------------------------------------------------------------------- */
.page-header {
  background:
    radial-gradient(1000px 480px at 88% -20%, rgba(16, 185, 129, 0.22), transparent 55%),
    radial-gradient(820px 420px at -15% 120%, rgba(52, 211, 153, 0.10), transparent 60%),
    linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  padding: 100px 0 80px;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.35) 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  max-width: 800px;
}

.page-header h1 {
  color: var(--color-white);
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 52px);
}

.page-header p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 720px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--color-accent-light);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   14. Content Sections (für Unterseiten)
   -------------------------------------------------------------------------- */
.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  margin-top: 48px;
  margin-bottom: 20px;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-block p {
  font-size: 17px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 1.2em;
}

.content-block ul {
  margin-bottom: 1.2em;
  padding-left: 0;
}

.content-block ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 17px;
  line-height: 1.7;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  background-color: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 011.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(10, 37, 64, 0.04) 100%);
  border: 1px solid rgba(4, 120, 87, 0.28);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin: 32px 0;
}

.highlight-box p {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   15. Service Grid (Detailansicht)
   -------------------------------------------------------------------------- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-detail {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}

.service-detail:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 28px;
  margin-bottom: 20px;
}

.service-detail.pv .service-detail-icon {
  background: linear-gradient(135deg, var(--color-accent-dark) 0%, var(--color-accent) 100%);
}

.service-detail h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.service-detail p {
  color: var(--color-text-light);
  font-size: 15px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   16. Contact Form
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  position: sticky;
  top: 100px;
}

.contact-info h3 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(16, 185, 129, 0.12);
  color: var(--color-accent-dark);
  border-radius: var(--radius-md);
  font-size: 20px;
}

.contact-item-content {
  flex: 1;
}

.contact-item-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 16px;
  color: var(--color-white);
  font-weight: 500;
}

.contact-item-value a {
  color: var(--color-white);
}

.contact-item-value a:hover {
  color: var(--color-accent-light);
}

.form {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.form-field .required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px; /* min 16px verhindert iOS Auto-Zoom */
  color: var(--color-text);
  background-color: var(--color-bg-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-surface);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.form-check input {
  margin-top: 4px;
  flex-shrink: 0;
}

/* Honeypot – verstecktes Feld gegen Bots. Für Menschen & Screenreader
   unerreichbar, von automatischen Skripten aber oft ausgefüllt. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   17. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* --------------------------------------------------------------------------
   18. Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: auto; min-height: 400px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .stat:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-buttons { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info { position: static; }
  .services-pillars { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .hero { padding: 80px 0 100px; }
  .menu-toggle { display: flex; }
  .nav-list,
  .nav-cta { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    /* iOS: max-height + overflow-y damit das Menü scrollbar ist bei vielen Einträgen */
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--color-surface);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    gap: 0;
    /* iOS: z-index sicherstellen */
    z-index: 1050;
  }
  .nav.is-open .nav-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 4px;
  }
  .nav.is-open .nav-list .nav-link {
    padding: 14px 16px;
  }
  .nav.is-open .nav-cta {
    display: block;
    margin: 16px 0 0;
  }
  .nav.is-open .nav-cta .btn {
    width: 100%;
  }

  /* Dropdown mobile */
  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-toggle {
    width: 100%;
    padding: 14px 16px;
    justify-content: space-between;
  }
  .nav-dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--color-border);
    border-radius: 0;
    margin-left: 16px;
    padding: 4px 0;
    background: transparent;
    flex-direction: column;
    gap: 2px;
  }
  .nav-item.is-open .nav-dropdown {
    display: flex;
  }
  .nav-dropdown a {
    padding: 10px 16px;
  }

  /* Subdropdown mobile */
  .nav-subdropdown-toggle {
    padding: 10px 16px;
  }

  .services-pillars { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 32px 24px; }
  .stats-inner { grid-template-columns: 1fr; padding: 32px 24px; }
  .stat:not(:last-child)::after { display: none; }
  .stat:not(:last-child) { padding-bottom: 24px; border-bottom: 1px solid var(--color-border); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-card { display: none; }
  .hero-card-1 { display: block; position: static; width: 100%; margin-bottom: 16px; }
  .hero-visual { min-height: auto; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 34px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .container { padding: 0 16px; }
}

/* ==========================================================================
   Cookie-Modal
   ========================================================================== */

#cookie-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 48, 0.75);
  backdrop-filter: blur(3px);
  z-index: 9998;
}

#cookie-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: var(--color-surface);
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(10, 37, 64, 0.35);
  width: 90%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 36px 32px;
}

#cookie-modal h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-heading);
  margin: 0 0 12px;
}

#cookie-modal > div > p,
#cookie-modal .cookie-category p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0 0 8px;
}

/* Aktiv-Klasse zum Einblenden */
#cookie-overlay.active { display: block; }
#cookie-modal.active   { display: block; }

/* Buttons */
.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn-cookie-primary {
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  flex: 1;
  min-width: 130px;
}
.btn-cookie-primary:hover { background: var(--color-accent-dark); }

.btn-cookie-secondary {
  background: transparent;
  color: var(--color-heading);
  border: 1.5px solid var(--color-border);
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex: 1;
  min-width: 130px;
}
.btn-cookie-secondary:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-soft);
}

.cookie-links {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
}
.cookie-links a {
  color: var(--color-text-muted);
  text-decoration: underline;
}
.cookie-links a:hover { color: var(--color-accent); }

/* Kategorien */
.cookie-category {
  border-top: 1px solid var(--color-border);
  padding: 18px 0;
}

.cookie-category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cookie-category-header > div { flex: 1; }

.cookie-category-header strong {
  font-size: 15px;
  color: var(--color-heading);
  display: block;
  margin-bottom: 4px;
}

.cookie-toggle-fixed {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
  margin-top: 2px;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--color-accent); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }

/* ==========================================================================
   19. Accessibility & Focus-Styles
   ========================================================================== */

/* Sichtbarer Fokus-Ring für Keyboard-Navigation */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Buttons & Links – kein doppelter outline */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* Reduced Motion – alle Animationen deaktivieren */
@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;
  }
}

/* ==========================================================================
   20. Scroll-Padding für sticky Header (verhindert, dass Überschriften
       hinter dem Header versteckt werden bei Anker-Links)
   ========================================================================== */
html {
  scroll-padding-top: 96px; /* 76px Header + 20px Luft */
}

/* ==========================================================================
   21. Print-Styles – unnötige Elemente ausblenden
   ========================================================================== */
@media print {
  .site-header,
  .cta-section,
  .site-footer,
  #cookie-overlay,
  #cookie-modal,
  .menu-toggle {
    display: none !important;
  }
  body {
    font-size: 12pt;
    color: #000;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  .page-header {
    background: #fff !important;
    color: #000 !important;
    padding: 20px 0;
  }
  .page-header h1,
  .page-header p {
    color: #000 !important;
  }
}

/* ==========================================================================
   22. UX-Verbesserungen
   ========================================================================== */

/* Smooth Hover-Übergang für alle interaktiven Elemente */
a, button, .feature, .pillar, .hero-card {
  will-change: auto;
}

/* Skip-to-main Link für Screen-Reader & Keyboard-User */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* Verbesserte Formular-Inputs: einheitlicher Cursor und Größe */
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
}

/* Button-Loading-Zustand */
.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Mobile: größere Touch-Targets */
@media (max-width: 900px) {
  .btn {
    min-height: 48px;
  }
  .nav-link,
  .nav-dropdown-toggle {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

/* Feature-Grid: gleichmäßige Karten-Höhe */
.feature-grid {
  align-items: stretch;
}
.feature {
  display: flex;
  flex-direction: column;
}
.feature p {
  margin-top: auto;
}

/* Pillar-Cards: gleichmäßige Höhe */
.services-pillars {
  align-items: stretch;
}

/* Text-Selektion in Markenfarbe */
::selection {
  background-color: rgba(16, 185, 129, 0.25);
  color: var(--color-heading);
}

/* Smooth Underline für Content-Links */
.content-block a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: rgba(16, 185, 129, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}
.content-block a:not(.btn):hover {
  text-decoration-color: var(--color-accent);
}

/* ==========================================================================
   Startseite – Kontaktformular (aus index.html ausgelagert)
   ========================================================================== */
@media (max-width: 768px) {
  #kontakt-formular .container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  #kontakt-formular form > div:first-child[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   23. Scroll-Reveal & moderne Mikro-Animationen (lokal, ohne externe Libs)
   --------------------------------------------------------------------------
   Die Klasse .reveal wird per JS (IntersectionObserver) mit .is-visible
   ergänzt, sobald das Element in den Viewport scrollt. Ohne JS bleibt der
   Inhalt sichtbar (Progressive Enhancement: siehe .js-Body-Klasse unten).
   ========================================================================== */

/* Standard: kein JS -> alles sofort sichtbar (Fallback) */
.reveal { opacity: 1; }

/* Nur wenn JS aktiv ist, starten Elemente unsichtbar und blenden ein */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

/* Richtungs-Varianten */
.js .reveal-left  { transform: translateX(-36px); }
.js .reveal-right { transform: translateX(36px); }
.js .reveal-scale { transform: scale(0.94); }
.js .reveal-fade  { transform: none; }

/* Sichtbarer Zustand */
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger: aufeinanderfolgende Karten in einem Grid leicht verzögert.
   Wird per JS über --reveal-delay gesetzt. */
.js .reveal { transition-delay: var(--reveal-delay, 0s); }

/* --------------------------------------------------------------------------
   Verfeinerte Hover-Effekte für Karten & Buttons
   -------------------------------------------------------------------------- */

/* Karten: weicher Lift + dezenter Schatten + minimaler Border-Glow */
.feature,
.pillar,
.blog-card,
.ref-card,
.local-card,
.product-card,
.price-card {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}
.feature:hover,
.pillar:hover,
.blog-card:hover,
.ref-card:hover,
.local-card:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -16px rgba(15, 23, 42, 0.28);
}

/* Icons in Karten beim Hover sanft hervorheben */
.feature:hover .feature-icon,
.pillar:hover .pillar-icon {
  transform: scale(1.12) rotate(-3deg);
}
.feature-icon,
.pillar-icon {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Buttons: glänzender Sweep beim Hover (primärer CTA) */
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn-primary:hover::after {
  transform: translateX(120%);
}

/* --------------------------------------------------------------------------
   Hero: sanfter, animierter Verlaufs-Hintergrund (dezent)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(40% 50% at 18% 22%, rgba(37, 99, 235, 0.10), transparent 70%),
    radial-gradient(38% 46% at 84% 76%, rgba(16, 185, 129, 0.10), transparent 70%);
  animation: heroGlow 16s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
@keyframes heroGlow {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-1.5%, -1%, 0) scale(1.02); }
}

/* Hero-Inhalt blendet beim Laden gestaffelt ein (nur mit JS) */
.js .hero-eyebrow,
.js .hero-content h1,
.js .hero-lead,
.js .hero-cta,
.js .hero-trust {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.js .hero-eyebrow    { animation-delay: 0.05s; }
.js .hero-content h1 { animation-delay: 0.16s; }
.js .hero-lead       { animation-delay: 0.28s; }
.js .hero-cta        { animation-delay: 0.40s; }
.js .hero-trust      { animation-delay: 0.52s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}

/* Anime.js: Wort-Stagger in der Hero-Headline (index.html).
   Die .hero-word-Spans werden per JS erzeugt – ohne JS/Anime.js
   greift weiterhin die heroIn-Animation als Fallback. */
.hero-word {
  display: inline-block;
  will-change: transform, opacity;
}

/* Anime.js: Netzwerk-Linien im Hero-Hintergrund (index.html).
   Ohne JS einfach ein statisches, dezentes Hintergrund-Motiv.
   Farbe folgt --color-accent und passt sich damit automatisch
   an den Dark Mode an. */
.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.32;
  color: var(--color-accent);
}
.hero-net .net-main { stroke-width: 2; }
.hero-net .net-soft { stroke-width: 1.25; }
.hero-net circle {
  transform-box: fill-box;
  transform-origin: center;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-net { opacity: 0.42; }
}
:root[data-theme="dark"] .hero-net { opacity: 0.42; }
@media (max-width: 640px) {
  .hero-net { opacity: 0.22; }
}

/* --------------------------------------------------------------------------
   Sticky Header: Schatten erscheint beim Scrollen
   -------------------------------------------------------------------------- */
.site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 30px -12px rgba(15, 23, 42, 0.18);
  backdrop-filter: saturate(180%) blur(10px);
}

/* --------------------------------------------------------------------------
   Section-Übergänge: Links mit animiertem Unterstrich
   -------------------------------------------------------------------------- */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --------------------------------------------------------------------------
   Reduced Motion: alles Bewegte abschalten (überschreibt Obiges)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal-left,
  .js .reveal-right,
  .js .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero::before { animation: none !important; }
  .js .hero-eyebrow,
  .js .hero-content h1,
  .js .hero-lead,
  .js .hero-cta,
  .js .hero-trust {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------
   Google-Bewertungs-Badge (Hero, Startseite)
   -------------------------------------------------------------------------- */
.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 10px 18px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.google-review-badge:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.google-review-stars {
  color: #b06000;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.google-review-title {
  font-size: 0.78rem;
  color: #333;
  font-weight: 600;
  line-height: 1.2;
}

.google-review-sub {
  font-size: 0.72rem;
  color: #555;
}

/* --------------------------------------------------------------------------
   Footer: Social-Links (ehemals Inline-Styles)
   -------------------------------------------------------------------------- */
.footer-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.social-instagram:hover { color: #E1306C; }
.social-linkedin:hover  { color: #0a66c2; }
.social-facebook:hover  { color: #1877F2; }

/* Navigation: Trenner + interner Login-Link (ehemals Inline-Styles) */
.nav-dropdown-divider {
  margin: 0.4rem 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-intern-link {
  opacity: 0.6;
  font-size: 0.8rem;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Hover-/Fokus-Stile (ehemals Inline-Event-Handler)
   -------------------------------------------------------------------------- */
.quicklink-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.quicklink-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.branch-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.branch-card:hover {
  box-shadow: var(--shadow-md);
}

.social-link-light {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.social-link-light + .social-link-light { margin-top: 8px; }

.form-field {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-heading);
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form-field:focus {
  outline: none;
  border-color: var(--color-accent);
}

textarea.form-field { resize: vertical; }

/* ==========================================================================
   22. Dark Mode – automatisch nach System, manuell per Schalter übersteuerbar
   (data-theme="dark"/"light" auf <html>, gesetzt durch js/script.js)
   ========================================================================== */
:root {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --color-bg: #0b1624;
    --color-bg-soft: #0e1a2b;
    --color-bg-section: #102032;
    --color-surface: #15273e;
    --color-border: #314866;
    --color-text: #d8e1ed;
    --color-text-light: #a7b6c9;
    --color-text-muted: #a7b6c9;
    --color-heading: #ecf1f8;
    --color-accent: #2eb98d;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  }
  :root:not([data-theme="light"]) .site-header { background-color: rgba(11, 22, 36, 0.95); }
  :root:not([data-theme="light"]) .logo { color: var(--color-heading); }
  :root:not([data-theme="light"]) .logo-mark { background-image: url("../img/logo-symbol-hell.png") !important; }
  :root:not([data-theme="light"]) .menu-toggle span { background-color: var(--color-heading); }
  :root:not([data-theme="light"]) .btn-primary, :root:not([data-theme="light"]) .btn-cookie-primary { color: #06281e; }
  :root:not([data-theme="light"]) .btn-secondary { background-color: var(--color-primary-light); border-color: var(--color-primary-light); }
  :root:not([data-theme="light"]) .btn-outline { color: var(--color-heading); border-color: var(--color-text-light); }
  :root:not([data-theme="light"]) .btn-outline:hover { background-color: var(--color-heading); color: #0a2540; }
  :root:not([data-theme="light"]) .btn-cookie-secondary { color: var(--color-heading); }
  :root:not([data-theme="light"]) .section-eyebrow { color: var(--color-accent-light); }
  :root:not([data-theme="light"]) .stat-value, :root:not([data-theme="light"]) .form-field label, :root:not([data-theme="light"]) .quicklink-card, :root:not([data-theme="light"]) #cookie-modal h2 { color: var(--color-heading); }
}

  :root[data-theme="dark"] {
    color-scheme: dark;
    --color-bg: #0b1624;
    --color-bg-soft: #0e1a2b;
    --color-bg-section: #102032;
    --color-surface: #15273e;
    --color-border: #314866;
    --color-text: #d8e1ed;
    --color-text-light: #a7b6c9;
    --color-text-muted: #a7b6c9;
    --color-heading: #ecf1f8;
    --color-accent: #2eb98d;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  }
  [data-theme="dark"] .site-header { background-color: rgba(11, 22, 36, 0.95); }
  [data-theme="dark"] .logo { color: var(--color-heading); }
  [data-theme="dark"] .logo-mark { background-image: url("../img/logo-symbol-hell.png") !important; }
  [data-theme="dark"] .menu-toggle span { background-color: var(--color-heading); }
  [data-theme="dark"] .btn-primary, [data-theme="dark"] .btn-cookie-primary { color: #06281e; }
  [data-theme="dark"] .btn-secondary { background-color: var(--color-primary-light); border-color: var(--color-primary-light); }
  [data-theme="dark"] .btn-outline { color: var(--color-heading); border-color: var(--color-text-light); }
  [data-theme="dark"] .btn-outline:hover { background-color: var(--color-heading); color: #0a2540; }
  [data-theme="dark"] .btn-cookie-secondary { color: var(--color-heading); }
  [data-theme="dark"] .section-eyebrow { color: var(--color-accent-light); }
  [data-theme="dark"] .stat-value, [data-theme="dark"] .form-field label, [data-theme="dark"] .quicklink-card, [data-theme="dark"] #cookie-modal h2 { color: var(--color-heading); }

/* Schalter im Header */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 10px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.theme-toggle:hover {
  background: var(--color-bg-soft);
  color: var(--color-heading);
  border-color: var(--color-text-light);
}

@media print {
  .theme-toggle { display: none !important; }
}


/* --------------------------------------------------------------------------
   25. KI-Telefonassistent: Wellenform-Canvas im Page-Header
   -------------------------------------------------------------------------- */
.page-header { overflow: hidden; }
canvas.ki-wave,
canvas.header-fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.page-header > .container { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   21. Conversion-Bausteine: CTA-Microcopy, Problem→Antwort, Fallstudien
   -------------------------------------------------------------------------- */

/* Risiko-Entkräftung unter CTAs */
.cta-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.hero-content .cta-note { margin-top: 16px; }
.js .hero-content .cta-note {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.46s;
}
.cta-note-dark { color: rgba(255, 255, 255, 0.82); }
.cta-buttons .cta-note { margin-top: 4px; }
@media (max-width: 860px) {
  .cta-buttons .cta-note { flex-basis: 100%; text-align: center; }
}

/* Problem → Antwort (Startseite) */
.pa-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 48px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
.pa-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.pa-problem,
.pa-answer {
  padding: 28px 32px;
}
.pa-problem {
  background: var(--color-bg-section);
}
.pa-answer {
  background: var(--color-bg);
}
.pa-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  color: var(--color-text-muted);
}
.pa-answer .pa-label { color: var(--color-accent); }
.pa-row h3 {
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--color-heading);
  margin-bottom: 8px;
  text-wrap: balance;
}
.pa-row p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
}
.pa-answer p a { font-weight: 600; }
@media (max-width: 820px) {
  .pa-row { grid-template-columns: 1fr; }
  .pa-problem, .pa-answer { padding: 22px 24px; }
}

/* Konkrete Zusage pro Prozess-Schritt */
.process-step-promise {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent-light);
}
.process-step-promise::before {
  content: '✓';
  margin-right: 8px;
}

/* Fallstudien-Format auf der Referenzen-Seite */
.case-flow {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-step p {
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--color-text-light);
  margin: 0;
}
.case-step-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 3px;
}
.case-step-result {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}
.case-step-result .case-step-label { color: var(--color-accent); }
.case-step-result p { color: var(--color-text); }

@media (prefers-reduced-motion: reduce) {
  .js .hero-content .cta-note { animation: none; opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   22. Cursor-Glow (per JS erzeugt, nur Desktop)
   z-index 900: über dem Inhalt, unter Header (1000) und Modals (9998+)
   -------------------------------------------------------------------------- */
#cursor-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 900;
  opacity: 0;
  transition: opacity 0.6s ease;
  --glow-color: rgba(4, 120, 87, 0.05);
}
:root[data-theme="dark"] #cursor-glow { --glow-color: rgba(52, 211, 153, 0.055); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #cursor-glow { --glow-color: rgba(52, 211, 153, 0.055); }
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  #cursor-glow { display: none; }
}

/* --------------------------------------------------------------------------
   23. Footer: SEO-Linkblöcke (Region/Branche), Herz-Zeile, Disclaimer
   -------------------------------------------------------------------------- */
.footer-seo {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 40px;
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px 48px;
}
.footer-seo-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}
.footer-seo-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px 24px;
}
.footer-seo-links a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-seo-links a:hover { color: var(--color-accent-light); }
.footer-heart {
  color: #f43f5e;
  margin: 0 2px;
}
.footer-disclaimer {
  flex-basis: 100%;
  margin-top: 12px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Social-Icons im Footer-Bottom etwas größer + bessere Touch-Ziele */
.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-social a {
  display: inline-flex;
  padding: 4px;
}
.footer-social a svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   24. Über-uns: Split-Layout "Gesicht hinter der Arbeit"
   -------------------------------------------------------------------------- */
.team-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}
.team-split-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 4px;
}
.team-split-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.team-split-text > p {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 52ch;
}
.team-split-photo {
  position: relative;
}
.team-split-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.team-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.team-chips a {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
}
.team-chips a:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
.team-socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 820px) {
  .team-split { grid-template-columns: 1fr; gap: 32px; }
  .team-split-photo { order: -1; max-width: 320px; margin: 0 auto; }
  .team-split-text { text-align: center; }
  .team-split-text > p { margin-left: auto; margin-right: auto; }
  .team-chips, .team-socials { justify-content: center; }
}


/* --------------------------------------------------------------------------
   26. Footer-Bottom: stabiles 3-Spalten-Raster
   (© links, Social-Icons mittig, Rechtliches rechts – Disclaimer eigene Zeile)
   -------------------------------------------------------------------------- */
.footer-seo { padding-bottom: 28px; }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 24px;
}
.footer-bottom > div:first-child { justify-self: start; }
.footer-bottom .footer-social { justify-self: center; }
.footer-bottom .footer-legal {
  justify-self: end;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
}
.footer-bottom .footer-disclaimer { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom > div:first-child,
  .footer-bottom .footer-social,
  .footer-bottom .footer-legal { justify-self: center; }
  .footer-bottom .footer-legal { justify-content: center; gap: 10px 18px; }
}


/* --------------------------------------------------------------------------
   27. Hero-Karten als Links (klickbar zu den drei Säulen)
   -------------------------------------------------------------------------- */
a.hero-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.hero-card:hover { color: inherit; }
.hero-card-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  transition: transform 0.25s ease;
}
a.hero-card:hover .hero-card-more { transform: translateX(4px); }
a.hero-card:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}


/* --------------------------------------------------------------------------
   28. Footer-Bottom Feinschliff: ♥-Zeile über ©, Rechtliches bündig
   -------------------------------------------------------------------------- */
.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.5;
}
.footer-made {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .footer-legal {
  font-size: 14px;
  line-height: 1.5;
  align-items: center;
}
.footer-bottom .footer-legal a { white-space: nowrap; }
@media (max-width: 900px) {
  .footer-copy { align-items: center; }
}


/* --------------------------------------------------------------------------
   29. Über-uns-Socials einheitlich + Footer-Bottom endgültig stabil
   -------------------------------------------------------------------------- */
.team-socials {
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
}
.team-socials .social-link-light {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  margin-top: 0 !important;
}
.team-socials .social-link-light svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Footer-Bottom: Seitenspalten nach Inhalt statt symmetrisch (1fr zwang
   die Rechtliches-Links zum Umbruch), Icons mittig im Restraum */
.footer-bottom { grid-template-columns: auto 1fr auto; }
.footer-bottom .footer-legal {
  gap: 8px 18px;
  font-size: 13.5px;
}
@media (max-width: 1080px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .footer-bottom > div:first-child,
  .footer-bottom .footer-social,
  .footer-bottom .footer-legal { justify-self: center; }
  .footer-bottom .footer-legal { justify-content: center; }
  .footer-copy { align-items: center; }
}
@media (max-width: 480px) {
  .team-socials { flex-wrap: wrap; justify-content: center; }
}

/* --------------------------------------------------------------------------
   30. Footer-Bottom-Feinschliff: "Made with" mittig über dem ©-Text,
   Social-Icons exakt seitenmittig, Rechtliches zweizeilig gruppiert
   (Impressum/Datenschutz/AGB oben, Cookie-Links darunter)
   -------------------------------------------------------------------------- */
.footer-copy { align-items: center; }
.footer-bottom { grid-template-columns: 1fr auto 1fr; }
.footer-bottom .footer-legal {
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: flex-end;
}
@media (max-width: 1080px) {
  .footer-bottom .footer-legal { align-items: center; }
  .footer-legal-row { justify-content: center; }
}

/* === Utility-Klassen: ausgelagerte, häufige Inline-Styles (2026-07-06) ============ */
/* Werte 1:1 wie zuvor inline -> visuell identisch. Am Dateiende, damit sie bei
   Gleichstand die Oberhand behalten (ersetzt frühere Inline-Priorität). */
.u-ic{vertical-align:-0.125em;}
.u-ic-mr{vertical-align:-0.125em;margin-right:5px;}
.u-h-1{font-size:1rem;color:var(--color-heading);margin-bottom:8px;}
.u-p-1{color:var(--color-text-light);font-size:0.95rem;line-height:1.7;}
.u-fs36{font-size:36px;margin-bottom:16px;}
.u-h-2{font-size:1.05rem;color:var(--color-heading);margin-bottom:10px;}
.u-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:28px;box-shadow:var(--shadow-sm);}
.u-muted-1{font-size:0.85rem;color:var(--color-text-muted);}
.u-fs32-mb{font-size:32px;margin-bottom:12px;}
.u-p-2{font-size:0.88rem;color:var(--color-text-light);line-height:1.6;}
.u-h-3{font-weight:700;color:var(--color-heading);margin-bottom:4px;}
.u-card-link{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:24px;text-decoration:none;display:block;}
.u-card-accent{background:var(--color-bg-section);border-radius:var(--radius-md);padding:24px;border-top:3px solid var(--color-accent);}
.u-p-3{font-size:0.9rem;color:var(--color-text-light);line-height:1.7;}
.u-box{background:var(--color-bg);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:22px 26px;}
