/* ==========================================================
   Wolfsun Energy Elektrotechnik – Stylesheet
   Keine externen Fonts/CDNs (DSGVO-freundlich)
   ========================================================== */

:root {
  --navy-900: #121211;   /* Tiefschwarz */
  --navy-800: #1D1D1B;   /* Logo-Schwarz */
  --navy-700: #2B2B28;
  --slate-500: #6B6A64;
  --slate-300: #D4D3CD;
  --slate-100: #F5F4F0;
  --white: #FFFFFF;
  --sun-300: #FFD95A;
  --sun-500: #FCBE0C;   /* Logo-Gelb */
  --sun-600: #8A6400;   /* dunkles Gold für Text auf Weiß (Kontrast) */
  --radius: 14px;
  --shadow: 0 10px 30px rgba(29, 29, 27, .08);
  --shadow-lg: 0 20px 50px rgba(29, 29, 27, .15);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--sun-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: min(1180px, 92%); margin-inline: auto; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--sun-600);
  margin-bottom: .8em;
}
.hero .eyebrow, .section-dark .eyebrow { color: var(--sun-500); }
.accent {
  background: linear-gradient(90deg, var(--sun-300), var(--sun-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .9em 1.6em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none !important;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--sun-300), var(--sun-500));
  color: var(--navy-900);
  box-shadow: 0 8px 20px rgba(252, 190, 12, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(252, 190, 12, .4); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--sun-500); color: var(--sun-300); }
.btn-sm { padding: .55em 1.2em; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(18, 18, 17, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: .7rem; color: var(--white); text-decoration: none !important; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo img { width: 48px; height: 48px; }
.logo-text strong { font-size: 1.25rem; letter-spacing: .1em; font-weight: 800; }
.logo-text strong em, .footer-brand em { font-style: normal; color: var(--sun-500); }
.logo-text small { font-size: .68rem; color: rgba(255,255,255,.75); letter-spacing: .14em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a:not(.btn) {
  color: rgba(255,255,255,.85);
  font-weight: 600;
  position: relative;
  text-decoration: none;
}
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--sun-500);
  transition: width .25s;
}
.main-nav a:not(.btn):hover { color: var(--white); }
.main-nav a:not(.btn):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--white); margin: 5px 0;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  color: var(--white);
  background: var(--navy-900);
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 40%, rgba(252, 190, 12, .28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(252, 190, 12, .15), transparent 40%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, #262623 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 3rem; align-items: center;
}
.lead { font-size: 1.15rem; color: rgba(255,255,255,.78); max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0; }
.hero-badges {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem;
  color: rgba(255,255,255,.7); font-size: .95rem;
}
.hero-visual { display: flex; justify-content: center; }
.hero-logo { width: min(440px, 100%); filter: drop-shadow(0 0 60px rgba(252, 190, 12, .35)); animation: glow 6s ease-in-out infinite; }
@keyframes glow { 50% { filter: drop-shadow(0 0 90px rgba(252, 190, 12, .55)); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-alt { background: var(--slate-100); }
.section-dark { background: var(--navy-800); color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head p:last-child { color: var(--slate-500); }
.muted { color: rgba(255,255,255,.72); margin-bottom: 2rem; }
.muted-dark { color: var(--slate-500); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-top { align-items: start; }

/* ---------- Cards ---------- */
/* Flex statt Grid: eine einzelne Karte in der letzten Reihe steht mittig */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; }
.cards > .card { flex: 0 1 calc((100% - 2 * 1.6rem) / 3); }
.cards > .card-feature { flex-basis: 100%; }
.card {
  background: var(--white);
  border: 1px solid #E7E6E1;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(252, 190, 12, .5); }
.card p { color: var(--slate-500); margin: 0; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(252, 190, 12,.15), rgba(252, 190, 12,.15));
  margin-bottom: 1.2rem;
}
.card-icon svg {
  width: 28px; height: 28px;
  fill: none; stroke: var(--sun-600); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Hervorgehobene Leistung (volle Breite) */
.card-feature {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center;
  background:
    radial-gradient(circle at 95% 10%, rgba(252, 190, 12, .22), transparent 45%),
    var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
  padding: clamp(1.8rem, 4vw, 2.8rem);
}
.card-feature:hover { border-color: var(--sun-500); }
.card-feature h3 { font-size: 1.5rem; }
.card-feature p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }
.card-feature .card-icon { background: rgba(252, 190, 12, .15); }
.card-feature .card-icon svg { stroke: var(--sun-500); }
.check-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.4rem;
}
.check-list li {
  position: relative; padding-left: 1.9rem; font-weight: 600; line-height: 1.4;
}
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: -.05em;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sun-500); color: var(--navy-900);
  font-size: .8rem; font-weight: 800;
}

/* ---------- Features ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.features li {
  display: flex; gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  transition: background .25s, border-color .25s;
}
.features li:hover { background: rgba(255,255,255,.07); border-color: rgba(252, 190, 12,.4); }
.features h3 { margin-bottom: .3em; }
.features p { margin: 0; color: rgba(255,255,255,.68); }
.feature-num { font-weight: 800; font-size: 1.4rem; color: var(--sun-500); line-height: 1.2; }

/* ---------- Steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 2rem 1.6rem 1.6rem;
  border-top: 3px solid var(--sun-500);
  background: var(--slate-100);
  border-radius: 0 0 var(--radius) var(--radius);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -22px; left: 1.6rem;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-800); color: var(--sun-300);
  font-weight: 800;
}
.steps p { color: var(--slate-500); margin: 0; }

/* ---------- About ---------- */
.about-visual {
  aspect-ratio: 1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(252, 190, 12,.18), transparent 65%),
    var(--white);
  border: 1px solid #E7E6E1;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
}
.about-visual img { width: 78%; }

/* ---------- Referenzen ---------- */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.ref-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.ref-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ref-media {
  position: relative;
  aspect-ratio: 3 / 2;
  background:
    url("../img/logo-signet-light.svg") center / 34% no-repeat,
    radial-gradient(circle at 50% 45%, rgba(252, 190, 12, .25), transparent 60%),
    var(--navy-800);
}
.ref-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.ref-card:hover .ref-media img { transform: scale(1.04); }
.ref-tag {
  position: absolute; left: 1rem; top: 1rem;
  background: var(--sun-500); color: var(--navy-900);
  font-size: .78rem; font-weight: 700;
  padding: .3em .8em; border-radius: 999px;
}
.ref-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.ref-body p { color: var(--slate-500); }
.ref-loc { font-size: .9rem; margin-bottom: .8em; }
.ref-facts {
  list-style: none; padding: 1rem 0 0; margin: auto 0 0;
  border-top: 1px solid #E7E6E1;
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem;
}
.ref-facts li { display: flex; flex-direction: column; font-size: .82rem; color: var(--slate-500); }
.ref-facts strong { font-size: 1.1rem; color: var(--navy-800); }

.testimonial {
  margin: 3.5rem auto 0; max-width: 760px; text-align: center;
}
.testimonial blockquote {
  margin: 0 0 .8rem; font-size: clamp(1.15rem, 2.2vw, 1.45rem); font-weight: 600; line-height: 1.5;
}
.testimonial blockquote::before {
  content: "“"; display: block;
  font-size: 4rem; line-height: .6; color: var(--sun-500); margin-bottom: .4rem;
}
.testimonial figcaption { color: var(--slate-500); font-weight: 600; }

.facts {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.facts li {
  background: var(--white);
  border-radius: var(--radius);
  border-left: 4px solid var(--sun-500);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.facts strong { font-size: 1.15rem; color: var(--navy-800); hyphens: manual; }
.facts span { font-size: .88rem; color: var(--slate-500); }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Einsatzgebiet ---------- */
.area-list {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.area-list li {
  padding: .45em 1em;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  font-weight: 600; font-size: .92rem;
}
.area-list li:first-child { background: var(--sun-500); border-color: var(--sun-500); color: var(--navy-900); }
.area-note { color: rgba(255,255,255,.65); font-size: .95rem; margin: 0; }
.area-note a { color: var(--sun-500); }

.area-map { margin: 0; }
.area-map svg { width: 100%; max-width: 520px; display: block; margin: 0 auto; overflow: visible; }
.area-map .rings circle { fill: rgba(252, 190, 12, .05); stroke: rgba(252, 190, 12, .35); stroke-width: 1.2; stroke-dasharray: 4 6; }
.area-map .rings .outer { stroke: rgba(252, 190, 12, .6); stroke-dasharray: none; stroke-width: 1.5; }
.area-map .ring-labels text { fill: rgba(255,255,255,.4); font-size: 11px; }
.area-map .places circle { fill: var(--white); }
.area-map .places text { fill: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; }
.area-map .home circle { fill: var(--sun-500); }
.area-map .home .pulse { fill: rgba(252, 190, 12, .25); transform-origin: 250px 250px; animation: pulse 2.6s ease-out infinite; }
.area-map .home text { fill: var(--sun-500); font-size: 16px; font-weight: 800; }
.area-map figcaption { text-align: center; color: rgba(255,255,255,.45); font-size: .8rem; margin-top: .6rem; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: .9rem; }
.faq details {
  background: var(--white);
  border: 1px solid #E7E6E1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
.faq details[open] { border-color: var(--sun-500); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3.4rem 1.15rem 1.4rem;
  font-weight: 700; font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--slate-100); color: var(--navy-800);
  font-size: 1.2rem; font-weight: 700;
  transition: transform .25s, background .25s;
}
.faq details[open] summary::after { content: "–"; background: var(--sun-500); }
.faq summary:focus-visible { outline: 3px solid var(--sun-500); outline-offset: 2px; border-radius: var(--radius); }
.faq details p { margin: 0; padding: 0 1.4rem 1.3rem; color: var(--slate-500); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list a { color: var(--navy-800); font-weight: 600; }
.ci {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--slate-100);
  font-size: 1.2rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid #E7E6E1;
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 1.1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .92rem; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit; font-weight: 400;
  padding: .8em 1em;
  border: 1.5px solid var(--slate-300);
  border-radius: 10px;
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sun-500);
  box-shadow: 0 0 0 4px rgba(252, 190, 12, .18);
}
.contact-form .invalid { border-color: #DC2626; }
.contact-form .checkbox {
  display: flex; gap: .7rem; align-items: flex-start;
  font-weight: 400; color: var(--slate-500);
}
.contact-form .checkbox input { width: auto; margin-top: .3em; accent-color: var(--sun-600); }
.form-status { margin: 0; font-weight: 600; min-height: 1.4em; }
.form-hint { margin: -.4rem 0 0; font-size: .85rem; color: var(--slate-500); }
.contact-form button:disabled { opacity: .7; cursor: wait; transform: none; }
/* Honeypot-Feld für Spam-Bots: für Menschen unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.ok { color: #16A34A; }
.form-status.err { color: #DC2626; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.7); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: .7rem; color: var(--white); }
.footer-nav { display: flex; gap: 1.6rem; }
.footer-nav a { color: rgba(255,255,255,.75); }
.footer-nav a:hover { color: var(--sun-300); }
.copyright { margin: 0; font-size: .9rem; }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--header-h) + 60px) 0 80px; }
.legal .container { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal-header { background: var(--navy-900); }
.placeholder { background: #FEF3C7; padding: 0 .3em; border-radius: 4px; }

/* ---------- Google-Bewertungen ---------- */
.section-tight { padding: 0 0 clamp(60px, 8vw, 100px); }
.rating-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2.5rem; align-items: center;
  padding: clamp(1.6rem, 4vw, 2.4rem) clamp(1.6rem, 4vw, 2.8rem);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(252, 190, 12, .28), transparent 55%),
    var(--navy-800);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.rating-score { display: flex; align-items: center; gap: 1rem; }
.rating-score > strong { font-size: 3.6rem; line-height: 1; font-weight: 800; }
.rating-score p { margin: .2rem 0 0; font-size: .92rem; color: rgba(255,255,255,.75); line-height: 1.4; }
.rating-score > strong { color: var(--sun-500); }
.rating-score small { font-size: .78rem; }
.stars { color: var(--sun-500); font-size: 1.5rem; letter-spacing: .1em; line-height: 1; }
.rating-text h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .3em; }
.rating-text p { margin: 0; color: rgba(255,255,255,.72); }
.rating-actions { display: flex; flex-direction: column; gap: .7rem; }
.btn-outline { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn-outline:hover { border-color: var(--sun-500); color: var(--sun-300); }
@media (max-width: 1024px) {
  .rating-card { grid-template-columns: auto 1fr; }
  .rating-actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .rating-card { grid-template-columns: 1fr; gap: 1.4rem; }
  .rating-actions .btn { width: 100%; }
}

/* ---------- WhatsApp & Social Media ---------- */
[hidden] { display: none !important; }

.ci svg, .social svg, .wa-float svg {
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.ci-wa { color: #128C7E; }
.ci-wa svg { width: 22px; height: 22px; }

.social { display: flex; gap: .6rem; }
.social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.8);
  transition: background .2s, color .2s, border-color .2s;
}
.social a:hover { background: var(--sun-500); border-color: var(--sun-500); color: var(--navy-900); }
.social svg { width: 20px; height: 20px; }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1.2rem .8rem 1rem;
  border-radius: 999px;
  background: #25D366; color: #FFFFFF;
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.wa-float svg { width: 28px; height: 28px; stroke-width: 1.7; }
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; padding: 14px; }
  .wa-float span { display: none; }
}

/* ---------- 404-Seite ---------- */
.error-page {
  min-height: calc(100vh - 120px);
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  background:
    radial-gradient(circle at 50% 30%, rgba(252, 190, 12, .2), transparent 50%),
    var(--navy-900);
  color: var(--white);
  text-align: center;
}
.error-inner { max-width: 640px; }
.error-logo { width: 140px; margin: 0 auto 1.5rem; filter: drop-shadow(0 0 40px rgba(252, 190, 12, .4)); }
.error-page .eyebrow { color: var(--sun-500); }
.error-page h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.error-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }

/* ---------- Leistungs-Unterseiten ---------- */
.page-hero {
  position: relative; overflow: hidden;
  color: var(--white); background: var(--navy-900);
  padding: calc(var(--header-h) + 50px) 0 clamp(60px, 8vw, 100px);
}
.page-hero-inner { position: relative; max-width: 860px; }
.page-hero h1 { margin: .4em 0 .5em; }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero-icon { background: rgba(252, 190, 12, .15); margin: 1.6rem 0 0; }
.page-hero-icon svg { stroke: var(--sun-500); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--sun-300); }
.breadcrumb [aria-current] { color: var(--sun-300); }
.cards-compact > .card { padding: 1.6rem 1.7rem; border-top: 3px solid var(--sun-500); }
.cards-compact h3 { font-size: 1.1rem; }
.cta-band { padding: clamp(50px, 7vw, 80px) 0; background: radial-gradient(circle at 90% 20%, rgba(252, 190, 12, .2), transparent 45%), var(--navy-800); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner .muted { margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.svc-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.svc-link {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1.1rem; border: 1px solid #E7E6E1; border-radius: var(--radius);
  background: var(--white); color: var(--navy-800); font-weight: 700; text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.svc-link:hover { border-color: var(--sun-500); transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; }
.svc-link .card-icon { width: 44px; height: 44px; margin: 0; flex: none; border-radius: 12px; }
.svc-link .card-icon svg { width: 22px; height: 22px; }
.cards > .card:not(.card-feature) { display: flex; flex-direction: column; }
.card-more { display: inline-block; margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--sun-600); }
.card-feature .card-more { color: var(--sun-300); margin: 0 0 0 1rem; padding: 0; }
.card-more:hover { text-decoration: underline; }

/* ---------- Anfrage-Assistent ---------- */
.page-hero-sm { padding-bottom: clamp(40px, 6vw, 70px); }
.page-hero-sm h1 { margin-top: .5em; }
.wizard-section { background: var(--slate-100); }
.wizard-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; align-items: start; }
.wizard {
  background: var(--white); border: 1px solid #E7E6E1; border-radius: 20px;
  padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow-lg);
  display: grid; gap: 1.4rem;
}
.wizard-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.wizard-aside h2 { font-size: 1.4rem; }
.wizard-aside .contact-list { margin-top: 1.2rem; }
.wiz-trust { margin-top: 1.6rem; font-size: .88rem; color: var(--slate-500); border-top: 1px solid var(--slate-300); padding-top: 1rem; }
.wiz-noscript { background: #FEF3C7; padding: 1rem; border-radius: 10px; margin: 0; }

.wiz-progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.wiz-progress li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; color: var(--slate-500);
  padding-top: .7rem; border-top: 4px solid var(--slate-300);
}
.wiz-progress li span {
  width: 1.7rem; height: 1.7rem; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
  background: var(--slate-100); color: var(--slate-500);
}
.wiz-progress li.done { border-color: var(--sun-500); color: var(--navy-800); }
.wiz-progress li.done span { background: var(--sun-500); color: var(--navy-900); }
.wiz-progress li.active { border-color: var(--navy-800); color: var(--navy-800); }
.wiz-progress li.active span { background: var(--navy-800); color: var(--sun-300); }

.wiz-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.3rem; }
.wiz-step legend { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; padding: 0; margin-bottom: .2rem; outline: none; }
.wiz-help { color: var(--slate-500); margin: -.6rem 0 0; }
.wiz-note { margin: -.4rem 0 0; font-size: .9rem; background: #FEF3C7; padding: .8rem 1rem; border-radius: 10px; }
.wiz-questions { display: grid; gap: 1.5rem; }

/* Kacheln (Schritt 1) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.tile {
  position: relative; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; gap: .8rem;
  padding: 1.1rem 1.2rem; border: 1.5px solid var(--slate-300); border-radius: var(--radius);
  font-weight: 700; line-height: 1.3; background: var(--white);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tile:hover { border-color: var(--sun-500); transform: translateY(-2px); }
.tile .card-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.tile .card-icon svg { width: 22px; height: 22px; }
.tile input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile:has(input:checked) { border-color: var(--sun-500); box-shadow: 0 0 0 4px rgba(252, 190, 12, .25); background: #FFFBEB; }
.tile:has(input:focus-visible), .chip:has(input:focus-visible) { outline: 3px solid var(--navy-800); outline-offset: 2px; }

/* Auswahl-Chips */
.q { display: grid; gap: .6rem; }
.q-title { margin: 0; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip span {
  display: inline-block; padding: .5em 1em; border-radius: 999px;
  border: 1.5px solid var(--slate-300); background: var(--white);
  font-size: .95rem; font-weight: 600; transition: background .2s, border-color .2s;
}
.chip:hover span { border-color: var(--sun-500); }
.chip input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: var(--sun-300); }

/* Felder */
.wizard .field { display: grid; gap: .4rem; font-weight: 600; font-size: .92rem; }
.wizard input[type="text"], .wizard input[type="email"], .wizard input[type="tel"], .wizard textarea {
  font: inherit; font-weight: 400; padding: .8em 1em; width: 100%;
  border: 1.5px solid var(--slate-300); border-radius: 10px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.wizard textarea { resize: vertical; }
.wizard input:focus, .wizard textarea:focus { outline: none; border-color: var(--sun-500); box-shadow: 0 0 0 4px rgba(252, 190, 12, .18); }
.wizard .invalid { border-color: #DC2626 !important; }
.wizard .checkbox { display: flex; gap: .7rem; align-items: flex-start; color: var(--slate-500); font-size: .92rem; }
.wizard .checkbox input { margin-top: .3em; accent-color: var(--sun-600); }
.wizard .checkbox:has(.invalid) { color: #DC2626; }

/* Zusammenfassung */
.wiz-summary { position: relative; background: var(--slate-100); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.wiz-summary-title { font-weight: 800; margin: 0 0 .5rem; padding-right: 4rem; }
.wiz-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; font-size: .92rem; }
.wiz-summary dt { color: var(--slate-500); }
.wiz-summary dd { margin: 0; font-weight: 600; }
.wiz-edit { position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0; font: inherit; font-weight: 700; color: var(--sun-600); cursor: pointer; text-decoration: underline; }

.wiz-nav { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #E7E6E1; padding-top: 1.4rem; }
.wiz-nav [data-wiz="next"], .wiz-nav [data-wiz="send"] { margin-left: auto; }
.btn-outline-dark { border-color: var(--slate-300); color: var(--navy-800); background: var(--white); }
.btn-outline-dark:hover { border-color: var(--navy-800); }
.wizard button:disabled { opacity: .7; cursor: wait; }

.wiz-done { text-align: center; padding: 2rem 0; outline: none; }
.wiz-done-icon { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--sun-500); color: var(--navy-900); font-size: 2rem; font-weight: 800; }
.wiz-done p { color: var(--slate-500); }

@media (max-width: 1024px) {
  .wizard-layout { grid-template-columns: 1fr; }
  .wizard-aside { position: static; }
}
@media (max-width: 600px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile { padding: .9rem; font-size: .92rem; }
  .wiz-progress li { font-size: 0; gap: 0; }
  .wiz-progress li span { font-size: .8rem; }
}

.assist-teaser {
  display: flex; gap: 1rem; align-items: center; margin-top: 1.6rem;
  padding: 1rem 1.2rem; border-radius: var(--radius);
  background: var(--navy-800); color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1.45;
  text-decoration: none !important; transition: transform .2s, box-shadow .2s;
}
.assist-teaser strong { color: var(--sun-300); font-size: 1.05rem; }
.assist-teaser:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.assist-teaser .card-icon { flex: none; margin: 0; background: rgba(252, 190, 12, .15); }
.assist-teaser .card-icon svg { stroke: var(--sun-500); }

.card-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 0 1.4rem; }
.card-links .card-more { margin-top: 0; }
/* ---------- Solarrechner ---------- */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 2.5rem; align-items: start; }
.calc-form { gap: 2rem; }
.calc-form .wiz-step legend { font-size: 1.25rem; }
.calc-form input[type="number"] {
  font: inherit; font-weight: 400; padding: .8em 1em; width: 100%;
  border: 1.5px solid var(--slate-300); border-radius: 10px; background: var(--white);
}
.calc-form input[type="number"]:focus { outline: none; border-color: var(--sun-500); box-shadow: 0 0 0 4px rgba(252, 190, 12, .18); }
.calc-form input[type="range"] { width: 100%; accent-color: var(--sun-500); height: 28px; }
.calc-form output { font-weight: 800; color: var(--sun-600); }
.field-hint { font-weight: 400; font-size: .85rem; color: var(--slate-500); }
.calc-more { border: 1px solid #E7E6E1; border-radius: var(--radius); }
.calc-more summary { cursor: pointer; padding: .9rem 1.2rem; font-weight: 700; }
.calc-more-body { padding: 0 1.2rem 1.2rem; display: grid; gap: 1rem; }

.calc-result {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: radial-gradient(circle at 90% 0%, rgba(252, 190, 12, .2), transparent 50%), var(--navy-800);
  color: var(--white); border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-lg); display: grid; gap: 1.4rem;
}
.calc-result .eyebrow { margin: 0; color: var(--sun-300); }
.calc-hero { display: grid; gap: .2rem; }
.calc-hero-label { color: rgba(255,255,255,.7); font-size: .95rem; }
.calc-hero-value { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; color: var(--sun-300); line-height: 1.1; letter-spacing: -.02em; }
.calc-hero-sub { color: rgba(255,255,255,.65); font-size: .88rem; }
.calc-kpis { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.calc-kpis div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: .8rem 1rem; }
.calc-kpis dt { font-size: .82rem; color: rgba(255,255,255,.65); }
.calc-kpis dd { margin: 0; font-size: 1.2rem; font-weight: 800; }
.calc-bars { display: grid; gap: .55rem; }
.calc-bar-title { margin: .4rem 0 0; font-size: .9rem; font-weight: 700; }
.calc-bar { display: flex; gap: 2px; height: 18px; border-radius: 4px; overflow: hidden; background: rgba(255,255,255,.06); }
.calc-bar .seg { min-width: 4px; transition: flex-grow .3s ease; }
.calc-bar .seg:first-child { border-radius: 4px 0 0 4px; }
.calc-bar .seg:last-child { border-radius: 0 4px 4px 0; }
.seg-pv { background: var(--sun-500); }
.seg-akku { background: #C98A00; background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.18) 0 2px, transparent 2px 6px); }
.seg-netz { background: #8C8B84; }
.calc-legend { list-style: none; margin: 0 0 .4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .85rem; color: rgba(255,255,255,.8); }
.calc-legend li { display: flex; align-items: center; gap: .4rem; }
.calc-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.calc-legend b { color: var(--white); }
.calc-disclaimer { margin: 0; font-size: .78rem; line-height: 1.5; color: rgba(255,255,255,.55); }
@media (max-width: 1024px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}

.tool-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.tool-strip a {
  display: grid; gap: .2rem; padding: 1.1rem 1.4rem; border-radius: var(--radius);
  background: var(--navy-800); color: rgba(255,255,255,.75); text-decoration: none !important;
  transition: transform .2s, box-shadow .2s;
}
.tool-strip a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tool-strip strong { color: var(--sun-300); font-size: 1.1rem; }
@media (max-width: 600px) { .tool-strip { grid-template-columns: 1fr; } }
/* Mieterstromrechner */
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.partner-col { background: var(--slate-100); border-radius: var(--radius); padding: 1.5rem 1.6rem; border-top: 3px solid var(--sun-500); }
.partner-col:last-child { border-top-color: var(--navy-800); }
.check-list-1 { grid-template-columns: 1fr; gap: .7rem; }
.check-list-1 li { font-weight: 500; }
@media (max-width: 600px) { .partner-grid { grid-template-columns: 1fr; } }
.model-info { margin: 0; font-size: .92rem; color: var(--slate-500); background: var(--slate-100); border-radius: 10px; padding: .9rem 1.1rem; }
.field-hint.warn { color: #DC2626; font-weight: 700; }
.calc-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: .4rem; }
.calc-table th { text-align: left; font-weight: 400; color: rgba(255,255,255,.75); padding: .35rem 0; }
.calc-table td { text-align: right; font-weight: 700; white-space: nowrap; padding: .35rem 0; font-variant-numeric: tabular-nums; }
.calc-table td.neg { color: rgba(255,255,255,.75); }
.calc-table tr + tr { border-top: 1px solid rgba(255,255,255,.08); }
.calc-table tr.sum { border-top: 2px solid rgba(255,255,255,.3); }
.calc-table tr.sum th, .calc-table tr.sum td { font-weight: 800; color: var(--sun-300); padding-top: .55rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo, .area-map .home .pulse { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards > .card { flex-basis: calc((100% - 1.6rem) / 2); }
  .cards > .card-feature { flex-basis: 100%; }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(18, 18, 17, .98);
    padding: 1rem 4% 1.5rem;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .35s ease, visibility 0s linear .35s;
    z-index: -1;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; transition: transform .35s ease; }
  .main-nav a:not(.btn) { padding: .9rem 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn { margin-top: 1rem; width: 100%; }

  .hero-inner, .split, .card-feature { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-logo { width: 220px; }
  .about-visual { max-width: 360px; }
}

@media (max-width: 600px) {
  .steps, .form-row, .ref-grid { grid-template-columns: 1fr; }
  .cards > .card { flex-basis: 100%; }
  .check-list { grid-template-columns: 1fr; }
  .area-map .places text { font-size: 15px; }
  .area-map .home text { font-size: 19px; }
  .area-map .ring-labels { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
