/* ============================================================
   MEINE SPEICHER — Design System
   Tibber-inspired dark theme with green accent
   ============================================================ */

/* 0. FONT-FACE DECLARATIONS
   ============================================================ */
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 1. COLOR TOKENS
   ============================================================ */
:root {
  /* Premium / Minimal palette */
  --bg: #0A0A0C;
  --bg-page: #0A0A0C;
  --surface: #141416;
  --bg-card: #141416;
  --surface-2: #1E1E22;
  --surface-3: #2A2A30;
  --bg-footer: #141416;
  --green: #00D47E;
  --accent: #00D47E;
  --green-dark: #00B86A;
  --accent-dark: #00B86A;
  --green-soft: rgba(0, 212, 126, 0.08);
  --accent-soft: #4DFFA8;
  --amber: #F59E0B;
  --amber-soft: rgba(245, 158, 11, 0.10);
  --positive: #00D47E;
  --font-headline: 'DM Sans', -apple-system, Helvetica, Arial, sans-serif;
  --font-body: 'DM Sans', -apple-system, Helvetica, Arial, sans-serif;
  --text-white: #F5F5F7;
  --text-muted: #8E8E93;
  --text-dim: #636366;
  --text-dark: #1A1F2E;
  --text-body-light: #4A5568;
  --border-dark: rgba(255, 255, 255, 0.07);
  --border-light: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px; --space-xl: 32px; --space-2xl: 48px; --space-3xl: 64px; --space-4xl: 96px;
}

/* 2. RESET + BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  background: var(--bg-page);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* 3. TYPOGRAPHY
   ============================================================ */
h1 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(32px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-white);
  overflow-wrap: break-word;
  word-break: break-word;
}

h2 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-white);
}

h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  color: var(--text-white);
}

h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-white);
}

p {
  line-height: 1.7;
  color: var(--text-muted);
}

/* 4. SECTION HELPERS
   ============================================================ */
.section-dark {
  background: var(--bg-page);
  color: var(--text-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--text-white);
}

.section-dark p {
  color: var(--text-muted);
}

.section-dark .label {
  color: var(--text-muted);
}

.section-subtle {
  background: var(--bg-card);
  color: var(--text-white);
}

.section-subtle h1,
.section-subtle h2,
.section-subtle h3 {
  color: var(--text-white);
}

.section-subtle p {
  color: var(--text-muted);
}

.section-light {
  background: var(--bg-footer);
  color: var(--text-dark);
}

.section-light h1,
.section-light h2,
.section-light h3 {
  color: var(--text-dark);
}

.section-light p {
  color: var(--text-body-light);
}

.section-light .label {
  color: var(--text-body-light);
}

.section-white {
  background: #FFFFFF;
  color: var(--text-dark);
}

.section-white h1,
.section-white h2,
.section-white h3 {
  color: var(--text-dark);
}

.section-white p {
  color: var(--text-body-light);
}

/* 5. LAYOUT
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
}

section,
.section {
  padding: 140px 0;
}

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

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

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

.grid-content {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
}

.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-48 { gap: 48px; }

.section-center {
  text-align: center;
}

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.p-0 { padding: 0; }
.text-right { text-align: right; }
.btn-block { display: block; text-align: center; }
.container--narrow { max-width: 800px; }

/* 6. UTILITY CLASSES
   ============================================================ */
.label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.price {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--amber);
}

.amber { color: var(--amber); }
.green { color: var(--green); }
.muted { color: var(--text-muted); }
.hidden { display: none; }

/* 7. NAVIGATION — Floating pill
   ============================================================ */
.nav-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 16px;
}

nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1216px;
  width: 100%;
  padding: 0 24px;
  height: 64px;
  pointer-events: auto;
}

nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  z-index: -1;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

nav.scrolled::before {
  background: rgba(10, 10, 12, 0.95);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
}

.logo {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 22px;
  color: var(--green);
  z-index: 301;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}
.logo:hover {
  opacity: 0.85;
}

.logo span {
  color: var(--text-white);
}

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

.nav-links a {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 6px 12px;
  text-decoration: none;
  white-space: nowrap;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  z-index: 301;
  background: none;
  border: none;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  background: var(--bg-card);
  z-index: 299;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 298;
  display: none;
}

.mobile-overlay.open {
  display: block;
}

/* NAV DROPDOWN
   ============================================================ */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-family: var(--font-body);
  -webkit-appearance: none;
  appearance: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--text-white);
}

.nav-dropdown-arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  padding: 10px 6px 6px;
  gap: 2px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 302;
}

/* Invisible bridge between trigger and menu to prevent hover gap */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  pointer-events: none;
}
.nav-dropdown:hover::after {
  pointer-events: auto;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-trigger[aria-expanded="true"] + .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

/* 8. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--green);
  color: var(--bg-card);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-secondary-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.btn-secondary-dark:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* 9. CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.10);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* 10. HERO (Tibber-style — all pages)
   ============================================================ */
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 0 80px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0,212,126,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-video {
  display: none;
}

.page-hero {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 0 80px;
  position: relative;
  background: var(--bg);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(12, 227, 144, 0.08);
  border: 1px solid rgba(12, 227, 144, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
  margin: 8px auto 32px;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 11. STATS BAR
   ============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
}

.stat-cell {
  padding: 32px 16px;
  text-align: center;
  border-right: 1px solid var(--border-dark);
}

.stat-cell:last-child {
  border-right: none;
}

.stat-num {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 48px;
  color: var(--green);
  line-height: 1;
}

.stat-lbl {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* 11b. CARD POPULAR BADGE
   ============================================================ */
.card-popular {
  position: relative;
  border: 1px solid var(--green);
}
.card-popular::before {
  content: 'Beliebteste Wahl';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--bg-card);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

/* 12. CALCULATOR
   ============================================================ */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}

.calc-result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.calc-result .big-num {
  font-family: var(--font-headline);
  font-size: 48px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.calc-investment-box {
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Slider */
input[type="range"] {
  --progress: 0%;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--green) var(--progress), rgba(255, 255, 255, 0.1) var(--progress));
  border-radius: 3px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Select */
select {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-white);
  width: 100%;
}

/* 13. TABLES
   ============================================================ */
.spec-table,
.cmp-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.cmp-table th {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
}

.spec-table td,
.cmp-table td {
  color: var(--text-white);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-dark);
  font-size: 14px;
}

.spec-table tr:hover td,
.cmp-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.cmp-table {
  text-align: center;
}

.cmp-table td:first-child {
  text-align: left;
}

.highlight-col {
  background: var(--green-soft);
  color: var(--green);
  font-weight: 600;
}

/* 14. TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 230, 118, 0.2);
}

.timeline-step {
  position: relative;
  margin-bottom: 40px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--green);
  border-radius: 50%;
  border: 3px solid var(--bg-page);
}

.timeline-step .step-num {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--green);
  margin-bottom: 6px;
}

.timeline-step h3 {
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* 15. LASTPROFIL CHART
   ============================================================ */
.lastprofil {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 120px;
}

.lastprofil-bar {
  flex: 1;
  background: var(--green-soft);
  border-radius: 2px 2px 0 0;
}

.lastprofil-bar.peak {
  background: var(--amber-soft);
}

.lastprofil-bar.reduced {
  background: rgba(0, 230, 118, 0.25);
}

.lastprofil-label {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
}

/* 15b. INLINE LINKS IN CONTENT
   ============================================================ */
.section-dark p a,
.section-dark li a,
.section-subtle p a,
.section-subtle li a,
.faq-a a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
}

.section-dark p a:hover,
.section-dark li a:hover,
.section-subtle p a:hover,
.section-subtle li a:hover,
.faq-a a:hover {
  opacity: 0.8;
}

/* 16. FAQ
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--border-dark);
  padding: 20px 0;
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-white);
  cursor: pointer;
  background: none;
  background-color: transparent;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.faq-q span {
  color: var(--green);
  font-size: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--text-muted);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-a {
  max-height: none;
  padding-top: 14px;
}

.faq-item.open .faq-q span {
  transform: rotate(45deg);
}

/* 17. CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--bg-card);
  color: var(--text-white);
  padding: 100px 0;
  text-align: center;
}

.cta-banner .label {
  color: var(--text-muted);
}

.cta-banner h2 {
  color: var(--text-white);
}

.cta-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.trust-item::before {
  content: '\2713';
  color: var(--green);
}

body.no-cta .cta-banner {
  display: none;
}

/* 18. FOOTER
   ============================================================ */
footer {
  background: var(--bg-footer);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
  margin-bottom: 12px;
}

.footer-logo span {
  color: #fff;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s ease;
  text-decoration: none;
}

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

.footer-contact-info {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body-light);
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

/* 19. FORMS
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  background: var(--bg-card);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
  outline: none;
  background-color: rgba(0, 230, 118, 0.03);
}

::placeholder {
  color: var(--text-muted);
}

label {
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

/* 20. WARNING BOX
   ============================================================ */
.warning-box {
  background: var(--amber-soft);
  border: 1px solid rgba(255, 179, 0, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text-white);
}

/* 21. COOKIE CONSENT
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-banner p {
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.cookie-banner a {
  color: var(--green);
}

/* 22. BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--green);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 6px;
  opacity: 0.4;
}

.breadcrumb span[aria-current="page"] {
  margin: 0;
  opacity: 0.7;
}

/* 23. LEGAL PAGES
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 64px 80px;
  background: var(--bg-page);
}

.legal-content h1 {
  margin-bottom: 32px;
  color: var(--text-white);
}

.legal-content h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 16px;
  color: var(--text-white);
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 24px;
}

.legal-content a {
  color: var(--green);
}

/* 24. REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* 25. DEVICE MOCKUP (iPhone frame)
   ============================================================ */
.device-mockup {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19;
  background: #1C1F26;
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.1),
    0 24px 80px rgba(0, 0, 0, 0.5);
}

.device-mockup::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1C1F26;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.device-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-page);
  border-radius: 30px;
  overflow: hidden;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* App screen mockup (SigEnergy Energy Management) */
.app-screen {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0c1a12 0%, #101c16 40%, #0c1a12 100%);
  padding: 0;
  font-family: var(--font-body);
}

.app-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 4px;
  font-size: 11px;
  font-weight: 600;
  color: white;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px 12px;
  font-size: 13px;
  font-weight: 500;
  color: white;
}

.app-section {
  padding: 0 14px;
}

.app-section-title {
  font-size: 12px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}

.app-section-sub {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 2px;
}

.app-price-badge {
  display: inline-block;
  background: var(--green);
  color: #0a1a0f;
  font-size: 8px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.app-chart {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 80px;
  margin-top: 8px;
  padding: 0 2px;
}

.app-bar {
  flex: 1;
  background: rgba(120, 130, 140, 0.4);
  border-radius: 2px 2px 0 0;
  min-width: 0;
}

.app-bar.active {
  background: var(--green);
}

.app-chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  color: var(--text-muted);
  padding: 3px 2px 0;
}

.app-battery-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 10px 14px 0;
}

.app-battery-icon {
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.app-battery-icon::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px 1px 0 0;
}

.app-battery-fill {
  width: 100%;
  background: var(--green);
  border-radius: 0 0 1.5px 1.5px;
}

.app-status-row {
  display: flex;
  gap: 8px;
  padding: 8px 14px 0;
}

.app-status-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 8px 10px;
}

.app-bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0 8px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* 26. FEATURE GRID (image cards)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

.feature-card-body {
  padding: 24px;
}

.feature-card-body h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-card-body p {
  font-size: 14px;
  color: var(--text-muted);
}

/* 27. TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-quote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-white);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-white);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
}

/* 28. CHECKLIST ITEMS
   ============================================================ */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checklist-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.checklist-icon {
  width: 28px;
  height: 28px;
  background: var(--green-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
  font-size: 14px;
  margin-top: 2px;
}

.checklist-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
}

.checklist-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 29. FLOATING CTA BUTTON
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: var(--green);
  color: var(--bg-card);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 24px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(0, 230, 118, 0.3);
  transition: all 0.2s ease;
}

.floating-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 230, 118, 0.4);
}

.floating-cta svg {
  flex-shrink: 0;
}

/* 30. ACCESSIBILITY
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

::selection {
  background: rgba(0, 230, 118, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* 31. RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav-wrapper {
    top: 8px;
    padding: 0 8px;
  }

  nav {
    padding: 0 16px;
    height: 56px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-actions .btn {
    display: none;
  }

  section,
  .section {
    padding: 80px 0;
  }

  .cta-banner {
    padding: 80px 0;
  }

  .hero {
    padding: 120px 32px 60px;
  }

  .page-hero {
    padding: 120px 32px 60px;
  }

  .container {
    padding: 0 32px;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-md);
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .legal-content {
    padding: 40px 32px 60px;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }

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

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

  .device-mockup {
    width: 220px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .spec-table, .cmp-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  section,
  .section {
    padding: 56px 0;
  }

  .container {
    padding: 0 20px;
  }

  .hero {
    padding: 100px 20px 48px;
    min-height: auto;
  }

  .page-hero {
    padding: 100px 20px 48px;
    min-height: auto;
  }

  .cta-banner {
    padding: 56px 0;
  }

  .btn {
    width: 100%;
    text-align: center;
    display: block;
  }

  .floating-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
  }

  .calc-result .big-num {
    font-size: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .stat-num {
    font-size: 30px;
  }

  .legal-content {
    padding: 40px 20px 48px;
  }

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

/* ============================================================
   32. MISSING STYLES — added to fix all unstyled classes
   ============================================================ */

/* --- Utility classes (ablauf, danke, 404) --- */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.mt-64       { margin-top: 64px; }

/* --- Hero decorative elements (boersenstrom, gewerbespeicher, iab, peak-shaving, rechner) --- */
.hero-grid-bg {
  position: absolute;
  inset: 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: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 75%);
}

.glow-right {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(0,230,118,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.gradient-text {
  background: linear-gradient(135deg, var(--text-white) 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

/* Ensure hero-sub and content sit above decorative layers */
.hero .container { position: relative; z-index: 1; }

/* --- Placeholder image (gewerbespeicher) --- */
.placeholder-image {
  background: var(--bg-card);
  border: 2px dashed var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 80px 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  font-family: var(--font-body);
}

/* --- IAB Steps Flow (iab-stromspeicher) --- */
.iab-steps {
  margin-top: 40px;
}

.iab-steps-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.iab-step {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  min-width: 160px;
  flex: 1;
  max-width: 220px;
}

.iab-step-highlight {
  border-color: var(--green);
}

.iab-step-num {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--text-white);
  line-height: 1.2;
}

.iab-step-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.iab-step-detail {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.iab-arrow {
  font-size: 28px;
  color: var(--text-muted);
  padding: 0 12px;
  flex-shrink: 0;
}

/* --- Chart label (boersenstrom, peak-shaving) --- */
.chart-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* --- Size cards (gewerbespeicher) --- */
.card-size-num {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 48px;
  color: var(--text-white);
  line-height: 1;
}

.card-size-unit {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-price {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 24px;
  color: var(--amber);
  margin-bottom: 8px;
}

.card-detail {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-iab-box {
  background: var(--green-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 8px;
}

.card-iab-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.card-iab-value {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
}

/* --- Footnote (gewerbespeicher, peak-shaving, rechner) --- */
.footnote {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 24px;
  line-height: 1.6;
}

/* --- Lastprofil Chart (peak-shaving) --- */
.lastprofil-chart {
  margin-top: 32px;
}

.lastprofil-chart-inner {
  position: relative;
  height: 240px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  padding: 16px 16px 0;
  overflow: hidden;
}

.lastprofil-limit-line {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 1px;
  border-top: 2px dashed var(--amber);
  z-index: 2;
  pointer-events: none;
}

.lastprofil-limit-label {
  position: absolute;
  right: 20px;
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--amber);
  transform: translateY(-100%);
  z-index: 3;
  white-space: nowrap;
}

.lastprofil-green-line {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 1px;
  border-top: 2px dashed var(--green);
  z-index: 2;
  pointer-events: none;
}

.lastprofil-green-label {
  position: absolute;
  right: 20px;
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--green);
  transform: translateY(-100%);
  z-index: 3;
  white-space: nowrap;
}

.lastprofil-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
  position: relative;
  z-index: 1;
}

.lastprofil-bar-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.lastprofil-bar-wrap .lastprofil-bar {
  width: 100%;
  border-radius: 2px 2px 0 0;
  background: rgba(226,232,240,0.15);
  position: relative;
}

.lastprofil-bar-wrap .lastprofil-bar.peak {
  background: rgba(255,179,0,0.3);
}

.battery-portion {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0,230,118,0.5);
  border-radius: 2px 2px 0 0;
}

.lastprofil-x-axis {
  display: flex;
  justify-content: space-between;
  padding: 8px 0 0;
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
}

.lastprofil-legend {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.lastprofil-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
}

.lastprofil-legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* --- Calc Example (peak-shaving) --- */
.calc-example {
  max-width: 560px;
  margin-top: 32px;
}

.calc-example-title {
  font-family: var(--font-headline);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 20px;
}

.calc-example-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.calc-example-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 15px;
  color: var(--text-muted);
}

.calc-example-val {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-white);
}

.calc-example-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-white);
}

.calc-example-total-val {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 24px;
  color: var(--green);
}

/* --- Contact (kontakt) --- */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

/* --- Trust list (kontakt) --- */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-list .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.trust-list .trust-item::before {
  /* Override the .trust-item::before from section 17 since these use SVG icons */
  content: none;
}

/* --- Calculator — slider header + field (rechner + index) --- */
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.calc-slider-val {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
}

.calc-field {
  margin-top: 24px;
}

.calc-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-white);
  cursor: pointer;
}

/* --- Calculator results (rechner page) --- */
.calc-result-main {
  margin-bottom: 20px;
}

.calc-result-label {
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-dark);
}

.calc-result-num {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-white);
  line-height: 1.2;
}

.calc-invest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
}

.calc-invest-right {
  text-align: right;
}

.calc-auslastung-val {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 18px;
  color: var(--amber);
}

.calc-hinweis {
  font-size: 13px;
  color: var(--amber);
  margin-top: 12px;
  min-height: 1em;
}

/* --- Calculator params sidebar (rechner page) --- */
.calc-params {
  margin-top: 16px;
}

.calc-param-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 14px;
  color: var(--text-muted);
}

.calc-param-row.last {
  border-bottom: none;
}

.calc-param-val {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-white);
}

.calc-cta {
  margin-top: 24px;
  display: block;
  text-align: center;
  width: 100%;
}

/* --- Calculator shared: strike, effective, arrow, disclaimer, hint (index + rechner) --- */
.strike {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 15px;
}

.effective {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 18px;
  color: var(--green);
}

.calc-arrow {
  color: var(--text-muted);
  margin: 0 8px;
  font-size: 16px;
}

.calc-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.6;
}

.calc-hint {
  font-size: 13px;
  color: var(--amber);
  margin-top: 12px;
  min-height: 1em;
}

/* --- FAQ list (subpages using <ul>) --- */
.faq-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

/* Style <button> FAQ triggers to match the div-based ones */
.faq-list .faq-q,
button.faq-q {
  background: none;
  background-color: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  text-align: left;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-list .faq-q svg {
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s ease;
  color: var(--green);
}

.faq-list .faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

/* --- Timeline sub-elements (iab-stromspeicher) --- */
.timeline-dot-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 0;      /* visually hidden since dot is 16px */
  color: transparent;
  pointer-events: none;
}

.timeline-line {
  position: absolute;
  left: -28px;
  top: 20px;
  bottom: -40px;
  width: 2px;
  background: rgba(0, 230, 118, 0.2);
}

.timeline-step:last-child .timeline-line {
  display: none;
}

.timeline-content {
  /* No special styles needed — inherits from .timeline-step h3 / p */
}

/* ============================================================
   33. RESPONSIVE — additions for new components
   ============================================================ */
@media (max-width: 960px) {
  .iab-steps-flow {
    flex-direction: column;
    gap: 0;
  }

  .iab-step {
    max-width: 100%;
    width: 100%;
  }

  .iab-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }

  .calc-result-grid {
    grid-template-columns: 1fr;
  }

  .lastprofil-chart-inner {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .lastprofil-chart-inner {
    height: 160px;
  }

  .lastprofil-legend {
    flex-direction: column;
    gap: 8px;
  }

  .calc-invest-row {
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }

  .calc-invest-right {
    text-align: left;
  }

  .card-size-num {
    font-size: 36px;
  }
}

/* 7.3 Contact form spacing
   ============================================================ */
form > div + div { margin-top: 20px; }
form > button[type='submit'] { margin-top: 28px; }

/* 7.5 Skip-to-content link
   ============================================================ */
.skip-link { position: absolute; top: -100px; left: 16px; background: var(--green); color: var(--bg-page); padding: 8px 16px; border-radius: var(--radius-sm); z-index: 999; font-weight: 600; font-size: 14px; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* 9.4 Loading skeleton
   ============================================================ */
.calc-skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.04) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
  height: 48px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* 9.6 Button active + form invalid states
   ============================================================ */
.btn-primary:active { transform: scale(0.98); box-shadow: 0 2px 8px rgba(0, 230, 118, 0.2); }
input:invalid:not(:placeholder-shown) { border-color: #FF4444; }
.card:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }

/* 9.7 Nav dropdown keyboard accessibility
   ============================================================ */
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }

/* 9.8 WhatsApp Floating Button
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.40);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab:hover .whatsapp-fab-tooltip {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.whatsapp-fab svg {
  display: block;
  flex-shrink: 0;
}

.whatsapp-fab-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(4px);
  background: #1A1F2E;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.whatsapp-fab-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1A1F2E;
}

@media (max-width: 768px) {
  .whatsapp-fab {
    width: 48px;
    height: 48px;
    bottom: 80px;
    right: 16px;
    box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
  }
  .whatsapp-fab-tooltip {
    display: none;
  }
}

/* 9.9 Lead Magnet + Referral Page Styles
   ============================================================ */

/* Leitfaden / Empfehlung hero */
.page-hero {
  padding: 120px 0 80px;
  background: var(--bg-page);
}

.page-hero .label { margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 52px);
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.page-hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* Trust signals row */
.trust-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  align-items: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
}

.trust-badge svg {
  flex-shrink: 0;
}

/* Feature list for leitfaden */
.guide-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text-white);
  line-height: 1.5;
}

.guide-list-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Form card */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-card h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-white);
  margin-bottom: 8px;
}

.form-card .form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-field select option {
  background: #1A1F2E;
  color: var(--text-white);
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

/* How it works steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 2px solid var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
}

.step-card h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 10px;
}

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

/* Benefit cards */
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.benefit-card-highlight {
  border-color: var(--green);
  box-shadow: 0 0 24px rgba(0,230,118,0.10);
}

.benefit-amount {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 48px;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}

.benefit-amount-sub {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-white);
}

.benefit-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Divider */
.section-divider {
  height: 1px;
  background: var(--border-dark);
  margin: 0;
}

@media (max-width: 768px) {
  .steps-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }

  .benefit-amount {
    font-size: 36px;
  }
}

/* ============================================================
   BLOG / RATGEBER — Article styles
   ============================================================ */

/* ── Article meta (date, read time, author) ─────────────────── */
.article-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta span {
  line-height: 1;
}

/* ── Article body (prose) ───────────────────────────────────── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-white);
}

.article-body p {
  margin-bottom: var(--space-lg);
}

.article-body h2 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--text-white);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.article-body h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-white);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.article-body ul,
.article-body ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.article-body li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.article-body a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-color: rgba(0, 230, 118, 0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

.article-body a:hover {
  text-decoration-color: var(--green);
}

.article-body strong {
  color: var(--text-white);
  font-weight: 600;
}

.article-body em {
  color: var(--text-muted);
  font-style: italic;
}

/* Price/comparison table inside article body */
.price-table-wrapper {
  overflow-x: auto;
  margin: var(--space-xl) 0;
  border-radius: var(--radius-md);
}

/* ── Article card (index page grid) ────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.article-grid--3 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.article-card:hover {
  border-color: rgba(255, 255, 255, 0.10);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.article-card--compact {
  border-radius: var(--radius-md);
}

.article-card-img {
  background: rgba(0, 230, 118, 0.04);
  padding: var(--space-xl) var(--space-xl) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-dark);
}

.article-card-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-body .article-meta {
  margin-bottom: var(--space-sm);
}

.article-card-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-xs);
}

.article-card-title a {
  color: var(--text-white);
  text-decoration: none;
  transition: color 0.2s;
}

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

.article-card-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.article-read-more {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  transition: gap 0.2s;
}

.article-read-more:hover {
  gap: 8px;
}

/* ── Author box ─────────────────────────────────────────────── */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 720px;
  margin: 0 auto;
}

.author-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
}

.author-info {
  flex: 1;
}

.author-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-white);
  margin-bottom: var(--space-xs);
}

.author-bio {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.author-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.2s;
}

.author-link:hover {
  opacity: 0.8;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-grid--3 {
    grid-template-columns: 1fr;
  }

  .article-body {
    font-size: 16px;
  }

  .author-box {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

/* ============================================================
   HERO ANIMATIONS — Subpage animated backgrounds
   ============================================================ */

/* Base container for all hero animations */
.hero-anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Ensure hero content stays above animation layer */
.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

/* Disable all hero animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .hero-anim * {
    animation: none !important;
    transition: none !important;
  }
}

/* ── 1. Boersenstrom: Animated price chart sine wave ─────────── */
.hero-anim--chart {
  opacity: 0.2;
}

.hero-anim--chart svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-anim--chart .chart-line {
  fill: none;
  stroke: #00E676;
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.8));
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: chartDraw 3s ease-in-out forwards, chartPulse 6s ease-in-out 3s infinite;
}

.hero-anim--chart .chart-line-2 {
  fill: none;
  stroke: #FFB300;
  stroke-width: 1.5;
  opacity: 0.5;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: chartDraw2 3.5s ease-in-out 0.5s forwards, chartPulse2 6s ease-in-out 4s infinite;
}

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes chartDraw2 {
  to { stroke-dashoffset: 0; }
}

@keyframes chartPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes chartPulse2 {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.25; }
}

/* ── 2. Gewerbespeicher / city / industry: Battery cells grid ── */
.hero-anim--battery {
  opacity: 0.18;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 40px;
  gap: 6px;
}

.hero-anim--battery .batt-grid {
  display: grid;
  grid-template-columns: repeat(8, 20px);
  grid-template-rows: repeat(5, 20px);
  gap: 4px;
}

.hero-anim--battery .batt-cell {
  border-radius: 3px;
  background: rgba(0, 230, 118, 0.15);
  border: 1px solid rgba(0, 230, 118, 0.25);
  animation: battFill 0.4s ease forwards, battPulse 4s ease-in-out 5s infinite;
}

.hero-anim--battery .batt-cell:nth-child(1)  { animation-delay: 0.1s, 5.0s; }
.hero-anim--battery .batt-cell:nth-child(2)  { animation-delay: 0.2s, 5.1s; }
.hero-anim--battery .batt-cell:nth-child(3)  { animation-delay: 0.3s, 5.2s; }
.hero-anim--battery .batt-cell:nth-child(4)  { animation-delay: 0.4s, 5.3s; }
.hero-anim--battery .batt-cell:nth-child(5)  { animation-delay: 0.5s, 5.4s; }
.hero-anim--battery .batt-cell:nth-child(6)  { animation-delay: 0.6s, 5.5s; }
.hero-anim--battery .batt-cell:nth-child(7)  { animation-delay: 0.7s, 5.6s; }
.hero-anim--battery .batt-cell:nth-child(8)  { animation-delay: 0.8s, 5.7s; }
.hero-anim--battery .batt-cell:nth-child(9)  { animation-delay: 0.9s, 5.8s; }
.hero-anim--battery .batt-cell:nth-child(10) { animation-delay: 1.0s, 5.9s; }
.hero-anim--battery .batt-cell:nth-child(11) { animation-delay: 1.1s, 6.0s; }
.hero-anim--battery .batt-cell:nth-child(12) { animation-delay: 1.2s, 6.1s; }
.hero-anim--battery .batt-cell:nth-child(13) { animation-delay: 1.3s, 6.2s; }
.hero-anim--battery .batt-cell:nth-child(14) { animation-delay: 1.4s, 6.3s; }
.hero-anim--battery .batt-cell:nth-child(15) { animation-delay: 1.5s, 6.4s; }
.hero-anim--battery .batt-cell:nth-child(16) { animation-delay: 1.6s, 6.5s; }
.hero-anim--battery .batt-cell:nth-child(17) { animation-delay: 1.7s, 6.6s; }
.hero-anim--battery .batt-cell:nth-child(18) { animation-delay: 1.8s, 6.7s; }
.hero-anim--battery .batt-cell:nth-child(19) { animation-delay: 1.9s, 6.8s; }
.hero-anim--battery .batt-cell:nth-child(20) { animation-delay: 2.0s, 6.9s; }
.hero-anim--battery .batt-cell:nth-child(21) { animation-delay: 2.1s, 7.0s; }
.hero-anim--battery .batt-cell:nth-child(22) { animation-delay: 2.2s, 7.1s; }
.hero-anim--battery .batt-cell:nth-child(23) { animation-delay: 2.3s, 7.2s; }
.hero-anim--battery .batt-cell:nth-child(24) { animation-delay: 2.4s, 7.3s; }
.hero-anim--battery .batt-cell:nth-child(25) { animation-delay: 2.5s, 7.4s; }
.hero-anim--battery .batt-cell:nth-child(26) { animation-delay: 2.6s, 7.5s; }
.hero-anim--battery .batt-cell:nth-child(27) { animation-delay: 2.7s, 7.6s; }
.hero-anim--battery .batt-cell:nth-child(28) { animation-delay: 2.8s, 7.7s; }
.hero-anim--battery .batt-cell:nth-child(29) { animation-delay: 2.9s, 7.8s; }
.hero-anim--battery .batt-cell:nth-child(30) { animation-delay: 3.0s, 7.9s; }
.hero-anim--battery .batt-cell:nth-child(31) { animation-delay: 3.1s, 8.0s; }
.hero-anim--battery .batt-cell:nth-child(32) { animation-delay: 3.2s, 8.1s; }
.hero-anim--battery .batt-cell:nth-child(33) { animation-delay: 3.3s, 8.2s; }
.hero-anim--battery .batt-cell:nth-child(34) { animation-delay: 3.4s, 8.3s; }
.hero-anim--battery .batt-cell:nth-child(35) { animation-delay: 3.5s, 8.4s; }
.hero-anim--battery .batt-cell:nth-child(36) { animation-delay: 3.6s, 8.5s; }
.hero-anim--battery .batt-cell:nth-child(37) { animation-delay: 3.7s, 8.6s; }
.hero-anim--battery .batt-cell:nth-child(38) { animation-delay: 3.8s, 8.7s; }
.hero-anim--battery .batt-cell:nth-child(39) { animation-delay: 3.9s, 8.8s; }
.hero-anim--battery .batt-cell:nth-child(40) { animation-delay: 4.0s, 8.9s; }

@keyframes battFill {
  from {
    background: rgba(0, 230, 118, 0.05);
    border-color: rgba(0, 230, 118, 0.15);
  }
  to {
    background: rgba(0, 230, 118, 0.4);
    border-color: rgba(0, 230, 118, 0.6);
  }
}

@keyframes battPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ── 3. IAB: Animated conic-gradient pie chart ──────────────── */
.hero-anim--pie {
  opacity: 0.2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
}

.hero-anim--pie .pie-ring {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.2);
  animation: pieFill 2.5s ease-out forwards, piePulse 5s ease-in-out 3s infinite;
}

.hero-anim--pie .pie-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    #00E676 0deg 1deg,
    rgba(255, 255, 255, 0.08) 1deg
  );
  animation: pieGrow 2.5s ease-out forwards;
}

.hero-anim--pie .pie-ring::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  background: var(--bg-page);
  z-index: 1;
}

@keyframes pieGrow {
  from {
    background: conic-gradient(
      #00E676 0deg 1deg,
      rgba(255, 255, 255, 0.08) 1deg
    );
  }
  to {
    background: conic-gradient(
      #00E676 0deg 180deg,
      rgba(255, 255, 255, 0.08) 180deg
    );
  }
}

@keyframes pieFill {
  0% { box-shadow: 0 0 20px rgba(0, 230, 118, 0.1); }
  100% { box-shadow: 0 0 40px rgba(0, 230, 118, 0.3); }
}

@keyframes piePulse {
  0%, 100% { box-shadow: 0 0 40px rgba(0, 230, 118, 0.2); }
  50% { box-shadow: 0 0 60px rgba(0, 230, 118, 0.4); }
}

/* ── 4. Peak Shaving: Animated bar chart ────────────────────── */
.hero-anim--bars {
  opacity: 0.2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 60px 0 0;
  gap: 8px;
}

.hero-anim--bars .bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100%;
  padding-bottom: 20px;
}

.hero-anim--bars .bar {
  width: 28px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(0, 230, 118, 0.5), rgba(0, 230, 118, 0.2));
  transform-origin: bottom;
  transform: scaleY(0);
  animation: barGrow 1s ease-out forwards, barShave 6s ease-in-out 3s infinite;
}

.hero-anim--bars .bar:nth-child(1) { height: 60%;  animation-delay: 0.0s, 3.0s; }
.hero-anim--bars .bar:nth-child(2) { height: 80%;  animation-delay: 0.1s, 3.1s; }
.hero-anim--bars .bar:nth-child(3) { height: 100%; animation-delay: 0.2s, 3.2s; background: linear-gradient(to top, rgba(255, 179, 0, 0.5), rgba(255, 179, 0, 0.2)); animation: barGrow 1s ease-out 0.2s forwards, barShavePeak 6s ease-in-out 3.2s infinite; }
.hero-anim--bars .bar:nth-child(4) { height: 90%;  animation-delay: 0.3s, 3.3s; }
.hero-anim--bars .bar:nth-child(5) { height: 70%;  animation-delay: 0.4s, 3.4s; }
.hero-anim--bars .bar:nth-child(6) { height: 50%;  animation-delay: 0.5s, 3.5s; }
.hero-anim--bars .bar:nth-child(7) { height: 65%;  animation-delay: 0.6s, 3.6s; }

@keyframes barGrow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes barShave {
  0%   { transform: scaleY(1); }
  30%  { transform: scaleY(0.75); }
  50%  { transform: scaleY(0.75); }
  100% { transform: scaleY(1); }
}

@keyframes barShavePeak {
  0%   { transform: scaleY(1); background: linear-gradient(to top, rgba(255, 179, 0, 0.5), rgba(255, 179, 0, 0.2)); }
  30%  { transform: scaleY(0.6); background: linear-gradient(to top, rgba(0, 230, 118, 0.6), rgba(0, 230, 118, 0.3)); }
  50%  { transform: scaleY(0.6); background: linear-gradient(to top, rgba(0, 230, 118, 0.6), rgba(0, 230, 118, 0.3)); }
  100% { transform: scaleY(1); background: linear-gradient(to top, rgba(255, 179, 0, 0.5), rgba(255, 179, 0, 0.2)); }
}

/* ── 5. Rechner: Animated calculator display ────────────────── */
.hero-anim--calc {
  opacity: 0.15;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8%;
}

.hero-anim--calc .calc-display {
  font-family: 'Courier New', monospace;
  font-size: 48px;
  font-weight: 700;
  color: #00E676;
  text-shadow: 0 0 20px rgba(0, 230, 118, 0.6);
  animation: calcBlink 3s ease-in-out infinite;
  letter-spacing: 0.05em;
}

@keyframes calcBlink {
  0%, 85%, 100% { opacity: 1; }
  45%            { opacity: 0.2; }
  50%            { opacity: 1; }
}

/* ── 6. Ablauf: Timeline dots lighting up sequentially ──────── */
.hero-anim--timeline {
  opacity: 0.22;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-anim--timeline .tl-track {
  display: flex;
  align-items: center;
}

.hero-anim--timeline .tl-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.15);
  border: 2px solid rgba(0, 230, 118, 0.3);
  flex-shrink: 0;
  animation: tlLight 1s ease-out forwards, tlPulse 4s ease-in-out infinite;
}

.hero-anim--timeline .tl-line {
  width: 80px;
  height: 2px;
  background: rgba(0, 230, 118, 0.15);
  animation: tlLineGrow 0.8s ease-out forwards;
  transform-origin: left;
  transform: scaleX(0);
}

.hero-anim--timeline .tl-dot:nth-child(1)  { animation-delay: 0.0s, 4.0s; }
.hero-anim--timeline .tl-line:nth-child(2) { animation-delay: 0.6s; }
.hero-anim--timeline .tl-dot:nth-child(3)  { animation-delay: 0.8s, 4.8s; }
.hero-anim--timeline .tl-line:nth-child(4) { animation-delay: 1.4s; }
.hero-anim--timeline .tl-dot:nth-child(5)  { animation-delay: 1.6s, 5.6s; }
.hero-anim--timeline .tl-line:nth-child(6) { animation-delay: 2.2s; }
.hero-anim--timeline .tl-dot:nth-child(7)  { animation-delay: 2.4s, 6.4s; }

@keyframes tlLight {
  from {
    background: rgba(0, 230, 118, 0.05);
    border-color: rgba(0, 230, 118, 0.2);
  }
  to {
    background: #00E676;
    border-color: #00E676;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.8);
  }
}

@keyframes tlLineGrow {
  from { transform: scaleX(0); background: rgba(0, 230, 118, 0.1); }
  to   { transform: scaleX(1); background: rgba(0, 230, 118, 0.4); }
}

@keyframes tlPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(0, 230, 118, 0.8); }
  50%       { box-shadow: 0 0 20px rgba(0, 230, 118, 1.0); }
}

/* ── 7. Kontakt: Animated gradient mesh ─────────────────────── */
.hero-anim--gradient {
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% {
    background:
      radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0, 230, 118, 0.07) 0%, transparent 70%),
      radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 230, 118, 0.04) 0%, transparent 60%);
  }
  33% {
    background:
      radial-gradient(ellipse 55% 65% at 70% 30%, rgba(0, 230, 118, 0.09) 0%, transparent 70%),
      radial-gradient(ellipse 45% 35% at 30% 70%, rgba(0, 230, 118, 0.05) 0%, transparent 60%);
  }
  66% {
    background:
      radial-gradient(ellipse 65% 55% at 60% 70%, rgba(0, 230, 118, 0.06) 0%, transparent 70%),
      radial-gradient(ellipse 35% 50% at 40% 30%, rgba(0, 230, 118, 0.08) 0%, transparent 60%);
  }
}

/* ── 8. Ueber uns: Network dots pulsing ─────────────────────── */
.hero-anim--network {
  opacity: 0.18;
}

.hero-anim--network svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-anim--network .net-line {
  stroke: rgba(0, 230, 118, 0.4);
  stroke-width: 1;
  animation: netLinePulse 4s ease-in-out infinite;
}

.hero-anim--network .net-dot {
  fill: rgba(0, 230, 118, 0.6);
  animation: netDotPulse 3s ease-in-out infinite;
}

.hero-anim--network .net-line:nth-child(2n)  { animation-delay: 0.5s; }
.hero-anim--network .net-line:nth-child(3n)  { animation-delay: 1.0s; }
.hero-anim--network .net-dot:nth-child(4n)   { animation-delay: 0.7s; }
.hero-anim--network .net-dot:nth-child(5n)   { animation-delay: 1.4s; }
.hero-anim--network .net-dot:nth-child(6n)   { animation-delay: 2.1s; }

@keyframes netLinePulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.8; }
}

@keyframes netDotPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1.0; transform: scale(1.5); }
}

/* ── 9. Ratgeber: Typewriter text lines ─────────────────────── */
.hero-anim--typewriter {
  opacity: 0.15;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8%;
}

.hero-anim--typewriter .tw-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 280px;
}

.hero-anim--typewriter .tw-line {
  height: 3px;
  border-radius: 2px;
  background: rgba(0, 230, 118, 0.4);
  transform-origin: left;
  transform: scaleX(0);
  animation: twType 0.6s ease-out forwards;
}

.hero-anim--typewriter .tw-line:nth-child(1) { width: 100%; animation-delay: 0.2s; }
.hero-anim--typewriter .tw-line:nth-child(2) { width: 85%;  animation-delay: 0.8s; }
.hero-anim--typewriter .tw-line:nth-child(3) { width: 95%;  animation-delay: 1.4s; }
.hero-anim--typewriter .tw-line:nth-child(4) { width: 70%;  animation-delay: 2.0s; }
.hero-anim--typewriter .tw-line:nth-child(5) { width: 90%;  animation-delay: 2.6s; }
.hero-anim--typewriter .tw-line:nth-child(6) { width: 60%;  animation-delay: 3.2s; }

.hero-anim--typewriter .tw-cursor {
  width: 3px;
  height: 20px;
  background: #00E676;
  margin-top: 4px;
  box-shadow: 0 0 8px rgba(0, 230, 118, 0.8);
  animation: twCursor 1s step-start infinite;
}

@keyframes twType {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes twCursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ── 10. Leitfaden: Bouncing download arrow ─────────────────── */
.hero-anim--download {
  opacity: 0.2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
}

.hero-anim--download .dl-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: dlBounce 2s ease-in-out infinite;
}

.hero-anim--download .dl-stem {
  width: 8px;
  height: 40px;
  background: rgba(0, 230, 118, 0.6);
  border-radius: 4px;
}

.hero-anim--download .dl-arrow {
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 32px solid rgba(0, 230, 118, 0.6);
  filter: drop-shadow(0 4px 12px rgba(0, 230, 118, 0.4));
}

.hero-anim--download .dl-base {
  width: 80px;
  height: 4px;
  background: rgba(0, 230, 118, 0.4);
  border-radius: 2px;
  animation: dlBaseGlow 2s ease-in-out infinite;
}

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

@keyframes dlBaseGlow {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.9; box-shadow: 0 0 16px rgba(0, 230, 118, 0.6); }
}

/* ── 11. Empfehlung: Connecting chain dots ──────────────────── */
.hero-anim--chain {
  opacity: 0.2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-anim--chain .chain-track {
  display: flex;
  align-items: center;
}

.hero-anim--chain .chain-node {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.2);
  border: 2px solid rgba(0, 230, 118, 0.4);
  flex-shrink: 0;
  animation: chainPulse 2s ease-in-out infinite;
}

.hero-anim--chain .chain-link {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 230, 118, 0.4), rgba(0, 230, 118, 0.2), rgba(0, 230, 118, 0.4));
  background-size: 200% 100%;
  animation: chainFlow 2s linear infinite;
}

.hero-anim--chain .chain-node:nth-child(1) { animation-delay: 0.0s; }
.hero-anim--chain .chain-node:nth-child(3) { animation-delay: 0.7s; }
.hero-anim--chain .chain-node:nth-child(5) { animation-delay: 1.4s; }
.hero-anim--chain .chain-link:nth-child(2) { animation-delay: 0.3s; }
.hero-anim--chain .chain-link:nth-child(4) { animation-delay: 1.0s; }

@keyframes chainPulse {
  0%, 100% {
    background: rgba(0, 230, 118, 0.2);
    box-shadow: none;
  }
  50% {
    background: rgba(0, 230, 118, 0.5);
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.6);
  }
}

@keyframes chainFlow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* ── Ratgeber articles: subtle gradient pulse ───────────────── */
.hero-anim--article {
  animation: articleGlow 6s ease-in-out infinite;
}

@keyframes articleGlow {
  0%, 100% {
    background: radial-gradient(ellipse 50% 80% at 100% 50%, rgba(0, 230, 118, 0.04) 0%, transparent 70%);
  }
  50% {
    background: radial-gradient(ellipse 55% 85% at 95% 45%, rgba(0, 230, 118, 0.07) 0%, transparent 70%);
  }
}

/* ── Static/utility pages: minimal glow ────────────────────── */
.hero-anim--subtle {
  animation: subtleGlow 8s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% {
    background: radial-gradient(ellipse 70% 70% at 50% 100%, rgba(0, 230, 118, 0.03) 0%, transparent 60%);
  }
  50% {
    background: radial-gradient(ellipse 75% 75% at 55% 95%, rgba(0, 230, 118, 0.06) 0%, transparent 60%);
  }
}

/* ============================================================
   34. LIGHT MODE — automatic via prefers-color-scheme: light
   ============================================================ */

/* ── 34.1 Color token overrides ─────────────────────────────── */
@media (prefers-color-scheme: light) {
  :root {
    --bg-page:        #F8F9FA;
    --bg-card:        #FFFFFF;
    --bg-footer:      #F0F1F3;
    --text-white:     #1A1A2E;
    --text-muted:     rgba(0, 0, 0, 0.55);
    --text-dark:      #1A1A2E;
    --text-body-light: rgba(0, 0, 0, 0.72);
    --green:          #00C853;
    --green-dark:     #00A844;
    --green-soft:     rgba(0, 200, 83, 0.08);
    --amber:          #F59E0B;
    --amber-soft:     rgba(245, 158, 11, 0.1);
    --border-dark:    rgba(0, 0, 0, 0.08);
    --border-light:   rgba(0, 0, 0, 0.12);
  }

  /* ── 34.2 Navigation ──────────────────────────────────────── */
  nav::before {
    background: rgba(255, 255, 255, 0.90);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 0 rgba(0, 0, 0, 0.06) inset;
  }

  nav.scrolled::before {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.10);
  }

  .nav-dropdown-menu {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a.active {
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-toggle span {
    background: var(--text-white);
  }

  /* ── 34.3 Buttons ─────────────────────────────────────────── */
  /* btn-primary text is already --bg-card (now #FFF) which looks wrong on green.
     Force it dark so green button stays legible. */
  .btn-primary {
    color: #FFFFFF;
  }

  .btn-secondary {
    border-color: rgba(0, 0, 0, 0.20);
    color: var(--text-white);
  }

  .btn-secondary:hover {
    border-color: var(--green);
    color: var(--green);
  }

  .btn-secondary-dark {
    border-color: rgba(0, 0, 0, 0.20);
    color: var(--text-white);
  }

  .btn-secondary-dark:hover {
    border-color: var(--green);
    color: var(--green);
  }

  /* ── 34.4 Cards ───────────────────────────────────────────── */
  .card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.05);
  }

  .card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10), 0 0 0 1px rgba(0, 0, 0, 0.05);
  }

  .calc-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .form-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .step-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }

  .article-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }

  .article-card:hover {
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  }

  .author-box {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }

  .benefit-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }

  /* ── 34.5 Homepage hero — ALWAYS stays dark (video bg) ───── */
  .hero {
    background: #090A0B !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .hero h1,
  .hero h2,
  .hero h3,
  .hero h4 {
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .hero .hero-sub,
  .hero p,
  .hero .text-muted,
  .hero .muted {
    color: rgba(255, 255, 255, 0.55) !important;
  }

  .hero .label {
    color: rgba(255, 255, 255, 0.55) !important;
  }

  /* ── 34.6 Section helpers in light mode ───────────────────── */
  .section-dark {
    background: #EDEEF0;
  }

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

  /* ── 34.7 Form inputs ─────────────────────────────────────── */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea,
  select {
    background: #FFFFFF;
    color: var(--text-white);
    border-color: rgba(0, 0, 0, 0.15);
  }

  input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="tel"]:focus,
  input[type="number"]:focus,
  textarea:focus,
  select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-soft);
    background-color: #FFFFFF;
  }

  ::placeholder {
    color: rgba(0, 0, 0, 0.35);
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    background: #F8F9FA;
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-white);
  }

  .form-field input::placeholder,
  .form-field textarea::placeholder {
    color: rgba(0, 0, 0, 0.30);
  }

  .form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(0,0,0,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  }

  .form-field select option {
    background: #FFFFFF;
    color: #1A1A2E;
  }

  .calc-select {
    background: #FFFFFF;
    color: var(--text-white);
    border-color: rgba(0, 0, 0, 0.12);
  }

  /* ── 34.8 Range slider ────────────────────────────────────── */
  input[type="range"] {
    background: linear-gradient(to right, var(--green) var(--progress), rgba(0, 0, 0, 0.10) var(--progress));
  }

  /* ── 34.9 Tables ──────────────────────────────────────────── */
  .spec-table tr:hover td,
  .cmp-table tr:hover td {
    background: rgba(0, 0, 0, 0.03);
  }

  /* ── 34.10 Floating CTA ───────────────────────────────────── */
  .floating-cta {
    box-shadow: 0 4px 24px rgba(0, 200, 83, 0.25);
    color: #FFFFFF;
  }

  .floating-cta:hover {
    box-shadow: 0 8px 32px rgba(0, 200, 83, 0.35);
  }

  /* ── 34.11 WhatsApp FAB — keeps its green regardless ─────── */
  .whatsapp-fab {
    background: #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.40);
  }

  .whatsapp-fab-tooltip {
    background: #1A1F2E;
    color: rgba(255, 255, 255, 0.92);
  }

  .whatsapp-fab-tooltip::after {
    border-left-color: #1A1F2E;
  }

  /* ── 34.12 Hero grid bg overlay (page-hero sections) ─────── */
  .hero-grid-bg {
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  }

  /* ── 34.13 Calculator inner boxes ────────────────────────── */
  .calc-investment-box {
    background: rgba(0, 0, 0, 0.03);
  }

  .calc-invest-row {
    background: rgba(0, 0, 0, 0.03);
  }

  /* ── 34.14 Lastprofil chart ───────────────────────────────── */
  .lastprofil-chart-inner {
    background: rgba(0, 0, 0, 0.02);
  }

  .lastprofil-bar-wrap .lastprofil-bar {
    background: rgba(0, 0, 0, 0.12);
  }

  /* ── 34.15 Cookie banner ──────────────────────────────────── */
  .cookie-banner {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  }

  /* ── 34.16 Warning box ────────────────────────────────────── */
  .warning-box {
    color: #1A1A2E;
  }

  /* ── 34.17 Mobile menu ────────────────────────────────────── */
  .mobile-menu {
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  }

  /* ── 34.18 Calc skeleton shimmer ──────────────────────────── */
  .calc-skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, rgba(0, 0, 0, 0.04) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
  }

  /* ── 34.19 Selection color ────────────────────────────────── */
  ::selection {
    background: rgba(0, 200, 83, 0.20);
  }

  /* ── 34.20 Device mockup (app-screen stays dark by design) ── */
  /* .device-mockup and .app-screen intentionally keep dark colors
     as they simulate a phone screen UI — no overrides needed */
}

/* ════════════════════════════════════════════════════════════════════════
   35. HOMEPAGE REDESIGN — Tibber-inspired (2026-03)
   ════════════════════════════════════════════════════════════════════════ */

/* ── Overline label ─────────────────────────────────────────────── */
.overline {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ── Section utilities ──────────────────────────────────────────── */
.section-darker {
  background: var(--bg);
  padding: 120px 0;
}
.section-sub {
  color: var(--text-muted);
  font-size: 18px;
  margin-top: 8px;
  margin-bottom: 40px;
}

/* ── Hero redesign ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 0 60px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(0,212,126,0.05) 0%, rgba(10,10,12,0.99) 70%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: var(--font-headline);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-white);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}
.hero-trust span {
  white-space: nowrap;
}

/* ── Hero chart ─────────────────────────────────────────────────── */
.hero-chart {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 120px;
  width: 100%;
  max-width: 900px;
  margin: 48px auto 0;
  padding: 0 20px;
  opacity: 0.6;
}
.chart-bar {
  flex: 1;
  height: var(--h, 50%);
  background: var(--amber);
  border-radius: 3px 3px 0 0;
  position: relative;
  animation: barGrow 0.8s ease forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}
.chart-bar.negative { background: #ef4444; }
.chart-bar.low { background: #6EFCB9; }
.chart-bar.high { background: #F59E0B; }
.chart-bar span {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.hero-chart:hover .chart-bar span { opacity: 1; }

@keyframes barGrow {
  to { transform: scaleY(1); }
}

/* ── Buttons Premium style (pill form) ──────────────────────────── */
.btn-primary {
  background: var(--accent);
  color: var(--bg-page);
  font-weight: 600;
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.btn-primary:hover {
  background: var(--accent-dark);
  opacity: 0.92;
}
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text-white);
  border-radius: 100px;
  padding: 14px 28px;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-block {
  width: 100%;
  justify-content: center;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ── Grid layouts ───────────────────────────────────────────────── */
.grid-2-asymmetric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .grid-2-asymmetric { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Check list (Section 2) ─────────────────────────────────────── */
.check-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.check-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}
.check-item p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}
.check-item strong {
  color: var(--text-white);
}

/* ── macOS Window (Section 2 right) ─────────────────────────────── */
.mac-window {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
}
.mac-titlebar {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--surface-2);
  gap: 12px;
}
.mac-dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.dot-red { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.dot-yellow { width: 12px; height: 12px; border-radius: 50%; background: #FEBC2E; }
.dot-green { width: 12px; height: 12px; border-radius: 50%; background: #28C840; }
.mac-title {
  flex: 1;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}
.price-clock-live {
  color: var(--accent);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  animation: livePulse 2s ease infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.mac-window .price-bars { padding: 20px 18px 8px; }
.mac-window .price-labels { padding: 0 18px 8px; }
.mac-window .price-status { margin: 0 18px 18px; }
.price-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 140px;
  margin-bottom: 8px;
}
.pbar {
  flex: 1;
  background: var(--amber);
  border-radius: 2px 2px 0 0;
  min-width: 0;
  animation: barGrow 0.6s ease forwards;
  transform-origin: bottom;
  transform: scaleY(0);
}
.pbar-neg { background: #ef4444; }
.pbar-high { background: var(--amber); }
.price-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.price-status {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(12,227,144,0.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-muted);
}
.price-status strong { color: var(--accent); }
.price-status-icon.charging {
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Hebel cards (Section 3) ────────────────────────────────────── */
.hebel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.hebel-card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 16px;
  padding: 32px;
  border-top: 3px solid var(--accent-top, var(--accent));
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hebel-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 212, 126, 0.25);
}
.hebel-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(12,227,144,0.12);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.hebel-icon {
  font-size: 32px;
  margin-bottom: 12px;
  opacity: 0.6;
}
.hebel-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}
.hebel-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.hebel-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .hebel-grid { grid-template-columns: 1fr; }
}

/* ── Calculator redesign (Section 4) ────────────────────────────── */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 32px;
}
.calc-inputs {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-right: 1px solid var(--surface-2);
}
.calc-results {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.calc-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.calc-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.calc-select {
  width: 100%;
  background: var(--surface-2);
  color: #fff;
  border: 1px solid var(--surface-3);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23a3a9b1'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.calc-main-num { margin-bottom: 4px; }
.big-num {
  font-size: 72px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.calc-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.calc-yearly {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 8px 0 24px;
}
.calc-stats-row {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  width: 100%;
  justify-content: center;
}
.calc-stat {
  text-align: center;
}
.calc-stat-num {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.calc-trust {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 12px;
}
@media (max-width: 768px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-inputs { border-right: none; border-bottom: 1px solid var(--surface-2); }
  .big-num { font-size: 48px; }
}

/* ── Range slider Tibber-style ──────────────────────────────────── */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--surface-3);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: var(--progress, 50%) 100%;
  background-repeat: no-repeat;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid #090a0b;
  box-shadow: 0 0 0 2px var(--accent);
}
input[type="range"]::-moz-range-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: 3px solid #090a0b;
  box-shadow: 0 0 0 2px var(--accent);
}

/* ── Bento grid (Section 5) ─────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 40px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(12,227,144,0.3);
}
.bento-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}
.bento-large h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.bento-large p {
  color: var(--text-muted);
  line-height: 1.6;
}
.bento-emoji {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
}
.bento-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.bento-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
a.bento-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
a.bento-link:hover h4 { color: var(--accent); }
.hebel-card h3 a { color: inherit; text-decoration: none; }
.hebel-card h3 a:hover { color: var(--accent); }
@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: auto; grid-row: auto; }
}

/* ── Product visual (Section 6) ─────────────────────────────────── */
.product-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}
.product-battery {
  width: 200px;
  text-align: center;
}
.product-battery-body {
  background: var(--surface);
  border: 2px solid var(--surface-2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-battery-cell {
  height: 32px;
  background: linear-gradient(90deg, var(--accent), rgba(12,227,144,0.4));
  border-radius: 4px;
  animation: cellPulse 2s ease infinite;
}
.product-battery-cell:nth-child(2) { animation-delay: 0.2s; opacity: 0.85; }
.product-battery-cell:nth-child(3) { animation-delay: 0.4s; opacity: 0.7; }
.product-battery-cell:nth-child(4) { animation-delay: 0.6s; opacity: 0.5; }
.product-battery-cell:nth-child(5) { animation-delay: 0.8s; opacity: 0.3; }
@keyframes cellPulse {
  0%, 100% { opacity: var(--cell-opacity, 1); }
  50% { opacity: calc(var(--cell-opacity, 1) * 0.6); }
}
.product-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Feature list (Section 6) ───────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text-muted);
}
.feature-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 100px;
}

/* ── Contact form (Section 7) ───────────────────────────────────── */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-field input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color 0.2s ease;
}
.form-field input:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field input::placeholder {
  color: var(--text-dim);
}
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
}
.contact-info {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 14px;
  color: var(--text-muted);
}
.contact-info a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-info a:hover { color: var(--accent); }

/* ── Logo SVG ───────────────────────────────────────────────────── */
.logo-svg {
  height: 40px;
  width: auto;
  display: block;
}

/* ── Smooth scroll ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Mobile hero ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero h1 { font-size: clamp(36px, 9vw, 48px); }
  .hero-sub { font-size: 17px; }
  .hero-chart { height: 80px; margin-top: 32px; }
  .section-dark, .section-darker { padding: 64px 0; }
  .hero-trust { flex-direction: column; align-items: center; gap: 8px; }
}

/* ════════════════════════════════════════════════════════════════════════
   36. DESIGN POLISH — Premium industrial-tech refinements
   ════════════════════════════════════════════════════════════════════════ */

/* ── 36.1 Hero H1 gradient shimmer ────────────────────────────────── */
.hero h1 .gradient-text,
.hero h1.gradient-text {
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #ffffff 40%,
    var(--accent) 60%,
    #ffffff 80%,
    #ffffff 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroShimmer 6s ease-in-out infinite;
}

@keyframes heroShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* ── 36.2 Hero trust badges (uppercase, small, subtle) ────────────── */
.hero-trust {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── 36.3 Hero chart bottom gradient fade ─────────────────────────── */
.hero-chart {
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

/* ── 36.4 Button glow effects ─────────────────────────────────────── */
.btn-primary {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  box-shadow: 0 2px 16px rgba(12, 227, 144, 0.2);
}
.btn-primary:hover {
  box-shadow: 0 4px 28px rgba(12, 227, 144, 0.4), 0 0 0 1px rgba(12, 227, 144, 0.15);
}
.btn-secondary {
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

/* ── 36.5 Section alternating backgrounds for visual rhythm ───────── */
.section-alt {
  background: rgba(255, 255, 255, 0.02);
}

/* ── 36.6 Nav link hover underline effect ─────────────────────────── */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 1px;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* ── 36.7 Card icon pulse on card hover ───────────────────────────── */
.card:hover .card-icon {
  background: rgba(12, 227, 144, 0.18);
  transition: background 0.3s ease;
}

/* ── 36.8 Feature card image zoom on hover ────────────────────────── */
.feature-card-img img {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover .feature-card-img img {
  transform: scale(1.04);
}

/* ── 36.9 Testimonial card left accent border ─────────────────────── */
.testimonial-card {
  border-left: 3px solid rgba(12, 227, 144, 0.2);
  transition: border-color 0.3s ease;
}
.testimonial-card:hover {
  border-left-color: var(--green);
}

/* ── 36.10 Link hover transitions (global) ────────────────────────── */
a {
  transition: color 0.2s ease;
}

/* ── 36.11 Stats bar number tabular ───────────────────────────────── */
.stat-num {
  font-variant-numeric: tabular-nums;
}

/* ── 36.12 Bento / Hebel card hover ──────────────────────────────── */
.hebel-card:hover,
.bento-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── 36.13 CTA banner subtle top glow ─────────────────────────────── */
.cta-banner {
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 126, 0.15), transparent);
}

/* ── 36.14 FAQ item hover highlight ───────────────────────────────── */
.faq-item {
  transition: background 0.2s ease;
  border-radius: var(--radius-sm);
  padding-left: 12px;
  padding-right: 12px;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* ── 36.15 Step card number ────────────────────────────────────────── */
.step-number {
  transition: box-shadow 0.3s ease;
}

/* ── 36.16 Floating CTA ───────────────────────────────────────── */
.floating-cta {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ── 36.17 Article card read-more arrow animation ─────────────────── */
.article-read-more::after {
  content: '\2192';
  display: inline-block;
  transition: transform 0.2s ease;
}
.article-read-more:hover::after {
  transform: translateX(4px);
}

/* ── 36.18 Hero badge ─────────────────────────────────────────── */

/* ── 36.19 Mac window subtle float ────────────────────────────────── */
.mac-window {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mac-window:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ── 36.20 Improved section spacing ───────────────────────────────── */
.section-darker {
  padding: 140px 0;
}

/* ── 36.21 Timeline dot hover ─────────────────────────────────────── */

/* ── 36.22 Benefit card hover lift ────────────────────────────────── */
.benefit-card {
  transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ── 36.23 Form card glow on focus-within ─────────────────────────── */
.form-card:focus-within {
  border-color: rgba(12, 227, 144, 0.2);
  box-shadow: 0 0 0 1px rgba(12, 227, 144, 0.08);
}

/* ── 36.24 Dot-grid pattern utility for depth ─────────────────────── */
.dot-grid-bg {
  position: relative;
}
.dot-grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

/* ── 36.25 Mobile touch targets ───────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links a,
  .nav-dropdown-trigger {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .faq-q {
    min-height: 48px;
  }

  .footer-col a {
    padding: 4px 0;
  }
}

/* ── 36.26 Print optimization ─────────────────────────────────────── */
@media print {
  nav, .nav-wrapper, .floating-cta, .whatsapp-fab, .cookie-banner, .hero-anim { display: none; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
}
