/* Schriften lokal eingebunden (Inter, Inter Tight, SIL Open Font License 1.1). Keine Verbindung zu Google-Servern. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/assets/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Stromhaus Designsystem A5
   Hell, großzügig, bildgeführt. Clay-Renderings als Bildsprache, Fotos für Hero und Branchen.
   Farben aus dem Logo: Blau #1D49A8 (Links, Akzente), Orange #EF9736 (Hervorhebung, Zahlen).
   Schwarz als Handlungsfarbe (Buttons), wie auf strom-haus.com. */
:root {
  --ink: #0F1115;
  --text: #2A2F37;
  --muted: #646B76;
  --line: #E6E6E2;
  --bg: #FFFFFF;
  --surface: #EEEDEB;   /* exakt der Hintergrund der Renderings */
  --surface-2: #E7E6E3;
  --dark: #0F1115;
  --dark-2: #1A1D23;
  --blue: #1D49A8;
  --orange: #EF9736;
  --orange-ink: #B25F0D;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --max: 1280px;
  --gap: clamp(16px, 2vw, 24px);
  --section: clamp(72px, 10vw, 140px);
  --font: "Inter", system-ui, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
body { font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Typografie */
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -.03em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
p { max-width: 62ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.intro h2 { max-width: 16ch; }
.intro p { color: var(--muted); max-width: 44ch; font-size: 1.05rem; }
.intro.center { flex-direction: column; align-items: center; text-align: center; }
.intro.center h2 { max-width: 20ch; }
.page-gewerbe .intro:not(.center), .page-zuhause .intro:not(.center) { flex-direction: column; align-items: flex-start; gap: 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2F37; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--surface); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-orange { background: var(--orange); color: var(--ink); }
.btn-orange:hover { background: #E08425; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.link svg { width: 18px; height: 18px; transition: transform .15s; }
.link:hover svg { transform: translateX(3px); }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.header .logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--text); padding: 6px 0; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current=page] { color: var(--ink); font-weight: 600; }
.nav a[aria-current=page]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); }
.nav .btn { display: none; }
.header .wrap > .btn { min-height: 44px; padding: 0 20px; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded=true] span { background: transparent; }
.nav-toggle[aria-expanded=true] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded=true] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero (übernommen aus A4) */
.hero-fade { position: relative; overflow: hidden; background: #F4F4F1; min-height: min(80vh, 680px); display: flex; align-items: center; }
.hero-fade .hero-img { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; }
.hero-fade .hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-fade .hero-img::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 45%; background: linear-gradient(90deg, #F4F4F1 0%, rgba(244,244,241,.75) 35%, rgba(244,244,241,0) 100%); z-index: 1; }
.hero-fade .hero-img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 24%; background: linear-gradient(180deg, rgba(244,244,241,0) 0%, #F4F4F1 100%); z-index: 1; }
.hero-fade .wrap { position: relative; z-index: 2; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-fade .copy { max-width: 540px; }
.hero-fade h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 20px; }
.hero-fade .sub { font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; color: var(--blue); letter-spacing: -.01em; margin-bottom: 30px; }
.hero-fade .text { color: var(--muted); margin: -8px 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { list-style: none; padding: 0; margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--blue); }

/* Kennzahlen unter dem Hero */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.stats > div { padding: 30px 0 32px; }
.stats > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }
.stats span { color: var(--muted); font-size: .98rem; }

/* Sektionen */
.section { padding: var(--section) 0; scroll-margin-top: 76px; }
.section.tint { background: #F8F7F5; }
.render { height: auto; }

/* Bento: Leistungen */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.tile { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; overflow: hidden; position: relative; min-height: 300px; }
.tile .render { width: 78%; margin: auto auto 0; }
.tile h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 1rem; }
.tile .tag { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--orange-ink); background: #FFF1E2; border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; align-self: flex-start; }
.tile.xl { grid-column: 1 / 8; grid-row: span 2; }
.tile.xl h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); letter-spacing: -.03em; }
.tile.xl .render { width: 92%; }
.tile.m { grid-column: span 5; }
.tile.m .render { width: 52%; margin: -20px -10px -24px auto; }
.tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 40px; min-height: 0; }
.tile.wide > div { flex: 1; }
.tile.wide .render { width: 34%; margin: -20px 0 -30px; }
.tile ul { list-style: none; padding: 0; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tile li { font-size: .88rem; background: #fff; border-radius: 999px; padding: 6px 12px; color: var(--text); }

/* Dashboard: Rechner */
.dash { background: var(--dark); color: #C9CED6; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); }
.dash h2 { color: #fff; margin-bottom: 14px; }
.dash .lead { color: #9AA3AF; margin-bottom: 36px; }
.range { margin-bottom: 26px; }
.range label { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; margin-bottom: 10px; color: #E4E7EB; }
.range output { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: #2E333B; outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--orange); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--orange); cursor: pointer; }
.seg { display: inline-flex; background: #1F232A; border-radius: 999px; padding: 4px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 16px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: #9AA3AF; cursor: pointer; }
.seg input:checked + span { background: #fff; color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--orange); }
.result { background: var(--dark-2); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.result small { color: #9AA3AF; font-size: .95rem; }
.result .big { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 700; color: #fff; letter-spacing: -.04em; line-height: 1; margin: 8px 0 28px; font-variant-numeric: tabular-nums; }
.flow { margin-bottom: 24px; }
.flow .bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: #2E333B; }
.flow .bar i { display: block; height: 100%; transition: width .35s ease; }
.flow .bar .own { background: var(--orange); }
.flow .bar .feed { background: #6B7482; }
.flow .legend { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: .88rem; color: #9AA3AF; }
.flow .legend b { color: #fff; font-weight: 600; }
.flow .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.kpis div { background: #252931; border-radius: var(--r-sm); padding: 14px 16px; }
.kpis span { display: block; font-size: .82rem; color: #9AA3AF; }
.kpis strong { color: #fff; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.result .btn { align-self: flex-start; margin-top: auto; }
.assume { font-size: .85rem; color: #7E8794; margin-top: 18px; max-width: none; }

/* Karussell: Projektablauf */
.rail-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.rail-head .intro { margin-bottom: 0; }
.rail-nav { display: flex; gap: 10px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.rail-nav button:hover { border-color: var(--ink); }
.rail-nav svg { width: 20px; height: 20px; }
.example { display: inline-flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 999px; padding: 8px 18px; font-size: .95rem; margin-bottom: 28px; max-width: none; }
.example b { color: var(--ink); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 3.3); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.step figure { position: relative; aspect-ratio: 4 / 3; }
.step figure img { width: 100%; height: 100%; object-fit: cover; }
.step .body { padding: 18px 24px 18px 0; display: flex; flex-direction: column; justify-content: center; flex: 1; min-width: 0; }
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .98rem; }
.foot-note { font-size: .88rem; color: var(--muted); margin-top: 20px; max-width: 90ch; }

/* Tabs: Branchen */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pills [role=tab] { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 600; cursor: pointer; color: var(--text); }
.pills [role=tab][aria-selected=true] { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); }
.panel[hidden] { display: none; }
.panel .photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.panel .photo img { width: 100%; height: 100%; object-fit: cover; }
.panel .info { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
.panel .info h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.03em; margin-bottom: 12px; }
.panel .info p { color: var(--muted); }
.panel .info ul { list-style: none; padding: 0; margin: 24px 0; }
.panel .info li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid #DEDFDA; }
.panel .info li svg { width: 20px; height: 20px; color: var(--orange-ink); flex: none; margin-top: 3px; }
.panel .info .link { margin-top: auto; }

/* Vergleich: Finanzierung */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; border-bottom: 2px solid var(--ink); }
.compare thead th small { display: block; font-family: var(--font); font-size: .9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.compare tbody th { color: var(--muted); font-weight: 500; width: 22%; }
.compare td { color: var(--ink); }
.compare .yes { display: inline-flex; gap: 8px; align-items: center; }
.compare .yes svg { width: 18px; height: 18px; color: var(--blue); }
.compare-wrap { overflow-x: auto; }

/* Warum + Team */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.why h2 { margin-bottom: 20px; }
.claims { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.claims h3 { font-size: 1.1rem; margin-bottom: 6px; }
.claims p { color: var(--muted); font-size: .98rem; }
.claims svg { width: 26px; height: 26px; color: var(--blue); margin-bottom: 12px; }
.finance { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.fin-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(22px, 2.4vw, 32px); }
.fin-card svg { width: 26px; height: 26px; color: var(--blue); margin-bottom: 12px; }
.fin-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.fin-card p { color: var(--muted); }
.finance-note { color: var(--muted); font-size: .95rem; margin-top: 24px; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.point svg { width: 26px; height: 26px; color: var(--blue); margin-bottom: 12px; }
.point h3 { font-size: 1.05rem; margin-bottom: 6px; }
.point p { color: var(--muted); font-size: .95rem; }
#team .team-heading { margin: clamp(40px, 5vw, 60px) 0 20px; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.person { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; background: var(--surface); border-radius: var(--r-lg); padding: 18px; }
.person img { width: 120px; height: 120px; border-radius: var(--r); object-fit: cover; object-position: top; }
.person small { color: var(--blue); font-weight: 600; font-size: .88rem; }
.person h3 { margin: 2px 0 4px; }
.person p { color: var(--muted); font-size: .95rem; }
#team .person { background: #fff; border: 1px solid var(--line); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--ink); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1115' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 24px; margin-top: -8px; }

/* Funnel */
.funnel { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(15,17,21,.04), 0 24px 60px -24px rgba(15,17,21,.22); border: 1px solid var(--line); }
.funnel .side { background: var(--dark); color: #C9CED6; padding: clamp(22px, 3.2vw, 40px) clamp(28px, 4vw, 52px); display: flex; flex-direction: column; }
.funnel .side h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.funnel .side p { color: #9AA3AF; }
.promise { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.promise li { display: flex; align-items: center; gap: 7px; color: #E4E7EB; font-size: .86rem; }
.promise svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.contact { display: flex; gap: 14px; align-items: center; margin-top: auto; padding-top: 8px; }
.contact img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: top; }
.contact strong { display: block; color: #fff; }
.contact span { font-size: .9rem; color: #9AA3AF; }
.form { padding: clamp(28px, 4vw, 52px); }
.bar-steps { display: flex; gap: 6px; margin-bottom: 30px; }
.bar-steps i { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.bar-steps i.done { background: var(--ink); }
.stepnote { font-size: .88rem; color: var(--muted); margin-bottom: 6px; }
.step-f { display: none; border: 0; padding: 0; min-width: 0; }
.step-f.is-active { display: block; }
.step-f legend { font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 700; color: var(--ink); letter-spacing: -.02em; margin-bottom: 22px; padding: 0; line-height: 1.2; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r); font-weight: 600; cursor: pointer; min-height: 100%; transition: border-color .15s, background .15s; overflow-wrap: anywhere; }
.choice span svg { width: 28px; height: 28px; color: var(--ink); }
.choice:hover span { border-color: #C9CBC4; }
.choice input:checked + span { border-color: var(--ink); background: var(--surface); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.choices.row .choice span { flex-direction: row; align-items: center; min-height: 60px; }
.choices.row.detailed .choice span { flex-direction: column; align-items: flex-start; gap: 2px; min-height: 0; }
.choices.row.detailed .choice b { font-weight: 600; }
.choices.row.detailed .choice small { font-weight: 400; font-size: .85rem; color: var(--muted); }

/* Solar-Check: kurzer Prüfschritt vor den Kontaktdaten */
.loading-check { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 48px 12px; min-height: 260px; }
.loading-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--orange); animation: rc-spin .8s linear infinite; }
@keyframes rc-spin { to { transform: rotate(360deg); } }
.loading-check p { font-family: var(--display); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.loading-bar { width: 100%; max-width: 260px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.loading-bar span { display: block; height: 100%; width: 6%; background: var(--orange); border-radius: 999px; animation: rc-fill 1.7s ease-out forwards; }
@keyframes rc-fill { to { width: 100%; } }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input { width: 100%; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r); font: inherit; background: #fff; }
.field input:focus { border-color: var(--ink); outline: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.form-foot[hidden] { display: none; }
.back { background: none; border: 0; font-weight: 600; color: var(--muted); cursor: pointer; padding: 8px 0; }
.small { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.small a { color: var(--ink); }
.error { color: #B3261E; font-size: .9rem; margin-top: 12px; min-height: 1.2em; }
.q { font-family: var(--display); font-size: 1.8rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }

/* Privat: Abstand zwischen Hero-Bild und Solar-Check */
.float { padding-top: clamp(48px, 6vw, 88px); scroll-margin-top: 76px; }

/* Kacheln mit großen Zahlen */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.num { background: var(--surface); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; min-height: 240px; }
.num strong { font-family: var(--display); font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -.05em; color: var(--ink); line-height: 1; }
.num strong em { font-style: normal; color: var(--orange); }
.num h3 { margin-top: auto; font-size: 1.12rem; margin-bottom: 4px; }
.num p { color: var(--muted); font-size: .95rem; }

/* Kundenstimmen */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: start; }
.quote { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.quote img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.quote .qb { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.quote blockquote { font-family: var(--display); font-size: 1.2rem; font-weight: 500; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; flex: 1; }
.stars { display: flex; gap: 2px; color: var(--orange); margin-bottom: 14px; }
.stars svg { width: 16px; height: 16px; }
.quote cite { font-style: normal; font-weight: 600; color: var(--text); margin-top: 20px; font-size: .95rem; }
.qb > small { display: block; color: var(--orange-ink); font-weight: 600; font-size: .85rem; margin-bottom: 12px; }

/* Ratgeber */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.guide { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; min-height: 220px; transition: border-color .15s; }
.guide:hover { border-color: var(--ink); }
.guide small { color: var(--orange-ink); font-weight: 600; }
.guide h3 { font-size: 1.25rem; }
.guide p { color: var(--muted); font-size: .98rem; }
.guide .link { margin-top: auto; }

/* Abschluss */
.closing { background: var(--dark); border-radius: var(--r-lg); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.closing h2 { color: #fff; margin-bottom: 14px; }
.closing p { color: #9AA3AF; margin-bottom: 28px; }
.closing .render { mix-blend-mode: normal; border-radius: var(--r); }

/* Weiche */
.gate { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.gate a { background: var(--surface); border-radius: var(--r-lg); padding: clamp(28px, 3vw, 44px); text-decoration: none; display: flex; flex-direction: column; min-height: 520px; transition: background .2s; }
.gate a:hover { background: var(--surface-2); }
.gate small { font-weight: 600; color: var(--orange-ink); }
.gate h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 8px 0 10px; }
.gate p { color: var(--muted); }
.gate .render { width: 80%; margin: auto auto 10px; }

/* Weiche, kompakt: gleicher Text, weniger Fläche (Startseiten-Einstieg) */
.gate-compact a { padding: clamp(20px, 2.2vw, 30px); min-height: 260px; }
.gate-compact h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); margin: 6px 0 8px; }
.gate-compact .render { width: 40%; margin: auto auto 6px; }

/* Umschaltseite: ruhiger, schmalerer Einstieg */
.gate-hero .wrap { max-width: 920px; }
.gate-hero .gate-lead { text-align: left; color: var(--orange-ink); font-weight: 600; margin: 0 0 24px; }

/* Footer */
.footer { background: var(--dark); color: #9AA3AF; padding: 72px 0 32px; margin-top: var(--section); font-size: .95rem; }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand img { height: 38px; width: auto; background: #fff; border-radius: var(--r-sm); padding: 8px 10px; margin-bottom: 18px; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer a { display: block; text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: #fff; }
.footer .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid #262A31; margin-top: 48px; padding-top: 24px; }
.footer .legal a { display: inline; margin-left: 20px; }
.no-gap { margin-top: 0; }

/* Responsiv */
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header .wrap > .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; margin: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current=page]::after { display: none; }
  .nav .btn { display: flex; margin-top: 14px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile.xl, .tile.wide { grid-column: 1 / -1; grid-row: auto; }
  .tile.m { grid-column: span 1; }
  .dash, .panel, .why, .funnel, .closing, .team { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 46%; }
  .numbers, .quotes, .guides, .finance, .points { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-fade { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-fade .hero-img { position: relative; width: 100%; height: 280px; order: 2; }
  .hero-fade .hero-img::before { inset: 0 0 auto 0; width: auto; height: 45%; background: linear-gradient(180deg, #F4F4F1, rgba(244,244,241,0)); }
  .hero-fade .wrap { padding-bottom: 24px; }
  .hero-lead .hero-img { display: none; }
  .hero-lead .wrap { padding-bottom: 88px; }
  .intro { flex-direction: column; align-items: flex-start; }
  .rail-head { flex-direction: column; align-items: flex-start; }
  .gate-hero .intro.center { align-items: flex-start; text-align: left; }
  .gate-hero .gate-lead { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .header .wrap { height: 64px; gap: 12px; }
  .header .logo img { height: 32px; }
  .section, .float { scroll-margin-top: 64px; }
  .nav { padding: 8px 16px 20px; }
  .actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr; }
  .stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stats > div { padding: 18px 0; }
  .bento { grid-template-columns: 1fr; }
  .tile.m { grid-column: auto; }
  .tile.m .render { margin-top: 8px; }
  .tile.wide { flex-direction: column; align-items: flex-start; }
  .tile.wide .render { width: 70%; margin: 0 auto -20px; }
  .kpis { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 86%; }
  .choices, .two, .claims, .numbers, .gate { grid-template-columns: 1fr; }
  .gate a { min-height: 420px; }
  .gate-compact a { min-height: 260px; }
  .gate-hero { padding-top: 18px; }
  .gate-hero .intro { gap: 8px; margin-bottom: 10px; }
  .gate-hero .gate-lead { margin-bottom: 14px; }
  .gate-hero .gate-compact { gap: 8px; }
  .gate-hero .gate-compact a { padding: 14px; min-height: 0; }
  .gate-hero .gate-compact p { margin: 4px 0 0; font-size: .92rem; }
  .gate-hero .gate-compact .render { width: 26%; margin: 6px auto 4px; }
  .footer .cols { grid-template-columns: 1fr; }
  .footer .legal a { margin: 0 16px 0 0; }
  .compare th, .compare td { padding: 14px 12px; }
}

/* Haustypen im Solar-Check */
.choices.houses .choice span { align-items: center; text-align: center; padding: 10px 12px 16px; gap: 4px; }
.choices.houses .choice img { width: 100%; max-width: 140px; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.choices.houses .choice input:checked + span { background: #F7F7F5; }
@media (max-width: 640px) { .choices.houses { grid-template-columns: 1fr 1fr; } .choices.houses .choice img { max-width: 110px; } }
.choices.houses .choice img { -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); }
@media (max-width: 1080px) { .dash { grid-template-columns: minmax(0, 1fr); } .result { min-width: 0; } }
@media (max-width: 640px) { .btn { white-space: normal; text-align: center; } .result .btn { align-self: stretch; } .dash { padding: 24px 18px; } .result { padding: 22px 18px; } }

/* ================================================================
   A6: alle Schritte sichtbar, vier Leistungen in einer Reihe, Dach-Kalkulator
   ================================================================ */
/* Ablauf als Linie: die Nummern sitzen auf einer Schiene, die beim Scrollen mitwächst */
.steps4 { position: relative; display: flex; flex-direction: column; gap: 32px; }
.steps4-rail { position: absolute; left: 19px; width: 2px; background: var(--line); }
.steps4-rail-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: var(--ink); }
.step { position: relative; display: flex; align-items: flex-start; gap: 20px; }
.step .n { position: relative; z-index: 1; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--muted); display: grid; place-items: center; font-weight: 700; font-size: .92rem; transition: background .2s, border-color .2s, color .2s; }
.step.is-active .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.step-content { display: flex; gap: 20px; flex: 1; min-width: 0; max-width: 760px; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; }
.step-content figure { flex: none; width: 200px; }

.services4 { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 16px; }
.svc { background: var(--surface); border-radius: var(--r-lg); padding: 0 22px 26px; display: flex; flex-direction: column; }
.svc .render { width: 100%; margin: 0 0 4px; aspect-ratio: 4 / 3; object-fit: cover; }
.svc h3 { font-size: 1.2rem; margin-bottom: 6px; }
.svc p { color: var(--muted); font-size: .95rem; }
.svc .tag { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 600; color: var(--orange-ink); background: #FFF1E2; border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.svc.core { box-shadow: inset 0 0 0 1.5px var(--ink); }
.svc.core h3 { font-size: 1.45rem; }

/* Kalkulator-Sektion dunkel über die volle Breite */
.calc-sec { background: radial-gradient(120% 90% at 100% 0%, #3A2418 0%, #14161A 55%, #0F1115 100%); color: #C9CED6; }
.calc-sec .intro h2 { color: #fff; }
.calc-sec .intro p { color: #9AA3AF; }
.roofcalc { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.rc-tabs { display: grid; grid-template-columns: 1fr 1fr; background: #1C1F25; border: 1px solid #2A2E36; border-radius: 999px; padding: 5px; margin-bottom: 36px; }
.rc-tabs label { position: relative; }
.rc-tabs input { position: absolute; opacity: 0; }
.rc-tabs span { display: block; text-align: center; padding: 13px 10px; border-radius: 999px; font-weight: 600; color: #C9CED6; cursor: pointer; transition: background .2s, color .2s; }
.rc-tabs small { font-weight: 500; opacity: .7; margin-left: 4px; font-size: .8em; }
.rc-tabs input:checked + span { background: linear-gradient(90deg, #F6A55A, #EF7F3A); color: #14161A; box-shadow: 0 8px 24px -8px rgba(239,127,58,.6); }
.rc-tabs input:focus-visible + span { outline: 3px solid #fff; }
.roofcalc .range label { color: #E4E7EB; font-size: 1.02rem; }
.roofcalc .range output { font-size: 1.35rem; }
.roofcalc input[type=range] { background: linear-gradient(90deg, #EF8A3E var(--p, 30%), #2E333B var(--p, 30%)); height: 5px; }
.rc-hint { color: #F2A36A; font-size: .9rem; margin: -14px 0 22px; min-height: 1.2em; }
.rc-cta { width: 100%; margin-top: 10px; min-height: 58px; background: linear-gradient(90deg, #F6A55A, #EF7F3A); box-shadow: 0 14px 34px -12px rgba(239,127,58,.55); }
.rc-cta:hover { background: linear-gradient(90deg, #F09A4C, #E8712C); }
.rc-assume { margin-top: 28px; padding-top: 20px; border-top: 1px solid #262A31; }
.rc-assume summary { cursor: pointer; color: #E4E7EB; font-weight: 500; }
.rc-assume p { color: #8B94A1; font-size: .9rem; margin-top: 12px; }
.rc-out { background: linear-gradient(160deg, #22252B 0%, #1A1C21 60%, #2A1D17 100%); border: 1px solid #2E3138; border-radius: 22px; padding: clamp(24px, 3vw, 40px); }
.rc-out small { color: #AEB5BF; font-size: .98rem; }
.rc-big { display: block; font-family: var(--display); font-size: clamp(3rem, 6.4vw, 5.4rem); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: #fff; margin: 10px 0 12px; font-variant-numeric: tabular-nums; }
.rc-big span { background: linear-gradient(90deg, #F6A55A, #EF6F3A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rc-month { color: #C9CED6; margin-bottom: 26px; }
.rc-month b { color: #fff; }
.rc-roof { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0F1115; }
.rc-roof[hidden] { display: none; }
.rc-roof img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.rc-roof img.on { opacity: 1; }
.rc-cap { color: #8B94A1; font-size: .88rem; margin: 12px 0 20px; }
.rc-kpi { display: grid; grid-template-columns: 1fr auto; font-variant-numeric: tabular-nums; }
.rc-kpi dt, .rc-kpi dd { padding: 14px 0; border-top: 1px solid #2E3138; }
.rc-kpi dt { color: #AEB5BF; }
.rc-kpi dd { margin: 0; text-align: right; color: #fff; font-weight: 700; font-size: 1.1rem; }

@media (max-width: 1080px) {
  .services4 { grid-template-columns: 1fr 1fr; }
  .roofcalc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .services4 { grid-template-columns: 1fr; }
  .rc-tabs span { padding: 12px 6px; font-size: .92rem; }
  .rc-tabs small { display: none; }
  .steps4 { gap: 28px; }
  .steps4-rail { left: 15px; }
  .step { gap: 14px; }
  .step .n { width: 32px; height: 32px; font-size: .82rem; }
  .step-content { flex-direction: column; }
  .step-content figure { width: 100%; }
  .step .body { padding: 14px 16px 18px; }
}

/* ================================================================
   A7: Module werden einzeln perspektivisch auf das Dachfoto gelegt
   ================================================================ */
.rc-roof { background: #0F1115; }
.rc-roof > img { opacity: 1 !important; }
.rc-plane { position: absolute; left: 0; top: 0; transform-origin: 0 0; display: grid; gap: var(--g, 3px); pointer-events: none; }
.rc-plane i { display: block; border-radius: 2px; opacity: 0; transform: scale(.55) translateY(-6px); transition: opacity .28s ease, transform .32s cubic-bezier(.2,.9,.3,1.3); transition-delay: var(--d, 0ms);
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(33.33% - .5px), rgba(160,175,200,.35) calc(33.33% - .5px) 33.33%),
    repeating-linear-gradient(0deg, transparent 0 calc(16.66% - .5px), rgba(160,175,200,.22) calc(16.66% - .5px) 16.66%),
    linear-gradient(155deg, #34405A 0%, #1B2233 55%, #111726 100%);
  box-shadow: inset 0 0 0 1.5px #A9B3C4, 0 3px 4px rgba(0,0,0,.35); }
.rc-plane i.on { opacity: 1; transform: none; }
.rc-count { position: absolute; right: 14px; bottom: 12px; background: rgba(15,17,21,.78); color: #fff; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); font-variant-numeric: tabular-nums; }
.rc-mode { margin-bottom: 32px; }
.rc-mode b { display: inline-block; background: linear-gradient(90deg, #F6A55A, #EF7F3A); color: #14161A; border-radius: 999px; padding: 7px 16px; font-size: .9rem; font-weight: 600; }
.rc-mode span { display: block; margin-top: 10px; color: #9AA3AF; font-size: .92rem; }
@media (prefers-reduced-motion: reduce) { .rc-plane i { transition: none; } }

/* A7: Über uns und Kontakt */
.page-top { padding-top: clamp(56px, 8vw, 110px); }
.lead-l { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--text); margin: 20px 0 16px; }
.about-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-hero .render { border-radius: var(--r-lg); background: var(--surface); }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.founder { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; background: #fff; border-radius: var(--r-lg); padding: 22px; border: 1px solid var(--line); }
.founder img { width: 200px; height: 240px; object-fit: cover; object-position: top; border-radius: var(--r); }
.founder small { color: var(--blue); font-weight: 600; }
.founder h3 { font-size: 1.5rem; margin: 4px 0 10px; }
.founder p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.values > div { background: var(--surface); border-radius: var(--r-lg); padding: 32px; }
.values svg { width: 30px; height: 30px; color: var(--orange-ink); margin-bottom: 18px; }
.values h3 { margin-bottom: 8px; }
.values p { color: var(--muted); }

/* Über uns: kompaktere Darstellung, weniger Leerraum als der Standard-Section-Rhythmus */
.page-about .section { padding: clamp(40px, 5vw, 72px) 0; }
.page-about .page-top { padding-top: clamp(40px, 5vw, 72px); }
.page-about .intro { margin-bottom: clamp(20px, 3vw, 32px); }
.page-about .values > div { padding: 20px 22px; }
.page-about .values svg { width: 22px; height: 22px; margin-bottom: 10px; }
.page-about .about-hero { gap: clamp(20px, 4vw, 48px); }
.page-about .hamburg-anchor { margin-top: clamp(20px, 3vw, 32px); }
.page-about .hamburg-anchor img { aspect-ratio: 16 / 9; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.channels { display: grid; gap: 12px; margin: 30px 0; }
.channel { display: flex; gap: 16px; align-items: center; padding: 18px 20px; background: var(--surface); border-radius: var(--r); text-decoration: none; }
a.channel:hover { background: var(--surface-2); }
.channel svg { width: 22px; height: 22px; color: var(--ink); flex: none; }
.channel small { display: block; color: var(--muted); font-size: .85rem; }
.channel strong { color: var(--ink); font-weight: 600; }
.cform { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: 0 24px 60px -30px rgba(15,17,21,.25); }
.cform h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); margin-bottom: 22px; }
.cform textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r); font: inherit; resize: vertical; }
.cform textarea:focus { border-color: var(--ink); outline: none; }
.cform .btn { margin-top: 12px; }
@media (max-width: 1080px) { .about-hero, .founders, .contact-grid { grid-template-columns: 1fr; } .values { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .founder { grid-template-columns: 1fr; } .founder img { width: 100%; height: auto; aspect-ratio: 4 / 5; } }

.rc-roof video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.team-photo img { width: 100%; height: auto; border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.team-photo figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }

/* Kundenstimme mit sichtbarem Ergebnis */
.proof { aspect-ratio: 16 / 10; background: linear-gradient(150deg, #1A1D23, #2A1D17); color: #fff; padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.proof small { color: #AEB5BF; font-size: .85rem; }
.proof strong { font-family: var(--display); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin-top: 6px; background: linear-gradient(90deg, #F6A55A, #EF6F3A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof span { color: #E4E7EB; }
.proof-bar { height: 8px; border-radius: 99px; background: #2E333B; margin: 18px 0 8px; overflow: hidden; }
.proof-bar i { display: block; height: 100%; background: linear-gradient(90deg, #F6A55A, #EF7F3A); border-radius: 99px; }
.proof em { font-style: normal; color: #AEB5BF; font-size: .9rem; }
.rc-note { color: #9AA3AF; font-size: .9rem; margin: -14px 0 22px; }

/* Kundenstimme als Bento mit Originalbild */
.case { display: grid; grid-template-columns: 260px 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-bottom: 16px; }
.case-shot { grid-row: span 2; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-main { grid-column: 2 / 5; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.case-main blockquote { font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -.02em; }
.case-main cite { font-style: normal; color: var(--muted); margin-top: 16px; font-weight: 500; }
.case-main > small { display: block; color: var(--orange-ink); font-weight: 600; font-size: .85rem; margin-bottom: 12px; }
.kpi-tile { background: var(--surface); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; min-height: 170px; }
.kpi-tile small { color: var(--muted); font-size: .88rem; }
.kpi-tile strong { font-family: var(--display); font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 700; letter-spacing: -.035em; color: var(--ink); margin: auto 0 4px; }
.kpi-tile span { color: var(--muted); font-size: .9rem; }
.kpi-tile.big { background: linear-gradient(150deg, #1A1D23, #2A1D17); }
.kpi-tile.big small, .kpi-tile.big span { color: #AEB5BF; }
.kpi-tile.big strong { background: linear-gradient(90deg, #F6A55A, #EF6F3A); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
.case-src { grid-column: 2 / 5; font-size: .82rem; color: var(--muted); margin-top: -4px; }
.case { grid-template-rows: auto auto auto; }
.quotes.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 1080px) { .case { grid-template-columns: 1fr 1fr; } .case-shot { grid-row: auto; grid-column: 1 / -1; max-height: 520px; } .case-main, .case-src { grid-column: 1 / -1; } .quotes.two { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .case { grid-template-columns: 1fr 1fr; } .kpi-tile { min-height: 140px; padding: 18px; } .kpi-tile.big { grid-column: 1 / -1; } }

/* Danke-Seite */
.thanks-head { max-width: 760px; }
.ok-badge { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #F6A55A, #EF7F3A); display: grid; place-items: center; margin-bottom: 26px; }
.ok-badge svg { width: 30px; height: 30px; color: #14161A; stroke-width: 2.6; }
.thanks-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--gap); margin-top: 44px; }
.next-card { background: var(--dark); color: #C9CED6; border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); }
.next-card h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 28px; }
.tl { list-style: none; padding: 0; margin: 0; position: relative; }
.tl li { position: relative; padding: 0 0 26px 44px; }
.tl li::before { content: ""; position: absolute; left: 9px; top: 26px; bottom: -2px; width: 2px; background: #2E333B; }
.tl li:last-child::before { display: none; }
.tl li::after { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #4A505A; background: var(--dark); }
.tl li.done::after { background: linear-gradient(135deg, #F6A55A, #EF7F3A); border-color: transparent; }
.tl b { display: block; color: #fff; font-weight: 600; font-size: 1.05rem; }
.tl span { color: #9AA3AF; font-size: .95rem; }
.side-col { display: grid; gap: var(--gap); align-content: start; }
.prep { background: var(--surface); border-radius: var(--r-lg); padding: 26px; }
.prep h3 { margin-bottom: 14px; }
.prep ul { list-style: none; padding: 0; }
.prep li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid #DAD9D5; }
.prep li svg { width: 20px; height: 20px; color: var(--orange-ink); flex: none; margin-top: 2px; }
.thanks-more { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 1080px) { .thanks-grid { grid-template-columns: 1fr; } }
.case { grid-template-columns: 250px repeat(4, 1fr); grid-template-rows: auto auto auto; }
.case-main, .case-src { grid-column: 2 / 6; }
.case-shot { grid-row: 1 / 4; }
@media (max-width: 1080px) { .case { grid-template-columns: 1fr 1fr; } .case-shot { grid-row: auto; grid-column: 1 / -1; } .case-main, .case-src { grid-column: 1 / -1; } }
.kpi-tile.big strong { font-size: clamp(1.8rem, 2.6vw, 2.4rem); white-space: nowrap; }
.kpi-tile strong { white-space: nowrap; }

/* Mobil-Korrekturen 28.09. */
.nav a.btn, .nav a.btn:hover { color: #fff; }
@media (max-width: 1080px) { .nav a.btn { border-top: 0; padding: 0 26px; justify-content: center; } }
/* Vergleichstabelle mobil als gestapelte Karten, ohne seitliches Scrollen */
@media (max-width: 760px) {
  .compare-wrap { overflow: visible; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody { display: grid; gap: 12px; }
  .compare tr { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 18px 12px; }
  .compare tbody th { width: 100%; padding: 12px 0 4px; border: 0; color: var(--ink); font-weight: 700; font-family: var(--display); font-size: 1.1rem; }
  .compare td { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42% 1fr; gap: 10px; }
  .compare td:last-child { border-bottom: 0; }
  .compare td::before { content: attr(data-label); color: var(--muted); font-size: .9rem; }
}

/* ================= Paket-Ergänzungen (29.09.2026) ================= */

/* Dach-Kalkulator: Standbild + Canvas liegen übereinander */
.rc-roof > img, .rc-roof > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1 !important; }
.rc-roof > canvas { opacity: 0 !important; transition: opacity .3s ease; }
.rc-roof.is-live > canvas { opacity: 1 !important; }

/* Footer: Cookie-Einstellungen als Link-Knopf */
.footer .legal button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; margin-left: 20px; }
.footer .legal button:hover { color: #fff; }
@media (max-width: 640px) { .footer .legal button { margin: 0 16px 0 0; } }

/* Einwilligungsfenster */
.consent { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 560px; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 18px 48px rgba(15, 17, 21, .18); }
.consent[hidden], .consent [hidden] { display: none !important; }
.consent-in { padding: 24px; }
.consent h2 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 10px; }
.consent p { font-size: .95rem; color: var(--muted); }
.consent p a { color: var(--ink); }
.consent-opts { display: grid; gap: 10px; margin-top: 16px; }
.consent-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-size: .92rem; color: var(--muted); }
.consent-opt input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.consent-opt strong { display: block; color: var(--ink); font-size: .98rem; }
.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.consent-actions .btn { min-height: 46px; padding: 0 16px; font-size: .95rem; white-space: nowrap; }
.consent-link { background: none; border: 0; padding: 8px 4px; font: inherit; font-size: .95rem; color: var(--ink); text-decoration: underline; cursor: pointer; }
@media (min-width: 700px) { .consent { left: 24px; bottom: 24px; } }
.consent-actions .btn { flex: 1 1 140px; }
@media (max-width: 420px) { .consent { left: 10px; right: 10px; bottom: 10px; } .consent-in { padding: 18px 16px; } .consent h2 { font-size: 1.15rem; } .consent p { font-size: .9rem; } }

/* Rechtsseiten und Artikel: lesbare Textspalte */
.prose { max-width: 820px; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 44px 0 14px; scroll-margin-top: 96px; }
.prose h3 { margin: 28px 0 10px; scroll-margin-top: 96px; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose .small { margin-top: 0; }
.legal-page .prose p, .legal-page .prose li { font-size: 1rem; }
.toc { background: #F8F7F5; border-radius: var(--r); padding: 20px 24px; margin: 24px 0 8px; }
.toc ol { margin: 0; columns: 2 260px; column-gap: 32px; }
.toc li { break-inside: avoid; font-size: .95rem; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.toc strong { display: block; font-family: var(--display); color: var(--ink); margin-bottom: 8px; }

/* Ratgeber-Artikel */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; list-style: none; padding: 0 !important; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.article-meta { color: var(--muted); font-size: .95rem; margin-bottom: 28px; }
.article figure { margin: 32px 0; }
.article figure img { width: 100%; height: auto; border-radius: var(--r); background: var(--surface); }
.article figure.portrait img { max-width: 440px; }
.article figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.article .formula { font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; color: var(--ink); text-align: center; background: #F8F7F5; border-radius: var(--r); padding: 22px 18px; margin: 24px 0; }
.tip { border-left: 3px solid var(--orange); background: #FDF6EE; border-radius: 0 var(--r-sm) var(--r-sm) 0; padding: 16px 20px; margin: 24px 0; }
.tip strong { display: block; color: var(--ink); margin-bottom: 4px; }
.tip p { margin: 0 !important; }
ul.checks { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
ul.checks li { display: flex; gap: 10px; align-items: flex-start; }
ul.checks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--blue); }
.table-wrap { overflow-x: auto; margin: 20px 0 24px; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .96rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-family: var(--display); color: var(--ink); background: #F8F7F5; }
.article .faq { margin: 0; max-width: none; }
.article-cta { margin-top: 48px; padding: 28px; border-radius: var(--r-lg); background: var(--ink); color: #C9CED6; }
.article-cta h2 { color: #fff; margin: 0 0 8px; }
.article-cta p { margin-bottom: 18px; }
.more { margin-top: 56px; }
.more h2 { margin-bottom: 20px; }

/* 404 */
.notfound small { color: var(--orange-ink); font-weight: 600; }
.notfound h1 { margin: 10px 0 0; }
.consent:focus { outline: none; }
.footer .fh { color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: 14px; font-family: var(--display); }

/* Kleine Handys (ab 320 px): Grid-Spalten nicht über den Inhalt aufweiten */
@media (max-width: 480px) { :where(.wrap) :where(div, figure, form, section, article, aside) { min-width: 0; } .person { grid-template-columns: 96px minmax(0, 1fr) !important; } }

/* Lange deutsche Wörter: Zeilenumbruch ohne Bindestrich-Trennung */
h1, h2, h3, .fh, .person p, .lead-l { overflow-wrap: break-word; hyphens: none; }
.prose h1 { font-size: clamp(2rem, 6.4vw, 3.4rem); }
@media (max-width: 480px) { h1 { font-size: clamp(2rem, 9.4vw, 2.6rem); } }
@media (max-width: 640px) { .crumbs li:last-child { display: none; } }
/* Tabellen auf dem Handy als Karten */
@media (max-width: 640px) {
  .table-wrap { overflow: visible; }
  .table-wrap table { min-width: 0; }
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap tr { display: block; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 10px; padding: 8px 0; }
  .table-wrap td { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 12px; border: 0; padding: 6px 14px; }
  .table-wrap td::before { content: attr(data-label); font-weight: 600; color: var(--ink); }
}
.tile .tag, .svc .tag { color: #95500C; } /* Kontrast 4,5:1 auf #FFF1E2 */
.prose a.btn, .prose a.guide { color: var(--ink); text-decoration: none; }
.prose a.btn-dark { color: #fff; }
