/* =====================================================================
   Semagin Energie – Website-Stylesheet
   Layout-Idee: "Energiefluss" – blaue Bänder (Himmel) und grüne Akzente
   (Wiese/Strom), dazwischen ruhige weiße Flächen mit viel Luft.
   Markenfarben stammen aus dem Logo und bleiben unverändert.
   ===================================================================== */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/interdisplay-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* Markenfarben (aus dem Logo) */
  --blue: #1F69B2;
  --blue-700: #18599A;
  --blue-900: #0E2F55;
  --blue-100: #DCE8F5;
  --blue-50: #EEF4FB;
  --green: #71B737;
  --green-600: #5A9A2A;
  --green-ink: #437E1C;     /* Grün für Text auf Weiß (gut lesbar) */
  --green-50: #EFF7E7;
  --sun: #FFE07A;

  /* Neutrale Töne, leicht ins Markenblau gezogen */
  --ink: #13263D;
  --muted: #4E5F73;
  --line: #DCE5EE;
  --bg: #FFFFFF;
  --bg-soft: #F3F7FB;

  /* Schrift */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Maße */
  --wrap: 1200px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(14, 47, 85, .06), 0 4px 14px rgba(14, 47, 85, .06);
  --shadow: 0 2px 6px rgba(14, 47, 85, .06), 0 18px 40px -12px rgba(14, 47, 85, .18);
  --shadow-lg: 0 30px 70px -24px rgba(8, 30, 60, .55);
  --header-h: 76px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); color: inherit; margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.35rem, 1.35rem + 3.9vw, 4.15rem); line-height: 1.03; letter-spacing: -.028em; }
h2 { font-weight: 800; font-size: clamp(1.8rem, 1.25rem + 2.1vw, 2.85rem); line-height: 1.08; letter-spacing: -.022em; }
h3 { font-weight: 700; font-size: 1.28rem; line-height: 1.25; letter-spacing: -.01em; }
h4 { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
ul, ol { margin: 0; padding: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue-900); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* Überschriften-Block */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--green); }
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.24rem); color: var(--muted); line-height: 1.55; margin-top: 16px; }

/* Grüner Bogen unter Schlüsselwörtern – angelehnt an den Bogen im Logo */
.hl { position: relative; white-space: nowrap; display: inline-block; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.16em; height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 15 Q100 -3 197 13' fill='none' stroke='%2371B737' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
.hl-wrap { position: relative; z-index: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .85rem 1.35rem; border-radius: 12px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--green { background: var(--green); color: var(--blue-900); box-shadow: 0 8px 22px -10px rgba(113, 183, 55, .9); }
.btn--green:hover { background: #7CC343; color: var(--blue-900); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .14); color: #fff; }
.btn--outline { border-color: var(--blue-100); color: var(--blue); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue-700); }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; padding: 1rem 1.6rem; font-size: 1.06rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--blue); }
.link-arrow .icon { transition: transform .15s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }
.badge-new {
  display: inline-block; padding: .18em .6em; border-radius: 999px; background: var(--green); color: var(--blue-900);
  font: 700 .7rem/1.3 var(--font-body); letter-spacing: .06em; text-transform: uppercase; vertical-align: .2em;
}

/* ---------- Kontaktleiste oben (nur Computer) ---------- */
.topbar { background: var(--blue-900); color: rgba(255, 255, 255, .85); font-size: .86rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__claim { margin: 0; display: inline-flex; align-items: center; gap: .45em; font-weight: 500; }
.topbar__claim .icon { color: var(--green); width: 1.1em; height: 1.1em; }
.topbar__links { display: flex; align-items: center; gap: 22px; list-style: none; }
.topbar a { display: inline-flex; align-items: center; gap: .45em; color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar a .icon { width: 1.05em; height: 1.05em; color: #CFEAB2; }
@media (max-width: 1280px) { .topbar__mail { display: none; } }
@media (max-width: 1120px) { .topbar { display: none; } }

/* ---------- Kopfzeile ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 61; background: #fff; }
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(14, 47, 85, .35); }
.header__bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: 172px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__link {
  display: inline-flex; align-items: center; gap: .4em; padding: .55rem .7rem; border-radius: 10px; white-space: nowrap;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem;
}
.nav__link:hover { background: var(--blue-50); color: var(--blue); }
.nav__link[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--green); border-radius: 10px 10px 4px 4px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--blue-900); text-decoration: none; padding: .5rem .6rem; border-radius: 10px; white-space: nowrap; }
.header__phone:hover { background: var(--blue-50); color: var(--blue); }
.header__phone .icon { color: var(--green-ink); }
.header__cta { min-height: 46px; padding: .65rem 1.05rem; white-space: nowrap; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--blue-50); color: var(--blue-900); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }
.nav__mobile-extra { display: none; }

@media (max-width: 1500px) { .header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .header__phone { width: 46px; height: 46px; justify-content: center; background: var(--blue-50); } }
@media (max-width: 1120px) {
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .nav-toggle { display: inline-flex; }
  .header__actions { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); bottom: 0;
    background: #fff; padding: 12px var(--gutter-r) 28px var(--gutter); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
    border-top: 1px solid var(--line);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { font-size: 1.12rem; padding: .95rem .9rem; justify-content: space-between; }
  .nav__link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--green); border-radius: 10px; background: var(--blue-50); }
  .nav__mobile-extra { display: grid; gap: 10px; margin-top: 18px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand img { width: 150px; } }

/* ---------- Fotos (Adobe Stock, lizenziert) ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--blue-50); }
.photo picture { display: block; height: 100%; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo__tag {
  position: absolute; right: 12px; bottom: 12px; padding: .22em .7em; border-radius: 999px; pointer-events: none;
  background: rgba(8, 26, 48, .6); color: #fff; font-size: .72rem; font-weight: 600; line-height: 1.35; letter-spacing: .02em;
}

/* ---------- Startseiten-Hero (Foto im Hintergrund) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--blue-900); }
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo .photo { height: 100%; border-radius: 0; background: var(--blue-900); }
.hero__photo img { object-position: 50% 100%; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(9, 33, 62, .9) 0%, rgba(9, 33, 62, .78) 30%, rgba(9, 33, 62, .42) 55%, rgba(9, 33, 62, .12) 80%, rgba(9, 33, 62, .04) 100%),
    linear-gradient(180deg, rgba(9, 33, 62, .32) 0%, rgba(9, 33, 62, 0) 24%);
}
.hero__inner {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px);
  padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(150px, 15vw, 230px);
}
.hero__text { text-shadow: 0 1px 20px rgba(4, 18, 36, .35); }
.hero__pill {
  display: inline-flex; align-items: center; gap: .55em; padding: .5rem .95rem .5rem .55rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); font-weight: 600; font-size: .95rem; line-height: 1.3;
}
.hero__pill b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: var(--blue-900); flex: none; }
.hero__pill b .icon { width: 16px; height: 16px; }
.hero h1 { margin-top: 22px; }
.hero h1 .hl { color: #fff; }
.hero__lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, .9); margin-top: 20px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__lead { text-wrap: pretty; }
.hero__alt { margin: 16px 0 0; font-size: .98rem; color: rgba(255, 255, 255, .88); }
.hero__alt a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(113, 183, 55, .9); text-underline-offset: 4px; white-space: nowrap; }
.hero__alt a:hover { color: #fff; text-decoration-color: #fff; }
.hero__alt .icon { color: var(--green); }
.hero__trust { display: grid; grid-template-columns: repeat(2, max-content); gap: 10px 26px; margin-top: 26px; list-style: none; font-weight: 600; font-size: .98rem; }
@media (max-width: 520px) { .hero__trust { grid-template-columns: minmax(0, 1fr); } }
.hero__trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero__trust .icon { color: var(--green); width: 1.35em; height: 1.35em; }
.hero__card { position: relative; align-self: start; text-shadow: none; }
.after-hero { position: relative; z-index: 3; margin-top: -28px; background: var(--bg); border-radius: 28px 28px 0 0; }

/* Handy/Tablet: Foto als Band oben, Überschrift liegt auf dem unteren Teil des Fotos */
@media (max-width: 960px) {
  .hero { --hero-ph: min(86vw, 520px); }
  .hero__photo { bottom: auto; height: var(--hero-ph); }
  .hero__photo::after {
    background: linear-gradient(180deg, rgba(9, 33, 62, .12) 0%, rgba(9, 33, 62, .22) 34%, rgba(9, 33, 62, .74) 66%, var(--blue-900) 100%);
  }
  .hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: max(40px, calc(var(--hero-ph) - 215px)); padding-bottom: 64px; }
}

/* Foto-Rahmen in Abschnitten */
.page-hero__art .photo, .band__art .photo, .art-frame .photo { border-radius: 0; aspect-ratio: 4 / 3; background: none; }
.card__art .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.promise__side { display: grid; gap: 18px; align-content: start; }
.promise__side .photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.media-stack { display: grid; gap: 18px; }
.media-stack .photo { aspect-ratio: 16 / 10; }

/* ---------- Unterseiten-Hero ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(760px 420px at 92% -10%, rgba(255, 224, 122, .26), rgba(255, 224, 122, 0) 60%),
    linear-gradient(180deg, #1B60A6 0%, var(--blue) 60%, #2775C0 100%);
}
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: 84px; }
.page-hero--plain .page-hero__inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 72px; }
.page-hero__text { padding-bottom: 12px; max-width: 44rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4em; list-style: none; font-size: .9rem; color: rgba(255, 255, 255, .78); margin-bottom: 18px; }
.crumbs a { color: #fff; text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs li + li::before { content: "›"; margin-right: .4em; opacity: .7; }
.page-hero .eyebrow { color: #CFEAB2; }
.page-hero .eyebrow::before { background: var(--green); }
.page-hero .lead { color: rgba(255, 255, 255, .9); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero__art { align-self: center; }
.page-hero__art svg { display: block; width: 100%; height: auto; }
.page-hero + .after-hero { margin-top: -28px; }
@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: minmax(0, 1fr); padding-bottom: 68px; }
  .page-hero__art { max-width: 560px; }
}

/* ---------- Dach-Check (mehrstufiges Formular) ---------- */
.check {
  background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: clamp(20px, 2.6vw, 30px); position: relative;
}
.check--flat { box-shadow: var(--shadow); border: 1px solid var(--line); }
.check__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.check__title { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.015em; line-height: 1.2; }
.check__sub { color: var(--muted); font-size: .94rem; margin-top: 4px; }
.check__time { flex: none; display: inline-flex; align-items: center; gap: .35em; background: var(--green-50); color: var(--green-ink); font-weight: 700; font-size: .82rem; padding: .35rem .65rem; border-radius: 999px; white-space: nowrap; }
.check__progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 8px; }
.check__progress span { height: 6px; border-radius: 6px; background: var(--line); transition: background .25s ease; }
.check__progress span.is-done { background: var(--green); }
.check__count { font-size: .85rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.check__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.check__step legend { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.3; padding: 0; margin-bottom: 14px; }
.check__step legend:focus { outline: none; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: flex; align-items: center; gap: .65em; min-height: 58px; padding: .7rem .85rem; border: 2px solid var(--line); border-radius: 14px;
  font-weight: 600; font-size: .98rem; line-height: 1.25; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.opt span .icon { color: var(--blue); width: 1.45em; height: 1.45em; }
.opt:hover span { border-color: #B9CDE2; background: #FAFCFE; }
.opt input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.opt input:checked + span { border-color: var(--green); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green); }
.opt input:checked + span::after {
  content: ""; margin-left: auto; width: 22px; height: 22px; flex: none; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-8.5' fill='none' stroke='%230E2F55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.opts--wide { grid-template-columns: minmax(0, 1fr); }
.check__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.check__back { background: none; border: 0; padding: .5rem .2rem; color: var(--muted); font: 600 .95rem var(--font-body); cursor: pointer; display: inline-flex; align-items: center; gap: .35em; }
.check__back:hover { color: var(--blue); }
.check__back[hidden] { display: none; }
.check__chosen { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; font-size: .92rem; color: var(--muted); margin-bottom: 12px; }
.check__chosen strong { color: var(--ink); }
.check__chosen button { background: none; border: 0; color: var(--blue); font: 600 .92rem var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }
.check__err { color: #B42318; font-weight: 600; font-size: .92rem; margin-top: 10px; }
.check__note { display: flex; align-items: flex-start; gap: .5em; margin-top: 14px; color: var(--muted); font-size: .86rem; line-height: 1.45; }
.check__note .icon { color: var(--green-ink); margin-top: .1em; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; }
.field label .opt-tag { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .9rem; border: 1.5px solid #C5D3E1; border-radius: 12px;
  font: 500 1rem var(--font-body); color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 105, 178, .18); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.consent { display: flex; align-items: flex-start; gap: .65em; font-size: .88rem; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.consent input { width: 20px; height: 20px; margin: .1em 0 0; flex: none; accent-color: var(--green-600); }
.consent a { color: var(--blue); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) {
  .opts { gap: 8px; }
  .opt span { min-height: 54px; padding: .55rem .6rem; gap: .5em; font-size: .92rem; }
  .opt span .icon { width: 1.3em; height: 1.3em; }
  .opt input:checked + span::after { width: 18px; height: 18px; background-size: 12px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .check__head { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .page-hero__actions .btn { width: 100%; }
  .ef__switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .ef__btn { justify-content: center; padding: .5rem .4rem; font-size: .92rem; }
}
@media (max-width: 340px) { .opts { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .ef-node text { font-size: 25px; } .ef__stage { padding: 6px; } }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 18px; }
.services__small { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #BFD3E8; color: var(--ink); }
.card__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); margin-bottom: 6px; }
.card__icon .icon { width: 28px; height: 28px; }
.card h3 { display: flex; align-items: center; gap: .5em; flex-wrap: wrap; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 6px; }
.card--feature { background: var(--blue); color: #fff; border-color: transparent; overflow: hidden; padding-bottom: 0; }
.card--feature p { color: rgba(255, 255, 255, .88); }
.card--feature .card__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.card--feature .link-arrow { color: #fff; }
.card--feature a.card:hover, a.card--feature:hover { color: #fff; border-color: transparent; }
.card__list { list-style: none; display: grid; gap: 8px; margin: 6px 0 4px; }
.card__list li { display: flex; gap: .55em; align-items: flex-start; font-weight: 500; }
.card__list .icon { color: var(--green); margin-top: .15em; }
.card__art { margin: 14px -26px 0; }
.card__art svg { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .services { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .services__small { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Versprechen ---------- */
.promise { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.promise__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; margin-top: 36px; }
.promise__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.promise__item .card__icon { width: 48px; height: 48px; border-radius: 14px; margin: 0; background: #fff; box-shadow: var(--shadow-sm); }
.promise__item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.promise__item p { color: var(--muted); font-size: 1rem; }
.checklist {
  background: #fff; border-radius: 22px; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.checklist__kicker { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green-ink); }
.checklist h3 { margin: 8px 0 18px; font-size: 1.35rem; }
.checklist ul { list-style: none; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 500; }
.checklist li b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--blue-900); }
.checklist li b .icon { width: 16px; height: 16px; }
.checklist__foot { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .promise { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .promise__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Energiefluss (interaktiv) ---------- */
.energy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .energy { grid-template-columns: minmax(0, 1fr); } }
.ef__switch { display: inline-flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.ef__btn {
  display: inline-flex; align-items: center; gap: .45em; min-height: 46px; padding: .55rem 1rem; border-radius: 11px; border: 0;
  background: transparent; color: var(--muted); font: 700 .98rem var(--font-body); cursor: pointer; transition: background .15s ease, color .15s ease;
}
.ef__btn:hover { color: var(--blue); }
.ef__btn[aria-pressed="true"] { background: #fff; color: var(--blue-900); box-shadow: var(--shadow-sm); }
.ef__btn[aria-pressed="true"] .icon { color: var(--green-ink); }
.ef__stage { border-radius: 24px; padding: clamp(8px, 2vw, 18px); background: linear-gradient(180deg, #E5F0FB 0%, #FFFFFF 100%); border: 1px solid var(--line); transition: background .6s ease; }
.ef__stage[data-state="abend"] { background: linear-gradient(180deg, #C4D9EF 0%, #EEF4FB 100%); }
.ef__stage[data-state="nacht"] { background: linear-gradient(180deg, #0E2F55 0%, #1A4677 100%); border-color: #0E2F55; }
.ef__svg { display: block; width: 100%; height: auto; overflow: visible; }
.ef-card { fill: #fff; stroke: var(--line); stroke-width: 2; transition: stroke .3s ease; }
.ef-node text { font: 600 22px var(--font-body); fill: var(--ink); text-anchor: middle; }
.ef-ico { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ef-node { transition: opacity .4s ease; }
.ef-l { fill: none; stroke: #C9D6E3; stroke-width: 3; stroke-dasharray: 3 8; stroke-linecap: round; transition: stroke .4s ease; }
.ef-f { fill: none; stroke: var(--green); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 13; opacity: 0; transition: opacity .35s ease; animation: ef-dash .9s linear infinite; }
.ef-f--grid { stroke: #6FA8E0; }
@keyframes ef-dash { to { stroke-dashoffset: -30; } }
.ef-bat { fill: var(--green); stroke: none; opacity: .18; transition: opacity .3s ease; }
.ef-sky { opacity: 0; transition: opacity .4s ease; }
/* Mittags */
[data-state="mittag"] .ef-sky--sun { opacity: 1; }
[data-state="mittag"] :is(.f-pv-haus, .f-pv-sp, .f-pv-auto, .f-haus-netz) { opacity: 1; }
[data-state="mittag"] :is(.n-pv, .n-sp, .n-haus, .n-auto, .n-netz) .ef-card { stroke: var(--green); stroke-width: 3; }
[data-state="mittag"] :is(.ef-bat1, .ef-bat2) { opacity: 1; }
[data-state="mittag"] .ef-bat3 { opacity: 1; animation: sc-led 1.4s ease-in-out infinite; }
/* Abends */
[data-state="abend"] .ef-sky--dusk { opacity: 1; }
[data-state="abend"] .f-sp-haus { opacity: 1; }
[data-state="abend"] :is(.n-sp, .n-haus) .ef-card { stroke: var(--green); stroke-width: 3; }
[data-state="abend"] :is(.n-pv, .n-auto, .n-netz) { opacity: .7; }
[data-state="abend"] :is(.ef-bat1, .ef-bat2, .ef-bat3) { opacity: 1; }
/* Nachts */
[data-state="nacht"] .ef-sky--moon { opacity: 1; }
[data-state="nacht"] :is(.f-sp-haus, .f-netz-haus) { opacity: 1; }
[data-state="nacht"] .ef-l { stroke: #3A6595; }
[data-state="nacht"] :is(.n-sp, .n-haus) .ef-card { stroke: var(--green); stroke-width: 3; }
[data-state="nacht"] .n-netz .ef-card { stroke: #6FA8E0; stroke-width: 3; }
[data-state="nacht"] :is(.n-pv, .n-auto) { opacity: .55; }
[data-state="nacht"] .ef-bat1 { opacity: 1; }
.ef__text { margin-top: 16px; min-height: 5.2em; font-size: 1.05rem; }
.ef__text strong { color: var(--blue-900); }

/* ---------- Solarcarport-Band ---------- */
.band { position: relative; overflow: hidden; color: #fff; background: radial-gradient(600px 400px at 85% 30%, rgba(255, 224, 122, .16), rgba(255, 224, 122, 0) 70%), var(--blue-900); }
.band__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.band .eyebrow { color: #CFEAB2; }
.band p { color: rgba(255, 255, 255, .86); }
.band__list { list-style: none; display: grid; gap: 12px; margin: 22px 0 30px; }
.band__list li { display: flex; gap: .65em; align-items: flex-start; font-weight: 500; color: #fff; }
.band__list .icon { color: var(--green); margin-top: .12em; }
.band__art, .page-hero__art { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #1B60A6 0%, var(--blue) 65%, #2775C0 100%); box-shadow: 0 24px 60px -28px rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .16); }
.band__art svg { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .band__inner { grid-template-columns: minmax(0, 1fr); } .band__art { max-width: 540px; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; position: relative; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps::before { content: ""; position: absolute; left: 30px; right: calc((100% - 66px) / 4 - 30px); top: 29px; height: 3px; background: repeating-linear-gradient(90deg, var(--green) 0 8px, transparent 8px 16px); opacity: .7; }
.steps--5::before { right: calc((100% - 88px) / 5 - 30px); }
.steps--3::before { right: calc((100% - 44px) / 3 - 30px); }
.step { position: relative; counter-increment: step; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--blue); color: #fff;
  font: 800 1.4rem var(--font-display); box-shadow: 0 10px 24px -12px rgba(31, 105, 178, .9); margin-bottom: 18px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .steps, .steps--5, .steps--3 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps::before { left: 29px; right: auto; top: 30px; bottom: 30px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--green) 0 8px, transparent 8px 16px); }
  .step { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 18px; padding-bottom: 26px; }
  .step__num { margin: 0; }
}

/* ---------- Kacheln / Info ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tiles, .tiles--3, .tiles--4 { grid-template-columns: minmax(0, 1fr); } }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.section--soft .tile { border-color: transparent; box-shadow: var(--shadow-sm); }
.tile .card__icon { margin-bottom: 4px; }
.tile p { color: var(--muted); }
.tile--news { flex-direction: row; gap: 18px; align-items: flex-start; }
.tile--news .card__icon { flex: none; }
@media (max-width: 520px) { .tile--news { flex-direction: column; gap: 12px; } }
.tile__tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); }

/* Hinweis-Box */
.note { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 24px; border-radius: 20px; background: var(--blue-50); border: 1px solid var(--blue-100); }
.note .card__icon { width: 48px; height: 48px; margin: 0; background: #fff; }
.note h3 { font-size: 1.15rem; margin-bottom: 6px; }
.note p { color: var(--muted); }
.note__stand { display: block; margin-top: 8px; font-size: .85rem; color: var(--muted); }

/* Zwei Spalten Text + Bild */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split--rev .split__media { order: 0; } }
.art-frame { border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #1B60A6, var(--blue) 70%, #2775C0); }
.art-frame svg { display: block; width: 100%; height: auto; }
.ticks { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.ticks li { display: flex; gap: .6em; align-items: flex-start; }
.ticks .icon { color: var(--green-ink); margin-top: .15em; }
.ticks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
@media (max-width: 640px) { .ticks--2 { grid-template-columns: minmax(0, 1fr); } }

/* Sprung-Navigation (Leistungen) */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; list-style: none; }
.jump a { display: inline-flex; align-items: center; gap: .45em; padding: .6rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; text-decoration: none; font-weight: 600; }
.jump a:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* Leistungsblöcke */
.svc + .svc { margin-top: clamp(56px, 7vw, 96px); }
.svc h2 { display: flex; align-items: center; gap: .4em; flex-wrap: wrap; }
.svc__box { margin-top: 22px; padding: 22px 24px; border-radius: 18px; background: var(--bg-soft); }
.svc__box h3 { font-size: 1.02rem; color: var(--green-ink); }
.svc__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer;
  padding: 20px 4px; font: 700 1.1rem/1.35 var(--font-display); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq__plus { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blue-50); color: var(--blue); transition: transform .2s ease, background .2s ease; }
.faq details[open] .faq__plus { transform: rotate(45deg); background: var(--green); color: var(--blue-900); }
.faq__a { padding: 0 4px 22px; color: var(--muted); max-width: 62ch; }

/* ---------- Abschluss-CTA ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(700px 420px at 90% 0%, rgba(255, 224, 122, .24), rgba(255, 224, 122, 0) 65%),
    linear-gradient(135deg, #1B60A6 0%, var(--blue) 55%, #2775C0 100%);
}
.cta__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.cta .eyebrow { color: #CFEAB2; }
.cta p { color: rgba(255, 255, 255, .9); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 26px; }
.cities li { padding: .38rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); font-size: .9rem; font-weight: 600; }
.cities--light li { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-900); }
.contact-card { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; padding: clamp(22px, 3vw, 30px); }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 14px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; }
.contact-list .ci { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .14); }
.contact-list a { color: #fff; font-weight: 700; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; color: #fff; }
.contact-list small { display: block; color: rgba(255, 255, 255, .75); font-size: .85rem; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: minmax(0, 1fr); } }

/* Kontakt-Seite */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.cbox { display: grid; gap: 14px; }
.cbox__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
a.cbox__item:hover { border-color: #BFD3E8; box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--ink); }
.cbox__item .card__icon { margin: 0; width: 52px; height: 52px; }
.cbox__item strong { display: block; font-size: 1.05rem; }
.cbox__item span { color: var(--muted); font-size: .93rem; }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }
.legal-note { padding: 20px 22px; border-radius: 16px; background: #FFF8DB; border: 1px dashed #E2C454; color: #5B4A0B; }
.legal h2:first-child { margin-top: 0; }
.legal ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.legal li { margin: .4em 0; }
.legal a { overflow-wrap: anywhere; }
.legal .linklike { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal .linklike:hover { color: var(--blue-700); }
.legal-stand { color: var(--muted); }

/* Danke / 404 */
.thanks { max-width: 760px; }
.thanks__icon { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: var(--green); color: var(--blue-900); margin-bottom: 24px; }
.thanks__icon .icon { width: 40px; height: 40px; }

/* Zitat */
.quote { margin: 0; padding: clamp(26px, 4vw, 40px); border-radius: 24px; background: var(--blue-900); color: #fff; }
.quote p { font: 700 clamp(1.3rem, 1.1rem + .9vw, 1.75rem)/1.35 var(--font-display); letter-spacing: -.01em; }
.quote footer { margin-top: 14px; color: #CFEAB2; font-weight: 600; }

/* ---------- Fußzeile ---------- */
.footer { background: var(--blue-900); color: rgba(255, 255, 255, .82); padding-top: clamp(56px, 7vw, 84px); font-size: .97rem; }
.footer a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.footer__brand img { width: 190px; }
.footer__slogan { margin-top: 18px; font: 700 1.1rem/1.4 var(--font-display); color: #fff; max-width: 22ch; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer .footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__area { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: rgba(255, 255, 255, .7); }
.footer__credits { margin-top: 6px; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 22px 28px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; }
.linklike { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .92); font: inherit; cursor: pointer; }
.linklike:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__col--brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mobile Schnellleiste (Handy und Tablet) ---------- */
.quickbar { display: none; }
@media (max-width: 1120px) {
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter);
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(14, 47, 85, .45);
  }
  .quickbar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; border-radius: 12px;
    text-decoration: none; font-weight: 700; font-size: .82rem; color: var(--blue-900); background: var(--blue-50);
  }
  .quickbar a .icon { width: 22px; height: 22px; color: var(--blue); }
  .quickbar a.quickbar__main { background: var(--green); }
  .quickbar a.quickbar__main .icon { color: var(--blue-900); }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

/* Vorschau-Hinweis (nur in der Vorschau sichtbar) */
.preview-note { background: #FFF8DB; color: #5B4A0B; text-align: center; font-size: .85rem; padding: 8px 16px; }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ef-f { stroke-dasharray: 4 8; }
}

/* ---------- Druck ---------- */
@media print {
  .header, .quickbar, .hero__photo, .nav-toggle { display: none !important; }
  .hero, .page-hero, .cta, .band { background: #fff !important; color: #000 !important; }
}

/* Info-Panel (z. B. Wallbox, Notstrom) */
.panel { border-radius: 24px; padding: clamp(24px, 3vw, 36px); background: var(--blue); color: #fff; position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 224, 122, .35), rgba(255, 224, 122, 0) 70%); }
.panel__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); margin-bottom: 18px; }
.panel__icon .icon { width: 34px; height: 34px; }
.panel h3 { font-size: 1.3rem; margin-bottom: 10px; }
.panel p { color: rgba(255, 255, 255, .88); }
.panel .ticks .icon { color: var(--green); }
.panel--deep { background: var(--blue-900); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.fact { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.fact b { display: block; font: 800 1.35rem/1.2 var(--font-display); color: #fff; }
.fact span { font-size: .9rem; color: rgba(255, 255, 255, .82); }
@media (max-width: 520px) { .facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Kontakt-Zeilen in Abschnitten ---------- */
.ask {
  margin-top: clamp(32px, 4vw, 48px); padding: 22px 26px; border-radius: 20px; background: var(--blue-50); border: 1px solid var(--blue-100);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
}
.section--soft .ask { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.ask__text { margin: 0; font: 700 1.18rem/1.35 var(--font-display); color: var(--ink); max-width: 30em; }
.ask__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.promise__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.check__alt { display: flex; flex-wrap: wrap; align-items: center; gap: .35em 1.1em; margin: 10px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .92rem; color: var(--muted); }
.check__alt a { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--blue-900); text-decoration: none; }
.check__alt a:hover { color: var(--blue); text-decoration: underline; }
.check__alt .icon { color: var(--green-ink); width: 1.1em; height: 1.1em; }
@media (max-width: 640px) {
  .ask { padding: 20px; }
  .ask__actions, .ask__actions .btn, .promise__cta .btn { width: 100%; }
}

/* =====================================================================
   Solarrechner, Parkplatz-Rechner und Seite für Unternehmen
   ===================================================================== */

/* Vertrauens-Zeile im Seitenkopf */
.ph-trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; list-style: none; font-weight: 600; }
.ph-trust li { display: inline-flex; align-items: center; gap: .45em; }
.ph-trust .icon { color: var(--green); width: 1.3em; height: 1.3em; }

/* ---------- Auswahl-Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip > span {
  display: inline-flex; align-items: center; gap: .45em; min-height: 46px; padding: .5rem 1.05rem; border: 2px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 600; font-size: .97rem; line-height: 1.2;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.chip > span .icon { color: var(--blue); width: 1.25em; height: 1.25em; }
.chip small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.chip:hover > span { border-color: #B9CDE2; background: #FAFCFE; }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.chip input:checked + span { border-color: var(--green); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green); }
.chip input:checked + span small { color: var(--green-ink); }
.chip--check > span::after { content: ""; width: 20px; height: 20px; flex: none; margin-left: .2em; border-radius: 50%; border: 2px solid #C5D3E1; background: #fff; }
.chip--check input:checked + span::after {
  border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-8.5' fill='none' stroke='%230E2F55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Schieberegler ---------- */
.range { --p: 50%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 34px; margin: 8px 0 0; background: transparent; cursor: pointer; }
.range:focus { outline: none; }
.range::-webkit-slider-runnable-track { height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--green) 0 var(--p), var(--blue-100) var(--p) 100%); }
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 30px; height: 30px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green); box-shadow: 0 4px 12px rgba(14, 47, 85, .28); transition: transform .15s ease, box-shadow .15s ease;
}
.range::-moz-range-track { height: 10px; border-radius: 10px; background: var(--blue-100); }
.range::-moz-range-progress { height: 10px; border-radius: 10px; background: var(--green); }
.range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--green); box-shadow: 0 4px 12px rgba(14, 47, 85, .28); }
.range:active::-webkit-slider-thumb { transform: scale(1.08); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px rgba(113, 183, 55, .35), 0 4px 12px rgba(14, 47, 85, .28); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(113, 183, 55, .35); }
.range--dark::-webkit-slider-runnable-track { background: linear-gradient(90deg, var(--green) 0 var(--p), rgba(255, 255, 255, .2) var(--p) 100%); }
.range--dark::-moz-range-track { background: rgba(255, 255, 255, .2); }
.range__scale { display: flex; justify-content: space-between; margin-top: 2px; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .6); }

/* ---------- Solarrechner ---------- */
.section--calc { padding-top: clamp(36px, 4.5vw, 60px); }
.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(18px, 2.6vw, 32px); align-items: start; }
.calc__in { display: grid; gap: 16px; margin: 0; min-width: 0; }
.calc__box { min-width: 0; margin: 0; padding: clamp(20px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.calc__box legend {
  float: left; width: 100%; padding: 0; margin: 0 0 18px; display: flex; align-items: center; gap: .6em;
  font: 800 1.28rem/1.25 var(--font-display); letter-spacing: -.012em; color: var(--ink);
}
.calc__box legend + * { clear: both; }
.calc__no { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; background: var(--blue); color: #fff; font: 800 1.02rem var(--font-display); }
.calc__q { display: block; margin: 20px 0 10px; font-weight: 700; font-size: 1rem; line-height: 1.35; color: var(--ink); }
.calc__box legend + .calc__q { margin-top: 0; }
.calc__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 20px; }
.calc__row .calc__q { margin: 0; }
.calc__unit { display: inline-flex; align-items: center; border: 1.5px solid #C5D3E1; border-radius: 12px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.calc__unit:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 105, 178, .18); }
.calc__unit input {
  width: 6.4em; min-height: 48px; padding: .6rem .25rem .6rem .9rem; border: 0; border-radius: 12px 0 0 12px; outline: none; background: transparent;
  font: 700 1.05rem var(--font-body); color: var(--ink); text-align: right; -moz-appearance: textfield; appearance: textfield;
}
.calc__unit input::-webkit-outer-spin-button, .calc__unit input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__unit span { padding: 0 .9rem 0 .4rem; color: var(--muted); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.calc__val { font: 800 1.12rem/1.2 var(--font-display); color: var(--blue-900); }
.calc__hint { margin: 10px 0 0; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.calc__hint--strong { padding: .55rem .8rem; border-radius: 10px; background: var(--green-50); color: var(--green-ink); font-weight: 700; }
.calc__hint--strong:empty { display: none; }
.calc__more { border: 1px dashed #BFD0E2; border-radius: 18px; background: var(--bg-soft); }
.calc__more summary { list-style: none; display: flex; align-items: center; gap: .55em; padding: 16px 20px; cursor: pointer; font-weight: 700; color: var(--blue); }
.calc__more summary::-webkit-details-marker { display: none; }
.calc__more summary::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
.calc__more[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.calc__more-in { padding: 0 20px 20px; }
.calc__more-in .calc__row:first-child { margin-top: 0; }
.calc__jump { display: none; }

/* Ergebnis-Kasten (auch für das Beispiel auf der Startseite) */
.calc__out, .cx {
  position: relative; display: grid; gap: 18px; padding: clamp(22px, 2.6vw, 30px); border-radius: 24px; color: #fff; overflow: hidden;
  background: radial-gradient(420px 260px at 100% 0%, rgba(255, 224, 122, .2), rgba(255, 224, 122, 0) 70%), var(--blue-900);
  box-shadow: var(--shadow-lg);
}
.calc__kicker, .cx__head { display: flex; align-items: center; gap: .5em; margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #CFEAB2; }
.calc__kicker .icon, .cx__head .icon { color: var(--sun); width: 1.4em; height: 1.4em; }
.calc__big, .cx__big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.calc__label, .cx__big span { display: block; font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .72); }
.calc__big b, .cx__big b { display: block; margin-top: 2px; font: 800 clamp(1.55rem, 1.2rem + 1.1vw, 2.05rem)/1.1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.calc__cmp, .cx__cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.calc__col, .cx__cmp > div {
  display: grid; gap: 6px; align-content: start; min-width: 0; padding: 16px; border-radius: 18px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.calc__col.is-pick, .cx__cmp > .is-pick { background: rgba(113, 183, 55, .16); border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.calc__tag, .cx__tag { justify-self: start; padding: .22em .7em; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.is-pick > .calc__tag, .is-pick > .cx__tag { background: var(--green); color: var(--blue-900); }
.calc__eur, .cx__cmp b { font: 800 clamp(1.4rem, 1.15rem + .8vw, 1.8rem)/1.1 var(--font-display); letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.calc__col small, .cx__cmp small { font-size: .85rem; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.bar { display: block; height: 8px; margin: 6px 0 2px; border-radius: 8px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), #A9DC78); transition: width .45s ease; }
.calc__alt { margin: -6px 0 0; text-align: center; font-size: .92rem; color: rgba(255, 255, 255, .82); }
.calc__alt a { color: #fff; font-weight: 700; white-space: nowrap; }
.calc__alt a:hover { color: #fff; }
.calc__note, .cx__note { margin: 0; font-size: .8rem; line-height: 1.45; color: rgba(255, 255, 255, .62); }
@media (min-width: 961px) and (min-height: 760px) { .calc__out { position: sticky; top: calc(var(--header-h) + 20px); } }
@media (max-width: 960px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__jump { display: flex; align-items: center; justify-content: center; gap: .45em; min-height: 52px; border-radius: 14px; background: var(--blue-50); color: var(--blue-900); font-weight: 700; text-decoration: none; }
  .calc__jump .icon { transform: rotate(90deg); color: var(--blue); }
}
@media (max-width: 420px) {
  .chip > span { min-height: 44px; padding: .45rem .85rem; font-size: .93rem; }
  .calc__cmp, .cx__cmp { gap: 8px; }
  .calc__col, .cx__cmp > div { padding: 13px; }
  .calc__eur, .cx__cmp b { font-size: 1.32rem; }
}

/* Startseite: Vorschau auf den Solarrechner */
.calc-teaser { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .calc-teaser { grid-template-columns: minmax(0, 1fr); } }

/* Startseite: Karte „Für Unternehmen“ */
.biz-card {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 18px; border-radius: 22px; overflow: hidden;
  background: var(--blue-900); color: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
a.biz-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: #fff; }
.biz-card .photo { border-radius: 0; height: 100%; min-height: 250px; background: var(--blue-900); }
.biz-card__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: clamp(24px, 3.4vw, 44px); }
.biz-card .eyebrow { margin-bottom: 0; color: #CFEAB2; }
.biz-card h3 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); }
.biz-card p { max-width: 36em; color: rgba(255, 255, 255, .86); }
.biz-card .link-arrow { margin-top: 4px; color: #fff; }
.biz-card:hover .link-arrow .icon { transform: translateX(3px); }
@media (max-width: 760px) { .biz-card { grid-template-columns: minmax(0, 1fr); } .biz-card .photo { height: auto; min-height: 0; aspect-ratio: 16 / 9; } }

/* ---------- Seite für Unternehmen ---------- */
.hero--biz .hero__photo img { object-position: 50% 50%; }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pcard { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.pcard > .photo { border-radius: 0; aspect-ratio: 16 / 10; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; }
.pcard__body h3 { display: flex; align-items: flex-start; gap: .45em; }
.pcard__body h3 .icon { color: var(--blue); width: 1.3em; height: 1.3em; margin-top: -.02em; }
.pcard__body h3 .badge-new { align-self: center; flex: none; }
.pcard__body p { color: var(--muted); }
.pcard__body .ticks { margin-top: 8px; }
.pcard--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.pcard--wide > .photo { aspect-ratio: auto; height: 100%; min-height: 340px; }
.pcard--wide .pcard__body { justify-content: center; padding: clamp(24px, 3.4vw, 44px); }
.pcard--wide h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); }
@media (max-width: 1000px) {
  .pcards { grid-template-columns: minmax(0, 1fr); }
  .pcard { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .pcard > .photo { aspect-ratio: auto; height: 100%; min-height: 220px; }
  .pcard--wide { grid-template-columns: minmax(0, 1fr); }
  .pcard--wide > .photo { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .pcard { display: flex; }
  .pcard > .photo { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .pcard__body { padding: 20px; }
}

/* Parkplatz-Rechner */
.park { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.park__media .photo { margin-top: 28px; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.park__calc { display: grid; gap: 14px; }
.park__calc > * { position: relative; z-index: 1; }
.park__calc .calc__row { margin-top: 4px; }
.park__label { font-weight: 700; color: #fff; }
.park__calc .calc__val { color: #fff; font-size: 1.4rem; }
.park__calc .facts { margin-top: 6px; }
.park__calc .fact b { font-size: clamp(1.1rem, .95rem + .5vw, 1.32rem); }
.park__calc .btn { margin-top: 6px; }
@media (max-width: 900px) { .park { grid-template-columns: minmax(0, 1fr); } }

/* =====================================================================
   Ruhigere Beschriftungen (normale Schreibweise statt Großbuchstaben)
   ===================================================================== */
.eyebrow { font-size: .95rem; letter-spacing: 0; text-transform: none; }
.tile__tag, .checklist__kicker, .calc__kicker, .cx__head { font-size: .9rem; letter-spacing: 0; text-transform: none; }
.calc__tag, .cx__tag { font-size: .8rem; letter-spacing: 0; text-transform: none; }
.footer h4 { font-size: 1rem; letter-spacing: 0; text-transform: none; }
.topbar__claim { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.topbar__claim span { display: inline-flex; align-items: center; gap: .4em; }

/* =====================================================================
   Startseite
   ===================================================================== */

/* ---------- Einstieg: Haus im Abendlicht, Überschrift im Himmel ---------- */
.hero2 { position: relative; isolation: isolate; overflow: hidden; background: #BCD3EC; }
.hero2__photo { position: absolute; inset: 0; z-index: -1; }
.hero2__photo .photo { height: 100%; border-radius: 0; background: #BCD3EC; }
.hero2__photo img { object-position: 50% 22%; }
.hero2__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(760px 460px at 22% 30%, rgba(242, 247, 252, .6), rgba(242, 247, 252, 0) 72%);
}
.hero2__inner {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); column-gap: clamp(28px, 4vw, 64px); align-items: start;
  min-height: clamp(680px, 56vw, 880px); padding-top: clamp(44px, 5.2vw, 80px); padding-bottom: 150px;
}
.hero2__text { max-width: 680px; }
.hero2 h1 { color: var(--blue-900); font-size: clamp(2.5rem, 1.45rem + 3.3vw, 4.3rem); line-height: 1.02; letter-spacing: -.032em; max-width: 11.5em; }
.hero2__lead { margin: 20px 0 0; max-width: 31em; font-size: clamp(1.08rem, 1rem + .4vw, 1.27rem); line-height: 1.5; color: #1A3250; text-wrap: pretty; }
.quick { margin-top: clamp(4px, 1.2vw, 18px); padding: 20px 20px 16px; border-radius: 20px; background: rgba(255, 255, 255, .95); box-shadow: 0 22px 50px -26px rgba(14, 47, 85, .55); }
.quick__q { margin: 0; font: 800 1.3rem/1.25 var(--font-display); letter-spacing: -.012em; color: var(--blue-900); }
.quick__sub { margin: 2px 0 14px; font-size: .95rem; color: var(--muted); }
.quick__opts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.quick__opt {
  display: inline-flex; align-items: center; gap: .45em; min-height: 48px; padding: .5rem 1rem; border-radius: 12px;
  border: 2px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .97rem; line-height: 1.2; text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.quick__opt .icon { color: var(--blue); width: 1.3em; height: 1.3em; }
.quick__opt:hover { border-color: var(--green); background: var(--green-50); color: var(--ink); }
.quick__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .3em 1em; margin: 14px 2px 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .93rem; color: var(--muted); }
.quick__foot a { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--blue-900); text-decoration: none; white-space: nowrap; }
.quick__foot a:hover { color: var(--blue); text-decoration: underline; }
.quick__foot .icon { color: var(--green-ink); width: 1.1em; height: 1.1em; }
@media (max-width: 1100px) {
  .hero2 { background: #fff; }
  .hero2__photo { position: relative; inset: auto; z-index: 0; }
  .hero2__photo .photo { height: auto; aspect-ratio: 12 / 5; }
  .hero2__photo img { object-position: 50% 64%; }
  .hero2__photo::after { display: none; }
  .hero2__inner { display: block; min-height: 0; padding-top: 26px; padding-bottom: 36px; }
  .quick { margin-top: 26px; max-width: 640px; padding: 18px 16px 14px; background: var(--bg-soft); box-shadow: none; border: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .hero2__photo .photo { aspect-ratio: 2 / 1; }
  .hero2__photo img { object-position: 50% 55%; }
}
@media (max-width: 600px) { .hero2__photo .photo { aspect-ratio: 3 / 2; } }
@media (max-width: 520px) {
  .quick__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick__opt { width: 100%; padding: .5rem .7rem; font-size: .93rem; }
}

/* ---------- Vier Zusagen als Leiste ---------- */
.dc { padding-top: 0; }
.usp {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none;
  margin: -88px 0 clamp(52px, 6vw, 88px); background: #fff; border-radius: 22px; box-shadow: var(--shadow);
}
.usp li { display: grid; gap: 4px; align-content: start; padding: 24px 26px 22px; }
.usp li + li { border-left: 1px solid var(--line); }
.usp strong { display: flex; align-items: center; gap: .5em; font: 700 1.05rem/1.3 var(--font-display); color: var(--blue-900); }
.usp strong .icon { color: var(--green-ink); width: 1.3em; height: 1.3em; }
.usp span { font-size: .94rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 1100px) {
  .dc { padding-top: clamp(40px, 6vw, 64px); }
  .usp { margin-top: 0; }
}
@media (max-width: 960px) {
  .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp li:nth-child(3) { border-left: 0; }
  .usp li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .usp li { padding: 16px; }
  .usp strong { font-size: .97rem; align-items: flex-start; }
  .usp span { font-size: .88rem; }
}

/* ---------- Dach-Check mit Ablauf ---------- */
.dc__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-areas: "head form" "next form";
  column-gap: clamp(28px, 5vw, 72px); align-items: start;
}
.dc__head { grid-area: head; }
.dc__form { grid-area: form; }
.dc__next { grid-area: next; margin-top: 30px; }
.dc__next-h { margin-bottom: 18px; font-size: 1.15rem; color: var(--blue-900); }
.dc__steps { list-style: none; display: grid; }
.dc__steps li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 22px; }
.dc__steps li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: #C9DAEC; }
.dc__steps b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); color: var(--blue); font: 800 1.02rem var(--font-display); }
.dc__steps li:first-child b { background: var(--blue); color: #fff; }
.dc__steps h4 { margin: 10px 0 3px; font-size: 1.06rem; }
.dc__steps p { color: var(--muted); }
.dc__alt { display: flex; flex-wrap: wrap; align-items: center; gap: .4em 1.2em; margin: 4px 0 0; padding-top: 18px; border-top: 1px dashed #C9D6E3; color: var(--muted); }
.dc__alt a { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--blue-900); text-decoration: none; white-space: nowrap; }
.dc__alt a:hover { color: var(--blue); text-decoration: underline; }
.dc__alt .icon { color: var(--green-ink); }
@media (max-width: 960px) {
  .dc__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "form" "next"; }
  .dc__form { margin-top: 22px; }
  .dc__next { margin-top: 36px; }
}

/* ---------- Leistungen als Foto-Mosaik ---------- */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 250px; gap: 16px; }
.tc { position: relative; isolation: isolate; display: block; overflow: hidden; border-radius: 20px; background: var(--blue-900); color: #fff; text-decoration: none; }
.tc > .photo { position: absolute; inset: 0; z-index: -2; height: 100%; border-radius: 0; background: var(--blue-900); }
.tc > .photo img { transition: transform .6s ease; }
.tc:hover > .photo img { transform: scale(1.04); }
.tc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 26, 48, 0) 28%, rgba(8, 26, 48, .5) 58%, rgba(8, 26, 48, .88) 100%); }
.tc .photo__tag { top: 12px; bottom: auto; }
.tc__body { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 22px 24px; text-shadow: 0 1px 14px rgba(4, 18, 36, .5); }
.tc__body .badge-new { text-shadow: none; }
.tc__title { display: flex; flex-wrap: wrap; align-items: center; gap: .5em; font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -.01em; }
.tc__text { max-width: 30em; font-size: .97rem; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.tc:hover { color: #fff; }
.tc:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.tc--pv { grid-column: 1 / span 7; grid-row: span 2; }
.tc--pv .tc__body { padding: 30px 32px; }
.tc--pv .tc__title { font-size: clamp(1.55rem, 1.2rem + 1vw, 2.05rem); }
.tc--pv .tc__text { font-size: 1.05rem; }
.tc--sp, .tc--cp { grid-column: 8 / span 5; }
.tc--wb, .tc--ns, .tc--biz { grid-column: span 4; }
.tc--plain { background: radial-gradient(360px 240px at 100% 0%, rgba(255, 224, 122, .25), rgba(255, 224, 122, 0) 70%), var(--blue); }
.tc--plain::after { display: none; }
.tc__icon { position: absolute; top: 22px; left: 24px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .14); }
.tc__icon .icon { width: 30px; height: 30px; }
@media (max-width: 1000px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 240px; }
  .tc--pv { grid-column: 1 / -1; grid-row: span 1; }
  .tc--sp, .tc--cp, .tc--wb, .tc--ns { grid-column: auto; }
  .tc--biz { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .mosaic { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 210px; gap: 12px; }
  .tc--pv .tc__body { padding: 20px 22px; }
}

/* Solarrechner-Vorschau */
.teaser__cta { margin-top: 28px; }

/* ---------- Leitsatz ---------- */
.creed__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.creed__quote { max-width: 14em; font-size: clamp(2.15rem, 1.3rem + 2.7vw, 3.6rem); line-height: 1.06; letter-spacing: -.03em; color: var(--blue-900); }
.creed__intro { margin: 20px 0 0; font-size: 1.1rem; color: var(--muted); }
.creed__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 30px; padding-top: 28px; border-top: 2px solid var(--blue-100); }
.creed__cols h3 { margin-bottom: 6px; font-size: 1.12rem; color: var(--blue-900); }
.creed__cols p { font-size: 1rem; color: var(--muted); }
.creed__media .photo { aspect-ratio: 1 / 1.08; box-shadow: var(--shadow); }
@media (max-width: 900px) {
  .creed__grid { grid-template-columns: minmax(0, 1fr); }
  .creed__media { max-width: 560px; }
  .creed__media .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) { .creed__cols { grid-template-columns: minmax(0, 1fr); gap: 18px; } }

/* Startseite am Handy: Überschrift, dann gleich die Auswahl-Knöpfe, danach der Einleitungstext */
@media (max-width: 600px) {
  .hero2__photo .photo { aspect-ratio: 13 / 5; }
  .hero2__photo img { object-position: 50% 60%; }
  .hero2__inner { display: flex; flex-direction: column; padding-top: 18px; }
  .hero2__text { display: contents; }
  .hero2 h1 { order: 1; font-size: 2.1rem; }
  .quick { order: 2; margin-top: 14px; padding: 14px 14px 12px; }
  .quick__q { font-size: 1.2rem; }
  .quick__sub { display: none; }
  .quick__opts { margin-top: 10px; }
  .quick__opt { min-height: 46px; }
  .quick__foot { display: none; }
  .hero2__lead { order: 3; margin-top: 20px; font-size: 1.04rem; }
}

/* =====================================================================
   Unterseiten im Stil der Startseite: heller Himmel statt Blauverlauf
   ===================================================================== */
.page-hero {
  color: var(--ink);
  background:
    radial-gradient(820px 460px at 96% -18%, rgba(255, 224, 122, .42), rgba(255, 224, 122, 0) 62%),
    linear-gradient(180deg, #CCE0F4 0%, #E2EEF9 52%, #F3F8FC 100%);
}
.page-hero h1 { color: var(--blue-900); }
.page-hero .lead { color: #2C4360; }
.page-hero .eyebrow { color: #3A6E17; }  /* etwas dunkler: gut lesbar auf hellem Blau */
.crumbs { color: var(--muted); }
.crumbs a { color: var(--blue-700); }
.crumbs a:hover { color: var(--blue-900); }
.page-hero__art { border: 0; background: var(--blue-50); box-shadow: 0 30px 60px -30px rgba(14, 47, 85, .5); }
.jump a { background: #fff; border: 1px solid #C6D8EB; color: var(--blue-900); }
.jump a .icon { color: var(--blue); }
.jump a:hover { background: #fff; border-color: var(--blue); color: var(--blue); }
.ph-trust .icon { color: var(--green-ink); }
.page-hero .btn--outline { border-color: #B7CDE4; background: rgba(255, 255, 255, .8); }
.page-hero .btn--outline:hover { border-color: var(--blue); background: #fff; }

/* Kacheln als ruhige Spalten mit Linie statt vieler gleicher Kästen */
.tile { background: none; border: 0; border-top: 2px solid var(--blue-100); border-radius: 0; padding: 22px 2px 0; box-shadow: none; }
.section--soft .tile { border-color: #C9DAEC; box-shadow: none; }
.tile .card__icon { width: 46px; height: 46px; border-radius: 14px; }
.section--soft .tile .card__icon { background: #fff; }
.tile h3 { font-size: 1.14rem; }
/* Hinweis-Kacheln (z. B. Gesetze, Neuigkeiten) bleiben als Kasten */
.tile--news { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.section--soft .tile--news { border-color: transparent; box-shadow: var(--shadow-sm); }

/* Sehr kleine Handys (bis 340 px) */
@media (max-width: 340px) {
  .quick__opt { padding: .5rem .55rem; font-size: .86rem; gap: .35em; }
  .quick__opt .icon { width: 1.15em; height: 1.15em; }
  .pcard__body h3 { flex-wrap: wrap; }
}

/* ---------- Cookie-Fenster (assets/js/consent.js) ---------- */
.cookiebox {
  position: fixed; z-index: 70; left: var(--gutter); bottom: 20px; width: min(440px, calc(100% - var(--gutter) - var(--gutter-r)));
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.cookiebox__inner { padding: 20px 22px 22px; }
.cookiebox__title { font: 800 1.12rem/1.25 var(--font-display); margin: 0 0 .45em; }
.cookiebox__text { font-size: .94rem; line-height: 1.55; color: var(--muted); margin: 0 0 16px; }
.cookiebox__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cookiebox__actions .btn { min-height: 48px; padding: .7rem 1rem; }
@media (max-width: 1120px) {
  .cookiebox { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
  .cookiebox__inner { padding: 16px 18px 18px; }
  .cookiebox__text { font-size: .88rem; margin-bottom: 14px; }
}
@media (max-width: 380px) {
  .cookiebox__inner { padding: 16px 16px 18px; }
  .cookiebox__actions { grid-template-columns: minmax(0, 1fr); }
}
@media print { .cookiebox { display: none !important; } }

/* Lange deutsche Wörter in Rechtstexten (z. B. „Verbraucherstreitbeilegung“,
   „Datenschutzerklärung“) auf schmalen Handys trennen statt überlaufen lassen */
.legal h2, .page-hero--plain h1 {
  overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5;
}
