/* RFK Photovoltaik – Stylesheet
   Design-Tokens übernommen aus dem Framer-Projekt "RFK Photovoltaik". */

/* ---------- Schrift (lokal gehostet, DSGVO) ---------- */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/outfit-300.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/outfit-400.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/outfit-500.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/outfit-600.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/outfit-700.woff2") format("woff2"); }

:root {
  --white: #ffffff;
  --neutral-01: #f6f5f5;
  --neutral-02: #908c8c;
  --neutral-03: #524e4e;
  --neutral-04: #0d0100;
  --navy: #082033;          /* Color 01 */
  --navy-2: #222f38;        /* Color 02 */
  --gold: #da9d26;          /* Color 03 */
  --border: rgba(115, 115, 115, 0.2);
  --error: #b42318;

  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 20px;
  --container: 1140px;    /* maximale Inhaltsbreite (wie das Formular) */
  --gutter: 30px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--neutral-03);
  font-family: var(--font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  font-feature-settings: "cv03", "cv04", "cv09", "cv11";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--neutral-04); font-weight: 500; }
p { margin: 0; }
[id] { scroll-margin-top: 40px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; }
.section { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Typografie ---------- */
.h1 { font-size: 72px; font-weight: 600; letter-spacing: -2.5px; line-height: 1.15; }
.h2 { font-size: 48px; font-weight: 600; letter-spacing: -1.5px; line-height: 1.3; }
.h4 { font-size: 24px; font-weight: 500; letter-spacing: -1px; line-height: 1.4; }
.body-18 { font-size: 18px; font-weight: 300; line-height: 1.7; }
.body-14 { font-size: 14px; font-weight: 300; line-height: 1.6; }
.center { text-align: center; }

@media (max-width: 1199.98px) {
  .h1 { font-size: 60px; letter-spacing: -1.5px; }
  .h2 { font-size: 36px; letter-spacing: -0.7px; }
}
@media (max-width: 809.98px) {
  :root { --gutter: 24px; }
  .h1 { font-size: 36px; letter-spacing: -1px; }
  .h2 { font-size: 30px; letter-spacing: -1px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 999px; border: 0;
  font: 500 16px/1.4 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .15); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--neutral-04); }
.btn--sm { padding: 9px 20px; font-size: 14px; }

/* ---------- Header / Logo ---------- */
.site-logo { display: block; width: 130px; }
.site-logo img { width: 100%; height: auto; }
/* Logo und Menü bündig mit dem Inhalt darunter; auf schmaleren Bildschirmen
   mindestens 60px vom Rand (24px Hero-Abstand + 36px Innenabstand). */
.header-overlay { position: absolute; top: 24px; left: 0; right: 0; z-index: 5; padding: 18px max(60px, calc((100% - var(--container)) / 2)); pointer-events: none; }
.header-overlay a { pointer-events: auto; }
.header-static { padding: 24px var(--gutter) 0; }
.header-static .site-logo { width: 110px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; padding: 24px; display: flex; }
.hero__area {
  position: relative; flex: 1; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center; padding: 160px 30px 65px;
  /* Eigene Anlage im Abendlicht. Dunkler Schleier nur hinter dem Text (Lesbarkeit
     über dem hellen Himmel) und leicht nach unten hin – der warme Himmel bleibt. */
  background-color: var(--navy);
  background-image:
    radial-gradient(ellipse 60% 45% at 50% 55%, rgba(8, 32, 51, .55), rgba(8, 32, 51, 0) 100%),
    linear-gradient(to top, rgba(8, 32, 51, .45), rgba(8, 32, 51, 0) 45%),
    url("/assets/img/photos/hero-abendlicht-2560.webp");
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.hero__content { position: relative; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.hero__content h1 { color: var(--white); text-shadow: 0 2px 16px rgba(8, 32, 51, .45); }
.hero__content p { color: var(--white); font-weight: 300; font-size: 18px; }
.hero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

@media (max-width: 809.98px) {
  .hero { height: auto; min-height: 100svh; padding: 12px; }
  .hero__area {
    padding: 140px 20px 40px; align-items: flex-end;
    background-image:
      radial-gradient(ellipse 90% 40% at 50% 72%, rgba(8, 32, 51, .55), rgba(8, 32, 51, 0) 100%),
      linear-gradient(to top, rgba(8, 32, 51, .5), rgba(8, 32, 51, 0) 50%),
      url("/assets/img/photos/hero-abendlicht-mobil.webp");
  }
  .hero__content { gap: 24px; }
  .hero__content p { font-size: 16px; }
  .header-overlay { top: 12px; padding: 16px 32px; }
  .site-logo { width: 100px; }
}

/* ---------- Vorteile ---------- */
.values { padding-top: 80px; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { background: var(--neutral-01); border-radius: var(--radius); padding: 40px 44px; display: flex; flex-direction: column; gap: 10px; }
.value-card img { width: 32px; height: 32px; margin-bottom: 14px; }
.value-card p { font-size: 16px; }
@media (max-width: 1199.98px) { .values__grid { grid-template-columns: 1fr; } }
@media (max-width: 809.98px) { .values { padding-top: 48px; } .value-card { padding: 28px 24px; } }

/* ---------- Leistungen ---------- */
.services { padding-top: 97px; }
.services__title { margin-bottom: 56px; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Bild oben, Text darunter – damit der Text das Foto nicht verdeckt */
.service-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; align-items: stretch;
  background: var(--white); border: 1px solid var(--border);
}
.service-card > img { display: block; width: 100%; height: 240px; flex-shrink: 0; object-fit: cover; transition: transform .5s ease; }
.service-card:hover > img { transform: scale(1.04); }
.service-card__body { position: relative; flex: 1; background: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.service-card__body p { font-size: 14px; line-height: 1.6; }
.service-card__more { margin-top: auto; }
@media (max-width: 1199.98px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card > img { height: 220px; }
}
@media (max-width: 809.98px) {
  .services { padding-top: 64px; }
  .services__title { margin-bottom: 32px; }
  .services__grid { grid-template-columns: 1fr; }
}

.service-card--link { text-decoration: none; color: inherit; }
.service-card--link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.service-card__more { font-size: 14px; font-weight: 500; color: var(--navy); }
.service-card--link:hover .service-card__more { color: var(--gold); }

/* ---------- So einfach geht's ---------- */
.works { padding-top: 97px; padding-bottom: 43px; }
.works__inner { display: flex; flex-direction: column; align-items: center; gap: 64px; }
.works__steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 84px; width: 100%; align-items: center; }
.step-card {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 36px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.step-card img { width: 48px; height: 48px; margin-bottom: 8px; }
.step-card p { font-size: 16px; line-height: 1.7; }
.step-card--mid { transform: translateY(-16px); }
.works__arrow { position: absolute; z-index: 1; pointer-events: none; opacity: .9; }
.works__arrow--1 { width: 177px; left: calc(33.333% - 130px); bottom: -45px; }
.works__arrow--2 { width: 177px; left: calc(66.666% - 50px); top: -50px; transform: scaleX(-1) rotate(180deg); }
.features { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 56px; }
.feature { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 400; }
.feature img { width: 30px; height: 30px; }
@media (max-width: 1199.98px) {
  .works__steps { grid-template-columns: 1fr; gap: 24px; max-width: 560px; }
  .step-card--mid { transform: none; }
  .works__arrow { display: none; }
}
@media (max-width: 809.98px) {
  .works { padding-top: 64px; }
  .works__inner { gap: 40px; }
  .features { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Logo-Laufband ---------- */
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; align-items: center; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 36px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .85; }
.marquee__track img.tall { height: 64px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; } }

/* ---------- Bewertungen ---------- */
.reviews { padding-top: 97px; }
.reviews .container { display: flex; flex-direction: column; align-items: center; gap: 48px; }
.reviews__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 640px; }
.reviews__head a { color: var(--navy); }
.reviews__score { display: flex; align-items: center; gap: 12px; }
.reviews__number { font-size: 40px; font-weight: 600; color: var(--neutral-04); line-height: 1; }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.stars--lg svg { width: 26px; height: 26px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.reviews__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 960px; }
.review-card { margin: 0; background: var(--neutral-01); border-radius: var(--radius); padding: 32px 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.review-card blockquote { margin: 0; flex: 1; font-size: 16px; line-height: 1.7; color: var(--neutral-03); }
.review-card figcaption { font-weight: 500; color: var(--neutral-04); }
.review-card figcaption span { font-weight: 400; color: var(--neutral-02); font-size: 14px; }
@media (max-width: 1199.98px) { .reviews__grid { grid-template-columns: 1fr; max-width: 640px; } }
@media (max-width: 809.98px) {
  .reviews { padding-top: 64px; }
  .reviews .container { gap: 32px; }
  .review-card { padding: 24px; }
}

/* ---------- Formular-Sektion ---------- */
.form-section { padding-top: 97px; padding-bottom: 120px; }
.form-section .container { max-width: var(--container); display: flex; flex-direction: column; gap: 24px; }
.form-intro { display: flex; flex-direction: column; gap: 24px; padding: 32px 0 8px; }
.form-intro h2 { font-weight: 500; letter-spacing: -1px; line-height: 1.15; }
.form-intro > p { font-size: 16px; font-weight: 400; color: var(--neutral-03); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 400; color: var(--neutral-02); }
.checklist svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 809.98px) { .form-section { padding-top: 56px; padding-bottom: 72px; } }

/* ---------- CTA ---------- */
.cta { padding: 120px 24px 0; }
.cta__box {
  position: relative; max-width: 1152px; margin: 0 auto; min-height: 545px;
  background: var(--navy); border-radius: var(--radius);
  display: flex; align-items: center; padding: 60px 30px;
}
.cta__content { position: relative; z-index: 2; max-width: 500px; display: flex; flex-direction: column; gap: 56px; align-items: flex-start; }
.cta__content h2 { color: var(--white); }
.cta__people { position: absolute; right: 30px; bottom: 0; height: 115%; width: auto; max-width: 62%; object-fit: contain; object-position: right bottom; z-index: 1; }
@media (max-width: 1199.98px) { .cta__people { max-width: 58%; height: 100%; } }
@media (max-width: 809.98px) {
  .cta { padding: 80px 12px 0; }
  .cta__box { flex-direction: column; align-items: flex-start; min-height: 0; padding: 40px 24px 0; overflow: hidden; }
  .cta__content { gap: 28px; }
  .cta__people { position: relative; right: auto; height: auto; max-width: 100%; width: 100%; margin-top: 24px; }
}

/* ---------- Footer ---------- */
.footer { padding: 100px var(--gutter) 0; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 0.6fr) 0.9fr; gap: 40px; align-items: start; padding: 0 0 80px; }
.footer__logo { width: 260px; max-width: 100%; }
.footer h3 { font-size: 20px; font-weight: 500; margin: 10px 0 30px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; font-weight: 400; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--navy); text-decoration: underline; }
.footer__contact { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 400; }
.footer__contact li:first-child { margin-bottom: 16px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.footer__contact svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer__bottom { border-top: 1px solid var(--gold); margin: 0 calc(var(--gutter) * -1); padding: 28px var(--gutter) 40px; text-align: center; font-size: 15px; font-weight: 400; }
.footer__bottom button { background: none; border: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; padding: 0; margin-left: 12px; }
@media (max-width: 1199.98px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid > a:first-child { grid-column: 1 / -1; }
  .footer__logo { width: 220px; }
}
@media (max-width: 809.98px) {
  .footer { padding-top: 64px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 48px; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__logo { width: 200px; }
  .footer h3 { margin: 0 0 16px; }
}

/* ---------- Rechtliche Seiten / Unterseiten ---------- */
.page-head { padding: 64px var(--gutter) 0; text-align: center; }
.page-head .eyebrow { font-size: 14px; color: var(--neutral-02); font-weight: 400; margin-bottom: 12px; }
.page-head h1 { margin-bottom: 16px; }
.page-head .lead { font-size: 16px; font-weight: 400; }
.legal { padding: 120px var(--gutter) 0; }
.legal-card {
  max-width: 680px; margin: 0 auto; background: #f7f7f7; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px 36px; font-size: 15px; font-weight: 400; line-height: 1.65; color: #3c3c3c;
}
.legal-card--wide { max-width: 860px; }
.legal-card h2 { font-size: 20px; font-weight: 500; letter-spacing: -.3px; margin: 32px 0 10px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: 16px; font-weight: 600; margin: 18px 0 6px; color: var(--neutral-04); }
.legal-card p + p { margin-top: 12px; }
.legal-card hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
.legal-card ul { padding-left: 20px; margin: 8px 0; }
.legal-card li + li { margin-top: 8px; }
.legal-card a { color: var(--navy); }
@media (max-width: 809.98px) { .legal { padding-top: 56px; } .legal-card { padding: 28px 20px; } .page-head { padding-top: 40px; } }

/* Rechenbeispiel */
.calc { padding: 64px var(--gutter) 0; }
.calc-intro { max-width: 900px; margin: 0 auto 64px; text-align: center; font-size: 14px; font-weight: 300; }
.calc-intro strong { font-weight: 600; color: var(--neutral-04); }
.calc-card { max-width: 680px; margin: 0 auto; background: #f7f7f7; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 30px; font-size: 16px; font-weight: 400; line-height: 1.85; color: #3c3c3c; }
.calc-card h2 { font-size: 16px; font-weight: 600; letter-spacing: 0; margin-bottom: 4px; }
.calc-card ol { margin: 0 0 40px; padding-left: 20px; }
.calc-card ol strong { font-weight: 600; color: var(--neutral-04); }
.calc-formula { text-align: center; font-weight: 600; color: #3c3c3c; margin: 0 0 28px; }
.calc-note { font-style: italic; font-weight: 400; margin-bottom: 24px; }
.calc-card .btn { display: flex; width: max-content; margin: 0 auto 32px; }
.calc-bonus strong { display: block; font-weight: 500; }

/* ---------- Leistungsseiten ---------- */
.hero--page { height: auto; min-height: 640px; max-height: 820px; }
.hero__eyebrow { font-size: 14px !important; font-weight: 400 !important; letter-spacing: 1px; text-transform: uppercase; color: var(--gold) !important; }
.page-section { padding-top: 97px; }
.page-section__title { margin-bottom: 56px; }
.value-card svg { width: 32px; height: 32px; margin-bottom: 14px; color: var(--gold); }
.components__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.component-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 40px 44px; display: flex; flex-direction: column; gap: 10px; }
.component-card__logo { height: 36px; width: auto; max-width: 160px; object-fit: contain; object-position: left; margin-bottom: 14px; }
.component-card__logo.tall { height: 56px; }
.build-steps { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 8px 0 0; }
.build-steps li { counter-increment: step; position: relative; padding-left: 40px; }
.build-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--white); font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.components__note { margin-top: 24px; text-align: center; font-size: 14px; color: var(--neutral-02); }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 20px; font-weight: 500; color: var(--neutral-04); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--gold); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.faq details p { padding: 0 0 22px; max-width: 720px; }
@media (max-width: 809.98px) {
  .hero--page { min-height: 0; }
  .hero--page .hero__area { padding-top: 120px; }
  .page-section { padding-top: 64px; }
  .page-section__title { margin-bottom: 32px; }
  .components__grid { grid-template-columns: 1fr; }
  .component-card { padding: 28px 24px; }
  .faq summary { font-size: 17px; padding: 18px 0; }
}

/* ---------- Produktseiten ---------- */
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.breadcrumb { font-size: 14px; font-weight: 400; color: var(--neutral-02); margin-bottom: 20px; }
.breadcrumb a { color: var(--navy); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.lead { font-size: 18px; line-height: 1.7; }
.hero__buttons--left { justify-content: flex-start; }
.btn--outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.product-hero { padding: 48px var(--gutter) 0; }
.product-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.product-hero__text { display: flex; flex-direction: column; gap: 20px; }
.product-hero__text .breadcrumb { margin-bottom: 0; }
.product-hero__media { background: var(--neutral-01); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 40px; min-height: 440px; }
.product-hero__media img { width: auto; max-width: 100%; max-height: 420px; mix-blend-mode: multiply; }
.product-hero__media--tall img { max-height: 520px; }
.product-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.facts { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px 44px; }
.facts h2 { color: var(--white); margin-bottom: 24px; }
.facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin: 0; }
.facts dt { font-size: 13px; color: var(--gold); font-weight: 500; }
.facts dd { margin: 2px 0 0; font-size: 20px; font-weight: 500; }
.facts__note { margin-top: 24px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.highlight { border: 1px solid var(--gold); border-radius: var(--radius); padding: 40px 44px; display: flex; flex-direction: column; gap: 14px; }
.highlight strong { color: var(--neutral-04); font-weight: 600; }
.product-block { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--border); }
.product-block:first-of-type { border-top: 0; padding-top: 0; }
.product-block__text { display: flex; flex-direction: column; gap: 12px; }
.product-block__facts { list-style: none; margin: 0; padding: 28px 32px; background: var(--neutral-01); border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; }
.product-block__facts li { padding-left: 22px; position: relative; }
.product-block__facts li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.product-block__facts strong { color: var(--neutral-04); font-weight: 600; }
.next-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.next-link { display: flex; flex-direction: column; gap: 8px; padding: 32px 36px; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.next-link:hover { border-color: var(--gold); transform: translateY(-2px); }
.next-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.component-card--link { text-decoration: none; color: inherit; transition: border-color .2s ease, transform .2s ease; }
.component-card--link:hover { border-color: var(--gold); transform: translateY(-2px); }
.component-card--link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.component-card__more { font-size: 14px; font-weight: 500; color: var(--navy); margin-top: 6px; }
.product-hero__media--photo { position: relative; padding: 0; overflow: hidden; min-height: 480px; }
.product-hero__media--photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; mix-blend-mode: normal; }
.product-hero__media--photo img.media-left { object-position: 20% center; }
.product-hero__media--photo img.media-right { object-position: 72% center; }
.product-hero__media--landscape { min-height: 0; aspect-ratio: 16 / 10; align-self: center; }
.product-block__aside { display: flex; flex-direction: column; gap: 16px; }
.product-block__media { background: var(--neutral-01); border-radius: var(--radius); padding: 24px; display: flex; justify-content: center; }
.product-block__media img { max-height: 240px; width: auto; }
.components__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1199.98px) {
  .product-hero__inner { gap: 32px; }
  .product-block { grid-template-columns: 1fr; gap: 24px; }
  .components__grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 809.98px) {
  .product-hero { padding-top: 24px; }
  .product-hero__inner, .product-split, .next-links { grid-template-columns: 1fr; }
  .product-hero__media { min-height: 0; padding: 24px; }
  .product-hero__media img { max-height: 300px; }
  .product-hero__media--tall img { max-height: 380px; }
  .product-hero__media--photo { padding: 0; aspect-ratio: 4 / 3; }
  .product-hero__media--landscape { aspect-ratio: 16 / 10; }
  .product-hero__media--photo img { max-height: none; }
  .components__grid--3 { grid-template-columns: 1fr; }
  .facts, .highlight { padding: 28px 24px; }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .next-link { padding: 24px; }
  .lead { font-size: 16px; }
}

/* 404 */
.notfound { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 80px var(--gutter); }

/* ---------- Cookie-Banner ---------- */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; margin: 0 auto; max-width: 1168px;
  background: #fff; color: #111; border: 1px solid rgba(0,0,0,.12); border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18); padding: 22px; font-size: 14px; line-height: 1.5; font-weight: 400;
  display: none; animation: cc-in .3s ease;
}
.cc-banner.is-open { display: block; }
@keyframes cc-in { from { opacity: 0; transform: translateY(12px); } }
.cc-banner h2 { font-size: 18px; font-weight: 600; color: #111; letter-spacing: 0; margin-bottom: 8px; }
.cc-banner p { color: #555; }
.cc-banner a { color: #111; font-weight: 600; }
.cc-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.cc-btn { font: 600 14px/1 var(--font); padding: 12px 18px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; }
.cc-btn--primary { background: #111; color: #fff; }
.cc-btn--secondary { background: #f4f4f5; color: #111; border-color: rgba(0,0,0,.12); }
.cc-btn--ghost { background: transparent; color: #555; }
.cc-cats { display: none; flex-direction: column; gap: 12px; margin-top: 16px; }
.cc-banner.is-custom .cc-cats { display: flex; }
.cc-cat { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 12px; }
.cc-cat strong { display: block; color: #111; }
.cc-cat span { color: #555; font-size: 13px; }
.cc-cat input { width: 20px; height: 20px; accent-color: #111; flex-shrink: 0; margin-top: 2px; }
.cc-fab {
  position: fixed; left: 9px; bottom: 9px; z-index: 999; width: 40px; height: 40px; border-radius: 50%;
  background: #111; color: #fff; border: 0; cursor: pointer; display: none; align-items: center; justify-content: center;
}
.cc-fab.is-visible { display: flex; }
.cc-fab svg { width: 20px; height: 20px; }
@media (max-width: 809.98px) { .cc-actions { justify-content: stretch; } .cc-btn { flex: 1; } }

/* Anfrageformular: Styles liegen in den React-Komponenten (form/src/). */
.rfk-form-root { width: 100%; max-width: var(--container); color: #082033; }

/* ---------- Hauptnavigation ---------- */
.header-overlay { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.header-static { position: relative; z-index: 20; }
.header-static .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.site-nav { pointer-events: auto; }
.site-nav__toggle { display: none; }
.site-nav__menu {
  list-style: none; margin: 0; padding: 6px; display: flex; align-items: center; gap: 2px;
  background: var(--white); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(8, 32, 51, .08);
}
.site-nav__menu > li { position: relative; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 16px; border: 0; border-radius: 999px;
  background: none; font: 500 15px/1.2 var(--font); color: var(--neutral-04); text-decoration: none;
  white-space: nowrap; cursor: pointer; transition: background-color .2s ease;
}
.site-nav__link:hover, .site-nav__group-toggle[aria-expanded="true"] { background: var(--neutral-01); }
.site-nav__link:focus-visible, .site-nav__sub a:focus-visible, .site-nav__toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.site-nav__link[aria-current="page"], .site-nav__group-toggle.is-current {
  text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.site-nav__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.site-nav__group-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav__cta { margin-left: 6px; white-space: nowrap; }
.site-nav__cta:hover { transform: none; box-shadow: none; background: var(--navy-2); }

/* Untermenüs (Desktop) */
.site-nav__sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; z-index: 30; top: calc(100% + 12px); left: 50%;
  min-width: 290px; background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 16px 40px rgba(8, 32, 51, .14);
  opacity: 0; visibility: hidden; transform: translate(-50%, 4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.site-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.site-nav__group-toggle[aria-expanded="true"] + .site-nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 810px) {
  .site-nav__group:hover > .site-nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .site-nav__group:hover > .site-nav__link { background: var(--neutral-01); }
}
.site-nav__sub a {
  display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--neutral-04); text-decoration: none;
}
.site-nav__sub a span { font-size: 13px; font-weight: 400; color: var(--neutral-02); }
.site-nav__sub a:hover, .site-nav__sub a[aria-current="page"] { background: var(--neutral-01); }

/* Handy: Menü-Button und ausklappendes Panel */
@media (max-width: 809.98px) {
  .site-nav__toggle {
    display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--border); border-radius: 50%; background: var(--white); color: var(--navy); cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 24px rgba(8, 32, 51, .08);
  }
  .site-nav__burger { position: relative; width: 18px; height: 12px; }
  .site-nav__burger::before, .site-nav__burger::after, .site-nav__burger span {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
    transition: transform .2s ease, opacity .2s ease, top .2s ease, bottom .2s ease;
  }
  .site-nav__burger::before { top: 0; }
  .site-nav__burger span { top: 5px; }
  .site-nav__burger::after { bottom: 0; }
  .site-nav.is-open .site-nav__burger::before { top: 5px; transform: rotate(45deg); }
  .site-nav.is-open .site-nav__burger span { opacity: 0; }
  .site-nav.is-open .site-nav__burger::after { bottom: 5px; transform: rotate(-45deg); }

  .site-nav__menu {
    display: none; position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border-radius: 20px;
    max-height: calc(100svh - 120px); overflow-y: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05), 0 16px 40px rgba(8, 32, 51, .18);
  }
  .header-overlay .site-nav__menu { top: calc(100% - 8px); }
  .header-static .site-nav__menu { left: var(--gutter); right: var(--gutter); }
  .site-nav.is-open .site-nav__menu { display: flex; }

  /* Untermenüs auf dem Handy immer offen, Gruppenname als Überschrift */
  .site-nav__group-toggle {
    width: 100%; padding: 12px 14px 4px; border-radius: 0; background: none !important; cursor: default; pointer-events: none;
    font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--gold);
    text-decoration: none !important;
  }
  .site-nav__group-toggle svg { display: none; }
  .site-nav__sub {
    position: static; min-width: 0; padding: 0; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .site-nav__sub::before { display: none; }
  .site-nav__sub a { padding: 10px 14px; font-size: 17px; }
  .site-nav__menu > li + li:not(.site-nav__cta-item) { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
  .site-nav__menu > li > .site-nav__link:not(.site-nav__group-toggle) { display: flex; width: 100%; padding: 14px; border-radius: 10px; font-size: 17px; }
  .site-nav__cta-item { margin-top: 12px; }
  .site-nav__cta { display: flex; width: 100%; margin: 0; padding: 14px 20px; font-size: 16px; }
}

/* ---------- Ads-Landingpage (/angebot/…) ---------- */
.lp-call { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--navy); color: var(--navy); }
.lp-call svg { width: 16px; height: 16px; }
.lp-included { padding-top: 80px; }
.lp-included__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px;
  max-width: 860px; margin: 40px auto 0;
}
.lp-included__list li { font-size: 16px; align-items: flex-start; color: var(--navy); }
.lp-included__list svg { color: var(--gold); margin-top: 4px; }
.lp-included__cta { margin-top: 40px; }
.lp-partners { padding-top: 96px; }
.footer--slim { padding-top: 40px; }
.footer--slim .footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer--slim .footer__bottom button { margin-left: 0; }
@media (max-width: 809.98px) {
  .lp-call { padding: 9px 14px; }
  .lp-call span { display: none; }
  .lp-call::after { content: "Anrufen"; }
  .lp-included { padding-top: 56px; }
  .lp-included__list { grid-template-columns: 1fr; margin-top: 28px; }
}

/* ---------- Beispielfoto auf Produktseiten ---------- */
.roof-photo { margin: 0 auto; max-width: 1100px; }
.roof-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.roof-photo figcaption { margin-top: 16px; text-align: center; font-size: 15px; color: var(--neutral-02); }

/* Verlinkte Vorteils-Karte (z. B. Verweis auf eine andere Leistung) */
.value-card--link { text-decoration: none; color: inherit; border: 1px solid var(--gold); transition: transform .2s ease, box-shadow .2s ease; }
.value-card--link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.value-card__more { display: inline-block; margin-top: 12px; font-weight: 500; color: var(--navy); }

/* Zeitleiste im dunklen Kasten (z. B. Speicherseite) */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.timeline li { position: relative; padding-left: 30px; display: flex; flex-direction: column; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: -18px; width: 2px; background: rgba(218, 157, 38, .35); }
.timeline__when { font-size: 13px; font-weight: 500; color: var(--gold); }
.timeline strong { font-size: 20px; font-weight: 500; color: var(--white); line-height: 1.35; }
.timeline li > span:last-child { font-size: 15px; color: rgba(255, 255, 255, .75); line-height: 1.5; }

/* Vergleich „Damals und heute“ im dunklen Kasten (Erweitern & erneuern) */
.compare__intro { font-size: 15px; color: rgba(255, 255, 255, .75); margin: -8px 0 24px; }
.compare { display: flex; flex-direction: column; gap: 22px; }
.compare__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 8px; }
.compare__label span { font-size: 15px; color: rgba(255, 255, 255, .85); }
.compare__label a { color: inherit; }
.compare__label strong { font-size: 20px; font-weight: 500; color: var(--white); white-space: nowrap; }
.compare__bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.compare__bar span { display: block; height: 100%; border-radius: inherit; background: rgba(255, 255, 255, .45); }
.compare__bar--new span { background: var(--gold); }
.compare__result { margin-top: 28px; font-size: 20px; font-weight: 500; color: var(--white); line-height: 1.4; }

/* AC/DC-Gegenüberstellung (Wallbox) */
.choice__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.choice-card { background: var(--neutral-01); border-radius: var(--radius); padding: 40px 44px; display: flex; flex-direction: column; gap: 10px; }
.choice-card .eyebrow { margin: 0; }
.choice-card__lead { font-size: 16px; font-weight: 400; color: var(--neutral-03); margin-bottom: 10px; }
.choice-card .checklist li { position: relative; display: block; padding-left: 28px; align-items: start; color: var(--neutral-03); line-height: 1.55; }
.choice-card .checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.choice-card .checklist strong { color: var(--neutral-04); font-weight: 600; }
.choice-card .checklist a { color: var(--navy); }
.choice-card--dc { background: var(--navy); }
.choice-card--dc h3, .choice-card--dc .checklist strong { color: var(--white); }
.choice-card--dc .choice-card__lead, .choice-card--dc .checklist li { color: rgba(255, 255, 255, .85); }
.choice-card--dc .checklist a { color: var(--white); }
.choice-card__note { margin-top: auto; padding-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .15); }
@media (max-width: 809.98px) {
  .choice__grid { grid-template-columns: 1fr; }
  .choice-card { padding: 28px 24px; }
}

/* Landingpage (/angebot/…): Text steht mittig und ist länger – Schleier größer und mittig */
.hero--page .hero__area {
  background-image:
    radial-gradient(ellipse 65% 60% at 50% 52%, rgba(8, 32, 51, .6), rgba(8, 32, 51, 0) 100%),
    linear-gradient(to top, rgba(8, 32, 51, .45), rgba(8, 32, 51, 0) 45%),
    url("/assets/img/photos/hero-abendlicht-2560.webp");
}
@media (max-width: 809.98px) {
  .hero--page .hero__area {
    background-image:
      radial-gradient(ellipse 110% 65% at 50% 50%, rgba(8, 32, 51, .62), rgba(8, 32, 51, 0) 100%),
      linear-gradient(to top, rgba(8, 32, 51, .5), rgba(8, 32, 51, 0) 50%),
      url("/assets/img/photos/hero-abendlicht-mobil.webp");
  }
}

/* Vorher / nachher */
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.before-after__item { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.before-after__item img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.before-after__item figcaption { order: -1; display: flex; align-items: center; gap: 12px; }
.before-after__value { font-size: 24px; font-weight: 500; color: var(--navy); }
.before-after__label { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 500; }
.before-after__label--gold { background: var(--gold); color: var(--navy); }
.before-after__caption { margin-top: 16px; text-align: center; font-size: 15px; color: var(--neutral-02); }
@media (max-width: 809.98px) {
  .before-after { grid-template-columns: 1fr; gap: 16px; }
}

/* Bild + Text nebeneinander */
.media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.media-text__media { margin: 0; }
.media-text__media img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.media-text__media figcaption { margin-top: 8px; font-size: 13px; color: var(--neutral-02); }
.media-text__body { display: flex; flex-direction: column; gap: 16px; }
.media-text__body .eyebrow { margin: 0; }
@media (max-width: 809.98px) {
  .media-text { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Startseite: Hero ---------- */
/* Text links auf dunklem Verlauf (heller Himmel links oben), Vertrauen + Telefon sofort sichtbar. */
.hero--home .hero__area {
  justify-content: flex-start; padding: 140px clamp(30px, 7vw, 120px) 56px;
  background-image:
    radial-gradient(ellipse 60% 70% at 22% 62%, rgba(8, 32, 51, .78), rgba(8, 32, 51, .35) 55%, rgba(8, 32, 51, 0) 100%),
    linear-gradient(to top, rgba(8, 32, 51, .5), rgba(8, 32, 51, 0) 45%),
    url("/assets/img/photos/hero-abendlicht-2560.webp");
}
.hero--home .hero__content { max-width: 780px; align-items: flex-start; text-align: left; gap: 24px; }
.hero--home h1 { font-size: 60px; letter-spacing: -1.8px; line-height: 1.1; text-shadow: 0 2px 16px rgba(8, 32, 51, .35); }
.hero--home .hero__content p { font-size: 19px; line-height: 1.55; max-width: 600px; color: rgba(255, 255, 255, .92); }
.hero--home .hero__buttons { justify-content: flex-start; }
.hero__rating { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(8, 32, 51, .5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--white); font-size: 15px; font-weight: 300; text-decoration: none; transition: background .2s ease; }
.hero__rating:hover { background: rgba(8, 32, 51, .7); }
.hero__rating strong { font-weight: 600; }
.hero__rating .stars svg { width: 16px; height: 16px; }
.hero__rating > span:last-child { white-space: nowrap; }
.btn--gold { background: var(--gold); color: var(--navy); font-weight: 500; }
.btn--glass { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass svg { width: 18px; height: 18px; }
.hero__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--white); font-size: 15px; font-weight: 400; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
@media (max-width: 1199.98px) {
  .hero--home h1 { font-size: 54px; letter-spacing: -1.5px; }
}
@media (max-width: 809.98px) {
  .hero--home .hero__area {
    padding: 130px 20px 32px;
    background-image:
      linear-gradient(to top, rgba(8, 32, 51, .92) 0%, rgba(8, 32, 51, .75) 55%, rgba(8, 32, 51, .15) 85%, rgba(8, 32, 51, 0) 100%),
      url("/assets/img/photos/hero-abendlicht-mobil.webp");
  }
  .hero--home .hero__content { gap: 20px; }
  .hero--home h1 { font-size: 36px; letter-spacing: -1px; }
  .hero--home .hero__content p { font-size: 16px; }
  .hero--home .hero__buttons { width: 100%; flex-direction: column; gap: 12px; }
  .hero--home .hero__buttons .btn { width: 100%; justify-content: center; text-align: center; }
  .hero__facts { flex-direction: column; gap: 8px; font-size: 14px; }
  .hero__rating { font-size: 14px; gap: 8px; padding: 7px 14px 7px 10px; }
  .hero__rating .stars svg { width: 13px; height: 13px; }
}
/* Startseite: Inline-Icons in den Vorteilen wie die übrigen Icons dort in Navy */
.hero--home ~ .values .value-card svg { color: var(--navy); }
