/* ==========================================================================
   Keschsolar – Frontend
   Gestaltungsprinzip: „Sonnenbahn“. Navy und Sonnen-Orange aus dem Logo,
   die gestreifte Sonne als Leitmotiv, viel Licht und echte Fotos.
   ========================================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20AC; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF, U+20AC; }

:root {
  --navy: #173658;
  --navy-2: #102842;
  --navy-3: #0b1d31;
  --sun: #f0811a;
  --sun-2: #ff9a3c;
  --sun-ink: #b35800;      /* Orange für Text auf hellem Grund (Kontrast) */
  --sky: #2c6fb3;
  --paper: #f7f5f0;
  --sand: #eee8dc;
  --card: #ffffff;
  --text: #1c2734;
  --mute: #566373;
  --line: rgba(23, 54, 88, .14);
  --line-d: rgba(255, 255, 255, .14);
  --ok: #1f9d5c;
  --err: #c0342b;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --r: 18px;
  --r-s: 10px;
  --t: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 18px 50px -20px rgba(16, 40, 66, .35);
  --hd-h: var(--hd-d, 76px);
}

/* ---------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; hyphens: manual; scroll-behavior: smooth; scroll-padding-top: calc(var(--hd-h) + 20px); }
html[data-mlevel="none"], html[data-mlevel="soft"] { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.ico { width: 1.2em; height: 1.2em; flex: none; }

/* ----------------------------------------------------------- Typografie */
.kick { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 13px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--sun-ink); }
.kick::before { content: ""; width: 26px; height: 8px; flex: none; background: repeating-linear-gradient(to bottom, var(--sun) 0 2px, transparent 2px 3px); border-radius: 1px; }
.kick-light { color: #ffd2a6; }
.h-hero, .h1, .h2, .h3, .h4 { font-family: var(--display); color: inherit; letter-spacing: -.01em; }
.h-hero { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .98; font-weight: 800; font-stretch: 112%; white-space: pre-line; }
.h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); line-height: 1.03; font-weight: 800; font-stretch: 110%; white-space: pre-line; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.08; font-weight: 800; font-stretch: 108%; white-space: pre-line; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.18; font-weight: 750; font-stretch: 104%; }
.h4 { font-size: 1.15rem; line-height: 1.3; font-weight: 750; font-stretch: 102%; }
:is(.h-hero, .h1, .h2, .h3) em { font-style: normal; color: var(--sun-ink); }
:is(.hero, .phead, .why, .cta, .special, .renew, .career, .mt, .calc-band) :is(.h-hero, .h1, .h2, .h3) em { color: var(--sun); }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.6; max-width: 62ch; }
.lead-dark { color: var(--text); font-weight: 500; }

/* -------------------------------------------------------------- Buttons */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 2px solid transparent; border-radius: 999px; background: var(--bg); color: var(--fg); font: 750 16px/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform .25s var(--t), box-shadow .25s var(--t), background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(16, 40, 66, .55); }
.btn:active { transform: translateY(0); }
.btn-sun { --bg: var(--sun); --fg: #1a1205; }
.btn-sun:hover { --bg: var(--sun-2); box-shadow: 0 14px 30px -12px rgba(240, 129, 26, .75); }
.btn-navy { --bg: var(--navy); --fg: #fff; }
.btn-navy:hover { --bg: var(--navy-2); }
.btn-glass { --bg: rgba(255, 255, 255, .12); --fg: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn-glass:hover { --bg: #fff; --fg: var(--navy); }
.btn-line { --bg: transparent; --fg: var(--navy); border-color: var(--navy); }
.btn-line:hover { --bg: var(--navy); --fg: #fff; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 17px; }
.btn-ico { width: 20px; height: 20px; flex: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

/* ----------------------------------------------- Leitmotiv: Streifensonne */
.sunmark { --s: 64px; display: block; width: var(--s); aspect-ratio: 1; border-radius: 50%; flex: none; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--sun) 0 50%, transparent 50%),
    repeating-linear-gradient(to bottom, var(--sun) 0 7%, transparent 7% 11.5%); }
.sunmark-xl { --s: clamp(240px, 34vw, 520px); position: absolute; opacity: .9; }
.sunmark-hero { --s: clamp(300px, 44vw, 720px); position: absolute; }

/* --------------------------------------------------- Fortschritt & Hinweise */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--sun); transform-origin: 0 50%; transform: scaleX(0); }
.maint-bar { position: relative; z-index: 130; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; padding: 9px 16px; background: #ffd23f; color: #1a1205; font-size: 14px; }
.maint-bar a { font-weight: 800; }
.maint-bar-prev { background: #cfe4ff; }

/* --------------------------------------------------------------- Header */
.hd { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; outline: none; }
.hd.is-scrolled { box-shadow: 0 10px 30px -18px rgba(16, 40, 66, .45); border-bottom-color: var(--line); }
.hd-top { background: var(--navy); color: #d9e3ef; font-size: 13.5px; }
.hd-top-in { display: flex; justify-content: space-between; gap: 20px; padding-block: 7px; }
.hd-top span, .hd-top a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.hd-top-r { display: flex; gap: 22px; }
.hd-top a:hover { color: #fff; }
.hd-top .ico { width: 15px; height: 15px; color: var(--sun); }
.hd-in { display: flex; align-items: center; gap: 22px; min-height: var(--hd-h); }
.hd-logo { display: block; flex: none; }
.hd-logo-img { width: var(--logo-w, 230px); height: auto; }
.wordmark { font: 800 24px/1 var(--display); color: var(--navy); }
.hd-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nl { position: relative; padding: 10px 12px; color: var(--navy); font-weight: 700; font-size: 15.5px; text-decoration: none; border-radius: 8px; white-space: nowrap; display: inline-flex; align-items: center; gap: 7px; }
.nl::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--t); }
.nl:hover::after, .nl[aria-current="page"]::after { transform: scaleX(1); }
.nl-calc { display: none; }
.hd-nav-extra { display: none; }
.hd-tel { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 15.5px; line-height: 1.15; white-space: nowrap; }
.hd-tel .ico { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: var(--sand); color: var(--navy); }
.hd-tel small { display: block; font-weight: 600; font-size: 12px; color: var(--mute); }
.hd-burger { display: none; width: 46px; height: 46px; margin-left: 4px; border: 0; border-radius: 12px; background: var(--sand); cursor: pointer; position: relative; }
.hd-burger span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--t), opacity .2s; }
.hd-burger span:nth-child(1) { top: 15px; } .hd-burger span:nth-child(2) { top: 22px; } .hd-burger span:nth-child(3) { top: 29px; }
.hd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) { .hd-tel span { display: none; } .hd-tel .ico { width: 42px; height: 42px; } }
@media (max-width: 1080px) {
  .hd { backdrop-filter: none; background: #fff; } /* backdrop-filter würde das fixierte Menü einsperren */
  .hd-top { display: none; }
  .hd-tel { display: none; }
  .hd-burger { display: block; }
  .hd-cta { margin-left: auto; }
  .hd-nav { position: fixed; inset: var(--hd-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 18px var(--gut) 40px; background: var(--paper); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--t), visibility .35s; }
  .hd-nav.is-open { transform: none; visibility: visible; }
  .nl { padding: 15px 4px; font-size: 1.35rem; font-family: var(--display); font-stretch: 108%; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nl::after { display: none; }
  .nl[aria-current="page"] { color: var(--sun-ink); }
  .nl-calc { display: flex; color: var(--sun-ink); }
  .hd-nav-extra { display: grid; gap: 10px; margin-top: 26px; }
  .hd-nav-extra a { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; text-decoration: none; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .hd-logo-img { width: var(--logo-w-m, 170px); }
  .hd-in { min-height: var(--hd-m, 66px); gap: 10px; }
  .hd-nav { inset: var(--hd-m, 66px) 0 0 0; }
  .hd-cta { padding: 9px 14px; }
}
@media (max-width: 400px) { .hd-cta span { display: none; } .hd-cta { width: 46px; height: 46px; padding: 0; } }

/* ----------------------------------------------------------------- Hero */
.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; min-height: min(86vh, 860px); display: flex; align-items: center; background: var(--navy-2); }
.hero-bg, .phead-bg { position: absolute; inset: 0; z-index: -2; }
.hero-img, .phead-img, .hero-bg .ph, .phead-bg .ph { width: 100%; height: 100%; object-fit: cover; }
.hero-img { object-position: 70% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(11, 29, 49, .94) 0%, rgba(16, 40, 66, .84) 38%, rgba(16, 40, 66, .25) 72%, rgba(16, 40, 66, .1) 100%),
  linear-gradient(0deg, rgba(11, 29, 49, .55), transparent 40%); }
.sunmark-hero { right: -9%; top: -22%; z-index: -1; opacity: .95; animation: sunrise 1.6s var(--t) both; }
@keyframes sunrise { from { transform: translateY(18%); opacity: 0; } to { transform: none; opacity: .95; } }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(28px, 5vw, 72px); align-items: end; padding-block: clamp(70px, 10vw, 130px) clamp(60px, 8vw, 100px); }
.hero-copy .lead { color: #e3ebf4; margin-top: 22px; }
.hero-card { position: relative; display: grid; gap: 10px; padding: 26px 26px 22px; border-radius: var(--r); background: rgba(255, 255, 255, .96); color: var(--text); text-decoration: none; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); transition: transform .35s var(--t); }
.hero-card:hover { transform: translateY(-6px); }
.hero-card-badge { position: absolute; top: -14px; left: 22px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; }
.hero-card-h { font: 800 1.3rem/1.2 var(--display); font-stretch: 106%; color: var(--navy); }
.hero-card-t { color: var(--mute); font-size: 15px; line-height: 1.5; }
.hero-card-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 800; color: var(--sun-ink); }
.hero-card-go .ico:last-child { transition: transform .3s var(--t); }
.hero-card:hover .hero-card-go .ico:last-child { transform: translateX(5px); }
.daycurve { width: 100%; height: auto; margin-bottom: 4px; overflow: visible; }
.daycurve text { font: 600 10px var(--body); fill: var(--mute); }
.dc-grid { stroke: var(--line); stroke-width: 1; fill: none; stroke-dasharray: 3 4; }
.dc-line { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 0; animation: dcdraw 2.2s .4s var(--t) both; }
.dc-area { animation: fadein 1.2s 1.2s both; }
.dc-sun { fill: var(--sun); stroke: #fff; stroke-width: 3; transform: translate(140px, 14px); }
@supports (offset-path: path("M0 0")) {
  .dc-sun { transform: none; offset-path: path("M10 104 C 60 104, 85 14, 140 14 S 220 104, 270 104"); offset-distance: 50%; offset-rotate: 0deg; animation: dcsun 2.2s .4s var(--t) both; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-in { grid-template-columns: 1fr; align-items: start; padding-block: 56px 48px; gap: 40px; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 29, 49, .9) 0%, rgba(16, 40, 66, .8) 55%, rgba(11, 29, 49, .92) 100%); }
  .sunmark-hero { --s: 220px; right: -90px; top: -80px; opacity: .9; }
  .hero-card { max-width: 440px; }
}
@keyframes dcdraw { from { stroke-dashoffset: 340; } }
@keyframes dcsun { from { offset-distance: 0%; } to { offset-distance: 50%; } }
@keyframes fadein { from { opacity: 0; } }

/* ---------------------------------------------------------------- Zahlen */
.facts { background: var(--navy); color: #fff; position: relative; }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 20px 30px; text-align: center; border-left: 1px solid var(--line-d); }
.fact:first-child { border-left: 0; }
.fact-v { margin: 0; font: 800 clamp(2rem, 3.6vw, 3.1rem)/1 var(--display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.fact-v small { margin-left: 4px; font-size: .5em; color: var(--sun); font-weight: 800; }
.fact-l { margin: 8px 0 0; color: #c5d3e2; font-size: 15px; }
.facts-plain { background: var(--sand); color: var(--navy); }
.facts-plain .fact { border-color: var(--line); }
.facts-plain .fact-l { color: var(--mute); }
.facts-plain .fact-v small { color: var(--sun-ink); }
@media (max-width: 760px) { .facts-in { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line-d); } .facts-plain .fact:nth-child(n+3) { border-top-color: var(--line); } }

/* ------------------------------------------------------------- Abschnitte */
.sec { padding-block: clamp(72px, 9vw, 130px); position: relative; }
.sec-head { max-width: 760px; margin-bottom: clamp(34px, 4vw, 56px); }
.sec-head-c { margin-inline: auto; text-align: center; }
.sec-head-c .kick { justify-content: center; }
.sec-head .h2 { color: var(--navy); }
.sec-head-light .h2 { color: #fff; }
.sec-head-light .kick { color: #ffd2a6; }
.sec-t { margin: 18px 0 0; color: var(--mute); font-size: 1.08rem; }
.sec-head-c .sec-t { margin-inline: auto; max-width: 62ch; }
.sec-head-light .sec-t { color: #cbd8e6; }
.ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1205' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat; }
.ticks-light li { color: #fff; }

/* ------------------------------------------------- Solarrechner-Hinweis */
.calc-teaser { background: var(--sand); overflow: hidden; }
.calc-teaser-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.calc-teaser-img { position: relative; display: grid; place-items: center; min-height: 380px; }
.calc-teaser-img .sunmark-xl { --s: min(460px, 92%); top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: .95; }
.ct-img { position: relative; width: min(520px, 100%); filter: drop-shadow(0 28px 30px rgba(16, 40, 66, .25)); }
.calc-teaser-copy .h2 { color: var(--navy); }
@media (max-width: 860px) { .calc-teaser-in { grid-template-columns: 1fr; } .calc-teaser-img { min-height: 300px; order: 2; } }

/* ------------------------------------------------------------ Zielgruppen */
.aud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card { position: relative; isolation: isolate; min-height: 520px; display: flex; align-items: flex-end; border-radius: var(--r); overflow: hidden; color: #fff; background: var(--navy); }
.aud-img { position: absolute; inset: 0; z-index: -2; }
.aud-pic, .aud-img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--t); }
.aud-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 29, 49, 0) 20%, rgba(11, 29, 49, .78) 58%, rgba(11, 29, 49, .96) 100%); }
.aud-card:hover .aud-pic { transform: scale(1.06); }
.aud-body { padding: 30px 28px; }
.aud-body p { color: #dae4ef; font-size: 15.5px; }
.aud-h { font: 800 1.75rem/1.1 var(--display); font-stretch: 108%; margin: 0 0 12px; }
.aud-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; color: #fff; font-weight: 800; text-decoration: none; }
.aud-link span { background: linear-gradient(var(--sun), var(--sun)) 0 100%/0 2px no-repeat; transition: background-size .35s var(--t); padding-bottom: 2px; }
.aud-link:hover span { background-size: 100% 2px; }
.aud-link .ico { color: var(--sun); transition: transform .3s var(--t); }
.aud-link:hover .ico { transform: translateX(5px); }
.aud-link::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 960px) { .aud { grid-template-columns: 1fr; } .aud-card { min-height: 420px; } }

/* -------------------------------------------- Leistungen auf der Sonnenbahn */
.svc { background: #fff; }
.arc { position: relative; }
.arc-line { position: absolute; left: 0; top: 0; width: 100%; height: 220px; overflow: visible; }
.arc-line path { fill: none; stroke: var(--sun); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity 1s .2s; }
.arc.is-in .arc-line path { opacity: 1; }
.arc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.arc-i { text-align: center; padding-inline: 6px; }
.arc-i:nth-child(1), .arc-i:nth-child(5) { padding-top: 136px; }
.arc-i:nth-child(2), .arc-i:nth-child(4) { padding-top: 58px; }
.arc-i:nth-child(3) { padding-top: 32px; }
.arc-dot { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 0 0 7px #fff, 0 0 0 9px rgba(240, 129, 26, .35); transition: background .3s, transform .4s var(--t); }
.arc-dot .ico { width: 26px; height: 26px; }
.arc-i:hover .arc-dot { background: var(--sun); color: #1a1205; transform: translateY(-4px); }
.arc-i h3 { font: 800 1.2rem/1.2 var(--display); font-stretch: 104%; color: var(--navy); margin-bottom: 8px; }
.arc-i p { color: var(--mute); font-size: 15px; line-height: 1.55; margin: 0; }
.arc .arc-i { opacity: 1; }
html:not([data-mlevel="none"]) .arc:not(.is-in) .arc-i { opacity: 0; transform: translateY(16px); }
.arc-i { transition: opacity .6s var(--t), transform .6s var(--t); }
.arc.is-in .arc-i:nth-child(2) { transition-delay: .1s; } .arc.is-in .arc-i:nth-child(3) { transition-delay: .2s; } .arc.is-in .arc-i:nth-child(4) { transition-delay: .3s; } .arc.is-in .arc-i:nth-child(5) { transition-delay: .4s; }
@media (max-width: 960px) {
  .arc-line { display: none; }
  .arc-list { grid-template-columns: 1fr; gap: 0; border-left: 2px dashed rgba(240, 129, 26, .6); margin-left: 27px; }
  .arc-i, .arc-i:nth-child(n) { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; text-align: left; padding: 0 0 28px; margin-left: -29px; }
  .arc-dot { grid-row: span 2; margin: 0; }
  .arc-i h3 { align-self: end; margin: 6px 0 2px; }
}

/* ------------------------------------------------------- Gründe (dunkel) */
.why { background: var(--navy-2); color: #fff; overflow: hidden; isolation: isolate; }
.why-sun { display: none; }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-i { padding: 28px 24px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); transition: background .3s, transform .4s var(--t); }
.why-i:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.why-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sun); color: #1a1205; margin-bottom: 20px; }
.why-ico .ico { width: 26px; height: 26px; }
.why-i h3 { font: 800 1.25rem/1.2 var(--display); font-stretch: 104%; margin-bottom: 8px; }
.why-i p { color: #c5d3e2; font-size: 15.5px; margin: 0; }
@media (max-width: 1000px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards4 { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- Dach-Banner */
.roof { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.roof-img { position: relative; }
.roof-pic, .roof-img .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.roof-badge, .phead-badge { position: absolute; display: grid; place-items: center; align-content: center; width: 150px; aspect-ratio: 1; border-radius: 50%; margin: 0; background: var(--sun); color: #1a1205; text-align: center; line-height: 1.05; box-shadow: 0 0 0 10px var(--paper); }
.roof-badge { right: -24px; bottom: -24px; }
.roof-badge strong, .phead-badge strong { font: 800 1.9rem/1 var(--display); font-stretch: 108%; }
.roof-badge small, .phead-badge small { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 860px) { .roof { grid-template-columns: 1fr; } .roof-badge { right: 12px; width: 120px; } .roof-badge strong { font-size: 1.5rem; } }

/* --------------------------------------------------------------- Partner */
.partners { padding-block: 46px 64px; border-top: 1px solid var(--line); }
.partners-h { text-align: center; color: var(--mute); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }
.partners-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px clamp(30px, 5vw, 64px); }
.partners-list img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.partners-list li:hover img { filter: none; opacity: 1; }
.partners-list span { font: 800 1.35rem/1 var(--display); font-stretch: 112%; color: #8d97a3; letter-spacing: .02em; }

/* ------------------------------------------------------------- Anfrage */
.inquiry { background: linear-gradient(180deg, var(--paper), var(--sand)); }
.inquiry-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.contact-mini { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-mini a, .cm-static { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 800; transition: border-color .2s, transform .3s var(--t); }
.contact-mini a:hover { border-color: var(--sun); transform: translateX(4px); }
.contact-mini .ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--sand); color: var(--sun-ink); }
.contact-mini small { display: block; font-weight: 600; font-size: 12.5px; color: var(--mute); }
.form-card { background: #fff; border-radius: var(--r); padding: clamp(22px, 3.4vw, 42px); box-shadow: var(--shadow); border-top: 5px solid var(--sun); }
.form-card-h { color: var(--navy); margin-bottom: 18px; }
@media (max-width: 900px) { .inquiry-in { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Formular */
.cf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cf-f { display: grid; gap: 6px; min-width: 0; }
.cf-full { grid-column: 1 / -1; }
.cf label, .cf legend { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.cf input[type="text"], .cf input[type="email"], .cf input[type="tel"], .cf input[type="number"], .cf input[type="date"], .cf select, .cf textarea { width: 100%; padding: 13px 15px; border: 1.5px solid #cdd5df; border-radius: var(--r-s); background: #fbfcfd; font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s; }
.cf textarea { resize: vertical; min-height: 140px; }
.cf :is(input, select, textarea):focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(240, 129, 26, .25); }
.cf fieldset { border: 0; margin: 0; padding: 0; }
.cf-chips { display: flex !important; flex-wrap: wrap; gap: 8px; }
.cf-chips legend { margin-bottom: 8px; width: 100%; }
.cf-chips .cf-opt { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid #cdd5df; border-radius: 999px; background: #fff; font-weight: 600; font-size: 14.5px; color: var(--text); cursor: pointer; transition: all .2s; }
.cf-chips .cf-opt:has(input:checked) { background: var(--navy); border-color: var(--navy); color: #fff; }
.cf-chips .cf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cf-chips .cf-opt:has(input:focus-visible) { outline: 3px solid var(--sun); outline-offset: 2px; }
.cf-opt { display: flex; gap: 10px; align-items: flex-start; font-weight: 500 !important; color: var(--text) !important; }
.cf-opt input[type="checkbox"], .cf-opt input[type="radio"] { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.cf-consent { font-size: 14.5px; }
.cf-consent a { color: var(--sun-ink); font-weight: 700; }
.req { color: var(--err); }
.cf-help { color: var(--mute); font-size: 13.5px; }
.cf-err { color: var(--err); font-weight: 700; font-size: 13.5px; }
.has-err :is(input, select, textarea) { border-color: var(--err) !important; }
.cf-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.cf-submit small { color: var(--mute); }
.cf-heading { font: 800 1.2rem/1.2 var(--display); color: var(--navy); margin-top: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { padding: 30px; border-radius: var(--r-s); background: #e9f7ef; border-left: 5px solid var(--ok); outline: none; }
.form-ok-h { font: 800 1.4rem/1.2 var(--display); color: var(--ok); margin-bottom: 8px; }
.form-err { padding: 14px 18px; border-radius: var(--r-s); background: #fdeceb; color: var(--err); font-weight: 700; margin-bottom: 18px; outline: none; }
@media (max-width: 600px) { .cf { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- Seitenkopf */
.phead { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--navy-2); min-height: min(64vh, 620px); display: flex; align-items: center; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 29, 49, .92) 0%, rgba(16, 40, 66, .78) 45%, rgba(16, 40, 66, .2) 100%); }
.phead-in { padding-block: clamp(70px, 9vw, 120px); }
.phead .lead { color: #e1e9f2; margin-top: 20px; }
.phead-sun { --s: clamp(240px, 30vw, 460px); right: -6%; top: -26%; z-index: -1; opacity: .95; }
.phead-badge { right: max(var(--gut), calc((100vw - var(--max)) / 2)); bottom: 40px; box-shadow: 0 0 0 10px rgba(255, 255, 255, .15); }
.phead-s { min-height: 0; background: radial-gradient(120% 140% at 85% 0%, #24507f 0%, var(--navy) 45%, var(--navy-2) 100%); }
.phead-s::before { display: none; }
.phead-s .phead-in { padding-block: clamp(60px, 7vw, 100px); }
.phead-s .phead-sun { --s: clamp(220px, 28vw, 420px); right: -4%; top: auto; bottom: -55%; opacity: .95; }
.phead-calc-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.pc-img { width: min(380px, 100%); margin-inline: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .35)); }
@media (max-width: 860px) {
  .phead-badge { width: 110px; bottom: 20px; } .phead-badge strong { font-size: 1.4rem; }
  .phead-calc-in { grid-template-columns: 1fr; } .phead-calc-img { display: none; }
}
@media (max-width: 560px) { .phead-badge { display: none; } .phead-sun, .phead-s .phead-sun { --s: 200px; right: -80px; top: -90px; bottom: auto; } }

/* -------------------------------------------------------- Gewerbe */
.usp { background: #fff; border-bottom: 1px solid var(--line); }
.usp-in { display: grid; grid-template-columns: repeat(3, 1fr); }
.usp-i { display: flex; gap: 18px; padding: 34px 26px; border-left: 1px solid var(--line); }
.usp-i:first-child { border-left: 0; padding-left: 0; }
.usp-ico, .ben-ico { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 14px; background: #fdebd9; color: var(--sun-ink); }
.usp-ico .ico, .ben-ico .ico { width: 26px; height: 26px; }
.usp-i h2 { color: var(--navy); margin-bottom: 6px; }
.usp-i p { margin: 0; color: var(--mute); font-size: 15.5px; }
@media (max-width: 900px) { .usp-in { grid-template-columns: 1fr; } .usp-i, .usp-i:first-child { border-left: 0; padding: 24px 0; border-top: 1px solid var(--line); } .usp-i:first-child { border-top: 0; } }

.zig { display: grid; gap: clamp(50px, 7vw, 100px); }
.zig-i { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.zig-i:nth-child(even) .zig-img { order: 2; }
.zig-pic, .zig-img .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.zig-img-soft .zig-pic { object-fit: cover; }
.zig-copy { position: relative; }
.zig-copy .h3 { color: var(--navy); margin-bottom: 14px; }
.zig-copy p { color: #3d4a59; }
.zig-n { display: block; font: 800 3.4rem/1 var(--display); font-stretch: 120%; color: transparent; -webkit-text-stroke: 1.5px var(--sun); margin-bottom: 10px; }
.zig-lead { font: 750 1.15rem/1.4 var(--display); color: var(--sun-ink) !important; font-stretch: 102%; }
@media (max-width: 860px) { .zig-i { grid-template-columns: 1fr; } .zig-i:nth-child(even) .zig-img { order: 0; } }

.models { background: var(--sand); }
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.model { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--t), box-shadow .4s var(--t); }
.model:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.model .h3 { color: var(--navy); margin-bottom: 14px; }
.model p:not(.kick) { color: var(--mute); flex: 1; }
.model-hi { background: var(--navy); color: #fff; border-color: var(--navy); }
.model-hi .h3 { color: #fff; }
.model-hi p:not(.kick) { color: #c9d6e4; }
.model-hi .kick { color: #ffd2a6; }
.model-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 800; color: var(--sun-ink); text-decoration: none; }
.model-hi .model-link { color: var(--sun); }
.model-link::after { content: "→"; transition: transform .3s var(--t); }
.model-link:hover::after { transform: translateX(5px); }
@media (max-width: 900px) { .models-grid { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split-pic, .split-img .ph { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.numlist { list-style: none; counter-reset: n; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.numlist li { counter-increment: n; display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff; border-radius: var(--r-s); border: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.numlist li::before { content: counter(n); display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--sun); color: #1a1205; font: 800 15px var(--display); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.special { background: var(--navy); color: #fff; overflow: hidden; }
.special-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.special-imgs { position: relative; min-height: 420px; }
.sp-a, .sp-b { position: absolute; object-fit: cover; border-radius: var(--r); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.sp-a { left: 0; top: 0; width: 78%; aspect-ratio: 4/3; }
.sp-b { right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 6px solid var(--navy); }
.special-imgs .ph { position: absolute; inset: 0; }
@media (max-width: 860px) { .special-in { grid-template-columns: 1fr; } .special-imgs { min-height: 0; aspect-ratio: 5/4; } }

/* --------------------------------------------------------- Abschluss */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(70px, 9vw, 120px); background: radial-gradient(120% 120% at 100% 100%, #24507f 0%, var(--navy) 45%, var(--navy-2) 100%); color: #fff; text-align: center; }
.cta-sun { --s: clamp(220px, 24vw, 380px); left: 50%; bottom: calc(var(--s) * -.62); transform: translateX(-50%); opacity: 1; z-index: -1; }
.cta-in { position: relative; padding-bottom: clamp(70px, 9vw, 120px); }
.cta-in { max-width: 860px; }
.cta-t { margin: 18px auto 0; max-width: 60ch; color: #d4dfeb; font-size: 1.1rem; }
.cta .cta-row { justify-content: center; }
.cta-s { padding-block: clamp(56px, 7vw, 90px); }

/* --------------------------------------------------------------- Privat */
.steps-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: clamp(50px, 6vw, 80px); }
.steps-nav a { display: grid; gap: 4px; justify-items: start; padding: 18px 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; font: 800 1.08rem/1.2 var(--display); font-stretch: 104%; transition: border-color .2s, transform .3s var(--t), box-shadow .3s; }
.steps-nav a:hover { border-color: var(--sun); transform: translateY(-4px); box-shadow: var(--shadow); }
.steps-nav small { font: 700 12.5px/1 var(--body); color: var(--sun-ink); text-transform: uppercase; letter-spacing: .1em; }
.steps-nav-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; margin-bottom: 10px; }
.steps-nav-ico .ico { width: 24px; height: 24px; }
@media (max-width: 860px) { .steps-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps-nav a { font-size: .98rem; hyphens: auto; overflow-wrap: anywhere; } }
.zig-steps .zig-pic { aspect-ratio: 4/3; background: #fff; }
.meter { margin-top: 24px; padding: 18px 20px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); }
.meter-bar { height: 12px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, var(--sun) 0 14px, var(--sun-2) 14px 18px); transition: width 1.4s var(--t); }
.rv-in .meter-fill, html[data-mlevel="none"] .meter-fill, .zig-i:not(.rv) .meter-fill { width: var(--w, 0); }
.m-10 { --w: 10%; } .m-20 { --w: 20%; } .m-30 { --w: 30%; } .m-40 { --w: 40%; } .m-50 { --w: 50%; } .m-60 { --w: 60%; } .m-70 { --w: 70%; } .m-80 { --w: 80%; } .m-90 { --w: 90%; } .m-100 { --w: 100%; }
.meter-l { display: flex; justify-content: space-between; margin: 10px 0 0; font-size: 14.5px; color: var(--mute); }
.meter-l strong { color: var(--navy); font-family: var(--display); font-size: 1.05rem; }

.calc-band { background: var(--navy); color: #fff; }
.calc-band-in { display: flex; align-items: center; gap: 28px; padding-block: 38px; }
.calc-band-in > div { flex: 1; }
.calc-band .kick { margin-bottom: 8px; }
.calc-band .sunmark { --s: 76px; }
@media (max-width: 760px) { .calc-band-in { flex-direction: column; align-items: flex-start; } .calc-band .sunmark { display: none; } }

.benefits { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.ben-pic, .benefits-img .ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.ben h3 { color: var(--navy); margin: 14px 0 6px; }
.ben p { color: var(--mute); font-size: 15.5px; margin: 0; }
.ben-card { padding: 28px 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .4s var(--t), box-shadow .4s; }
.ben-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } .ben-pic { aspect-ratio: 16/10; } }
@media (max-width: 560px) { .cards2 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- Dach */
.renew { background: var(--navy-2); color: #fff; }
.renew-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.prose-light { color: #d3dfeb; }
.prose-light strong { color: #fff; }
.renew-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.renew-imgs figure { margin: 0; }
.renew-imgs figure:nth-child(2) { margin-top: 50px; }
.rn-pic, .renew-imgs .ph { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r); }
.renew-imgs figcaption { margin-top: 10px; font-size: 14px; color: #b9c9da; }
@media (max-width: 860px) { .renew-in { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 6%; right: 6%; top: 27px; height: 3px; background: linear-gradient(90deg, var(--sun), var(--sun)) 0 0/0 100% no-repeat, var(--line); transition: background-size 1.6s var(--t); }
.timeline.is-in::before { background-size: 100% 100%; }
.timeline li { position: relative; text-align: center; padding: 0 8px; }
.tl-n { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 1.4rem var(--display); box-shadow: 0 0 0 7px var(--paper); position: relative; }
.timeline h3 { color: var(--navy); margin-bottom: 6px; }
.timeline p { color: var(--mute); font-size: 15.5px; margin: 0; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; gap: 34px 18px; } .timeline::before { display: none; } }
@media (max-width: 480px) { .timeline { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- Referenzen */
.ref-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.ref-tabs a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 800; transition: all .2s; }
.ref-tabs a:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.ref-tabs small { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--sun); color: #1a1205; font-size: 12.5px; }
.ref-group + .ref-group { margin-top: 56px; }
.ref-group .h3 { color: var(--navy); margin-bottom: 20px; }
.ref-group .h3 small { font: 600 15px var(--body); color: var(--mute); }
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ref-item { position: relative; display: block; border-radius: var(--r-s); overflow: hidden; background: var(--sand); }
.ref-pic { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .9s var(--t); }
.ref-item:hover .ref-pic { transform: scale(1.06); }
.ref-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); color: #1a1205; font: 700 24px/1 var(--body); opacity: 0; transform: scale(.7); transition: all .3s var(--t); }
.ref-item:hover .ref-zoom, .ref-item:focus-visible .ref-zoom { opacity: 1; transform: none; }
@media (max-width: 860px) { .ref-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ref-grid { grid-template-columns: 1fr; } }
.lb { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(8, 18, 31, .94); color: #fff; }
.lb[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lb::backdrop { background: rgba(8, 18, 31, .6); }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 20px 0; }
.lb-fig img { max-height: 82vh; width: auto; border-radius: 8px; }
.lb-fig figcaption { color: #c9d6e4; font-size: 15px; text-align: center; padding: 0 10px; }
.lb-nav, .lb-x { border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; border-radius: 50%; }
.lb-nav { width: 50px; height: 50px; justify-self: center; font-size: 30px; line-height: 1; }
.lb-x { position: absolute; top: 16px; right: 16px; width: 46px; height: 46px; font-size: 18px; }
.lb-nav:hover, .lb-x:hover { background: var(--sun); color: #1a1205; }
@media (max-width: 600px) { .lb[open] { grid-template-columns: 44px 1fr 44px; } .lb-nav { width: 40px; height: 40px; } }

/* ------------------------------------------------------- Über uns */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about-pic, .about-img .ph { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.values { display: grid; gap: 22px; margin-top: 30px; }
.val { display: flex; gap: 18px; }
.val h2 { color: var(--navy); margin-bottom: 4px; }
.val p { margin: 0; color: var(--mute); font-size: 15.5px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.certs .h2 { color: var(--navy); margin-bottom: 28px; }
.cert-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cert-list li { display: flex; align-items: center; gap: 12px; padding: 20px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); font-weight: 800; color: var(--navy); }
.cert-list .ico { width: 28px; height: 28px; color: var(--sun-ink); }
@media (max-width: 900px) { .cert-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cert-list { grid-template-columns: 1fr; } }
.downloads { margin-top: 36px; }
.downloads h3 { color: var(--navy); margin-bottom: 12px; }
.downloads ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.downloads a { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; }
.downloads small { padding: 2px 7px; border-radius: 4px; background: var(--sand); font-size: 11px; font-weight: 800; }
.career { background: var(--navy); color: #fff; }
.career-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.jobs li { display: grid; gap: 2px; padding: 18px 22px; border-radius: var(--r-s); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); border-left: 5px solid var(--sun); }
.jobs strong { font: 800 1.2rem/1.2 var(--display); font-stretch: 104%; }
.jobs small { color: #c5d3e2; font-size: 14.5px; }
.career-pic, .career-img .ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); }
@media (max-width: 860px) { .career-in { grid-template-columns: 1fr; } .career-pic { aspect-ratio: 16/10; } }

/* ------------------------------------------------------------- Kontakt */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px, 4vw, 60px); align-items: start; }
.contact-info { display: grid; gap: 12px; }
.ci { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-s); background: #fff; border: 1px solid var(--line); color: var(--navy); text-decoration: none; transition: border-color .2s, transform .3s var(--t); }
a.ci:hover { border-color: var(--sun); transform: translateX(4px); }
.ci-ico { grid-row: span 2; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--sand); color: var(--sun-ink); }
.ci small { color: var(--mute); font-size: 13px; font-weight: 600; }
.ci strong { font-weight: 800; font-size: 1.05rem; line-height: 1.4; }
.ci-small { font-size: .98rem !important; font-weight: 700 !important; }
.ci-main { background: var(--navy); color: #fff; border-color: var(--navy); }
.ci-main small { color: #c5d3e2; }
.ci-main .ci-ico { background: var(--sun); color: #1a1205; }
.open-badge { grid-column: 2; justify-self: start; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: #f1f3f6; color: var(--mute); font-size: 12.5px; font-weight: 800; }
.open-badge.is-open { background: #e3f5ea; color: var(--ok); }
.ci-social { grid-template-columns: 1fr; }
.ci-social span { display: flex; gap: 18px; margin-top: 6px; }
.ci-social a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); text-decoration: none; }
.ci-social a:hover { color: var(--sun-ink); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.map-sec { padding-bottom: 0; }
.map { position: relative; height: 440px; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 24px; text-align: center; }
.map-ph-h { font: 800 1.5rem var(--display); color: var(--navy); margin: 0; }
.map-ph-t { font-size: 14px; color: var(--mute); max-width: 52ch; }
.map-ph-remember, .calc-ph-remember { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; margin-top: 10px; }

/* ----------------------------------------------------------- Solarrechner */
.calc-steps { background: #fff; border-bottom: 1px solid var(--line); }
.calc-steps-in { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-block: 0; padding-block: 26px; }
.calc-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 6px 18px; border-left: 1px solid var(--line); }
.calc-steps li:first-child { border-left: 0; padding-left: 0; }
.cs-n { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--sun); color: #1a1205; font: 800 1rem var(--display); }
.calc-steps strong { display: block; color: var(--navy); font-weight: 800; }
.calc-steps small { display: block; color: var(--mute); font-size: 14px; line-height: 1.45; }
@media (max-width: 900px) { .calc-steps-in { grid-template-columns: 1fr 1fr; gap: 16px 0; } .calc-steps li:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .calc-steps-in { grid-template-columns: 1fr; } .calc-steps li { border-left: 0; padding-left: 0; } }
.calc-sec { padding-top: clamp(40px, 5vw, 70px); }
.calc-frame { position: relative; min-height: 640px; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc-frame.is-loaded { min-height: 0; }
.calc-frame iframe { display: block; width: 100%; height: 1150px; border: 0; }
@media (max-width: 760px) { .calc-frame iframe { height: 1400px; } }
.calc-ph { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; align-content: center; gap: 8px; min-height: 640px; padding: 40px 24px; text-align: center; background: linear-gradient(180deg, #fff, var(--paper)); }
.calc-ph-sun { --s: 420px; left: 50%; top: auto; bottom: -300px; transform: translateX(-50%); opacity: .2; z-index: -1; }
.calc-ph-h { font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--display); font-stretch: 108%; color: var(--navy); margin: 0 0 6px; }
.calc-ph-t { max-width: 60ch; color: var(--mute); font-size: 15px; margin-bottom: 16px; }
.calc-ph-t a, .calc-ph-alt a { color: var(--sun-ink); font-weight: 700; }
.calc-ph-alt { margin-top: 18px; font-size: 14px; color: var(--mute); }
.calc-ph-off { border-radius: var(--r); border: 1px solid var(--line); min-height: 300px; }
.calc-help { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; margin-top: 30px; padding: 26px 30px; border-radius: var(--r); background: var(--sand); }
.calc-help h2 { color: var(--navy); margin-bottom: 4px; }
.calc-help p { margin: 0; color: var(--mute); max-width: 60ch; }
.calc-help .cta-row { margin: 0; }

/* -------------------------------------------------------------- Rechtliches */
.legal { padding-block: clamp(50px, 6vw, 90px); }
.legal-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); }
@media (max-width: 900px) { .legal-cols { grid-template-columns: 1fr; } }
.prose { max-width: 75ch; }
.prose h3 { font: 800 1.2rem/1.3 var(--display); color: var(--navy); margin: 1.8em 0 .6em; }
.prose > h3:first-child { margin-top: 0; }
.prose a { color: var(--sun-ink); font-weight: 700; overflow-wrap: anywhere; }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose .small { font-size: 14px; color: var(--mute); }
.prose-legal { font-size: 16px; }
.prose-light a { color: var(--sun); }

/* --------------------------------------------------------------- Footer */
.ft { background: var(--navy-3); color: #b9c8d8; font-size: 15.5px; }
.ft a { color: #e2eaf3; text-decoration: none; }
.ft a:hover { color: var(--sun); }
.ft-calc { background: var(--sun); color: #1a1205; }
.ft-calc-in { display: flex; align-items: center; gap: 22px; padding-block: 22px; }
.ft-calc p { flex: 1; margin: 0; font-size: 16px; }
.ft-calc strong { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-right: 6px; }
.ft-calc .sunmark { --s: 50px; background: linear-gradient(to bottom, var(--navy) 0 50%, transparent 50%), repeating-linear-gradient(to bottom, var(--navy) 0 7%, transparent 7% 11.5%); }
.ft-calc .btn-sun { --bg: var(--navy); --fg: #fff; }
.ft-calc .btn-sun:hover { --bg: var(--navy-2); box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .5); }
.ft-calc a, .ft-calc a:hover { color: #fff; }
@media (max-width: 760px) { .ft-calc-in { flex-direction: column; align-items: flex-start; } .ft-calc .sunmark { display: none; } }
.ft-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-block: 64px 44px; }
.ft-logo { width: 240px; margin-bottom: 18px; }
.ft-brand p { max-width: 38ch; }
.ft-h { margin: 6px 0 14px; color: #fff; font: 800 1.05rem var(--display); font-stretch: 106%; }
.ft-hours { color: #9fb2c6; font-size: 14.5px; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ft-social a:hover { background: var(--sun); color: #1a1205; }
.ft-cc { padding: 0; border: 0; background: none; color: #e2eaf3; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ft-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-block: 22px 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #8ea2b8; }
.ft-base-center { justify-content: center; } .ft-base-right { justify-content: flex-end; }
@media (max-width: 960px) { .ft-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ft-in { grid-template-columns: 1fr; gap: 26px; } }

/* --------------------------------------------- Mobile Leiste, Nach oben */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -16px rgba(16, 40, 66, .4); padding-bottom: env(safe-area-inset-bottom); transform: translateY(100%); transition: transform .35s var(--t); }
.mbar.is-on { transform: none; }
.mbar a { display: grid; justify-items: center; gap: 3px; padding: 10px 4px 9px; color: var(--navy); text-decoration: none; font-size: 12px; font-weight: 800; }
.mbar .ico { width: 22px; height: 22px; }
.mbar-main { background: var(--sun); color: #1a1205 !important; }
@media (max-width: 760px) { .mbar { display: grid; } body { padding-bottom: 64px; } }
.fab { position: fixed; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 80; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .35s var(--t); }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { background: var(--sun); color: #1a1205; }
@media (max-width: 760px) { .fab { bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* ------------------------------------------------------------ Cookie-Fenster */
.cc { position: fixed; z-index: 140; left: 50%; bottom: 18px; width: min(640px, calc(100vw - 24px)); transform: translateX(-50%); }
.cc[hidden] { display: none; }
.cc-in { padding: 24px 26px 20px; border-radius: var(--r); background: #fff; box-shadow: 0 30px 80px -20px rgba(8, 18, 31, .55); border-top: 5px solid var(--sun); }
.cc-h { font: 800 1.2rem var(--display); color: var(--navy); margin-bottom: 8px; }
.cc-t { font-size: 14.5px; color: var(--mute); }
.cc-t a { color: var(--sun-ink); font-weight: 700; }
.cc-opts { display: grid; gap: 8px; margin: 6px 0 14px; }
.cc-opts[hidden] { display: none; }
.cc-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-s); border: 1px solid var(--line); cursor: pointer; }
.cc-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.cc-opt span { display: grid; font-size: 14.5px; }
.cc-opt small { color: var(--mute); }
.cc-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cc-b { min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-weight: 800; cursor: pointer; }
.cc-b[hidden] { display: none; }
.cc-b-main { background: var(--navy); color: #fff; }
.cc-b-link { border-color: transparent; text-decoration: underline; margin-right: auto; padding-inline: 4px; }

/* ----------------------------------------------------------- Platzhalter */
.ph { display: grid; place-items: center; background: repeating-linear-gradient(-45deg, #e8e2d6 0 12px, #efeadf 12px 24px); color: var(--mute); text-align: center; font-weight: 700; aspect-ratio: 4/3; border-radius: var(--r-s); }
.ph small { font-weight: 500; }

/* ------------------------------------------------------------- Wartung */
.p-wartung { background: var(--navy-2); }
.mt { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; display: flex; align-items: center; color: #fff; background: radial-gradient(120% 120% at 80% 0%, #24507f 0%, var(--navy) 45%, var(--navy-3) 100%); }
.mt-sun { right: -12%; top: -20%; z-index: -1; opacity: .9; }
.mt-in { padding-block: 60px; }
.mt-logo { width: 300px; margin-bottom: 40px; }
.mt .lead { color: #d8e2ed; margin-top: 20px; }
.mt-date { margin-top: 18px; color: #ffd2a6; }
.mt-foot { margin-top: 50px; font-size: 14px; color: #9fb2c6; }
.mt-foot a { color: #e2eaf3; }

/* ---------------------------------------------------- Einblenden beim Scrollen */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--t), transform .8s var(--t); }
.rv.rv-in { opacity: 1; transform: none; }
html[data-mlevel="soft"] .rv { transform: none; transition: opacity .8s; }
html[data-mlevel="soft"] :is(.sunmark-hero, .dc-line, .dc-sun, .dc-area) { animation: none; }
html[data-mlevel="none"] *, html[data-mlevel="none"] *::before, html[data-mlevel="none"] *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) { html[data-motion="a11y"] *, html[data-motion="a11y"] *::before { animation: none !important; transition: none !important; } }

/* -------------------------------------------- Bedienhilfe „Ansicht anpassen“ */
.a11y-fab { position: fixed; z-index: 85; left: calc(16px + env(safe-area-inset-left)); bottom: calc(16px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border: 2px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); font: 800 15px/1 var(--body); cursor: pointer; box-shadow: var(--shadow); }
.a11y-fab svg { width: 24px; height: 24px; fill: currentColor; }
.a11y-fab:hover, .a11y-fab.is-active { background: var(--sun); color: #1a1205; }
@media (max-width: 760px) { .a11y-fab { bottom: calc(80px + env(safe-area-inset-bottom)); } .a11y-fab span { display: none; } }
.a11y-panel { position: fixed; z-index: 96; left: calc(16px + env(safe-area-inset-left)); bottom: calc(76px + env(safe-area-inset-bottom)); width: min(380px, calc(100vw - 32px)); max-height: calc(100vh - 110px); overflow: auto; background: #fff; color: #000; border: 2px solid #000; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); padding: 18px 18px 14px; font: 400 16px/1.45 var(--body); }
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.a11y-head h2 { margin: 0; font: 800 20px/1.2 var(--body); }
.a11y-x { width: 36px; height: 36px; border: 2px solid #000; border-radius: 8px; background: #fff; color: #000; cursor: pointer; }
.a11y-lbl { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.a11y-seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid #000; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.a11y-seg button { padding: 10px 0; border: 0; border-left: 2px solid #000; background: #fff; color: #000; font: 800 15px/1 var(--body); cursor: pointer; }
.a11y-seg button:first-child { border-left: 0; }
.a11y-seg button[aria-pressed="true"] { background: #000; color: #fff; }
.a11y-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.a11y-opts label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 2px solid #d6d6d6; border-radius: 8px; cursor: pointer; }
.a11y-opts label:has(input:checked) { border-color: #000; background: #fff1e2; }
.a11y-opts input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: #000; }
.a11y-opts span { display: grid; gap: 2px; }
.a11y-opts strong { font-size: 15px; }
.a11y-opts small { font-size: 13px; color: #333; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.a11y-reset { padding: 9px 14px; border: 2px solid #000; border-radius: 8px; background: #fff; color: #000; font: 700 14px/1 var(--body); cursor: pointer; }
.a11y-foot a { color: #000; font-weight: 700; font-size: 14px; text-decoration: underline; }
.a11y-note { margin: 10px 0 0; font-size: 12.5px; color: #444; }
html.a11y-fs1 { font-size: 112.5%; } html.a11y-fs1 body { font-size: 19px; }
html.a11y-fs2 { font-size: 125%; } html.a11y-fs2 body { font-size: 21px; }
html.a11y-fs3 { font-size: 140%; } html.a11y-fs3 body { font-size: 24px; }
html.a11y-contrast { --paper: #fff; --sand: #fff; --mute: #222; --text: #000; --line: rgba(0, 0, 0, .55); --sun-ink: #8a3f00; }
html.a11y-contrast :is(.sunmark, .hero-bg, .phead-bg) { display: none !important; }
html.a11y-contrast :is(.hero, .phead) { background: #000; }
html.a11y-contrast :is(.hero, .phead)::before { display: none; }
html.a11y-font :is(.h-hero, .h1, .h2, .h3, .h4, .nl, .btn) { font-stretch: 100% !important; letter-spacing: .02em !important; }
html.a11y-font :is(body, p, li, input, textarea, select, label) { font-family: Verdana, Tahoma, var(--body); }
html.a11y-space :is(p, li, .lead, label) { line-height: 1.9 !important; letter-spacing: .05em; word-spacing: .14em; }
html.a11y-space p { margin-bottom: 1.4em; }
html.a11y-links a:not(.btn):not(.ci):not(.hd-logo) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; }
html.a11y-links main a:not(.btn):not(.ci):not(.aud-link):not(.ref-item) { background: #fff3a0; color: #000 !important; }
html.a11y-focus :focus-visible { outline: 4px solid #000 !important; outline-offset: 3px !important; box-shadow: 0 0 0 8px var(--sun) !important; }

@media print {
  .hd, .mbar, .fab, .cc, .ft-calc, .progress, .a11y-fab { display: none !important; }
  body { background: #fff; }
}

.partners-list .pl-qcells { height: 44px; } .partners-list .pl-kostal { height: 26px; } .partners-list .pl-lg-solar { height: 32px; }
