@import url("/fonts/poppins.css");

/* ==========================================================================
   VOLTA Energiesysteme — Design-System
   Alle Werte sind am Original (voltapv.de, Elementor) gemessen, nicht geschätzt.
   Formsprache: abgeschrägte Ecke oben rechts (border-radius: 0 Xpx 0 0).
   ========================================================================== */

:root {
  --volta-yellow: #fcb618;
  --black: #000;
  --white: #fff;
  --grey: #f2f2f2;
  --grey-line: #e2e2e2;

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1140px;
  --container-wide: 1300px;
  --gutter: 20px;

  --corner-sm: 0 50px 0 0;
  --corner-md: 0 100px 0 0;
  --corner-lg: 0 150px 0 0;

  /* Im Original tragen die inneren Container die Abstände, nicht die Sections */
  --block-y: 100px;
}

/* --------------------------------------------------------------- Reset -- */

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

/* Klassen wie .btn setzen display und würden [hidden] sonst aushebeln */
[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* ---------------------------------------------------------- Typografie -- */

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  /* Notbremse: ein Wort, das allein breiter ist als die Spalte, bricht um statt
     die Seite seitlich scrollbar zu machen. Keine automatische Silbentrennung –
     die zerlegt auch Wörter, die in die nächste Zeile passen würden. */
  overflow-wrap: break-word;
}

h1 {
  font-size: 45px;
  line-height: 45px;
}

h2 {
  font-size: 40px;
  line-height: 40px;
}

h3 {
  font-size: 26px;
  line-height: 31.2px;
}

p {
  margin: 0 0 16px;
}

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

/* "IHR SOLARANLAGEN-ANBIETER", "REFERENZEN", "WISSENSWERTES" … */
.eyebrow {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
}

/* ------------------------------------------------------------- Layout -- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

/* Im Original haben die Sections keine eigene Höhenpolsterung – der Abstand
   zwischen ihnen entsteht durch Margins (gemessen: 100px, 150px nach dem Hero,
   75px um den TÜV-Block, 0 zwischen Projekten und Karte). */
main > * {
  margin-bottom: 100px;
}

.gap-150 {
  margin-bottom: 150px;
}

.gap-75 {
  margin-bottom: 75px;
}

.gap-0 {
  margin-bottom: 0;
}

/* Innenabstand nur dort, wo eine Farbfläche ihn tragen muss */
.block {
  padding-block: var(--block-y);
}

.bg-grey {
  background: var(--grey);
}

/* Gelbes Band: volle Containerbreite, Eckenmotiv an der Section */
.band-wrap {
  border-radius: var(--corner-sm);
  overflow: hidden;
}

.band {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 75px;
  background: var(--volta-yellow);
}

.band__inner {
  padding-block: var(--block-y);
}

.center {
  text-align: center;
}

.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.stack--center {
  align-items: center;
  text-align: center;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  border: 1px solid var(--black);
  border-radius: 0;
  background: transparent;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--black);
  color: var(--volta-yellow);
}

.btn--primary {
  border-color: var(--volta-yellow);
  background: var(--volta-yellow);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  border-color: var(--black);
  background: var(--black);
  color: var(--volta-yellow);
}

.btn--dark {
  background: var(--black);
  color: var(--volta-yellow);
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background: transparent;
  color: var(--black);
}

/* Umrandeter Button mit gelber Linie (z. B. „Jetzt Beratung sichern") */
.btn--outline-yellow {
  border-color: var(--volta-yellow);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: currentColor;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 3px;
}

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

/* Original: 200px hoher, transparenter Kopf über dem gelben Hero, Inhalt
   100px vom Rand. Beim Scrollen schrumpft er auf 102px und wird weiß. */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Gleiches Gelb wie der Hero – der Kopf geht nahtlos darin auf, wie im
     Original, wo er transparent darüber liegt. */
  background: var(--volta-yellow);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: none;
  /* 116px Logo + 2×33px = 182px sichtbare Kopfhöhe wie im Original */
  padding: 33px clamp(20px, 7vw, 100px);
  transition: padding 0.2s ease;
}

/* flex: none – sonst staucht die Flexzeile das Logo, sobald Menü und Buttons
   knapp werden; zwischen 1101 und 1200px verschwand es dabei ganz. */
.header__logo {
  flex: none;
}

.header__logo img {
  width: 116px;
  transition: width 0.2s ease;
}

.header.is-stuck {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.header.is-stuck .header__inner {
  padding-block: 15px;
}

.header.is-stuck .header__logo img {
  width: 60px;
}

/* Im angehefteten Zustand wird aus dem schwarzen CTA ein gelber */
.header.is-stuck .header__actions .btn--dark {
  border-color: var(--volta-yellow);
  background: var(--volta-yellow);
  color: var(--black);
}

.header.is-stuck .header__actions .btn--dark:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--volta-yellow);
}

.nav {
  margin-inline: auto;
}

.nav__list {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 6px;
  font-weight: 500;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  flex: none;
}

/* Original: 72px hohe Buttons mit 20px Innenabstand */
.header__actions .btn {
  padding: 20px 25px;
  font-size: 15px;
  line-height: 30px;
  white-space: nowrap;
}

.header__actions .btn + .btn {
  margin-left: -1px;
}

.nav-toggle {
  display: none;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--black);
  background: transparent;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s ease;
}

.nav-toggle span {
  position: relative;
  margin-inline: auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------- Hero -- */

.hero {
  position: relative;
  background: var(--volta-yellow);
}

/* Original: Foto in voller Deckung, darüber eine gelbe Fläche mit opacity .9.
   Ein Foto mit opacity .1 über derselben gelben Fläche ergibt rechnerisch
   dasselbe Ergebnis (0,1·Foto + 0,9·Gelb) und spart die zweite Ebene.
   Motiv und Bildausschnitt setzt jede Seite über --hero-img / --hero-pos. */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img, url("/images/einfamilienhaus-mit-solarpaneelen-auf-dem-dach.webp"));
  background-size: var(--hero-size, cover);
  background-position: var(--hero-pos, center);
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

/* Original: Container 1140, Spaltenabstand 50px. Die Karte beginnt direkt
   unter dem Kopf, der Text 78px darunter — kein zusätzliches Polster oben,
   sonst zählt der Abstand doppelt (Kopf steht bei uns im Fluss). */
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 545fr 545fr;
  gap: 50px;
  align-items: start;
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 var(--gutter);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-top: 78px;
}

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

.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  line-height: 28px;
}

.checklist svg {
  width: 22px;
  height: 22px;
  flex: none;
  stroke: var(--black);
  stroke-width: 3;
  fill: none;
}

/* Weißer Trust-Balken sitzt im Original in der linken Spalte, nicht full-width */
.hero__trust {
  display: flex;
  align-items: center;
  align-self: stretch;
  min-height: 84px;
  padding: 10px 20px;
  background: var(--white);
}

.hero__trust img {
  width: 100%;
  max-height: 64px;
  object-fit: contain;
}

/* Weiße Funnel-Karte, ragt unten aus dem Hero heraus */
.hero__card {
  position: relative;
  z-index: 1;
  margin-bottom: -80px;
  background: var(--white);
  border-radius: var(--corner-sm);
  overflow: hidden;
}

/* Kopfbereich wie im Original: 50px ringsum, Überschrift 30px */
.hero__card-head {
  padding: 50px 50px 25px;
}

.hero__card-head h2 {
  font-size: 30px;
  line-height: 36px;
  text-align: center;
}

/* Der Funnel in der Hero-Karte sitzt in einer schmaleren Spalte */
.hero__card .funnel__body {
  padding: 0 50px 50px;
}

/* Fallback bis die Höhe per JS auf den höchsten Schritt einrastet */
.hero__card .funnel__steps {
  min-height: 480px;
}

.hero__card .step__question {
  margin-bottom: 30px;
}

/* Der ausführliche Beruhigungstext bleibt dem breiten Funnel vorbehalten –
   in der schmalen Hero-Karte würde er den Kasten unverhältnismäßig strecken. */
.hero__card .step__desc {
  display: none;
}

.hero__card .options {
  gap: 20px;
}

.hero__card .option {
  font-size: 14px;
}

/* -------------------------------------------------- Bild-Text-Sektionen -- */

/* Bildspalten sind im Original CSS-Hintergründe, keine <img> */
.media {
  background-size: cover;
  background-position: center;
  min-height: 420px;
}

.media--corner-sm {
  border-radius: var(--corner-sm);
}

.media--corner-md {
  border-radius: var(--corner-md);
}

.media--corner-lg {
  border-radius: var(--corner-lg);
}

/* Willkommen: 515 / 525 mit 100px Abstand, Bild 600 hoch */
.split-welcome {
  display: grid;
  grid-template-columns: 515fr 525fr;
  gap: 100px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.split-welcome .media {
  min-height: 600px;
}

.split-welcome__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 10px;
}

/* TÜV-Beratung: 558 / 558 mit 25px Abstand */
.split-advice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.split-advice h2 {
  font-size: 30px;
  line-height: 36px;
}

/* Bild + gelber Textblock (Installation, Schluss-CTA) */
.split-yellow {
  display: grid;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.split-yellow--installation {
  grid-template-columns: 1fr 1fr;
}

.split-yellow--installation .media {
  min-height: 555px;
  background-position: 100% 50%;
}

.split-yellow--cta {
  grid-template-columns: 456fr 684fr;
}

.split-yellow--cta .media {
  min-height: 483px;
}

.yellow-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  background: var(--volta-yellow);
  border-radius: var(--corner-md);
}

.yellow-panel--lg {
  padding: 75px 100px;
}

.yellow-panel--sm {
  padding: 50px 100px;
}

/* ----------------------------------------------- USP-Spalten auf Gelb -- */

/* Im Original sind das KEINE weißen Karten, sondern zentrierte Spalten */
.usp-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 10px;
  margin-block: 30px;
}

.usp-col {
  text-align: center;
}

.usp-col svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
}

.usp-col h3 {
  margin-bottom: 14px;
}

.usp-col p {
  font-size: 15px;
  line-height: 24px;
}

/* -------------------------------------------------- Hersteller-Marquee -- */

.marquee {
  padding-block: 25px;
  overflow: hidden;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee__track img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
}

.marquee__track img:hover {
  filter: none;
  opacity: 1;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 40px;
  }
}

/* ---------------------------------------------------------- Referenzen -- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-block: 50px;
}

.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--corner-sm);
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery figure:hover img {
  transform: scale(1.05);
}

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

/* Original: linksbündig, senkrechte Trennlinie links, Zahl 69px, Label 19px */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 50px;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: 157px;
  padding-left: 25px;
  border-left: 2px solid var(--black);
}

.stat__value {
  font-size: 69px;
  font-weight: 600;
  line-height: 69px;
}

.stat__label {
  font-size: 19px;
  font-weight: 600;
  line-height: 28px;
}

/* ------------------------------------------------------ Kundenstimmen -- */

.reviews__track {
  display: grid;
  grid-auto-flow: column;
  /* Feste Spaltenbreite: minmax(0, …) ließe die Karten schrumpfen statt scrollen */
  grid-auto-columns: calc((100% - 60px) / 3);
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.reviews__track::-webkit-scrollbar {
  display: none;
}

/* Feste Kartenhöhe wie im Original (580px), damit die Reihe ruhig bleibt */
.review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* 580px wie im Original als Untergrenze; längere Bewertungen dürfen die Karte
     strecken, statt mitten im Satz abgeschnitten zu werden. Die Karten einer
     Reihe bleiben über das Grid gleich hoch. */
  min-height: 580px;
  padding: 35px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--corner-sm);
  scroll-snap-align: start;
}

/* ------------------------------------------------- Karriere & Formulare -- */

/* Häkchenliste für Anforderungs- und Vorteilslisten */
.ticklist {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  max-width: 820px;
}

.ticklist li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
}

.ticklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--volta-yellow);
  border-radius: 0 6px 0 0;
}

/* Eckdaten einer Stellenanzeige */
.joblist-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.joblist-meta li {
  padding: 14px 22px;
  background: var(--grey);
  border-radius: var(--corner-sm);
}

/* Ansprechpartner-Block */
.contact-person {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}

.contact-person img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--corner-sm);
}

.field__hint {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 21px;
}

.apply-form input[type="file"] {
  width: 100%;
  padding: 14px;
  border: 1px dashed var(--black);
  background: var(--white);
  font: inherit;
}

/* Karte mit Icon (Leistungsübersicht) */
.reason--icon svg {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  fill: var(--volta-yellow);
}

/* Nummerierte Schrittkarten */
.reasons {
  counter-reset: schritt;
}

.reason--step h3::before {
  counter-increment: schritt;
  content: counter(schritt) ". ";
  color: var(--volta-yellow);
}

/* --------------------------------------------------------- Landingpage -- */

/* Reduzierter Kopf ohne Navigation */
.header__actions--lp {
  margin-left: auto;
  gap: 12px;
}

/* Reduzierter Fuß */
.footer--lp {
  padding-block: 60px;
  background: var(--volta-yellow);
  border-radius: var(--corner-md);
  text-align: center;
}

.footer--lp .footer__logo {
  margin: 0 auto 25px;
}

.footer__legal {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 500;
}

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

@media (max-width: 780px) {
  .contact-person {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer__legal {
    flex-wrap: wrap;
    gap: 15px 25px;
  }
}

/* Foto unter dem Projektablauf-Akkordeon */
.stepshot {
  margin: 50px 0 0;
}

.stepshot img {
  width: 100%;
  border-radius: var(--corner-sm);
}

/* Energiefluss-Grafik unter dem Autarkie-Rechner */
.calc__diagram {
  margin: 50px auto 0;
  max-width: 760px;
}

.calc__diagram img {
  width: 100%;
}

/* Icon über der Initiativbewerbung */
.jobs__icon {
  width: 83px;
  height: 83px;
  margin-bottom: 20px;
}

/* Bewertungszeile unter dem Beratungsblock – statisches Abbild des
   trustlocal-Widgets, das im Original an dieser Stelle live nachgeladen wird */
.trustrow {
  max-width: var(--container);
  margin: 50px auto 0;
  padding-inline: var(--gutter);
}

.trustrow img {
  width: 545px;
  max-width: 100%;
  height: auto;
}

/* Original zeigt in jeder Karte das Google-Badge statt einzelner Sterne */
.review__badge {
  width: 238px;
  max-width: 100%;
  height: auto;
}

.review p {
  font-size: 15px;
  line-height: 25px;
}

/* Der Text füllt den Raum, damit der Name unten in der Karte steht */
.review p:not(.review__author) {
  flex: 1 0 auto;
}

.review__author {
  font-weight: 600;
}

.reviews__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.reviews__nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--black);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.reviews__nav button:hover {
  background: var(--black);
  color: var(--volta-yellow);
}

.reviews__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* -------------------------------------------------------- Lead-Funnel -- */

.funnel {
  max-width: var(--container);
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--corner-sm);
  overflow: hidden;
}

.funnel__head {
  padding: 25px 50px;
  background: var(--volta-yellow);
}

.funnel__head strong {
  font-size: 22px;
  font-weight: 600;
}

.funnel__body {
  padding: 40px 50px 50px;
}

/* Feste Höhe wie im Original (Karussell 531px): beim Durchklicken darf der
   Kasten nicht wachsen oder schrumpfen. Die Schritte liegen übereinander. */
.funnel__steps {
  display: flex;
  min-height: 531px;
}

/* Inhalt sitzt mittig im festen Feld, damit kurze und lange Schritte
   gleich ausbalanciert wirken */
.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  /* Oben ausrichten: die Frage ist ein <legend> und nimmt am Flex-Layout nicht
     teil – mit „center“ rutschten nur die Kacheln in die Mitte der fixierten
     Höhe und rissen ein Loch unter die Frage. */
  justify-content: flex-start;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.step[hidden] {
  display: none !important;
}

.step__question {
  display: block;
  width: 100%;
  margin-bottom: 35px;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  text-align: center;
}

.step__question strong {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 26px;
  font-weight: 600;
  line-height: 34px;
}

.step__desc {
  max-width: 720px;
  margin: -20px auto 30px;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  color: #555;
}

/* Auswahlkacheln: helle Karte mit Illustration, Label darunter */
.options {
  display: grid;
  /* minmax(0, …): reines 1fr weitet eine Spalte auf das längste Wort
     („Einfamilienhaus“) – die Kacheln wurden unterschiedlich groß. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.options--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

.option__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--white);
  border: 1px solid #ededed;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.option:hover .option__box {
  border-color: var(--volta-yellow);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.option[aria-pressed="true"] .option__box {
  border-color: var(--volta-yellow);
  box-shadow: 0 0 0 2px var(--volta-yellow);
}

.option__box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

/* Foto-Antworten (Dacheindeckung) füllen die Kachel randlos */
.option__box--photo {
  padding: 0;
  overflow: hidden;
}

.option__box--photo img {
  padding: 0;
  object-fit: cover;
}

/* Kompakte Text-Optionen (Verbrauch o. Ä.) */
.option--text .option__box {
  aspect-ratio: auto;
  padding: 22px 12px;
  font-size: 15px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
}

/* Schmale Spalte (Hero-Karte): Felder untereinander */
.field-grid--single {
  grid-template-columns: 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 500;
}

.field input,
.field textarea {
  padding: 15px 18px;
  border: 1px solid var(--grey-line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--volta-yellow);
  outline: none;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 22px;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--volta-yellow);
}

.consent a {
  text-decoration: underline;
}

/* Fußzeile des Funnels: Zurück · Fortschritt · Weiter */
.funnel__actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 40px;
}

.funnel__progress {
  flex: 1;
  height: 6px;
  background: var(--grey);
  border-radius: 3px;
}

.funnel__progress span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--volta-yellow);
  transition: width 0.3s ease;
}

.funnel__nav {
  flex: none;
  padding: 14px 26px;
  border: 0;
  border-radius: 4px;
  background: var(--grey);
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.funnel__nav:not(:disabled) {
  background: var(--volta-yellow);
  color: var(--black);
}

.funnel__nav:not(:disabled):hover {
  background: var(--black);
  color: var(--volta-yellow);
}

.funnel__nav:disabled {
  cursor: not-allowed;
}

/* Vertrauens-Footer innerhalb der Funnel-Karte */
.funnel__trust {
  border-top: 1px solid var(--grey-line);
  padding: 35px 50px;
}

.funnel__trust-advice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.funnel__trust-advice h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 26px;
}

.funnel__trust-advice p {
  font-size: 14px;
  line-height: 22px;
}

.funnel__trust-advice img {
  max-width: 260px;
}

.funnel__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 50px;
  border-top: 1px solid var(--grey-line);
}

.funnel__logos img {
  max-height: 70px;
  width: auto;
}

.usp-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 25px;
  padding: 25px 50px;
  border-top: 1px solid var(--grey-line);
}

.usp-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.usp-row svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: var(--volta-yellow);
  stroke-width: 3.5;
}

/* Honeypot gegen Bots */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 4px solid var(--volta-yellow);
  background: var(--grey);
  font-size: 15px;
  text-align: left;
}

.form-status--error {
  border-left-color: #c92a2a;
}

/* Bestätigung nach dem Absenden – ersetzt den Formularinhalt */
.funnel__done {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: 20px 0;
  text-align: center;
}

.funnel__done h3 {
  margin-bottom: 14px;
}

.funnel__done a {
  text-decoration: underline;
}

/* -------------------------------------------------------- USP-Liste -- */

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

.usp-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
}

.usp-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: var(--black);
  stroke-width: 3;
}

/* ------------------------------------------------- Unterseiten-Hero -- */

/* Gelber Kopfbereich der Unterseiten: Eyebrow, H1, Fließtext, CTA */
.hero--page .hero__inner {
  grid-template-columns: 1fr;
  padding-bottom: 70px;
}

.hero--page .hero__copy {
  max-width: 760px;
}

.hero--page .hero__trust {
  align-self: flex-start;
  max-width: 545px;
}

/* Schmale Variante für reine Titelseiten (z. B. Kontakt) */
.hero--slim .hero__copy {
  padding-top: 60px;
}

.hero--slim .hero__inner {
  padding-bottom: 60px;
}

/* --------------------------------------------------- Icon-Merkmale -- */

/* „Individuelle Planung / Hochwertige Technik / …" */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px;
  margin-top: 45px;
}

.feature {
  padding-left: 20px;
  border-left: 2px solid var(--volta-yellow);
}

.feature strong {
  display: block;
  font-size: 17px;
  line-height: 24px;
}

.feature span {
  font-size: 14px;
  line-height: 22px;
  color: #555;
}

/* ------------------------------------------------ Auswahlkriterien -- */

/* „Welche Anlage passt zu Ihnen?" – nummerierte Kriterien */
.criteria {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 35px;
  counter-reset: kriterium;
}

.criterion {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  align-items: start;
}

.criterion::before {
  counter-increment: kriterium;
  content: counter(kriterium);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--volta-yellow);
  border-radius: 0 14px 0 0;
  font-size: 19px;
  font-weight: 600;
}

.criterion h3 {
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 26px;
}

.criterion p {
  font-size: 15px;
  line-height: 24px;
}

/* ------------------------------------------------------- Akkordeon -- */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 45px;
}

.accordion details {
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--corner-sm);
  overflow: hidden;
}

/* Titel steht links neben der Nummer, das Zeichen rechts außen.
   „space-between" würde den nackten Textknoten in die Mitte schieben. */
.accordion summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 30px;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

/* Plus-/Minus-Zeichen als reines CSS, ohne zusätzliches Markup */
.accordion summary::after {
  content: "+";
  flex: none;
  margin-left: auto;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--volta-yellow);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.accordion details[open] summary::after {
  content: "–";
}

.accordion details > div {
  padding: 0 30px 26px;
  font-size: 15px;
  line-height: 25px;
  color: #444;
}

/* Nummerierte Variante für den Projektablauf */
.accordion--steps summary {
  counter-increment: schritt;
}

.accordion--steps {
  counter-reset: schritt;
}

.accordion--steps summary::before {
  content: counter(schritt);
  flex: none;
  width: 34px;
  height: 34px;
  margin-right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black);
  font-size: 15px;
}

/* ------------------------------------------------- Ratgeber-Artikel -- */

.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.article {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 35px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--corner-sm);
}

.article h3 {
  font-size: 20px;
  line-height: 27px;
  text-transform: uppercase;
}

.article p {
  flex: 1;
  font-size: 15px;
  line-height: 24px;
  color: #444;
}

.article .btn {
  align-self: flex-start;
}

/* ------------------------------------------------ Ratgeber-Artikel -- */

/* Zweispaltig: Inhaltsverzeichnis bleibt beim Scrollen stehen */
.article-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 130px;
  padding: 30px;
  background: var(--grey);
  border-radius: var(--corner-sm);
}

.article-toc h2 {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
}

.article-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.article-toc li {
  counter-increment: toc;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 21px;
}

.article-toc a {
  display: flex;
  gap: 10px;
}

.article-toc a::before {
  content: counter(toc) ".";
  flex: none;
  color: #888;
}

.article-toc a:hover {
  text-decoration: underline;
}

/* Kopfzeile mit Autor, Datum und Lesezeit */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.article-meta div {
  font-size: 14px;
  line-height: 20px;
}

.article-meta dt {
  color: #555;
}

.article-meta dd {
  margin: 2px 0 0;
  font-weight: 600;
}

/* Fließtext des Artikels */
.article-body {
  max-width: 760px;
}

.article-body h2 {
  margin: 55px 0 20px;
  font-size: 30px;
  line-height: 38px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 38px 0 14px;
  font-size: 21px;
  line-height: 28px;
}

.article-body p {
  margin-bottom: 16px;
  line-height: 27px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
  line-height: 27px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  text-decoration: underline;
}

.article-body figure {
  margin: 35px 0;
}

.article-body figure img {
  width: 100%;
  border-radius: var(--corner-sm);
}

.article-body figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 20px;
  color: #666;
}

/* Zusammenfassung am Artikelanfang */
.article-summary {
  padding: 35px 40px;
  margin-bottom: 45px;
  background: var(--volta-yellow);
  border-radius: var(--corner-sm);
}

.article-summary h2 {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 30px;
}

.article-summary h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 24px;
}

.article-summary > div + div {
  margin-top: 24px;
}

.article-summary p {
  margin: 0;
  font-size: 15px;
  line-height: 25px;
}

/* Hinweiskasten im Fließtext */
.article-note {
  padding: 24px 28px;
  margin: 30px 0;
  background: var(--grey);
  border-left: 4px solid var(--volta-yellow);
  border-radius: 0 var(--corner-sm) 0 0;
}

.article-note p {
  margin: 0;
  font-size: 15px;
  line-height: 25px;
}

/* -------------------------------------------- Autarkie-Rechner ------ */

.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 50px;
  text-align: left;
}

.calc__controls {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--corner-sm);
}

.calc__field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
}

.calc__value {
  font-size: 22px;
  font-weight: 600;
  white-space: nowrap;
}

.calc__value span {
  font-size: 15px;
  font-weight: 400;
  color: #666;
}

/* Regler in Markenfarbe, in beiden Engines gleich */
.calc__field input[type="range"] {
  width: 100%;
  height: 6px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: var(--grey);
  border-radius: 3px;
  cursor: pointer;
}

.calc__field input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border: 3px solid var(--black);
  border-radius: 50%;
  background: var(--volta-yellow);
  cursor: pointer;
}

.calc__field input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border: 3px solid var(--black);
  border-radius: 50%;
  background: var(--volta-yellow);
  cursor: pointer;
}

.calc__field input[type="range"]:focus-visible {
  outline: 3px solid var(--black);
  outline-offset: 6px;
}

.calc__hint {
  margin-top: 10px;
  font-size: 13px;
  line-height: 20px;
  color: #666;
}

.calc__results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc__quota {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc__tile {
  padding: 28px 30px;
  background: var(--volta-yellow);
  border-radius: var(--corner-sm);
}

.calc__tile dt {
  font-size: 15px;
  font-weight: 600;
}

.calc__tile dd {
  margin: 6px 0 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.1;
}

.calc__card {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--corner-sm);
}

.calc__card h3 {
  font-size: 18px;
  line-height: 24px;
}

.calc__sum {
  margin: 10px 0 16px;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
}

/* :not – sonst überstimmt „.calc__card p“ den Betrag (.calc__sum, erschien als
   14px grauer Fließtext) und die kleine Quellenangabe (.calc__source) */
.calc__card p:not(.calc__sum):not(.calc__source) {
  font-size: 14px;
  line-height: 22px;
  color: #444;
}

.calc__rows {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 14px;
}

.calc__rows th,
.calc__rows td {
  padding: 9px 0;
  border-bottom: 1px solid var(--grey-line);
  text-align: left;
  font-weight: 400;
  color: #555;
}

.calc__rows td {
  text-align: right;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.calc__rows tr:last-child th,
.calc__rows tr:last-child td {
  border-bottom: 0;
}

.calc__source {
  margin-top: 14px;
  font-size: 12px;
  line-height: 18px;
  color: #777;
}

/* ------------------------------------------------- Regionsseiten ---- */

/* „Gute Gründe" und „Darum VOLTA" – gleichförmige Textkarten */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.reason {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--corner-sm);
}

.reason h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 27px;
}

.reason p {
  font-size: 15px;
  line-height: 24px;
  color: #444;
}

/* Auf gelbem Grund kehrt sich die Karte um */
.band .reason {
  background: var(--white);
  border-color: transparent;
}

/* Fließtextblock mit begrenzter Zeilenlänge – bleibt auch in zentrierten
   Abschnitten linksbündig, sonst wird längerer Text schwer lesbar. */
.prose {
  max-width: 900px;
  text-align: left;
}

.prose p + p {
  margin-top: 16px;
}

/* ---------------------------------------------------- Karriere ----- */

.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 45px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
  background: var(--volta-yellow);
  border-radius: var(--corner-sm);
  font-size: 16px;
  font-weight: 500;
  /* Steht in einem zentrierten Abschnitt – Text trotzdem linksbündig */
  text-align: left;
}

.jobs,
.articles,
.accordion {
  text-align: left;
}

.benefit svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: var(--black);
  stroke-width: 3;
}

.jobs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 45px;
}

.job {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 35px;
  background: var(--white);
  border-radius: var(--corner-sm);
}

.job h3 {
  font-size: 22px;
  line-height: 28px;
  text-transform: uppercase;
}

.job span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #666;
}

/* ----------------------------------------------------- Kontaktseite -- */

.contact-grid {
  display: grid;
  grid-template-columns: 654fr 436fr;
  gap: 50px;
  align-items: start;
}

.contact-form {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--grey-line);
  border-radius: var(--corner-sm);
}

.contact-form h2 {
  margin-bottom: 30px;
  font-size: 26px;
  line-height: 32px;
}

.contact-note {
  margin-top: 18px;
  font-size: 13px;
  color: #666;
}

.contact-info h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 26px;
}

.contact-info + .contact-info {
  margin-top: 32px;
}

.contact-info address {
  font-style: normal;
  line-height: 26px;
}

.contact-info a {
  text-decoration: underline;
}

/* ---------------------------------------------------------- Standort -- */

/* Volle Breite wie im Original (1440 × 600) */
.mapband {
  height: 600px;
}

.mapband__embed {
  width: 100%;
  height: 100%;
}

/* Platzhalter, solange die Einwilligung für Google Maps fehlt */
.mapband__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 50px var(--gutter);
  text-align: center;
  background:
    radial-gradient(circle at 30% 40%, rgba(252, 182, 24, 0.2), transparent 55%),
    var(--grey);
}

.mapband__placeholder h2 {
  font-size: 30px;
  line-height: 36px;
}

.mapband__placeholder address {
  margin-top: 20px;
  font-style: normal;
  line-height: 26px;
}

.mapband__note {
  max-width: 520px;
  margin-top: 22px;
  font-size: 14px;
  line-height: 22px;
  color: #555;
}

.mapband__note a {
  text-decoration: underline;
}

.mapband__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 28px;
}

/* ------------------------------------------------------ Consent-Banner -- */

.has-consent-banner {
  overflow: hidden;
}

.cookiebar {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
}

.cookiebar__box {
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 40px;
  background: var(--white);
  border-radius: var(--corner-sm);
}

.cookiebar__logo {
  width: 72px;
  margin: 0 auto 20px;
}

.cookiebar__box h2 {
  margin-bottom: 16px;
  font-size: 26px;
  line-height: 32px;
  text-align: center;
}

.cookiebar__box > p {
  font-size: 14px;
  line-height: 23px;
  color: #444;
}

.cookiebar__cats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--grey-line);
}

.cookiebar__cat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 20px;
  color: #555;
}

.cookiebar__cat input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--volta-yellow);
}

.cookiebar__cat strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
  color: var(--black);
}

.cookiebar__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.btn--block {
  width: 100%;
}

.cookiebar__link {
  padding: 8px;
  border: 0;
  background: none;
  font-size: 14px;
  text-decoration: underline;
}

.cookiebar__legal {
  margin-top: 20px;
  font-size: 13px;
  text-align: center;
  color: #777;
}

.cookiebar__legal a {
  text-decoration: underline;
}

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

/* Original: gelb, Ecke oben rechts, Padding 75px 100px 0 */
.footer {
  padding: 75px 100px 0;
  background: var(--volta-yellow);
  border-radius: var(--corner-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1240px;
  margin-inline: auto;
}

.footer__logo {
  width: 130px;
}

.footer h2 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
  text-transform: uppercase;
}

.footer p,
.footer li {
  font-size: 15px;
  line-height: 26px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1240px;
  margin: 30px auto 0;
  padding-block: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 15px;
}

/* Entwickler-Credit: zurückhaltend, aber lesbar */
/* .footer mit davor: „.footer p“ ist sonst spezifischer und setzt 15px */
.footer .footer__credit {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.7;
}

.footer__credit a {
  text-decoration: underline;
}

.socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--black);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  background: var(--black);
  color: var(--volta-yellow);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ------------------------------------------------------- Sticky-CTA/mob -- */

.sticky-cta {
  display: none;
}

/* ---------------------------------------------------------- Rechtstext -- */

.legal {
  max-width: 820px;
}

.legal h2 {
  margin: 45px 0 15px;
  font-size: 26px;
  line-height: 32px;
}

.legal a {
  text-decoration: underline;
}

.legal ul {
  padding-left: 20px;
  line-height: 26px;
}

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

@media (max-width: 1320px) {
  /* Nummer bleibt als Text im Link (Screenreader, Linkziel), nur unsichtbar */
  .header__actions .btn--phone {
    gap: 0;
    font-size: 0;
  }

  .header__actions .btn--phone svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 1200px) {
  .footer {
    padding-inline: 50px;
  }

  .yellow-panel--lg,
  .yellow-panel--sm {
    padding: 50px;
  }
}

@media (max-width: 1100px) {
  .nav__list {
    gap: 22px;
  }

  .header__inner {
    gap: 18px;
    padding-inline: 30px;
  }

  .header__actions .btn--phone {
    display: none;
  }

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

@media (max-width: 960px) {
  :root {
    --block-y: 60px;
  }

  h1 {
    font-size: 36px;
    line-height: 40px;
  }

  h2 {
    font-size: 30px;
    line-height: 36px;
  }

  h3 {
    font-size: 22px;
    line-height: 28px;
  }

  .eyebrow {
    font-size: 16px;
    line-height: 16px;
  }

  /* Eine Kopfzeile: Logo | CTA | Burger — das Menü klappt darunter auf */
  .header__inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
  }

  .header.is-stuck .header__inner {
    padding-block: 10px;
  }

  .header__logo img {
    width: 72px;
  }

  .header.is-stuck .header__logo img {
    width: 52px;
  }

  .hero__copy {
    padding-top: 0;
  }

  .header__actions {
    order: 2;
    margin-left: auto;
  }

  .header__actions .btn {
    padding: 14px 16px;
    font-size: 12px;
  }

  .nav-toggle {
    display: block;
    order: 3;
    width: 44px;
    height: 44px;
  }

  .nav {
    order: 4;
    display: none;
    width: 100%;
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
  }

  .nav.is-open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .hero__card {
    margin-bottom: 0;
  }

  .hero__card-head {
    padding: 35px 25px 15px;
  }

  .split-welcome,
  .split-advice,
  .split-yellow--installation,
  .split-yellow--cta {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-welcome .media,
  .split-yellow--installation .media,
  .split-yellow--cta .media {
    min-height: 320px;
  }

  .split-advice > div:last-child {
    order: -1;
  }

  .band {
    padding-inline: 30px;
  }

  .usp-cols {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .stat__value {
    font-size: 40px;
  }

  .reviews__track {
    grid-auto-columns: 85%;
  }

  .funnel__head,
  .funnel__body,
  .funnel__trust,
  .funnel__logos,
  .usp-row {
    padding-inline: 25px;
  }

  .funnel__body {
    padding-block: 30px 35px;
  }

  .options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .funnel__trust-advice {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .usp-row {
    justify-content: flex-start;
  }

  .mapband {
    height: auto;
    min-height: 420px;
  }

  .cookiebar__box {
    padding: 28px 22px;
  }

  /* Inhaltsverzeichnis wandert über den Text und klappt zusammen */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .article-toc {
    position: static;
    padding: 24px 22px;
  }

  .article-body h2 {
    margin: 40px 0 16px;
    font-size: 25px;
    line-height: 32px;
  }

  .article-summary {
    padding: 28px 22px;
  }

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

  .calc__controls {
    padding: 28px 22px;
    gap: 28px;
  }

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

  .calc__tile dd {
    font-size: 38px;
  }

  .calc__sum {
    font-size: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .accordion summary {
    padding: 20px 22px;
    font-size: 16px;
    line-height: 24px;
  }

  .accordion details > div {
    padding: 0 22px 22px;
  }

  .job {
    padding: 26px 22px;
  }

  .hero--page .hero__inner {
    padding-bottom: 50px;
  }

  .footer {
    padding: 50px 25px 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Dauerhaft erreichbare Kontaktleiste auf dem Handy */
  .sticky-cta {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
  }

  .sticky-cta .btn {
    padding: 18px 10px;
    font-size: 13px;
  }

  body {
    padding-bottom: 58px;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .gallery,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .funnel__actions {
    gap: 12px;
  }

  .funnel__nav {
    padding: 12px 16px;
  }

  .yellow-panel--lg,
  .yellow-panel--sm {
    padding: 35px 25px;
  }
}

@media print {
  .header,
  .sticky-cta,
  .funnel,
  .marquee {
    display: none;
  }
}
