/* ==========================================================================
   Leon Betke – Stylesheet
   Mobile-first. Keine externen Abhängigkeiten. Schrift lokal gehostet.
   ========================================================================== */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben – angelehnt an Energieversum (Lila, Türkis, Anthrazit) */
  --ink: #2A2B31;
  --ink-deep: #2A2B31;
  --paper: #FFFFFF;
  --mist: #F5F6F8;
  --line: #E3E5EA;
  --muted: #5B5F6B;
  --ev: #92398A;           /* Energieversum-Lila: Buttons, Akzente (AA auf Weiß) */
  --ev-dark: #7A2F73;
  --ev-pale: #F3E8F1;
  --tq: #4DAAC2;           /* Energieversum-Türkis: nur Grafik/Deko, nicht für Text */
  --tq-dark: #2E8AA3;
  --tq-pale: #DDF0F5;
  --grid-soft: #D9DCE2;
  --green: var(--ev);
  --green-dark: var(--ev-dark);
  --green-soft: #C9A3C5;
  --green-pale: var(--ev-pale);
  --error: #A3261B;
  --error-on-ink: #FFB4A8;

  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-h3: 1.25rem;
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.625rem);
  --fs-name: clamp(3rem, 1.6rem + 7vw, 6.25rem);
  --fs-claim: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);

  --wrap: 72rem;
  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --radius-s: 8px;
  --radius-m: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 650; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; max-width: 22ch; text-wrap: balance; overflow-wrap: break-word; hyphens: manual; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 3px; }
.section-ink :focus-visible { outline-color: var(--green-soft); }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-s);
}
.skip:focus { top: 1rem; }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.8rem 1.5rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  color: #fff; background: var(--ev);
  border: 2px solid var(--ev); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--ev-dark); border-color: var(--ev-dark); }
.btn-small { min-height: 2.5rem; padding: 0.5rem 1.1rem; font-size: 0.9375rem; }
.btn-light { color: var(--ink); background: #fff; border-color: #fff; }
.btn-light:hover { background: var(--green-pale); border-color: var(--green-pale); }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-quiet { font-weight: 600; text-decoration: underline; text-decoration-color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; font-size: 1.0625rem; text-decoration: none; letter-spacing: -0.01em; }
.brand-mark { width: 2.25rem; height: 2.25rem; flex: none; }
.bm-bg { fill: var(--ev); }
.bm-letters { fill: #fff; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-weight: 700; font-size: 1.0625rem; }
.brand-text small { font-size: 0.75rem; color: var(--muted); font-weight: 500; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.4rem 0.9rem;
  font: inherit; font-weight: 600; font-size: 0.9375rem; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 0.5rem var(--gutter) 1.5rem;
  display: none;
}
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.nav li a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.nav .btn { width: 100%; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .nav { position: static; display: flex !important; align-items: center; gap: 1.75rem; padding: 0; border: 0; background: transparent; }
  .nav ul { display: flex; gap: 1.5rem; margin: 0; }
  .nav li a { padding: 0.5rem 0; border: 0; font-size: 0.9375rem; color: var(--muted); }
  .nav li a:hover, .nav li a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); }
  .nav .btn { width: auto; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) var(--section); }
.hero-grid { display: grid; gap: 3rem; align-items: end; }
.hero-name {
  font-size: var(--fs-name);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-left: -0.04em;
}
.hero-claim {
  font-size: var(--fs-claim);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 1.25rem 0 1.5rem;
  color: var(--ev);
}
.hero-lede { max-width: 36rem; color: var(--muted); font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.hero-direct { margin-top: 1.25rem; font-size: var(--fs-small); color: var(--muted); }
.hero-direct a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.hero-photo { margin: 0; max-width: 26rem; }
@media (min-width: 56rem) { .hero-photo { max-width: none; } }
.nowrap { white-space: nowrap; }

@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); }
}

/* ---------- Platzhalter für Bilder ---------- */
.placeholder {
  display: grid; place-items: center; text-align: center;
  color: var(--muted); font-weight: 600; font-size: 1rem; line-height: 1.4;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(19,36,63,.045) 14px 15px),
    var(--mist);
  border: 1.5px dashed #B9BCC6;
  border-radius: var(--radius-m);
}
.placeholder small { font-weight: 400; font-size: 0.875rem; }
.placeholder-portrait { aspect-ratio: 4 / 5; }
.placeholder-wide { aspect-ratio: 3 / 2; }
.hero-photo img, .col-aside img { width: 100%; height: auto; border-radius: var(--radius-m); object-fit: cover; }

/* ---------- Sektionen ---------- */
.section { padding-block: var(--section); }
.section-mist { background: var(--mist); }
.section-ink { background: var(--ink-deep); color: #fff; }
.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-intro { max-width: 40rem; margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; }

.two-col { display: grid; gap: 3rem; }
@media (min-width: 56rem) {
  .two-col { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
  .two-col-faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); }
}
.prose { margin-top: 2rem; max-width: 38rem; }
.prose p { margin-bottom: 1.15em; }

.values { margin: 2.5rem 0 0; }
.values > div { display: grid; gap: 0.25rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.values > div:last-child { border-bottom: 1px solid var(--line); }
.values dt { font-weight: 700; }
.values dd { margin: 0; color: var(--muted); }
@media (min-width: 40rem) { .values > div { grid-template-columns: 9rem 1fr; gap: 1.5rem; } }

/* ---------- Energie-Tag (Grafik) ---------- */
.et {
  margin: 0 0 clamp(3.5rem, 3rem + 3vw, 5.5rem);
  background: #fff;
  border-radius: var(--radius-m);
  padding: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);
}
.et-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.25rem; }
.et-heading { margin: 0; font-weight: 700; font-size: 1.125rem; }
.et-switch { display: inline-flex; flex-wrap: wrap; gap: 0.25rem; padding: 0.25rem; background: var(--mist); border-radius: 999px; }
.et-switch button {
  font: inherit; font-size: 0.9375rem; font-weight: 600; color: var(--muted);
  min-height: 2.5rem; padding: 0.4rem 1rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
}
.et-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.et-switch button:hover:not([aria-pressed="true"]) { color: var(--ink); }

.et-canvas { margin-inline: -0.25rem; }
.et-svg { width: 100%; height: auto; }
.et-svg text { font-family: var(--font); }
.et-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.et-base { stroke: var(--ink); stroke-width: 1.25; }
.et-tick { fill: var(--muted); font-size: 13px; }
.et-label { fill: var(--ink); font-size: 14px; font-weight: 600; }
.et-label-pv { fill: var(--tq-dark); }
.et-fill-netz { fill: var(--grid-soft); }
.et-fill-eigen { fill: var(--tq); }
.et-fill-einspeisung { fill: var(--tq-pale); }
.et-fill-speicher { fill: url(#et-hatch); }
.et-hatch-bg { fill: var(--ev-pale); }
.et-hatch-line { stroke: var(--ev); stroke-width: 3; }
.et-line-pv { fill: none; stroke: var(--tq-dark); stroke-width: 2.25; stroke-linejoin: round; }
.et-line-verbrauch { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }

.et-state, .et-line-pv, .et-label-pv { transition: opacity .35s ease; }
.et-state { opacity: 0; }
.et[data-active="netz"] .et-state[data-state="netz"],
.et[data-active="pv"] .et-state[data-state="pv"],
.et[data-active="speicher"] .et-state[data-state="speicher"] { opacity: 1; }
.et[data-active="netz"] .et-line-pv,
.et[data-active="netz"] .et-label-pv { opacity: 0; }

.et-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 1.25rem 0 0; padding: 0; font-size: var(--fs-small); color: var(--muted); }
.et-legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.et-legend .sw { width: 0.95rem; height: 0.95rem; border-radius: 3px; flex: none; }
.lg-eigen .sw { background: var(--tq); }
.lg-speicher .sw { background: repeating-linear-gradient(45deg, var(--ev) 0 2px, var(--ev-pale) 2px 5px); }
.lg-einspeisung .sw { background: var(--tq-pale); outline: 1px solid #A9D6E2; }
.lg-netz .sw { background: var(--grid-soft); }
.et[data-active="netz"] .lg-eigen,
.et[data-active="netz"] .lg-speicher,
.et[data-active="netz"] .lg-einspeisung,
.et[data-active="pv"] .lg-speicher { display: none; }

.et-caption { margin-top: 1.25rem; max-width: 46rem; font-size: 1.0625rem; }
.et-caption span { display: none; }
.et[data-active="netz"] .et-caption [data-for="netz"],
.et[data-active="pv"] .et-caption [data-for="pv"],
.et[data-active="speicher"] .et-caption [data-for="speicher"] { display: inline; }
.et-note { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted); max-width: 46rem; }

@media (prefers-reduced-motion: reduce) {
  .et-state, .et-line-pv, .et-label-pv { transition: none; }
}

/* Kleine Bildschirme: Grafik bleibt vollflächig, Beschriftung und Linien wachsen mit */
@media (max-width: 40rem) {
  .et-switch { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 12px; }
  .et-switch button { padding: 0.45rem 0.4rem; font-size: 0.875rem; line-height: 1.2; border-radius: 9px; }
  .et-tick { font-size: 24px; }
  .et-label { font-size: 26px; }
  .et-line-pv { stroke-width: 4; }
  .et-line-verbrauch { stroke-width: 4.5; }
  .et-grid { stroke-dasharray: 4 8; }
}

/* ---------- Themen ---------- */
.topics { display: grid; gap: 0 clamp(2rem, 4vw, 4rem); }
.topic { padding: 1.5rem 0 1.75rem; border-top: 1px solid #D5D8DF; }
.topic h3 { margin-bottom: 0.6rem; }
.topic p { color: var(--muted); max-width: 34rem; }
@media (min-width: 48rem) { .topics { grid-template-columns: 1fr 1fr; } }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 1.5rem 0 1.5rem 3.5rem; border-top: 1px solid var(--line); }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 1.35rem;
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  font-weight: 700; font-size: 1rem; color: #fff; background: var(--green); border-radius: 50%;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: var(--muted); }
.steps-cta { margin-top: 2.5rem; }
@media (min-width: 62rem) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 2rem; }
  .steps li { padding: 4.25rem 0 0; border-top: 0; }
  .steps li::before { top: 0; }
  .steps li::after { content: ""; position: absolute; top: 1.125rem; left: 2.75rem; right: -1.5rem; height: 1px; background: var(--line); }
  .steps li:last-child::after { display: none; }
}

/* ---------- Rolle ---------- */
.roles { display: grid; gap: 2.5rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: #fff; border-radius: var(--radius-m); }
.role h3 { margin-bottom: 1rem; }
.role ul { margin: 0; padding: 0; list-style: none; }
.role li { position: relative; padding: 0.65rem 0 0.65rem 1.5rem; border-top: 1px solid var(--line); }
.role li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--green); }
.role:last-child li::before { background: var(--tq); }
@media (min-width: 48rem) {
  .roles { grid-template-columns: 1fr 1fr; gap: 0; }
  .role:first-child { padding-right: clamp(1.5rem, 3vw, 3rem); border-right: 1px solid var(--line); }
  .role:last-child { padding-left: clamp(1.5rem, 3vw, 3rem); }
}
.disclosure { display: grid; gap: 1.25rem; margin-top: 2.5rem; max-width: 52rem; }
.disclosure p { margin: 0; }
@media (min-width: 48rem) { .disclosure { grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: none; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.25rem 2.75rem 1.25rem 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 0.35rem; top: 50%; width: 0.7rem; height: 0.7rem;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover { color: var(--green-dark); }
.faq-body { padding: 0 0 1.5rem; color: var(--muted); max-width: 42rem; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); } }
.contact-intro > p { color: var(--muted); max-width: 30rem; margin-top: 1.25rem; font-size: 1.125rem; }
.direct { list-style: none; margin: 2rem 0 1rem; padding: 0; }
.direct li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line); }
.direct li:last-child { border-bottom: 1px solid var(--line); }
.direct-label { color: var(--muted); }
.direct a { font-weight: 600; overflow-wrap: anywhere; }
.small { font-size: 0.875rem; color: var(--muted); }

.form { align-self: start; background: #fff; color: var(--ink); border-radius: var(--radius-m); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.field { margin-bottom: 1.25rem; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 36rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.4rem; }
.req, .opt { font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.75rem 0.9rem; min-height: 3rem;
  background: #fff; border: 1.5px solid #C4C7CF; border-radius: var(--radius-s);
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(146,57,138,.25); }
.field [aria-invalid="true"] { border-color: var(--error); }
.hint { margin: 0.35rem 0 0; font-size: 0.8125rem; color: var(--muted); }
.err { margin: 0.35rem 0 0; font-size: 0.875rem; color: var(--error); font-weight: 500; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-privacy { font-size: 0.875rem; color: var(--muted); margin: 0.5rem 0 1.5rem; }
.form .btn { width: 100%; }
@media (min-width: 36rem) { .form .btn { width: auto; } }
.btn.is-loading .btn-label::after { content: " …"; }

.form-status:empty { display: none; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: var(--radius-s); font-size: 0.9375rem; }
.form-status.is-success { background: var(--green-pale); color: var(--green-dark); }
.form-status.is-error { background: #FBE9E7; color: var(--error); }
.form-status strong { display: block; margin-bottom: 0.25rem; }
.form.is-sent .field, .form.is-sent .field-row, .form.is-sent .form-privacy, .form.is-sent button { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #B7C2D1; border-top: 1px solid rgba(255,255,255,.12); padding-block: 2.5rem; font-size: var(--fs-small); }
.footer-inner { display: grid; gap: 1.5rem; }
.footer-name { color: #fff; font-weight: 700; margin: 0; }
.footer-name span { color: #B7C2D1; font-weight: 400; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.site-footer a { color: #fff; }
@media (min-width: 48rem) { .footer-inner { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- Rechtsseiten ---------- */
.legal { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.legal h1 { font-size: clamp(1.875rem, 1.3rem + 3vw, 3.5rem); overflow-wrap: break-word; hyphens: auto; letter-spacing: -0.03em; margin-bottom: 2rem; }
.legal h2 { font-size: 1.5rem; margin: 2.75rem 0 0.9rem; max-width: none; }
.legal h3 { font-size: 1.125rem; margin: 1.75rem 0 0.5rem; }
.legal .prose { max-width: 44rem; margin-top: 0; overflow-wrap: break-word; hyphens: auto; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.4rem; }
.legal address { font-style: normal; }
.legal-back { display: inline-block; margin-bottom: 2rem; font-weight: 600; }

/* Pflichtangaben, die vor Veröffentlichung fehlen – immer sichtbar */
.platzhalter { background: #FFF1B8; color: #5C4400; padding: 0.05em 0.35em; border-radius: 3px; font-weight: 600; }

/* Prüfmodus: ?pruefen an die URL hängen */
.pruefmodus [data-pruefen] { outline: 3px dashed #D9A400; outline-offset: 6px; position: relative; }
.pruefmodus [data-pruefen]::before {
  content: "PRÜFEN: " attr(data-pruefen);
  position: absolute; top: -1.9rem; left: 0; z-index: 5;
  background: #FFF1B8; color: #5C4400; font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 3px;
}

/* ---------- 404 / Danke ---------- */
.simple { min-height: 60vh; display: grid; align-content: center; padding-block: 5rem; }
.simple h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); letter-spacing: -0.03em; margin-bottom: 1rem; }
.simple p { max-width: 36rem; color: var(--muted); font-size: 1.125rem; }
.simple .btn { margin-top: 1.5rem; }

/* ---------- Energieversum-Partnerkennzeichnung ---------- */
.partner-badge { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 0.9rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 36rem; font-size: var(--fs-small); color: var(--muted); }
.ev-logo { height: 28px; width: auto; display: block; }
.ev-logo-fallback { font-weight: 700; color: var(--ev); font-size: 1.0625rem; letter-spacing: -0.01em; }

.partner { display: grid; gap: 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid #D5D8DF; }
.partner-head .ev-logo { height: 34px; }
.partner-head .ev-logo, .partner-head .ev-logo-fallback { margin-bottom: 0.9rem; display: inline-block; }
.partner-head p { color: var(--muted); max-width: 30rem; }
.partner-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin: 0; }
.partner-facts dt { font-size: 0.875rem; color: var(--muted); }
.partner-facts dd { margin: 0.15rem 0 0; font-weight: 650; font-size: 1.125rem; }
.partner-note { grid-column: 1 / -1; margin: 0; font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 56rem) {
  .partner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .partner-facts { grid-template-columns: repeat(4, auto); }
}


/* ==========================================================================
   Version 3 – lebendiger, mehr Proof, mehr CTA
   ========================================================================== */
.btn-large { min-height: 3.4rem; padding: 0.95rem 1.75rem; font-size: 1.0625rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C9CCD4; }
.btn-ghost:hover { background: var(--ev-pale); border-color: var(--ev); color: var(--ev-dark); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 55%, var(--mist) 100%); }
.hero-arc { position: absolute; right: -12%; top: 6%; width: min(70vw, 900px); height: auto; pointer-events: none; }
.hero-arc path { fill: none; stroke: var(--tq); stroke-width: 2; opacity: .35; }
.hero-grid { position: relative; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.1rem); font-weight: 700; letter-spacing: -0.032em; line-height: 1.04; max-width: 17ch; text-wrap: balance; }
.hero-lede { margin-top: 1.5rem; max-width: 36rem; font-size: 1.1875rem; color: var(--muted); }
.hero-actions { margin-top: 2.25rem; }
.hero-proof { list-style: none; margin: 2.25rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; max-width: 36rem; font-weight: 600; font-size: 0.9375rem; }
.hero-proof li, .checks li { position: relative; padding-left: 1.75rem; }
.hero-proof li::before, .checks li::before {
  content: ""; position: absolute; left: 0; top: 0.15em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--ev) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}
.hero-media { position: relative; margin: 0; max-width: 28rem; }
.hero-card {
  position: absolute; left: -1.25rem; bottom: 1.5rem; right: 2rem;
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem;
  background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(42,43,49,.35);
}
.hero-card .ev-logo { height: 26px; }
.hero-card-text { display: grid; font-size: 0.875rem; color: var(--muted); line-height: 1.35; padding-left: 1rem; border-left: 1px solid var(--line); }
.hero-card-text strong { color: var(--ink); font-size: 0.9375rem; }
@media (min-width: 56rem) { .hero-media { max-width: none; } .hero-card { left: -2.5rem; } }
@media (max-width: 35rem) { .hero-card { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; } .hero-proof { grid-template-columns: 1fr; } .hero-actions .btn { width: 100%; } }

/* Proof-Band */
.proof { background: var(--ev); color: #fff; padding-block: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; margin: 0; }
.proof-grid > div { display: flex; flex-direction: column; }
.proof-grid dt { order: 2; font-weight: 600; font-size: 0.9375rem; }
.proof-grid dd { display: contents; margin: 0; }
.proof-grid dd strong { order: 1; font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.proof-grid dd small { order: 3; font-size: 0.875rem; color: #F1DDEE; }
.proof-grid a { color: #fff; }
.proof-note { margin: 1.75rem 0 0; font-size: 0.8125rem; color: #EBD3E7; }
@media (min-width: 56rem) { .proof-grid { grid-template-columns: repeat(4, 1fr); } .proof-grid > div + div { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.25); } }

/* USPs */
.usp-grid { display: grid; gap: 1.25rem; }
.usp { padding: 1.75rem 1.5rem; border-radius: var(--radius-m); background: var(--mist); }
.usp-value { margin: 0 0 0.6rem; font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ev); line-height: 1; }
.usp h3 { margin-bottom: 0.5rem; }
.usp p:last-child { color: var(--muted); font-size: 0.9875rem; }
@media (min-width: 40rem) { .usp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .usp-grid { grid-template-columns: repeat(3, 1fr); } }
.fineprint { margin-top: 1.25rem; font-size: 0.8125rem; color: var(--muted); max-width: 52rem; }
.cta-band { margin-top: 3rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding: 1.75rem 2rem; border-radius: var(--radius-m); background: var(--ink); color: #fff; }
.cta-band p { margin: 0; font-size: 1.125rem; color: #D7D9DF; }
.cta-band strong { color: #fff; }

/* Komponenten */
.product-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product { background: #fff; border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; }
.product img, .placeholder-product { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 0; border: 0; border-bottom: 1px solid var(--line); }
.product-body { padding: 1.4rem 1.5rem 1.6rem; }
.product-tag { margin: 0 0 0.35rem; font-size: 0.8125rem; font-weight: 600; color: var(--ev); }
.product h3 { margin-bottom: 0.85rem; }
.product ul { margin: 0; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--muted); }
.product li { position: relative; padding: 0.3rem 0 0.3rem 1.1rem; }
.product li::before { content: ""; position: absolute; left: 0; top: 0.8rem; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--tq); }

/* Dunkle Sektion: Projekte */
.section-ink { background: var(--ink); color: #fff; }
.section-ink h2 { color: #fff; }
.section-ink .section-intro { color: #C5C7CE; }
.gallery { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-m); }
.gallery figcaption { margin-top: 0.75rem; font-weight: 600; display: grid; }
.gallery figcaption span { font-weight: 400; font-size: 0.875rem; color: #B9BCC6; }
.placeholder-dark { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(255,255,255,.04) 14px 15px), #34353C; border-color: #5A5C66; color: #B9BCC6; }
.reviews { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 48rem) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 1.5rem; border-radius: var(--radius-m); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 1rem; }
.stars { color: #F5B301; letter-spacing: 0.15em; font-size: 1.05rem; }
.review p { margin: 0; color: #E6E7EB; }
.review .review-placeholder { color: #B9BCC6; font-style: italic; }
.review footer { margin-top: auto; font-weight: 600; display: grid; }
.review footer span { font-weight: 400; font-size: 0.8125rem; color: #B9BCC6; }
.reviews-more { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; }
.reviews-more a { color: #fff; font-weight: 600; text-decoration-color: var(--tq); }

/* Über mich – Bild links */
.col-cta { margin-top: 2rem; }

/* Kontakt */
.section-contact { background: linear-gradient(180deg, var(--mist) 0%, var(--ev-pale) 100%); }
.checks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 0.6rem; font-weight: 600; }
.form-title { margin: 0 0 1.25rem; font-weight: 700; font-size: 1.25rem; }
.form { box-shadow: 0 24px 60px -30px rgba(42,43,49,.35); }
.field textarea::placeholder { color: #8A8D97; }

/* Footer */
.footer-brand p { margin: 0; }
.footer-brand p + p { margin-top: 0.25rem; }

/* Mobile CTA-Leiste */
.mobile-cta { display: none; }
@media (max-width: 47.99rem) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 0.5rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { min-height: 2.9rem; padding: 0.6rem 0.75rem; font-size: 0.9375rem; }
  .site-footer { padding-bottom: 5.5rem; }
}

/* Sanftes Einblenden beim Scrollen */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .mobile-cta { transition: none; }
}

/* Feinschliff v3 */
.hero h1 { max-width: 19ch; }
.hero-actions { gap: 0.75rem 0.75rem; }
.cta-band p { flex: 1 1 26rem; }
.placeholder-product { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(42,43,49,.04) 14px 15px), #E9ECF0; }
.et { background: var(--mist); }
.roles { background: var(--mist); }
.partner { grid-template-columns: 1fr !important; }
.partner-head p { max-width: 44rem; }
@media (min-width: 56rem) { .about-photo { position: sticky; top: 6rem; } }
.hero h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.5rem); max-width: 20ch; }
@media (min-width: 56rem) { .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
@media (max-width: 35rem) {
  .hero-card { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .hero-card-text { padding-left: 0; border-left: 0; }
}

/* ==========================================================================
   Version 4 – mehr Farbe: Sonnenaufgang in Energieversum-Farben
   ========================================================================== */
:root {
  --sun: #FFC24B; --sun-soft: #FFE7A3;
  --night: #1E1633; --dusk: #3A1F52;
}

/* Hero */
.hero {
  color: #fff;
  background:
    radial-gradient(55rem 38rem at 88% -5%, rgba(255,194,75,.42), transparent 60%),
    radial-gradient(48rem 30rem at -5% 105%, rgba(77,170,194,.38), transparent 60%),
    linear-gradient(160deg, var(--night) 0%, var(--dusk) 45%, #7E2F7A 100%);
}
.hero h1 { color: #fff; }
.hero-lede { color: #E8DDF0; }
.hero-direct { color: #D9CCE3; }
.hero-direct a { color: #fff; }
.hero-proof { border-top-color: rgba(255,255,255,.18); color: #fff; }
.hero-proof li::before { background-color: var(--sun); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%232A1A00' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hero-arc { right: -14%; top: -2%; width: min(78vw, 1000px); }
.hero-arc .arc-line { fill: none; stroke: rgba(255,255,255,.32); stroke-width: 2; stroke-dasharray: 3 9; stroke-linecap: round; }
.hero-arc .sun { filter: drop-shadow(0 0 30px rgba(255,194,75,.6)); }
.hero :focus-visible { outline-color: var(--sun); }
.placeholder-glass { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.35); color: #EADFF1; backdrop-filter: blur(4px); }

.btn-sun { background: var(--sun); border-color: var(--sun); color: #2A1A00; box-shadow: 0 10px 30px -10px rgba(255,194,75,.7); }
.btn-sun:hover { background: var(--sun-soft); border-color: var(--sun-soft); color: #2A1A00; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* Proof-Band als Verlauf Lila → Petrol */
.proof { background: linear-gradient(110deg, #92398A 0%, #6B3A93 50%, #1F6E82 100%); }

/* Marken-Ticker */
.ticker { overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); padding-block: 1.1rem; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem; font-weight: 650; font-size: 1.0625rem; color: #4A4D57; white-space: nowrap; letter-spacing: -0.01em; }
.ticker li::after { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: linear-gradient(135deg, var(--sun), #F2795B); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Farbtöne für Karten */
.tone-sky   { --tone: #1F6FBF; --tone-bg: #EAF3FC; --tone-grad: linear-gradient(135deg, #2F80D0, #7FC3F0); }
.tone-ev    { --tone: #92398A; --tone-bg: #F5EAF4; --tone-grad: linear-gradient(135deg, #92398A, #C46AB9); }
.tone-tq    { --tone: #1F7489; --tone-bg: #E4F4F8; --tone-grad: linear-gradient(135deg, #1F7489, #4DAAC2); }
.tone-sun   { --tone: #9A6100; --tone-bg: #FFF4D9; --tone-grad: linear-gradient(135deg, #F5A524, #FFD36B); }
.tone-coral { --tone: #B4472C; --tone-bg: #FDEDE8; --tone-grad: linear-gradient(135deg, #E0603F, #F7A68C); }
.tone-mint  { --tone: #23785F; --tone-bg: #E5F5EF; --tone-grad: linear-gradient(135deg, #2E8F72, #7ACDB2); }

.usp { background: var(--tone-bg, var(--mist)); position: relative; overflow: hidden; transition: transform .25s ease; }
.usp::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--tone-grad); }
.usp-value { color: var(--tone, var(--ev)); }
.usp:hover { transform: translateY(-3px); }

.product { transition: transform .25s ease, box-shadow .25s ease; }
.product:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(42,43,49,.45); }
.product .placeholder-product { background: var(--tone-grad); color: rgba(255,255,255,.92); border: 0; }
.product .placeholder-product span { text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.product-tag { color: var(--tone, var(--ev)); }
.product li::before { background: var(--tone, var(--tq)); }

/* CTA-Band mit Sonnenschein */
.cta-band { background: radial-gradient(30rem 14rem at 100% 0%, rgba(255,194,75,.35), transparent 70%), linear-gradient(120deg, var(--night), var(--dusk)); }
.cta-band .btn { background: var(--sun); border-color: var(--sun); color: #2A1A00; }
.cta-band .btn:hover { background: var(--sun-soft); border-color: var(--sun-soft); }

/* Projekte: Nachthimmel */
.section-ink { background: radial-gradient(50rem 30rem at 100% 0%, rgba(146,57,138,.35), transparent 60%), linear-gradient(180deg, #221A30 0%, #2A2B31 100%); }

.proofwall { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 48rem) { .proofwall { grid-template-columns: repeat(3, 1fr); } }
.pw-card { padding: 1.75rem; border-radius: var(--radius-m); color: #fff; }
.pw-card p { margin: 0; }
.pw-card a { display: inline-block; margin-top: 0.9rem; color: inherit; font-weight: 600; }
.pw-big { font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.6rem !important; }
.pw-rating { background: linear-gradient(135deg, #92398A, #6B3A93); }
.pw-gold { background: linear-gradient(135deg, #F5A524, #FFD36B); color: #2A1A00; }
.pw-tq { background: linear-gradient(135deg, #1F6E82, #2E8AA3); }

/* Schritte mit Verlaufsnummern */
.steps li::before { background: linear-gradient(135deg, var(--ev), #1F7489); }

/* Kontakt mit Sonnenglanz */
.section-contact { background: radial-gradient(40rem 24rem at 100% 0%, rgba(255,194,75,.25), transparent 60%), linear-gradient(180deg, var(--mist) 0%, var(--ev-pale) 100%); }

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker ul[aria-hidden="true"] { display: none; }
  .usp, .product { transition: none; }
  .usp:hover, .product:hover { transform: none; }
}

.product > img { aspect-ratio: 4 / 3; width: 100%; object-fit: contain; padding: 1.25rem; background: var(--tone-grad); border-bottom: 0; }

/* ==========================================================================
   Version 5 – edel: Nachtblau-Violett, Champagner, Fotos, Studio-Produkte
   ========================================================================== */
:root {
  --night: #15121D;
  --night-2: #221A2E;
  --ivory: #F7F4EE;
  --champagne: #D6B46C;
  --champagne-light: #EBD6A3;
  --champagne-dark: #8A6A28;   /* Text auf hellem Grund */
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h2 { font-weight: 600; letter-spacing: -0.028em; }
.section-tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }

/* Buttons in Champagner */
.btn-sun, .cta-band .btn {
  background: linear-gradient(135deg, #EED9A4 0%, #D6B46C 55%, #C49A4E 100%);
  border-color: #D6B46C; color: #1A1408; box-shadow: 0 12px 30px -14px rgba(214,180,108,.8);
}
.btn-sun:hover, .cta-band .btn:hover { background: #EED9A4; border-color: #EED9A4; color: #1A1408; }
.more { display: inline-block; margin-top: 0.9rem; font-weight: 600; font-size: 0.9375rem; color: var(--ev); text-decoration: none; }
.more::after { content: " →"; transition: margin .2s ease; }
.more:hover::after { margin-left: 0.25rem; }

/* Hero mit Foto */
.hero { background: var(--night); isolation: isolate; }
.hero-bg { position: absolute; inset: -6% 0 0 0; z-index: -2; }
.hero-bg img { width: 100%; height: 112%; object-fit: cover; object-position: 70% 50%; animation: kenburns 16s ease-out both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(21,18,29,.94) 0%, rgba(21,18,29,.82) 42%, rgba(21,18,29,.35) 75%, rgba(21,18,29,.55) 100%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(146,57,138,.45), transparent 70%);
}
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-arc .arc-line { stroke: rgba(235,214,163,.35); }
.hero-arc .sun { filter: drop-shadow(0 0 26px rgba(214,180,108,.55)); }
.hero h1 { font-weight: 600; }
.hero-proof li::before { background-color: var(--champagne); }
.placeholder-glass { background: rgba(21,18,29,.35); border-color: rgba(235,214,163,.4); backdrop-filter: blur(6px); }

/* Unterseiten-Hero */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--night); padding-block: clamp(4rem, 3rem + 6vw, 8rem) clamp(3.5rem, 3rem + 4vw, 6rem); }
.page-hero-bg { position: absolute; inset: -8% 0 0 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 115%; object-fit: cover; animation: kenburns 16s ease-out both; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21,18,29,.93) 0%, rgba(21,18,29,.78) 50%, rgba(21,18,29,.4) 100%); }
.page-hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); font-weight: 600; letter-spacing: -0.032em; line-height: 1.05; max-width: 16ch; color: #fff; }
.page-lede { margin-top: 1.4rem; max-width: 38rem; font-size: 1.1875rem; color: #E6DEEA; }
.crumbs { display: flex; gap: 0.6rem; font-size: 0.875rem; color: #CFC6D6; margin-bottom: 1.75rem; }
.crumbs a { color: var(--champagne-light); }
.page-hero :focus-visible { outline-color: var(--champagne); }

/* Proof-Band: Elfenbein, Champagner-Linien */
.proof { background: var(--ivory); color: var(--ink); }
.proof-kicker { margin: 0 0 1.5rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne-dark); }
.proof-grid dd strong { color: var(--ink); }
.proof-grid dd small { color: var(--muted); }
.proof-grid a { color: var(--ev); }
.proof-note { color: var(--muted); }
@media (min-width: 56rem) { .proof-grid > div + div { border-left-color: #E2D6BD; } }

/* Marken-Leiste */
.ticker { background: #fff; padding-block: 1.25rem; }
.ticker li { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #6B6E78; }
.ticker li::after { width: 0.35rem; height: 0.35rem; background: var(--champagne); }

/* Karten edler: weiß, feine Linie in Akzentfarbe */
.usp { background: #fff; border: 1px solid #ECE7DD; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.usp::before { height: 3px; }
.usp:hover { box-shadow: 0 24px 50px -32px rgba(21,18,29,.4); }
.usp-value { font-weight: 600; }

/* Themenwelten */
.themes { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .themes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .themes { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }
.theme { position: relative; display: flex; align-items: flex-end; min-height: 20rem; border-radius: var(--radius-m); overflow: hidden; color: #fff; text-decoration: none; background: var(--night); isolation: isolate; }
.theme img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.theme::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,18,29,0) 30%, rgba(21,18,29,.88) 100%); }
.theme:hover img { transform: scale(1.06); }
.theme-text { display: grid; gap: 0.2rem; padding: 1.5rem; }
.theme-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne-light); }
.theme strong { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.theme-text > span:last-child { color: #DCD3E2; font-size: 0.9375rem; }
.theme strong::after { content: " →"; color: var(--champagne); transition: margin .2s ease; }
.theme:hover strong::after { margin-left: 0.3rem; }
.theme-night { background: radial-gradient(22rem 16rem at 100% 0%, rgba(146,57,138,.55), transparent 70%), linear-gradient(160deg, #221A2E, #15121D); }
.theme-gold { background: radial-gradient(22rem 16rem at 100% 0%, rgba(235,214,163,.5), transparent 70%), linear-gradient(160deg, #3A2A12, #15121D); }
.theme-color::before { background: none; }

/* System-Kopf mit Produktbild */
.system-head { display: grid; gap: 2rem; align-items: center; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 56rem) { .system-head { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.system-img { margin: 0; border-radius: var(--radius-m); background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #EEF0F3 70%); padding: 1.5rem; }
.system-img img { width: 100%; height: auto; mix-blend-mode: multiply; }

/* Produktkarten: Studio-Fotos */
.product-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.product-media img { width: 100%; height: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.media-photo img { object-fit: cover; }
.media-studio { background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, #EDEFF3 75%); }
.media-studio img { object-fit: contain; padding: 1.25rem; mix-blend-mode: multiply; }
.product:hover .product-media img { transform: scale(1.05); }
.product { border: 1px solid #ECE7DD; }
.product-body h3 { font-weight: 600; }

/* Showcase (Unterseite Wärmepumpe) */
.showcase { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .showcase { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.showcase-media { aspect-ratio: 1; border-radius: var(--radius-m); overflow: hidden; display: grid; place-items: center; }
.showcase-media img { width: 85%; height: auto; mix-blend-mode: multiply; }
.model { padding: 1.5rem 0; border-top: 1px solid #DDD6C8; }
.model h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.model p:last-child { color: var(--muted); }

/* Bild-Enthüllung */
.js .img-reveal { clip-path: inset(0 0 100% 0 round var(--radius-m)); transition: clip-path 1.1s cubic-bezier(.2,.7,.2,1); }
.js .img-reveal.is-visible { clip-path: inset(0 0 0 0 round var(--radius-m)); }

/* Stagger */
.usp-grid > :nth-child(2), .product-grid > :nth-child(2), .themes > :nth-child(2), .feature-grid > :nth-child(2), .proofwall > :nth-child(2), .steps > :nth-child(2) { transition-delay: .08s; }
.usp-grid > :nth-child(3), .product-grid > :nth-child(3), .themes > :nth-child(3), .feature-grid > :nth-child(3), .proofwall > :nth-child(3), .steps > :nth-child(3) { transition-delay: .16s; }
.usp-grid > :nth-child(5), .product-grid > :nth-child(5), .themes > :nth-child(4), .feature-grid > :nth-child(5), .steps > :nth-child(4) { transition-delay: .24s; }
.usp-grid > :nth-child(6), .product-grid > :nth-child(6), .feature-grid > :nth-child(6), .steps > :nth-child(5) { transition-delay: .32s; }

/* Region mit Karte */
.region { background: var(--ivory); }
.region-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 56rem) { .region-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; } }
.region-map { position: relative; margin: 0; max-width: 30rem; justify-self: center; }
.region-map img { width: 100%; height: auto; mix-blend-mode: multiply; }
.region-map figcaption { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted); text-align: center; }
.map-pin { position: absolute; left: 32.5%; top: 41.5%; width: 0; height: 0; }
.map-pin::before { content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--champagne); border: 3px solid #fff; box-shadow: 0 4px 14px rgba(21,18,29,.35); }
.map-pulse { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: rgba(214,180,108,.5); animation: pulse 2.2s ease-out infinite; }
.map-label { position: absolute; left: 16px; top: -14px; padding: 0.2rem 0.6rem; border-radius: 6px; background: var(--night); color: #fff; font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.checks-lg { font-size: 1.0625rem; margin: 1.75rem 0 2rem; }
.checks li::before { background-color: var(--night); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%23D6B46C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Dunkle Sektionen */
.section-ink { background: radial-gradient(50rem 30rem at 100% 0%, rgba(146,57,138,.32), transparent 60%), linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%); }
.pw-card { border: 1px solid rgba(235,214,163,.18); }
.pw-rating { background: linear-gradient(135deg, #2A1F38, #1B1624); }
.pw-rating .pw-big, .pw-gold .pw-big { color: var(--champagne-light); }
.pw-gold { background: linear-gradient(135deg, #2E2414, #1B1624); color: #fff; }
.pw-badge { display: flex; align-items: center; gap: 1.25rem; background: linear-gradient(135deg, #1F2A3A, #1B1624); }
.pw-badge img { width: 5.5rem; height: auto; flex: none; }
.cta-band { background: radial-gradient(30rem 14rem at 100% 0%, rgba(214,180,108,.28), transparent 70%), linear-gradient(120deg, var(--night), var(--night-2)); }
.cta-band-big { padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
.cta-band-big h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.steps li::before { background: var(--night); color: var(--champagne-light); }

/* Feature-Raster (Unterseiten) */
.feature-grid { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 1.6rem; border-radius: var(--radius-m); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--tone-grad); }
.feature h3 { color: #fff; margin-bottom: 0.4rem; }
.feature p { margin: 0; color: #CFC8D6; }
.example { margin-top: 2.5rem; padding: 1.75rem 2rem; border-radius: var(--radius-m); border: 1px solid rgba(235,214,163,.35); background: rgba(214,180,108,.08); max-width: 52rem; }
.example-label { margin: 0 0 0.4rem; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne-light); font-weight: 600; }
.example p:last-child { margin: 0; color: #EDE7F0; font-size: 1.125rem; }
.example strong { color: var(--champagne-light); }
.fineprint-light { color: #B9B2C2; }

/* Garantie-Tabelle */
.guarantee-table { border-top: 1px solid #DDD6C8; }
.gt-row { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid #DDD6C8; align-items: baseline; }
.gt-what { font-weight: 600; }
.gt-val { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ev); text-align: right; }
.gt-note { grid-column: 1 / -1; color: var(--muted); font-size: 0.9375rem; }
@media (min-width: 48rem) { .gt-row { grid-template-columns: 1.2fr 1fr 10rem; } .gt-note { grid-column: auto; order: 2; } .gt-val { order: 3; } }

.substance { display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .substance { grid-template-columns: repeat(3, 1fr); } }
.usp-badge { display: flex; gap: 1.25rem; align-items: center; }
.usp-badge img { width: 5.5rem; height: auto; flex: none; }

.steps-vertical { grid-template-columns: 1fr !important; gap: 0 !important; }
.steps-vertical li { padding: 1.25rem 0 1.25rem 3.5rem !important; border-top: 1px solid var(--line) !important; }
.steps-vertical li::before { top: 1.1rem !important; }
.steps-vertical li::after { display: none !important; }

/* Kontakt edler */
.section-contact { background: radial-gradient(40rem 24rem at 100% 0%, rgba(214,180,108,.18), transparent 60%), var(--ivory); }
.product-grid-2 { grid-template-columns: 1fr; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .page-hero-bg img { animation: none; }
  .js .img-reveal { clip-path: none; transition: none; }
  .map-pulse { animation: none; }
  .theme img, .product-media img { transition: none; }
}
/* Feinschliff v5 */
.usp-value { color: var(--ink); }
.theme strong { font-size: 1.3rem; hyphens: manual; }
.nav li a, .nav .btn, .brand-text small { white-space: nowrap; }
.nav-toggle { display: inline-flex; }
.nav { display: none; }
@media (min-width: 75rem) {
  .nav-toggle { display: none; }
  .nav { position: static; display: flex !important; align-items: center; gap: 1.5rem; padding: 0; border: 0; background: transparent; }
  .nav ul { display: flex; gap: 1.15rem; margin: 0; }
  .nav li a { padding: 0.5rem 0; border: 0; font-size: 0.9375rem; color: var(--muted); }
  .nav li a:hover, .nav li a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--champagne); }
  .nav .btn { width: auto; }
}
@media (min-width: 62rem) and (max-width: 74.99rem) {
  .nav { position: absolute; display: none; padding: 0.5rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line); background: #fff; }
  .nav.is-open { display: block; }
  .nav ul { display: block; margin: 0 0 1rem; }
  .nav li a { display: block; padding: 0.85rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 1rem; }
  .nav .btn { width: 100%; }
}
.hero-arc .sun { opacity: .75; }

/* ==========================================================================
   Version 6 – persönlich & luxuriös
   ========================================================================== */
/* Logo */
.bm-bg { fill: var(--night); }
.bm-ring { fill: none; stroke: var(--champagne); stroke-width: 1.1; }
.bm-gap { fill: var(--night); }
.bm-sun { fill: var(--champagne-light); }
.bm-letters { fill: var(--champagne-light); }
.brand-mark { width: 2.5rem; height: 2.5rem; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.brand:hover .brand-mark { transform: rotate(-12deg); }
.brand-text strong { font-weight: 650; letter-spacing: -0.015em; }
.brand-text small { letter-spacing: 0.04em; }

/* Hero-Porträt */
.hero-portrait { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); outline: 1px solid rgba(235,214,163,.35); outline-offset: 10px; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; animation: portraitIn 1.4s cubic-bezier(.2,.7,.2,1) both .2s; }
@keyframes portraitIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.hero-card { left: -2rem; bottom: 2rem; right: auto; display: grid; gap: 0.6rem; padding: 1rem 1.25rem; min-width: 15rem; }
.hero-card-text { padding-left: 0; border-left: 0; }
.hero-card-partner { display: flex; align-items: center; gap: 0.5rem; padding-top: 0.6rem; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--muted); }
.hero-card-partner .ev-logo { height: 18px; }
.hero-card-partner .ev-logo-fallback { font-size: 0.875rem; }
@media (max-width: 35rem) { .hero-card { left: 0.75rem; right: 0.75rem; bottom: 0.75rem; min-width: 0; } }

/* Über-mich-Foto */
.about-photo { margin: 0; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Themen-Kachel mit Studio-Produkt */
.theme-studio { background: radial-gradient(circle at 50% 35%, #FFFFFF 0%, #E6E8EC 80%); }
.theme-studio img { object-fit: contain; padding: 1rem 1rem 6rem; mix-blend-mode: multiply; }
.theme-studio::before { background: linear-gradient(180deg, rgba(21,18,29,0) 45%, rgba(21,18,29,.9) 100%); }
.media-tight img { padding: 0.5rem; }

/* CTA-Band mit Foto */
.cta-photo { position: relative; overflow: hidden; isolation: isolate; }
.cta-photo .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(21,18,29,.94) 0%, rgba(21,18,29,.8) 55%, rgba(21,18,29,.45) 100%); }

/* Beispielkonfigurationen */
.configs { display: grid; gap: 1.25rem; }
@media (min-width: 56rem) { .configs { grid-template-columns: repeat(3, 1fr); } }
.config { border-radius: var(--radius-m); overflow: hidden; background: rgba(255,255,255,.04); border: 1px solid rgba(235,214,163,.18); }
.config-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.config-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.config:hover .config-img img { transform: scale(1.06); }
.config-tag { position: absolute; left: 1rem; top: 1rem; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(21,18,29,.75); backdrop-filter: blur(6px); color: var(--champagne-light); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.config-body { padding: 1.4rem 1.5rem 1.6rem; }
.config-body h3 { color: #fff; margin-bottom: 1rem; }
.config-specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.config-specs dt { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: #A8A1B3; }
.config-specs dd { margin: 0.15rem 0 0; font-weight: 600; color: #fff; }
.configs-note { margin-top: 1rem; font-size: 0.875rem; color: #B9B2C2; }

/* Kundenstimmen-Slider */
.testimonials { margin-top: 3.5rem; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); border-radius: 22px; background: radial-gradient(30rem 18rem at 0% 0%, rgba(214,180,108,.16), transparent 70%), rgba(255,255,255,.04); border: 1px solid rgba(235,214,163,.22); position: relative; }
.testimonials::before { content: "„"; position: absolute; right: 2rem; top: -1.5rem; font-size: 10rem; line-height: 1; color: rgba(214,180,108,.18); font-weight: 700; }
.testimonials-title { margin: 0 0 1.5rem; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--champagne-light); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; margin: 0; opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; }
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide .stars { color: var(--champagne); font-size: 1.15rem; letter-spacing: 0.2em; margin-bottom: 1rem; }
.slide blockquote { margin: 0; }
.slide blockquote p { margin: 0; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.85rem); line-height: 1.4; color: #F2EEF5; font-weight: 500; letter-spacing: -0.01em; max-width: 46rem; }
.slide figcaption { margin-top: 1.5rem; display: grid; gap: 0.15rem; color: #fff; }
.slide figcaption span { color: #B9B2C2; font-size: 0.875rem; }
.slider-nav { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.slider-nav button { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(235,214,163,.4); background: transparent; color: var(--champagne-light); font: inherit; font-size: 1.1rem; cursor: pointer; }
.slider-nav button:hover { background: rgba(214,180,108,.15); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dots button { width: 2.75rem; height: 2.75rem; border: 0; background: transparent; padding: 0; position: relative; }
.slider-dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.6rem; height: 0.6rem; margin: -0.3rem 0 0 -0.3rem; border-radius: 50%; background: rgba(235,214,163,.35); transition: width .3s ease, margin .3s ease; }
.slider-dots button[aria-current="true"]::after { width: 1.6rem; margin-left: -0.8rem; border-radius: 999px; background: var(--champagne); }
.section-ink .slider-nav :focus-visible { outline-color: var(--champagne); }

/* Karte mit OWL */
.map-overlay { position: absolute; inset: 0; width: 100%; height: auto; pointer-events: none; }
.map-owl { fill: rgba(214,180,108,.18); stroke: rgba(138,106,40,.55); stroke-width: 2; stroke-dasharray: 5 6; transform-origin: 292px 520px; animation: owlBreath 4s ease-in-out infinite; }
.map-route { fill: none; stroke: var(--night); stroke-width: 2.5; stroke-dasharray: 4 5; }
.map-hq { fill: var(--ev); stroke: #fff; stroke-width: 3; }
@keyframes owlBreath { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.map-pin { left: 32.45%; top: 41.45%; }
.map-tag { position: absolute; padding: 0.35rem 0.7rem; border-radius: 8px; font-size: 0.8125rem; white-space: nowrap; line-height: 1.25; box-shadow: 0 10px 24px -14px rgba(21,18,29,.6); transition: transform .3s ease; }
.map-tag-pb { left: 37%; top: 43%; background: var(--night); color: #fff; display: grid; }
.map-tag-pb strong { font-weight: 650; }
.map-tag-pb { font-size: 0.75rem; color: var(--champagne-light); }
.map-tag-pb strong { font-size: 0.875rem; color: #fff; }
.map-tag-owl { left: 34%; top: 50.5%; background: #fff; color: var(--champagne-dark); font-weight: 600; border: 1px solid #E2D6BD; }
.map-tag-hq { right: 76%; top: 33.5%; background: #fff; color: var(--ink); font-weight: 600; display: grid; text-align: right; border: 1px solid var(--line); }
.map-tag-hq span { font-weight: 400; font-size: 0.75rem; color: var(--muted); }
.region-map:hover .map-tag { transform: translateY(-3px); }
.region-map { max-width: 34rem; }

/* Unterseiten: Studio-Shot & Split */
.studio-shot { margin: 0 0 1.5rem; border-radius: var(--radius-m); overflow: hidden; background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #E9EBEF 80%); }
.studio-shot img { width: 100%; height: auto; mix-blend-mode: multiply; }
.split-photo { background: var(--ivory); }
.split-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) { .split-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.split-img { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 1; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.partner-logo { display: inline-flex; align-items: center; gap: 1rem; margin-top: 1.75rem; padding: 0.6rem 1.1rem 0.6rem 1.25rem; border-radius: 14px; background: #F6F6F6; color: var(--ink); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.partner-logo img { height: 3.25rem; width: auto; mix-blend-mode: multiply; }

@media (prefers-reduced-motion: reduce) {
  .hero-portrait img { animation: none; }
  .map-owl { animation: none; }
  .slide { transition: none; }
  .config-img img { transition: none; }
}
.map-tag-hq { right: auto; left: 3%; top: 31%; text-align: left; }
.site-header .btn { background: var(--night); border-color: var(--night); color: var(--champagne-light); }
.site-header .btn:hover { background: #2A2238; border-color: #2A2238; color: #fff; }
@media (max-width: 55.99rem) {
  .hero-grid { gap: 2rem; }
  .hero-media { order: -1; max-width: 26rem; width: 100%; }
  .hero-portrait { aspect-ratio: 1 / 1; outline-offset: 6px; }
  .hero-card { position: absolute; left: 0.75rem; right: auto; bottom: 0.75rem; min-width: 0; }
}
@media (max-width: 55.99rem) {
  .hero-card { position: static; margin-top: 0.9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; padding: 0.75rem 1rem; }
  .hero-card-partner { padding-top: 0; border-top: 0; }
}

/* Bild-Enthüllung ohne clip-path (clip-path verhindert Lazy-Loading und IntersectionObserver) */
.js .img-reveal, .js .img-reveal.is-visible { clip-path: none; }
.js .img-reveal { position: relative; --reveal-bg: #fff; }
.js .img-reveal::after { content: ""; position: absolute; inset: -1px; z-index: 5; background: var(--reveal-bg); transform-origin: 50% 0; transition: transform 1.1s cubic-bezier(.7,0,.2,1); pointer-events: none; }
.js .img-reveal.is-visible::after { transform: scaleY(0); }
.section-mist .img-reveal { --reveal-bg: var(--mist); }
.region .img-reveal, .split-photo .img-reveal { --reveal-bg: var(--ivory); }
@media (prefers-reduced-motion: reduce) { .js .img-reveal::after { display: none; } }

/* ==========================================================================
   Version 7 – Edel-Feinschliff
   ========================================================================== */
/* Primäre Buttons auf hellem Grund: Nachtblau mit Champagner */
.btn { background: var(--night); border-color: var(--night); color: var(--champagne-light); letter-spacing: 0.01em; }
.btn:hover { background: #2A2238; border-color: #2A2238; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #CFC7B8; }
.btn-ghost:hover { background: var(--ivory); border-color: var(--champagne); color: var(--ink); }
.section-ink .btn, .cta-band .btn, .page-hero .btn-sun, .hero .btn-sun { background: linear-gradient(135deg, #EED9A4 0%, #D6B46C 55%, #C49A4E 100%); border-color: #D6B46C; color: #1A1408; }
.hero .btn-ghost-light, .page-hero .btn-ghost-light, .cta-band .btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.mobile-cta .btn { background: var(--night); color: var(--champagne-light); }
.mobile-cta .btn-ghost { background: #fff; color: var(--ink); border-color: #CFC7B8; }
.form .btn { background: var(--night); color: var(--champagne-light); }

/* Hero: ruhiger, Porträt als Studio-Bild */
.hero-arc .sun { opacity: .45; }
.hero-portrait { background: var(--night); }
.hero-portrait img { object-position: 50% 0%; }

/* Typo-Feinschliff */
.section-head h2, .region-text h2, .col-text h2 { letter-spacing: -0.03em; }
.section-intro { line-height: 1.65; }
.steps li::before { border: 1px solid rgba(214,180,108,.5); }
.about-photo { box-shadow: 0 30px 60px -40px rgba(21,18,29,.6); }
.slide blockquote p { font-weight: 450; }
@media (min-width: 56rem) {
  .hero-card { bottom: -1.75rem; left: -2.5rem; }
  .hero-media { margin-bottom: 1.75rem; }
}
@media (max-width: 55.99rem) {
  .hero-card { display: grid; justify-items: start; gap: 0.35rem; }
  .hero-card .hero-card-text { padding-left: 0 !important; border-left: 0 !important; }
}

/* ==========================================================================
   Version 8 – Haus-Logo, ruhiger Header
   ========================================================================== */
.brand { display: inline-flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.brand-logo { height: 1.55rem; width: auto; }
.brand-name { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); line-height: 1; padding-left: 0.24em; }
.brand-name span { font-weight: 400; }
.brand:hover .brand-logo { transform: translateY(-1px); transition: transform .3s ease; }
.header-inner { min-height: 4.5rem; }
@media (min-width: 75rem) { .nav ul { gap: 1.35rem; } }
.footer-logo { height: 2.25rem; width: auto; margin-bottom: 0.6rem; display: block; }
.about-photo img { object-position: 50% 40%; }
.hero-portrait { background: #F3EDE2; }

/* ==========================================================================
   Version 9 – ruhiger, redaktioneller, weniger „Template“
   ========================================================================== */
:root { --radius-s: 4px; --radius-m: 6px; }

/* Buttons: flach, eckiger, ohne Glanz */
.btn, .btn-small, .btn-large { border-radius: 3px; box-shadow: none !important; font-weight: 600; letter-spacing: 0.005em; }
.btn-large { min-height: 3.25rem; padding: 0.85rem 1.6rem; font-size: 1rem; }
.btn-sun, .hero .btn-sun, .page-hero .btn-sun, .section-ink .btn, .cta-band .btn {
  background: #F3ECDF; border-color: #F3ECDF; color: var(--night);
}
.btn-sun:hover, .hero .btn-sun:hover, .page-hero .btn-sun:hover, .section-ink .btn:hover, .cta-band .btn:hover { background: #fff; border-color: #fff; color: var(--night); }
/* Zweitaktion als Textlink statt zweitem Button */
.hero .btn-ghost-light, .page-hero .btn-ghost-light, .cta-band .btn-ghost-light {
  border-color: transparent; background: transparent; padding-inline: 0.5rem; color: #fff;
  text-decoration: underline; text-decoration-color: rgba(235,214,163,.7); text-underline-offset: 0.35em;
}
.hero .btn-ghost-light:hover, .page-hero .btn-ghost-light:hover, .cta-band .btn-ghost-light:hover { background: transparent; text-decoration-color: #fff; }
.hero .btn-ghost-light::after, .page-hero .btn-ghost-light::after { content: " →"; }

/* Hero: ruhiger */
.hero-bg img, .page-hero-bg img { animation-duration: 20s; }
@keyframes kenburns { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero-proof li::before, .checks li::before { width: 0.9rem; height: 1px; top: 0.75em; border-radius: 0; background: var(--champagne) !important; background-image: none !important; }
.hero-proof li, .checks li { padding-left: 1.5rem; }
.checks li::before { background: var(--champagne-dark) !important; }
.hero-portrait { border-radius: 4px; outline-offset: 8px; box-shadow: 0 30px 60px -36px rgba(0,0,0,.8); }
.hero-portrait img { animation: portraitIn 1.2s ease both .15s; }
.hero-card { border-radius: 4px; box-shadow: 0 14px 30px -18px rgba(0,0,0,.6); }

/* Karten: keine bunten Kanten, feine Linien */
.usp, .product, .config, .pw-card, .feature, .theme, .roles, .et, .form, .cta-band, .testimonials, .about-photo, .split-img, .studio-shot, .system-img, .showcase-media, .partner-logo, .gallery img, .region-map img { border-radius: 6px; }
.usp::before, .feature::before { display: none; }
.usp { background: transparent; border: 0; border-top: 1px solid #D9D2C4; padding: 1.5rem 0 0.5rem; box-shadow: none; }
.usp:hover { transform: none; box-shadow: none; }
.usp-grid { gap: 2.5rem 3rem; }
.usp-value { font-size: 2.25rem; color: var(--ink); font-weight: 600; }
.feature { background: transparent; border: 0; border-top: 1px solid rgba(235,214,163,.25); border-radius: 0; padding: 1.4rem 0 0.5rem; }
.feature-grid { gap: 1.5rem 3rem; }
.pw-card, .pw-rating, .pw-gold, .pw-badge { background: transparent; border: 0; border-top: 1px solid rgba(235,214,163,.3); border-radius: 0; padding: 1.5rem 0 0; }
.product { border-color: #E8E2D6; }
.product:hover { transform: none; box-shadow: 0 20px 40px -32px rgba(21,18,29,.45); }
.product-tag, .more { color: var(--champagne-dark); }
.theme-kicker, .config-tag, .testimonials-title, .example-label, .proof-kicker { letter-spacing: 0.1em; }
.testimonials::before { display: none; }
.testimonials { background: transparent; border: 0; border-top: 1px solid rgba(235,214,163,.3); border-radius: 0; padding: 2.5rem 0 0; }
.slider-nav button { border-radius: 3px; }
.steps li::before { border-radius: 2px; }
.config { background: transparent; }
.cta-band { border-radius: 4px; }
.map-label, .map-tag { border-radius: 3px; }
.hero-card-partner .ev-logo-fallback, .ev-logo-fallback { color: var(--ink); font-weight: 650; }

/* Komponenten-Seite */
.component-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 56rem) {
  .component-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .component-flip .component-media { order: 2; }
}
.component + .component { border-top: 1px solid var(--line); }
.component-media { margin: 0; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; display: grid; place-items: center; }
.component-media.media-photo img { width: 100%; height: 100%; object-fit: cover; }
.component-media.media-studio { background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, #ECEDF0 80%); }
.component-media.media-studio img { max-height: 88%; width: auto; mix-blend-mode: multiply; }
.component-text h2 { margin-top: 0.4rem; }
.spec-list { list-style: none; margin: 1.75rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.component { scroll-margin-top: 5rem; }

@media (min-width: 75rem) and (max-width: 82rem) {
  .nav ul { gap: 0.95rem; }
  .nav li a { font-size: 0.875rem; }
}
/* Bugfix: zwischen 62 und 75rem nur das Menü-Symbol, keine halbe Desktop-Navigation */
@media (min-width: 62rem) and (max-width: 74.99rem) {
  .nav { display: none !important; position: absolute; left: 0; right: 0; top: 100%; }
  .nav.is-open { display: block !important; }
}
@media (max-width: 24rem) { .proof-grid { grid-template-columns: 1fr; } }
.proof-grid > div { min-width: 0; }

/* ==========================================================================
   Version 10 – runde Buttons, Gold-Akzente, Interaktion
   ========================================================================== */
.btn, .btn-small, .btn-large, .slider-nav button { border-radius: 999px; }
.btn-large { padding: 0.85rem 1.75rem; }
.hero-arc { opacity: 1; }
.hero-arc .sun { opacity: .6; }
.hero-arc .arc-line { stroke: rgba(235,214,163,.3); }
.hero h1 { max-width: 14ch; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); }
.hero-lede { max-width: 30rem; }

/* Gold-Akzente */
.usp { border-top: 1px solid var(--champagne); }
.usp-value { color: var(--champagne-dark); }
.feature { border-top-color: rgba(214,180,108,.55); }
.pw-card, .pw-rating, .pw-gold, .pw-badge, .testimonials { border-top-color: rgba(214,180,108,.55); }
.section-head h2::after, .region-text h2::after { content: ""; display: block; width: 3rem; height: 2px; margin-top: 1.1rem; background: var(--champagne); }
.section-ink .usp-value, .calc-total { color: var(--champagne-light); }
.ticker li::after { background: var(--champagne); }

/* Sonnen-Szene */
.sun-scene { border-radius: 6px; overflow: hidden; margin-bottom: 1rem; }
.scene-svg { width: 100%; height: auto; display: block; }
.scene-path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 3 7; }
.scene-sun { transition: opacity .3s ease; }
.scene-ground { fill: #2A2B31; }
.house-wall { fill: #EFE9DE; }
.house-roof { fill: #2E2A36; }
.house-panels { fill: #1B2638; stroke: #3A4A66; stroke-width: 1; }
.house-glint { fill: #F3D89A; mix-blend-mode: screen; opacity: .4; transition: opacity .3s ease; }
.house-window { fill: #F6DFA6; }
.house-door { fill: #6B5A45; }
.time-control { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
.time-control label, .calc-field label { display: flex; justify-content: space-between; font-weight: 600; font-size: 0.9375rem; }
.time-control output, .calc-field output { font-variant-numeric: tabular-nums; color: var(--champagne-dark); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2.75rem; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--champagne) 0%, #D9D2C4 0%); background: #D9D2C4; }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: #D9D2C4; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.5rem; height: 1.5rem; margin-top: -0.6rem; border-radius: 50%; background: var(--champagne); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(21,18,29,.35); }
input[type="range"]::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--champagne); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(21,18,29,.35); }
input[type="range"]:focus-visible { outline: 3px solid var(--champagne); outline-offset: 2px; }
.meters { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.meter { display: grid; gap: 0.35rem; font-size: 0.875rem; color: var(--muted); }
.meter i { display: block; height: 6px; border-radius: 6px; background: #E5E0D6; overflow: hidden; }
.meter b { display: block; height: 100%; border-radius: 6px; transition: width .15s linear; }
.meter-pv b { background: var(--tq); }
.meter-c b { background: var(--ink); }
.et-cursor { stroke: var(--champagne-dark); stroke-width: 1.5; stroke-dasharray: 4 4; }
.et-dot { stroke: #fff; stroke-width: 2.5; }
.et-dot-pv { fill: var(--tq-dark); }
.et-dot-c { fill: var(--ink); }
.et[data-active="netz"] .et-dot-pv { opacity: 0; }
@media (max-width: 40rem) { .et-dot { r: 10; } .et-cursor { stroke-width: 3; } }

/* Stromkosten-Rechner */
.calc-section { background: radial-gradient(40rem 26rem at 100% 0%, rgba(214,180,108,.16), transparent 60%), linear-gradient(180deg, var(--night-2), var(--night)); }
.calc-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 56rem) { .calc-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.calc-inputs { margin-top: 2rem; display: grid; gap: 1.25rem; }
.calc-field label { color: #fff; }
.calc-field output { color: var(--champagne-light); }
.calc-section input[type="range"]::-webkit-slider-runnable-track { background: rgba(255,255,255,.2); }
.calc-section input[type="range"]::-moz-range-track { background: rgba(255,255,255,.2); }
.calc-section input[type="range"]::-webkit-slider-thumb { border-color: var(--night); }
.calc-result { padding: 2rem; border: 1px solid rgba(214,180,108,.35); border-radius: 6px; background: rgba(255,255,255,.03); }
.calc-label { margin: 0; font-size: 0.8125rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--champagne-light); }
.calc-total { margin: 0.4rem 0 1.5rem; font-size: clamp(2.6rem, 2rem + 3vw, 4rem); font-weight: 650; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-bars { display: flex; align-items: flex-end; gap: 3px; height: 7rem; }
.calc-bars span { flex: 1; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--champagne-light), rgba(214,180,108,.35)); transition: height .4s ease; }
.calc-axis { display: flex; justify-content: space-between; margin-top: 0.4rem; font-size: 0.75rem; color: #A8A1B3; }
.calc-sub { margin: 1.25rem 0 0.5rem; color: #E6DEEA; }
.calc-sub strong { color: #fff; }
.calc-note { font-size: 0.8125rem; color: #B9B2C2; margin-bottom: 1.5rem; }

/* Abschluss-Sektionen */
.configs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.5rem; }
.configs-foot .configs-note { margin: 0; }
.towns { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.towns li { padding: 0.35rem 0.8rem; border: 1px solid #DCCFB3; border-radius: 999px; font-size: 0.875rem; color: var(--ink); background: #fff; transition: background .2s ease, border-color .2s ease; }
.towns li:first-child { background: var(--night); color: var(--champagne-light); border-color: var(--night); }
.towns li:hover { border-color: var(--champagne); }

@media (prefers-reduced-motion: reduce) {
  .calc-bars span, .meter b, .scene-sun, .house-glint { transition: none; }
}
.range-label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; font-size: 0.9375rem; }
.range-label output { font-variant-numeric: tabular-nums; color: var(--champagne-dark); }
.calc-field .range-label label { color: #fff; }
.calc-field .range-label output { color: var(--champagne-light); }
.calc-field input, .time-control input { margin-top: -0.25rem; }
.range-label output, .calc-total, .time-control output, .calc-field output { font-variant-numeric: normal; }
.hero h1 { font-size: clamp(2.3rem, 1.3rem + 3vw, 3.6rem); max-width: 12.5em; }

/* ==========================================================================
   Version 11 – klare Call-to-Actions in Gold, hellerer Hero
   ========================================================================== */
.btn, .btn-sun, .site-header .btn, .form .btn, .mobile-cta .btn,
.hero .btn-sun, .page-hero .btn-sun, .section-ink .btn, .cta-band .btn {
  background: #D6B46C; border: 2px solid #D6B46C; color: #1A1408;
  border-radius: 999px; font-weight: 650;
  box-shadow: 0 8px 22px -12px rgba(150,110,40,.75) !important;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover, .btn-sun:hover, .site-header .btn:hover, .form .btn:hover, .mobile-cta .btn:hover,
.hero .btn-sun:hover, .page-hero .btn-sun:hover, .section-ink .btn:hover, .cta-band .btn:hover {
  background: #C49A4E; border-color: #C49A4E; color: #120D04; transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(150,110,40,.85) !important;
}
.btn:active { transform: none; }
.btn::after { content: " →"; transition: margin .2s ease; }
.btn:hover::after { margin-left: 0.2rem; }
.nav .btn::after, .mobile-cta .btn::after, .form .btn::after, .slider-nav button::after { content: none; }
/* Zweitaktionen bleiben zurückhaltend */
.btn-ghost, .mobile-cta .btn-ghost { background: #fff; border-color: #D9D2C4; color: var(--ink); box-shadow: none !important; }
.btn-ghost:hover, .mobile-cta .btn-ghost:hover { background: var(--ivory); border-color: var(--champagne); color: var(--ink); }
.btn-ghost::after { content: none; }
.hero .btn-ghost-light, .page-hero .btn-ghost-light, .cta-band .btn-ghost-light { box-shadow: none !important; background: transparent; border-color: transparent; color: #fff; }
.hero .btn-ghost-light::after, .page-hero .btn-ghost-light::after { content: " →"; }
.cta-band .btn-ghost-light::after { content: none; }
.btn:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }
.section-ink .btn:focus-visible, .hero .btn:focus-visible, .page-hero .btn:focus-visible { outline-color: #fff; }

/* Hero heller und wärmer */
.hero::before {
  background:
    linear-gradient(90deg, rgba(21,18,29,.82) 0%, rgba(21,18,29,.62) 38%, rgba(21,18,29,.18) 72%, rgba(21,18,29,.05) 100%),
    linear-gradient(180deg, rgba(21,18,29,.25) 0%, rgba(21,18,29,0) 30%);
}
.hero-bg img { object-position: 60% 40%; }
.page-hero::before { background: linear-gradient(90deg, rgba(21,18,29,.85) 0%, rgba(21,18,29,.6) 50%, rgba(21,18,29,.15) 100%); }

/* Kostenrechner in der Navigation hervorheben */
.nav a[href$="#rechner"] { color: var(--champagne-dark) !important; font-weight: 650; }
.nav a[href$="#rechner"]::before { content: ""; display: inline-block; width: 0.45rem; height: 0.45rem; margin-right: 0.4rem; border-radius: 50%; background: var(--champagne); vertical-align: 0.1em; }
@media (min-width: 75rem) and (max-width: 85rem) {
  .nav ul { gap: 0.85rem; }
  .nav li a { font-size: 0.84rem; }
  .nav { gap: 1rem; }
}
.brand { flex-shrink: 0; }
.brand-name { white-space: nowrap; }

/* ==========================================================================
   Version 12 – eine Palette: Nacht, Energieversum-Lila, Champagner, Elfenbein
   ========================================================================== */
.hero::before {
  background:
    linear-gradient(90deg, rgba(21,18,29,.78) 0%, rgba(21,18,29,.55) 40%, rgba(21,18,29,.12) 75%, rgba(21,18,29,0) 100%);
}
.hero-bg img { object-position: 70% 45%; }
/* Grafik in Gold und Lila statt Türkis */
.et-fill-eigen { fill: #D6B46C; }
.et-fill-einspeisung { fill: #F1E6CC; }
.et-hatch-bg { fill: #F3E8F1; }
.et-hatch-line { stroke: var(--ev); }
.et-line-pv { stroke: #A07A30; }
.et-label-pv { fill: #8A6A28; }
.et-dot-pv { fill: #A07A30; }
.lg-eigen .sw { background: #D6B46C; }
.lg-einspeisung .sw { background: #F1E6CC; outline-color: #E2D3AE; }
.meter-pv b { background: #D6B46C; }
.meter-c b { background: var(--ev); }
.product li::before, .role:last-child li::before { background: var(--champagne); }
.role li::before { background: var(--ev); }
.product-tag { color: var(--ev); }
.more { color: var(--ev); }
.proof-grid a, .reviews-more a { text-decoration-color: var(--champagne); }
.house-panels { fill: #2A1F38; stroke: #6B4F7A; }

/* ==========================================================================
   Version 13 – Original-Hero, Grafik wieder in Blau
   ========================================================================== */
.hero::before {
  background:
    linear-gradient(90deg, rgba(21,18,29,.84) 0%, rgba(21,18,29,.64) 40%, rgba(21,18,29,.2) 75%, rgba(21,18,29,.08) 100%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(146,57,138,.32), transparent 70%);
}
.hero-bg img { object-position: 70% 50%; }
.et-fill-eigen { fill: var(--tq); }
.et-fill-einspeisung { fill: var(--tq-pale); }
.et-line-pv { stroke: var(--tq-dark); }
.et-label-pv { fill: var(--tq-dark); }
.et-dot-pv { fill: var(--tq-dark); }
.lg-eigen .sw { background: var(--tq); }
.lg-einspeisung .sw { background: var(--tq-pale); outline-color: #A9D6E2; }
.meter-pv b { background: var(--tq); }
.meter-c b { background: var(--ink); }
.house-panels { fill: #1B2638; stroke: #3A4A66; }
.region { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }

/* ==========================================================================
   Version 14 – lokale Infos
   ========================================================================== */
.local-facts { background: var(--ivory); }
.facts-grid { display: grid; gap: 2.25rem 3rem; }
@media (min-width: 48rem) { .facts-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 72rem) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.fact { border-top: 1px solid var(--champagne); padding-top: 1.4rem; }
.fact-value { margin: 0 0 0.5rem; font-size: 2rem; font-weight: 650; letter-spacing: -0.03em; color: var(--champagne-dark); line-height: 1.1; }
.fact h3 { margin-bottom: 0.5rem; }
.fact p:last-child { color: var(--muted); font-size: 0.9875rem; }
.local-links { margin-top: 2.5rem; max-width: 52rem; }
.local-links a { color: var(--ev); }
.hero-portrait { background: #F3EDE2; }

/* ==========================================================================
   Version 15 – Porträt im Galerie-Rahmen
   ========================================================================== */
.hero-portrait {
  padding: 12px; background: #F7F1E6; border-radius: 4px;
  outline: none; box-shadow: 0 0 0 1px rgba(214,180,108,.65), 0 34px 70px -38px rgba(0,0,0,.85) !important;
  position: relative;
}
.hero-portrait::before {
  content: ""; position: absolute; inset: 6px; border: 1px solid rgba(214,180,108,.55); border-radius: 2px; pointer-events: none; z-index: 1;
}
.hero-portrait img { border-radius: 2px; position: relative; }
.hero-portrait::after {
  content: ""; position: absolute; inset: -14px; border: 1px solid rgba(235,214,163,.28); border-radius: 6px; pointer-events: none;
}
@media (max-width: 55.99rem) { .hero-portrait { padding: 9px; } .hero-portrait::after { inset: -10px; } }
/* Bugfix: goldene Rahmenlinie lag über der Namenskarte */
.hero-portrait { isolation: isolate; }
.hero-card { z-index: 5; }

/* Energieversum-Logo */
.hero-card-partner .ev-logo { height: 18px; width: auto; display: inline-block; }
.ev-logo-gross { height: 44px !important; width: auto; margin-bottom: 1.1rem; display: block; }
.proof-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-bottom: 1.75rem; }
.proof-head .proof-kicker { margin: 0; }
.proof-logo { height: 34px; width: auto; }
.footer-partner { display: block; height: 26px; width: auto; margin-top: 1rem; opacity: .9; }
.footer-brand { min-width: 18rem; }
.footer-partner { height: 30px; }

/* Einsatzgebiet geordnet */
.areas { margin: 0 0 2rem; display: grid; gap: 1.4rem; }
.area-title { margin: 0 0 0.6rem; font-weight: 650; font-size: 0.9375rem; color: var(--ink); }
.area-title span { font-weight: 400; color: var(--muted); margin-left: 0.4rem; }
.areas .towns { margin: 0; }
.towns li.is-home { background: var(--night); color: var(--champagne-light); border-color: var(--night); }
.towns li:first-child:not(.is-home) { background: #fff; color: var(--ink); border-color: #DCCFB3; }
.towns-light li { background: transparent; border-style: dashed; color: var(--muted); }
.area-note { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.area-note a { color: var(--ev); }

/* ==========================================================================
   Version 21 – Handy-Feinschliff
   ========================================================================== */
@media (max-width: 55.99rem) {
  .hero { padding-top: 1.5rem; padding-bottom: 3.5rem; }
  .hero::before { background: linear-gradient(180deg, rgba(21,18,29,.82) 0%, rgba(21,18,29,.74) 55%, rgba(21,18,29,.6) 100%); }
  .hero-grid { gap: 1.5rem; }
  /* Kompakte Visitenkarte: Foto links, Name rechts */
  .hero-media { order: -1; display: grid; grid-template-columns: 6.75rem 1fr; align-items: center; gap: 1rem; max-width: none; margin: 0; }
  .hero-portrait { aspect-ratio: 4 / 5; padding: 5px; }
  .hero-portrait::before { inset: 3px; }
  .hero-portrait::after { display: none; }
  .hero-card { position: static; margin: 0 !important; padding: 0; background: transparent; box-shadow: none; display: grid; gap: 0.5rem; min-width: 0; }
  .hero-card .hero-card-text { color: #D9CCE3; font-size: 0.875rem; }
  .hero-card .hero-card-text strong { color: #fff; font-size: 1.0625rem; }
  .hero-card-partner { padding-top: 0.5rem !important; border-top: 1px solid rgba(255,255,255,.18) !important; color: #CFC6D6; }
  .hero-card-partner .ev-logo { filter: brightness(0) invert(1); height: 15px; }
  .hero h1 { font-size: clamp(2rem, 1.4rem + 3vw, 2.6rem); }
  .hero-lede { font-size: 1.0625rem; margin-top: 1rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-proof { margin-top: 1.5rem; padding-top: 1.25rem; }
}
@media (max-width: 40rem) {
  :root { --section: 3.75rem; }
  .section-head { margin-bottom: 2rem; }
  .themes { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .theme { min-height: 12.5rem; }
  .theme-text { padding: 0.9rem; }
  .theme strong { font-size: 1.05rem; }
  .theme-text > span:last-child { display: none; }
  .theme-studio img { padding: 0.6rem 0.6rem 4.5rem; }
  .region-map { max-width: 22rem; }
  .usp-grid { gap: 1.75rem; }
  .product-body { padding: 1.1rem 1.2rem 1.3rem; }
  .calc-result { padding: 1.4rem; }
  .config-body { padding: 1.1rem 1.2rem 1.3rem; }
}
/* Bugfix: Bewertungs-Pfeil rechts wurde auf dem Handy abgeschnitten (6 Punkte zu breit) */
.slider-nav { flex-wrap: nowrap; }
.slider-nav button.slider-prev, .slider-nav button.slider-next { flex: none; }
@media (max-width: 40rem) {
  .slider-nav { gap: 0.5rem; }
  .slider-dots { gap: 0.25rem; }
  .slider-dots button { width: 1.6rem; }
}
/* Bugfix: Punkte im Bewertungs-Slider waren unsichtbar */
.slider-nav .slider-dots button::after { content: ""; }

/* Über mich: Beratungsfoto im Querformat */
.about-photo.about-wide { aspect-ratio: 16 / 9; position: relative; }
.about-photo.about-wide img { object-position: 45% 50%; }
.about-photo.about-wide figcaption { position: absolute; right: 0.6rem; bottom: 0.5rem; z-index: 2; padding: 0.15rem 0.5rem; border-radius: 3px; background: rgba(21,18,29,.55); color: #EDE7F0; font-size: 0.6875rem; letter-spacing: 0.04em; }
@media (min-width: 56rem) { .about-photo.about-wide { position: sticky; top: 6rem; } }
@media (min-width: 56rem) { .about-photo.about-wide { aspect-ratio: 4 / 3; } .about-photo.about-wide img { object-position: 42% 50%; } }

/* Über mich: echtes Beratungsfoto im Galerie-Rahmen */
.about-frame {
  position: relative; margin: 0 14px 14px 0; padding: 10px; isolation: isolate;
  background: #F7F1E6; border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(214,180,108,.65), 0 30px 60px -38px rgba(21,18,29,.55);
}
.about-frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(214,180,108,.55); border-radius: 2px; pointer-events: none; z-index: 2; }
.about-frame::after { content: ""; position: absolute; inset: 0; transform: translate(14px, 14px); border: 1px solid var(--champagne); border-radius: 4px; z-index: -1; pointer-events: none; }
.about-frame-inner { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 16 / 10; --reveal-bg: #F7F1E6; }
.about-frame-inner img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
@media (min-width: 56rem) {
  .about-frame { position: sticky; top: 6.5rem; }
  .about-frame-inner { aspect-ratio: 4 / 3; }
  .about-frame-inner img { object-position: 46% 45%; }
}
@media (max-width: 40rem) {
  .about-frame { padding: 7px; margin: 0 10px 10px 0; }
  .about-frame::before { inset: 3px; }
  .about-frame::after { transform: translate(10px, 10px); }
}

/* Handy: Komponenten und Beispielkonfigurationen als Wisch-Karussell (kürzer, app-artig) */
@media (max-width: 40rem) {
  #komponenten .product-grid, .configs {
    display: flex; gap: 0.85rem; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 0.25rem var(--gutter) 1rem;
    scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  #komponenten .product-grid::-webkit-scrollbar, .configs::-webkit-scrollbar { display: none; }
  #komponenten .product-grid > .product, .configs > .config { flex: 0 0 84%; scroll-snap-align: start; }
  #komponenten .product-grid > .product { transition-delay: 0s !important; }
  .swipe-hint { display: flex; align-items: center; gap: 0.5rem; margin: 0.25rem 0 0; font-size: 0.8125rem; color: var(--muted); }
  .section-ink .swipe-hint { color: #B9B2C2; }
  .swipe-hint::after { content: "→"; color: var(--champagne-dark); }
  .section-ink .swipe-hint::after { color: var(--champagne-light); }
}
@media (min-width: 40.01rem) { .swipe-hint { display: none; } }

/* ==========================================================================
   Version 31 – Freigabe Marketing: Logo nur als „Vertriebspartner von“, eigene Einsatzgebiet-Karte
   ========================================================================== */
.proof-vp, .partner-vp, .footer-vp { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; font-size: 0.875rem; color: var(--muted); white-space: nowrap; }
.footer-vp { color: #CFC6D6; margin-top: 1rem; }
.partner-vp { margin-bottom: 1.1rem; }
.partner-vp .ev-logo-gross { height: 34px !important; margin: 0; }
.footer-vp .footer-partner { margin: 0; height: 24px; }
.proof-vp .proof-logo { height: 26px; }
.region-own { margin: 0; padding: clamp(1rem, 2vw, 1.5rem); background: #fff; border: 1px solid #E6DCC6; border-radius: 6px; box-shadow: 0 30px 60px -44px rgba(21,18,29,.4); }
.em-map { width: 100%; height: auto; display: block; font-family: inherit; }
.em-ring { fill: rgba(214,180,108,.08); stroke: var(--champagne); stroke-width: 1.5; stroke-dasharray: 4 6; }
.em-ring-2 { fill: rgba(214,180,108,.04); }
.em-km { font-size: 12px; fill: var(--champagne-dark); letter-spacing: .04em; }
.em-dir { font-size: 13px; fill: #8C8597; }
.em-town circle { fill: var(--night); }
.em-town text { font-size: 15px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.em-home { fill: var(--ev); stroke: #fff; stroke-width: 3; }
.em-pulse { fill: rgba(146,57,138,.25); transform-origin: 300px 290px; animation: emPulse 2.4s ease-out infinite; }
@keyframes emPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.em-home-label { font-size: 20px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 5px; }
.em-home-sub { font-size: 13px; fill: var(--ev); font-weight: 600; paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.region-own figcaption { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .em-pulse { animation: none; } }
@media (min-width: 56rem) { .region-own { position: sticky; top: 6.5rem; } }
.em-town text { font-size: 19px; }
.em-km { font-size: 15px; }
.em-dir { font-size: 16px; }
.em-home-label { font-size: 25px; }
.em-home-sub { font-size: 16px; }
.em-pulse { transform-origin: 300px 285px; }

/* ==========================================================================
   Version 32 – Über mich ohne Foto, Einsatzgebiet als Nachtkarte, große Bildschirme
   ========================================================================== */
/* Über mich: Text links, drei Werte als nummerierte Karten rechts */
.about-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 56rem) { .about-grid { grid-template-columns: 1.15fr 1fr; gap: 5rem; } }
.about-intro h2 { margin-bottom: 1.5rem; }
.about-values { margin: 0; display: grid; gap: 0.9rem; border: 0; }
.about-values > div { display: block; padding: 1.25rem 1.4rem; background: var(--ivory); border: 1px solid #E8DEC9; border-left: 3px solid var(--champagne); border-radius: 6px; }
.about-values dt { display: flex; align-items: baseline; gap: 0.75rem; font-size: 1.0625rem; font-weight: 650; margin-bottom: 0.35rem; }
.about-values dd { margin: 0; color: var(--muted); }
.av-num { font-size: 0.8125rem; font-weight: 700; color: var(--champagne-dark); letter-spacing: 0.06em; }
.about-side .col-cta { margin-top: 1.5rem; }

/* Einsatzgebiet: dunkle Karte passend zum Hero */
.region-grid { align-items: start; }
@media (min-width: 56rem) { .region-grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; } }
.region-own { padding: clamp(0.75rem, 2vw, 1.25rem); border: 1px solid rgba(214,180,108,.45); border-radius: 8px;
  background: radial-gradient(70% 60% at 50% 46%, #2C2240 0%, #1B1626 70%, #15121D 100%);
  box-shadow: 0 40px 80px -50px rgba(21,18,29,.75); }
.em-ring { fill: rgba(214,180,108,.07); stroke: rgba(214,180,108,.7); stroke-width: 1.4; stroke-dasharray: 3 7; }
.em-ring-2 { fill: rgba(214,180,108,.035); stroke: rgba(214,180,108,.45); }
.em-km { fill: var(--champagne-light); }
.em-dir { fill: #9D95AC; }
.em-town circle { fill: #F7F4EE; stroke: rgba(214,180,108,.9); stroke-width: 3; }
.em-town text { fill: #F7F4EE; stroke: #1B1626; stroke-width: 5px; font-weight: 600; }
.em-home { fill: var(--champagne); stroke: #fff; stroke-width: 3; }
.em-pulse { fill: rgba(214,180,108,.35); }
.em-home-label { fill: #fff; stroke: #1B1626; stroke-width: 6px; }
.em-home-sub { fill: var(--champagne-light); stroke: #1B1626; stroke-width: 5px; }
.region-own figcaption { color: #B9B2C2; }
@media (min-width: 56rem) { .region-own { position: sticky; top: 6.5rem; } }

/* Große Bildschirme: etwas breiter, damit nichts verloren wirkt */
@media (min-width: 100rem) { :root { --wrap: 80rem; } }
@media (min-width: 140rem) { :root { --wrap: 88rem; } html { font-size: 106.25%; } }

/* Version 33 – Einsatzgebiet als echte Karte (Kreisgrenzen) */
.region-own.region-real { background: #FBF9F4; border: 1px solid #E6DCC6; box-shadow: 0 30px 60px -44px rgba(21,18,29,.4); padding: clamp(0.5rem, 1.5vw, 1rem); }
.rk-map { width: 100%; height: auto; display: block; font-family: inherit; border-radius: 4px; background: #F1EEE7; }
.rk-other { fill: #ECE8DF; stroke: #D8D1C2; stroke-width: 1; }
.rk-owl { fill: #F7F4EE; stroke: #CFC5B1; stroke-width: 1.2; }
.rk-home { fill: rgba(214,180,108,.28); stroke: var(--champagne-dark); stroke-width: 2; }
.rk-label { font-size: 12px; letter-spacing: .14em; fill: #A79F90; font-weight: 600; }
.rk-link { stroke: var(--ev); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: .7; }
.rk-town circle { fill: var(--night); stroke: #fff; stroke-width: 1.5; }
.rk-town text { font-size: 15px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #F7F4EE; stroke-width: 4px; }
.rk-ev rect { fill: var(--ev); stroke: #fff; stroke-width: 2; }
.rk-ev text { font-size: 15px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #F7F4EE; stroke-width: 4px; }
.rk-ev .rk-ev-sub { font-size: 12px; font-weight: 600; fill: var(--ev); }
.rk-me { fill: var(--ev); stroke: #fff; stroke-width: 3; }
.rk-pulse { fill: rgba(146,57,138,.25); transform-box: fill-box; transform-origin: center; animation: emPulse 2.4s ease-out infinite; }
.rk-me-label { font-size: 22px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: #F7F4EE; stroke-width: 5px; }
.rk-me-sub { font-size: 13px; font-weight: 700; fill: var(--ev); paint-order: stroke; stroke: #F7F4EE; stroke-width: 4px; }
.rk-scale line { stroke: var(--ink); stroke-width: 1.5; }
.rk-scale text { font-size: 12px; fill: var(--ink); }
.region-real figcaption { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .rk-pulse { animation: none; } }
.region-partner { display: flex; gap: 0.9rem; align-items: flex-start; margin: 0 0 1.75rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid #E6DCC6; border-left: 3px solid var(--ev); border-radius: 6px; }
.region-partner strong { display: block; font-size: 0.8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ev); margin-bottom: 0.2rem; }
.region-partner p { margin: 0; font-size: 0.9375rem; }
