/* Variante B2C: Sonnenfarben, ruhigere Seitenrhythmik, Startseite für Hausbesitzer.
   Wird nach styles.css geladen und überlagert nur, was sich ändert. */
:root {
  --bg: #faf9f6;            /* fast Weiß als Grundfläche */
  --beige: #ebeae5;         /* helles Grau für getönte Abschnitte, kein blasses Gelb */
  --beige-2: #f3f2ee;       /* Karten auf Grau, Felder */
  --sun: #fed21d;           /* Sonnengelb: Hauptknopf, Marker, wenige Flächen, immer mit dunkler Schrift */
  --ochre: #d6bb55;         /* gedecktes Gelb für den Kundenstimmen-Block */
  --dark: #1e1e1e;          /* dunkle Blöcke: Zahlen, Teamkasten, Footer */
  --line: #dcdad4;
  --ink: #1e1e1e;
  --ink-2: #4a4a46;
  --green: #1e1e1e;         /* Überschriften laufen in Tinte, Grün bleibt nur im Original */
  --green-2: #111;
  --green-3: #4a4a46;
  --mute: var(--ink);
  --mute-text: #66625a;
  --fs-h2: clamp(2.3rem, 4.6vw, 4.2rem);
}
h1, h2 { font-weight: 500; }
.h2, .hero__desc-title, .contact__title, .grow__head h2 { color: var(--green); }
.mute, .solutions__switch, .shero__title span { color: inherit; }
.hero__accent { color: var(--sun); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #f5c400; }
.btn--beige { background: var(--white); border-color: var(--line); }
.btn--beige:hover { background: var(--beige-2); }
.kicker { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: 12px; }
.marker { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); padding: 0 .08em; }
.site-header.is-solid { background: rgba(244, 242, 238, .92); }
.bg-beige .btn--beige { background: var(--white); }
.bg-beige .btn--beige:hover { background: var(--beige-2); }
.map .nb circle { fill: #e7d48e; }
.map .lbl-nb { fill: #9c8f5a; }

/* Kein fester Bildschirmtakt mehr: die Abschnitte sind so hoch wie ihr Inhalt */
.services, .region, .projects, .knowledge, .contact { min-height: 0 !important; padding-top: clamp(70px, 8vw, 120px) !important; padding-bottom: clamp(70px, 8vw, 120px) !important; display: block !important; }
.contact { padding-top: 0 !important; }

/* Vertrauensblock und Hausbesitzerfragen */
.trust { padding: clamp(70px, 8vw, 120px) 0; }
.trust__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.trust__text p { margin: 24px 0 30px; max-width: 46ch; color: var(--ink-2); font-size: 1.15rem; }
.trust__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.trust__facts li { background: var(--sun); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 8px; }
.trust__facts strong { font-weight: 500; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--green); }
.trust__facts span { color: var(--ink); max-width: 36ch; }

.faq { padding: clamp(70px, 8vw, 120px) 0; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head p { margin-top: 20px; max-width: 34ch; color: var(--ink-2); }
.faq__list { display: grid; grid-template-columns: 1fr; }
.faq__item { padding: 26px 0 30px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.faq__item:first-child { border-top: 0; padding-top: 0; }
.faq__item h3 { font-size: clamp(1.25rem, 1.5vw, 1.5rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.015em; color: var(--green); }
.faq__item p { color: var(--ink-2); }
.faq__item a { color: var(--orange-2); text-decoration: none; font-weight: 500; }
.faq__item a:hover { text-decoration: underline; }

/* Leistungen: die vier Original-Kacheln, Bild und Text beim Überfahren */
.services .section-head--center { text-align: left; }
.svc h3 { color: var(--ink); }
.svc h3 span { color: var(--ink-2); }
/* Ablauf mit Strichanimation */
.scene__kicker { color: var(--green); font-weight: 500; }
.scene__lead { margin-top: 14px; color: var(--ink-2); max-width: 40ch; }
.scene__more { margin-top: clamp(20px, 4vh, 36px); }
.scene__num.is-active { background: var(--green); border-color: var(--green); }
.scene__num.is-done { background: var(--beige); }

/* Lösungen ohne Tabs, Projekte, Team */
.solutions .panels { margin-top: clamp(18px, 3.5vh, 34px); }
.proj__meta { max-width: 32ch; }
.grow__quote { background: var(--beige); }
.grow__line { color: rgba(24, 79, 67, .45); }

/* Betriebe-Zeile */
.biz { padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 5vw, 70px); }
.biz__row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.biz__text { max-width: 60ch; color: var(--ink-2); }
.biz__text strong { font-weight: 500; color: var(--ink); }

/* Kontakt: Sonnengelb statt Dunkelgrün, dunkle Schrift */
.contact__card { background: var(--sun); color: var(--ink); }
.contact__lines { color: #f3c11e; opacity: .55; }
.contact__text > p { color: var(--ink); }
.contact__facts li { border-top-color: rgba(21, 50, 43, .18); }
.contact__facts span { color: var(--ink-2); }
.contact__card .accent { color: var(--green); }
.cta-card b { background: var(--beige); }

@media (max-width: 900px) {
  .trust__grid, .faq__grid, .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .svc:first-child { grid-row: auto; min-height: 420px; }
  .svc { aspect-ratio: auto; min-width: 0; }
}
@media (max-width: 420px) { .biz__row .btn { width: 100%; justify-content: center; } }


/* ---------- Aufbau nach Vorbild einer Privatkunden-Solarseite ---------- */
/* Direktanfrage: Karte mit Dachformen, daneben drei Vorteile */
.direkt { padding: clamp(24px, 3vw, 40px) 0 clamp(50px, 6vw, 90px); }
.direkt__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.direkt__grid--rev { grid-template-columns: .9fr 1.1fr; }
.direkt__card { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.direkt__card h2 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; }
.direkt__sub { margin: 12px 0 22px; color: var(--ink-2); max-width: 52ch; }
.roofs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.roof { display: grid; justify-items: center; gap: 10px; padding: 18px 10px 14px; border-radius: 18px; background: var(--bg); text-decoration: none; color: var(--ink); border: 2px solid transparent; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.roof:hover, .roof:focus-visible { border-color: var(--sun); background: var(--beige-2); }
.roof svg { width: 56px; height: 56px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.roof span { font-size: .95rem; }
.roofs--text .roof { padding: 20px 12px; gap: 4px; }
.roofs--text strong { font-weight: 600; font-size: 1.1rem; }
.roofs--text span { color: var(--ink-2); font-size: .85rem; }
.direkt__photo { margin: 0; border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.direkt__photo img { width: 100%; height: 100%; object-fit: cover; }
.usps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.usps li { display: flex; gap: 16px; align-items: center; background: var(--white); border-radius: 18px; padding: 18px 22px; color: var(--ink-2); }
.usps strong { color: var(--ink); font-weight: 600; }
.usps svg { flex: none; width: 40px; height: 40px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Vertrauen: Aussage links, dunkle Zahlenkarte rechts */
.proof { background: var(--dark); color: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.proof__num { display: grid; gap: 4px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.14); }
.proof__num:first-child { border-top: 0; padding-top: 0; }
.proof__num strong { font-weight: 500; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; color: var(--sun); font-variant-numeric: tabular-nums; }
.proof__num span { color: rgba(255,255,255,.78); max-width: 30ch; }

/* Kundenstimmen auf Ocker */
.voices { padding: 0 var(--gutter) clamp(50px, 6vw, 90px); }
.voices > .wrap { background: var(--ochre); border-radius: var(--radius); padding: clamp(36px, 5vw, 70px) clamp(24px, 4vw, 60px); }
.voices__note { font-size: .85rem; color: var(--ink-2); max-width: 32ch; text-align: right; }
.voices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.voice { margin: 0; background: var(--white); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.voice p { font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; }
.voice footer { color: var(--ink-2); font-size: .95rem; }

/* Region: Ortsabfrage */
.ortform { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.ortform input { flex: 1 1 200px; height: 50px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); padding: 0 18px; font: inherit; color: var(--ink); }
.ortform input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 3px rgba(254, 210, 29, .35); }

/* Fragen als Akkordeon */
.faq__item { padding: 0; border-top: 1px solid var(--line); }
.faq__item:first-child { border-top: 0; }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: clamp(1.15rem, 1.4vw, 1.35rem); font-weight: 500; letter-spacing: -0.01em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 500; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 22px; color: var(--ink-2); max-width: 60ch; }
.faq__item p a { color: var(--ink); font-weight: 500; }
.faq__head .btn { margin-top: 26px; }

/* Dunkle Blöcke statt Grün */
.grow__team { background: var(--dark); }
.grow__avatars img, .grow__avatars b { border-color: var(--dark); }
.footer { background: var(--dark); }
.stat, .cta-card { border-color: var(--line); }
.svc { background: var(--white); }
.map .th circle { fill: var(--white); }
.map .nb circle { fill: #ddd6c6; }
.scene__num.is-active { background: var(--dark); border-color: var(--dark); }
.trust__facts li { background: var(--sun); }
.contact__card { background: var(--sun); }
.contact__lines { color: #e9be00; }
.contact__card .accent { color: var(--ink); }
.cta-card b { background: var(--sun); }
.faq__item a, .faq__item h3 { color: var(--ink); }
.note__cat, .proj__tag, .cta-card__kicker { color: var(--ink-2); }

@media (max-width: 900px) {
  .direkt__grid, .direkt__grid--rev, .voices__grid { grid-template-columns: 1fr; }
  .roofs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .direkt__photo { min-height: 220px; order: -1; }
  .voices__note { text-align: left; }
  .ortform .btn { width: 100%; justify-content: center; }
}

/* ---------- Unterseiten ---------- */
.btn--orange, .btn--pill { background: var(--sun); color: var(--ink); }
.btn--orange:hover, .btn--pill:hover { background: #f5c400; }
.shero__fan { display: none !important; }      /* Fünf-Bilder-Fächer nur auf der Startseite */
.phead__title, .shero__title, .shero__dtitle, .whead h1, .kpage h1, .legal h1 { color: var(--ink); font-weight: 500; }
.irow__card, .hist, .hist--intro, .art__box, .more, .hist2 { background: var(--white); }
.bg-beige .irow__card, .bg-beige .hist { background: var(--white); }
.kchip input:checked + span, .hist2__list button[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.kform__msg, .form__msg { color: var(--ink); }
.cta-card__kicker { color: var(--ink-2); }

/* Vorteile als Reihe unter dem Hero */
.usps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Dachform-Auswahl */
.direkt__photo { position: relative; }
.direkt__photo img { position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.direkt__photo img.is-shown { opacity: 1; }
.roof.is-active { border-color: var(--ink); background: var(--sun); }
.roof { font: inherit; cursor: pointer; }
.roofs__next { margin: 22px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-2); }
/* Fragen: Pluszeichen in Gelb, aktive Karte */
.filters .chip.is-active { background: var(--dark); border-color: var(--dark); color: var(--white); }
@media (max-width: 900px) { .usps--row { grid-template-columns: 1fr; } }
.voices { padding-top: 0; }
.knowledge + .voices { margin-top: clamp(10px, 2vw, 30px); }

/* ---------- Markenband nach dem Hero ---------- */
.brands { padding: clamp(30px, 4vw, 60px) 0 clamp(20px, 3vw, 40px); }
.brands__kicker { text-align: center; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.brands__logos { --gap: clamp(50px, 6vw, 110px); list-style: none; margin: 0; padding: clamp(14px, 2.5vh, 26px) 0; animation-duration: 40s; }
.brands__logos li { flex: none; display: flex; align-items: center; }
.brands__logos svg { width: clamp(150px, 14vw, 210px); height: auto; opacity: .7; transition: opacity .3s var(--ease); }
.brands__logos li:hover svg { opacity: 1; }
.brands__note { text-align: center; font-size: .78rem; color: var(--mute-text); margin-top: 6px; }

/* ---------- Vertrauen: Aussage oben, Kachelraster darunter ---------- */
.trust__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: end; margin-bottom: clamp(28px, 4vw, 50px); }
.trust__head p { margin: 0 0 24px; max-width: 46ch; color: var(--ink-2); font-size: 1.15rem; }
.proofgrid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.pcard { position: relative; border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 10px; overflow: hidden; min-height: 240px; }
.pcard__kicker { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin: 0; }
.pcard__num { margin: 8px 0 0; font-weight: 600; font-size: clamp(2.6rem, 4.2vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pcard__num small { font-size: .42em; font-weight: 400; color: var(--ink-2); margin-left: 4px; }
.pcard__foot { margin-top: auto; color: var(--ink-2); }
.pcard__foot small { font-size: .78rem; color: var(--mute-text); }
.pcard--sun { grid-row: 1 / span 2; background: var(--sun); color: var(--ink); min-height: 500px; justify-content: space-between; gap: 22px; }
.pcard--sun .pcard__kicker { color: rgba(30,30,30,.65); }
.pcard--sun h3 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin: 4px 0 10px; max-width: 14ch; }
.pcard--sun .pcard__body > p:last-child { color: rgba(30,30,30,.78); max-width: 42ch; }
.pcard__pill { align-self: flex-start; background: rgba(255,255,255,.6); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; }
.pcard__badge { position: absolute; top: 22px; right: 22px; width: 64px; height: 64px; padding: 12px; background: var(--white); border-radius: 18px; color: var(--ink); }
.pcard__tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.pcard__tags span { border: 1.5px solid rgba(30,30,30,.45); border-radius: 999px; padding: 6px 14px; font-size: .85rem; }
.pcard--grey { background: #ecebe6; }
.pcard__stars { margin: 4px 0 0; color: var(--orange); letter-spacing: .08em; font-size: 1.35rem; }
.pcard--dark { background: var(--dark); color: var(--white); }
.pcard--dark .pcard__kicker, .pcard--dark .pcard__foot { color: rgba(255,255,255,.72); }
.pcard__avatars { display: flex; margin: 8px 0 0; }
.pcard__avatars img, .pcard__avatars b { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--dark); margin-left: -10px; }
.pcard__avatars img:first-child { margin-left: 0; }
.pcard__avatars b { display: grid; place-items: center; background: var(--sun); color: var(--ink); font-weight: 600; }
.pcard--photo { grid-column: 2 / span 2; color: var(--white); min-height: 280px; justify-content: space-between; }
.pcard--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.pcard--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,20,20,.72), rgba(20,20,20,.1) 70%); }
.pcard--photo .pcard__kicker, .pcard--photo .pcard__foot { color: rgba(255,255,255,.85); }
.pcard--photo { isolation: isolate; }
.pcard__over { margin-top: auto; max-width: 30ch; }

@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
@media (max-width: 900px) {
  .trust__head, .proofgrid { grid-template-columns: 1fr; }
  .pcard--sun { grid-row: auto; min-height: 0; }
  .pcard--photo { grid-column: auto; }
}

/* ---------- Knallgelb statt blass, Grau und Weiß als Hintergrund ---------- */
.marker { background: none; padding: 0; }
.scene__num.is-done { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.scene__num.is-active { background: var(--sun); border-color: var(--ink); color: var(--ink); font-weight: 600; box-shadow: 0 0 0 3px rgba(254, 210, 29, .35); }
.grow__quote { background: var(--sun); }
.grow__line { color: rgba(30,30,30,.35); }
.filters .chip.is-active { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.roof:hover, .roof:focus-visible { background: var(--sun); border-color: var(--sun); }
.direkt--alt, .knowledge { background: var(--beige); }
.knowledge { padding-top: clamp(70px, 8vw, 120px) !important; }
.direkt--alt .direkt__card, .faq__item summary::after { }
.cta-card b, .faq__item summary::after { background: var(--sun); }
.pcard--grey { background: var(--white); border: 1px solid var(--line); }
.svc { background: var(--white); }
.map .nb circle { fill: #d6d4cc; }
.btn--beige { background: var(--white); }
.note__cat, .proj__tag { color: var(--ink); background: var(--sun); display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }

/* ---------- Kundenstimmen: drei Reihen, Text- und Bildkarten, Endlosschleife ---------- */
.reviews { padding: 0 0 clamp(50px, 6vw, 90px); }
.reviews__rows { display: grid; gap: 16px; }
.reviews__track { --gap: 16px; list-style: none; margin: 0; padding: 0; align-items: stretch; }
.reviews__row--1 .marquee__track { animation-duration: 85s; }
.reviews__row--2 .marquee__track { animation-duration: 105s; animation-delay: -30s; }
.reviews__row--3 .marquee__track { animation-duration: 75s; animation-delay: -55s; }
.reviews__row:hover .marquee__track { animation-play-state: paused; }
.rcard { flex: 0 0 clamp(280px, 24vw, 360px); background: var(--white); border-radius: 20px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); }
.rcard--photo { flex-basis: clamp(200px, 17vw, 250px); padding: 0; overflow: hidden; border: 0; }
.rcard--photo img { width: 100%; height: 100%; object-fit: cover; min-height: 170px; }
.rcard__stars { margin: 0; color: var(--sun); -webkit-text-stroke: .6px #c9a400; letter-spacing: .08em; }
.rcard__text { margin: 0; font-size: 1rem; line-height: 1.4; }
.rcard__name { margin: auto 0 0; font-weight: 600; font-size: .92rem; }
.rcard__name span { font-weight: 400; color: var(--ink-2); }

/* ---------- Fünfte Runde: Ablaufpunkte, mehr Gelb ab der Karte ---------- */
.brands { padding: clamp(24px, 3vw, 44px) 0 clamp(10px, 2vw, 24px); }
.brands__logos svg { width: clamp(180px, 16vw, 250px); }
.trust__head { grid-template-columns: 1fr; margin-bottom: clamp(22px, 3vw, 40px); }
.scene__num.is-active { background: var(--dark); border-color: var(--dark); color: var(--white); box-shadow: none; }
.scene__num.is-done { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.map .hot circle { fill: var(--sun); stroke: #c9a400; stroke-width: 1; }
.map .jena-ring { stroke: var(--ink); }
.region__counts dd { color: var(--ink); background: var(--sun); display: inline-block; padding: 2px 14px; border-radius: 14px; font-size: 2rem; margin-top: 6px; }
.panel__lead { background: var(--sun); border-radius: 18px; padding: 16px 20px; display: inline-block; }
.ticks li::before { border-color: #c9a400; }
.ticks li { padding-left: 38px; }
.ticks li::after { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--sun); z-index: -1; }
.ticks li { isolation: isolate; }
.ticks li::before { left: 7px; margin-top: -6px; width: 10px; height: 6px; border-width: 2px; }
.ba__label { background: var(--sun); color: var(--ink); }
.round-btn { background: var(--sun); border-color: var(--sun); }
.round-btn:hover { background: #f5c400; }
.direkt--alt .kicker { background: var(--sun); display: inline-block; padding: 4px 10px; border-radius: 999px; color: var(--ink); }
.faq__head .btn { margin-top: 26px; }

/* ---------- Sechste Runde: Lesbarkeit auf Bildern, Gelb statt Orange ---------- */
/* Orange gibt es nur noch im Logo. Linien und Punkte werden Goldgelb, Text wird dunkel. */
:root { --orange: #e3b300; --orange-2: var(--ink); --orange-ink: var(--ink); }
/* Logo gelb: Welle Sonnengelb, „solar“ im hellen Kopf etwas dunkler für die Lesbarkeit, im dunklen Footer Sonnengelb */
.logo { --orange: var(--sun); }
.logo__word small { color: #a87f00; }
.logo--light .logo__word small { color: var(--sun); }
.accent { color: var(--ink); }
.step.is-active button { background: var(--sun); }
.ksteps__bar i { background: var(--sun); }
.facts__list li::before { color: var(--mute-text); }

/* Erfahrungskarte: Foto unter den Verlauf, Schrift unten auf dunklem Grund */
.pcard--photo img { z-index: -2; }
.pcard--photo::before { background: linear-gradient(0deg, rgba(18,18,18,.86) 0%, rgba(18,18,18,.45) 45%, rgba(18,18,18,.1) 75%), linear-gradient(90deg, rgba(18,18,18,.55), rgba(18,18,18,0) 60%); }
.pcard--photo .pcard__num { color: var(--white); }

/* Leistungskacheln: gelbe Symbolscheibe, Striche zeichnen sich beim Hereinscrollen und beim Überfahren */
.svc__icon { width: 64px; height: 64px; padding: 12px; border-radius: 50%; background: var(--sun); stroke: var(--ink); stroke-width: 2.2; transition: transform .4s var(--ease); }
.svc:hover .svc__icon, .svc:focus-within .svc__icon { stroke: var(--ink); transform: scale(1.08); }
.svc__icon path, .svc__icon rect, .svc__icon circle { stroke-dasharray: 1; stroke-dashoffset: 0; }
.svc.is-wait .svc__icon * { stroke-dashoffset: 1; }
.svc.is-draw .svc__icon * { stroke-dashoffset: 1; animation: svcDraw 1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .14s); }
@keyframes svcDraw { to { stroke-dashoffset: 0; } }
.svc::after { background: linear-gradient(180deg, rgba(18,18,18,.25) 0%, rgba(18,18,18,.35) 40%, rgba(18,18,18,.88) 100%); }
.svc:hover h3, .svc:focus-within h3 { color: var(--white); }
.svc:hover h3 span, .svc:focus-within h3 span { color: rgba(255,255,255,.78); }
@media (prefers-reduced-motion: reduce) { .svc.is-draw .svc__icon *, .svc.is-wait .svc__icon * { animation: none; stroke-dashoffset: 0; } }

/* Lösungen: Einleitungssatz ohne gelbe Fläche */
.panel__lead { background: none; padding: 0 0 0 18px; border-radius: 0; border-left: 4px solid var(--sun); display: block; }

/* Projekte auf Gelb, Karten weiß */
.projects { background: var(--sun) !important; }
.projects .h2, .projects .h2 .w { color: var(--ink); }
.projects .btn--sun { background: var(--ink); color: var(--white); }
.projects .btn--sun:hover { background: #000; }
.projects .round-btn { background: var(--ink); border-color: var(--ink); color: var(--white); }
.projects .round-btn:hover { background: #000; }
.projects .round-btn:disabled, .projects .round-btn[aria-disabled="true"] { background: rgba(30,30,30,.25); border-color: transparent; }
.projects .proj { background: var(--white); border-radius: calc(var(--radius) + 6px); padding: 10px 10px 22px; }
.projects .proj > :not(.proj__img) { margin-left: 12px; margin-right: 12px; }
.projects .proj__img { border-radius: var(--radius); }
.projects .proj__tag { background: var(--ink); color: var(--white); margin-top: 16px; }

/* Dachform: Weiter-Zeile hat immer denselben Platz */
.roofs__next { min-height: 52px; }
.roofs__next[hidden] { display: flex; visibility: hidden; }
.roofs__next [data-roof-say] { flex: 1 1 auto; }
.roofs__next .btn { margin-left: auto; }

/* Kurz erklärt: ein großer Beitrag mit Bild, zwei kleine daneben */
.knowledge__grid { grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; align-items: stretch; }
.knowledge .note { background: var(--white); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; grid-template-rows: auto auto 1fr; column-gap: 24px; }
.knowledge .note > img { grid-row: 1 / span 3; height: 100%; min-height: 220px; aspect-ratio: auto; border-radius: 0; clip-path: none; }
.knowledge .note > :not(img) { margin-right: 24px; }
.knowledge .note .note__cat { margin-top: 24px; justify-self: start; }
.knowledge .note h3 + p { padding-bottom: 24px; }
.knowledge .note:first-child { grid-row: 1 / span 2; grid-template-columns: 1fr; grid-template-rows: 1fr auto auto auto; color: var(--white); isolation: isolate; min-height: 520px; }
.knowledge .note:first-child > img { position: absolute; inset: 0; grid-row: auto; z-index: -2; }
.knowledge .note:first-child::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(18,18,18,.9) 0%, rgba(18,18,18,.55) 40%, rgba(18,18,18,0) 70%); }
.knowledge .note:first-child > :not(img) { margin-left: clamp(22px, 2.6vw, 36px); margin-right: clamp(22px, 2.6vw, 36px); }
.knowledge .note:first-child h3 { grid-row: 3; }
.knowledge .note:first-child h3 + p { grid-row: 4; }
.knowledge .note:first-child .note__cat { grid-row: 2; }
.knowledge .note:first-child h3 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.1; }
.knowledge .note:first-child h3 + p { color: rgba(255,255,255,.85); padding-bottom: clamp(22px, 2.6vw, 36px); max-width: 46ch; }
.knowledge .note:hover img { transform: scale(1.04); }
@media (max-width: 900px) {
  .knowledge__grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .knowledge .note:first-child { grid-row: auto; min-height: 420px; }
}
@media (max-width: 560px) {
  .knowledge .note { grid-template-columns: 1fr; }
  .knowledge .note > img { grid-row: auto; height: 200px; min-height: 0; }
  .knowledge .note:first-child > img { height: 100%; }
  .knowledge .note > :not(img) { margin-left: 20px; margin-right: 20px; }
}

/* Kundenstimmen: alle Karten einer Reihe gleich hoch, Fotos füllen die Karte */
.reviews__track { align-items: stretch; }
.rcard { height: 220px; overflow: hidden; }
.rcard--photo { position: relative; }
.rcard--photo img { position: absolute; inset: 0; height: 100%; min-height: 0; }
.rcard__text { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rcard__stars { color: #f5b800; -webkit-text-stroke: 0; }
.reviews__rows { -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }

/* Abschluss der Unterseiten: Titel hell, Akzent gelb, Linien nur angedeutet */
.prefoot .contact__title { color: var(--white); max-width: 18ch; }
.prefoot .accent { color: var(--sun); }
.prefoot .contact__lines { color: var(--white); opacity: .06; }

/* Szenen: gelbe Leitung mit gelbem Puls */
.scene svg .o { stroke: #e3b300; stroke-width: 2.4; }
.scene svg .o-pulse { stroke: var(--sun); stroke-width: 6; filter: drop-shadow(0 0 4px rgba(254, 210, 29, .95)); }
.scene svg .dim, .scene svg .dim * { stroke: #d1a400; }
.scene svg .lvl { fill: var(--sun); opacity: .75; }
.scene svg .lit { fill: #ffe68a; }

/* ---------- Siebte Runde ---------- */
/* Sonne mit acht Strahlen statt Liniengrafik, dreht sich langsam */
.csun { position: absolute; top: 50%; right: -26%; width: min(64vw, 820px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; z-index: 0; }
.csun g { animation: csunSpin 120s linear infinite; }
.csun line { stroke: rgba(255,255,255,.07); }
.csun line.csun__accent { stroke: var(--sun); opacity: .85; }
.contact__card .csun line { stroke: rgba(30,30,30,.06); }
.contact__card .csun line.csun__accent { stroke: var(--white); opacity: .7; }
@keyframes csunSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .csun g { animation: none; } }
@media (max-width: 700px) { .csun { right: -45%; width: 120vw; } }

/* Aufzählungen auf den Leistungsseiten: Nummern in gelben Kreisen */
.facts__list li { grid-template-columns: 52px 1fr; align-items: center; }
.facts__list li::before { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; padding: 0; font-size: .82rem; font-weight: 600; transition: transform .3s var(--ease); }
.facts__list li:hover::before { transform: scale(1.12); }
.facts__list--time li { align-items: center; }

/* Geschichte: aktive Zeile als helle Karte mit gelber Jahreszahl statt gelbem Rechteck */
@media (min-width: 901px) {
  .hist2__list button { border-radius: 0; padding-left: 14px; padding-right: 14px; transition: background .3s var(--ease), box-shadow .3s var(--ease), color .3s; }
  .hist2__list button[aria-pressed="true"] { border-radius: 16px; background: var(--white); color: var(--ink); border-color: transparent; padding-left: 14px; box-shadow: 0 10px 30px -14px rgba(30,30,30,.25); }
  .hist2__list button b { justify-self: start; padding: 2px 10px; border-radius: 999px; transition: background .3s var(--ease); }
  .hist2__list button[aria-pressed="true"] b { background: var(--sun); color: var(--ink); }

}
@media (max-width: 900px) {
  .hist2__list button[aria-pressed="true"], .hist2__list li:first-child button[aria-pressed="true"] { background: var(--sun); border-color: var(--sun); color: var(--ink); }
}

/* ---------- Achte Runde ---------- */
/* Kundenstimmen: Kopf mit Kennzeile und Begleittext, zwei Reihen, darunter das Markenband, Luft zum Kontakt */
.reviews { padding: clamp(80px, 9vw, 130px) 0 clamp(70px, 8vw, 110px); }
.reviews__head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 70px); align-items: end; margin-bottom: clamp(30px, 4vw, 56px); }
.reviews__head .kicker { background: var(--sun); color: var(--ink); display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; margin-bottom: 18px; }
.reviews__head .h2 { max-width: 14ch; }
.reviews__lead { margin: 0; font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.45; color: var(--ink); max-width: 34ch; }
.reviews__side .voices__note { margin: 14px 0 0; text-align: left; font-size: .82rem; color: var(--mute-text); }
.reviews__rows { gap: 18px; }
.reviews__row--2 .marquee__track { animation-direction: reverse; }
.rcard__stars span { color: #dcdad3; }
.reviews__brands { margin-top: clamp(40px, 5vw, 70px); padding-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line); }
.reviews__brands .brands__logos { padding: 0; }
@media (max-width: 800px) { .reviews__head { grid-template-columns: 1fr; align-items: start; } }

/* Dachform: dunkler Block mit gelben Akzenten */
.direkt--alt { background: var(--dark) !important; color: var(--white); padding: clamp(70px, 8vw, 120px) 0; }
.direkt--alt .direkt__card { background: none; padding: clamp(10px, 2vw, 30px) 0 clamp(10px, 2vw, 30px) clamp(0px, 2vw, 30px); display: flex; flex-direction: column; justify-content: center; }
.direkt--alt .direkt__card h2 { color: var(--white); font-size: clamp(2rem, 3.4vw, 3.2rem); margin-top: 6px; }
.direkt--alt .direkt__sub { color: rgba(255,255,255,.72); font-size: 1.05rem; }
.direkt--alt .roofs { gap: 14px; }
.direkt--alt .roof { background: #2a2a2a; border: 1.5px solid rgba(255,255,255,.08); color: var(--white); padding: 22px 10px 16px; }
.direkt--alt .roof svg { stroke: var(--sun); transition: transform .35s var(--ease); }
.direkt--alt .roof:hover, .direkt--alt .roof:focus-visible { background: #333; border-color: var(--sun); }
.direkt--alt .roof:hover svg { transform: translateY(-3px); }
.direkt--alt .roof.is-active { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.direkt--alt .roof.is-active svg { stroke: var(--ink); }
.direkt--alt .roofs__next { color: rgba(255,255,255,.8); }
.direkt--alt .direkt__photo { min-height: 420px; }

/* Anlagen in Ihrer Nähe: drei Zeilen mit Symbol, Zahl und Anteilsbalken */
.region__counts { grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 440px; }
.region__counts > div { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; row-gap: 8px; align-items: center; background: var(--white); border-radius: 18px; padding: 14px 18px 16px 14px; }
.region__counts > div::before { content: ""; grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: 50%; background: var(--sun) center / 24px 24px no-repeat; }
.region__counts > div:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1e1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M10 20v-5h4v5'/%3E%3C/svg%3E"); }
.region__counts > div:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1e1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20V10l6 3v-3l6 3V5h6v15z'/%3E%3Cpath d='M7 17h2M12 17h2M17 17h1'/%3E%3C/svg%3E"); }
.region__counts > div:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1e1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 20V10l9-6 9 6v10z'/%3E%3Cpath d='M8 20v-7h8v7'/%3E%3Cpath d='M8 13l8 7M16 13l-8 7'/%3E%3C/svg%3E"); }
.region__counts dt { grid-column: 2; grid-row: 1; font-size: 1rem; color: var(--ink); font-weight: 500; }
.region__counts dd { grid-column: 3; grid-row: 1; background: none !important; padding: 0 !important; margin: 0 !important; font-size: clamp(1.7rem, 2.4vw, 2.2rem) !important; font-weight: 600; line-height: 1; }
.region__counts > div::after { content: ""; grid-column: 2 / span 2; grid-row: 2; height: 6px; border-radius: 3px; background: linear-gradient(var(--sun), var(--sun)) 0 0 / calc(var(--p, 0) * 100%) 100% no-repeat, #ecebe6; }
.direkt--alt .kicker { align-self: flex-start; }
.reviews__head .h2 { max-width: 20ch; }

/* ---------- Neunte Runde ---------- */
/* Kundenstimmen: eine Reihe Bewertungen nach links, eine Reihe Hersteller nach rechts */
.reviews__row--brands .marquee__track { animation-duration: 70s; }
.reviews__rows .brands__logos { --gap: 16px; padding: 0; align-items: stretch; }
.reviews__rows .brands__logos li { flex: 0 0 clamp(220px, 19vw, 280px); height: 110px; justify-content: center; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.reviews__rows .brands__logos svg { width: 78%; opacity: .8; }
.reviews__rows .brands__logos li:hover svg { opacity: 1; }

/* Dachform: Sonnengelb, ein ganzer Bildschirm, weiße Kacheln, gewählte Kachel dunkel */
.direkt--alt { background: var(--sun) !important; color: var(--ink); min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(90px, 10vh, 120px) 0 clamp(40px, 6vh, 80px); }
.direkt--alt > .wrap { width: 100%; }
.direkt--alt .direkt__card h2 { color: var(--ink); }
.direkt--alt .direkt__sub { color: rgba(30,30,30,.78); }
.direkt--alt .kicker { background: var(--ink); color: var(--sun); }
.direkt--alt .roof { background: var(--white); border-color: transparent; color: var(--ink); box-shadow: 0 10px 24px -16px rgba(30,30,30,.45); }
.direkt--alt .roof svg { stroke: var(--ink); }
.direkt--alt .roof:hover, .direkt--alt .roof:focus-visible { background: var(--white); border-color: var(--ink); }
.direkt--alt .roof.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.direkt--alt .roof.is-active svg { stroke: var(--sun); }
.direkt--alt .roofs__next { color: var(--ink); font-weight: 500; }
.direkt--alt .roofs__next .btn--sun { background: var(--ink); color: var(--white); }
.direkt--alt .roofs__next .btn--sun:hover { background: #000; }
.direkt--alt .direkt__photo { min-height: min(62vh, 560px); box-shadow: 0 24px 50px -30px rgba(30,30,30,.55); }
/* Akzent: dieselbe Sonne wie im Abschluss der Unterseiten, rechts angeschnitten */
.direkt--alt { position: relative; overflow: hidden; isolation: isolate; }
.direkt--alt .csun { top: auto; bottom: -26%; right: -12%; transform: none; width: min(46vw, 640px); z-index: -1; }
.direkt--alt .csun line { stroke: rgba(255,255,255,.28); }
.direkt--alt .csun line.csun__accent { stroke: var(--ink); opacity: .9; }
@media (max-width: 900px) { .direkt--alt { min-height: 0; } .direkt--alt .csun { display: none; } }

/* ---------- Zehnte Runde ---------- */
/* Dachform: gelbe Karte mit runden Ecken auf hellem Grund statt Vollfläche */
.direkt--alt { background: var(--bg) !important; overflow: visible; isolation: auto; padding: clamp(90px, 11vh, 120px) 0 clamp(30px, 5vh, 60px); }
.direkt--alt > .direkt__grid { position: relative; isolation: isolate; overflow: hidden; background: var(--sun); border-radius: calc(var(--radius) + 8px); padding: clamp(22px, 3vw, 44px); width: auto; margin-left: var(--gutter); margin-right: var(--gutter); max-width: calc(1440px - 2 * var(--gutter)); }
@media (min-width: 1520px) { .direkt--alt > .direkt__grid { margin-left: auto; margin-right: auto; } }
.direkt--alt .csun { bottom: -38%; right: -10%; width: min(40vw, 560px); }
.direkt--alt .direkt__photo { min-height: min(54vh, 500px); box-shadow: none; }
.direkt--alt > .direkt__grid { flex: 1 1 auto; width: auto; min-width: 0; }

/* ---------- Unterseiten mit mehr Gelb ---------- */
/* Kennzeilen überall als gelbe Pille */
.kicker { display: inline-block; background: var(--sun); color: var(--ink); padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; }

/* Ablauf: „Was Sie davon haben“ auf Gelb, Laufbalken dunkel */
.irow__card:not(:has(.irow__img)) { background: var(--white); }
.irow__bar { background: rgba(30,30,30,.18); }
.gal__item figcaption { display: flex; align-items: center; gap: 8px; }
.gal__item figcaption::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.gal .irow__bar i { background: var(--sun); }

/* Projekte: Raster auf Gelb, weiße Karten wie auf der Startseite */
.projgrid .chip { background: var(--white); color: var(--ink); border-color: transparent; }
.projgrid .proj { background: var(--white); border-radius: calc(var(--radius) + 6px); padding: 10px 10px 22px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.projgrid .proj > :not(.proj__img) { margin-left: 12px; margin-right: 12px; }
.projgrid .proj:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(30,30,30,.5); }

/* Über uns: Sonnenscheibe hinter dem Titel, Anspruch als gelbe Karte, Werte dunkel */
.para__text p { color: var(--ink); }
.mission__grid { background: var(--sun); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 4vw, 60px); max-width: calc(1440px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
.mission .kicker { background: var(--ink); color: var(--sun); }
.mission__text .mute { color: rgba(30,30,30,.55); }
.mission img { max-height: 62vh; }
.values__bars span.is-on { background: var(--sun); }
@media (max-width: 900px) { .mission__grid { padding: 24px; } }

/* ---------- Elfte Runde: Schwarz nur im Footer, Gelb steigert sich von oben nach unten ---------- */
/* Kennzahlen unter den Seitentiteln */
.hfacts { list-style: none; margin: clamp(18px, 3vh, 30px) auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hfacts li { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 10px 20px; font-size: clamp(.95rem, 1.1vw, 1.08rem); line-height: 1.2; }
.hfacts b { font-weight: 700; }
.para__text .hfacts { margin-top: 26px; }

/* Ablauf: Vorteile auf hellem Grund, Titel der Karten als gelbe Etiketten */
.irow__card:has(.irow__img) h3 { align-self: flex-start; background: var(--sun); color: var(--ink); text-shadow: none; padding: 6px 14px; border-radius: 999px; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.irow .irow__bar i { background: var(--sun); }
/* Von der Baustelle: Bilder in gelben Rahmen, Unterschrift darin */
.gal__item { background: var(--sun); border-radius: 34px; padding: 10px 10px 14px; }
.gal__item img { border-radius: 26px; }
.gal__item figcaption { color: var(--ink); font-weight: 500; margin: 12px 8px 0; }
.gal__item figcaption::before { background: var(--ink); }
.gal .irow__bar i { background: var(--ink); }

/* Projekte: Raster auf hellem Grau, weiße Karten mit gelben Etiketten */
.projgrid { background: var(--beige); }
.projgrid .chip.is-active { background: var(--sun); color: var(--ink); }
.projgrid .proj__tag { margin-top: 16px; }

/* Abschluss der Unterseiten: gelbe Karte statt schwarz */
.prefoot__card { background: var(--sun); color: var(--ink); }
.prefoot .contact__title, .prefoot .accent { color: var(--ink); }
.prefoot .btn--orange { background: var(--ink); color: var(--white); }
.prefoot .btn--orange:hover { background: #000; }
.prefoot .csun line { stroke: rgba(30,30,30,.06); }
.prefoot .csun line.csun__accent { stroke: var(--white); opacity: .75; }
.prefoot { padding-top: clamp(40px, 5vw, 80px); }
/* Mittleres Foto: Position setzt sub.js unter den Textblock */

/* Kontaktformular: Karte hat immer dieselbe Größe, die Fragen scrollen innen */
.kform [hidden] { display: none !important; }
.kstep { padding-bottom: 28px; -webkit-mask: linear-gradient(#000 calc(100% - 28px), transparent); mask: linear-gradient(#000 calc(100% - 28px), transparent); scrollbar-width: thin; }
.kstep .kq + .kq { margin-top: 2px; }
.kstep[data-kstep="2"] .kq legend { font-size: clamp(1.05rem, 1.35vw, 1.2rem); }
@media (max-width: 900px) {
  .kcard { height: min(660px, calc(100svh - 96px)); min-height: 0; }
}

/* ---------- Zwölfte Runde ---------- */
/* Kontakt: Dankeskarte im Umschlag grün */
.ksuccess .env-card rect { fill: #2f9e5b; }

/* Über uns: gelbe Fläche hinter dem Team, Karten ragen unten heraus */
.team { position: relative; isolation: isolate; }
.team::before { content: ""; position: absolute; z-index: -1; left: var(--gutter); right: var(--gutter); top: clamp(30px, 6vh, 70px); bottom: 26%; max-width: calc(1440px - 2 * var(--gutter)); margin: 0 auto; background: var(--sun); border-radius: 40px 40px 160px 160px; }
.team .team__sub { color: var(--ink); }
.team .h2 .mute { color: rgba(30,30,30,.55); }
@media (max-width: 700px) { .team::before { border-radius: 28px 28px 80px 80px; top: -18px; bottom: 30%; } }

/* Abschluss: großer Knopf mit Pfeil im Kreis */
.prefoot__btn { height: auto; min-height: 0; line-height: 1.2; font-size: clamp(1.1rem, 1.5vw, 1.35rem); padding: 10px 10px 10px 32px; gap: 18px; border-radius: 999px; }
.prefoot__circle { display: grid; place-items: center; width: clamp(44px, 4vw, 56px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 1.2em; transition: transform .35s var(--ease); }
.prefoot__btn:hover .prefoot__circle { transform: translateX(4px) rotate(-45deg); }

/* ---------- Dreizehnte Runde: Fotokarten ohne Rand, Foto bis an die Kante ---------- */
/* Projektkarten (Startseite und Projekte): Foto füllt die Karte, Text weiß unten auf Verlauf */
.projects .proj, .projgrid .proj { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto auto auto; padding: 0; overflow: hidden; background: #2a2a2a; border-radius: calc(var(--radius) + 4px); }
.projects .proj > :not(.proj__img), .projgrid .proj > :not(.proj__img) { grid-column: 1; margin-left: clamp(18px, 2vw, 26px); margin-right: clamp(18px, 2vw, 26px); position: relative; z-index: 1; }
.projects .proj__img, .projgrid .proj__img { grid-row: 1 / -1; grid-column: 1; border-radius: 0; z-index: -1; }
.projects .proj::after, .projgrid .proj::after { content: ""; grid-row: 1 / -1; grid-column: 1; z-index: 0; background: linear-gradient(180deg, rgba(18,18,18,0) 40%, rgba(18,18,18,.55) 65%, rgba(18,18,18,.9) 100%); pointer-events: none; }
.projects .proj__tag, .projgrid .proj__tag { grid-row: 2; justify-self: start; background: var(--sun); color: var(--ink); margin-top: 0; }
.projects .proj h3, .projgrid .proj h3 { grid-row: 3; color: var(--white); margin-top: 10px; }
.projects .proj__meta, .projgrid .proj__meta { grid-row: 4; color: rgba(255,255,255,.85); margin-top: 6px; margin-bottom: clamp(18px, 2vw, 26px); }
.projects .proj:hover .proj__img img, .projgrid .proj:hover .proj__img img { transform: scale(1.05); }
.projgrid .proj:hover { transform: translateY(-4px); }

/* Ablauf „Was Sie davon haben“: vier feste Karten, Bild oben, Titel und Text darunter */
.irow .irow__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); overflow: visible; cursor: default; padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1440px; margin-left: auto; margin-right: auto; }
.irow .irow__card, .irow .irow__card:has(.irow__img) { width: auto; min-height: 0; background: none; padding: 0; overflow: visible; isolation: auto; gap: 0; transform: none !important; opacity: 1 !important; }
.irow .irow__card:has(.irow__img)::after { content: none; }
.irow .irow__card:has(.irow__img) .irow__img { position: static; width: 100%; height: auto; aspect-ratio: 1; border-radius: calc(var(--radius) + 4px); z-index: auto; }
.irow .irow__card:has(.irow__img) h3 { order: 2; align-self: auto; background: none; color: var(--ink); text-shadow: none; padding: 0; border-radius: 0; margin-top: 20px; font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; }
.irow .irow__card:has(.irow__img) p { order: 3; color: var(--ink-2); text-shadow: none; margin-top: 10px; font-size: 1.02rem; line-height: 1.5; }
.irow .irow__card:has(.irow__img) .irow__img { order: 1; }
.irow .irow__card:hover .irow__img { transform: scale(1.02); }
.irow .irow__bar { display: none; }
@media (max-width: 1000px) { .irow .irow__track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .irow .irow__track { grid-template-columns: 1fr; } }

/* Von der Baustelle: Foto bis an die Kante, Unterschrift weiß unten im Bild */
.gal__item { position: relative; background: none; padding: 0; border-radius: 28px; overflow: hidden; }
.gal__item img { border-radius: 0; }
.gal__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,0) 60%, rgba(18,18,18,.75)); pointer-events: none; }
.gal__item figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; margin: 0; color: var(--white); font-weight: 500; }
.gal__item figcaption::before { background: var(--sun); }
.gal .irow__bar i { background: var(--sun); }

/* Team: ohne Kantenmaske, damit nichts hart abgeschnitten wird */
.team .marquee { -webkit-mask-image: none; mask-image: none; }
.marquee__track { will-change: transform; }
@media (max-width: 560px) {
  .irow .irow__card, .irow .irow__card:has(.irow__img) { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 16px; align-items: start; }
  .irow .irow__card:has(.irow__img) .irow__img { grid-row: 1 / span 2; border-radius: 18px; }
  .irow .irow__card:has(.irow__img) h3 { margin-top: 2px; font-size: 1.15rem; }
  .irow .irow__card:has(.irow__img) p { margin-top: 6px; font-size: .95rem; }
}

/* ---------- Prüfrunde ChatGPT ---------- */
/* Alte Regeln für niedrige Desktopfenster (aus der Zeit fester Bildschirmhöhen) zurücknehmen:
   sie kürzten Wissenstexte mitten im Wort und blendeten Etiketten und Absätze aus */
@media (min-width: 901px) and (max-height: 760px) {
  .note h3 + p { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .proj__tag { display: inline-block; }
  .panel > p:not(.panel__lead), .contact__text > p { display: block; }
}
.note__more { display: inline-flex; }
.knowledge .note .note__more { margin-top: 14px; padding-bottom: 24px; }
.knowledge .note h3 + p { padding-bottom: 0; }
.knowledge .note:first-child .note__more { color: var(--sun); padding-bottom: clamp(22px, 2.6vw, 36px); }
.knowledge .note:first-child h3 + p { padding-bottom: 0; }

/* Projektkarten: Ausgangslage hervorgehoben, Lösung dahinter */
.proj__meta span { color: var(--white); font-weight: 600; }

/* Karte: Einfamilienhaus im Vordergrund, Gewerbe und Landwirtschaft kleiner */
.region__counts > div:not(:first-child) { padding-top: 10px; padding-bottom: 12px; }
.region__counts > div:not(:first-child)::before { width: 36px; height: 36px; background-size: 19px 19px; }
.region__counts > div:not(:first-child) dd { font-size: clamp(1.25rem, 1.7vw, 1.5rem) !important; font-weight: 500; }
.region__counts > div:not(:first-child) dt { font-size: .92rem; color: var(--ink-2); }
.region__counts > div:not(:first-child) { grid-template-columns: 36px minmax(0, 1fr) auto; }

/* Kundenstimmen: drei stehende Karten statt Laufband */
.reviews__static { list-style: none; margin: 0 auto clamp(30px, 4vw, 50px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.reviews__static .rcard { height: auto; min-height: 220px; flex: none; }
.reviews__static .rcard__text { display: block; -webkit-line-clamp: unset; overflow: visible; font-size: 1.05rem; line-height: 1.5; }
@media (max-width: 900px) { .reviews__static { grid-template-columns: 1fr; } .reviews__static .rcard { min-height: 0; } }

/* Team-Laufband: langsamer, hält beim Überfahren und bei Tastaturfokus */
.team .marquee__track { animation-duration: 110s; }
.team .marquee:hover .marquee__track, .team .marquee:focus-within .marquee__track { animation-play-state: paused; }

/* Wallbox-Bereich auf der Elektrik-Seite */
.wbox { scroll-margin-top: 90px; background: var(--beige); }
.wbox .textimg__grid { grid-template-columns: 1fr 1.1fr; }
.wbox .ticks { margin: 0 0 30px; }
@media (max-width: 900px) { .wbox .textimg__grid { grid-template-columns: 1fr; } .wbox img { order: -1; } }

/* Kontaktformular: freiwillige Fragen einklappbar */
.kmore { border: 1px solid var(--line); border-radius: 18px; padding: 0 18px; }
.kmore > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 1.05rem; font-weight: 500; }
.kmore > summary::-webkit-details-marker { display: none; }
.kmore > summary small { color: var(--mute-text); font-weight: 400; font-size: .8rem; margin-right: auto; margin-left: 8px; }
.kmore > summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); font-size: 1.1rem; transition: transform .3s var(--ease); }
.kmore[open] > summary::after { transform: rotate(45deg); }
.kmore__body { display: flex; flex-direction: column; gap: clamp(14px, 2.6vh, 22px); padding-bottom: 18px; }
/* Handy: Karte wächst mit, keine eigene Scrollfläche */
@media (max-width: 900px) {
  .kcard { height: auto !important; min-height: 0 !important; }
  .kcard .kform { height: auto; }
  .kstep { overflow: visible; -webkit-mask: none; mask: none; padding-bottom: 4px; }
}

/* Typografie: ausgeglichene Zeilen, keine Trennungen in Überschriften und kurzen Beschriftungen */
h1, h2, h3, .h2, .shero__title, .phead h1, .para__title, .contact__title, .grow__h { text-wrap: balance; -webkit-hyphens: manual; hyphens: manual; }
.btn, .chip, .kchip span, .proj__tag, .note__cat, .kicker, .hfacts li, legend, summary, .kfield > span { -webkit-hyphens: manual; hyphens: manual; }
p { text-wrap: pretty; }
/* Über uns, Zwischenbreiten: seitliche Fotos schmaler, Textblock enger, damit nichts überlappt */
@media (min-width: 701px) and (max-width: 1100px) {
  .para__img--1, .para__img--2 { width: 14vw; }
  .para__text { max-width: 64vw; }
}
.para__text p { -webkit-hyphens: manual; hyphens: manual; }
/* Projektkarten auch in niedrigen Fenstern im Hochformat */
@media (min-width: 901px) and (max-height: 760px) {
  .projects .proj { width: clamp(260px, 25vw, 340px); }
  .projects .proj__img { height: auto; aspect-ratio: 4 / 5; }
}
.proj__meta { -webkit-hyphens: manual; hyphens: manual; }
/* Wissenskarten: Weiterlesen unter dem Text */
.knowledge .note { grid-template-rows: auto auto auto 1fr; }
.knowledge .note > img { grid-row: 1 / span 4; }
.knowledge .note .note__more { grid-column: 2; align-self: start; }
.knowledge .note:first-child { grid-template-rows: 1fr auto auto auto auto; }
.knowledge .note:first-child .note__more { grid-column: 1; grid-row: 5; }
@media (max-width: 560px) {
  .knowledge .note > img { grid-row: auto; }
  .knowledge .note .note__more { grid-column: 1; }
}
.wbox { padding: clamp(70px, 8vw, 120px) 0; }
@media (max-width: 900px) { .wbox img { aspect-ratio: 4 / 3; height: auto; } }
@media (max-width: 420px) { .phead h1, .phead__title { font-size: clamp(2.1rem, 10.6vw, 2.8rem); } }

/* ---------- Galerie und Team nach Entwurf des Nutzers ---------- */
/* Kennzeile mit gelbem Punkt statt Pille */
.kicker--dot { background: none; padding: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); margin-bottom: 12px; }
.kicker--dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
/* Pfeile mit Zähler */
.hsnav { display: flex; align-items: center; gap: 14px; flex: none; }
.hsnav__btn { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(30,30,30,.35); background: transparent; color: var(--ink); cursor: pointer; transition: background .25s var(--ease), border-color .25s, transform .25s var(--ease); }
.hsnav__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hsnav__btn--next { background: var(--sun); border-color: var(--sun); }
.hsnav__btn:hover:not(:disabled) { transform: scale(1.06); }
.hsnav__btn:disabled { opacity: .35; cursor: default; }
.hsnav__count { min-width: 4.2em; text-align: center; font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .95rem; }

/* Galerie: Kopf mit Unterzeile und Pfeilen, Etikett und Unterschrift im Bild */
.gal { padding: clamp(70px, 8vw, 120px) 0; }
.gal__head { align-items: flex-end; }
.gal__head .h2 { margin: 0; }
.gal__sub { margin: 10px 0 0; color: var(--ink-2); font-size: 1.1rem; max-width: 44ch; }
.gal__item figcaption { display: grid; justify-items: start; gap: 10px; left: 22px; right: 22px; bottom: 20px; }
.gal__item figcaption::before { content: none; }
.gal__tag { background: var(--sun); color: var(--ink); border-radius: 999px; padding: 5px 14px; font-size: .9rem; font-weight: 600; }
.gal__item::after { background: linear-gradient(180deg, rgba(18,18,18,0) 55%, rgba(18,18,18,.78)); }

/* Team: ruhige Reihe mit Pfeilen statt Laufband, gelbe Fläche bleibt dahinter */
.team { padding: clamp(70px, 8vw, 120px) 0 clamp(50px, 6vw, 90px); }
.team__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-top: clamp(20px, 3vw, 40px); }
.team__head .h2 { margin: 0; max-width: 18ch; }
.team .team__sub { margin: 10px 0 0; }
.team__side { display: grid; justify-items: end; gap: 14px; }
.team__pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; background: var(--white); color: var(--ink); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: .95rem; }
.team__pill svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.team .hsnav__btn { background: var(--white); border-color: transparent; }
.team .hsnav__btn--next { background: var(--ink); color: var(--white); }
.team .hsnav__count { color: var(--ink); }
.team__track .member { flex: 0 0 clamp(220px, 21vw, 300px); }
.team__track .member img { height: auto; aspect-ratio: 1 / 1.08; border-radius: 22px; }
.team__track .member h3 { font-weight: 600; font-size: 1.2rem; }
.team .irow__bar { margin-top: 26px; }
.team .irow__bar i { background: var(--ink); }
.team::before { top: 0; bottom: 30%; }
@media (max-width: 700px) {
  .team__side { justify-items: start; }
  .team__track .member { flex-basis: 70vw; }
  .team::before { top: 0; bottom: 34%; }
  .gal__head { flex-direction: column; align-items: flex-start; }
}
.team { padding-top: clamp(30px, 4vw, 60px); }
.team__head { padding: clamp(40px, 5vw, 70px) calc(var(--gutter) + clamp(20px, 3vw, 48px)) 0; }
@media (max-width: 700px) { .team__head { padding: 36px calc(var(--gutter) + 20px) 0; } }
@media (min-width: 701px) { .team__head { padding-top: clamp(32px, 3.5vw, 52px); } }

/* ---------- Ablauf: Vorteile als gelbe Karte mit Strichzeichnung und Liste ---------- */
.bnf { padding: clamp(70px, 8vw, 120px) 0; }
.bnf__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 80px); align-items: center; margin-top: clamp(28px, 4vw, 50px); }
.bnf__card { background: var(--sun); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 3.6vw, 54px) clamp(28px, 3.6vw, 54px) clamp(20px, 2.6vw, 36px); }
.bnf__card h3 { margin: 0; font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; }
.bnf__card p { margin: 12px 0 0; max-width: 34ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.45; }
.bnf__art { display: block; width: 100%; height: auto; margin-top: clamp(18px, 3vw, 34px); overflow: visible; }
.bnf__art * { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bnf__list { list-style: none; margin: 0; padding: 0; }
.bnf__list li { padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--line); }
.bnf__list li:first-child { border-top: 0; padding-top: 0; }
.bnf__list h3 { margin: 0; font-size: clamp(1.35rem, 1.9vw, 1.75rem); font-weight: 600; letter-spacing: -0.015em; }
.bnf__list p { margin: 8px 0 0; color: var(--ink-2); font-size: 1.05rem; line-height: 1.5; max-width: 44ch; }
/* Zeichnung baut sich beim Hereinscrollen Strich für Strich auf */
.bnf__art.is-wait * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.bnf__art.is-draw * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: svcDraw 1.4s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .07s); }
@media (max-width: 900px) { .bnf__grid { grid-template-columns: 1fr; } }

/* ---------- Seitenköpfe nach Entwurf: gelber Strich über dem Titel, Kennzahlen als Text mit Trennstrichen ---------- */
.shero__title, .para__title, .phead__title, .whead__title, .kpage__title { font-weight: 600; letter-spacing: -0.03em; }
.shero__title::before, .para__title::before, .phead__title::before, .whead__title::before, .kpage__title::before {
  content: ""; display: block; width: 84px; height: 4px; border-radius: 2px; background: var(--sun); margin: 0 0 clamp(22px, 3.5vh, 40px);
}
.shero__title::before, .para__title::before { margin-left: auto; margin-right: auto; }
.shero__title span, .para__title .mute { color: inherit; }
.para__title { max-width: none; }
.para__title .mute { display: block; }
.hfacts { gap: 0; margin-top: clamp(20px, 3vh, 32px); }
.hfacts li { background: none; border-radius: 0; padding: 4px clamp(18px, 2.4vw, 34px); font-size: clamp(1.05rem, 1.5vw, 1.35rem); color: var(--ink); }
.hfacts li + li { border-left: 1.5px solid var(--line); }
.hfacts b { font-weight: inherit; }
@media (max-width: 560px) { .hfacts li { padding: 4px 14px; font-size: 1rem; } }

/* Über uns, Team: ohne gelbe Fläche, großer Titel, vier ruhige Karten */
.team::before { content: none; }
.team__head { padding: clamp(40px, 5vw, 70px) var(--gutter) 0; }
.team__title { font-weight: 700; letter-spacing: -0.035em; font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1; max-width: none; }
.team .team__sub { font-size: clamp(1.15rem, 1.7vw, 1.6rem); color: var(--ink-2); margin-top: 14px; }
.team .hsnav__btn { background: transparent; border-color: rgba(30,30,30,.35); }
.team .hsnav__btn--next { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.team .hsnav__count { color: var(--ink-2); }
.team__track .member { flex: 0 0 clamp(240px, calc((min(100vw, 1440px) - 2 * var(--gutter) - 72px) / 4), 340px); }
.team__track .member img { aspect-ratio: 4 / 5; border-radius: 18px; }
.team__track .member h3 { font-size: clamp(1.15rem, 1.4vw, 1.35rem); margin-top: 18px; }
.team .irow__bar i { background: var(--sun); }
@media (max-width: 700px) { .team__head { padding: 30px var(--gutter) 0; } .team__track .member { flex-basis: 72vw; } }
.para__title { font-size: clamp(2.4rem, 5vw, 5.4rem); }
@media (max-width: 700px) { .para__title { font-size: clamp(2.2rem, 10vw, 3rem); } }
.whead__title::before { margin-left: auto; margin-right: auto; }

/* Strichanimationen ohne Punkt am Anfang: Linien bleiben unsichtbar, bis sie gezeichnet werden */
@keyframes drawIn { 0% { stroke-dashoffset: 1; opacity: 0; } 1% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
.svc.is-wait .svc__icon *, .bnf__art.is-wait * { opacity: 0; }
.svc.is-draw .svc__icon * { animation: drawIn 1s var(--ease) both; animation-delay: calc(var(--i, 0) * .14s); }
.bnf__art.is-draw * { animation: drawIn 1.4s var(--ease) both; animation-delay: calc(var(--i, 0) * .07s); }
.ksuccess .env-check { opacity: 0; }
.ksuccess.is-in .env-check { animation: drawIn .45s ease-out 1s both; }
@media (prefers-reduced-motion: reduce) { .ksuccess .env-check, .svc .svc__icon *, .bnf__art * { opacity: 1; stroke-dashoffset: 0; animation: none; } }
.site-header.is-on-dark .logo__word small { color: var(--sun); }

/* E-Mail-Adressen: keine automatische Silbentrennung, bei Platzmangel Umbruch ohne zusätzlichen Strich */
a[href^="mailto:"] { -webkit-hyphens: none; hyphens: none; overflow-wrap: anywhere; word-break: normal; }
.art__box p { margin: 0; }
