/* ===========================================================
   Adrian Mattmann – Design «Dunkel & Premium»
   Farben zentral in :root anpassbar
   =========================================================== */
:root {
  --bg: #0f1115;
  --bg-2: #14171d;
  --line: rgba(255, 255, 255, .07);
  --glass: rgba(255, 255, 255, .045);
  --glass-border: rgba(255, 255, 255, .11);
  --text: #f3f4f6;
  --muted: #a3a9b5;
  --gold: #f5b642;
  --gold-2: #ffd27a;
  --gold-glow: rgba(245, 182, 66, .45);
  --radius: 18px;
  --max: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Feines Solarzellen-Gitter im Hintergrund */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, rgba(0,0,0,.35) 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 0%, rgba(0,0,0,.35) 60%, transparent 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); box-shadow: 0 0 8px var(--gold-glow); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 16px; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.1rem); font-weight: 750; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.gold {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 60%, #e8912a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 40px rgba(245, 182, 66, .25);
}

/* Titel-Animation (js/main.js): Buchstaben aus der Unschärfe */
.tw { display: inline-block; white-space: nowrap; }
/* Innenabstand oben/unten, damit Unterlängen (g, p) im Kasten liegen und der Goldverlauf sie mitfärbt */
.tc { display: inline-block; opacity: 0; filter: blur(8px); padding: .12em 0 .22em; margin: -.12em 0 -.22em; }
.is-animating .tc { animation: tc-in .6s ease forwards; }
.is-animating .gold { background: none; }
.gold .tc {
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 60%, #e8912a) no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes tc-in { to { opacity: 1; filter: blur(0); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #1a1204;
  box-shadow: 0 0 0 1px rgba(255, 210, 122, .5), 0 8px 30px -6px var(--gold-glow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 210, 122, .7), 0 12px 40px -4px var(--gold-glow); }
.btn--ghost {
  background: var(--glass); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--glass-border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1px rgba(245, 182, 66, .6); }
.btn--small { padding: 9px 18px; font-size: .92rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 21, .72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand__logo { width: 52px; height: 52px; flex: none; filter: drop-shadow(0 0 10px rgba(245, 182, 66, .18)); }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__tagline { font-size: .78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); font-size: .95rem; font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: 1px solid var(--glass-border); border-radius: 12px; width: 46px; height: 46px; padding: 0; cursor: pointer; flex: none; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 5px auto; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 20px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -200px; top: -260px;
  background: radial-gradient(circle, rgba(245, 182, 66, .16), transparent 62%);
  pointer-events: none;
}
/* Titel-Box über die volle Breite, darunter zwei gleich hohe Boxen: Text 40 %, Grafik 60 % */
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: stretch; }
.hero__title { grid-column: 1 / -1; }
.hero__title.glass { padding: 20px 36px; }
.hero__title h1 { margin: 0; }
/* Titel auf einer Zeile: Schrift wächst mit der Boxbreite (Text ≈ 30.4 × Schriftgrösse breit).
   In schmalen Boxen (Handy) darf er umbrechen, damit die Schrift nicht zu klein wird. */
.hero__title { container-type: inline-size; }
@container (min-width: 680px) {
  .hero__title h1 { font-size: 3.2cqi; white-space: nowrap; }
}
/* Linke Spalte: Textbox + Solar-Rechner-Box, zusammen so hoch wie die Grafik rechts */
.hero__col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hero__text { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
/* Solar-Rechner-Box: Titel, Text, darunter der Knopf (gleich wie «Kostenloses Erstgespräch») */
.hero__calc.glass { flex: 1 1 auto; padding: 28px 32px; display: flex; flex-direction: column; justify-content: center; }
.hero__calc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hero__calc-head svg { flex: none; width: 24px; height: 24px; color: var(--gold); filter: drop-shadow(0 0 8px var(--gold-glow)); }
.hero__calc h2 { margin: 0; font-size: 1.2rem; }
.hero__calc p { margin: 0; line-height: 1.6; }
.hero__calc .btn { width: 100%; justify-content: center; margin-top: 20px; }
.lead { font-size: 1.13rem; color: #c9ced8; max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 0; }
.glass p.hero__cta { margin: 20px 0 0; color: var(--text); font-weight: 600; }
.hero__cta + .hero__actions { margin-top: 12px; }
.hero__text.glass { padding: 28px 32px; }
.hero__text .lead { color: #c9ced8; margin: 0; font-size: 1.05rem; }

/* Vorteile mit Häkchen */
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 38px; color: var(--muted); line-height: 1.5; }
.checks strong { color: var(--text); font-weight: 650; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .05em; width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 0 14px -2px var(--gold-glow);
}
.checks li::after {
  content: ""; position: absolute; left: 9px; top: calc(.05em + 6px); width: 6px; height: 11px;
  border: solid #1a1204; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.hero__text .eyebrow { color: var(--gold); margin: 0 0 16px; }
.hero__text .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; display: block; overflow: visible; }
/* Grafik passt sich der Bildschirmhöhe an, damit Titel und Boxen auch auf kleinen Laptops ganz sichtbar sind.
   Abgezogen werden Kopfzeile, Titelbox, Abstände, Zeitregler und Schalter. Die Grafik bleibt zentriert. */
@media (min-width: 901px) {
  .hero__art svg { max-height: max(240px, calc(100vh - 380px)); }
}
/* Niedrige Laptop-Bildschirme (z. B. 13 Zoll): linke Spalte straffen */
@media (min-width: 901px) and (max-height: 820px) {
  .hero__text.glass { padding: 22px 28px; }
  .hero__text .lead { font-size: 1rem; line-height: 1.6; }
  .hero__text .eyebrow { margin-bottom: 12px; }
  .glass p.hero__cta { margin-top: 16px; }
  .hero__cta + .hero__actions { margin-top: 10px; }
  .hero__calc.glass { padding: 18px 28px; }
  .hero__calc-head { margin-bottom: 6px; }
  .hero__calc p { font-size: .95rem; line-height: 1.5; }
  .hero__calc .btn { margin-top: 12px; }
}
/* Sehr niedrige Bildschirme: Rechner-Box einzeilig – Titel links, Knopf rechts, ohne Text */
@media (min-width: 901px) and (max-height: 760px) {
  .hero__calc.glass { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px; }
  .hero__calc-head { margin: 0; }
  .hero__calc p { display: none; }
  .hero__calc .btn { width: auto; margin: 0; padding: 12px 20px; }
}
@media (min-width: 901px) and (max-height: 680px) {
  .hero__title.glass { padding: 14px 36px; }
  .hero__text.glass { padding: 18px 28px; }
}

/* ===== Sections ===== */
.section { padding: 100px 0; position: relative; }
.section__head { margin-bottom: 48px; }

/* Vorteile */
.benefits { padding: 10px 0 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Leistungen: Umschalter Privat / Architekt */
.leistungen__switch { display: inline-flex; padding: 4px; margin-bottom: 22px; border-radius: 999px; background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-border); }
.leistungen__switch button { font: inherit; font-size: 1rem; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 10px 26px; border-radius: 999px; cursor: pointer; transition: color .2s, background .2s; }
.leistungen__switch button:hover { color: var(--text); }
.leistungen__switch button[aria-selected="true"] { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1a1204; }
.leistungen__switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.leistungen__panel[hidden] { display: none; }
.leistungen__intro { margin: 0 0 28px; color: var(--muted); }
/* Leistungen untereinander: Icon links, Titel und Text rechts */
.leistungen__list { display: grid; gap: 16px; }
.leistungen__list article { display: grid; grid-template-columns: 48px 1fr; column-gap: 24px; align-items: center; padding: 24px 32px; }
.leistungen__list .icon { grid-row: span 2; margin: 0; align-self: center; }
.leistungen__list h3 { margin: 0 0 4px; }
.leistungen__list .reveal:nth-child(2) { transition-delay: .08s; }
.leistungen__list .reveal:nth-child(3) { transition-delay: .16s; }
.leistungen__list .reveal:nth-child(4) { transition-delay: .24s; }
@media (max-width: 560px) {
  .leistungen__list article { grid-template-columns: 1fr; padding: 24px; }
  .leistungen__list .icon { grid-row: auto; margin-bottom: 16px; }
}

/* Glas-Karte mit Licht, das dem Mauszeiger folgt */
.glass {
  --mx: 50%; --my: 50%; --lit: 0;
  position: relative; isolation: isolate;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(245, 182, 66, .16), transparent 60%);
  opacity: var(--lit); transition: opacity .3s;
}
.glass::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 210, 122, .75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--lit); transition: opacity .3s;
}
.glass:hover { border-color: rgba(255, 255, 255, .16); }
.glass p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 182, 66, .16), rgba(245, 182, 66, .04));
  border: 1px solid rgba(245, 182, 66, .3);
  box-shadow: 0 0 24px -6px var(--gold-glow);
}
.icon svg { width: 24px; height: 24px; }
.card-num { position: absolute; top: 22px; right: 24px; font-size: .8rem; color: rgba(255,255,255,.28); font-variant-numeric: tabular-nums; letter-spacing: .1em; }

/* Ablauf: vertikale Timeline, die sich "auflädt" */
.ablauf { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.ablauf__intro { position: sticky; top: 120px; }
.timeline { --progress: 0; position: relative; list-style: none; margin: 0; padding: 0 0 0 72px; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 23px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px;
}
.timeline::before { background: rgba(255, 255, 255, .1); }
.timeline::after {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 12px var(--gold-glow), 0 0 2px var(--gold);
  transform-origin: top; transform: scaleY(var(--progress));
}
.step { position: relative; padding: 4px 0 44px; }
.step:last-child { padding-bottom: 4px; }
.step__dot {
  position: absolute; left: -72px; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700; color: var(--muted);
  background: var(--bg-2); border: 1px solid var(--glass-border);
  z-index: 1; transition: color .4s, border-color .4s, box-shadow .4s, background .4s;
}
.step.is-charged .step__dot {
  color: #1a1204; background: linear-gradient(180deg, var(--gold-2), var(--gold));
  border-color: var(--gold-2); box-shadow: 0 0 0 6px rgba(245, 182, 66, .12), 0 0 26px var(--gold-glow);
}
.step h3 { margin: 10px 0 8px; }
.step p { color: var(--muted); margin: 0; max-width: 34em; }
.step__tag { display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-left: 10px; font-weight: 600; vertical-align: middle; }

/* Über mich */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.about__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(160deg, #1c2029, #12151b);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8), 0 0 60px -30px var(--gold-glow);
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.about__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px;
  color: var(--muted); font-size: .95rem;
}
.about__placeholder svg { width: 72px; height: 72px; margin: 0 auto; color: rgba(245, 182, 66, .55); }
.about__placeholder small { font-family: ui-monospace, Consolas, monospace; font-size: .78rem; opacity: .7; }
.about__text p { color: #c9ced8; font-size: 1.05rem; }
.about__text p.muted { color: var(--muted); font-style: italic; font-size: .98rem; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .9rem; background: var(--glass); border: 1px solid var(--glass-border); }
.pill svg { width: 16px; height: 16px; color: var(--gold); }

/* CTA */
.cta { padding: 40px 0 110px; }
.cta__box {
  position: relative; overflow: hidden;
  padding: 64px 56px; border-radius: 28px;
  background:
    radial-gradient(600px circle at 85% 0%, rgba(245, 182, 66, .22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(245, 182, 66, .28);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.cta__box h2 { margin-bottom: 12px; }
.cta__box p { color: #c9ced8; margin: 0; font-size: 1.08rem; }
.cta__contact { display: flex; flex-direction: column; gap: 12px; }
.cta__contact .btn { width: 100%; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 90px; background: rgba(0,0,0,.25); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer__logo { width: 230px; height: auto; opacity: .92; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.footer__links a:hover { color: var(--gold); }
.footer__copy { color: var(--muted); font-size: .88rem; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.grid-3 .reveal:nth-child(2), .grid-4 .reveal:nth-child(2) { transition-delay: .08s; }
.grid-3 .reveal:nth-child(3), .grid-4 .reveal:nth-child(3) { transition-delay: .16s; }
.grid-4 .reveal:nth-child(4) { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Hinweis auf den Solar-Rechner (Startseite) */
.calc-teaser { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; padding: 48px; }
.calc-teaser h2 { margin-bottom: 12px; }
.calc-teaser .glass-text { color: #c9ced8; margin: 0 0 22px; font-size: 1.05rem; max-width: 36em; }
.calc-teaser__list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.calc-teaser__list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .9rem; color: var(--text); background: rgba(255,255,255,.04); border: 1px solid var(--glass-border); }
.calc-teaser__list svg { width: 16px; height: 16px; color: var(--gold); }
.calc-teaser__art svg { width: 100%; max-width: 260px; height: auto; margin: 0 auto; display: block; overflow: visible; }
.compass-needle { transform-origin: 100px 100px; animation: needle 7s ease-in-out infinite; }
@keyframes needle { 0%, 100% { transform: rotate(-35deg); } 50% { transform: rotate(40deg); } }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 22px 24px;
    background: rgba(15, 17, 21, .97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--text); }
  .nav .btn { margin-top: 18px; }
  .hero { padding: 20px 0 70px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero__art { width: 100%; }
  .grid-3 { grid-template-columns: 1fr; }
  .ablauf { grid-template-columns: 1fr; gap: 36px; }
  .ablauf__intro { position: static; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { max-width: 360px; width: 100%; }
  .cta__box { grid-template-columns: 1fr; padding: 44px 32px; }
  .calc-teaser { grid-template-columns: 1fr; padding: 36px 30px; }
  .calc-teaser__art { order: -1; }
  .calc-teaser__art svg { max-width: 180px; }
  .section { padding: 76px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header__inner { height: 68px; }
  .nav { top: 68px; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__tagline { display: none; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .glass, .hero__text.glass, .hero__title.glass, .hero__calc.glass { padding: 24px; }
  .timeline { padding-left: 62px; }
  .timeline::before, .timeline::after { left: 19px; }
  .step__dot { left: -62px; width: 40px; height: 40px; }
  .step h3 { margin-top: 6px; }
  .step__tag { display: block; margin: 0 0 4px; }
  .cta__box { padding: 36px 22px; border-radius: 22px; }
  .calc-teaser { padding: 28px 20px; }
  .calc-teaser .btn { width: 100%; }
  .cta__contact .btn { font-size: .95rem; padding: 14px 16px; }
  .footer__logo { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .flow { stroke-dasharray: none; }
}
/* ===========================================================
   Rechtliche Seiten (Impressum, Datenschutz)
   =========================================================== */
.legal { padding: 56px 0 100px; }
.legal__inner { max-width: 860px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal .lead { margin-bottom: 30px; }
.legal .back-link {
  display: flex; width: max-content; align-items: center; gap: 8px; margin-bottom: 26px;
  color: var(--muted); text-decoration: none; font-size: .92rem;
}
.legal .back-link:hover { color: var(--gold); }
.legal .back-link svg { width: 18px; height: 18px; }
.legal__card { margin-bottom: 18px; scroll-margin-top: 100px; }
.legal__card h2 { font-size: 1.25rem; margin-bottom: 12px; }
.legal__card p, .legal__card li { color: #c9ced8; }
.glass.legal__card p { color: #c9ced8; margin: 0 0 12px; }
.glass.legal__card p:last-child { margin-bottom: 0; }
.legal__card ul { margin: 0 0 12px; padding-left: 20px; }
.legal__card li { margin-bottom: 4px; }
.legal a:not(.btn):not(.back-link) { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(245, 182, 66, .4); }
.legal__contact { display: grid; gap: 6px; margin: 16px 0 0; }
.legal__contact div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.legal__contact dt { color: var(--muted); }
.legal__contact dd { margin: 0; overflow-wrap: anywhere; }
.legal__toc { margin-bottom: 18px; }
.legal__toc ol { margin: 10px 0 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.legal__toc li { margin-bottom: 4px; break-inside: avoid; }
.legal__stand { color: var(--muted); font-size: .9rem; margin-top: 26px; }
/* Platzhalter, die noch ausgefüllt werden müssen – vor Veröffentlichung entfernen */
.todo { background: rgba(245, 182, 66, .16); color: var(--gold-2) !important; border-radius: 4px; padding: 0 4px; }
.glass.legal__card p.todo-block { color: var(--gold-2); background: rgba(245, 182, 66, .08); border: 1px dashed rgba(245, 182, 66, .45); border-radius: 10px; padding: 12px 14px; }
.footer__links a[aria-current="page"] { color: var(--gold); }
@media (max-width: 560px) {
  .legal { padding: 36px 0 80px; }
  .legal__toc ol { columns: 1; }
  .legal__contact div { grid-template-columns: 70px 1fr; }
}

/* ===========================================================
   Kontaktformular
   =========================================================== */
.cta__box.contact { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 48px; }
.contact__intro { position: sticky; top: 110px; }
.contact__points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.contact__points li { display: flex; align-items: center; gap: 10px; color: #c9ced8; }
.contact__points svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-field { display: grid; gap: 6px; min-width: 0; }
.form-field--wide { grid-column: 1 / -1; }
.form-field > label { font-size: .9rem; font-weight: 600; color: var(--text); }
.form-field .optional { font-weight: 400; color: var(--muted); font-size: .82rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border-radius: 12px;
  background: rgba(0, 0, 0, .28); border: 1px solid var(--glass-border);
  transition: border-color .2s, box-shadow .2s;
}
.form-field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.form-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23f5b642' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form-field select option { background: #14171d; color: var(--text); }
.form-field input::placeholder, .form-field textarea::placeholder { color: rgba(163, 169, 181, .6); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 182, 66, .18);
}
.form-field.is-invalid input, .form-field.is-invalid textarea { border-color: #ff8a7a; }
.cta__box .form-error { font-size: .82rem; color: #ff9b8a; margin: 0; }

.form-check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.form-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); cursor: pointer; }
.form-check label { font-weight: 400; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.form-check a { color: var(--gold-2); }
.form-check .form-error { grid-column: 2; }

.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.form-actions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 650; }
.form-actions .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.cta__box .form-required { margin: 0; font-size: .82rem; color: var(--muted); }
.cta__box .form-status { margin: 16px 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-ok, .form-status.is-error { padding: 14px 16px; border-radius: 12px; }
.cta__box .form-status.is-ok { color: #d7f5dc; background: rgba(76, 175, 106, .14); border: 1px solid rgba(76, 175, 106, .45); }
.cta__box .form-status.is-error { color: #ffd6cf; background: rgba(255, 110, 90, .12); border: 1px solid rgba(255, 110, 90, .45); }

@media (max-width: 900px) {
  .cta__box.contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact__intro { position: static; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
}
/* Adressblock im Kontaktformular */
.form-address { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 14px; }
.form-address legend { padding: 0; margin-bottom: 8px; font-size: .9rem; font-weight: 600; color: var(--text); grid-column: 1 / -1; float: left; width: 100%; }
.form-address .form-field > label { font-weight: 400; font-size: .82rem; color: var(--muted); }
.form-field--street { grid-column: 1 / -1; }
.form-field--zip { grid-column: 1; }
.form-field--city { grid-column: 2; }
@media (max-width: 560px) {
  .form-address { grid-template-columns: 90px minmax(0, 1fr); }
}
