/* ==========================================================================
   Bohse Haustechnik, gemeinsame Gestaltung aller Seiten (außer /jobs/, dort jobs/jobs.css)
   Quelle: Entwurf v4 (.claude/entwurf/startseite-v4.html), vom Inhaber freigegeben am 13.10.2026.

   Aufbau:
     SCHRIFTEN   selbst gehostet (DSGVO, LG München I, 20.01.2022, 3 O 17493/20)
     BASIS       Farben (Tokens), Reset, Typografie, Knöpfe
     BAUSTEIN    kopf, schnellkontakt, google-sterne, karten, anfrage-formular, anfrage-leiste, fuss
     MUSTER      Abschnitte der Startseite, die auch Unterseiten benutzen dürfen
                 (fragen-liste, schritte, foerderung, kosten/balken, reihe, haken, band, partner, kontakt)
     SEITE       nur für eine Seite (startseite, unterseiten)

   Regeln: Farben nur über die Tokens in :root. Gelb nur für Sonne, Hauptknöpfe und wenige Akzente.
   Hover nur in @media (hover: hover) and (pointer: fine). Fließtext mindestens 18 px, Klickziele mindestens 48 px.
   ========================================================================== */

/* == SCHRIFTEN == */
/* Archivo: variabel, Gewicht 100 bis 900, Breite 62 bis 125 % (font-stretch). */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-var-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/fonts/archivo-var-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Atkinson Hyperlegible Next: Fließtext, variabel 200 bis 800, normal und kursiv */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/atkinson-next-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/atkinson-next-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/atkinson-next-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/atkinson-next-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* == BASIS: Grundwerte, Reset, Hilfsklassen == */
:root {
  --nacht: #1E1D1A;
  --nacht-2: #2A2926;
  --papier: #F6F4EF;
  --papier-tief: #ECE9E1;
  --weiss: #FFFFFF;
  --tinte: #191917;
  --tinte-2: #3A3935;
  /* Zweitfarbe: ausschließlich hier austauschbar */
  --zweit: #1D3A5C;
  --zweit-hell: #E9EFF5;
  --zweit-karte: #F6F9FC;
  --zweit-text: #C9D4E1;
  --zweit-fliess: #E9EEF4;
  --karte-hell: #FBFAF7;
  --sonne: #F7B900;
  --sonne-hell: #FFC82E;
  /* WhatsApp-Grün nur für WhatsApp-Knöpfe, immer mit dunkler Schrift (Kontrast 8,9:1) */
  --wa: #25D366;
  --wa-hell: #5BE38C;
  --linie: rgba(25, 25, 23, 0.16);
  --linie-dunkel: rgba(244, 241, 234, 0.18);
  --text-dunkel: #F4F1EA;
  --text-dunkel-2: #C9C5BA;
  --feld: #7A7568;
  --fokus: #191917;

  --schrift-kopf: "Archivo", "Segoe UI", system-ui, sans-serif;
  --schrift-text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --rand: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --abschnitt: clamp(48px, 6.6vw, 96px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 92px;
  scrollbar-color: #8B8679 var(--papier);
}
html { scroll-padding-bottom: 24px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: var(--schrift-text);
  font-size: 1.125rem;
  line-height: 1.6;
  caret-color: var(--tinte);
  accent-color: var(--tinte);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
@media (min-width: 900px) { body { font-size: 1.25rem; } }

::selection { background: var(--sonne); color: var(--tinte); }

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 700; }

:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }
.dunkel { --fokus: #F7B900; }

.wrap { width: min(100% - 2 * var(--rand), 1280px); margin-inline: auto; }

.nur-lesen {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.nb, .z { white-space: nowrap; }

.sprung {
  position: absolute;
  left: 16px; top: -80px;
  z-index: 100;
  padding: 14px 20px;
  background: var(--sonne);
  color: var(--tinte);
  font-weight: 700;
  border-radius: 10px;
}
.sprung:focus { top: 16px; }

/* == BASIS: Typografie == */
h1, h2, h3 {
  margin: 0;
  font-family: var(--schrift-kopf);
  font-stretch: 103%;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 0.9rem + 4.7vw, 4.5rem); line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 1rem + 3.3vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.2; letter-spacing: -0.02em; }
p { text-wrap: pretty; }
.z { font-family: var(--schrift-kopf); font-variant-numeric: lining-nums; }
.zahl, .tel-gross, .nr { font-variant-numeric: tabular-nums lining-nums; }

.sektion { padding-block: var(--abschnitt); }
.dunkel { background: var(--nacht); color: var(--text-dunkel); }
.zweit { background: var(--zweit); --text-dunkel-2: var(--zweit-text); }
.zweit-hell { background: var(--zweit-hell); }
.warm { background: var(--papier-tief); }
.sektion-kopf { display: grid; gap: 24px 64px; align-items: start; }
@media (min-width: 900px) { .sektion-kopf { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

/* Textlinks mit großer Trefferfläche, ohne das Schriftbild zu verändern */
p a, .zeile a { position: relative; }
p a::after, .zeile a::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px; top: 50%;
  height: 48px;
  transform: translateY(-50%);
}

/* == BASIS: Knöpfe == */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  min-height: 56px;
  padding: 0.55em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: var(--schrift-kopf);
  font-stretch: 105%;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease-out, background-color 160ms ease-out,
              color 160ms ease-out, border-color 160ms ease-out;
}
.knopf:active { transform: scale(0.97); }
.knopf svg { width: 1.3em; height: 1.3em; flex: none; }
.knopf--gross { min-height: 68px; font-size: 1.3rem; padding-inline: 1.6em; }
.knopf--sonne { background: var(--sonne); color: var(--tinte); }
.knopf--dunkel { background: var(--nacht); color: var(--papier); }
.knopf--hell { border-color: rgba(244, 241, 234, 0.6); color: var(--papier); background: transparent; }
.knopf--rand { border-color: var(--tinte); color: var(--tinte); background: transparent; }
.knopf--wa { background: var(--wa); color: var(--tinte); }

@media (hover: hover) and (pointer: fine) {
  .knopf--sonne:hover { background: var(--sonne-hell); }
  .knopf--wa:hover { background: var(--wa-hell); }
  .knopf--dunkel:hover { background: #0F0F0E; }
  .knopf--hell:hover { background: var(--papier); color: var(--tinte); border-color: var(--papier); }
  .knopf--rand:hover { background: var(--tinte); color: var(--papier); }
}

.pfeil-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 48px;
  font-weight: 700;
}
.pfeil-link svg { width: 1.2em; height: 1.2em; flex: none; transition: transform 160ms ease-out; }
@media (hover: hover) and (pointer: fine) { .pfeil-link:hover svg { transform: translateX(4px); } }

.ico { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* == BAUSTEIN: kopf == */
/* Zeile 1 (Anthrazit) bleibt beim Scrollen stehen. Zeile 2 (Leistungsleiste, hell) scrollt weg.
   Beide Elemente stehen direkt im <body>, damit "sticky" über die ganze Seite wirkt. */
.kopf { position: -webkit-sticky; position: sticky; top: 0; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--nacht); color: var(--text-dunkel); --fokus: #F7B900; box-shadow: 0 1px 0 rgba(244, 241, 234, 0.1), 0 14px 22px -18px rgba(20, 14, 0, 0.55); }
.kopf-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; }
.logo { display: flex; align-items: center; flex: none; width: clamp(84px, 24vw, 170px); min-height: 48px; }
.logo img { width: 100%; }
.kopf-rechts { display: flex; align-items: center; gap: 10px; }
.tel-kopf {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0 14px;
  background: var(--sonne);
  color: var(--tinte);
  border-radius: 12px;
  font-family: var(--schrift-kopf);
  font-stretch: 105%;
  font-weight: 600;
  font-size: 1.0625rem;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 160ms ease-out, background-color 160ms ease-out;
}
.tel-kopf:active { transform: scale(0.97); }
.tel-kopf svg { display: none; width: 1.25em; height: 1.25em; }
@media (hover: hover) and (pointer: fine) { .tel-kopf:hover { background: var(--sonne-hell); } }
/* Am PC: runde Symbol-Knöpfe WhatsApp (grün), Telefon (gelb), Instagram, Facebook (zurückhaltend).
   Am Handy stehen Anrufen und WhatsApp unten in der Leiste und im Menü, Instagram und Facebook im Menü. */
.kopf-kontakt { position: relative; }
/* Handy und Tablet: WhatsApp und Telefon als Symbole neben "Menü", Instagram und Facebook nur am PC (am Handy im Menü) */
.kanaele { display: flex; gap: 8px; }
.kanaele .nur-pc { display: none; }
.kanal {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1.5px solid rgba(244, 241, 234, 0.5);
  border-radius: 50%;
  color: var(--text-dunkel);
  transition: transform 160ms ease-out, background-color 160ms ease-out, border-color 160ms ease-out, color 160ms ease-out;
}
.kanal svg { width: 24px; height: 24px; }
.kanal--wa { background: var(--wa); border-color: var(--wa); color: var(--tinte); }
.kanal--wa svg { width: 27px; height: 27px; }
.kanal--tel { background: var(--sonne); border-color: var(--sonne); color: var(--tinte); }
.kanal:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .kanal:hover { border-color: var(--sonne); color: var(--sonne); }
  .kanal--wa:hover { background: var(--wa-hell); border-color: var(--wa-hell); color: var(--tinte); }
  .kanal--tel:hover { background: var(--sonne-hell); border-color: var(--sonne-hell); color: var(--tinte); }
}
@media (max-width: 26em) {
  .kopf-in, .kopf-rechts { gap: 8px; }
  .tel-kopf { padding: 0 10px; }
  .menue summary { padding: 0 10px; gap: 6px; }
}
/* Sehr schmale Geräte: nur das Hörer-Symbol, die Nummer bleibt für Vorleser */
@media (max-width: 22.4375em) {
  .tel-kopf { padding: 0; width: 48px; justify-content: center; }
  .tel-kopf svg { display: block; }
  .tel-kopf .zahl { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
  .kopf-in, .kopf-rechts { gap: 8px; }
  .menue summary { padding: 0 10px; }
}

.nav-gross, .leisten-zeile { display: none; }

/* Menü am Handy und Tablet: <details>, öffnet über die volle Breite */
.menue summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1.5px solid rgba(244, 241, 234, 0.6);
  border-radius: 12px;
  font-family: var(--schrift-kopf);
  font-stretch: 105%;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  transition: transform 160ms ease-out;
}
.menue summary::-webkit-details-marker { display: none; }
.menue summary:active { transform: scale(0.97); }
.menue summary svg { width: 18px; height: 18px; transition: transform 160ms ease-out; }
.menue[open] summary svg { transform: rotate(180deg); }
.menue-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--nacht-2);
  padding: 4px var(--rand) 24px;
  box-shadow: 0 24px 40px -20px rgba(0, 0, 0, 0.6);
}
.m-gruppe { margin: 18px 0 2px; font-weight: 700; font-size: 1.0625rem; color: var(--text-dunkel-2); }
.menue-panel li a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-top: 1px solid var(--linie-dunkel);
  font-family: var(--schrift-kopf);
  font-stretch: 105%;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
}
.menue-panel .m-gruppe + ul li:first-child a { border-top: 0; }
.m-sozial { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--linie-dunkel); }
.m-sozial-text { font-weight: 700; font-size: 1.125rem; color: var(--text-dunkel); }
.m-sozial ul { display: flex; gap: 10px; }
.menue-panel .m-sozial .kanal { display: grid; min-height: 0; border-top: 1.5px solid rgba(244, 241, 234, 0.5); font-size: inherit; }
.m-notdienst { margin-top: 10px; text-align: center; font-size: 1.0625rem; color: var(--text-dunkel-2); }

/* Die Seite, auf der Sie sich befinden: aria-current="page" mit Gold-Unterstreichung */
.kopf [aria-current="page"], .leisten-zeile [aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--sonne);
  text-decoration-thickness: 4px;
  text-underline-offset: 0.35em;
}

@media (min-width: 68.75em) {
  .kopf-in { min-height: 84px; gap: 28px; }
  .logo { width: 168px; }
  .menue { display: none; }
  .nav-gross { display: flex; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; }
  .nav-gross a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    font-weight: 700;
    font-size: 1.0625rem;
    text-decoration: none;
    text-underline-offset: 0.3em;
  }
  .kopf-rechts { gap: 0; }
  .tel-kopf { display: none; }
  .kanaele { gap: 10px; }
  .kanaele .nur-pc { display: list-item; list-style: none; }

  .leisten-zeile { display: block; background: var(--papier); border-bottom: 1px solid var(--linie); }
  .leisten-zeile ul { display: flex; flex-wrap: wrap; gap: 0 clamp(20px, 2.8vw, 44px); }
  .leisten-zeile a {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    min-height: 52px;
    min-width: 44px;
    justify-content: center;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--tinte);
    text-decoration: none;
    text-underline-offset: 0.35em;
  }
  .leisten-zeile .l-haupt::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sonne); }
  html { scroll-padding-top: 104px; }
}
@media (hover: hover) and (pointer: fine) {
  .nav-gross a:hover, .leisten-zeile a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--sonne); }
}

/* == BAUSTEIN: schnellkontakt == */
/* Handy und Tablet: feste Leiste "Anrufen | WhatsApp" (Gold und WhatsApp-Grün).
   PC: keine Leiste, WhatsApp und Telefon stehen nebeneinander im Kopf, der beim Scrollen stehen bleibt. */
.kanal:focus-visible {
  outline: 3px solid #191917;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #F7B900;
}

/* == BAUSTEIN: google-sterne == */
/* Nur Sterne und Wert, keine Anzahl. Füllung anteilig über --anteil (4,7 von 5 = 94 %). */
.google {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-height: 48px;
  font-size: 1.125rem;
  color: inherit;
  --stern-leer: rgba(244, 241, 234, 0.28);
}
.sterne { position: relative; display: inline-block; flex: none; width: 116px; height: 21px; }
.sterne svg { display: block; width: 116px; height: 21px; }
.s-leer { fill: var(--stern-leer); }
.s-voll { position: absolute; left: 0; top: 0; width: var(--anteil, 94%); height: 21px; overflow: hidden; }
.s-voll svg { max-width: none; fill: #F7B900; }
.google b { font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .google:hover .g-text { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em; } }

/* == BAUSTEIN: karten == */
/* Eine Kartensprache. Das äußere Element (li.zelle, bei Links a.zelle-link) bleibt unbewegt und löst das Überfahren aus.
   Nur der innere Kartenkörper (.karte) hebt sich und neigt sich. Die Neigung setzt ein kleines Skript (--rx, --ry).
   Ohne Skript hebt sich die Karte nur an. */
.karten { display: grid; gap: 24px; }
.zelle { position: relative; display: flex; min-width: 0; perspective: 900px; }
.zelle-link { display: flex; flex: 1; min-width: 0; color: inherit; text-decoration: none; perspective: 900px; border-radius: 16px; }
.zelle > .karte { flex: 1; }
.zelle-link:focus-visible { outline: none; }
.karte {
  --k-linie: rgba(25, 25, 23, 0.12);
  --k-flaeche: var(--karte-hell);
  --k-text: var(--tinte-2);
  --k-schatten: 0 30px 46px -24px rgba(70, 50, 8, 0.42);
  --hub: 0px; --rx: 0deg; --ry: 0deg;
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid var(--k-linie);
  border-radius: 16px;
  background: var(--k-flaeche);
  color: var(--tinte);
  transform: translateY(var(--hub)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 450ms var(--ease-out), box-shadow 450ms ease-out, border-color 200ms ease-out;
}
.dunkel .karte { --k-linie: rgba(244, 241, 234, 0.14); --k-flaeche: var(--nacht-2); --k-text: var(--text-dunkel-2); --k-schatten: 0 30px 46px -22px rgba(0, 0, 0, 0.65); color: var(--text-dunkel); }
.zweit-hell .karte { --k-flaeche: var(--zweit-karte); }
.karte::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #F7B900 0%, rgba(247, 185, 0, 0) 62%);
  opacity: 0;
  transition: opacity 450ms ease-out;
  pointer-events: none;
}
.k-kopf { display: flex; align-items: center; gap: 16px; transition: transform 450ms var(--ease-out); }
.k-ico { flex: none; width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--sonne); color: var(--tinte); }
.k-titel { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem); line-height: 1.15; }
.k-text { color: var(--k-text); font-size: 1.125rem; line-height: 1.5; }
.k-mehr { display: none; margin-top: auto; padding-top: 6px; align-items: center; gap: 0.5em; min-height: 48px; font-weight: 700; }
.k-mehr svg { width: 1.2em; height: 1.2em; }
.k-pfeil { flex: none; margin-left: auto; width: 24px; height: 24px; }
.karte-klein { gap: 12px; }
.karte-klein .k-ico { width: 44px; height: 44px; padding: 11px; }
.karte-klein .k-titel { font-size: 1.3rem; }
.karte-klein .k-kopf { min-height: 48px; }
.karte .nr { flex: none; width: 52px; height: 52px; font-size: 1.35rem; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .zelle:hover { z-index: 2; }
  .zelle:hover .karte { --hub: -6px; box-shadow: var(--k-schatten); border-color: rgba(247, 185, 0, 0.5); }
  .zelle:hover .karte::after { opacity: 0.08; }
  .zelle:hover .k-kopf { transform: translateZ(28px); }
}
/* Ohne Bewegung: nur ein Farbwechsel des Rahmens */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .zelle:hover .karte { border-color: rgba(247, 185, 0, 0.7); }
}
/* Tastatur: Anheben ohne Neigung, dazu der Fokusring */
.zelle-link:focus-visible .karte { outline: 3px solid var(--fokus); outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .zelle-link:focus-visible .karte { --hub: -6px; box-shadow: var(--k-schatten); }
  .zelle-link:focus-visible .k-kopf { transform: translateZ(28px); }
}
@media (hover: none) and (prefers-reduced-motion: no-preference) {
  .zelle-link:active .karte { transform: scale(0.98); }
}

/* == BAUSTEIN: anfrage-formular == */
.anfrage-karte { background: var(--papier); color: var(--tinte); border-radius: 16px; padding: clamp(22px, 3vw, 40px); --fokus: #191917; }
.anfrage-karte h2 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); }
.anfrage-intro { margin-top: 10px; max-width: 34em; color: var(--tinte-2); font-size: 1.125rem; }
.f-gitter { display: grid; gap: 22px; margin-top: 26px; }
.f-zeile { display: grid; gap: 22px; }
@media (min-width: 40em) { .f-zeile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.f-feld label, .f-gruppe legend, .f-label { display: block; margin-bottom: 8px; font-weight: 700; }
.f-feld .f-frei { font-weight: 400; color: var(--tinte-2); }
.pflicht { margin-left: 2px; }
.f-feld input[type="text"], .f-feld input[type="tel"], .f-feld input[type="email"], .f-feld select, .f-feld textarea {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 12px 14px;
  background: var(--weiss);
  border: 1.5px solid var(--feld);
  border-radius: 10px;
  color: var(--tinte);
  font: inherit;
  font-size: 1.125rem;
  line-height: 1.4;
  transition: border-color 160ms ease-out;
}
.f-feld select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191917' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}
.f-feld textarea { min-height: 140px; resize: vertical; }
.f-feld input:focus-visible, .f-feld select:focus-visible, .f-feld textarea:focus-visible { border-color: var(--tinte); outline-offset: 2px; border-radius: 10px; }
.f-feld input[aria-invalid="true"] { border-color: #A3261C; box-shadow: 0 0 0 1px #A3261C; }
.f-fehler { margin-top: 8px; color: #8F1F17; font-weight: 700; font-size: 1.125rem; line-height: 1.4; }
.f-fehler[hidden], .f-meldung[hidden] { display: none; }
.f-gruppe { border: 0; margin: 0; padding: 0; min-width: 0; }
.f-check, .f-radio { display: flex; align-items: center; gap: 14px; min-height: 48px; font-weight: 700; cursor: pointer; }
.f-check input, .f-radio input { flex: none; width: 26px; height: 26px; margin: 0; accent-color: var(--tinte); }
.f-zeit { display: none; margin-top: 8px; padding: 14px 16px 6px; border: 1px solid var(--linie); border-radius: 12px; }
.f-zeit legend { padding: 0 6px; }
.f-zeit-hinweis { margin: 4px 0 10px; font-size: 1.125rem; color: var(--tinte-2); }
.f-radios { display: flex; flex-wrap: wrap; gap: 0 32px; }
.f-gitter:has(#f-rueckruf:checked) .f-zeit { display: block; }
@supports not selector(:has(*)) { .f-zeit { display: block; } }
.f-spam input { max-width: 160px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.f-datenschutz { font-size: 1.125rem; color: var(--tinte-2); max-width: 36em; }
.anfrage-karte .knopf { width: 100%; }
@media (min-width: 40em) { .anfrage-karte .knopf { width: auto; min-width: 260px; } }
.f-warte { margin-top: 14px; font-weight: 700; }
.f-warte[hidden] { display: none; }
.anfrage-karte .knopf:disabled { opacity: 0.45; cursor: not-allowed; }
.anfrage-karte noscript .f-meldung { margin: 0 0 22px; }
.f-meldung { margin-top: 20px; padding: 16px 18px; border-radius: 12px; font-weight: 700; }
.f-meldung.ok { background: var(--nacht); color: var(--text-dunkel); }
.f-meldung.fehler { background: #F8E3E0; color: #7A1710; border: 1.5px solid #A3261C; }

/* == BAUSTEIN: anfrage-leiste == */
.a-leiste { padding-block: clamp(32px, 4vw, 52px); background: var(--papier); }
.a-leiste-in {
  display: grid;
  gap: 18px 32px;
  align-items: center;
  padding: clamp(20px, 2.6vw, 30px) clamp(22px, 3vw, 36px);
  background: var(--weiss);
  border: 1px solid rgba(25, 25, 23, 0.12);
  border-radius: 16px;
}
.a-titel { font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); line-height: 1.2; letter-spacing: -0.02em; }
@media (min-width: 40em) { .a-leiste-in { grid-template-columns: minmax(0, 1fr) auto; } }

/* == BAUSTEIN: fuss == */
/* Ruhig und klein (Inhaber, 13.10.2026): 16 px Text, kleine Überschriften in Großbuchstaben,
   WhatsApp, Instagram und Facebook als kleine runde Symbole wie im Kopf.
   Unten Platz für die feste Handy-Leiste (Fußzeile färbt den Bereich dunkel). */
.fuss { color: var(--text-dunkel-2); font-size: 1rem; line-height: 1.5; padding-block: 8px calc(32px + env(safe-area-inset-bottom)); }
.fuss-raster { display: grid; padding-block: clamp(32px, 4vw, 44px) 24px; border-top: 1px solid var(--linie-dunkel); }
.fuss .logo { width: 120px; min-height: 40px; }
.fuss-marke p { margin-top: 12px; max-width: 22em; }
.fuss-titel { margin-bottom: 6px; font-family: var(--schrift-text); font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-dunkel); }
.fuss-spalte li a, .fuss-kontakt li a, .fuss-unten a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--text-dunkel);
  font-weight: 400;
  text-decoration: none;
}
.fuss-kontakt p + p, .fuss-kanaele + p { margin-top: 10px; }
.fuss-kontakt b { color: var(--text-dunkel); font-weight: 700; }
.fuss-kanaele { display: flex; gap: 8px; margin-top: 8px; }
.fuss .kanal--klein { width: 40px; height: 40px; min-height: 40px; }
.kanal--klein svg { width: 20px; height: 20px; }
.kanal--klein.kanal--wa svg { width: 22px; height: 22px; }
.fuss-unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-top: 14px; border-top: 1px solid var(--linie-dunkel); font-size: 0.9375rem; }
.fuss-unten nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.fuss-unten #bohse-cookie-settings-link { margin-left: 0 !important; }
@media (hover: hover) and (pointer: fine) {
  .fuss-spalte li a:hover, .fuss-kontakt li a:hover, .fuss-unten a:hover { color: var(--sonne); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
}
/* Fingerbedienung: Links bleiben gut zu treffen */
@media (pointer: coarse) {
  .fuss-spalte li a, .fuss-kontakt li a, .fuss-unten a { min-height: 44px; }
  .fuss .kanal--klein { width: 44px; height: 44px; }
}
/* Handy: Marke und Kontakt über die ganze Breite, die beiden Linklisten nebeneinander */
.fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
.fuss-marke, .fuss-kontakt { grid-column: 1 / -1; }
@media (min-width: 68.75em) {
  .fuss-raster { grid-template-columns: 1.1fr 1fr 0.9fr 1.3fr; gap: 28px 40px; }
  .fuss-marke, .fuss-kontakt { grid-column: auto; }
  .fuss { padding-bottom: 32px; }
}

/* ==========================================================================
   SEITE: startseite
   ========================================================================== */
/* ==========================================================================
   SEITE: startseite, erster Bildschirm (das Team vor der aufgehenden Sonne)
   ========================================================================== */
.held { padding-block: clamp(16px, 2.5vw, 32px) clamp(56px, 6vw, 96px); overflow-x: clip; }
@supports not (overflow: clip) { .held { overflow-x: hidden; } }

.held-raster {
  display: grid;
  gap: 20px;
  grid-template-areas: "titel" "team" "lede" "aktion" "ansprech" "bewertung";
  justify-items: start;
}
.held-text, .held-rechts { display: contents; }
.held h1 { grid-area: titel; max-width: 13em; font-size: clamp(2.2rem, 0.9rem + 3.7vw, 3.5rem); }
.lede { grid-area: lede; max-width: 30em; font-size: 1.1875rem; color: #E6E2D8; }
.aktion { grid-area: aktion; display: grid; gap: 14px; width: 100%; margin-top: 4px; }
.aktion .knopf { width: 100%; }
.ansprech { grid-area: ansprech; display: grid; gap: 12px 20px; margin-top: 6px; }
.ansprech li { display: flex; align-items: center; gap: 14px; }
.ansprech img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--nacht-2); }
.ansprech .klein { display: block; font-size: 1.125rem; color: var(--text-dunkel-2); line-height: 1.3; }
.ansprech .name { display: block; white-space: nowrap; font-weight: 700; color: var(--text-dunkel); line-height: 1.3; }
.held .google { grid-area: bewertung; }

/* Team (vorn, +70px) vor der Sonne (0), dahinter ein leiser Lichtschein (-100px) */
.held-team { grid-area: team; justify-self: stretch; margin-inline: calc(var(--rand) * -1); container-type: inline-size; }
.team-raum { perspective: 1200px; perspective-origin: 50% 60%; padding-top: 40cqw; }
.team-objekt {
  --ax: 1deg; --ay: 2deg; --az: 2px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}
.licht {
  position: absolute;
  left: 50%; top: -6cqw;
  width: 130cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 185, 0, 0.16) 0%, rgba(247, 185, 0, 0.06) 40%, rgba(247, 185, 0, 0) 66%);
  transform: translate(-50%, -50%) translateZ(-100px);
  pointer-events: none;
}
.sonne-hinter { position: absolute; left: 50%; top: -6cqw; width: 68cqw; height: 68cqw; transform: translate(-50%, -50%); overflow: visible; }
.sonne-hinter .tiefe { fill: #B88A00; fill-opacity: 0.6; }
.team-foto {
  position: relative;
  /* ohne scale(): sonst wird die Ebene zu grob gerastert und das Foto unscharf */
  transform: translateZ(70px);
  width: 94.2%;
  margin-inline: auto;
  filter: drop-shadow(0 26px 30px rgba(8, 5, 0, 0.55));
}
.team-foto img { width: 100%; aspect-ratio: 1821 / 900; object-fit: cover; object-position: 50% 22%; }
.held-team figcaption strong { display: block; margin-bottom: 4px; font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: 1.3rem; letter-spacing: -0.015em; color: var(--text-dunkel); }
.held-team figcaption { position: relative; z-index: 2; margin-top: 16px; padding-inline: var(--rand); font-size: 1.125rem; color: var(--text-dunkel-2); max-width: 44em; text-wrap: balance; }

@media (min-width: 40em) {
  .ansprech { grid-template-columns: repeat(2, auto); justify-content: start; }
  .held-team { margin-inline: 0; width: min(100%, 860px); justify-self: center; }
  .team-foto img { border-radius: 14px; }
  .held-team figcaption { padding-inline: 0; }
  .aktion { max-width: 460px; }
  .team-objekt { --ax: 2deg; --ay: 4deg; --az: 3px; }
}
@media (min-width: 75em) {
  .held-raster {
    grid-template-areas: none;
    grid-template-columns: minmax(440px, 1fr) minmax(0, 1.4fr);
    column-gap: clamp(32px, 4vw, 56px);
    align-items: center;
  }
  .held-text { display: block; }
  .held-text > * + * { margin-top: 24px; }
  .held-text .aktion { margin-top: 32px; }
  .held-text .ansprech { margin-top: 28px; }
  .lede { font-size: 1.25rem; }
  .aktion { width: fit-content; max-width: none; }
  .held-rechts { display: block; justify-self: end; width: min(100%, 790px, calc((100svh - 240px) / 0.9)); }
  .held-team { grid-area: auto; width: 100%; margin-inline: 0; }
  .held-rechts .google { margin-top: 6px; }
  .held-team figcaption { font-size: 1.125rem; }
}
@media (min-width: 75em) and (max-height: 900px) {
  .held { padding-top: 24px; }
  .held-raster { align-items: start; }
  .held h1 { font-size: 2.6rem; }
  .held-text > * + * { margin-top: 16px; }
  .held-text .aktion { margin-top: 22px; }
  .held-text .ansprech { margin-top: 20px; }
  .lede { font-size: 1.125rem; }
  .knopf--gross { min-height: 60px; }
  .team-raum { padding-top: 34cqw; }
  .licht { top: -4cqw; width: 110cqw; }
  .sonne-hinter { top: -4cqw; width: 60cqw; height: 60cqw; }
  .held-team figcaption { margin-top: 10px; }
  .held-team figcaption span { display: none; }
}

/* Einstieg, einmalig: Foto blendet ein, Strahlen gehen dahinter auf, Text folgt */
@media (prefers-reduced-motion: no-preference) {
  .team-foto { animation: team-erscheint 900ms var(--ease-out) backwards; }
  .strahl {
    transform-origin: 0 0;
    animation: aufgehen 600ms var(--ease-out) backwards;
    animation-delay: calc(250ms + var(--i) * 42ms);
  }
  .held-text > *, .held .google { animation: einblenden 500ms var(--ease-out) backwards; animation-delay: var(--d, 0ms); }
  .held-team figcaption { animation: einblenden 500ms var(--ease-out) 900ms backwards; }
  .team-objekt { animation: schweben 11s ease-in-out 1.6s infinite; }
}
.held h1 { --d: 650ms; }
.lede { --d: 710ms; }
.aktion { --d: 770ms; }
.ansprech { --d: 830ms; }
.held .google { --d: 890ms; }

@keyframes team-erscheint {
  from { opacity: 0; transform: translateZ(70px) scale(1.03); filter: blur(6px) drop-shadow(0 26px 30px rgba(8, 5, 0, 0.55)); }
  to   { opacity: 1; transform: translateZ(70px) scale(1); filter: blur(0) drop-shadow(0 26px 30px rgba(8, 5, 0, 0.55)); }
}
@keyframes aufgehen { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes einblenden { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes schweben {
  0%, 50%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  25% { transform: translateY(calc(var(--az) * -1)) rotateX(calc(var(--ax) * -1)) rotateY(var(--ay)); }
  75% { transform: translateY(var(--az)) rotateX(var(--ax)) rotateY(calc(var(--ay) * -1)); }
}
/* Scroll-Kopplung: das Ganze kippt zurück, das Foto bleibt etwas zurück */
@keyframes kippen { from { rotate: 1 0 0 0deg; scale: 1; } to { rotate: 1 0 0 10deg; scale: 0.95; } }
@keyframes foto-bleibt { from { translate: 0 0; } to { translate: 0 18px; } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 641px) {
    .team-objekt {
      animation: schweben 11s ease-in-out 1.6s infinite, kippen linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 640px;
    }
    .team-foto {
      animation: team-erscheint 900ms var(--ease-out) backwards, foto-bleibt linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 640px;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-objekt { transform: rotateX(-1deg) rotateY(2deg); }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .knopf:active, .tel-kopf:active, .menue summary:active, .tel-gross:active, .kanal:active { transform: none; }
}


@media (max-width: 26em) {
  .held h1, .lede { hyphens: auto; overflow-wrap: break-word; }
  .knopf--gross { padding-inline: 0.9em; gap: 0.45em; font-size: 1.15rem; }
  .knopf--gross svg { width: 1.15em; height: 1.15em; }
}

/* Kernleistungen im Hero */
.kern { margin-top: clamp(36px, 5vw, 72px); scroll-margin-top: 110px; }
.kern .karten { gap: 20px; }
.kern .k-haupt { --k-linie: rgba(247, 185, 0, 0.4); }
.kern .k-haupt .k-titel { font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.95rem); }
@media (min-width: 40em) { .kern .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80em) {
  .kern .k-mehr { display: inline-flex; }
  .kern .k-pfeil { display: none; }
  .kern .karten { grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 24px; }
  .kern .k-kopf { flex-direction: column; align-items: flex-start; gap: 16px; }
}
.usp { margin-top: 32px; display: flex; gap: 16px; align-items: baseline; max-width: 52em; color: var(--text-dunkel); font-size: 1.125rem; }
.usp::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sonne); transform: translateY(-2px); }

/* ==========================================================================
   SEITE: startseite, Geprüft und ausgezeichnet (Urkunden-Wand)
   ========================================================================== */
.urk-raster { display: grid; gap: 32px 72px; grid-template-areas: "kopf" "wand" "liste"; }
.urk-kopf { grid-area: kopf; }
.urk-kopf p { margin-top: 18px; max-width: 28em; }
.urk-wand { grid-area: wand; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 18px; align-content: start; }
.urk-liste { grid-area: liste; }
.urk-liste h3 { font-size: 1.3rem; margin-bottom: 14px; }
.haken-punkte { display: grid; gap: 6px; }
.haken-punkte li { position: relative; padding-left: 24px; font-weight: 700; line-height: 1.4; }
.haken-punkte li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 50%; background: var(--sonne); }
.siegel { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.siegel img { flex: none; width: 96px; mix-blend-mode: multiply; }
.siegel figcaption { font-size: 1.125rem; line-height: 1.45; color: var(--tinte-2); max-width: 16em; }
@media (min-width: 40em) {
  .urk-wand { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 256px)); gap: 40px 28px; justify-content: center; }
}
@media (min-width: 62em) {
  .urk-raster { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); grid-template-areas: "kopf wand" "liste wand"; grid-template-rows: auto 1fr; align-items: start; }
}

/* Rahmen: Leiste in Anthrazit mit feiner Goldlinie, Passepartout in warmem Papier */
.karte.rahmen { padding: 0; border: 0; background: none; gap: 16px; color: var(--tinte); }
.karte.rahmen::after { display: none; }
.rahmen-leiste {
  display: block;
  padding: 8px;
  background: var(--nacht-2);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(247, 185, 0, 0.5), 0 18px 30px -18px rgba(70, 50, 8, 0.5);
  transform-style: preserve-3d;
  transition: box-shadow 450ms ease-out;
}
.passepartout {
  display: block;
  padding: 9%;
  background: #FBFAF7;
  box-shadow: inset 0 0 0 1px rgba(25, 25, 23, 0.1);
  isolation: isolate;
  transition: transform 450ms var(--ease-out);
}
.passepartout img { width: 100%; aspect-ratio: 1654 / 2339; object-fit: contain; mix-blend-mode: multiply; box-shadow: 0 0 0 1px rgba(25, 25, 23, 0.16); }
.r-titel { font-size: 1.2rem; line-height: 1.25; }
.r-satz { margin-top: 6px; color: var(--tinte-2); font-size: 1.125rem; line-height: 1.5; }
.r-entwurf { display: inline-block; margin-top: 10px; padding: 4px 10px; border: 1.5px dashed var(--feld); border-radius: 8px; font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .zelle:hover .karte.rahmen { box-shadow: none; border-color: transparent; }
  .zelle:hover .karte.rahmen .rahmen-leiste { box-shadow: inset 0 0 0 1px rgba(247, 185, 0, 0.85), 0 30px 40px -20px rgba(70, 50, 8, 0.55); }
  .zelle:hover .karte.rahmen .passepartout { transform: translateZ(22px); }
}
@media (prefers-reduced-motion: no-preference) {
  .zelle-link:focus-visible .karte.rahmen { box-shadow: none; }
  .zelle-link:focus-visible .karte.rahmen .passepartout { transform: translateZ(22px); }
}

/* Mitgliedschaften in einer ruhigen Zeile */
.mitglied { margin-top: clamp(36px, 4vw, 56px); padding-top: 20px; border-top: 1px solid rgba(25, 25, 23, 0.16); display: flex; flex-wrap: wrap; align-items: center; gap: 0 44px; }
.mitglied li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-height: 44px; font-weight: 700; }
.mitglied li.punkt { position: relative; padding-left: 22px; }
.mitglied li.punkt::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--sonne); }
.mitglied .logo-wn { height: 20px; width: auto; }
.warm .google { --stern-leer: #CFC9BB; font-weight: 700; }

/* ==========================================================================
   MUSTER: fragen-liste (Frage links, Antwort rechts, immer offen)
   ========================================================================== */
.fragen-liste { margin-top: clamp(40px, 5vw, 72px); display: grid; gap: clamp(32px, 4.5vw, 60px); }
.frage { display: grid; gap: 14px 64px; }
.frage p { max-width: 34em; }
.frage p + p { margin-top: 12px; }
.frage .pfeil-link { margin-top: 4px; }
@media (min-width: 900px) { .frage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

/* ==========================================================================
   SEITE: startseite, Das Bohse-System (Zweitfarbe)
   ========================================================================== */
.system .lead { margin-top: 20px; font-family: var(--schrift-kopf); font-stretch: 103%; font-weight: 500; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); line-height: 1.25; letter-spacing: -0.015em; color: var(--sonne); }
.system .absaetze { display: grid; gap: 14px; max-width: 34em; color: var(--zweit-fliess); }

.fluss { position: relative; margin-top: clamp(40px, 5vw, 72px); }
.fluss-linien { display: none; }
.fluss-liste { display: grid; }
.knoten { position: relative; display: flex; align-items: flex-start; gap: 18px; padding-bottom: 22px; }
.knoten:last-child { padding-bottom: 0; }
.scheibchen {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(244, 241, 234, 0.5);
  color: var(--text-dunkel);
}
.scheibchen svg { width: 28px; height: 28px; }
.knoten .text { min-width: 0; hyphens: auto; overflow-wrap: break-word; min-height: 56px; display: flex; flex-direction: column; justify-content: center; }
.text b { display: block; font-family: var(--schrift-kopf); font-stretch: 103%; font-weight: 600; font-size: 1.2rem; line-height: 1.2; }
.text span { display: block; color: var(--text-dunkel-2); font-size: 1.125rem; line-height: 1.35; }

.k-sonne .scheibchen { border: 0; }
.k-sonne .scheibchen svg { width: 56px; height: 56px; fill: var(--sonne); }
.k-manager .scheibchen { background: var(--sonne); color: var(--tinte); border-color: transparent; }
.k-wp .scheibchen { background: var(--papier); color: var(--tinte); border-color: transparent; width: 64px; height: 64px; }
.k-wp .scheibchen svg { width: 32px; height: 32px; }
.k-wp .text { min-height: 64px; }
.k-wp .text b { font-size: 1.45rem; }
.k-netz .scheibchen { border-style: dashed; width: 48px; height: 48px; }
.k-netz .scheibchen svg { width: 24px; height: 24px; }
.k-netz { margin-top: 28px; }

/* senkrechte Verbindungen am Handy */
.k-sonne::after, .k-pv::after, .k-manager::after {
  content: "";
  position: absolute;
  left: 27px; top: 56px; bottom: 0;
  width: 2px;
  background: var(--sonne);
}
.k-v { margin-left: 27px; padding-left: 34px; padding-bottom: 18px; }
.k-v .scheibchen { width: 48px; height: 48px; }
.k-v .text { min-height: 48px; }
.k-v::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 24px;
  border-left: 2px solid var(--sonne);
  border-bottom: 2px solid var(--sonne);
  border-bottom-left-radius: 12px;
}
.k-v:not(.letzt)::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--sonne);
}
.k-v.k-wp { padding-left: 34px; }
.k-v.k-wp::before { height: 32px; }
.k-v.k-wp:not(.letzt)::after { top: 0; }
.k-v.k-wp .scheibchen { width: 64px; height: 64px; }

.system-unten { display: grid; gap: 40px 72px; margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.system-unten .aussage {
  font-family: var(--schrift-kopf);
  font-stretch: 103%;
  font-weight: 500;
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 22em;
  text-wrap: balance;
}
.system-unten .em { margin-bottom: 22px; max-width: 30em; color: var(--zweit-fliess); }
.fakten { display: grid; gap: 14px; }
.fakten li { position: relative; padding-left: 28px; }
.fakten li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 10px; border-radius: 50%; background: var(--sonne); }
.system-unten .fussnote { margin-top: 18px; font-size: 1.125rem; color: var(--text-dunkel-2); }
@media (min-width: 900px) { .system-unten { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

@media (min-width: 68.75em) {
  .fluss { aspect-ratio: 1160 / 600; max-width: 1160px; margin-inline: auto; }
  .fluss-linien { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .fluss-liste { position: absolute; inset: 0; display: block; }
  .knoten { position: absolute; left: var(--x); top: var(--y); display: block; margin: 0; padding: 0; }
  .knoten::before, .knoten::after { content: none !important; }
  .knoten .scheibchen, .k-wp .scheibchen, .k-v .scheibchen, .k-v.k-wp .scheibchen, .k-netz .scheibchen {
    position: absolute;
    left: calc(var(--d) / -2);
    top: calc(var(--d) / -2);
    width: var(--d);
    height: var(--d);
  }
  .knoten .scheibchen svg { width: calc(var(--d) * 0.42); height: calc(var(--d) * 0.42); }
  .k-sonne .scheibchen svg { width: 100%; height: 100%; }
  .knoten .text {
    position: absolute;
    top: calc(var(--d) / 2 + 16px);
    left: 0;
    transform: translateX(-50%);
    width: max-content;
    max-width: 230px;
    min-height: 0;
    display: block;
    text-align: center;
  }
  .k-v .text, .k-netz .text {
    top: 0;
    left: calc(var(--d) / 2 + 18px);
    transform: translateY(-50%);
    text-align: left;
    max-width: 215px;
  }
  .k-wp .text { max-width: 200px; }
  .k-manager .text { top: auto; bottom: calc(var(--d) / 2 + 16px); }
  .k-v, .k-v.k-wp, .k-netz { margin: 0; padding: 0; }
  .k-wp .text { min-height: 0; }
}

/* Flusslinien zeichnen sich einmal beim Hineinscrollen (nur CSS) */
.fluss-linien .linie { fill: none; stroke: var(--sonne); stroke-linecap: round; }
.fluss-linien .netzlinie { fill: none; stroke: rgba(244, 241, 234, 0.5); stroke-width: 2; stroke-dasharray: 3 8; stroke-linecap: round; }
.fluss-linien .spitze { fill: var(--sonne); }
@keyframes zeichnen { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes spitze-zeigen { 0%, 78% { opacity: 0; } 100% { opacity: 1; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .fluss-linien .linie { stroke-dasharray: 1 1; animation: zeichnen linear both; animation-timeline: view(); animation-range: entry 20% cover 38%; }
    .fluss-linien .spitze { animation: spitze-zeigen linear both; animation-timeline: view(); animation-range: entry 20% cover 38%; }
  }
}

/* ==========================================================================
   MUSTER: leist-karten, partner, band (Startseite: Weitere Leistungen)
   ========================================================================== */
.beratung { max-width: 34em; }
.beratung h3 { margin-bottom: 14px; }
.leist-karten { margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 40em) { .leist-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .leist-karten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.partner { margin-top: clamp(48px, 6vw, 80px); }
.partner p { font-size: 1.125rem; color: var(--tinte-2); }
.partner ul { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.partner li {
  padding: 10px 20px;
  border: 1px solid rgba(25, 25, 23, 0.12);
  border-radius: 12px;
  background: var(--zweit-karte);
  font-family: var(--schrift-kopf);
  font-stretch: 104%;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.band {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  gap: 18px;
  align-items: center;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 16px;
  background: var(--zweit);
  color: var(--text-dunkel);
  --fokus: #F7B900;
}
.band .titel { font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.25; letter-spacing: -0.015em; }
.band .preis { font-weight: 700; white-space: nowrap; color: var(--sonne); }
.band .bedingung { margin-top: 6px; color: var(--zweit-text); font-size: 1.125rem; max-width: 44em; }
@media (min-width: 900px) { .band { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }

/* ==========================================================================
   MUSTER: kosten-raster und balken (Heizkostenvergleich)
   ========================================================================== */
.kosten-raster { display: grid; gap: 48px 80px; align-items: start; }
.kosten-text > * + * { margin-top: 18px; }
.kosten-text .jaz { max-width: 30em; color: #E6E2D8; }
@media (min-width: 900px) { .kosten-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.balken { display: grid; gap: 6px; }
.balken li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding-block: 8px; }
.b-name { font-size: 1.125rem; }
.b-preis { font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 500; font-size: 1.25rem; font-variant-numeric: tabular-nums lining-nums; }
.b-bahn { grid-column: 1 / -1; height: 10px; border-radius: 5px; background: rgba(244, 241, 234, 0.1); }
.b-wert { display: block; height: 100%; width: var(--w); border-radius: 5px; background: rgba(244, 241, 234, 0.5); }
.balken .wp .b-wert { background: #E7B93A; }
.balken .beste .b-wert { background: var(--sonne); }
.balken .beste .b-name, .balken .beste .b-preis { color: var(--sonne); font-weight: 700; }
.kosten-quelle { margin-top: 20px; font-size: 1.125rem; color: var(--text-dunkel-2); }
@media (min-width: 640px) {
  .balken li { grid-template-columns: 13rem minmax(0, 1fr) 5rem; }
  .b-name { grid-column: 1; grid-row: 1; }
  .b-bahn { grid-column: 2; grid-row: 1; }
  .b-preis { grid-column: 3; grid-row: 1; text-align: right; }
}

/* ==========================================================================
   MUSTER: ablauf-kopf, schritte, nr (So läuft es ab)
   ========================================================================== */
.ablauf-kopf { display: grid; gap: 22px 64px; align-items: end; }
.ablauf-kopf p { max-width: 30em; margin-top: 16px; }
@media (min-width: 900px) { .ablauf-kopf { grid-template-columns: minmax(0, 1fr) auto; } }
.schritte { margin-top: clamp(40px, 5vw, 64px); }
.nr {
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sonne);
  color: var(--tinte);
  font-family: var(--schrift-kopf);
  font-stretch: 105%;
  font-weight: 600;
}
.schritt-karte .k-titel { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); }
.schritt-karte p { color: var(--k-text); font-size: 1.125rem; line-height: 1.55; }
@media (min-width: 40em) { .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62em) { .schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

/* ==========================================================================
   MUSTER: foerderung (Gold), foer-tafel, stichtag, plakette
   ========================================================================== */
.foerderung { background: var(--sonne); color: var(--tinte); }
.foer-raster { display: grid; gap: 48px; }
.foer-text > * + * { margin-top: 22px; }
.foer-text .lead { max-width: 28em; }
.foer-aktion { display: flex; flex-wrap: wrap; gap: 6px 28px; align-items: center; }
.foer-text .kleingedruckt { font-size: 1.125rem; max-width: 34em; }

.stichtag { display: grid; gap: 22px 28px; align-items: center; }
.plakette {
  width: 184px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  gap: 2px;
  border-radius: 50%;
  background: var(--zweit);
  color: var(--text-dunkel);
  text-align: center;
  line-height: 1.2;
  box-shadow: inset 0 0 0 6px var(--zweit), inset 0 0 0 7.5px rgba(244, 241, 234, 0.55);
}
.plakette .p1, .plakette .p3 { font-size: 1.125rem; }
.plakette .p2 { font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; color: var(--sonne); line-height: 1.1; }
.stichtag > p { font-size: 1.125rem; max-width: 26em; }
@media (min-width: 40em) { .stichtag { grid-template-columns: auto minmax(0, 1fr); } }

.foer-tafel dl { margin: 0; }
.foer-zeile { display: grid; gap: 4px; padding-block: 24px; border-top: 1px solid rgba(25, 25, 23, 0.28); }
.foer-zeile:first-child { border-top: 0; padding-top: 0; }
.foer-zeile dt { font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.foer-zeile dd { margin: 0; }
.foer-zeile .zahl { order: -1; font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3rem); letter-spacing: -0.025em; line-height: 1; white-space: nowrap; }
.foer-zeile .hinweis { font-size: 1.125rem; max-width: 34em; }
.foer-grenze { border-top: 1.5px solid var(--tinte); padding-top: 22px; }
.foer-grenze p + p { margin-top: 10px; }
@media (min-width: 900px) {
  .foer-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 88px; align-items: start; }
}
@media (min-width: 68.75em) {
  .foer-zeile { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; }
  .foer-zeile .zahl { order: 0; }
  .foer-zeile .hinweis { grid-column: 1 / -1; }
}

/* ==========================================================================
   MUSTER: reihe, zitat, haken, team, zeit (Menschen, Betrieb, Zeitleiste)
   ========================================================================== */
.menschen > .wrap > * + * { margin-top: clamp(44px, 5.5vw, 80px); }
.foto-weich { width: 100%; object-fit: cover; border-radius: var(--radius); filter: saturate(0.92); }
.reihe { display: grid; gap: 32px 80px; align-items: center; }
@media (min-width: 800px) {
  .reihe { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .reihe.umgekehrt { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .reihe.umgekehrt > :first-child { order: 2; }
}
.reihe-text > * + * { margin-top: 18px; }
.reihe-text .rolle { color: var(--tinte-2); font-size: 1.125rem; margin-top: 4px; }
.reihe-text .knopf { margin-top: 26px; }
.joerg-bild img { aspect-ratio: 4 / 3; object-position: 40% 18%; }
@media (min-width: 800px) { .joerg-bild img { aspect-ratio: 1; object-position: 40% 20%; } }
.betrieb-bild img { aspect-ratio: 16 / 10; object-position: 50% 50%; }
@media (min-width: 800px) { .betrieb-bild img { aspect-ratio: 4 / 3; } }
.zitat { font-family: var(--schrift-kopf); font-stretch: 103%; font-weight: 500; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
.zitat footer, .zitat cite { display: block; margin-top: 10px; font-family: var(--schrift-text); font-size: 1.125rem; font-style: normal; font-weight: 400; letter-spacing: 0; color: var(--tinte-2); }

.haken { display: grid; gap: 14px; margin-top: 22px; }
.haken li { position: relative; padding-left: 42px; }
.haken li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.12em;
  width: 28px; height: 28px;
  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='%23191917' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.hinweis-klein { margin-top: 16px; font-size: 1.125rem; color: var(--tinte-2); }

.team-text { display: grid; gap: 36px 72px; align-items: start; }
.team-text .satz { font-family: var(--schrift-kopf); font-stretch: 103%; font-weight: 500; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); line-height: 1.3; letter-spacing: -0.02em; max-width: 24em; text-wrap: balance; }
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 12px; }
.team li { text-align: center; }
.team img { width: min(100%, 120px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: var(--weiss); }
.team .name { display: block; margin-top: 10px; font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: 1.125rem; line-height: 1.25; }
.team .rolle { display: block; margin-top: 2px; font-size: 1.125rem; color: var(--tinte-2); line-height: 1.35; }
.team-mehr { margin-top: 24px; max-width: 34em; }
.team-weiter { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 36px; align-items: center; }
@media (min-width: 900px) { .team-text { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .team { grid-template-columns: repeat(5, minmax(0, 1fr)); } }


/* Zeitleiste: ruhige Foto-Kacheln, statisch */
.zeit-kopf { display: grid; gap: 14px; max-width: 40em; }
.zeit { margin-top: clamp(32px, 4vw, 56px); display: grid; gap: 36px 28px; }
.zeit-eintrag figure { overflow: hidden; border-radius: var(--radius); }
.zeit-eintrag img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.92); }
.zeit-eintrag .zoom { transform: scale(1.14); }
.zeit-jahr { margin-top: 14px; font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); letter-spacing: -0.025em; line-height: 1.1; }
.zeit-text { margin-top: 8px; max-width: 30em; font-size: 1.125rem; line-height: 1.55; color: var(--tinte-2); }
.zeit-rest { display: grid; gap: 36px 28px; }
.zeit-band { display: grid; gap: 22px 56px; align-items: center; margin-top: clamp(8px, 2vw, 24px); }
.zeit-band img { aspect-ratio: 16 / 10; }
.zeit-band .zeit-jahr { margin-top: 0; }
.zeit-band .zeit-text + .zeit-text { margin-top: 12px; }
@media (min-width: 40em) { .zeit-rest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } .zeit-eintrag img { aspect-ratio: 3 / 2; } }
@media (min-width: 52em) { .zeit-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .zeit-band img { aspect-ratio: 16 / 9; } }

/* ==========================================================================
   MUSTER: kontakt-raster, tel-gross, daten (Kontakt)
   ========================================================================== */
.kontakt-raster { display: grid; gap: 48px; margin-top: clamp(32px, 4vw, 56px); }
.tel-gross {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  font-family: var(--schrift-kopf);
  font-stretch: 105%;
  font-weight: 600;
  font-size: min(clamp(2.6rem, 1rem + 8vw, 4.6rem), 14vw);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--sonne);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease-out;
}
.tel-gross:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .tel-gross:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 0.12em; } }
.kontakt-links > * + * { margin-top: 22px; }
.kontakt-mensch { display: flex; gap: 20px; align-items: center; max-width: 34em; }
.kontakt-mensch img { flex: none; width: 112px; height: 112px; border-radius: 50%; background: var(--weiss); }
.kontakt-mensch p { font-size: 1.125rem; }
.zeiten { max-width: 32em; }
.zeiten b { color: #fff; }
.daten { display: grid; gap: 18px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--linie-dunkel); }
.daten dt { font-weight: 700; color: #fff; }
.daten dd { margin: 2px 0 0; color: var(--text-dunkel-2); }
.daten a { display: inline-flex; align-items: center; min-height: 48px; color: var(--text-dunkel); }
.daten .mehrere { display: flex; flex-wrap: wrap; gap: 0 28px; }
@media (min-width: 900px) {
  .kontakt-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .tel-gross { font-size: clamp(2.8rem, 1.2rem + 3.4vw, 4rem); }
}
@media (min-width: 68.75em) { #kontakt { padding-bottom: clamp(56px, 7vw, 96px); } }

/* == SEITE: unterseiten (Muster für alle Unterseiten) == */
/* Bausteine: pfad, seiten-held (+ --schlicht), einleitung, kennzahlen, system-karten (Vergleichskarten),
   schritte--vier, reihe--oben, fliesstext, tabelle-rahmen, hinweis-kasten, Abschnittsmaße (sektion--kompakt, sektion--eng-unten).
   Wiederverwendet werden: karten/zelle/karte, schritte, fragen-liste, foerderung, kosten-raster/balken, reihe, haken, kontakt-raster.
   Gerüste zum Kopieren: teile/LIESMICH.md, Abschnitt "Unterseiten-Muster". Referenzseite: waermepumpe.html.
   Der Name "fakten" ist von der Startseite belegt (Punktliste im Bohse-System). Die Zahlenreihe heißt deshalb "kennzahlen". */

/* Abschnittsmaße */
.sektion--kompakt { padding-block: clamp(32px, 4.5vw, 56px); }
.sektion--eng-unten { padding-bottom: clamp(24px, 3vw, 40px); }
.einleitung { margin-top: 18px; max-width: 38em; }
.einleitung + .einleitung { margin-top: 12px; }

/* Pfadzeile (Startseite › Seite), im dunklen Kopf einer Unterseite */
.pfad { font-size: 1.125rem; color: var(--text-dunkel-2); }
.pfad ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; }
.pfad li { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; }
.pfad li + li::before { content: "\203A"; content: "\203A" / ""; }
.pfad a { display: inline-flex; align-items: center; min-height: 48px; }
.pfad [aria-current="page"] { font-weight: 700; color: var(--text-dunkel); }

/* -- seiten-held: dunkler Kopfbereich einer Unterseite, Foto vor der Sonne -- */
.seiten-held { padding-block: 0 clamp(40px, 5vw, 72px); overflow-x: clip; }
@supports not (overflow: clip) { .seiten-held { overflow-x: hidden; } }
.seiten-held-raster { display: grid; gap: 28px 56px; margin-top: 8px; align-items: center; }
.seiten-held-text { min-width: 0; }
.seiten-held-text > * + * { margin-top: 20px; }
.seiten-held h1 { max-width: 14em; font-size: clamp(2.1rem, 1rem + 3.6vw, 3.4rem); line-height: 1.05; }
.seiten-held .lede { max-width: 32em; }
.seiten-aktion { display: grid; gap: 12px; margin-top: 28px; }
.seiten-aktion .knopf { width: 100%; }
.seiten-held-text .google { margin-top: 16px; }
@media (min-width: 40em) {
  .seiten-aktion { display: flex; flex-wrap: wrap; gap: 14px; }
  .seiten-aktion .knopf { width: auto; }
}
@media (max-width: 26em) { .seiten-held h1, .seiten-held .lede { hyphens: auto; } }

/* Bild: Foto (vorn) vor der Bohse-Sonne (hinten), leichte Tiefe */
.seiten-bild {
  --sb-format: 4 / 3;
  --sb-sonne: 68cqw;
  position: relative;
  isolation: isolate;
  justify-self: center;
  width: min(100%, 520px);
  margin: 0;
  container-type: inline-size;
}
.sb-raum { perspective: 1100px; perspective-origin: 50% 70%; padding-top: calc(var(--sb-sonne) / 2 + 2cqw); }
.sb-objekt { --ax: 1deg; --ay: 2.5deg; --az: 2px; position: relative; transform-style: preserve-3d; }
.sb-objekt::before {
  content: "";
  position: absolute;
  left: 66%; top: 0;
  width: 84cqw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 185, 0, 0.16) 0%, rgba(247, 185, 0, 0.06) 40%, rgba(247, 185, 0, 0) 66%);
  transform: translate(-50%, -50%) translateZ(-110px);
  pointer-events: none;
}
.sb-sonne {
  position: absolute;
  left: 66%; top: 0;
  width: var(--sb-sonne);
  height: var(--sb-sonne);
  max-width: none;
  margin-left: calc(var(--sb-sonne) / -2);
  margin-top: calc(var(--sb-sonne) / -2);
  transform: translateZ(-60px);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}
.sb-foto { position: relative; transform: translateZ(36px); filter: drop-shadow(0 24px 28px rgba(8, 5, 0, 0.55)); }
.sb-foto img { width: 100%; aspect-ratio: var(--sb-format); object-fit: cover; object-position: var(--sb-position, 50% 30%); border-radius: 14px; }
.seiten-bild figcaption { position: relative; z-index: 2; margin-top: 16px; font-size: 1.125rem; color: var(--text-dunkel-2); max-width: 30em; }
@media (min-width: 40em) { .sb-objekt { --ax: 1.5deg; --ay: 3.5deg; --az: 3px; } }
@media (min-width: 62em) {
  .seiten-held-raster { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .seiten-bild { --sb-format: 5 / 4; justify-self: end; width: min(100%, 470px); }
}
.seiten-bild--breit { --sb-format: 16 / 10; }

@keyframes sb-foto-erscheint {
  from { opacity: 0; transform: translateZ(36px) scale(1.03); filter: blur(6px) drop-shadow(0 24px 28px rgba(8, 5, 0, 0.55)); }
  to   { opacity: 1; transform: translateZ(36px) scale(1);    filter: blur(0) drop-shadow(0 24px 28px rgba(8, 5, 0, 0.55)); }
}
@keyframes sb-sonne-geht-auf {
  from { opacity: 0; transform: translateZ(-60px) rotate(-14deg) scale(0.86); }
  to   { opacity: 1; transform: translateZ(-60px) rotate(0deg) scale(1); }
}
@media (prefers-reduced-motion: no-preference) {
  .sb-objekt { animation: schweben 12s ease-in-out 1.4s infinite; will-change: transform; }
  .sb-foto { animation: sb-foto-erscheint 800ms var(--ease-out) backwards; }
  .sb-sonne { animation: sb-sonne-geht-auf 900ms var(--ease-out) 150ms backwards; }
  .seiten-held-text > * { animation: einblenden 500ms var(--ease-out) backwards; }
  .seiten-held-text .lede { animation-delay: 60ms; }
  .seiten-held-text .seiten-aktion { animation-delay: 120ms; }
  .seiten-held-text .google { animation-delay: 180ms; }
}
@media (prefers-reduced-motion: reduce) { .sb-objekt { transform: rotateX(-1deg) rotateY(2deg); } }
/* Ältere Geräte ohne Container-Einheiten (cqw): feste Maße für Sonne und Lichtschein */
@supports not (width: 1cqw) {
  .seiten-bild { --sb-sonne: 220px; }
  .sb-raum { padding-top: 120px; }
  .sb-objekt::before { width: 280px; }
}

/* seiten-held--schlicht: ohne Foto, für Textseiten (Impressum, Datenschutz) */
.seiten-held--schlicht { padding-bottom: clamp(32px, 4vw, 56px); }
.seiten-held--schlicht .seiten-held-raster { display: block; }
.seiten-held--schlicht h1 { font-size: clamp(2rem, 1rem + 3vw, 3rem); max-width: 18em; }

/* -- kennzahlen: Reihe mit 3 bis 4 großen Zahlen -- */
.kennzahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
.kennzahlen--drei { grid-template-columns: minmax(0, 1fr); }
.kennzahl { position: relative; min-width: 0; padding-top: 16px; border-top: 1px solid var(--linie); }
/* Mit Vorsatz ("bis zu" über der Zahl): oben fester Platz, damit alle Zahlen einer Reihe auf einer Linie stehen */
.kennzahlen--vor .kennzahl { padding-top: 44px; }
.kz-vor { position: absolute; left: 0; top: 14px; font-family: var(--schrift-text); font-size: 1.125rem; font-weight: 700; line-height: 1.2; color: var(--tinte-2); }
.kz-zahl {
  display: block;
  font-family: var(--schrift-kopf);
  font-stretch: 104%;
  font-weight: 600;
  font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}
.kz-text { margin-top: 8px; font-size: 1.125rem; line-height: 1.4; color: var(--tinte-2); }
.dunkel .kennzahl { border-top-color: var(--linie-dunkel); }
.dunkel .kz-zahl { color: var(--sonne); }
.dunkel .kz-vor, .dunkel .kz-text { color: var(--text-dunkel-2); }
h2 + .kennzahlen, p + .kennzahlen { margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 40em) { .kennzahlen--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 62em) { .kennzahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; } .kennzahlen--drei { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* -- system-karten: Vergleich mehrerer Möglichkeiten (Luft, Erde, Hybrid), auf hellem Grund -- */
.system-karten { margin-top: clamp(32px, 4vw, 56px); }
@media (min-width: 62em) { .system-karten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.system-karten .k-text { font-size: 1.125rem; line-height: 1.5; color: var(--tinte-2); }
.sk-marke {
  position: absolute;
  top: -15px;
  left: clamp(22px, 2.4vw, 32px);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sonne);
  color: var(--tinte);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
}
.vor-nach { display: grid; gap: 10px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--k-linie); font-size: 1.125rem; line-height: 1.45; color: inherit; }
.vor-nach li { position: relative; padding-left: 34px; }
.vor-nach li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.1em;
  width: 24px; height: 24px;
  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='%23191917' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.vor-nach .nach::before {
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A3935' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: inset 0 0 0 2px var(--tinte-2);
}

/* -- schritte--vier: vier Schritte, zwei mal zwei (die Grundform .schritte zeigt ab 62em drei Spalten) -- */
@media (min-width: 62em) { .schritte--vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* -- reihe--oben: Foto und Text oben bündig (bei langem Text neben einem Foto) -- */
.reihe--oben { align-items: start; }

/* -- fliesstext: lange Texte (Impressum, Datenschutz, Ratgeber) -- */
.fliesstext { max-width: 40em; }
.fliesstext > * + * { margin-top: 1em; }
.fliesstext h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 2rem); line-height: 1.2; letter-spacing: -0.02em; }
.fliesstext h3 { margin-top: 1.8em; font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem); line-height: 1.25; letter-spacing: -0.015em; }
.fliesstext h2 + *, .fliesstext h3 + * { margin-top: 0.6em; }
.fliesstext > :first-child { margin-top: 0; }
.fliesstext ul, .fliesstext ol { padding-left: 1.4em; }
.fliesstext ul { list-style: disc; }
.fliesstext ol { list-style: decimal; }
.fliesstext li + li { margin-top: 0.4em; }
.fliesstext li::marker { color: var(--tinte-2); font-family: var(--schrift-kopf); }
.fliesstext ul ul, .fliesstext ol ol, .fliesstext li > ul, .fliesstext li > ol { margin-top: 0.4em; }
.fliesstext dt { font-weight: 700; }
.fliesstext dd { margin: 0 0 0.8em; }
.fliesstext address { font-style: normal; }
.fliesstext a { overflow-wrap: anywhere; }
@media (max-width: 40em) { .fliesstext { hyphens: auto; } }
.dunkel .fliesstext li::marker { color: var(--text-dunkel-2); }

/* -- tabelle-rahmen: Tabelle im eigenen Rahmen, bei Platzmangel waagerecht blätterbar -- */
.tabelle-rahmen {
  --t-flaeche: #fff;
  --t-schatten: rgba(25, 25, 23, 0.22);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  background-color: var(--t-flaeche);
  background-image:
    linear-gradient(to right, var(--t-flaeche) 30%, transparent),
    linear-gradient(to left, var(--t-flaeche) 30%, transparent),
    radial-gradient(farthest-side at 0 50%, var(--t-schatten), transparent),
    radial-gradient(farthest-side at 100% 50%, var(--t-schatten), transparent);
  background-position: left center, right center, left center, right center;
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-repeat: no-repeat;
  background-attachment: local, local, scroll, scroll;
}
.tabelle-rahmen:focus-visible { border-radius: var(--radius); }
.tabelle-rahmen table { width: 100%; min-width: 30em; border-collapse: collapse; font-size: 1.125rem; line-height: 1.45; font-variant-numeric: tabular-nums lining-nums; }
.tabelle-rahmen--schmal table { min-width: 0; }
.tabelle-rahmen caption { padding: 16px 20px 8px; text-align: left; font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.tabelle-rahmen th, .tabelle-rahmen td { padding: 14px 20px; text-align: left; vertical-align: top; border-top: 1px solid var(--linie); }
.tabelle-rahmen thead th { border-top: 0; border-bottom: 2px solid var(--tinte); background: rgba(236, 233, 225, 0.6); font-weight: 700; }
.tabelle-rahmen tbody th { font-weight: 700; }
.tabelle-rahmen .rechts { text-align: right; white-space: nowrap; }
.dunkel .tabelle-rahmen { --t-flaeche: var(--nacht-2); --t-schatten: rgba(0, 0, 0, 0.5); border-color: var(--linie-dunkel); }
.dunkel .tabelle-rahmen th, .dunkel .tabelle-rahmen td { border-top-color: var(--linie-dunkel); }
.dunkel .tabelle-rahmen thead th { border-bottom-color: var(--text-dunkel); background: rgba(244, 241, 234, 0.06); }

/* -- hinweis-kasten: ruhiger Infokasten -- */
.hinweis-kasten {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  max-width: 46em;
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 30px);
  background: var(--karte-hell);
  border: 1px solid var(--linie);
  border-left: 6px solid var(--zweit);
  border-radius: 12px;
  color: var(--tinte);
}
.hinweis-kasten::before {
  content: "i";
  content: "i" / "";
  grid-column: 1;
  grid-row: 1 / span 10;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--zweit);
  color: #fff;
  font-family: var(--schrift-kopf);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}
.hinweis-kasten > * { grid-column: 2; min-width: 0; }
.hinweis-kasten > * + * { margin-top: 8px; }
.hk-titel { font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.dunkel .hinweis-kasten { background: rgba(244, 241, 234, 0.06); border-color: var(--linie-dunkel); border-left-color: var(--sonne); color: var(--text-dunkel); }
.dunkel .hinweis-kasten::before { background: var(--sonne); color: var(--tinte); }

/* kleine Ergänzung zu kontakt-mensch: Foto im Kreis zuschneiden */
.kontakt-mensch img { object-fit: cover; }

/* ==========================================================================
   MUSTER: held-euro (Euro-Zeichen aus Sonnenstrahlen, rechts im schlichten Held)
   Für Heizkostenrechner und Förderung (Inhaber, 13.10.2026). Baustein teile/held-euro.html.
   Ebenen wie bei der Sonne der Startseite: Lichtschein (-90px), Tiefe (-18px), vorn (0).
   Einstieg: die Segmente gehen nacheinander auf, die Querbalken schieben sich hinein.
   Danach schwenkt das Zeichen langsam in 3D, der Schein atmet. Ohne Bewegung steht alles still.
   ========================================================================== */
.held-euro { display: none; }
@media (min-width: 62em) {
  .seiten-held--symbol .seiten-held-raster { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .held-euro { display: block; justify-self: center; width: min(100%, 360px); margin: 0; }
}
.he-raum { perspective: 900px; perspective-origin: 50% 45%; }
.he-objekt { position: relative; aspect-ratio: 1; transform-style: preserve-3d; transform: rotateY(-10deg) rotateX(3deg); }
.he-objekt svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.he-licht {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 185, 0, 0.26) 0%, rgba(247, 185, 0, 0.09) 38%, rgba(247, 185, 0, 0) 66%);
  transform: translateZ(-90px);
  pointer-events: none;
}
.he-tiefe { transform: translateZ(-18px); }
.he-tiefe polygon { fill: #B88A00; fill-opacity: 0.55; }
.he-vorn polygon { fill: url(#he-gold); }
.he-vorn { filter: drop-shadow(0 0 22px rgba(247, 185, 0, 0.35)); }

@media (prefers-reduced-motion: no-preference) {
  .he-vorn .he-seg {
    transform-origin: 12px 0;
    animation: he-aufgehen 620ms var(--ease-out) backwards;
    animation-delay: calc(200ms + var(--i) * 70ms);
  }
  .he-vorn .he-bal {
    animation: he-balken 560ms var(--ease-out) backwards;
    animation-delay: calc(900ms + var(--i) * 120ms);
  }
  .he-tiefe { animation: he-tiefe-ein 700ms ease-out 1100ms backwards; }
  .he-licht { animation: he-licht-ein 1200ms ease-out backwards, he-atmen 6s ease-in-out 1.4s infinite; }
  .he-objekt { animation: he-schwenken 12s ease-in-out 1.6s infinite; }
}
@keyframes he-aufgehen { from { opacity: 0; transform: scale(0.55) rotate(-24deg); } to { opacity: 1; transform: none; } }
@keyframes he-balken { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes he-tiefe-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes he-licht-ein { from { opacity: 0; transform: translateZ(-90px) scale(0.7); } to { opacity: 1; transform: translateZ(-90px) scale(1); } }
@keyframes he-atmen {
  0%, 100% { opacity: 1; transform: translateZ(-90px) scale(1); }
  50% { opacity: 0.7; transform: translateZ(-90px) scale(1.06); }
}
@keyframes he-schwenken {
  0%, 100% { transform: rotateY(-10deg) rotateX(3deg); }
  25% { transform: rotateY(14deg) rotateX(-2deg) translateY(-4px); }
  50% { transform: rotateY(22deg) rotateX(1deg); }
  75% { transform: rotateY(2deg) rotateX(4deg) translateY(3px); }
}

/* ==========================================================================
   Feinschliff nach der Bedienbarkeits-Prüfung (13.10.2026)
   ========================================================================== */
/* Tabellen am Handy: Zeilen untereinander, jede Zelle mit ihrer Spaltenüberschrift (data-label) */
@media (max-width: 47.9375em) {
  .tabelle-rahmen table.stapeln { min-width: 0; }
  .stapeln, .stapeln tbody { display: block; width: 100%; }
  .stapeln thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .stapeln tr { display: block; padding: 14px 18px; border-top: 1px solid var(--linie); }
  .stapeln tbody tr:first-child { border-top: 0; }
  .stapeln tbody th, .stapeln td { display: block; padding: 2px 0; border: 0; text-align: left; }
  .stapeln tbody th { margin-bottom: 4px; }
  .stapeln td[data-label]::before { content: attr(data-label) ": "; font-weight: 700; }
  .stapeln td.rechts { text-align: left; }
}
.dunkel .stapeln tr { border-top-color: var(--linie-dunkel); }

/* Kennzahlen: lange Wörter sauber trennen statt mitten im Wort abschneiden */
.kz-text, .kz-vor { hyphens: auto; }

/* Überschriften und Einleitungen nicht mitten im Wort trennen ("Ha-ren") */
.held h1, .lede, .seiten-held h1, .seiten-held .lede { hyphens: manual; }
@media (max-width: 22.4375em) { .seiten-held h1 { font-size: 1.85rem; } }

/* Rasterspalten dürfen schmaler werden als ihr Inhalt (sonst Überlauf bei 320 px) */
.reihe > *, .kosten-raster > *, .foer-raster > *, .urk-raster > *, .kontakt-raster > *, .sektion-kopf > * { min-width: 0; }

/* Fußzeile: unterste Zeile 16 px, Spaltentitel 15 px */
.fuss-unten { font-size: 1rem; }
.fuss-titel { font-size: 0.9375rem; }

/* Links in langen Texten (Impressum, Datenschutz) mit 48 px Trefferfläche */
.fliesstext li a, .fliesstext dd a, .fliesstext address a { position: relative; }
.fliesstext li a::after, .fliesstext dd a::after, .fliesstext address a::after {
  content: "";
  position: absolute;
  left: -6px; right: -6px; top: 50%;
  height: 48px;
  transform: translateY(-50%);
}
@media (min-width: 68.75em) { .leisten-zeile a { min-width: 48px; } }

/* Rechner: Sprung zum Ergebnis am Handy */
.zum-ergebnis { margin-top: 20px; }
@media (min-width: 62em) { .zum-ergebnis { display: none; } }

/* Knöpfe brechen auf schmalen Handys um, statt über den Rand zu laufen */
.knopf { max-width: 100%; flex-wrap: wrap; row-gap: 0.15em; }

/* ==========================================================================
   SEITE: startseite, erster Bildschirm (seit 13.10.2026, Entwurf 2 vom Inhaber freigegeben)
   Jörg Suhlmann groß in der Mitte vor der aufgehenden Sonne, links Photovoltaik, rechts Wärmepumpe,
   dazwischen fließt Strom zum Blitz. Darunter der Team-Block (Text links, Gruppenfoto rechts).
   Die frühere Fassung (.held mit Teamfoto vor der Sonne) steht weiter oben und wird nicht mehr benutzt.
   ========================================================================== */
.held5 {
  position: relative;
  padding-block: clamp(18px, 2.6vw, 36px) clamp(36px, 4.5vw, 60px);
  overflow-x: clip;
  background:
    radial-gradient(ellipse 55% 65% at 50% 64%, rgba(247, 185, 0, 0.10) 0%, rgba(247, 185, 0, 0) 70%),
    var(--nacht);
}
@supports not (overflow: clip) { .held5 { overflow-x: hidden; } }
.h5-kopf { position: relative; z-index: 2; text-align: center; max-width: 52em; margin-inline: auto; }
.h5-kopf h1 { max-width: 15em; margin-inline: auto; font-size: clamp(2.1rem, 0.9rem + 3.4vw, 3.3rem); }
.h5-kopf h1 .gold { color: var(--sonne); }
.h5-lede { max-width: 36em; margin: 14px auto 0; color: #E6E2D8; font-size: 1.1875rem; }

/* Bühne: Handy oben Jörg, darunter Photovoltaik und Wärmepumpe nebeneinander */
.h5-buehne {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "mitte mitte" "pv wp";
  gap: 10px 16px;
  margin-top: clamp(14px, 2vw, 24px);
}
.h5-fluss { display: none; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
@media (min-width: 62em) { .h5-fluss { display: block; } }
.h5-fluss .bahn { fill: none; stroke: rgba(247, 185, 0, 0.22); stroke-width: 3; }
.h5-fluss .strom { fill: none; stroke: var(--sonne); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1 15; }

.h5-mitte { grid-area: mitte; position: relative; z-index: 1; margin: 0; display: grid; justify-items: center; }
.h5-raum { position: relative; display: grid; justify-items: center; width: min(100%, 330px); }
.h5-licht {
  position: absolute; left: 50%; top: 46%;
  width: 210%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 185, 0, 0.30) 0%, rgba(247, 185, 0, 0.10) 36%, rgba(247, 185, 0, 0) 64%);
  pointer-events: none;
}
.h5-sonne {
  /* Die Sonne geht hinter Jörg auf: groß, Mittelpunkt auf Schulterhöhe, nur die obere Hälfte sichtbar,
     die Strahlenspitzen laufen weich aus, damit Überschrift und Text lesbar bleiben */
  position: absolute; left: 50%; top: 60%;
  width: 175%;
  max-width: none;  /* sonst begrenzt die Grundregel img, svg { max-width: 100% } die Sonne */
  transform: translate(-50%, -50%);
  overflow: visible;
  fill: var(--sonne);
  clip-path: inset(0 0 49% 0);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 52%, rgba(0, 0, 0, 0.35) 72%, transparent 92%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 52%, rgba(0, 0, 0, 0.35) 72%, transparent 92%);
}
.h5-raum picture { position: relative; display: block; }
.h5-joerg {
  display: block;
  width: 100%;
  height: auto;
  /* feine Goldkante, damit das schwarze Polohemd sich vom Hintergrund löst */
  filter: drop-shadow(0 0 1.5px rgba(255, 213, 74, 0.55)) drop-shadow(0 24px 30px rgba(0, 0, 0, 0.55));
}
.h5-blitz {
  position: absolute; left: 50%; bottom: 7%;
  z-index: 2;
  display: grid; place-items: center;
  width: 84px; height: 84px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFD54A, var(--sonne) 55%, #E2A400);
  box-shadow: 0 0 0 6px rgba(30, 29, 26, 0.85), 0 0 34px 8px rgba(247, 185, 0, 0.45);
}
.h5-blitz svg { width: 46px; height: 46px; fill: var(--tinte); }
.h5-mitte figcaption { position: relative; z-index: 2; margin-top: 4px; text-align: center; color: var(--text-dunkel-2); font-size: 1.125rem; line-height: 1.35; }
.h5-mitte figcaption b { display: block; font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: 1.35rem; color: var(--text-dunkel); letter-spacing: -0.01em; }
.h5-mitte figcaption span { display: block; }

.h5-seite { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 6px; padding-block: 6px; color: var(--text-dunkel); text-align: center; text-decoration: none; border-radius: 16px; }
.h5-pv { grid-area: pv; }
.h5-wp { grid-area: wp; }
.h5-bild {
  display: grid; place-items: center;
  width: clamp(104px, 30vw, 190px); aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(247, 185, 0, 0.6);
  background: radial-gradient(circle, rgba(247, 185, 0, 0.14) 0%, rgba(247, 185, 0, 0) 70%), var(--nacht-2);
  color: var(--sonne);
  box-shadow: 0 0 40px rgba(247, 185, 0, 0.14);
  transition: transform 450ms var(--ease-out), border-color 200ms ease-out, box-shadow 450ms ease-out;
}
.h5-ill { width: 64%; height: auto; }
.h5-titel { margin-top: 8px; font-family: var(--schrift-kopf); font-stretch: 104%; font-weight: 600; font-size: clamp(1.3rem, 1rem + 1.2vw, 2.05rem); line-height: 1.1; letter-spacing: -0.02em; }
.h5-text { max-width: 14em; color: var(--text-dunkel-2); font-size: 1.125rem; line-height: 1.4; }
.h5-seite:focus-visible { outline: 3px solid var(--sonne); outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) {
  .h5-seite:hover .h5-bild { transform: translateY(-6px); border-color: var(--sonne); box-shadow: 0 0 60px rgba(247, 185, 0, 0.28); }
  .h5-seite:hover .h5-titel { text-decoration: underline; text-decoration-color: var(--sonne); text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
}

.h5-aktion { display: grid; gap: 12px; margin-top: clamp(18px, 2.4vw, 26px); }
.h5-aktion .knopf { width: 100%; }
.h5-sterne { display: flex; justify-content: center; margin-top: 14px; }

@media (min-width: 40em) {
  .h5-aktion { grid-auto-flow: column; justify-content: center; }
  .h5-aktion .knopf { width: auto; }
}
/* PC: links Photovoltaik, in der Mitte Jörg, rechts Wärmepumpe */
@media (min-width: 62em) {
  .h5-buehne { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "pv mitte wp"; align-items: center; gap: 0 24px; }
  .h5-raum { width: auto; height: min(48vh, 490px); aspect-ratio: 556 / 772; }
  .h5-raum picture, .h5-joerg { height: 100%; width: auto; }
  .h5-seite { padding-bottom: 12%; }
}
@media (min-width: 62em) and (max-height: 820px) {
  .h5-kopf h1 { font-size: 2.7rem; }
  .h5-lede { font-size: 1.125rem; margin-top: 10px; }
  .h5-raum { height: min(50vh, 460px); }
}

/* Einstieg: Strahlen gehen auf, Jörg blendet ein, die Seiten kommen von außen, dann fließt Strom */
@media (prefers-reduced-motion: no-preference) {
  .h5-joerg { animation: h5-ein 900ms var(--ease-out) 150ms backwards; }
  /* Erst gehen die Strahlen nacheinander auf. Danach springt reihum im Uhrzeigersinn, links beginnend,
     immer nur ein Strahl kurz auf und wird wieder normal (Inhaber, 13.10.2026: kein welliges Pulsieren).
     12 Strahlen je 0,45 s = 5,4 s Umlauf; die unteren Strahlen sind verdeckt und ergeben die Pause. */
  .h5-sonne .strahl {
    transform-origin: 0 0;
    animation: aufgehen 600ms var(--ease-out) backwards, h5-strahl-auf 5.4s ease-in-out infinite;
    animation-delay: calc(300ms + var(--i) * 45ms), calc(1.8s + var(--i) * 0.45s);
  }
  .h5-licht { animation: h5-schein 1400ms ease-out backwards, h5-atmen 7s ease-in-out 1.6s infinite; }
  .h5-pv { animation: h5-links 700ms var(--ease-out) 500ms backwards; }
  .h5-wp { animation: h5-rechts 700ms var(--ease-out) 500ms backwards; }
  .h5-blitz { animation: h5-blitz-ein 520ms var(--ease-out) 1100ms backwards, h5-puls 2.8s ease-in-out 1.8s infinite; }
  .h5-fluss { animation: h5-schein 600ms ease-out 1300ms backwards; }
  .h5-fluss .strom { animation: h5-fliessen 1.1s linear infinite; }
  .h5-kopf > * { animation: einblenden 500ms var(--ease-out) backwards; }
  .h5-lede { animation-delay: 80ms; }
}
@keyframes h5-ein { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes h5-schein { from { opacity: 0; } to { opacity: 1; } }
@keyframes h5-atmen { 0%, 100% { opacity: 1; } 50% { opacity: 0.75; } }
@keyframes h5-links { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes h5-rechts { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes h5-blitz-ein { from { opacity: 0; transform: translateX(-50%) scale(0.4) rotate(-20deg); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes h5-puls {
  0%, 100% { box-shadow: 0 0 0 6px rgba(30, 29, 26, 0.85), 0 0 34px 8px rgba(247, 185, 0, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(30, 29, 26, 0.85), 0 0 48px 14px rgba(247, 185, 0, 0.6); }
}
@keyframes h5-fliessen { to { stroke-dashoffset: -32; } }
@keyframes h5-strahl-auf {
  0%, 11%, 100% { transform: scale(1); fill: var(--sonne); }
  5% { transform: scale(1.14); fill: #FFD54A; }
}

/* Team-Block: Text links auf Dunkel, Gruppenfoto rechts, weicher Übergang von Schwarz ins Foto, keine Bewegung */
.team-block { padding-bottom: var(--abschnitt); border-top: 1px solid var(--linie-dunkel); }
.tb-buehne { position: relative; overflow: hidden; }
.tb-bild { position: relative; margin: 0; }
.tb-bild img { display: block; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 0% 30%; }
.tb-bild::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30, 29, 26, 0) 50%, rgba(30, 29, 26, 0.75) 80%, var(--nacht) 100%);
  pointer-events: none;
}
.tb-inhalt { position: relative; z-index: 1; margin-top: -32px; }
.tb-text h2 { font-size: clamp(1.9rem, 1rem + 2.4vw, 2.9rem); max-width: 14em; }
.tb-lede { margin-top: 16px; color: #E6E2D8; font-size: 1.1875rem; max-width: 30em; }
.tb-satz { margin-top: 14px; color: var(--text-dunkel-2); max-width: 30em; }
.tb-satz strong { color: var(--text-dunkel); }
.team-block .ansprech { margin-top: 24px; }
.team-block .kern { margin-top: clamp(36px, 4.5vw, 64px); }
@media (min-width: 62em) {
  .tb-bild { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; }
  .tb-bild img { height: 100%; aspect-ratio: auto; }
  .tb-bild::after {
    background:
      linear-gradient(90deg, var(--nacht) 0%, rgba(30, 29, 26, 0.7) 6%, rgba(30, 29, 26, 0.25) 14%, rgba(30, 29, 26, 0) 24%),
      linear-gradient(to top, var(--nacht) 0%, rgba(30, 29, 26, 0) 18%),
      linear-gradient(to bottom, var(--nacht) 0%, rgba(30, 29, 26, 0) 10%);
  }
  .tb-inhalt { margin-top: 0; min-height: clamp(500px, 44vw, 660px); display: flex; align-items: center; padding-block: 56px; }
  .tb-text { width: 40%; max-width: 32rem; }
}

/* ==========================================================================
   MUSTER: seiten-symbol (Inhaber, 13.10.2026)
   Piktogramm in der Bohse-Sonne statt des immer gleichen Fotos im Kopf von Photovoltaik, Heizung,
   Elektro, Bad, Kundendienst und Klima. Wie im Logo: die Sonne außen, in der Mitte das Zeichen.
   Baustein der Sonne: teile/held-sonne.html. Bewegung wie auf der Startseite: Strahlen gehen auf,
   danach springt reihum im Uhrzeigersinn ein Strahl kurz auf.
   ========================================================================== */
.seiten-symbol { position: relative; justify-self: center; width: min(58vw, 230px); aspect-ratio: 1; margin: 6px 0 0; }
@media (min-width: 62em) { .seiten-symbol { width: min(100%, 400px); margin: 0; } }
.ss-licht {
  position: absolute; inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 185, 0, 0.24) 0%, rgba(247, 185, 0, 0.08) 40%, rgba(247, 185, 0, 0) 66%);
  pointer-events: none;
}
.ss-sonne { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; fill: var(--sonne); }
.ss-kern {
  position: absolute; left: 50%; top: 50%;
  width: 41%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #36332C 0%, var(--nacht-2) 55%, #141311 100%);
  box-shadow: inset 0 0 0 2px rgba(247, 185, 0, 0.6), 0 14px 30px -10px rgba(0, 0, 0, 0.6);
  color: var(--sonne);
}
.ss-ill { width: 64%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .ss-sonne .strahl {
    transform-origin: 0 0;
    animation: aufgehen 600ms var(--ease-out) backwards, h5-strahl-auf 5.4s ease-in-out infinite;
    animation-delay: calc(250ms + var(--i) * 45ms), calc(1.6s + var(--i) * 0.45s);
  }
  .ss-kern { animation: ss-kern-ein 700ms var(--ease-out) 150ms backwards; }
  .ss-licht { animation: h5-schein 1200ms ease-out backwards, h5-atmen 7s ease-in-out 1.4s infinite; }
}
@keyframes ss-kern-ein { from { opacity: 0; transform: translate(-50%, -50%) scale(0.7); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* Downloads im Impressum: Download-Zeichen vor jeder Datei */
.fliesstext ul.downloads { list-style: none; padding-left: 0; display: grid; gap: 14px; margin-top: 16px; }
.fliesstext ul.downloads li + li { margin-top: 0; }
.dl-zeile { display: flex; align-items: flex-start; gap: 14px; }
.dl-ico { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--sonne); color: var(--tinte); }
.dl-text { min-width: 0; padding-top: 2px; }

/* Karriere ist wichtig (Inhaber, 13.10.2026): am PC als goldener Rahmen im Hauptmenü, am Handy oben im Menü */
.nav-gross a.nav-karriere { padding: 0 16px; border: 2px solid var(--sonne); border-radius: 999px; color: var(--sonne); }
.nav-gross a.nav-karriere[aria-current="page"] { background: var(--sonne); color: var(--tinte); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .nav-gross a.nav-karriere:hover { background: var(--sonne); color: var(--tinte); text-decoration: none; }
}
.menue-panel .m-karriere {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding: 12px 16px;
  min-height: 64px;
  border-radius: 14px;
  background: var(--sonne); color: var(--tinte);
  text-decoration: none;
}
.m-karriere b { display: block; font-family: var(--schrift-kopf); font-stretch: 105%; font-weight: 700; font-size: 1.3rem; line-height: 1.1; }
.m-karriere small { display: block; font-size: 1.0625rem; font-weight: 600; }
.m-karriere svg { flex: none; width: 26px; height: 26px; }
