/* ==========================================================================
   MainSolar Balkonservice – Stylesheet
   Farben aus dem Logo: Grün (Stecker/Blätter), Sonnenorange, Modul-Navy
   Schriften: Systemschriften (keine externen Server -> DSGVO-freundlich)
   ========================================================================== */

:root {
  --green-900: #1d4209;
  --green-700: #2e6312;
  --green-600: #3b7a17;
  --green-500: #4f9a22;
  --green-100: #e3f0d8;
  --green-50:  #f1f8eb;
  --sun:       #ff9f00;
  --sun-600:   #e88b00;
  --sun-ink:   #9a5a00;
  --sun-50:    #fff5e3;
  --navy-900:  #0e1c2f;
  --navy-800:  #15283f;
  --navy-700:  #1f3656;
  --navy-100:  #e4eaf2;
  --ink:       #15202d;
  --ink-2:     #3a4656;
  --muted:     #5d6878;
  --line:      #e2e6ea;
  --line-2:    #d3d9df;
  --bg:        #fafaf7;
  --surface:   #ffffff;
  --danger:    #b42318;

  --radius-s: 8px;
  --radius:   14px;
  --radius-l: 22px;
  --shadow-s: 0 1px 2px rgba(16,30,48,.06), 0 1px 3px rgba(16,30,48,.08);
  --shadow:   0 4px 10px rgba(16,30,48,.06), 0 14px 36px rgba(16,30,48,.08);
  --shadow-l: 0 24px 60px rgba(14,28,47,.18);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-head: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sun); color: var(--navy-900); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(48px, 6vw, 72px) 0; }
.section--white { background: var(--surface); }
.section--green { background: var(--green-50); }
.section--dark { background: var(--navy-900); color: #dfe6ef; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #a9b6c6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--sun); }
.section--dark .eyebrow { color: var(--sun); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--green-600); --b-fg: #fff; --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 999px;
  font: 700 1rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  background: var(--b-bg); color: var(--b-fg); border: 2px solid var(--b-bd);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--b-fg); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(46,99,18,.25); background: var(--green-700); }
.btn:active { transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sun { --b-bg: var(--sun); --b-fg: var(--navy-900); }
.btn--sun:hover { background: var(--sun-600); box-shadow: 0 8px 22px rgba(255,159,0,.35); color: var(--navy-900); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn--ghost:hover { background: var(--surface); box-shadow: var(--shadow-s); color: var(--ink); border-color: var(--ink-2); }
.btn--light { --b-bg: rgba(255,255,255,.12); --b-fg: #fff; --b-bd: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.22); color: #fff; box-shadow: none; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .92rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-900); color: #c8d3e0; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--sun); }
.topbar__items { display: flex; gap: 22px; align-items: center; }
.topbar__items span { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 15px; height: 15px; color: var(--sun); }
@media (max-width: 760px) { .topbar__hide-m { display: none !important; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 48px; height: auto; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; line-height: 1.05; letter-spacing: -.02em; }
.brand__name b { color: var(--green-600); font-weight: 800; }
.brand__name small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 13px; border-radius: 10px;
  font-weight: 600; font-size: .96rem; color: var(--ink-2); text-decoration: none; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--green-50); }
.nav a[aria-current="page"] { color: var(--green-700); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--sun); }
.nav .btn { margin-left: 10px; min-height: 44px; padding: 8px 20px; color: #fff; }
.nav .btn:hover { background: var(--green-700); color: #fff; }
.nav .btn[aria-current="page"]::after { display: none; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--surface); cursor: pointer; align-items: center; justify-content: center; color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 0px) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--surface); padding: 12px var(--gutter) 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"]::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
  .nav .btn { margin: 14px 0 0; border-radius: 999px; border-bottom: 0; }
}
@media (max-width: 420px) { .brand__name small { display: none; } .brand img { width: 42px; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,22,38,.92) 0%, rgba(10,22,38,.78) 42%, rgba(10,22,38,.25) 100%),
    linear-gradient(0deg, rgba(10,22,38,.55) 0%, transparent 40%);
}
.hero .wrap { padding-top: clamp(64px, 10vw, 128px); padding-bottom: clamp(64px, 9vw, 112px); }
.hero__content { max-width: 660px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { color: #d6dfea; max-width: 560px; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; font-size: .95rem; color: #e6edf5; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 20px; height: 20px; color: var(--sun); flex: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 22px;
  border-radius: 999px; background: rgba(255,159,0,.16); color: #ffd28a; border: 1px solid rgba(255,159,0,.4);
  font-size: .86rem; font-weight: 700; letter-spacing: .02em;
}
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,159,0,.25); }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(180deg, rgba(10,22,38,.7) 0%, rgba(10,22,38,.9) 70%); }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* Page hero (Unterseiten) */
.page-hero { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #dbe4ee; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,159,0,.35), rgba(255,159,0,0) 65%); pointer-events: none;
}
.page-hero .wrap { padding-top: clamp(48px, 7vw, 84px); padding-bottom: clamp(44px, 6vw, 72px); position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 820px; }
.page-hero p { max-width: 680px; font-size: 1.1rem; color: #b9c6d6; margin: 0; }
.page-hero .eyebrow { color: var(--sun); }
.breadcrumb { font-size: .85rem; color: #8fa0b5; margin-bottom: 14px; }
.breadcrumb a { color: #c9d4e2; text-decoration: none; }

/* ---------- Stats strip ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 16px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.03em; color: var(--navy-700); line-height: 1.1; }
.stat b span { color: var(--sun-600); }
.stat small { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; padding: 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 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: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px); box-shadow: var(--shadow-s);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-100); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card ul { margin: .6em 0 0; color: var(--muted); font-size: .96rem; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--green-50); color: var(--green-600); border: 1px solid var(--green-100);
}
.icon svg { width: 26px; height: 26px; }
.icon--sun { background: var(--sun-50); color: var(--sun-ink); border-color: #ffe2b0; }
.icon--navy { background: var(--navy-100); color: var(--navy-700); border-color: #d2dceb; }

/* Montageorte (Bildkacheln) */
.place {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  color: #fff; text-decoration: none; background: var(--navy-800); isolation: isolate;
}
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.place::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,22,38,.88) 0%, rgba(10,22,38,.1) 60%); }
.place:hover img { transform: scale(1.05); }
.place__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.place__txt h3 { color: #fff; margin: 0 0 4px; }
.place__txt p { margin: 0; font-size: .92rem; color: #d5dee9; }
.place:hover { color: #fff; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step__num {
  counter-increment: step; width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--green-600); color: var(--green-700); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.section--white .step__num { box-shadow: 0 0 0 6px var(--surface); }
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 10px; bottom: 10px; left: 27px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 0 18px; text-align: left; padding: 0 0 26px; }
  .step__num { margin: 0; grid-row: span 2; }
}

/* ---------- Split / Feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.media-stack { position: relative; }
.media-stack img { border-radius: var(--radius-l); box-shadow: var(--shadow-l); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-stack .float {
  position: absolute; left: -18px; bottom: -22px; background: var(--surface); border-radius: var(--radius); padding: 16px 20px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; max-width: 290px; border: 1px solid var(--line);
}
.media-stack .float b { font-size: 1.6rem; color: var(--green-700); font-weight: 800; line-height: 1; }
.media-stack .float span { font-size: .88rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 640px) { .media-stack .float { left: 12px; right: 12px; bottom: -28px; max-width: none; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checklist li::before {
  content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--green-600)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat;
  margin-top: 1px;
}
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: .96rem; }
.section--dark .checklist span { color: #a9b6c6; }

/* Vergleich */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-s); font-size: .97rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy-800); color: #fff; font-size: .92rem; letter-spacing: .02em; }
.compare thead th.hl { background: var(--green-600); }
.compare td.hl { background: var(--green-50); font-weight: 600; color: var(--green-900); }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--green-600); font-weight: 800; }
.compare .no { color: #a33; font-weight: 800; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.table-scroll .compare { min-width: 620px; }

/* ---------- Pakete ---------- */
.pkg { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px 28px; box-shadow: var(--shadow-s); }
.pkg--hl { border: 2px solid var(--green-600); box-shadow: var(--shadow); }
.pkg__tag { position: absolute; top: -14px; left: 28px; background: var(--sun); color: var(--navy-900); font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pkg h3 { font-size: 1.3rem; margin-bottom: 4px; }
.pkg__sub { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.pkg__price { font-family: var(--font-head); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy-700); line-height: 1.1; margin-bottom: 4px; }
.pkg__price small { font-size: .95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pkg__note { font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.pkg ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; font-size: .96rem; }
.pkg li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.pkg li::before { content: "✓"; color: var(--green-600); font-weight: 900; }
.pkg .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); transition: border-color .2s; }
.faq details[open] { border-color: var(--green-100); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative;
  font-weight: 700; font-size: 1.04rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b7a17' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 24px 22px; color: var(--ink-2); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--green-700), var(--green-600) 55%, #5a9e2a); color: #fff; border-radius: var(--radius-l); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255,159,0,.55), rgba(255,159,0,0) 65%); }
.cta-band h2 { color: #fff; margin-bottom: .3em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { margin: 0; color: #e3f0d8; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions .btn { flex: 1 1 100%; } }

/* ---------- Galerie-Teaser ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.mosaic a { position: relative; border-radius: var(--radius); overflow: hidden; display: block; background: var(--navy-800); }
.mosaic a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mosaic a:nth-child(4) { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic span { position: absolute; left: 10px; bottom: 10px; background: rgba(10,22,38,.78); color: #fff; font-size: .8rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; } .mosaic a:nth-child(4) { grid-column: span 1; } }

/* ---------- Mini-Rechner (Startseite) ---------- */
.quick { background: var(--surface); border-radius: var(--radius-l); box-shadow: var(--shadow-l); padding: clamp(22px, 3.4vw, 34px); color: var(--ink); border: 1px solid var(--line); }
.quick h3 { font-size: 1.3rem; color: var(--ink); }
.quick__row { display: grid; gap: 8px; margin-bottom: 18px; }
.quick__row label { font-weight: 700; font-size: .95rem; display: flex; justify-content: space-between; gap: 12px; }
.quick__row label output { color: var(--green-700); font-variant-numeric: tabular-nums; }
.quick__res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 20px; }
.quick__res div { background: var(--green-50); border-radius: 12px; padding: 12px; text-align: center; }
.quick__res b { display: block; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 800; color: var(--green-900); font-variant-numeric: tabular-nums; letter-spacing: -.02em; white-space: nowrap; }
.quick__res small { font-size: .78rem; color: var(--muted); line-height: 1.25; display: block; }
@media (max-width: 420px) { .quick__res b { font-size: 1.1rem; } }

/* ---------- Range / Formular ---------- */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--green-600) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--green-600); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--green-600); 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(--green-600); box-shadow: 0 2px 6px rgba(0,0,0,.2); }

.field { display: grid; gap: 7px; }
.field label, .field .label { font-weight: 700; font-size: .93rem; color: var(--ink); }
.field .hint { font-size: .84rem; color: var(--muted); }
.req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 50px;
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6878' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(59,122,23,.15); }
.input:user-invalid, .textarea:user-invalid { border-color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .94rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-600); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #a9b6c6; padding: 64px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: #d1dbe6; text-decoration: none; }
.footer a:hover { color: var(--sun); }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer .brand__name small { color: #8394a8; }
.footer .brand img { background: #fff; border-radius: 12px; padding: 4px; }
.footer__contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--sun); margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; color: #8394a8; }
.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; gap: 30px; } }

/* Floating WhatsApp/Call (mobil) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; gap: 10px; flex-direction: column; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-l); }
.fab a svg { width: 26px; height: 26px; }
.fab .fab__call { background: var(--green-600); }
.fab .fab__wa { background: #1fa855; }
@media (max-width: 760px) { .fab { display: flex; } }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; transition-duration: .01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* Hinweisbox */
.note { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--sun-50); border: 1px solid #ffe0a8; color: #5b3b00; font-size: .95rem; }
.note svg { width: 24px; height: 24px; color: var(--sun-ink); }
.note p:last-child { margin: 0; }
.note--green { background: var(--green-50); border-color: var(--green-100); color: var(--green-900); }
.note--green svg { color: var(--green-600); }

/* Rechtliche Seiten */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
