/* ============================================================
   Energie Nordrhein-Westfalen — Photovoltaik & Elektrotechnik
   Globales Stylesheet
   ============================================================ */

:root {
  /* Marke */
  --navy-900: #0a2334;
  --navy-800: #0d2c40;
  --navy-700: #123a55;
  --blue-600: #1279b8;
  --blue-500: #1b8fd4;
  --cyan-400: #2ec5e6;
  --amber-500: #f7a600;
  --amber-600: #e08900;
  /* Akzent fuer das dritte Gewerk (Waermepumpe). Bewusst zwischen Cyan und
     Warm gesetzt, damit sich die drei Saeulen unterscheiden lassen. Laesst
     sich hier zentral austauschen. */
  --teal-500: #1fbb98;
  --teal-600: #14a084;
  /* Akzent fuer den vierten Leistungsbereich (E-Auto laden / Ladeinfrastruktur).
     Violett als maximal unterscheidbarer Ton neben Amber, Cyan und Teal. */
  --violet-500: #8d7cf5;

  /* Flächen & Text */
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --bg-mute: #e9f1f7;
  --ink: #1d2b36;
  --ink-soft: #4a5c6a;
  --line: #dde7ee;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(13, 44, 64, .08), 0 4px 14px rgba(13, 44, 64, .06);
  --shadow-md: 0 6px 24px rgba(13, 44, 64, .12);
  --shadow-lg: 0 18px 50px rgba(13, 44, 64, .18);

  --font-head: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  overflow-wrap: break-word;
  hyphens: auto;
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--navy-800);
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }

p { text-wrap: pretty; }

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(46, 197, 230, .18), transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: #dbe9f3;
}
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 780px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: .8rem; color: var(--ink-soft); font-size: 1.1rem; }
.section--navy .section-head p { color: #b9cedd; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .9rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--amber-500);
}
.section--navy .kicker { color: var(--cyan-400); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .98rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none !important;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(120deg, var(--amber-500), var(--amber-600));
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(247, 166, 0, .35);
}
.btn--primary:hover { box-shadow: 0 10px 26px rgba(247, 166, 0, .45); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--line {
  background: #fff;
  color: var(--navy-800);
  border-color: var(--line);
}
.btn--line:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-stuck { border-color: var(--line); box-shadow: 0 4px 18px rgba(13, 44, 64, .07); }

/* Die Kopfleiste darf breiter laufen als der Seiteninhalt – sieben
   Navigationspunkte brauchen den Platz. Gilt fuer Topbar UND Nav. */
.header .wrap { width: min(1280px, 100% - 40px); }

.topbar {
  background: var(--navy-800);
  color: #cfe2ef;
  font-size: .84rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: .42rem;
}
.topbar a { color: #fff; font-weight: 500; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.topbar__group { display: flex; gap: 1.4rem; align-items: center; }
.topbar .icon { width: 15px; height: 15px; flex: none; }

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: .8rem;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none !important; flex: none; }
.brand__logo { width: 46px; height: 46px; flex: none; }
.brand__img { height: 44px; width: auto; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: .02em;
  color: var(--navy-800);
  line-height: 1.05;
}
.brand__name small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-top: .18rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
  list-style: none;
  margin-left: auto;
}
.nav__links a {
  display: block;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  padding: .5rem .45rem;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--blue-600); background: var(--bg-mute); }
.nav__links a.is-active { color: var(--blue-600); }
.nav__links a.is-new::after {
  content: "Neu";
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--amber-500);
  border-radius: 999px;
  padding: .12rem .4rem;
  margin-left: .4rem;
  vertical-align: middle;
}
.nav__cta { flex: none; }

.nav__toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
}
.nav__toggle svg { width: 30px; height: 30px; stroke: var(--navy-800); }

/* ---------- Hero (Startseite) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(46, 197, 230, .22), transparent 62%),
    radial-gradient(700px 420px at -8% 108%, rgba(247, 166, 0, .16), transparent 55%),
    linear-gradient(150deg, var(--navy-700) 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  color: #e6f1f8;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero h1 { color: #fff; margin: 1.1rem 0 1.2rem; }
.hero h1 em { font-style: normal; color: var(--amber-500); }
.hero p.lead { font-size: 1.15rem; color: #c3d7e4; max-width: 34rem; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(247, 166, 0, .14);
  border: 1px solid rgba(247, 166, 0, .45);
  color: #ffd27a;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  padding: .42rem 1rem;
  border-radius: 999px;
}
.hero__badge .icon { width: 15px; height: 15px; }

.hero__gewerke { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero__gewerke span,
.hero__gewerke a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  padding: .5rem .95rem;
  border-radius: 10px;
}
.hero__gewerke .icon { width: 17px; height: 17px; flex: none; }
.hero__gewerke a { text-decoration: none !important; transition: transform .15s ease, background .15s ease; }
.hero__gewerke a:hover { transform: translateY(-2px); }
.hero__gewerke a.is-solar:hover { background: rgba(247, 166, 0, .2); }
.hero__gewerke a.is-elektro:hover { background: rgba(46, 197, 230, .19); }
.hero__gewerke a.is-waerme:hover { background: rgba(31, 187, 152, .2); }
.hero__gewerke a.is-lade:hover { background: rgba(141, 124, 245, .22); }
.hero__gewerke .is-solar { background: rgba(247, 166, 0, .12); border: 1px solid rgba(247, 166, 0, .4); color: #ffd27a; }
.hero__gewerke .is-elektro { background: rgba(46, 197, 230, .11); border: 1px solid rgba(46, 197, 230, .4); color: #9fe6f5; }
.hero__gewerke .is-waerme { background: rgba(31, 187, 152, .12); border: 1px solid rgba(31, 187, 152, .4); color: #8fe6cd; }
.hero__gewerke .is-lade { background: rgba(141, 124, 245, .13); border: 1px solid rgba(141, 124, 245, .42); color: #cdc4ff; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.8rem;
  margin-top: 2.1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
}
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .95rem;
  color: #cfe2ef;
}
.hero__points .icon { width: 18px; height: 18px; color: var(--cyan-400); flex: none; }

.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); }

/* ---------- Platzhalter ----------
   Sichtbar markierte Leerstelle: wird ersetzt, sobald echtes
   Material (Foto, Zahl, Zitat) vorliegt. Nie mit erfundenen
   Inhalten füllen. */

.slot {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-soft);
  padding: 1.2rem;
}
.slot .icon { width: 26px; height: 26px; color: var(--blue-600); margin: 0 auto .5rem; }
.slot b {
  display: block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.slot small { display: block; margin-top: .35rem; font-size: .8rem; opacity: .85; }
.slot--dark {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .3);
  color: #9fc3da;
}
.slot--dark .icon { color: var(--cyan-400); }

/* ---------- Vertrauensleiste (unter dem Hero) ---------- */

.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trustbar__grid {
  display: grid;
  /* Drei Kacheln, solange keine Bewertungs-Kachel dabei ist –
     mit echten Bewertungen wieder auf vier stellen. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem 2rem;
  padding-block: 1.6rem;
}
.trustbar__item { display: flex; gap: .8rem; align-items: center; }
.trustbar__item > .icon { width: 27px; height: 27px; color: var(--blue-600); flex: none; }
.trustbar strong {
  display: block;
  font-family: var(--font-head);
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.25;
}
.trustbar span { font-size: .86rem; color: var(--ink-soft); }

/* ---------- Page-Hero (Unterseiten) ---------- */

.page-hero {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(46, 197, 230, .2), transparent 60%),
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
  color: #dbe9f3;
  padding: clamp(3rem, 6.5vw, 5rem) 0;
}
.page-hero h1 { color: #fff; margin-top: 1rem; max-width: 18ch; }
.page-hero p { margin-top: 1rem; max-width: 620px; font-size: 1.12rem; color: #bfd4e2; }
.page-hero .btn { margin-top: 1.8rem; }
.page-hero--amber {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(247, 166, 0, .25), transparent 60%),
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
}
.page-hero--violet {
  background:
    radial-gradient(900px 420px at 88% -20%, rgba(141, 124, 245, .24), transparent 60%),
    linear-gradient(150deg, var(--navy-700), var(--navy-900));
}

/* ---------- Karten & Grids ---------- */

.grid { display: grid; gap: 1.4rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card { overflow-wrap: break-word; }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-soft); font-size: .99rem; }

.card__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--bg-mute), #f8fbfd);
  border: 1px solid var(--line);
  color: var(--blue-600);
}
.card__icon .icon { width: 26px; height: 26px; }
.card--amber .card__icon { color: var(--amber-600); }

.card--dark {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}
.card--dark h3 { color: #fff; }
.card--dark p { color: #b9cedd; }
.card--dark .card__icon {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: var(--cyan-400);
}

/* Leistungssäulen (Startseite) */

.pillar {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 2.3rem 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 420px;
  color: #e8f2f8;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pillar--solar {
  border-top: 4px solid var(--amber-500);
  background:
    radial-gradient(560px 300px at 90% -12%, rgba(247, 166, 0, .35), transparent 60%),
    linear-gradient(155deg, #123a55, #0a2334);
}
.pillar--lade {
  border-top: 4px solid var(--violet-500);
  background:
    radial-gradient(560px 300px at 90% -12%, rgba(141, 124, 245, .28), transparent 60%),
    linear-gradient(155deg, #15314f, #0a1c30);
}
.pillar--waerme {
  border-top: 4px solid var(--teal-500);
  background:
    radial-gradient(560px 300px at 90% -12%, rgba(31, 187, 152, .30), transparent 60%),
    linear-gradient(155deg, #0e3f4a, #08222a);
}
.pillar--elektro {
  border-top: 4px solid var(--cyan-400);
  background:
    radial-gradient(560px 300px at 90% -12%, rgba(46, 197, 230, .32), transparent 60%),
    linear-gradient(155deg, #0f3c52, #091f2e);
}
.pillar h3 { color: #fff; font-size: 1.5rem; }
.pillar p { color: #bfd4e2; }
.pillar__tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 999px;
}
.pillar--solar .pillar__tag { background: rgba(247, 166, 0, .18); color: #ffd27a; border: 1px solid rgba(247, 166, 0, .5); }
.pillar--elektro .pillar__tag { background: rgba(46, 197, 230, .15); color: #9fe6f5; border: 1px solid rgba(46, 197, 230, .5); }
.pillar--waerme .pillar__tag { background: rgba(31, 187, 152, .16); color: #8fe6cd; border: 1px solid rgba(31, 187, 152, .5); }
.pillar--lade .pillar__tag { background: rgba(141, 124, 245, .16); color: #cdc4ff; border: 1px solid rgba(141, 124, 245, .5); }
.pillar ul {
  list-style: none;
  display: grid;
  gap: .55rem;
  margin-block: .4rem .6rem;
}
.pillar ul li { display: flex; gap: .6rem; align-items: flex-start; font-size: .97rem; color: #d7e6f0; }
.pillar ul .icon { width: 18px; height: 18px; flex: none; margin-top: .22rem; }
.pillar--solar ul .icon { color: var(--amber-500); }
.pillar--elektro ul .icon { color: var(--cyan-400); }
.pillar--waerme ul .icon { color: var(--teal-500); }
.pillar--lade ul .icon { color: var(--violet-500); }
.pillar .btn { align-self: flex-start; margin-top: auto; }
.pillar__photo {
  border-radius: 12px;
  overflow: hidden;
  height: 170px;
  flex: none;
}
.pillar__photo img { width: 100%; height: 100%; object-fit: cover; }

.pillar__art { position: absolute; right: -12px; top: -6px; width: 130px; opacity: .9; }

/* ---------- Referenzen ----------
   Derzeit NICHT im Einsatz: Der Referenz-Abschnitt wurde aus index.html
   entfernt und soll spaeter als eigene Seite kommen. Die Styles bleiben
   dafuer stehen. Das fertige Markup liegt in der Sicherung
   (scratchpad/backup4/referenzen-abschnitt.html). Wird die Sonderseite
   doch nicht gebaut, kann dieser Block ersatzlos geloescht werden. */

.ref {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ref__photo { height: 200px; flex: none; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.ref__photo img { width: 100%; height: 100%; object-fit: cover; }
.ref__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.ref__meta { display: flex; flex-wrap: wrap; gap: .45rem; }
.ref__meta span {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--bg-mute);
  color: var(--navy-800);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .7rem;
}
.ref h3 { font-size: 1.1rem; }
.ref p { color: var(--ink-soft); font-size: .95rem; margin-top: -.2rem; }

/* ---------- Marken / Komponenten ----------
   Text-Chips statt Logos: Fuer Herstellerlogos braeuchte es Bilddateien
   (und deren Nutzungsfreigabe). Liegen Logos vor, die Chips durch
   <img>-Elemente ersetzen. */

.compo { margin-top: clamp(3rem, 6vw, 4.5rem); }
.brandlist { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.brandlist span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy-800);
  background: var(--bg-mute);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1.05rem;
  white-space: nowrap;
}
.brandbar { margin-top: 2.2rem; text-align: center; }
.brandbar > p { font-size: .95rem; color: var(--ink-soft); margin-bottom: .8rem; }
.brandbar .brandlist { justify-content: center; margin-top: 0; }

/* ---------- Schritte ---------- */

.steps { counter-reset: step; position: relative; }
/* Verbindende Linie auf Höhe der Nummern-Plaketten */
.steps::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(247, 166, 0, .5) 18%, rgba(46, 197, 230, .5) 82%, transparent);
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -1.15rem;
  left: 1.4rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--navy-900);
  background: linear-gradient(120deg, var(--amber-500), var(--amber-600));
  border-radius: 999px;
  padding: .42rem 1rem;
  box-shadow: 0 4px 12px rgba(247, 166, 0, .4);
}
.step h3 { margin: .4rem 0 .5rem; }
.step p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- Split-Sektionen ---------- */

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--rev > :first-child { order: 2; }
.split h2 { margin-bottom: 1rem; }
.split p + p { margin-top: .9rem; }
.split p { color: var(--ink-soft); }
.split .btn { margin-top: 1.6rem; }
.split__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.split__art svg { width: 100%; height: auto; }

.checklist { list-style: none; display: grid; gap: .7rem; margin-top: 1.2rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .icon { width: 20px; height: 20px; color: var(--blue-600); flex: none; margin-top: .2rem; }
.checklist strong { color: var(--navy-800); }
.checklist span { color: var(--ink-soft); }

/* ---------- Zahlen / Fakten ---------- */

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
/* Dreier-Variante: passt sich selbst an und braucht keine eigenen
   Breakpoints. Doppelte Klasse, damit sie sich gegen die
   .facts-Regeln in den Media-Queries weiter unten durchsetzt. */
.facts.facts--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact { text-align: center; padding: 1.4rem 1rem; }
.fact strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--amber-500);
}
.fact span { font-size: .93rem; color: #b9cedd; }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue-600);
  transition: transform .2s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: .8rem; color: var(--ink-soft); font-size: .99rem; }

/* ---------- CTA-Band ---------- */

.cta-band {
  background:
    radial-gradient(700px 320px at 12% -30%, rgba(247, 166, 0, .28), transparent 60%),
    radial-gradient(700px 320px at 95% 130%, rgba(46, 197, 230, .22), transparent 60%),
    linear-gradient(140deg, var(--navy-700), var(--navy-900));
  border-radius: var(--radius-lg);
  padding: clamp(2.4rem, 5vw, 3.8rem);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #bfd4e2; margin-top: .7rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: .8rem; }

/* ---------- Formular ---------- */

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.form-field { display: flex; flex-direction: column; gap: .38rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-size: .86rem; font-weight: 700; color: var(--navy-800); }
.form-field label small { font-weight: 500; color: var(--ink-soft); }
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .75rem .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(27, 143, 212, .18);
  background: #fff;
}
.form-field textarea { resize: vertical; min-height: 130px; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.choice {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .95rem 1rem .9rem;
  cursor: pointer;
  background: var(--bg-soft);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.choice:hover { border-color: var(--blue-500); }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice strong { font-family: var(--font-head); font-size: .92rem; color: var(--navy-800); }
.choice span { font-size: .8rem; color: var(--ink-soft); line-height: 1.4; }
.choice:has(input:checked) {
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27, 143, 212, .15);
}
.choice:has(input:checked) strong { color: var(--blue-600); }

.form-note { font-size: .86rem; color: var(--ink-soft); margin-top: 1rem; }

/* Honeypot: für Menschen unsichtbar, Bots füllen es aus */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success {
  display: none;
  background: #eafaf0;
  border: 1.5px solid #35b06f;
  color: #14663c;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-top: 1.2rem;
  font-weight: 500;
}
.form-success.is-visible { display: block; }

/* ---------- PV-Konfigurator / Fragebogen ---------- */

.qwizard { max-width: 860px; margin-inline: auto; }

.qwizard__progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.qwizard__bar {
  flex: 1;
  height: 8px;
  border-radius: 999px;
  background: var(--bg-mute);
  overflow: hidden;
}
.qwizard__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  transition: width .3s ease;
}
.qwizard__count {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
}

.qstep { border: none; margin: 0; padding: 0; }
.qstep[hidden] { display: none; }
.qstep__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-800);
  margin-bottom: .4rem;
  padding: 0;
}
.qstep__hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.3rem; }

.qgroup { margin-bottom: 1.6rem; }
.qgroup:last-child { margin-bottom: 0; }
.qgroup__label {
  display: block;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: .7rem;
}
.qgroup__label small { font-weight: 500; color: var(--ink-soft); }

.imggrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.imggrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.imggrid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.imgchoice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  text-align: center;
  padding: 1.1rem .7rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
  min-height: 108px;
}
.imgchoice:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.imgchoice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.imgchoice .icon { width: 40px; height: 40px; color: var(--blue-600); }
.imgchoice svg.angle { width: 52px; height: 34px; }
.imgchoice strong {
  font-family: var(--font-head);
  font-size: .87rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.25;
}
.imgchoice span { font-size: .76rem; color: var(--ink-soft); line-height: 1.3; }
.imgchoice:has(input:checked) {
  border-color: var(--blue-600);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(27, 143, 212, .16);
}
.imgchoice:has(input:checked) strong { color: var(--blue-600); }
.imgchoice:has(input:checked) .icon { color: var(--blue-600); }

.imgchoice__badge {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--bg-mute);
  border: 1.5px solid var(--line);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy-800);
  line-height: 1;
}
.imgchoice:has(input:checked) .imgchoice__badge {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.num-wrap { position: relative; max-width: 260px; }
.num-wrap input { padding-right: 4.6rem !important; }
.num-wrap::after {
  content: attr(data-unit);
  position: absolute;
  right: .95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-soft);
  pointer-events: none;
}

.qnote {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  background: var(--bg-mute);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .95rem 1.1rem;
  font-size: .92rem;
  color: var(--ink-soft);
}
.qnote .icon { width: 20px; height: 20px; flex: none; color: var(--blue-600); margin-top: .1rem; }

.qerror {
  display: none;
  color: #c0392b;
  background: #fdf0ee;
  border: 1.5px solid #e6b0a8;
  border-radius: 10px;
  padding: .7rem 1rem;
  font-size: .92rem;
  font-weight: 500;
  margin-top: 1.2rem;
}
.qerror.is-visible { display: block; }

.qwizard__nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.qwizard__nav .btn[disabled] { opacity: .45; pointer-events: none; }

/* Eingebetteter PV-Block im Anfrage-Formular */
.pv-embed {
  margin-top: .4rem;
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  padding: 1.3rem 1.2rem;
  background: #fff;
}
.pv-embed[hidden] { display: none; }
.pv-embed__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 1.2rem;
}
.pv-embed__head .icon { width: 20px; height: 20px; color: var(--amber-600); }
.pv-embed .qstep { margin-bottom: 1.6rem; }
.pv-embed .qstep:last-child { margin-bottom: 0; }
.pv-embed .qstep__title { font-size: 1.02rem; }
.pv-embed .qstep__hint { margin-bottom: 1rem; }
.pv-embed .imggrid,
.pv-embed .imggrid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pv-embed .imggrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Kontakt-Infokarten ---------- */

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.02rem; margin-bottom: .6rem; }
.contact-card h3 .icon { width: 20px; height: 20px; color: var(--blue-600); }
.contact-card p { color: var(--ink-soft); font-size: .97rem; }
.contact-card a { font-weight: 600; }

/* ---------- Footer ---------- */

.footer {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: #b9cedd;
  padding: 4rem 0 0;
  font-size: .97rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer h4 {
  color: #fff;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; display: grid; gap: .55rem; }
.footer a { color: #b9cedd; }
.footer a:hover { color: #fff; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name small { color: var(--cyan-400); }
.footer__logochip {
  background: #fff;
  border-radius: 12px;
  padding: .7rem 1.1rem;
  display: inline-block;
}
.footer__logochip .brand__img { height: 38px; }
.footer__brand p { margin-top: 1rem; max-width: 34ch; color: #9db4c4; }
.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; min-width: 0; }
.footer__contact a { overflow-wrap: anywhere; }
.footer__contact .icon { width: 17px; height: 17px; color: var(--cyan-400); flex: none; margin-top: .3rem; }
.footer__social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  transition: background .15s ease, transform .15s ease;
}
.footer__social a:hover { background: var(--blue-600); transform: translateY(-2px); }
.footer__social .icon { width: 18px; height: 18px; color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  justify-content: space-between;
  font-size: .88rem;
  color: #8ba4b6;
}
.footer__bottom a { color: #b9cedd; }

/* ---------- Reveal-Animationen ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__group--secondary { display: none; }
}

@media (max-width: 1280px) {
  .nav { flex-wrap: wrap; }
  .nav__links,
  .nav__cta { display: none; }
  .nav__toggle { display: block; }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-basis: 100%;
    order: 3;
    gap: .2rem;
    margin-left: 0;
    padding: .8rem 0 .4rem;
    border-top: 1px solid var(--line);
    margin-top: .8rem;
  }
  .nav.is-open .nav__links a { padding: .8rem .9rem; font-size: 1rem; }
  .nav.is-open .nav__cta {
    display: inline-flex;
    order: 4;
    flex-basis: 100%;
    margin-bottom: .9rem;
  }
}

@media (max-width: 880px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .imggrid, .imggrid--5, .imggrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qwizard__nav { flex-wrap: wrap; }
  .hero__art { max-width: 520px; margin-inline: auto; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .contact-cards, .choice-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .steps.grid--3 { grid-template-columns: 1fr; row-gap: 2.2rem; }
  .steps::before { display: none; }
}

@media (max-width: 560px) {
  /* Die E-Mail-Adresse in der Topbar ist ein langes, nicht umbrechbares
     Wort – die Gruppe muss hier umbrechen dürfen, sonst scrollt die
     ganze Seite horizontal. */
  .topbar .wrap { flex-wrap: wrap; row-gap: .1rem; }
  .topbar__group { flex-wrap: wrap; row-gap: .1rem; }
  .brand__img { height: 34px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .topbar__group--right { display: none; }
  .pillar { min-height: 0; }
  .trustbar__grid { grid-template-columns: 1fr; gap: .9rem; }
  .pillar__photo { height: 140px; }
  .ref__photo { height: 170px; }
}
