/* ==========================================================================
   MainSolar – Stylesheet
   Sachlicher, hochwertiger Auftritt eines etablierten Fachbetriebs: klare Typografie, ruhige Flächen,
   kantige Formen, Farbe gezielt als Akzent. Farben ausschließlich aus dem Logo:
   Modul-Blau (Tief- bis Hellblau) als Hauptfarbe, Sonnengelb/Gold/Orange nur für Handlungsaufrufe und Akzente.
   Bewegung: nur dezentes Einblenden beim Scrollen, Zähler und eine Bild-Enthüllung.
   CSP-konform: keine Inline-Styles; dynamische Werte setzt main.js als CSS-Variablen.
   ========================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Blau aus dem Solarmodul des Logos */
  --ink: #032f4b;
  --night: #043f63;
  --navy: #05507f;
  --blue-2: #2f6c96;
  --sky: #5187aa;
  --sky-light: #8fb6d0;
  --mist: #a9c6da;
  --fog: #dbe5ec;
  --paper: #f3f6f9;
  --white: #ffffff;
  /* Sonne aus dem Logo – nur für Akzente */
  --sun: #fcd800;
  --gold: #f0b400;
  --orange: #e48418;
  --text: #0e2a3f;
  --text-soft: #4a6378;
  --text-dark-soft: #c9d9e5;
  --line-dark: rgba(255, 255, 255, 0.16);
  --radius: 8px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  /* Volle Breite: Inhalte nutzen den ganzen Bildschirm, der Seitenabstand wächst mit (16 px Handy … 112 px Großbild) */
  --container: 100%;
  --gutter: clamp(1.5rem, 6vw, 7rem);
  --header-h: 84px;
  /* Schriftskala: fünf Größen mit deutlichen Sprüngen (keine Zwischengrößen anlegen) */
  --fs-s: 0.875rem;                          /* Hinweise, Bildunterschriften, Brotkrümel */
  --fs-m: 1.0625rem;                         /* Fließtext, Karten, Listen */
  --fs-l: 1.3rem;                            /* Einleitungen, Zwischenüberschriften (h3) */
  --fs-xl: clamp(2rem, 3.4vw, 3rem);         /* h2, Kennzahlen */
  --fs-xxl: clamp(2.6rem, 5.6vw, 4.6rem);    /* h1, große Kennzahlen */
  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-m);
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.12; letter-spacing: -0.015em; font-weight: 600; color: inherit; }
h1 { font-size: var(--fs-xxl); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-l); letter-spacing: -0.01em; }
strong { font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(860px + var(--gutter) * 2); }
.center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 0.75rem; left: 0.75rem; z-index: 200; padding: 0.7rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--gold); color: var(--ink); font-weight: 600; transform: translateY(-160%); transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0 1.5rem;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-size: var(--fs-m); font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sun { background: var(--gold); color: var(--ink); }
.btn-sun:hover { background: var(--sun); }
.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.55); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--ink); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-lg { min-height: 58px; padding-inline: 1.9rem; }
.btn-block { width: 100%; }

.link-line { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.link-line:hover { color: var(--blue-2); }


/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; color: var(--white);
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.header-bar { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { flex: none; display: block; width: 148px; }
.brand-logo { width: 148px; height: auto; }
.brand-logo-color { display: none; }

.site-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 0.15rem; }
.nav-list a {
  position: relative; display: block; padding: 0.55rem 0.75rem;
  font-size: var(--fs-m); font-weight: 500; text-decoration: none; white-space: nowrap; opacity: 0.92;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.15rem; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="page"] { opacity: 1; }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-extra { display: none; }
.header-phone { display: none; align-items: center; gap: 0.45rem; font-weight: 600; font-size: var(--fs-m); text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--gold); }
.header-cta { flex: none; min-height: 46px; padding-inline: 1.2rem; font-size: var(--fs-m); }
.nav-toggle { display: none; }

/* Weißer Header beim Scrollen, auf hellen Seiten und bei geöffnetem Menü */
.site-header.is-scrolled, .header-solid .site-header, html.nav-open .site-header {
  background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--fog), 0 10px 30px -20px rgba(3, 47, 75, 0.35);
}
.site-header.is-scrolled .brand-logo-light, .header-solid .brand-logo-light, html.nav-open .brand-logo-light { display: none; }
.site-header.is-scrolled .brand-logo-color, .header-solid .brand-logo-color, html.nav-open .brand-logo-color { display: block; }

@media (min-width: 1600px) { .header-phone { display: inline-flex; } }
@media (max-width: 1240px) { .nav-list a { padding-inline: 0.55rem; font-size: var(--fs-s); } .nav-list a::after { left: 0.55rem; right: 0.55rem; } }

/* ---------- Mobiles Menü -------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --header-h: 70px; }
  .brand, .brand-logo { width: 124px; }
  .header-cta { margin-left: auto; }
  /* Menü-Knopf: schlicht ohne Rahmen, 44 px Tippfläche, Striche bündig mit dem Seitenrand */
  .nav-toggle {
    display: grid; place-items: center end; flex: none; width: 44px; height: 44px; padding: 0; cursor: pointer;
    border: 0; background: transparent; color: inherit; -webkit-tap-highlight-color: transparent;
  }
  .nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--radius-sm); }
  .nav-toggle-bars { position: relative; display: grid; justify-items: end; gap: 6px; width: 26px; }
  .nav-toggle-bars span { display: block; width: 100%; height: 2px; border-radius: 1px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s, width 0.3s var(--ease); }
  .nav-toggle-bars span:nth-child(2) { width: 70%; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 99; margin: 0;
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    padding: 1.2rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    background: var(--white); color: var(--ink); border-top: 1px solid var(--fog);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s 0.3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
  .nav-list { display: block; }
  .nav-list li { border-bottom: 1px solid var(--fog); }
  .nav-list a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: var(--fs-l); font-weight: 500; opacity: 1; }
  .nav-list a::after {
    content: ""; position: static; width: 9px; height: 9px; border: solid var(--sky); border-width: 2px 2px 0 0;
    background: none; transform: rotate(45deg); transition: border-color 0.2s;
  }
  .nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: rotate(45deg); border-color: var(--gold); }
  .nav-list a[aria-current="page"] { color: var(--navy); }
  .nav-extra { display: grid; gap: 1.2rem; }
  .nav-contact { display: grid; gap: 0.7rem; }
  .nav-contact a { display: flex; align-items: center; gap: 0.7rem; color: var(--text-soft); text-decoration: none; }
  .nav-contact .icon { color: var(--navy); }
  html.nav-open { overflow: hidden; }
}
/* Mobiles Menü, modern: dunkles Panel öffnet sich wie ein Vorhang von oben, große nummerierte Punkte steigen
   nacheinander aus einer Maske, Kontakt und Angebot folgen. Bei „Bewegung reduzieren“ ohne Effekte. */
@media (max-width: 1100px) {
  html.nav-open .site-header.site-header { background: var(--ink); color: var(--white); box-shadow: none; }
  html.nav-open .site-header .brand-logo-light { display: block; }
  html.nav-open .site-header .brand-logo-color { display: none; }
  .site-nav {
    background: var(--ink); color: var(--white); border-top: 1px solid var(--line-dark);
    padding-top: 0.6rem; opacity: 1; transform: none; clip-path: inset(0 0 100% 0);
    transition: clip-path 0.5s var(--ease-expo), visibility 0s 0.5s;
  }
  .site-nav.is-open { clip-path: inset(0 0 0 0); transition: clip-path 0.65s var(--ease-expo); }
  .nav-list { counter-reset: nav; }
  .nav-list li { overflow: hidden; border-bottom-color: var(--line-dark); }
  .nav-list a {
    justify-content: flex-start; gap: 1rem; padding: 0.95rem 0;
    font-size: clamp(1.55rem, 6.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.01em; color: var(--white);
  }
  .nav-list a::before {
    counter-increment: nav; content: "0" counter(nav); min-width: 1.8rem;
    font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; color: var(--sky-light);
  }
  .nav-list a::after { margin-left: auto; border-color: var(--sky); }
  .nav-list a[aria-current="page"] { color: var(--gold); }
  .nav-list a[aria-current="page"]::before { color: var(--gold); }
  .nav-contact a { color: var(--text-dark-soft); }
  .nav-contact .icon { color: var(--gold); }
}
@media (max-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .nav-list a { transform: translateY(105%); transition: transform 0.3s var(--ease); }
  .site-nav.is-open .nav-list a { transform: none; transition: transform 0.8s var(--ease-expo); }
  .site-nav.is-open .nav-list li:nth-child(1) a { transition-delay: 0.12s; }
  .site-nav.is-open .nav-list li:nth-child(2) a { transition-delay: 0.17s; }
  .site-nav.is-open .nav-list li:nth-child(3) a { transition-delay: 0.22s; }
  .site-nav.is-open .nav-list li:nth-child(4) a { transition-delay: 0.27s; }
  .site-nav.is-open .nav-list li:nth-child(5) a { transition-delay: 0.32s; }
  .site-nav.is-open .nav-list li:nth-child(6) a { transition-delay: 0.37s; }
  .site-nav.is-open .nav-list li:nth-child(7) a { transition-delay: 0.42s; }
  .nav-extra { opacity: 0; transform: translateY(16px); transition: opacity 0.2s, transform 0.2s; }
  .site-nav.is-open .nav-extra { opacity: 1; transform: none; transition: opacity 0.6s var(--ease) 0.45s, transform 0.8s var(--ease-expo) 0.45s; }
}
@media (max-width: 1100px) and (prefers-reduced-motion: reduce) {
  .site-nav, .site-nav.is-open { clip-path: none; transition: none; }
}

/* Handy: kein Angebots-Button im Header (steht in der festen Kontaktleiste unten) */
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand, .brand-logo { width: 112px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
}

/* ---------- Hinweis ------------------------------------------------------ */
.notice { position: relative; z-index: 5; padding: calc(var(--header-h) + 1.4rem) 0 1rem; background: var(--ink); color: var(--white); }
.notice + .hero, .notice + .page-hero, .notice + .check-hero { padding-top: 2rem; }
.notice-inner { display: flex; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius); border: 1px solid rgba(240, 180, 0, 0.5); background: rgba(240, 180, 0, 0.08); }
.notice-icon { color: var(--gold); }
.notice-title { margin: 0 0 0.25rem; font-weight: 600; }
.notice p:last-child { margin-bottom: 0; }
.notice-links { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Hero (Startseite, Video) ------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(92svh, 720px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  color: var(--white); background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.hero-media picture, .hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster, .hero-video { object-fit: cover; object-position: 50% 45%; transform: translate3d(0, var(--parallax, 0px), 0) scale(1.05); }
.hero-video { opacity: 0; transition: opacity 1s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-media::after {
  /* Abdunklung im Modul-Blau: links kräftig für die Lesbarkeit, rechts offen für das Video */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 47, 75, 0.94) 0%, rgba(3, 47, 75, 0.78) 38%, rgba(3, 47, 75, 0.3) 72%, rgba(3, 47, 75, 0.2) 100%),
    linear-gradient(0deg, rgba(3, 47, 75, 0.85) 0%, transparent 35%);
}
.hero-inner { padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero-inner > * { max-width: 760px; }
.hero h1 { margin-bottom: 1.4rem; }
.hero-kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; margin: 0 0 1.3rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78);
}
.hero-kicker-text { white-space: nowrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.5rem 0.8rem; border-radius: var(--radius-sm);
  background: rgba(3, 47, 75, 0.7); border: 1px solid var(--line-dark); color: var(--white);
}
.hero-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-lead { max-width: 620px; margin-bottom: 2.2rem; font-size: var(--fs-l); line-height: 1.55; color: rgba(255, 255, 255, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-actions-center { justify-content: center; }

.hero h1, .hero-lead, .hero-actions { animation: fade-up 0.9s var(--ease) both; }
.hero h1 { animation-delay: 0.08s; }
.hero-lead { animation-delay: 0.16s; }
.hero-actions { animation-delay: 0.24s; }

.hero-facts-wrap { position: relative; display: flex; align-items: center; gap: 1rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero-facts { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.hero-facts li { display: flex; flex-direction: column; padding: 1.3rem 1.4rem; background: rgba(3, 47, 75, 0.72); }
.hero-facts li:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.hero-facts li:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.hero-facts strong { font-size: var(--fs-xl); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.hero-facts li > span { font-size: var(--fs-s); color: var(--text-dark-soft); }
.video-toggle {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; cursor: pointer;
  border: 0; border-radius: 50%; background: rgba(3, 47, 75, 0.72); color: var(--white);
  transition: background 0.2s, color 0.2s;
}
.video-toggle:hover { background: var(--white); color: var(--ink); }
.video-toggle .icon { width: 1rem; height: 1rem; }
.video-toggle .icon-play, .video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[hidden] { display: none; }

@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 14rem); }
  .hero-media::after { background: linear-gradient(180deg, rgba(3, 47, 75, 0.55) 0%, rgba(3, 47, 75, 0.25) 25%, rgba(3, 47, 75, 0.88) 55%, var(--ink) 100%); }
  .hero-poster, .hero-video { object-position: 50% 30%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-facts li { padding: 1rem; border-radius: 0 !important; }
  .hero-facts li:first-child { border-top-left-radius: var(--radius-sm) !important; }
  .hero-facts li:nth-child(2) { border-top-right-radius: var(--radius-sm) !important; }
  .hero-facts li:nth-child(3) { border-bottom-left-radius: var(--radius-sm) !important; }
  .hero-facts li:last-child { border-bottom-right-radius: var(--radius-sm) !important; }
  .hero-facts-wrap { position: static; align-items: flex-start; }
  .hero .video-toggle { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 1rem); }
}

/* ---------- Herstellerleiste ---------------------------------------------- */
.brands { background: var(--white); }
.brands-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 3rem; padding-block: 1.6rem; }
.brands-label { margin: 0; font-size: var(--fs-m); font-weight: 500; color: var(--text-soft); }
.brands-list { display: flex; flex-wrap: wrap; gap: 0.6rem 2.6rem; }
.brands-list li { font-size: var(--fs-l); font-weight: 600; letter-spacing: 0.04em; color: #7f96a8; }

/* ---------- Sektionen ---------------------------------------------------- */
.section { position: relative; padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.section-light { background: var(--paper); color: var(--text); }
.section-white { background: var(--white); color: var(--text); }
.section-light + .section-light, .section-white + .section-white { padding-top: 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark p { color: var(--text-dark-soft); }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head p { font-size: var(--fs-l); line-height: 1.5; color: var(--text-soft); }
.section-dark .section-head p { color: var(--text-dark-soft); }
.section-head-left { margin-left: 0; text-align: left; }
.section-head-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem 4rem; align-items: end; max-width: none; text-align: left; }
.section-head-split h2 { margin-bottom: 0; }
.section-head-split > p { margin: 0; }
@media (max-width: 880px) { .section-head-split { grid-template-columns: 1fr; } }
.section-actions { display: flex; justify-content: center; margin-top: 3rem; }
.lead { font-size: var(--fs-l); line-height: 1.6; }
.lead-dark { font-size: var(--fs-l); line-height: 1.55; color: var(--text); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-center { align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.check-list { display: grid; gap: 0.8rem; margin: 1.4rem 0 1.8rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.check-list .icon { width: 1.3rem; height: 1.3rem; margin-top: 0.2rem; color: var(--gold); stroke-width: 2.4; }

/* Intro mit Bild-Enthüllung beim Scrollen */
.intro { background: var(--white); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.intro-media { position: relative; margin: 0; }
.intro-media picture { overflow: hidden; border-radius: var(--radius); }
.intro-media img {
  width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: var(--radius);
  clip-path: inset(var(--clip, 0%) round var(--radius)); transform: scale(var(--zoom, 1));
}
@media (max-width: 880px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Leistungs-Karten ---------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .cards {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 1rem;
  }
  .cards::-webkit-scrollbar { display: none; }
  .cards > * { flex: 0 0 84%; scroll-snap-align: start; }
}
.card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--white); color: var(--text); text-decoration: none;
  transition: background-color 0.3s var(--ease);
}
.section-white .card { background: var(--paper); }
.card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--fog); }
.card-media picture, .card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform 0.8s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem 1.6rem 1.6rem; }
.card h3 { margin-bottom: 0.5rem; font-size: var(--fs-l); }
.card p { color: var(--text-soft); font-size: var(--fs-m); }
.read-more { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: auto; padding-top: 0.4rem; font-weight: 600; color: var(--navy); }
.read-more .icon { transition: transform 0.25s var(--ease); }
.card:hover .read-more .icon { transform: translateX(4px); }
.card-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--radius-sm); background: var(--paper); color: var(--navy); }
.card-icon .icon { width: 1.5rem; height: 1.5rem; }

/* Vorteile (auf dunklem und hellem Grund) */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem 2rem; margin-top: 3.5rem; }
.benefit-grid article > .icon { display: block; width: 2rem; height: 2rem; margin-bottom: 1rem; color: var(--gold); }
.benefit-grid .card-icon { margin-bottom: 1rem; background: none; width: auto; height: auto; place-items: start; color: var(--gold); }
.benefit-grid .card-icon .icon { width: 2rem; height: 2rem; }
.benefit-grid h3 { margin-bottom: 0.5rem; font-size: var(--fs-l); }
.benefit-grid p { margin: 0; font-size: var(--fs-m); }
@media (max-width: 1000px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }

/* ---------- Kennzahlen ---------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stats-2 { grid-template-columns: repeat(2, 1fr); }
.stats li { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--night); }
.stats li:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.stats li:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.stats strong { display: block; margin-bottom: 0.5rem; font-size: var(--fs-xxl); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--white); }
.stats li > span { display: block; font-size: var(--fs-m); line-height: 1.45; color: var(--text-dark-soft); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr; }
  .stats li { border-radius: 0 !important; padding: 1.4rem; }
  .stats li:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0 !important; }
  .stats li:last-child { border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important; }
}

/* ---------- Ablauf ------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 1.5rem; }
.process li { position: relative; padding: 2rem 0 0; border-top: 4px solid var(--fog); }
.process li::before {
  /* Fortschrittslinie: füllt sich Schritt für Schritt, sobald der Ablauf ins Bild kommt */
  content: ""; position: absolute; top: -4px; left: 0; width: 100%; height: 4px; background: var(--navy);
  transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease);
}
.process.is-charged li::before { transform: scaleX(1); }
.process.is-charged li:nth-child(2)::before { transition-delay: 0.15s; }
.process.is-charged li:nth-child(3)::before { transition-delay: 0.3s; }
.process.is-charged li:nth-child(4)::before { transition-delay: 0.45s; }
.process.is-charged li:nth-child(5)::before { transition-delay: 0.6s; }
.process-num { display: block; margin-bottom: 0.6rem; font-size: var(--fs-xl); font-weight: 600; line-height: 1; color: var(--gold); }
.process h3 { font-size: var(--fs-l); }
.process p { margin: 0; font-size: var(--fs-m); color: var(--text-soft); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process li { padding: 0 0 2rem 1.6rem; border-top: 0; border-left: 4px solid var(--fog); }
  .process li::before { top: 0; left: -4px; width: 4px; height: 100%; transform: scaleY(0); transform-origin: top; }
  .process.is-charged li::before { transform: scaleY(1); }
}

/* ---------- Solarrechner ------------------------------------------------- */
.calc-section { background: var(--paper); color: var(--text); }
.calc-section p { color: var(--text-soft); }
.calc-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 960px) { .calc-grid { grid-template-columns: 1fr; } }
.calc { padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--radius); background: var(--white); }
.calc-field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0.3rem 1rem; }
.calc-field label { font-weight: 600; color: var(--ink); }
.calc-value { font-size: var(--fs-l); font-weight: 600; color: var(--navy); }
.calc-field input[type="range"] { grid-column: 1 / -1; }
.calc-presets { grid-column: 1 / -1; display: flex; justify-content: space-between; font-size: var(--fs-s); line-height: 1.25; color: var(--text-soft); }
.calc-presets span { text-align: center; }
.calc-presets span:first-child { text-align: left; }
.calc-presets span:last-child { text-align: right; }

input[type="range"] {
  --fill: 22%;
  width: 100%; height: 30px; margin: 0.6rem 0 0.4rem; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 3px;
  background: linear-gradient(var(--navy), var(--navy)) 0 0 / var(--fill) 100% no-repeat, var(--fog);
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--fog); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--navy); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: var(--white); border: 6px solid var(--navy); box-shadow: 0 2px 6px rgba(3, 47, 75, 0.3);
}
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 6px solid var(--navy); }

.calc-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.4rem 0; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 0.7rem; cursor: pointer; font-weight: 500; color: var(--ink); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { position: relative; width: 46px; height: 26px; border-radius: 26px; background: var(--fog); transition: background 0.25s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform 0.25s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.switch input:checked + .switch-ui { background: var(--navy); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--gold); outline-offset: 3px; }
.calc-price { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-m); color: var(--ink); }
.calc-price input { width: 4.6rem; padding: 0.45rem 0.6rem; border-radius: var(--radius-sm); border: 1px solid #c4d3de; background: var(--white); text-align: center; }
.calc-price span { color: var(--text-soft); }

.calc-result { padding-top: 0.6rem; }
.calc-label { display: block; font-size: var(--fs-m); font-weight: 500; color: var(--text-soft); }
.calc-big { display: block; margin: 0.3rem 0; font-size: var(--fs-xxl); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--navy); }
.calc-sub { display: block; font-size: var(--fs-s); color: var(--text-soft); }
.calc-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin: 1.3rem 0 1rem; }
.calc-stats div { padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: var(--paper); }
.calc-stats dt { font-size: var(--fs-s); color: var(--text-soft); }
.calc-stats dd { margin: 0; font-size: var(--fs-l); font-weight: 600; color: var(--ink); }
.calc-meter { height: 4px; margin-bottom: 1.3rem; border-radius: 2px; background: var(--fog); overflow: hidden; }
.calc-meter-fill { display: block; height: 100%; background: var(--gold); transform: scaleX(var(--autarky, 0)); transform-origin: left; transition: transform 0.5s var(--ease); }
.calc-note { margin: 0.9rem 0 0; font-size: var(--fs-s); line-height: 1.45; color: var(--text-soft) !important; }

/* ---------- Kundenstimme ------------------------------------------------- */
.review-section { background: var(--white); }
.review-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.review { position: relative; margin: 0; padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius); background: var(--paper); border-left: 3px solid var(--gold); }
.review-icon { display: block; margin-bottom: 1rem; color: var(--gold); }
.review-icon .icon { width: 2.2rem; height: 2.2rem; }
.review blockquote { margin: 0 0 1.4rem; }
.review blockquote p { font-size: var(--fs-l); font-weight: 400; line-height: 1.35; color: var(--ink); }
.review figcaption { display: flex; flex-direction: column; font-weight: 600; }
.review figcaption span { font-size: var(--fs-s); font-weight: 400; color: var(--text-soft); }
@media (max-width: 880px) { .review-grid { grid-template-columns: 1fr; } }

/* ---------- Region ------------------------------------------------------- */
.region { position: relative; isolation: isolate; padding: clamp(5rem, 11vw, 9rem) 0; color: var(--white); overflow: hidden; }
.region-media { position: absolute; inset: 0; z-index: -1; }
.region-media picture, .region-media img { width: 100%; height: 100%; object-fit: cover; }
.region-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 47, 75, 0.94) 0%, rgba(3, 47, 75, 0.78) 50%, rgba(3, 47, 75, 0.35) 100%); }
.region-card { max-width: 640px; }
.region-card p { color: rgba(255, 255, 255, 0.85); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chips li { padding: 0.35rem 0.8rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.12); font-size: var(--fs-s); }

/* ---------- FAQ ---------------------------------------------------------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-grid .section-head { position: sticky; top: 120px; margin: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }
.faq { display: grid; gap: 6px; }
.faq details { border-radius: var(--radius-sm); background: var(--white); }
.section-white .faq details { background: var(--paper); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; font-size: var(--fs-m); font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy); }
.faq-plus { position: relative; flex: none; width: 16px; height: 16px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 16px; height: 2px; margin-top: -1px; background: var(--navy); transition: transform 0.3s var(--ease); }
.faq-plus::after { transform: rotate(90deg); }
.faq details[open] .faq-plus::after { transform: rotate(0deg); }
.faq details p { margin: 0; padding: 0 3.5rem 1.4rem 1.4rem; color: var(--text-soft); }

/* ---------- Abschluss-CTA ------------------------------------------------ */
.cta-band { padding: clamp(4.5rem, 9vw, 7rem) 0; background: var(--navy); color: var(--white); text-align: center; }
.cta-inner { max-width: calc(820px + var(--gutter) * 2); }
.cta-band h2 { font-size: var(--fs-xl); }
.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: var(--fs-l); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 2rem 0 1.6rem; }
.cta-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.8rem; font-size: var(--fs-m); }
.cta-points li { display: inline-flex; align-items: center; gap: 0.45rem; }
.cta-points .icon { color: var(--gold); stroke-width: 2.4; }

/* ---------- Seitenkopf der Unterseiten ----------------------------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--header-h) + clamp(3.5rem, 7vw, 5.5rem)) 0 clamp(3.5rem, 7vw, 5.5rem);
  background: var(--ink); color: var(--white);
}
.page-hero-glow { display: none; }
.page-hero-inner { position: relative; }
.page-hero h1 { max-width: 16ch; font-size: var(--fs-xxl); }
.page-hero .lead { max-width: 58ch; color: rgba(255, 255, 255, 0.85); }
.page-hero .hero-actions { margin-top: 2rem; }
.page-hero h1, .page-hero .lead, .page-hero .hero-actions { animation: fade-up 0.8s var(--ease) both; }
.page-hero .lead { animation-delay: 0.08s; }
.page-hero .hero-actions { animation-delay: 0.16s; }
.page-hero.has-image .page-hero-inner > * { max-width: 600px; }
.page-hero-media { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 50%; overflow: hidden; }
.page-hero-media picture, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: none; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink) 0%, rgba(3, 47, 75, 0.35) 45%, rgba(3, 47, 75, 0.1) 100%); }
.page-hero .video-toggle { position: absolute; z-index: 2; right: var(--gutter); bottom: 1.4rem; }
.page-hero-center h1 { max-width: none; }
.page-hero-center .lead { margin-inline: auto; }
@media (max-width: 880px) {
  .page-hero-media { width: 100%; opacity: 0.35; }
  .page-hero-media::after { background: linear-gradient(180deg, rgba(3, 47, 75, 0.5), var(--ink)); }
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; font-size: var(--fs-s); color: var(--mist); }
.breadcrumbs a { color: var(--mist); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs [aria-current] { color: var(--white); }

/* ---------- Leistungs-Detailseite ---------------------------------------- */
.service-detail { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .service-detail { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.6rem; font-size: var(--fs-xl); color: var(--ink); }
.prose p { color: var(--text-soft); }
.answer-box { margin-bottom: 1rem; padding: 1.5rem 1.7rem; border-radius: var(--radius); background: var(--white); border-left: 4px solid var(--gold); }
.answer-label { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem; font-size: var(--fs-m); font-weight: 600; color: var(--blue-2); }
.answer-box p:last-child { margin: 0; font-size: var(--fs-l); color: var(--text); }
.service-aside { position: sticky; top: 110px; }
.aside-box { display: grid; gap: 0.75rem; padding: 2rem; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.aside-box h2 { margin: 0.6rem 0 0; font-size: var(--fs-l); }
.aside-box p { margin: 0 0 0.4rem; color: var(--text-dark-soft); }
.aside-box .card-icon { background: rgba(255, 255, 255, 0.08); color: var(--gold); }
.aside-box .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.aside-box .btn-outline:hover { background: var(--white); color: var(--ink); }
.aside-points { display: grid; gap: 0.4rem; margin-top: 0.6rem; font-size: var(--fs-s); color: var(--text-dark-soft); }
.aside-points li { display: flex; align-items: center; gap: 0.5rem; }
.aside-points .icon { color: var(--gold); stroke-width: 2.4; }
@media (max-width: 960px) { .service-aside { position: static; } }

.soft-media { margin: 0; }
.soft-media img { width: 100%; border-radius: var(--radius); object-fit: cover; }

/* ---------- Formulare ---------------------------------------------------- */
.form-wrap { padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--radius); background: var(--white); color: var(--text); }
.section-white .form-wrap { background: var(--paper); }
.form-wrap h3 { font-size: var(--fs-l); }
.form-hint { color: var(--text-soft); font-size: var(--fs-m); }
.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: 0.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field-short { max-width: 220px; }
.field label, .choice-group legend { font-size: var(--fs-s); font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem; border-radius: var(--radius-sm); border: 1px solid #c4d3de; background: var(--white); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(5, 80, 127, 0.15); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field-error { margin: 0; font-size: var(--fs-s); color: #b23121; }
.field-hint, .form-note { margin: 0; font-size: var(--fs-s); color: var(--text-soft); }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem; }
.field-check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--navy); }
.field-check label { font-size: var(--fs-s); font-weight: 400; color: var(--text-soft); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-size: var(--fs-m); }
.alert strong { display: block; }
.alert-success { background: #e8f6ec; color: #1d5a32; border: 1px solid #b6e0c2; }
.alert-error { background: #fdecea; color: #8d2a1e; border: 1px solid #f3c0b8; }
.contact-list { display: grid; gap: 0.9rem; margin-top: 1.6rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list .icon { width: 1.4rem; height: 1.4rem; margin-top: 0.15rem; color: var(--navy); }
.contact-list a { display: flex; flex-direction: column; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--navy); text-decoration: underline; }
.contact-list small { font-size: var(--fs-s); font-weight: 400; color: var(--text-soft); }

/* Solarcheck */
.check-hero { position: relative; padding: calc(var(--header-h) + 3.5rem) 0 clamp(4rem, 8vw, 6.5rem); background: var(--ink); color: var(--white); }
.check-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .check-grid { grid-template-columns: 1fr; } }
.check-intro h1 { font-size: var(--fs-xxl); }
.check-intro .lead { color: rgba(255, 255, 255, 0.85); }
.check-benefits { display: grid; gap: 1.1rem; margin: 2rem 0; }
.check-benefits li { display: flex; gap: 0.9rem; align-items: flex-start; }
.check-benefits .icon { width: 1.5rem; height: 1.5rem; margin-top: 0.15rem; color: var(--gold); }
.check-benefits span { display: flex; flex-direction: column; color: var(--text-dark-soft); font-size: var(--fs-m); }
.check-benefits strong { color: var(--white); font-size: var(--fs-m); }
.check-alt { color: var(--text-dark-soft); }
.check-alt a { color: var(--white); }
.form-wrap-dark { border: 0; }
.check-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.step { display: grid; gap: 1.2rem; }
.step + .step { margin-top: 2.4rem; }
.step > legend { display: block; width: 100%; margin-bottom: 0.4rem; font-size: var(--fs-l); font-weight: 600; color: var(--ink); }
.step-count { display: block; margin-bottom: 0.3rem; font-size: var(--fs-s); font-weight: 600; color: var(--blue-2); }
.step-hint { margin: -0.6rem 0 0; font-size: var(--fs-s); color: var(--text-soft); }
.choice-group { display: grid; gap: 0.6rem; }
.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid #c4d3de; background: var(--white); font-size: var(--fs-m); color: var(--ink);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.choice:hover span { border-color: var(--navy); }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.choices-icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.6rem; }
.choice-icon span { flex-direction: column; justify-content: center; width: 100%; min-height: 110px; padding: 1rem 0.6rem; text-align: center; font-weight: 500; }
.choice-icon .icon { width: 1.8rem; height: 1.8rem; color: var(--navy); }
.choice-icon input:checked + span .icon { color: var(--gold); }
.steps-progress { display: none; height: 4px; border-radius: 2px; background: var(--fog); overflow: hidden; }
.steps-progress-bar { display: block; height: 100%; background: var(--navy); transform: scaleX(var(--progress, 0.25)); transform-origin: left; transition: transform 0.5s var(--ease); }
.step-nav { display: flex; justify-content: space-between; gap: 0.75rem; }
.step-nav[hidden] { display: none; }
.step-back .icon { transform: rotate(180deg); }
.step-back:hover .icon { transform: rotate(180deg) translateX(3px); }
.js .check-form .steps-progress { display: block; }
.js .check-form .step { display: none; }
.js .check-form .step + .step { margin-top: 0; padding-top: 0; border-top: 0; }
.js .check-form .step.is-current { display: grid; animation: fade-in 0.4s var(--ease); }
.js .check-form.is-first .step-back { visibility: hidden; }
.js .check-form.is-last .step-nav .step-next { display: none; }

/* ---------- Rechtstexte -------------------------------------------------- */
.legal { padding-top: calc(var(--header-h) + 4rem); background: var(--white); }
.legal h1 { color: var(--ink); }
.legal h2 { margin-top: 2.4rem; font-size: var(--fs-l); color: var(--ink); }
.legal h3 { margin-top: 1.6rem; font-size: var(--fs-m); color: var(--ink); }
.legal p, .legal li { color: var(--text-soft); }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal a { color: var(--navy); word-break: break-word; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { padding: clamp(4rem, 7vw, 5.5rem) 0 0; background: var(--ink); color: var(--text-dark-soft); border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr; gap: 2.5rem; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 170px; margin-bottom: 1.2rem; }
.footer-brand p { max-width: 34ch; font-size: var(--fs-m); }
.footer-social { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.footer-social a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.85rem; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.08); color: var(--white); font-size: var(--fs-s); text-decoration: none; transition: background-color 0.2s; }
.footer-social a:hover { background: rgba(255, 255, 255, 0.16); }
.footer-social .icon { color: var(--gold); }
.footer-title { margin-bottom: 1rem; font-size: var(--fs-l); font-weight: 600; color: var(--white); }
.footer-contact { display: grid; gap: 0.85rem; font-size: var(--fs-m); }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact .icon { margin-top: 0.2rem; color: var(--gold); }
.footer-contact span, .footer-contact small { display: flex; flex-direction: column; }
.footer-contact small { color: var(--mist); }
.footer-contact a, .footer-links a { color: var(--text-dark-soft); text-decoration: none; transition: color 0.2s; }
.footer-contact a:hover, .footer-links a:hover { color: var(--white); }
.footer-links { display: grid; gap: 0.55rem; font-size: var(--fs-m); }
.footer-area { margin-top: 3rem; font-size: var(--fs-s); color: var(--mist); }
.footer-area strong { color: var(--white); font-weight: 600; }
.footer-bottom { margin-top: 2.5rem; padding: 1.2rem 0 1.4rem; background: var(--night); font-size: var(--fs-s); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--white); }

/* ---------- Mobile Kontaktleiste ----------------------------------------- */
.dock { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .dock {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr 2fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--white); border-top: 1px solid var(--fog); box-shadow: 0 -8px 24px -16px rgba(3, 47, 75, 0.4);
    transition: transform 0.35s var(--ease);
  }
  .js .dock:not(.is-visible), html.nav-open .dock { transform: translateY(110%); }
  .dock a { display: flex; align-items: center; justify-content: center; height: 64px; font-size: var(--fs-s); font-weight: 600; text-decoration: none; }
  .dock-item { flex-direction: column; gap: 0.15rem; color: var(--navy); }
  .dock-item + .dock-item { border-left: 1px solid var(--fog); }
  .dock-item .icon { width: 1.3rem; height: 1.3rem; }
  .dock-main { background: var(--gold); color: var(--ink); font-size: var(--fs-m); }
  .is-check { padding-bottom: 0; }
  .is-check .dock { display: none; }
}

/* ---------- Scroll-Einblendungen (main.js) ------------------------------- */
.reveal { opacity: 0; transform: translateY(12px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.5s var(--ease) var(--reveal-delay, 0ms), transform 0.5s var(--ease) var(--reveal-delay, 0ms); }

@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .intro-media img { clip-path: none; transform: none; }
}

@media print {
  .site-header, .dock, .hero-media, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ==========================================================================
   Bewegung & Dynamik (main.js setzt nur Klassen und CSS-Variablen)
   Wenige, gezielte Momente: Überschrift aus der Maske, laufendes Herstellerband, seitliche Leistungs-Galerie,
   Montage-Video öffnet sich aus dem Fenster, Text färbt sich beim Lesen ein, Tiefenwirkung im Regionsbild.
   Alles nur bei „Bewegung erlaubt“ – sonst und ohne JavaScript bleibt der fertige, ruhige Zustand stehen.
   ========================================================================== */
:root {
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Überschriften: Wörter steigen aus einer Maske auf */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  /* Öffnen der Startseite – eine Abfolge: Header baut sich auf, Zeile „entschlüsselt“ sich (main.js: data-scramble),
     Überschrift steigt Wort für Wort, dann Text, Buttons, Kennzahlen */
  .is-home .header-bar > *, .is-home .nav-list li { animation: intro-drop 0.8s var(--ease-expo) both; }
  .is-home .header-bar > .brand { animation-delay: 0.05s; }
  .is-home .nav-list li:nth-child(1) { animation-delay: 0.12s; }
  .is-home .nav-list li:nth-child(2) { animation-delay: 0.17s; }
  .is-home .nav-list li:nth-child(3) { animation-delay: 0.22s; }
  .is-home .nav-list li:nth-child(4) { animation-delay: 0.27s; }
  .is-home .nav-list li:nth-child(5) { animation-delay: 0.32s; }
  .is-home .nav-list li:nth-child(6) { animation-delay: 0.37s; }
  .is-home .nav-list li:nth-child(7) { animation-delay: 0.42s; }
  .is-home .header-bar > .header-phone, .is-home .header-bar > .header-cta, .is-home .header-bar > .nav-toggle { animation-delay: 0.47s; }
  .is-home .header-bar > .site-nav { animation: none; }
  .hero-kicker { animation: fade-in 0.5s linear 0.25s both; }
  .hero-badge { animation: fade-up 0.8s var(--ease-expo) 0.9s both; }
  .hero-title .w > span { animation: word-rise 1.2s var(--ease-expo) both; animation-delay: 0.45s; }
  .hero-title .w:nth-child(2) > span { animation-delay: 0.57s; }
  .hero-title .w:nth-child(3) > span { animation-delay: 0.69s; }
  .hero-title .w:nth-child(4) > span { animation-delay: 0.81s; }
  .hero h1.hero-title { animation: none; }
  .hero-lead { animation-delay: 0.85s; }
  .hero-actions { animation-delay: 1s; }
  .hero-rating { animation: fade-up 0.9s var(--ease) 1.1s both; }
  .hero-facts li { animation: fade-up 0.9s var(--ease-expo) both; }
  .hero-facts li:nth-child(1) { animation-delay: 1.1s; }
  .hero-facts li:nth-child(2) { animation-delay: 1.17s; }
  .hero-facts li:nth-child(3) { animation-delay: 1.24s; }
  .hero-facts li:nth-child(4) { animation-delay: 1.31s; }
  .hero-poster { animation: hero-settle 2.4s var(--ease-out) both; }

  /* Unterhalb der ersten Ansicht: Wörter warten, bis die Überschrift ins Bild kommt (main.js: .js-words / .is-in) */
  .js-words .w > span { transform: translateY(105%); transition: transform 0.9s var(--ease-expo); transition-delay: calc(var(--i, 0) * 45ms); }
  .js-words.is-in .w > span { transform: none; }

  /* Hero beim Herausscrollen: Inhalt gleitet nach oben weg, das Video bleibt (main.js: --hero-out 0…1) */
  .hero-inner, .hero-facts-wrap {
    transform: translate3d(0, calc(var(--hero-out, 0) * -70px), 0);
    opacity: calc(1 - var(--hero-out, 0) * 0.85);
  }
}
@keyframes intro-drop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes word-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes hero-settle { from { transform: scale(1.14); } to { transform: translate3d(0, var(--parallax, 0px), 0) scale(1.05); } }

/* Bewertung im Hero */
.hero-rating {
  display: inline-flex; align-items: center; gap: 0.7rem; margin-top: 1.6rem;
  color: var(--white); font-size: var(--fs-m); text-decoration: none;
}
.hero-rating strong { font-weight: 600; }
.hero-rating:hover span { text-decoration: underline; }

/* Sterne (lokal gezeichnet) */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { width: 1.15em; height: 1.15em; }
.star-empty { fill: rgba(127, 150, 168, 0.35); }
.star-full { fill: var(--gold); }

/* Herstellerleiste als Band */
.brands-inner { flex-wrap: nowrap; overflow: hidden; }
.brands-label { flex: none; }
.brands-marquee { display: flex; flex: 1; min-width: 0; overflow: hidden; }
.brands-marquee .brands-list { flex: none; flex-wrap: nowrap; padding-right: 2.6rem; }
.brands-marquee .brands-list li { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .brands-marquee {
    -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  }
  .brands-marquee .brands-list { animation: marquee 38s linear infinite; }
  .brands-marquee:hover .brands-list { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .brands-marquee .brands-list[aria-hidden="true"], .brands-marquee li[aria-hidden="true"] { display: none; }
  .brands-marquee .brands-list { flex-wrap: wrap; }
}
@keyframes marquee { to { transform: translateX(-100%); } }
@media (max-width: 760px) { .brands-inner { flex-wrap: wrap; } .brands-marquee { flex-basis: 100%; } }

/* Leistungen: seitlich laufende Galerie, solange der Bereich festgehalten wird (Desktop, main.js: .is-sideways) */
.sideways-progress { display: none; }
@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
  [data-sideways].is-sideways { height: var(--sideways-h, auto); padding: 0; }
  [data-sideways].is-sideways .sideways-stage {
    position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center;
    padding-top: calc(var(--header-h) + 1rem); padding-bottom: 2rem; overflow: hidden;
  }
  [data-sideways].is-sideways .section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
  [data-sideways].is-sideways .sideways-track {
    display: flex; gap: 1.5rem; width: max-content;
    transform: translate3d(var(--sideways-x, 0px), 0, 0); will-change: transform;
  }
  [data-sideways].is-sideways .sideways-track > .card { width: clamp(340px, 30vw, 500px); flex: none; }
  [data-sideways].is-sideways .sideways-track .card-media { aspect-ratio: 4 / 3; }
  [data-sideways].is-sideways .sideways-progress {
    display: block; height: 3px; margin-top: 2rem; border-radius: 2px; background: var(--fog); overflow: hidden;
  }
  [data-sideways].is-sideways .sideways-progress span {
    display: block; height: 100%; background: var(--navy); transform: scaleX(var(--sideways-p, 0)); transform-origin: left;
  }
}

/* Karten reagieren auf den Mauszeiger */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card { transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background-color 0.3s; }
  .card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -28px rgba(3, 47, 75, 0.45); }
  .btn:active { transform: scale(0.98); }
}

/* Scroll-Szene: Das Montage-Video öffnet sich vom Fenster auf volle Breite (main.js: --open 0…1) */
.window-scene { position: relative; background: var(--white); }
.window-stage { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.window-frame {
  position: absolute; inset: 0; overflow: hidden; background: var(--ink);
  /* geöffnet = fertiger Zustand (ohne JS und bei reduzierter Bewegung) */
  clip-path: inset(calc((1 - var(--open, 1)) * 18%) calc((1 - var(--open, 1)) * 26%) round calc((1 - var(--open, 1)) * 14px + 0px));
}
.window-frame picture, .window-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.window-poster, .window-frame .hero-video { object-fit: cover; transform: scale(calc(1.18 - var(--open, 1) * 0.18)); }
.window-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(3, 47, 75, 0.88) 0%, rgba(3, 47, 75, 0.6) 45%, rgba(3, 47, 75, 0.15) 100%);
  opacity: var(--open, 1);
}
.window-copy {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%;
  color: var(--white);
  /* Text erst, wenn das Bild fast ganz offen und abgedunkelt ist */
  opacity: clamp(0, calc((var(--open, 1) - 0.8) * 5), 1);
  transform: translate3d(0, calc((1 - clamp(0, calc((var(--open, 1) - 0.8) * 5), 1)) * 40px), 0);
}
.window-copy > * { max-width: 680px; }
.window-copy h2 { font-size: var(--fs-xxl); line-height: 1.05; letter-spacing: -0.025em; }
.window-copy p { font-size: var(--fs-l); line-height: 1.55; color: rgba(255, 255, 255, 0.88); margin-bottom: 2rem; }
.window-copy .btn { align-self: flex-start; }
.window-stage .video-toggle { position: absolute; z-index: 3; right: var(--gutter); bottom: 1.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .window-scene.is-scrubbed { height: 230vh; }
  .window-scene.is-scrubbed .window-stage { position: sticky; top: 0; }
}

/* Text färbt sich beim Lesen ein (main.js: Wörter mit --i, Absatz mit --ink 0…1 und --n) */
@media (prefers-reduced-motion: no-preference) {
  .ink-text.is-inked .ink-w { opacity: clamp(0.2, calc(var(--ink, 1) * (var(--n) + 6) - var(--i)), 1); transition: opacity 0.15s linear; }
}
.intro .ink-text { font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.45; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }

/* Regionsbild: leichte Tiefenwirkung beim Scrollen (main.js: --py -1…1) */
@media (prefers-reduced-motion: no-preference) {
  [data-parallax] img { transform: translate3d(0, calc(var(--py, 0) * 6%), 0) scale(1.14); will-change: transform; }
}

/* ---------- Google-Bewertungen -------------------------------------------- */
.reviews-head { display: grid; grid-template-columns: auto 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); }
.reviews-score { display: flex; align-items: center; gap: 1.2rem; }
.reviews-number { margin: 0; font-size: clamp(4rem, 7vw, 6rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.04em; color: var(--ink); }
.reviews-score .stars { font-size: 1.4rem; }
.reviews-count { margin: 0.4rem 0 0; color: var(--text-soft); }
.reviews-intro h2 { margin-bottom: 1.2rem; }
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 3rem) / 3)); gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; scrollbar-width: thin; align-items: start;
}
.review-card {
  display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem 1.7rem; border-radius: var(--radius);
  background: var(--paper); scroll-snap-align: start;
}
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p {
  margin: 0; color: var(--text); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.review-card footer { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar {
  display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: var(--white); font-weight: 600;
}
.review-meta { display: flex; flex-direction: column; line-height: 1.35; }
.review-meta a, .review-meta strong { font-weight: 600; color: var(--ink); text-decoration: none; }
.review-meta a:hover { text-decoration: underline; }
.review-meta small { color: var(--text-soft); font-size: var(--fs-s); }
.review-meta small a { font-weight: 400; color: var(--navy); }
/* Blättern: Pfeile (main.js blendet sie ein, sobald es mehr Bewertungen gibt, als sichtbar sind) und Ziehen mit der Maus */
.reviews-nav { display: flex; align-items: center; justify-content: flex-end; gap: 0.6rem; margin: -0.5rem 0 1rem; }
.reviews-nav[hidden] { display: none; }
.reviews-pos { margin-right: auto; font-size: var(--fs-s); color: var(--text-soft); }
.reviews-btn {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; cursor: pointer;
  border: 1px solid var(--fog); border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.reviews-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--white); }
.reviews-btn:disabled { opacity: 0.35; cursor: default; }
.reviews-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.icon-flip { transform: scaleX(-1); }
.reviews-track.is-draggable { cursor: grab; }
.reviews-track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.reviews-track.is-dragging * { pointer-events: none; }
.reviews-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* Lange Bewertungen: gekürzt, per Klick ganz lesen (ohne JavaScript) */
.review-more summary { font-size: var(--fs-s); font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; list-style: none; }
.review-more summary::-webkit-details-marker { display: none; }
.review-more blockquote p { display: block; -webkit-line-clamp: unset; overflow: visible; }
.review-more[open] summary { display: none; }
.review-card:has(.review-more[open]) .review-short { display: none; }
.reviews-note { max-width: 80ch; margin: 1.5rem 0 0; font-size: var(--fs-s); color: var(--text-soft); }
@media (max-width: 880px) {
  .reviews-head { grid-template-columns: 1fr; }
  .reviews-track { grid-auto-columns: 85%; }
}

/* ---------- Digitale Visitenkarte (/vcard) -------------------------------- */
.vcard-page {
  padding: calc(var(--header-h) + clamp(1.5rem, 4vw, 3.5rem)) var(--gutter) clamp(3rem, 6vw, 5rem);
  background: var(--paper);
}
.vcard-card { max-width: 560px; margin: 0 auto; }
.vcard-head { text-align: center; margin-bottom: 1.6rem; }
.vcard-mark { width: 96px; height: 96px; margin: 0 auto 1rem; }
.vcard-head h1 { margin-bottom: 0.3rem; font-size: var(--fs-xl); }
.vcard-role { margin: 0 0 0.8rem; font-weight: 600; color: var(--navy); }
.vcard-claim { margin: 0 auto; max-width: 40ch; color: var(--text-soft); }
.vcard-save { min-height: 62px; }
.vcard-hint { margin: 0.6rem 0 1.6rem; text-align: center; font-size: var(--fs-s); color: var(--text-soft); }
.vcard-links { display: grid; gap: 6px; }
.vcard-links a {
  display: flex; align-items: center; gap: 1rem; padding: 0.95rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: background-color 0.2s, transform 0.25s var(--ease);
}
.vcard-links a:hover { background: var(--fog); }
.vcard-links a:active { transform: scale(0.99); }
.vcard-links a > .icon { margin-left: auto; color: var(--sky); }
.vcard-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--navy); }
.vcard-icon .icon { width: 1.25rem; height: 1.25rem; }
.vcard-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.vcard-text strong { font-weight: 600; }
.vcard-text small { color: var(--text-soft); font-size: var(--fs-s); overflow-wrap: anywhere; }
.vcard-address { margin-top: 1.8rem; text-align: center; font-style: normal; color: var(--text-soft); }
@media (max-width: 760px) {
  .is-vcard { padding-bottom: 0; }
  .is-vcard .dock { display: none; }
}

/* ---------- Produkte (Solarmodule, Speicher) -----------------------------
   Hervorgehobene „Bühne“: tiefes Logo-Blau, Produkte auf weißen Flächen, Gold als Akzent
   (Zahlen, Häkchen, feine Linien). Startseite: Karten · Leistungsseite: Produktzeilen. */
.product-stage {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  border-top: 4px solid var(--gold);
}
.product-stage p { color: var(--text-dark-soft); }
.product-stage h2, .product-stage h3 { color: var(--white); }
.product-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold) !important;
}
.product-eyebrow .icon { width: 1.1rem; height: 1.1rem; stroke-width: 2.6; }
.product-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 1; padding: 0.4rem 0.7rem; border-radius: var(--radius-sm);
  background: var(--ink); color: var(--white); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.product-maker { color: var(--gold); }
.product-variant { white-space: nowrap; color: var(--sky-light); }
.product-logo { display: block; width: 56px; height: 56px; }

/* Leistungsseite: Produktzeilen */
.product-stage-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.product-stage-head h2 { margin: 0; }
.product-row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.product-row + .product-row { margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line-dark); }
.product-row.is-flipped { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.product-row.is-flipped .product-media { order: 2; }
.product-media {
  position: sticky; top: calc(var(--header-h) + 1.5rem); margin: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--white); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.product-media img { display: block; width: 100%; height: auto; }
.product-media figcaption { padding: 0.6rem 1rem; border-top: 1px solid var(--fog); font-size: var(--fs-s); color: var(--text-soft); }
.product-brand { margin-bottom: 1.2rem; }
.product-body h3 { margin: 0 0 0.9rem; font-size: var(--fs-xl); line-height: 1.1; }
.product-tagline { max-width: 60ch; font-size: var(--fs-l); line-height: 1.5; }
.product-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 1.8rem 0 1.6rem; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius-sm); overflow: hidden; }
.product-keys li { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.2rem 1.3rem; background: var(--night); }
.product-keys strong { font-size: var(--fs-xl); font-weight: 600; line-height: 1; white-space: nowrap; color: var(--gold); }
.product-keys small { font-size: var(--fs-m); font-weight: 500; color: var(--sky-light); }
.product-keys span { font-size: var(--fs-s); color: var(--text-dark-soft); }
.product-features { max-width: 68ch; }
.product-features li span { color: var(--white); }
.product-specs { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.product-specs summary { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; font-weight: 600; font-size: var(--fs-l); color: var(--white); cursor: pointer; list-style: none; }
.product-specs summary::-webkit-details-marker { display: none; }
.product-specs summary .icon { transform: rotate(90deg); transition: transform 0.25s var(--ease); color: var(--gold); }
.product-specs[open] summary .icon { transform: rotate(-90deg); }
.product-specs summary:hover { color: var(--gold); }
.product-specs dl { margin: 0 0 1.2rem; }
.product-specs dl > div { display: grid; grid-template-columns: minmax(9rem, 2fr) 5fr; gap: 1rem; padding: 0.75rem 0; border-top: 1px solid var(--line-dark); }
.product-specs dt { font-weight: 600; color: var(--white); }
.product-specs dd { margin: 0; color: var(--text-dark-soft); }
.product-source { margin-top: 1.2rem; font-size: var(--fs-s); }
.product-source a { color: var(--sky-light); }
.product-source a:hover { color: var(--gold); }
@media (max-width: 880px) {
  .product-row, .product-row.is-flipped { grid-template-columns: 1fr; }
  .product-row.is-flipped .product-media { order: 0; }
  .product-media { position: relative; top: 0; max-width: 420px; }
}
@media (max-width: 560px) {
  .product-keys { grid-template-columns: 1fr; }
  .product-specs dl > div { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* Startseite: Produktkarten */
.products-teaser .section-head h2 { color: var(--white); }
.products-teaser .section-head p { color: var(--text-dark-soft); }
.product-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--night); color: var(--white); text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.product-card:hover .read-more .icon { transform: translateX(4px); }
.product-card-media {
  position: relative; display: flex; align-items: center; justify-content: center; height: clamp(250px, 23vw, 330px);
  background: var(--white); border-bottom: 3px solid var(--gold);
}
.product-card-media picture { height: 100%; }
.product-card-media img { display: block; width: auto; height: 100%; }
.product-card-body { position: relative; display: flex; flex: 1; flex-direction: column; gap: 0.8rem; padding: clamp(1.3rem, 2.5vw, 2rem); }
.product-card-body .product-logo { position: absolute; top: clamp(1.3rem, 2.5vw, 2rem); right: clamp(1.3rem, 2.5vw, 2rem); width: 44px; height: 44px; }
.product-card h3 { margin: 0; padding-right: 3.5rem; font-size: var(--fs-l); color: var(--white); }
.product-card p { margin: 0; color: var(--text-dark-soft); }
.product-card-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin-top: auto; padding: 1rem 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.product-card-keys span { display: flex; flex-direction: column; min-width: 0; font-size: var(--fs-s); color: var(--text-dark-soft); hyphens: auto; overflow-wrap: anywhere; }
.product-card-keys strong { font-size: var(--fs-l); font-weight: 600; line-height: 1.2; color: var(--gold); white-space: nowrap; }
.product-card-keys small { font-size: var(--fs-s); font-weight: 500; color: var(--sky-light); }
.product-card .read-more { margin-top: 0; color: var(--gold); }
@media (prefers-reduced-motion: reduce) { .product-card, .product-card:hover { transform: none; } }
