/* =========================================================================
   Sun Scout GmbH – Designsystem „Sonnenstand“
   Idee: das Gelb aus dem Logo als Sonne, dazu das tiefe Blau-Schwarz von
   Solarmodulen und ein ruhiges Zellraster. Hell, klar, technisch, freundlich.
   Alle Farben, Schriften und Abstände stehen hier oben als Variablen.
   Grundsätze: Bewegung nur über opacity/transform, keine Weichzeichner,
   nichts wird beim Scrollen gemessen, „Bewegung reduzieren“ wird beachtet.
   ========================================================================= */

@font-face {
  font-family: "Jakarta";
  src: url("/fonts/plus-jakarta-sans-variabel.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: optional;
}

:root {
  /* Farben */
  --sonne: #f1c100;          /* Logo-Gelb (aus dem Original gemessen) */
  --sonne-hell: #ffd84a;
  --sonne-glanz: #fff3c2;
  --sonne-dunkel: #8a6400;   /* Gelb als Text auf Hell, Kontrast 5,4:1 zu Weiß */
  --nacht: #0b131c;          /* fast schwarzes Modulglas */
  --modul: #10202f;          /* Blau der Solarzellen */
  --modul-2: #1a3045;
  --modul-hell: #2b4a66;
  --graphit: #5f6368;        /* Logo-Grau */
  --papier: #f6f5f1;
  --papier-2: #ecebe4;
  --weiss: #ffffff;
  --linie: #dedcd3;
  --linie-dunkel: rgba(255, 255, 255, .12);
  --text: #10161d;
  --text-2: #4a5360;
  --text-hell: #e8edf2;
  --text-hell-2: #a9b6c3;
  --gruen: #2f7d4f;
  --mint: #7fe0bd;           /* Speicher-Strom in der Grafik */

  /* Schrift */
  --schrift: "Jakarta", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Maße */
  --breite: 1240px;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --abstand: clamp(4.25rem, 9vw, 8.5rem);
  --rund: 14px;
  --rund-gross: 24px;
  --kopf-h: 64px;
  --schatten: 0 1px 2px rgba(11, 19, 28, .06), 0 10px 30px -12px rgba(11, 19, 28, .22);
  --schatten-gross: 0 30px 80px -30px rgba(11, 19, 28, .45);
  --weich: cubic-bezier(.22, .8, .24, 1);

  /* Zellraster wie auf einem Solarmodul (dunkle Flächen) */
  --zellen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.055'%3E%3Cpath d='M0 .5H44M.5 0V44'/%3E%3Cpath d='M0 22.5H44' stroke-dasharray='2 4'/%3E%3C/g%3E%3C/svg%3E");
  --zellen-hell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='none' stroke='%2310202f' stroke-opacity='.06'%3E%3Cpath d='M0 .5H44M.5 0V44'/%3E%3C/g%3E%3C/svg%3E");
}
@media (min-width: 1180px) { :root { --kopf-h: 76px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body {
  margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; color: var(--text);
  background: var(--papier); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { display: block; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
.karte__bild picture, .seitenkopf__bild picture, .foto picture, .schluss picture, .duo__bild > picture:first-child, .hero__foto picture, .leistung__bild picture { width: 100%; height: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -.015em; line-height: 1.25; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sonne); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sonne-glanz); color: var(--nacht); }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--nacht); color: #fff; padding: .7rem 1rem; border-radius: 10px; }
.sprung:focus { top: 1rem; }
.huelle { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.huelle--schmal { max-width: calc(820px + 2 * var(--rand)); }
.nowrap { white-space: nowrap; }

/* Kleine Überzeile mit Sonnenstrich (Anklang an die Logo-Zeile „Photovoltaik – Energy – Lighting“) */
.marke {
  display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.1rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2);
}
.marke::before { content: ""; width: 26px; height: 4px; background: var(--sonne); border-radius: 4px; }
.dunkel .marke, .marke--hell { color: var(--text-hell-2); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--text-2); max-width: 46rem; }
.dunkel .lead { color: var(--text-hell-2); }
.gelb { color: var(--sonne); }

/* ---------- Knöpfe (gleitende Füllung) ---------- */
.knopf {
  --k-grund: var(--sonne); --k-text: var(--nacht); --k-fuell: var(--nacht); --k-text-h: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.5rem; border: 0; border-radius: 999px;
  background: var(--k-grund); color: var(--k-text); font-weight: 800; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: color .35s var(--weich), box-shadow .35s var(--weich);
  box-shadow: 0 10px 24px -12px rgba(241, 193, 0, .85);
}
.knopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--k-fuell);
  transform: translateX(-101%); transition: transform .45s var(--weich);
}
.knopf:hover::before, .knopf:focus-visible::before { transform: none; }
.knopf:hover, .knopf:focus-visible { color: var(--k-text-h); }
.knopf svg { width: 1.15em; height: 1.15em; flex: none; transition: transform .35s var(--weich); }
.knopf:hover svg.pfeil { transform: translateX(4px); }
.dunkel .knopf:not(.knopf--rand):not(.knopf--hell), .hero .knopf:not(.knopf--rand), .schluss .knopf:not(.knopf--rand), .team .knopf:not(.knopf--rand) { --k-fuell: #fff; --k-text-h: var(--nacht); }
.knopf--hell { --k-grund: #fff; --k-text: var(--nacht); --k-fuell: var(--sonne); --k-text-h: var(--nacht); box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .45); }
.knopf--rand { --k-grund: transparent; --k-text: currentColor; --k-fuell: var(--nacht); --k-text-h: #fff; box-shadow: inset 0 0 0 2px currentColor; }
.dunkel .knopf--rand, .knopf--rand-hell { --k-text: #fff; --k-fuell: #fff; --k-text-h: var(--nacht); box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.knopf--dunkel { --k-grund: var(--nacht); --k-text: #fff; --k-fuell: var(--sonne); --k-text-h: var(--nacht); box-shadow: 0 8px 22px -12px rgba(11, 19, 28, .6); }
.knopf--klein { min-height: 44px; padding: .6rem 1.1rem; font-size: .94rem; }
.knopf--breit { width: 100%; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

.textlink { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--text); text-decoration: none; }
.textlink svg { width: 1.6em; height: 1.6em; padding: .3em; border-radius: 50%; background: var(--sonne); color: var(--nacht); transition: transform .3s var(--weich); flex: none; }
.textlink:hover svg { transform: translateX(4px); }
.dunkel .textlink, .team .textlink { color: #fff; }

/* ---------- Kopfleiste ---------- */
.kopf {
  position: sticky; top: 0; z-index: 90; height: var(--kopf-h);
  background: #fff; border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.kopf.unterwegs { border-color: var(--linie); box-shadow: 0 6px 24px -18px rgba(11, 19, 28, .5); }
.kopf::after { /* Lesefortschritt in Sonnengelb */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--sonne);
  transform-origin: left; transform: scaleX(var(--lauf, 0));
}
.kopf__innen { display: flex; align-items: center; gap: 1rem; height: 100%; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.logo img { width: auto; height: 26px; }
@media (min-width: 400px) { .logo img { height: 29px; } }
@media (min-width: 1180px) { .logo img { height: 34px; } }

.menue { display: none; }
.kopf__aktion { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.kopf__tel {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--nacht); background: var(--papier); text-decoration: none;
}
.kopf__tel svg { width: 20px; height: 20px; }
.kopf__tel-text { display: none; }
.kopf__cta { display: none; white-space: nowrap; }
.kopf__burger {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--nacht); color: #fff; cursor: pointer;
}
.kopf__burger span, .kopf__burger span::before, .kopf__burger span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--weich), opacity .2s;
}
.kopf__burger span::before, .kopf__burger span::after { content: ""; position: absolute; left: 0; }
.kopf__burger span::before { top: -6px; } .kopf__burger span::after { top: 6px; }
.kopf__burger[aria-expanded="true"] span { background: transparent; }
.kopf__burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.kopf__burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 380px) { .kopf__innen { gap: .5rem; } .kopf__aktion { gap: .35rem; } .logo img { height: 23px; } }
@media (min-width: 680px) { .kopf__cta { display: inline-flex; } }

@media (min-width: 1180px) {
  .menue { display: flex; align-items: center; gap: .1rem; list-style: none; margin-left: 1.6rem; }
  .menue > li { position: relative; }
  .menue > li > a {
    display: inline-flex; align-items: center; gap: .35rem; height: var(--kopf-h); padding: 0 .7rem;
    font-weight: 700; font-size: .96rem; text-decoration: none; color: var(--text); position: relative;
  }
  .menue > li > a::after {
    content: ""; position: absolute; left: .7rem; right: .7rem; bottom: 18px; height: 3px; border-radius: 3px; background: var(--sonne);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--weich);
  }
  .menue > li > a:hover::after, .menue > li > a[aria-current="page"]::after, .menue > li.hat-unter:focus-within > a::after { transform: none; }
  .menue .pfeilchen { width: 12px; height: 12px; transition: transform .3s; }
  .menue .hat-unter:hover .pfeilchen, .menue .hat-unter:focus-within .pfeilchen { transform: rotate(180deg); }
  .menue__punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--sonne); animation: puls 2.2s infinite; }
  .unter {
    position: absolute; left: -1rem; top: calc(var(--kopf-h) - 8px); width: 620px; padding: 1rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; list-style: none;
    background: #fff; border-radius: var(--rund-gross); box-shadow: var(--schatten-gross); border: 1px solid var(--linie);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--weich), visibility 0s .3s;
  }
  .hat-unter:hover .unter, .hat-unter:focus-within .unter { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .unter a { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem .8rem; border-radius: 12px; text-decoration: none; transition: background .2s; }
  .unter a:hover, .unter a:focus-visible { background: var(--papier); }
  .unter b { display: block; font-size: .96rem; color: var(--text); }
  .unter small { display: block; font-size: .83rem; color: var(--text-2); line-height: 1.4; }
  .unter__symbol { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--nacht); color: var(--sonne); }
  .unter__symbol svg { width: 20px; height: 20px; }
  .unter__alle { grid-column: 1 / -1; border-top: 1px solid var(--linie); margin-top: .35rem; padding-top: .35rem; }
  .unter__alle a { font-weight: 800; align-items: center; }
  .unter__alle svg { width: 18px; height: 18px; }
  .kopf__burger { display: none; }
  .kopf__tel { width: auto; padding: 0 .9rem 0 .75rem; gap: .5rem; display: inline-flex; border-radius: 999px; font-weight: 800; font-size: .95rem; height: 44px; align-items: center; }
  .kopf__tel-text { display: inline; }
}
@media (min-width: 1180px) and (max-width: 1340px) { .kopf__tel-text { display: none; } .kopf__tel { padding: 0; width: 44px; justify-content: center; } }

/* Mobilmenü */
.mobil {
  position: fixed; inset: var(--kopf-h) 0 0 0; z-index: 85; background: var(--papier);
  overflow-y: auto; overscroll-behavior: contain; padding: 1.2rem var(--rand) 2.5rem;
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .3s var(--weich), visibility 0s .3s;
}
.mobil.offen { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobil ul { list-style: none; }
.mobil > nav > ul > li > a {
  display: flex; align-items: center; justify-content: space-between; padding: .95rem 0; border-bottom: 1px solid var(--linie);
  font-size: 1.3rem; font-weight: 800; text-decoration: none; letter-spacing: -.01em;
}
.mobil a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--sonne); text-decoration-thickness: 4px; text-underline-offset: .3em; }
.mobil__unter { padding: .3rem 0 .6rem .2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem .8rem; border-bottom: 1px solid var(--linie); }
.mobil__unter a { display: block; padding: .55rem 0; font-weight: 600; color: var(--text-2); text-decoration: none; font-size: 1rem; }
.mobil__marke { font-size: .75rem; font-weight: 800; color: var(--nacht); background: var(--sonne); padding: .25rem .55rem; border-radius: 999px; letter-spacing: .04em; }
.mobil__aktion { display: grid; gap: .7rem; margin-top: 1.6rem; }
@media (min-width: 1180px) { .mobil { display: none; } }

@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(241, 193, 0, .7); } 70% { box-shadow: 0 0 0 9px rgba(241, 193, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(241, 193, 0, 0); } }

/* ---------- Kopfbereich Startseite ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(90% 70% at 85% 0%, rgba(241, 193, 0, .16), transparent 60%), var(--zellen), var(--nacht);
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(2.6rem, 6vw, 5.5rem);
}
.hero__bogen { /* Sonnenbahn: Bogen mit Sonne, die beim Laden ein Stück aufsteigt (Handy: oben rechts, Desktop: hinter dem Foto) */
  --start: -10deg; --ende: 31.5deg;
  position: absolute; z-index: -1; width: 700px; aspect-ratio: 1; left: 50%; top: -34px;
  margin-left: -350px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); pointer-events: none;
}
.hero__bogen::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .06); }
.hero__arm { position: absolute; inset: 0; transform: rotate(var(--ende)); }
.hero__scheibe {
  position: absolute; left: 50%; top: 0; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff6c9 0%, var(--sonne-hell) 30%, var(--sonne) 62%, rgba(241, 193, 0, 0) 64%);
  box-shadow: 0 0 0 14px rgba(241, 193, 0, .1), 0 0 0 34px rgba(241, 193, 0, .05);
}
.js .hero__arm { animation: sonnenlauf 2.6s .2s var(--weich) both; }
@keyframes sonnenlauf { from { transform: rotate(var(--start)); } to { transform: rotate(var(--ende)); } }
@media (min-width: 1000px) { .hero__bogen { --start: -34deg; --ende: 9deg; width: 1200px; margin-left: -600px; top: 150px; } .hero__scheibe { width: 84px; height: 84px; margin: -42px 0 0 -42px; } }

.hero__raster { display: grid; gap: 2.2rem; position: relative; }
@media (min-width: 1000px) { .hero__raster { grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; } }
.hero__stelle {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.3rem; padding: .45rem .95rem .45rem .7rem;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; text-decoration: none; font-size: .88rem; font-weight: 600; transition: background .25s;
}
.hero__stelle:hover { background: rgba(255, 255, 255, .15); }
.hero__stelle b { color: var(--sonne-hell); }
@media (max-width: 420px) { .hero__stelle { font-size: .8rem; padding-right: .8rem; } }
.hero__stelle i { width: 9px; height: 9px; border-radius: 50%; background: var(--sonne); animation: puls 2.2s infinite; flex: none; }
.hero__titel { font-size: clamp(2.35rem, 9.4vw, 5.3rem); line-height: 1.01; letter-spacing: -.04em; margin-bottom: 1.3rem; }
.hero__ort { display: block; font-size: max(.82rem, .2em); letter-spacing: .2em; text-transform: uppercase; color: var(--text-hell-2); font-weight: 800; margin-bottom: .9rem; line-height: 1.4; }
.hero__titel .zeile { display: block; }
.hero__titel .zeile--sonne { color: var(--sonne); }
.hero__titel .satzpunkt { margin-left: -.07em; }
.hero__text { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--text-hell); max-width: 34rem; margin-bottom: 1.8rem; }
.hero__vertrauen { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; list-style: none; font-size: .92rem; color: var(--text-hell-2); font-weight: 600; }
.hero__vertrauen li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__vertrauen svg { width: 18px; height: 18px; color: var(--sonne); }
.js .hero .auf { animation: auf .8s var(--weich) both; animation-delay: calc(.15s + var(--v, 0s)); }
@keyframes auf { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero__bild { position: relative; }
.hero__foto { border-radius: var(--rund-gross); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--schatten-gross); background: var(--modul); }
.hero__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
@media (min-width: 1000px) { .hero__foto { aspect-ratio: 4 / 5; max-height: 74svh; margin-left: auto; } .hero__foto img { object-position: 50% 50%; } }
.hero__marke {
  position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem;
  border-radius: 999px; background: rgba(11, 19, 28, .78); color: #fff; font-size: .8rem; font-weight: 700;
}
.hero__marke svg { width: 16px; height: 16px; color: var(--sonne); }
.hero__kurve {
  position: absolute; left: -1rem; right: 1.2rem; bottom: -1.6rem; padding: 1rem 1.1rem .8rem; border-radius: 18px;
  background: #fff; color: var(--text); box-shadow: var(--schatten-gross); text-decoration: none; display: block;
}
@media (min-width: 560px) { .hero__kurve { right: auto; width: 360px; } }
@media (min-width: 1000px) { .hero__kurve { left: -3rem; bottom: 2.4rem; } }
@media (max-width: 999px) { .hero__bild { margin-bottom: 1.6rem; } .hero__kurve { left: .8rem; right: .8rem; } }
.hero__kurve small { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .2rem .8rem; white-space: nowrap; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.hero__kurve small span { display: inline-flex; gap: .7rem; letter-spacing: .04em; text-transform: none; font-weight: 700; }
.hero__kurve small i { display: inline-block; width: 10px; height: 4px; border-radius: 4px; margin-right: .3rem; vertical-align: middle; }
.hero__kurve svg { width: 100%; height: auto; margin-top: .4rem; }
.kurve__erzeugung { fill: rgba(241, 193, 0, .32); stroke: var(--sonne); stroke-width: 2.5; }
.kurve__verbrauch { fill: none; stroke: var(--modul); stroke-width: 2.5; stroke-dasharray: 5 5; }
.kurve__achse { stroke: var(--linie); stroke-width: 1; }
.kurve__zeit { font-size: 10px; fill: var(--text-2); font-family: var(--schrift); font-weight: 600; }
.js .kurve__erzeugung { transform-origin: 50% 100%; transform-box: fill-box; animation: kurveAuf 1.4s 1s var(--weich) both; }
@keyframes kurveAuf { from { transform: scaleY(0); } to { transform: none; } }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: var(--abstand); position: relative; }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--knapp { padding-block: clamp(3rem, 6vw, 5rem); }
.dunkel { background: var(--nacht); color: var(--text-hell); }
.dunkel h2, .dunkel h3 { color: #fff; }
.dunkel--modul { background: var(--modul); }
.zellen { background-image: var(--zellen); }
.zellen-hell { background-image: var(--zellen-hell); }
.kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.2rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.kopfzeile > div { max-width: 46rem; }
.kopfzeile h2 { margin-bottom: .35em; }
.kopfzeile p { margin: 0; }

/* Einblenden */
.js .ein { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--weich), transform .8s var(--weich); transition-delay: var(--v, 0s); }
.js .ein.da { opacity: 1; transform: none; }
.js .ein-liste > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--weich), transform .7s var(--weich); }
.js .ein-liste.da > * { opacity: 1; transform: none; }
.js .ein-liste.da > *:nth-child(2) { transition-delay: .07s; } .js .ein-liste.da > *:nth-child(3) { transition-delay: .14s; }
.js .ein-liste.da > *:nth-child(4) { transition-delay: .21s; } .js .ein-liste.da > *:nth-child(5) { transition-delay: .28s; }
.js .ein-liste.da > *:nth-child(6) { transition-delay: .35s; } .js .ein-liste.da > *:nth-child(n+7) { transition-delay: .42s; }

/* ---------- Laufband (Partner, Zertifikate) ---------- */
.laufband { overflow: hidden; border-block: 1px solid var(--linie); background: #fff; padding-block: 1.05rem; }
.laufband__spur { display: flex; width: max-content; gap: 2.6rem; padding-left: 2.6rem; }
.laufband.laeuft .laufband__spur { animation: laufen 46s linear infinite; }
.laufband span { display: inline-flex; align-items: center; gap: 2.6rem; font-weight: 800; font-size: clamp(1rem, 1.7vw, 1.25rem); letter-spacing: -.01em; color: var(--text); white-space: nowrap; }
.laufband span small { font-weight: 600; color: var(--text-2); font-size: .82em; margin-left: .4em; }
.laufband span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sonne); }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Leistungen (Kacheln) ---------- */
.leistungen { display: grid; gap: .8rem; list-style: none; grid-template-columns: 1fr; }
@media (min-width: 640px) { .leistungen { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (min-width: 1020px) { .leistungen { grid-template-columns: repeat(4, 1fr); } .leistungen > li.gross { grid-column: span 2; grid-row: span 2; } }
.leistung {
  position: relative; display: flex; flex-direction: column; gap: .8rem; height: 100%; padding: 1.3rem 1.3rem 1.25rem;
  border-radius: var(--rund-gross); background: #fff; border: 1px solid var(--linie); text-decoration: none; overflow: hidden;
  transition: transform .45s var(--weich), box-shadow .45s var(--weich), border-color .3s;
}
.leistung:hover { transform: translateY(-4px); box-shadow: var(--schatten-gross); border-color: transparent; }
.leistung__symbol { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--nacht); color: var(--sonne); transition: transform .45s var(--weich); }
.leistung:hover .leistung__symbol { transform: rotate(-8deg) scale(1.06); }
.leistung__symbol svg { width: 26px; height: 26px; }
.leistung h3 { margin: 0; font-size: 1.18rem; }
.leistung p { margin: 0; color: var(--text-2); font-size: .96rem; line-height: 1.55; }
.leistung .textlink { margin-top: auto; font-size: .94rem; padding-top: .3rem; }
@media (max-width: 639px) {
  .leistung:not(.leistung--gross) { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: center; padding: 1rem 1.1rem; }
  .leistung:not(.leistung--gross) .leistung__symbol { grid-row: span 2; width: 46px; height: 46px; }
  .leistung:not(.leistung--gross) .textlink { display: none; }
  .leistung:not(.leistung--gross) p { font-size: .9rem; }
}
.leistung--gross { padding: 0; background: var(--nacht); color: #fff; border: 0; min-height: 360px; justify-content: flex-end; }
.leistung--gross .leistung__bild { position: absolute; inset: 0; }
.leistung--gross .leistung__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--weich); }
.leistung--gross:hover .leistung__bild img { transform: scale(1.04); }
.leistung--gross::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11, 19, 28, .05) 20%, rgba(11, 19, 28, .88) 85%); }
.leistung--gross .leistung__text { position: relative; z-index: 2; padding: 1.6rem; display: grid; gap: .7rem; }
.leistung--gross h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: #fff; }
.leistung--gross p { color: var(--text-hell); font-size: 1rem; max-width: 30rem; }
.leistung--gross .textlink { color: #fff; }
.leistung--gross .leistung__symbol { background: var(--sonne); color: var(--nacht); }
.leistung--frage { background: var(--sonne); border-color: var(--sonne); }
.leistung--frage p { color: var(--nacht); }
.leistung--frage .leistung__symbol { background: var(--nacht); }
.leistung--frage .textlink svg { background: var(--nacht); color: var(--sonne); }

/* ---------- Ein Tag mit Ihrer Solaranlage (bewegter Abschnitt) ---------- */
.tag { background: var(--modul); color: var(--text-hell); background-image: var(--zellen); }
.tag .marke { color: var(--text-hell-2); }
.tag .lead { color: var(--text-hell-2); }
/* Bühne mit Knöpfen: links die Zeichnung, rechts Tageszeiten, Text und Pfeile */
.tag__karte { display: grid; border: 1px solid var(--linie-dunkel); border-radius: var(--rund-gross); overflow: hidden; background: var(--nacht); box-shadow: var(--schatten-gross); }
.tag__buehne { position: relative; background: #9fcdf0; }
.tag__svg { width: 100%; height: auto; }
@media (min-width: 980px) {
  .tag__karte { grid-template-columns: 1.4fr 1fr; }
  .tag__buehne { display: flex; min-height: 470px; }
  .tag__svg { width: 100%; height: 100%; }
}
.tag__chip {
  position: absolute; left: .9rem; top: .9rem; z-index: 1; display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem .4rem .6rem; border-radius: 999px; background: rgba(11, 19, 28, .82); border: 1px solid rgba(241, 193, 0, .55);
  color: #fff; font-size: .85rem; font-weight: 800;
}
.tag__chip svg { width: 18px; height: 18px; color: var(--sonne); }
.tag__panel { display: flex; flex-direction: column; gap: 1.3rem; padding: clamp(1.2rem, 3vw, 2.2rem); }
.tag__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.tag__tab {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: .4rem; min-height: 76px;
  padding: .7rem .3rem .65rem; border-radius: 14px; border: 1px solid var(--linie-dunkel); background: rgba(255, 255, 255, .04);
  color: var(--text-hell-2); font-weight: 700; font-size: .82rem; line-height: 1.15; text-align: center; cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
.tag__tab:hover { border-color: rgba(241, 193, 0, .45); color: #fff; }
.tag__symbol { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .09); color: #fff; transition: background .25s, color .25s; }
.tag__symbol svg { width: 18px; height: 18px; }
.tag__tab[aria-selected="true"] { background: rgba(241, 193, 0, .12); border-color: var(--sonne); color: #fff; }
.tag__tab[aria-selected="true"] .tag__symbol { background: var(--sonne); color: var(--nacht); }
.tag__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sonne); transform-origin: left; transform: scaleX(0); }
.tag.laeuft .tag__tab[aria-selected="true"]::after { animation: tagLauf var(--tag-takt, 4.2s) linear forwards; }
@keyframes tagLauf { to { transform: scaleX(1); } }
.tag__texte { display: grid; } /* alle Texte liegen übereinander: die Karte ist immer so hoch wie der längste, nichts springt */
.tag__text { grid-area: 1 / 1; }
.tag__texte > .tag__text[hidden] { display: block !important; visibility: hidden; }
.tag__text small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sonne); margin-bottom: .45rem; }
.tag__text h3 { font-size: clamp(1.35rem, 2.3vw, 1.75rem); margin-bottom: .55rem; color: #fff; }
.tag__text p { margin: 0 0 1rem; color: var(--text-hell-2); }
.js .tag__text:not([hidden]) { animation: schrittEin .45s var(--weich) both; }
.tag__links { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; }
.tag__links a { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: .86rem; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.tag__links a:hover { background: var(--sonne); color: var(--nacht); }
.tag__links svg { width: 15px; height: 15px; }
.tag__nav { display: flex; align-items: center; gap: .6rem; margin-top: auto; flex-wrap: wrap; }
.tag__pfeil {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 48px; height: 48px; padding: 0 .9rem;
  border-radius: 999px; border: 1px solid var(--linie-dunkel); background: rgba(255, 255, 255, .05); color: #fff; font-weight: 800; cursor: pointer; transition: background .2s, border-color .2s;
}
.tag__pfeil svg { width: 20px; height: 20px; }
.tag__pfeil:hover { border-color: var(--sonne); }
.tag__vor { background: var(--sonne); border-color: var(--sonne); color: var(--nacht); padding: 0 1rem 0 1.2rem; }
.tag__vor:hover { background: var(--sonne-hell); }
.tag__pfeil:disabled { opacity: .35; cursor: default; }
.tag .textlink { color: #fff; }
.tag__link { margin-left: auto; }
@media (max-width: 420px) { .tag__tab { font-size: .74rem; min-height: 70px; } .tag__link { margin-left: 0; width: 100%; } }
@media (max-width: 359px) {
  .tag__tabs { grid-template-columns: 1fr 1fr; }
  .tag__tab { flex-direction: row; justify-content: flex-start; min-height: 50px; padding: .5rem .6rem; text-align: left; }
}
/* Grafik: was in welcher Tageszeit zu sehen ist */
.tag .t { transition: opacity .9s var(--weich), transform 1.1s var(--weich); }
.tag .himmel-2, .tag .himmel-3, .tag .himmel-4, .tag .sterne, .tag .mond, .tag .schleier, .tag .fenster-licht { opacity: 0; }
.tag .fluss { opacity: 0; transition: opacity .6s var(--weich); }
.tag .fluss path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 9; }
.tag .fluss--sonne path { stroke: var(--sonne); }
.tag .fluss--speicher path { stroke: var(--mint); }
.tag .fluss--netz path { stroke: #c8d2dc; }
.tag.sichtbar .fluss path { animation: fliessen 1.1s linear infinite; }
@keyframes fliessen { to { stroke-dashoffset: -22; } }
.tag .sonne { transform: translate(92px, 218px); }
.tag .modul-glanz { opacity: .15; }
.tag .ladung { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(.3); transition: transform 1.2s var(--weich); }
.tag .ventilator { transform-box: fill-box; transform-origin: center; }
.tag .ventilator.dreht { animation: drehen 1.6s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.tag .auto-ladung { opacity: 0; transition: opacity .6s; }
/* Morgens */
.tag[data-stufe="1"] .f-haus, .tag[data-stufe="0"] .f-haus { opacity: .8; }
/* Mittags */
.tag[data-stufe="2"] .himmel-2 { opacity: 1; }
.tag[data-stufe="2"] .sonne { transform: translate(300px, 62px); }
.tag[data-stufe="2"] .modul-glanz { opacity: .55; }
.tag[data-stufe="2"] .f-haus, .tag[data-stufe="2"] .f-speicher, .tag[data-stufe="2"] .f-auto, .tag[data-stufe="2"] .f-wp, .tag[data-stufe="2"] .f-netz { opacity: 1; }
.tag[data-stufe="2"] .ladung { transform: scaleY(.96); }
.tag[data-stufe="2"] .auto-ladung { opacity: 1; }
/* Abends */
.tag[data-stufe="3"] .himmel-3 { opacity: 1; }
.tag[data-stufe="3"] .sonne { transform: translate(548px, 246px); }
.tag[data-stufe="3"] .schleier { opacity: .3; }
.tag[data-stufe="3"] .fenster-licht { opacity: 1; }
.tag[data-stufe="3"] .f-entladen { opacity: 1; }
.tag[data-stufe="3"] .ladung { transform: scaleY(.62); }
/* Nachts */
.tag[data-stufe="4"] .himmel-4, .tag[data-stufe="4"] .sterne, .tag[data-stufe="4"] .mond, .tag[data-stufe="4"] .fenster-licht { opacity: 1; }
.tag[data-stufe="4"] .sonne { transform: translate(560px, 330px); opacity: 0; }
.tag[data-stufe="4"] .schleier { opacity: .5; }
.tag[data-stufe="4"] .modul-glanz { opacity: 0; }
.tag[data-stufe="4"] .f-entladen { opacity: 1; }
.tag[data-stufe="4"] .ladung { transform: scaleY(.28); }
.tag__beschriftung text { font-family: var(--schrift); font-size: 11px; font-weight: 800; letter-spacing: .04em; fill: #fff; }
.tag__beschriftung rect { fill: rgba(11, 19, 28, .78); }

/* ---------- Bild + Text ---------- */
.duo { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } .duo--umgekehrt > :first-child { order: 2; } }
.duo__bild { position: relative; margin: 0; }
.duo__bild > picture, .duo__bild > img { border-radius: var(--rund-gross); overflow: hidden; box-shadow: var(--schatten-gross); }
.duo__bild img { width: 100%; height: 100%; object-fit: cover; }
.duo__klein { position: absolute; width: 44%; right: -3%; bottom: -8%; border-radius: var(--rund) !important; border: 6px solid var(--papier); box-shadow: var(--schatten-gross); overflow: hidden; }
.abschnitt--weiss .duo__klein { border-color: #fff; }
.dunkel .duo__klein { border-color: var(--nacht); }
.duo__bild figcaption { margin-top: .8rem; font-size: .86rem; color: var(--text-2); }
.dunkel .duo__bild figcaption { color: var(--text-hell-2); }
.duo__produkt { background: #fff; border-radius: var(--rund-gross); border: 1px solid var(--linie); padding: clamp(1.5rem, 4vw, 3rem); display: grid; place-items: center; }
.duo__produkt img { max-height: 420px; width: auto; }
.haken { list-style: none; display: grid; gap: .75rem; margin: 1.4rem 0 1.8rem; }
.haken li { display: flex; gap: .75rem; align-items: flex-start; }
.haken li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: .18em; border-radius: 50%; background: var(--sonne) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b131c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Zielgruppen ---------- */
.gruppen { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 900px) { .gruppen { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.gruppe { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); overflow: hidden; }
.gruppe__bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--modul); }
.gruppe__bild img { width: 100%; height: 100%; object-fit: cover; }
.gruppe__text { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.gruppe__text small { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sonne-dunkel); }
.gruppe__text h3 { margin: .35rem 0 .5rem; }
.gruppe__text p { color: var(--text-2); font-size: .98rem; }
.gruppe .haken { margin: .2rem 0 1.4rem; font-size: .95rem; gap: .55rem; }
.gruppe .textlink { margin-top: auto; }

/* ---------- Vorteile ---------- */
.vorteile-raster { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 700px) { .vorteile-raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .vorteile-raster { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.vorteil { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 1.5rem; }
.vorteil__symbol { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sonne); color: var(--nacht); margin-bottom: 1rem; }
.vorteil__symbol svg { width: 24px; height: 24px; }
.vorteil h3 { margin-bottom: .4rem; }
.vorteil p { color: var(--text-2); margin: 0; font-size: .98rem; }
.abschnitt--weiss .vorteil, .abschnitt--weiss .punkt { background: var(--papier); border-color: transparent; }

/* ---------- Zahlen ---------- */
.zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--linie); border-radius: var(--rund-gross); overflow: hidden; border: 1px solid var(--linie); list-style: none; }
@media (min-width: 900px) { .zahlen { grid-template-columns: repeat(4, 1fr); } }
.zahlen li { background: #fff; padding: clamp(1.3rem, 3vw, 2.2rem); }
.zahlen b { display: block; font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--text); }
.zahlen b em { font-style: normal; color: var(--sonne-dunkel); }
.zahlen span { display: block; margin-top: .5rem; color: var(--text-2); font-size: .95rem; font-weight: 600; }

/* ---------- Ablauf ---------- */
.ablauf { list-style: none; display: grid; gap: 1rem; counter-reset: a; }
@media (min-width: 700px) { .ablauf { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .ablauf { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } .ablauf--vier { grid-template-columns: repeat(4, 1fr); } }
.ablauf li { counter-increment: a; position: relative; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--rund-gross); background: rgba(255, 255, 255, .05); border: 1px solid var(--linie-dunkel); }
.ablauf li::before { content: "0" counter(a); display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-size: 1.05rem; font-weight: 800; color: var(--nacht); background: var(--sonne); margin-bottom: 1rem; }
.ablauf h3 { margin-bottom: .4rem; }
.ablauf p { margin: 0; color: var(--text-hell-2); font-size: .98rem; }
.abschnitt:not(.dunkel) .ablauf li { background: #fff; border-color: var(--linie); }
.abschnitt:not(.dunkel) .ablauf p { color: var(--text-2); }
.abschnitt--weiss .ablauf li { background: var(--papier); border-color: transparent; }

/* ---------- Punkte (Leistungsseiten) ---------- */
.punkte { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 700px) { .punkte { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .punkte--drei { grid-template-columns: repeat(3, 1fr); } }
.punkt { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 1.5rem; }
.punkt__symbol { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--nacht); color: var(--sonne); margin-bottom: 1rem; }
.punkt__symbol svg { width: 24px; height: 24px; }
.punkt h3 { margin-bottom: .4rem; }
.punkt p { color: var(--text-2); margin: 0; font-size: .98rem; }
.punkt ul { color: var(--text-2); font-size: .96rem; padding-left: 1.1rem; margin-top: .6rem; display: grid; gap: .3rem; }

/* Gründe (nummerierte Liste) */
.gruende { list-style: none; counter-reset: g; display: grid; gap: 0; border-top: 1px solid var(--linie); }
@media (min-width: 800px) { .gruende { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.gruende li { counter-increment: g; display: flex; gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--linie); font-weight: 600; }
.gruende li::before { content: counter(g, decimal-leading-zero); flex: none; font-weight: 800; font-size: .85rem; letter-spacing: .08em; color: var(--sonne-dunkel); min-width: 2.2rem; }
.dunkel .gruende, .dunkel .gruende li { border-color: var(--linie-dunkel); }
.dunkel .gruende li::before { color: var(--sonne); }

/* Weitere Leistungen */
.weitere { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.weitere a { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--linie); text-decoration: none; font-weight: 700; font-size: .95rem; transition: border-color .2s, background .2s; }
.weitere a:hover { border-color: var(--sonne); background: var(--sonne-glanz); }
.weitere svg { width: 18px; height: 18px; }

/* Fragen */
.fragen { display: grid; gap: .7rem; }
.frage { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; }
.frage summary { list-style: none; cursor: pointer; padding: 1.15rem 1.3rem; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sonne); color: var(--nacht); font-weight: 800; font-size: 1.2rem; transition: transform .3s; }
.frage[open] summary::after { transform: rotate(45deg); }
.frage div { padding: 0 1.3rem 1.2rem; color: var(--text-2); }
.frage div p:last-child { margin: 0; }

/* Aufruf-Band */
.aufruf { border-radius: var(--rund-gross); background: var(--nacht) var(--zellen); color: #fff; padding: clamp(1.8rem, 4vw, 3rem); display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
.aufruf::after { content: ""; position: absolute; width: 340px; height: 340px; right: -120px; top: -170px; border-radius: 50%; background: radial-gradient(circle, rgba(241, 193, 0, .35), transparent 65%); pointer-events: none; }
@media (min-width: 900px) { .aufruf { grid-template-columns: 1fr auto; } }
.aufruf > * { position: relative; z-index: 1; }
.aufruf h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin-bottom: .3em; }
.aufruf p { margin: 0; color: var(--text-hell); }
.aufruf .marke { color: var(--text-hell-2); }
.aufruf--sonne { background: var(--sonne); color: var(--nacht); }
.aufruf--sonne::after { background: radial-gradient(circle, rgba(255, 255, 255, .5), transparent 65%); }
.aufruf--sonne h2 { color: var(--nacht); }
.aufruf--sonne p { color: var(--nacht); }
.aufruf--sonne .marke { color: var(--nacht); }
.aufruf--sonne .marke::before { background: var(--nacht); }

/* ---------- Anfrage-Einstieg ---------- */
.einstieg { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; list-style: none; }
@media (min-width: 900px) { .einstieg { grid-template-columns: repeat(4, 1fr); gap: .9rem; } }
.einstieg a {
  display: flex; flex-direction: column; gap: .7rem; height: 100%; padding: 1.15rem 1.1rem; border-radius: 16px; background: var(--papier); border: 1.5px solid transparent;
  text-decoration: none; font-weight: 800; line-height: 1.3; transition: border-color .2s, transform .3s var(--weich), box-shadow .3s, background .2s;
}
.einstieg a:hover { border-color: var(--sonne); background: #fff; transform: translateY(-3px); box-shadow: var(--schatten); }
.einstieg svg { width: 30px; height: 30px; color: var(--nacht); }
.einstieg small { font-weight: 500; color: var(--text-2); font-size: .86rem; }

/* ---------- Galerie / Referenzen ---------- */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filter button { border: 1.5px solid var(--linie); background: #fff; border-radius: 999px; padding: .55rem 1.1rem; font-weight: 700; cursor: pointer; min-height: 44px; transition: all .2s; }
.filter button[aria-pressed="true"] { background: var(--nacht); color: #fff; border-color: var(--nacht); }
.galerie { display: grid; gap: .8rem; grid-template-columns: 1fr; list-style: none; }
@media (min-width: 640px) { .galerie { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .galerie { grid-template-columns: repeat(3, 1fr); gap: 1rem; } .galerie--gross > li:first-child { grid-column: span 2; grid-row: span 2; } }
.galerie li[hidden] { display: none; }
.foto { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--rund); overflow: hidden; cursor: zoom-in; background: var(--modul); aspect-ratio: 4 / 3; text-align: left; }
.galerie--gross > li:first-child .foto { aspect-ratio: auto; min-height: 100%; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--weich); }
.foto:hover img { transform: scale(1.04); }
.foto > span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.4rem 1rem .9rem; color: #fff; font-weight: 800; font-size: 1rem; background: linear-gradient(0deg, rgba(11, 19, 28, .88), transparent); display: flex; justify-content: space-between; align-items: flex-end; gap: .6rem; }
.foto small { display: block; font-weight: 500; font-size: .8rem; color: var(--text-hell-2); }
.foto .kwp { flex: none; background: var(--sonne); color: var(--nacht); font-size: .8rem; font-weight: 800; padding: .3rem .6rem; border-radius: 999px; }
dialog.gross { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
dialog.gross::backdrop { background: rgba(6, 10, 15, .92); }
dialog.gross img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 12px; }
dialog.gross p { color: #fff; text-align: center; margin: .8rem 0 0; font-weight: 600; }
dialog.gross button { position: fixed; border: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.gross__zu { top: 1rem; right: 1rem; } .gross__zurueck { left: 1rem; top: 50%; } .gross__vor { right: 1rem; top: 50%; }

/* ---------- Team, Chronik, Partner (Über uns) ---------- */
.team-raster { display: grid; gap: .9rem; list-style: none; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .team-raster { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; } }
.person { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund-gross); padding: 1.3rem; height: 100%; display: flex; flex-direction: column; gap: .2rem; }
.person__zeichen { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--nacht); color: var(--sonne); font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; margin-bottom: .8rem; }
.person b { font-size: 1.06rem; line-height: 1.3; }
.person span { color: var(--text-2); font-size: .9rem; line-height: 1.4; }
.person--offen { background: var(--sonne); border-color: var(--sonne); text-decoration: none; transition: transform .3s var(--weich), box-shadow .3s; }
.person--offen:hover { transform: translateY(-3px); box-shadow: var(--schatten-gross); }
.person--offen .person__zeichen { background: #fff; color: var(--nacht); font-size: 1.6rem; }
.person--offen span { color: var(--nacht); }
.chronik { list-style: none; position: relative; display: grid; gap: 0; }
.chronik li { position: relative; padding: 0 0 1.6rem 2.6rem; }
.chronik li::before { content: ""; position: absolute; left: 9px; top: 1.6rem; bottom: 0; width: 2px; background: var(--linie-dunkel); }
.chronik li:last-child::before { display: none; }
.chronik li::after { content: ""; position: absolute; left: 0; top: .35rem; width: 20px; height: 20px; border-radius: 50%; background: var(--nacht); border: 4px solid var(--sonne); }
.chronik time { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sonne); }
.chronik b { display: block; color: #fff; font-size: 1.1rem; margin: .15rem 0 .2rem; }
.chronik span { color: var(--text-hell-2); font-size: .96rem; }
@media (min-width: 900px) { .chronik { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.partner { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; }
.partner li { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--linie); font-weight: 700; font-size: .95rem; }
.partner svg { width: 18px; height: 18px; color: var(--sonne-dunkel); }

/* ---------- Karriere ---------- */
.team { background: var(--modul) var(--zellen); color: var(--text-hell); overflow: hidden; }
.team::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -25vw; border-radius: 50%; background: radial-gradient(circle, rgba(241, 193, 0, .16), transparent 65%); pointer-events: none; }
.team h2, .team h3 { color: #fff; }
.team .marke, .team .lead { color: var(--text-hell-2); }
.team__raster { display: grid; gap: 2.5rem; position: relative; }
@media (min-width: 1000px) { .team__raster { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; align-items: start; } .team__text { position: sticky; top: calc(var(--kopf-h) + 2rem); } }
.vorteile { list-style: none; display: grid; gap: .9rem; margin: 1.6rem 0 2rem; }
.vorteile li { display: flex; gap: .9rem; align-items: flex-start; }
.vorteile svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--sonne); }
.vorteile b { display: block; color: #fff; }
.vorteile span { color: var(--text-hell-2); font-size: .96rem; }
.stelle-fakten { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--linie-dunkel); border-radius: var(--rund); overflow: hidden; list-style: none; margin: 1.4rem 0; }
.stelle-fakten li { background: rgba(11, 19, 28, .55); padding: .9rem 1rem; }
.stelle-fakten small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-hell-2); }
.stelle-fakten b { color: #fff; font-size: 1rem; }
.stellen-text h3 { margin: 1.6rem 0 .5rem; }

/* ---------- Assistenten ---------- */
.assi {
  background: #fff; color: var(--text); border-radius: var(--rund-gross); box-shadow: var(--schatten-gross);
  padding: clamp(1.3rem, 3vw, 2.2rem); position: relative;
}
.assi--rand { box-shadow: none; border: 1px solid var(--linie); }
.assi__kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.assi__titel { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; display: flex; align-items: center; gap: .5rem; }
.assi__titel svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--sonne); color: var(--nacht); }
.assi__zaehl { font-size: .85rem; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.assi__balken { height: 6px; border-radius: 6px; background: var(--papier-2); overflow: hidden; margin-bottom: 1.5rem; }
.assi__balken i { display: block; height: 100%; background: linear-gradient(90deg, var(--sonne), var(--sonne-hell)); transform-origin: left; transform: scaleX(.2); transition: transform .5s var(--weich); }
.assi fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.assi fieldset.dran { animation: schrittEin .45s var(--weich) both; }
@keyframes schrittEin { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.assi legend { font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-bottom: .35rem; padding: 0; }
.assi__hinweis { color: var(--text-2); font-size: .95rem; margin: 0 0 1.1rem; }
.kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }
.kacheln > * { min-width: 0; }
.kacheln--eins { grid-template-columns: 1fr; }
@media (min-width: 560px) { .kacheln--drei { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .kacheln--vier { grid-template-columns: repeat(4, 1fr); } }
.kachel { position: relative; display: block; cursor: pointer; }
.kachel input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.kachel span {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: .55rem; min-height: 64px; height: 100%;
  padding: .9rem 1rem; border-radius: 14px; border: 1.5px solid var(--linie); background: var(--papier);
  font-weight: 700; font-size: .98rem; line-height: 1.25; transition: border-color .2s, background .2s, box-shadow .2s;
  hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word;
}
.kachel span small { font-weight: 500; font-size: .84rem; color: var(--text-2); }
.kachel svg { width: 26px; height: 26px; color: var(--nacht); }
.kachel:hover span { border-color: var(--sonne); background: #fff; }
.kachel input:focus-visible + span { outline: 3px solid var(--sonne); outline-offset: 2px; }
.kachel input:checked + span { border-color: var(--nacht); background: var(--sonne-glanz); box-shadow: 0 0 0 3px rgba(241, 193, 0, .35); }
.kachel--zeile span { flex-direction: row; align-items: center; min-height: 56px; }
.feld { display: grid; gap: .35rem; margin-top: .9rem; }
.feld label { font-weight: 700; font-size: .92rem; }
.feld label small { font-weight: 500; color: var(--text-2); }
.feld input, .feld textarea, .feld select {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--linie); background: var(--papier); font-size: 1rem;
  transition: border-color .2s, background .2s;
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--nacht); background: #fff; }
.feld input[type="file"] { padding: .7rem; background: #fff; border-style: dashed; }
.felder2 { display: grid; gap: 0 .8rem; }
@media (min-width: 560px) { .felder2 { grid-template-columns: 1fr 1fr; } .felder2--plz { grid-template-columns: 9rem 1fr; } }
.zustimmung { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; font-size: .88rem; color: var(--text-2); line-height: 1.5; }
.zustimmung input { width: 22px; height: 22px; margin-top: .1rem; flex: none; accent-color: var(--nacht); }
.assi__fuss { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: 1.4rem; }
.assi__zurueck { border: 0; background: none; color: var(--text-2); font-weight: 700; cursor: pointer; padding: .7rem .2rem; display: inline-flex; gap: .4rem; align-items: center; }
.assi__zurueck svg { width: 18px; height: 18px; }
.assi__fuss .knopf { margin-left: auto; }
.assi__fehler { margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; background: #fdecea; color: #8a1c12; font-size: .93rem; }
.assi__sicher { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.1rem; font-size: .82rem; color: var(--text-2); list-style: none; }
.assi__sicher li { display: inline-flex; align-items: center; gap: .35rem; }
.assi__sicher svg { width: 15px; height: 15px; color: var(--gruen); }
.assi__danke { text-align: center; padding: 1.5rem .5rem; }
.assi__danke-symbol { width: 72px; height: 72px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--sonne); color: var(--nacht); animation: plopp .6s var(--weich) both; }
.assi__danke-symbol svg { width: 36px; height: 36px; }
.assi__danke h3 { font-size: 1.5rem; }
.assi__danke p { color: var(--text-2); }
@keyframes plopp { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 420px) {
  .assi { padding: 1.15rem 1rem 1.3rem; }
  .kachel span { padding: .8rem .75rem; font-size: .93rem; }
  .assi__titel { font-size: .98rem; }
}

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf { position: relative; isolation: isolate; background: radial-gradient(80% 90% at 100% 0%, rgba(241, 193, 0, .14), transparent 60%), var(--zellen), var(--nacht); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.seitenkopf__raster { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 980px) { .seitenkopf__raster { grid-template-columns: 1.15fr .85fr; gap: 4rem; } }
.seitenkopf h1 { color: #fff; font-size: clamp(2.1rem, 5.4vw, 4rem); }
.seitenkopf h1 em { font-style: normal; color: var(--sonne); }
.seitenkopf .lead { color: var(--text-hell); }
.seitenkopf .marke { color: var(--text-hell-2); }
.seitenkopf__bild { border-radius: var(--rund-gross); overflow: hidden; box-shadow: var(--schatten-gross); aspect-ratio: 4 / 3; background: var(--modul); }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; }
.seitenkopf__bild--produkt { background: #fff; position: relative; }
.seitenkopf__bild--produkt picture { position: absolute; inset: 1.5rem; width: auto !important; height: auto !important; }
.seitenkopf__bild--produkt img { object-fit: contain; }
.seitenkopf__symbol { aspect-ratio: 4 / 3; border-radius: var(--rund-gross); display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(241, 193, 0, .28), transparent 62%), var(--modul); border: 1px solid var(--linie-dunkel); color: var(--sonne); }
.seitenkopf__symbol svg { width: 34%; height: auto; }
.js .seitenkopf .auf { animation: auf .8s var(--weich) both; animation-delay: var(--v, .05s); }
.kruemel { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; font-size: .86rem; color: var(--text-hell-2); margin-bottom: 1.4rem; }
.kruemel li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.kruemel a { color: var(--text-hell-2); text-decoration: none; display: inline-block; padding: .3rem 0; }
.kruemel a:hover { color: #fff; }
.kruemel li[aria-current] { padding: .3rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 1.6rem; }
.chips li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; font-weight: 600; }
.chips svg { width: 16px; height: 16px; color: var(--sonne); }

/* ---------- Kontakt ---------- */
.kontaktkarten { display: grid; gap: .8rem; list-style: none; }
.kontaktkarte { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); text-decoration: none; transition: border-color .2s; }
a.kontaktkarte:hover { border-color: var(--sonne); }
.kontaktkarte svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--nacht); color: var(--sonne); }
.kontaktkarte small { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.kontaktkarte b { font-size: 1.08rem; }
.kontaktkarte span { display: block; color: var(--text-2); font-size: .95rem; }

/* ---------- Rechtstexte ---------- */
.recht { background: #fff; border-radius: var(--rund-gross); border: 1px solid var(--linie); padding: clamp(1.5rem, 4vw, 3rem); }
.recht h2 { font-size: 1.35rem; margin: 2rem 0 .6rem; letter-spacing: -.01em; }
.recht h2:first-child { margin-top: 0; }
.recht h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.recht ul { padding-left: 1.2rem; margin-bottom: 1em; }
.recht a { color: var(--text); text-decoration-color: var(--sonne); text-decoration-thickness: 2px; }
.offen { background: #fff3c4; padding: .05em .3em; border-radius: 4px; }
.hinweis-entwurf { background: #fff8dc; border: 1px solid #f1dc8a; border-radius: var(--rund); padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: .95rem; }

/* ---------- Schluss ---------- */
.schluss { position: relative; isolation: isolate; padding-block: clamp(4.5rem, 10vw, 8rem); color: #fff; text-align: center; overflow: hidden; background: var(--nacht); }
.schluss picture { position: absolute; inset: 0; z-index: -2; }
.schluss picture img { width: 100%; height: 100%; object-fit: cover; }
.schluss::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 19, 28, .78), rgba(16, 32, 47, .92)); }
.schluss h2 { color: #fff; max-width: 18em; margin-inline: auto; }
.schluss p { color: var(--text-hell); max-width: 38rem; margin: 0 auto 2rem; }
.schluss .marke { color: var(--text-hell-2); }
.schluss .knoepfe { justify-content: center; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--nacht); color: var(--text-hell-2); padding: clamp(3.5rem, 7vw, 5.5rem) 0 6.5rem; font-size: .96rem; }
.fuss .logo img { height: 34px; }
.fuss__raster { display: grid; gap: 2.2rem; }
@media (min-width: 760px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fuss__raster { grid-template-columns: 1.35fr .9fr .9fr 1.1fr; gap: 3rem; } .fuss { padding-bottom: 2.5rem; } }
.fuss h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; }
.fuss ul { list-style: none; display: grid; gap: .1rem; }
.fuss li a { display: inline-block; padding: .3rem 0; text-decoration: none; color: var(--text-hell-2); transition: color .2s; }
.fuss li a:hover, .fuss li a[aria-current="page"] { color: #fff; }
.fuss__raster > div:first-child p { margin: 1.2rem 0 1.2rem; max-width: 26rem; }
.fuss__zeiten { font-size: .9rem; }
.sozial { display: flex; gap: .6rem; flex-wrap: wrap; }
.sozial a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, color .2s; }
.sozial a:hover { background: var(--sonne); color: var(--nacht); }
.sozial svg { width: 20px; height: 20px; }
.fuss__unten { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--linie-dunkel); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; font-size: .9rem; }
.fuss__recht a { color: var(--text-hell-2); text-decoration: none; padding: .35rem 0; }
.fuss__recht a:hover { color: #fff; }

/* Feste Leiste unten (Handy) */
.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: grid; grid-template-columns: auto 1fr; gap: .6rem;
  padding: .65rem var(--rand) calc(.65rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linie);
  box-shadow: 0 -10px 30px -18px rgba(11, 19, 28, .45); transform: translateY(110%); transition: transform .4s var(--weich);
}
.leiste.sichtbar { transform: none; }
.leiste .knopf { min-height: 48px; }
.leiste .knopf--hell { box-shadow: inset 0 0 0 1.5px var(--linie); }
@media (min-width: 1100px) { .leiste { display: none; } }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* ---------- Ergänzungen ---------- */
.duo__produkt > svg { width: min(240px, 55%); height: auto; color: var(--nacht); }
.duo__produkt .kurve__zeit { font-size: 9px; }
.recht .offen { display: inline; }
@media (max-width: 559px) { .tag__beschriftung { display: none; } }
.person .person__zeichen { color: var(--sonne); font-size: 1.15rem; font-weight: 800; line-height: 1; }
.person--offen .person__zeichen { color: var(--nacht); font-size: 1.6rem; }
