/* ==========================================================================
   Sonnwert – Design-System
   Farben, Typografie und Komponenten für alle Seiten
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}

:root {
  --ink: #0f2533;
  --ink-2: #1d3a4a;
  --muted: #5a6b76;
  --line: #e3e0d8;
  --line-2: #d4d0c5;
  --bg: #ffffff;
  --cream: #f7f4ee;
  --cream-2: #efeadf;
  --petrol: #0f4c5c;
  --petrol-2: #0b3a47;
  --petrol-soft: #e4eef0;
  --sun: #e09b2d;
  --sun-2: #c9831a;
  --sun-soft: #fbf0dc;
  --green: #2f7d5b;
  --green-soft: #e3f1ea;
  --red: #b44a3a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 37, 51, .05), 0 12px 32px -14px rgba(15, 37, 51, .22);
  --shadow-lg: 0 30px 60px -24px rgba(15, 37, 51, .35);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--petrol-2); }
::selection { background: var(--sun-soft); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(36px, 5.2vw, 60px); }
h2 { font-size: clamp(29px, 3.6vw, 42px); }
h3 { font-size: clamp(21px, 2.1vw, 25px); }
h4 { font-size: 19px; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); max-width: 700px; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  color: var(--sun-2); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }
section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-petrol { background: var(--petrol-2); color: #e9f0f2; }
.bg-petrol h2, .bg-petrol h3, .bg-petrol h4 { color: #fff; }
.bg-petrol .lead, .bg-petrol .muted { color: #b9cdd3; }
.section-head { margin-bottom: 52px; }
.section-head.center { max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 10px; border: 2px solid transparent;
  font: 600 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--sun); color: #1b1305; box-shadow: 0 8px 20px -10px rgba(224, 155, 45, .8); }
.btn-primary:hover { background: #e8a83f; color: #1b1305; }
.btn-dark { background: var(--petrol); color: #fff; }
.btn-dark:hover { background: var(--petrol-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--petrol); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--petrol); color: var(--petrol-2); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Demo-Hinweis ---------- */
.demo-bar { background: #3a2a10; color: #f6e2bd; font-size: 13px; text-align: center; padding: 7px 16px; }
.demo-bar strong { color: #fff; }

/* ---------- Header ---------- */
.topbar { background: var(--petrol-2); color: #b9cdd3; font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.topbar a { color: #e9f0f2; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar-items { display: flex; gap: 22px; align-items: center; }
.topbar .stars { color: var(--sun); letter-spacing: 1px; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,37,51,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font: 600 25px/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.logo-sub { white-space: nowrap; font: 500 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 11px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav-links a:hover { background: var(--cream); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--petrol); background: var(--petrol-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1200px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: 76px; background: #fff;
    padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-header.open .nav-links a { padding: 14px 12px; font-size: 17px; }
  .topbar-items .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .nav-cta .btn-primary { padding: 10px 14px; font-size: 14px; }
  .logo-sub { display: none; }
  .topbar .hide-xs { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 0; overflow: hidden; background: var(--petrol-2); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,36,46,.94) 0%, rgba(8,36,46,.82) 42%, rgba(8,36,46,.35) 100%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { color: #d5e2e6; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 34px; }
.hero-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #e3ecef; font-size: 16px; }
.hero-checks li { display: flex; gap: 10px; align-items: flex-start; }
.hero-checks svg { width: 20px; height: 20px; flex: none; color: var(--sun); margin-top: 3px; }
.hero-note { margin-top: 26px; font-size: 14px; color: #a9c0c7; }
.hero-note a { color: #fff; }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 40px; }
}

.page-hero { background: var(--cream); padding: 72px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero.dark { background: var(--petrol-2); color: #e9f0f2; border: 0; }
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lead { color: #b9cdd3; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero.dark .breadcrumb { color: #9fb7be; }

/* ---------- Karten / Raster ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-left { grid-template-columns: 1.2fr .8fr; }
@media (max-width: 900px) { .split, .split.wide-left { grid-template-columns: 1fr; gap: 40px; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.card-flat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.icon-box { width: 52px; height: 52px; border-radius: 12px; background: var(--petrol-soft); color: var(--petrol); display: grid; place-items: center; margin-bottom: 20px; }
.icon-box svg { width: 26px; height: 26px; }
.icon-box.sun { background: var(--sun-soft); color: var(--sun-2); }

.img-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.img-badge { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); max-width: 260px; }
.img-badge strong { display: block; font: 600 26px/1.1 var(--serif); color: var(--petrol); }
.img-badge span { font-size: 13.5px; color: var(--muted); display: block; line-height: 1.4; }

/* ---------- Trust-Leiste ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item strong { display: block; font: 600 26px/1.1 var(--serif); color: var(--petrol); }
.trust-item span { font-size: 14px; color: var(--muted); line-height: 1.35; display: block; }
.trust-item .icon-box { margin: 0; width: 46px; height: 46px; flex: none; }
@media (max-width: 860px) { .trust-strip .wrap { grid-template-columns: repeat(2, 1fr); } }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--petrol-2); padding: 30px 26px; }
.stat strong { display: block; font: 600 38px/1.1 var(--serif); color: #fff; margin-bottom: 6px; }
.stat span { color: #b9cdd3; font-size: 15px; }
@media (max-width: 860px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Listen ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%232f7d5b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center/14px no-repeat; }
.bg-petrol .check-list li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e09b2d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E"); }

/* ---------- Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num { font: 600 15px/1 var(--sans); color: var(--sun-2); letter-spacing: .1em; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.step-num::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.timeline { position: relative; display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 72px 1fr; gap: 24px; padding-bottom: 40px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 35px; top: 60px; bottom: 0; width: 2px; background: var(--line); }
.tl-item:last-child::before { display: none; }
.tl-num { width: 72px; height: 72px; border-radius: 50%; background: var(--petrol); color: #fff; display: grid; place-items: center; font: 600 26px/1 var(--serif); }
.tl-item h3 { margin-top: 8px; }
.tl-meta { font-size: 14px; color: var(--sun-2); font-weight: 600; margin-bottom: 8px; }
@media (max-width: 560px) { .tl-item { grid-template-columns: 48px 1fr; gap: 16px; } .tl-num { width: 48px; height: 48px; font-size: 20px; } .tl-item::before { left: 23px; top: 48px; } }

/* ---------- Projekte ---------- */
.project-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; text-decoration: none; color: inherit; }
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: inherit; }
.project-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-img img { transform: scale(1.04); }
.project-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.project-loc { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.project-loc svg { width: 15px; height: 15px; }
.project-body h3 { font-size: 23px; margin-bottom: 16px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.kpi span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi strong { font: 600 19px/1.3 var(--serif); color: var(--ink); }
.project-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.avail { font-size: 14px; color: var(--muted); }
.avail-bar { height: 6px; border-radius: 3px; background: var(--cream-2); overflow: hidden; margin-top: 6px; width: 120px; }
.avail-bar i { display: block; height: 100%; background: var(--sun); border-radius: 3px; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font: 600 12.5px/1 var(--sans); letter-spacing: .02em; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-sun { background: var(--sun-soft); color: #9a6210; }
.badge-grey { background: #eceae4; color: #6b6a64; }
.badge-petrol { background: var(--petrol-soft); color: var(--petrol); }
.project-img .badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); }
.project-img .badge.badge-green { color: var(--green); }
.project-img .badge.badge-sun { color: #9a6210; }
.project-img .badge.badge-grey { color: #6b6a64; }
.project-type { position: absolute; top: 14px; right: 14px; background: rgba(15,37,51,.78); color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 7px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.chip { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 9px 18px; font: 500 15px var(--sans); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--petrol); }
.chip.active { background: var(--petrol); border-color: var(--petrol); color: #fff; }

/* Projekt-Detail */
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 460px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.gallery img:first-child { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } .gallery img:first-child { grid-row: auto; } .gallery img:not(:first-child) { display: none; } }
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.detail-aside { position: sticky; top: 100px; }
@media (max-width: 1000px) { .detail-layout { grid-template-columns: 1fr; } .detail-aside { position: static; } }
.spec-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--muted); width: 48%; padding-right: 16px; }
.spec-table td { font-weight: 600; }
.price-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.price-box-head { background: var(--petrol-2); color: #fff; padding: 24px 26px; }
.price-box-head span { color: #b9cdd3; font-size: 14px; }
.price-box-head strong { display: block; font: 600 34px/1.15 var(--serif); }
.price-box-body { padding: 24px 26px 26px; }
.price-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.price-row span { color: var(--muted); }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.doc-list svg { width: 22px; height: 22px; color: var(--petrol); flex: none; }
.doc-list .lock { margin-left: auto; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.doc-list .lock svg { width: 15px; height: 15px; color: var(--muted); }

/* ---------- Bewertungen ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.review .stars { color: var(--sun); font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.review blockquote { margin: 0 0 22px; font-size: 16.5px; color: var(--ink-2); flex: 1; }
.review-person { display: flex; align-items: center; gap: 14px; }
.review-person img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.review-person strong { display: block; font-size: 15.5px; }
.review-person span { font-size: 13.5px; color: var(--muted); }
.rating-summary { display: inline-flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; }
.rating-summary strong { font: 600 34px/1 var(--serif); }
.rating-summary .stars { color: var(--sun); letter-spacing: 2px; }
.rating-summary span { font-size: 14px; color: var(--muted); display: block; }

/* ---------- Formulare & Funnel ---------- */
.form-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h3 { margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 9px; background: #fff;
  font: 400 16px var(--sans); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px var(--petrol-soft); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; margin: 6px 0 18px; }
.consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--petrol); }
.form-trust { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 14px; font-size: 13px; color: var(--muted); }
.form-trust span { display: inline-flex; gap: 6px; align-items: center; }
.form-trust svg { width: 15px; height: 15px; color: var(--green); }
.form-error { color: var(--red); font-size: 14px; margin: -6px 0 12px; display: none; }
.form-error.show { display: block; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.funnel-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 13px; color: var(--muted); font-weight: 600; }
.funnel-progress .bar { flex: 1; height: 6px; background: var(--cream-2); border-radius: 3px; overflow: hidden; }
.funnel-progress .bar i { display: block; height: 100%; width: 25%; background: var(--sun); border-radius: 3px; transition: width .35s; }
.funnel-step { display: none; animation: fade .3s ease; }
.funnel-step.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.funnel-step h4 { font-family: var(--serif); font-size: 22px; margin-bottom: 16px; }
.options { display: grid; gap: 10px; }
.options.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 420px) { .options.two { grid-template-columns: 1fr; } }
.option {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  border: 1.5px solid var(--line-2); background: #fff; border-radius: 10px; padding: 14px 16px;
  font: 500 16px var(--sans); color: var(--ink); cursor: pointer; transition: all .15s;
}
.option:hover { border-color: var(--petrol); background: var(--petrol-soft); }
.option.selected { border-color: var(--petrol); background: var(--petrol-soft); box-shadow: inset 0 0 0 1px var(--petrol); }
.option .o-ic { width: 34px; height: 34px; border-radius: 8px; background: var(--cream); display: grid; place-items: center; flex: none; color: var(--petrol); }
.option .o-ic svg { width: 19px; height: 19px; }
.funnel-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.btn-back { background: none; border: 0; color: var(--muted); font: 500 15px var(--sans); cursor: pointer; padding: 8px 0; }
.btn-back:hover { color: var(--ink); }

/* ---------- Rechner ---------- */
.calc { display: grid; grid-template-columns: 400px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.calc-inputs { background: var(--cream); padding: 32px; border-right: 1px solid var(--line); }
.calc-results { padding: 32px; }
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } .calc-inputs { border-right: 0; border-bottom: 1px solid var(--line); } }
.range-field { margin-bottom: 22px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.range-head label { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.range-head output { font: 600 18px var(--serif); color: var(--petrol); white-space: nowrap; }
.range-hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--petrol) var(--p, 50%), var(--line-2) var(--p, 50%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--petrol); cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--petrol); cursor: pointer; }
.seg { display: flex; background: #fff; border: 1.5px solid var(--line-2); border-radius: 10px; padding: 3px; gap: 3px; }
.seg button { flex: 1; border: 0; background: none; padding: 9px 8px; border-radius: 7px; font: 500 14px var(--sans); color: var(--ink-2); cursor: pointer; }
.seg button.active { background: var(--petrol); color: #fff; }
.calc-tabs { display: inline-flex; background: var(--cream-2); border-radius: 12px; padding: 4px; margin-bottom: 28px; gap: 4px; flex-wrap: wrap; }
.calc-tabs button { border: 0; background: none; padding: 12px 22px; border-radius: 9px; font: 600 15.5px var(--sans); color: var(--ink-2); cursor: pointer; }
.calc-tabs button.active { background: #fff; color: var(--petrol); box-shadow: 0 2px 8px rgba(15,37,51,.1); }
.result-hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.result-hero .r { background: var(--cream); border-radius: 12px; padding: 18px; }
.result-hero .r.main { background: var(--petrol-2); color: #fff; }
.result-hero .r span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; line-height: 1.35; }
.result-hero .r.main span { color: #b9cdd3; }
.result-hero .r strong { font: 600 27px/1.1 var(--serif); }
.result-hero .r small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.result-hero .r.main small { color: #9fb7be; }
@media (max-width: 640px) { .result-hero { grid-template-columns: 1fr; } }
.chart-wrap { position: relative; margin: 6px 0 18px; }
.chart-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.chart-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart-tip { position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; padding: 8px 11px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .12s; }
.calc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.calc-table th, .calc-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.calc-table th:first-child, .calc-table td:first-child { text-align: left; }
.calc-table thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.calc-table tr.total td { font-weight: 700; border-top: 2px solid var(--ink); }
.calc-table td.neg { color: var(--red); }
.calc-table td.pos { color: var(--green); }
.disclaimer { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 18px; }
details.more { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
details.more summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--petrol); }
.calc-cta { margin-top: 24px; background: var(--sun-soft); border-radius: 12px; padding: 20px 22px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.calc-cta p { margin: 0; font-size: 15.5px; max-width: 460px; }
.warn { background: #fdf2ef; color: #8a3326; border-radius: 9px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; display: none; }
.warn.show { display: block; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 21px 36px 21px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--sans); color: var(--petrol); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group-title { font-family: var(--serif); font-size: 26px; margin: 48px 0 18px; }
.faq-group-title:first-child { margin-top: 0; }

/* ---------- CTA-Band ---------- */
.cta-band { background: var(--petrol-2); color: #fff; border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(224,155,45,.35), rgba(224,155,45,0) 70%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9cdd3; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; position: relative; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 36px 26px; } }

.callout { background: var(--sun-soft); border-left: 4px solid var(--sun); padding: 20px 24px; border-radius: 0 12px 12px 0; margin: 28px 0; }
.callout.petrol { background: var(--petrol-soft); border-color: var(--petrol); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* ---------- Fließtext (Rechtliches, Ratgeber) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 30px; margin-top: 54px; }
.prose h3 { font-size: 22px; margin-top: 34px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 15.5px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 11px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--cream); font-weight: 600; }
.prose td.num, .prose th.num { text-align: right; white-space: nowrap; }
.toc { background: var(--cream); border-radius: 12px; padding: 22px 26px; margin-bottom: 40px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.placeholder { background: #fff3cd; padding: 0 4px; border-radius: 3px; }

/* ---------- Team / Über uns ---------- */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.founder img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; width: 100%; }
.signature { font: italic 600 26px var(--serif); color: var(--petrol); margin-top: 8px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .founder img { max-width: 340px; } }

/* ---------- Vergleich ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 15.5px; }
.compare th, .compare td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; font-weight: 500; }
.compare thead th { background: var(--cream); font-weight: 600; font-size: 14.5px; }
.compare thead th.hl { background: var(--petrol); color: #fff; }
.compare td.hl { background: #f3f8f9; font-weight: 600; color: var(--petrol); }
.compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .compare { min-width: 640px; }

/* ---------- Footer ---------- */
.site-footer { background: #0a2530; color: #9fb7be; padding: 72px 0 0; font-size: 15px; }
.site-footer a { color: #d5e2e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer-grid h4 { font: 600 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo-name { color: #fff; }
.site-footer .logo-sub { color: #7f9aa2; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 26px 0 32px; font-size: 13px; line-height: 1.6; }
.footer-legal .wrap { display: grid; gap: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Modal & Sticky-CTA ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(8, 26, 34, .62); backdrop-filter: blur(3px); }
.modal.open { display: flex; animation: fade .25s ease; }
.modal-box { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow-y: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--cream); cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink); z-index: 2; }
.modal-close:hover { background: var(--cream-2); }
.leadmagnet-modal .form-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 30px; }
.leadmagnet-modal .modal-box { max-width: 720px; }
@media (max-width: 640px) { .leadmagnet-modal .form-card { grid-template-columns: 1fr; } .leadmagnet-modal .book-cover { display: none; } }

.book-cover { aspect-ratio: 3 / 4.2; border-radius: 6px 12px 12px 6px; background: linear-gradient(160deg, #0f4c5c, #082a34); color: #fff; padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: -6px 0 0 #0a3540 inset, 0 18px 36px -12px rgba(0,0,0,.45); position: relative; overflow: hidden; }
.book-cover::after { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(224,155,45,.85), rgba(224,155,45,0) 70%); }
.book-cover small { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--sun); position: relative; }
.book-cover strong { font: 600 19px/1.15 var(--serif); position: relative; }
.book-cover span { font-size: 9.5px; color: #b9cdd3; position: relative; }
.book-cover.lg { max-width: 300px; padding: 30px 26px; }
.book-cover.lg small { font-size: 12px; }
.book-cover.lg strong { font-size: 32px; }
.book-cover.lg span { font-size: 13px; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; display: none; gap: 10px; box-shadow: 0 -8px 24px -12px rgba(15,37,51,.3); transform: translateY(100%); transition: transform .3s; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; padding: 13px 12px; font-size: 15px; }
@media (max-width: 760px) { .sticky-cta { display: flex; } body { padding-bottom: 72px; } }

/* ---------- Kleinkram ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.flex-gap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 44px; opacity: .8; }
.logos-row span { font: 600 17px var(--sans); color: var(--muted); letter-spacing: .02em; display: inline-flex; align-items: center; gap: 8px; }
.logos-row svg { width: 22px; height: 22px; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

@media print {
  .site-header, .topbar, .site-footer, .sticky-cta, .demo-bar, .modal { display: none !important; }
}
.bg-petrol .card .muted, .bg-petrol .card .lead { color: var(--muted); }
p > svg, li > svg:not(.hero-checks svg) { width: 16px; height: 16px; display: inline-block; vertical-align: -3px; }
@media (min-width: 1001px) { .contact-layout { grid-template-columns: 1fr 400px; } }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .form-card { padding: 24px 20px; } }
@media (max-width: 480px) { .nav-cta .btn-primary { display: none; } .logo-name { font-size: 23px; } }
.detail-layout > *, .split > *, .grid > *, .calc > *, .result-hero > *, .founder > * { min-width: 0; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
@media (max-width: 480px) { h1, h2, h3 { hyphens: auto; } }
.result-hero .r strong { overflow-wrap: anywhere; }
@media (max-width: 420px) { #quick-calc .result-hero { grid-template-columns: 1fr !important; } }
.doc-list li { flex-wrap: wrap; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } .doc-list .lock { margin-left: 36px; } }
@media (max-width: 420px) { .stat-row, .split .stat-row, .trust-strip .wrap { grid-template-columns: 1fr !important; } .stat { padding: 22px 20px; } .stat strong { font-size: 32px; } }
.tl-item > * { min-width: 0; }
@media (max-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.project-tag { position: absolute; left: 14px; bottom: 14px; background: var(--sun); color: #1b1305; font: 600 12.5px/1 var(--sans); padding: 6px 10px; border-radius: 7px; }
@media (max-width: 380px) { p, li, td, span { overflow-wrap: break-word; hyphens: auto; } }

/* ==========================================================================
   Anlagen-Übersicht, Anlagen-Detailseite, Grünspeicher
   ========================================================================== */
.link-btn { background: none; border: 0; padding: 6px 0; font: 500 14.5px var(--sans); color: var(--petrol); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.link-btn svg { width: 17px; height: 17px; }
.link-btn:hover { color: var(--petrol-2); text-decoration: underline; }
.link-btn.on svg { fill: currentColor; }
.badge-green { background: var(--green-soft); color: var(--green); }

/* Kachel */
.a-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.a-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.a-card.sold { opacity: .7; }
.a-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.a-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.a-card:hover .a-img img { transform: scale(1.04); }
.a-img .badge { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); }
.a-phase { position: absolute; left: 14px; bottom: 14px; background: rgba(15,37,51,.82); color: #fff; font: 600 12.5px/1 var(--sans); padding: 7px 10px; border-radius: 999px; }
.a-flags { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; }
.flag { font: 600 12px/1 var(--sans); padding: 7px 9px; border-radius: 999px; background: #fff; color: var(--petrol); }
.flag.sun { background: var(--sun); color: #1b1305; }
.flag.green { background: var(--green); color: #fff; }
.flag.red { background: var(--red); color: #fff; }
.a-watch { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--petrol); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.a-watch svg { width: 18px; height: 18px; }
.a-watch.on { color: var(--sun-2); }
.a-watch.on svg { fill: currentColor; }
.a-body { padding: 20px 22px 18px; display: flex; flex-direction: column; flex: 1; }
.a-body h3 { font-size: 22px; margin: 2px 0 4px; }
.a-body h3 a { color: var(--ink); text-decoration: none; }
.a-body h3 a:hover { color: var(--petrol); }
.a-sub { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.a-yield { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 8px; background: var(--cream); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px; }
.a-yield span { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.a-yield strong { font: 600 18px/1.3 var(--serif); }
.a-yield div:first-child strong { color: var(--petrol); font-size: 22px; }
.a-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.a-check { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--green); }
.a-check svg { width: 15px; height: 15px; }
.a-foot .avail { text-align: right; font-size: 13px; }
.a-foot .avail-bar { margin-left: auto; width: 100px; }

/* Filterleiste */
.a-filter { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.a-seg { flex: none; }
.a-seg button { padding: 9px 14px; white-space: nowrap; }
.a-selects { margin-left: auto; }
.a-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; order: 3; padding-top: 12px; border-top: 1px solid var(--line); }
.a-chips .chip { padding: 8px 14px; font-size: 14px; }
.a-selects { display: flex; gap: 8px; }
.a-selects select { border: 1.5px solid var(--line-2); border-radius: 9px; padding: 9px 10px; font: 500 14px var(--sans); background: #fff; color: var(--ink); }
@media (max-width: 760px) {
  .a-filter { padding: 12px; }
  .a-seg { width: 100%; overflow-x: auto; }
  .a-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .a-chips .chip { white-space: nowrap; }
  .a-selects { width: 100%; margin-left: 0; } .a-selects select { flex: 1; min-width: 0; }
  .a-chips { border-top: 0; padding-top: 0; }
}
.alarm { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; background: var(--petrol-2); color: #e9f0f2; border-radius: var(--radius); padding: 28px 32px; }
.alarm h3 { color: #fff; }
.alarm p { color: #b9cdd3; }
.alarm strong { color: #fff; }
.alarm .consent { color: #9fb7be; }
.alarm .consent a { color: #fff; }
@media (max-width: 860px) { .alarm { grid-template-columns: 1fr; padding: 24px 20px; } }

/* Detailseite */
.d-hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--petrol-2); }
.d-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.d-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,36,46,.25) 0%, rgba(8,36,46,.88) 100%); }
.d-hero .wrap { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 40px; }
.d-hero .breadcrumb, .d-hero .breadcrumb a { color: #cfdde1; }
.d-hero h1 { color: #fff; margin: 12px 0 6px; }
.d-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.d-badges .badge { background: rgba(255,255,255,.95); }
.d-loc { display: flex; align-items: center; gap: 6px; color: #d5e2e6; flex-wrap: wrap; }
.d-loc svg { width: 16px; height: 16px; }
.d-sid { color: #9fb7be; font-size: 14px; }
.d-checkpill { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; margin-top: 6px; }
.d-checkpill svg { width: 16px; height: 16px; }
.d-strip { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px -18px rgba(15,37,51,.5); }
.d-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.d-strip .wrap > div { padding: 18px 20px; border-right: 1px solid var(--line); }
.d-strip .wrap > div:last-child { border-right: 0; }
.d-strip span { display: block; font-size: 12.5px; color: var(--muted); }
.d-strip strong { font: 600 22px/1.3 var(--serif); }
.d-strip .wrap > div:first-child strong { color: var(--petrol); }
@media (max-width: 760px) { .d-strip .wrap { grid-template-columns: 1fr 1fr; padding: 0; } .d-strip .wrap > div:nth-child(2) { border-right: 0; } .d-strip .wrap > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .d-hero { min-height: 380px; } }
.d-layout { display: grid; grid-template-columns: 1fr 370px; gap: 48px; align-items: start; }
.d-main { min-width: 0; }
.d-aside { position: sticky; top: 96px; }
@media (max-width: 1000px) { .d-layout { grid-template-columns: 1fr; } .d-aside { position: static; order: -1; } }
.d-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; position: sticky; top: 76px; z-index: 5; background: rgba(255,255,255,.96); padding: 10px 0; border-bottom: 1px solid var(--line); }
.d-tabs a { padding: 8px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink-2); background: var(--cream); }
.d-tabs a:hover { background: var(--petrol-soft); color: var(--petrol); }
@media (max-width: 760px) { .d-tabs { flex-wrap: nowrap; overflow-x: auto; } .d-tabs a { white-space: nowrap; } }
.d-block { padding: 34px 0 10px; scroll-margin-top: 140px; }
.d-block h2 { font-size: 28px; }
.d-gallery { display: flex; gap: 10px; margin: 6px 0 22px; overflow-x: auto; }
.d-gallery button { flex: none; width: 150px; height: 96px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.d-gallery button.active { border-color: var(--sun); }
.d-gallery img { width: 100%; height: 100%; object-fit: cover; }
.check-box { background: var(--green-soft); border: 1px solid #cfe5d8; border-radius: var(--radius); padding: 22px 24px; margin-top: 24px; }
.check-box h3 { display: flex; align-items: center; gap: 8px; color: var(--green); font-size: 21px; }
.check-box h3 svg { width: 20px; height: 20px; }
.check-box ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
@media (max-width: 640px) { .check-box ul { grid-template-columns: 1fr; } }
.check-box li { display: flex; gap: 10px; align-items: flex-start; }
.check-box li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--green); }
.check-box li.open svg { color: var(--sun-2); }
.check-box li strong { display: block; font-size: 15.5px; }
.check-box li span { font-size: 14px; color: var(--muted); }
.d-figs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.d-figs > div { background: var(--cream); border-radius: 12px; padding: 14px 16px; }
.d-figs > div.main { background: var(--petrol-2); color: #fff; }
.d-figs span { display: block; font-size: 12.5px; color: var(--muted); }
.d-figs .main span { color: #b9cdd3; }
.d-figs strong { font: 600 22px/1.3 var(--serif); }
@media (max-width: 760px) { .d-figs { grid-template-columns: 1fr 1fr; } }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0 0 16px; }
.facts > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 15.5px; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.docs > div { border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.docs h3 { font-size: 17px; margin-bottom: 10px; }
.docs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14.5px; }
.docs li { display: flex; gap: 8px; align-items: flex-start; }
.docs li svg { width: 15px; height: 15px; color: var(--muted); flex: none; margin-top: 3px; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } }
.invest-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.invest-head { background: linear-gradient(135deg, var(--petrol), var(--petrol-2)); color: #fff; padding: 22px 24px; }
.invest-head > span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); font-weight: 600; }
.invest-head strong { display: block; font: 600 34px/1.15 var(--serif); margin: 4px 0; }
.invest-head small { color: #b9cdd3; font-size: 13.5px; }
.invest-body { padding: 20px 24px 22px; }
.invest-links { display: flex; justify-content: space-around; margin-top: 10px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.sp-opt { border: 1px solid #cfe5d8; background: var(--green-soft); border-radius: 10px; padding: 16px 18px; }
.sp-opt h3 { font-size: 18px; color: var(--green); margin-bottom: 6px; }
.sp-opt p { font-size: 15px; margin: 0; }
