/* K2 Haustechnik. Design system.
   Radius rule: containers 28px outer / 22px inner (double bezel), buttons pill, inputs 14px.
   One accent: K2 gold. Gold text only on ink (contrast). On paper gold is decoration only. */

@font-face { font-family: "Geist"; src: url("/fonts/geist-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geistmono-latin.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --paper: #f3f4f2;
  --paper-2: #e9ebe8;
  --card: #fbfbfa;
  --ink: #0e1114;
  --ink-2: #1b2026;
  --ink-3: #262c33;
  --text: #14181c;
  --muted: #555c63;
  --muted-on-ink: #a3aab1;
  --line: rgb(14 17 20 / 0.09);
  --line-ink: rgb(255 255 255 / 0.09);
  --gold: #c39a4a;
  --gold-hi: #e2c58a;
  --gold-grad: linear-gradient(135deg, #f1dfae 0%, #c39a4a 45%, #e6cc8e 100%);
  --ok: #2f7d57;
  --err: #b3261e;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --r-outer: 28px;
  --r-inner: 22px;
  --r-input: 14px;

  --wrap: 1320px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9.5rem);

  --shadow-soft: 0 1px 1px rgb(14 17 20 / 0.03), 0 12px 40px -12px rgb(14 17 20 / 0.12);
  --z-menu: 38; --z-nav: 40; --z-bar: 45; --z-skip: 60;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1.0625rem/1.65 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.on-ink :focus-visible, .on-ink:focus-visible { outline-color: var(--gold-hi); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: var(--z-skip); background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }

.i { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.num { font-variant-numeric: tabular-nums; letter-spacing: 0; }

/* Type */
h1, h2, h3, h4 { margin: 0; font-weight: 600; color: var(--ink); text-wrap: balance; }
.h-display { font-size: clamp(2.35rem, 4.4vw, 3.95rem); line-height: 1.02; letter-spacing: -0.042em; }
.h-1 { font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.05; letter-spacing: -0.038em; }
.h-2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); line-height: 1.08; letter-spacing: -0.032em; }
.h-3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.2; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.55; color: var(--muted); max-width: 58ch; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: var(--gap, 1.25rem); }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.gold-text { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons: pill + nested icon circle */
.btn {
  --bg: var(--ink); --fg: #fff; --dot: rgb(255 255 255 / .12);
  display: inline-flex; align-items: center; gap: .9rem; white-space: nowrap;
  min-height: 3.5rem; padding: .45rem .5rem .45rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font-weight: 500; font-size: 1rem; letter-spacing: -0.01em;
  transition: transform .5s var(--ease), background-color .4s var(--ease), box-shadow .5s var(--ease);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 10px 30px -12px rgb(14 17 20 / .45);
}
.btn .btn-dot { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 999px; background: var(--dot); transition: transform .5s var(--ease); }
.btn .btn-dot .i { width: 1.1rem; height: 1.1rem; }
.btn:hover .btn-dot { transform: translate(2px, -1px) scale(1.05); }
.btn:active { transform: scale(.98); }
.btn--gold { --bg: var(--gold-hi); --fg: var(--ink); --dot: rgb(14 17 20 / .1); background: var(--gold-grad); box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 10px 30px -12px rgb(195 154 74 / .6); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --dot: rgb(14 17 20 / .06); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { --bg: rgb(14 17 20 / .04); }
.on-ink .btn--ghost { --fg: #fff; --dot: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); }
.on-ink .btn--ghost:hover { --bg: rgb(255 255 255 / .06); }
.btn--plain { padding-right: 1.5rem; }
.btn--sm { min-height: 2.75rem; padding: .3rem .35rem .3rem 1.1rem; font-size: .95rem; gap: .6rem; }
.btn--sm .btn-dot { width: 2.1rem; height: 2.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .4s var(--ease); }
.link-arrow:hover { gap: .7rem; }

/* Header: floating island */
.nav {
  position: fixed; inset: max(env(safe-area-inset-top, 0px), .9rem) 0 auto; z-index: var(--z-nav);
  display: flex; justify-content: center; padding-inline: var(--gutter); pointer-events: none;
}
.nav-inner {
  pointer-events: auto; width: 100%; max-width: 1180px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 .5rem 0 1.1rem; border-radius: 999px;
  background: rgb(251 251 250 / .86); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .6), 0 1px 0 rgb(14 17 20 / .04), 0 18px 40px -24px rgb(14 17 20 / .35);
  transition: background-color .5s var(--ease);
}
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.brand img { width: 46px; height: auto; }
.brand small { display: block; font-size: .72rem; font-weight: 400; letter-spacing: .02em; color: var(--ink-3); line-height: 1.1; }
.brand span { line-height: 1.15; }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: .5rem .85rem; border-radius: 999px; font-size: .95rem; color: var(--ink-3); transition: background-color .3s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgb(14 17 20 / .05); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: .5rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .8rem; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.nav-phone:hover { background: rgb(14 17 20 / .05); }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--ink); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn span:first-child { top: 20px; } .menu-btn span:last-child { top: 27px; }
.menu-open .menu-btn span:first-child { top: 23.5px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 23.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: var(--z-menu); background: rgb(14 17 20 / .92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(max(env(safe-area-inset-top, 0px), .9rem) + 90px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 2rem);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { overflow: hidden; }
.menu li a { display: block; font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; padding: .35rem 0; transform: translateY(110%); transition: transform .7s var(--ease); }
.menu-open .menu li a { transform: none; }
.menu li:nth-child(2) a { transition-delay: .04s; } .menu li:nth-child(3) a { transition-delay: .08s; } .menu li:nth-child(4) a { transition-delay: .12s; }
.menu li:nth-child(5) a { transition-delay: .16s; } .menu li:nth-child(6) a { transition-delay: .2s; } .menu li:nth-child(7) a { transition-delay: .24s; }
.menu-open .nav-inner { background: rgb(251 251 250 / .96); }
body.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav-links, .nav-phone span { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 560px) {
  .nav-cta .btn { display: none; }
  .brand small { display: none; }
}

/* Mobile sticky action bar */
.actionbar {
  position: fixed; left: .6rem; right: .6rem; bottom: calc(env(safe-area-inset-bottom, 0px) + .6rem); z-index: var(--z-bar);
  display: none; grid-template-columns: 1fr 1fr 1.35fr; gap: .4rem; padding: .4rem; border-radius: 999px;
  background: rgb(14 17 20 / .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px -12px rgb(14 17 20 / .5), inset 0 1px 0 rgb(255 255 255 / .08);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.actionbar.is-visible { transform: none; }
.actionbar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; border-radius: 999px; color: #fff; font-size: .92rem; font-weight: 500; }
.actionbar a:last-child { background: var(--gold-grad); color: var(--ink); }
@media (max-width: 760px) { .actionbar { display: grid; } .footer { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 7rem); } }

/* Double bezel container */
.bezel { padding: 6px; border-radius: var(--r-outer); background: rgb(14 17 20 / .035); box-shadow: inset 0 0 0 1px var(--line); }
.bezel > .core { border-radius: var(--r-inner); background: var(--card); box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), var(--shadow-soft); overflow: hidden; height: 100%; }
.on-ink .bezel { background: rgb(255 255 255 / .03); box-shadow: inset 0 0 0 1px var(--line-ink); }
.on-ink .bezel > .core { background: var(--ink-2); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); }

/* Hero */
.hero { position: relative; padding-top: clamp(6.5rem, 12vw, 8rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; min-height: min(760px, calc(100dvh - 9rem)); }
.hero-copy { --gap: 1.6rem; }
.hero-copy .lead { max-width: 44ch; }
.hero-media { position: relative; }
.hero-media .core { aspect-ratio: 4 / 4.4; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: clamp(-2.5rem, -3vw, -1rem); bottom: 2.2rem; display: flex; align-items: center; gap: .9rem;
  padding: .7rem 1.2rem .7rem .7rem; border-radius: 999px; background: rgb(251 251 250 / .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-soft), inset 0 0 0 1px rgb(255 255 255 / .7);
}
.hero-badge img { width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
.hero-badge strong { display: block; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.hero-badge span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media .core { aspect-ratio: 4 / 3.4; }
  .hero-badge { left: 1rem; bottom: 1rem; }
}

/* Proof strip under hero */
.proof { border-block: 1px solid var(--line); }
.proof-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.proof-list li { display: flex; align-items: center; gap: .85rem; padding: 1.5rem 1.25rem; font-size: .98rem; line-height: 1.35; }
.proof-list li + li { border-left: 1px solid var(--line); }
.proof-list .i { width: 1.6rem; height: 1.6rem; color: var(--gold); }
.proof-list strong { display: block; font-weight: 600; color: var(--ink); }
.proof-list span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) {
  .proof-list { grid-template-columns: 1fr 1fr; }
  .proof-list li:nth-child(3) { border-left: 0; }
  .proof-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) { .proof-list li { padding: 1.1rem .5rem; flex-direction: column; align-items: flex-start; gap: .5rem; } }

/* Section head */
.head { --gap: 1.1rem; max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Services bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.tile { position: relative; display: block; grid-column: span 6; }
.tile .core { display: flex; flex-direction: column; min-height: 100%; }
.tile-media { position: relative; overflow: hidden; height: clamp(240px, 24vw, 360px); }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile-body { display: flex; flex-direction: column; gap: .8rem; padding: 1.6rem 1.6rem 1.7rem; flex: 1; }
.tile-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tile-ico { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.tile-ico .i { width: 1.35rem; height: 1.35rem; }
.tile-go { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background-color .4s var(--ease), color .4s var(--ease); }
.tile:hover .tile-go, .tile:focus-visible .tile-go { background: var(--ink); color: #fff; transform: translate(2px, -2px); }
.tile ul { list-style: none; margin: .2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tile li { font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; background: var(--paper); color: var(--ink-3); }
.tile--wide { grid-column: span 7; } .tile--narrow { grid-column: span 5; }
.tile--ink .core { background: var(--ink); color: #fff; }
.tile--ink h3 { color: #fff; } .tile--ink .muted { color: var(--muted-on-ink); }
.tile--ink .tile-ico { background: rgb(255 255 255 / .08); color: var(--gold-hi); }
.tile--ink .tile-go { box-shadow: inset 0 0 0 1px var(--line-ink); }
.tile--ink:hover .tile-go { background: var(--gold-hi); color: var(--ink); }
.tile--ink li { background: rgb(255 255 255 / .07); color: #dfe3e6; }
@media (max-width: 900px) { .tile, .tile--wide, .tile--narrow { grid-column: 1 / -1; } }

/* Heat pump check (lead magnet) */
.check { background: var(--ink); color: #fff; border-radius: clamp(28px, 4vw, 44px); margin-inline: clamp(.5rem, 1.5vw, 1.25rem); overflow: hidden; position: relative; isolation: isolate; }
.check::before { content: ""; position: absolute; inset: auto -20% -60% 30%; height: 90%; background: radial-gradient(closest-side, rgb(195 154 74 / .22), transparent); z-index: -1; pointer-events: none; }
.check h2, .check h3 { color: #fff; }
.check .lead, .check .muted { color: var(--muted-on-ink); }
.check-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.check-points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .9rem; }
.check-points li { display: flex; gap: .75rem; align-items: flex-start; color: #dfe3e6; }
.check-points .i { color: var(--gold-hi); margin-top: .2rem; }
@media (max-width: 1100px) { .check-grid { grid-template-columns: 1fr; } }

/* Multi-step form */
.wizard .core { padding: clamp(1.4rem, 3vw, 2.4rem); }
.wizard-progress { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; font-size: .9rem; color: var(--muted-on-ink); }
.wizard-bar { flex: 1; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .08); overflow: hidden; }
.wizard-bar i { display: block; height: 100%; width: 100%; transform-origin: left center; transform: scaleX(var(--s, .25)); background: var(--gold-grad); transition: transform .6s var(--ease); }
.step { border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { font-size: clamp(1.3rem, 2.2vw, 1.65rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 1.3rem; padding: 0; color: #fff; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: .75rem; min-height: 4rem; padding: .9rem 1rem; border-radius: var(--r-input); background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line-ink); font-weight: 500; line-height: 1.3; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.choice span .i { color: var(--gold-hi); width: 1.4rem; height: 1.4rem; }
.choice input:hover + span { background: rgb(255 255 255 / .07); }
.choice input:checked + span { background: rgb(226 197 138 / .12); box-shadow: inset 0 0 0 1.5px var(--gold-hi); }
.choice input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
@media (max-width: 520px) { .choices { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3.25rem; padding: .8rem 1rem; border-radius: var(--r-input); border: 0;
  background: var(--card); box-shadow: inset 0 0 0 1px rgb(14 17 20 / .14); transition: box-shadow .3s var(--ease);
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7278; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .error { font-size: .85rem; color: var(--err); min-height: 0; }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); }
.on-ink .field input, .on-ink .field select, .on-ink .field textarea { background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); color: #fff; }
.on-ink .field input::placeholder, .on-ink .field textarea::placeholder { color: #8e959c; }
.on-ink .field input:focus, .on-ink .field textarea:focus, .on-ink .field select:focus { box-shadow: inset 0 0 0 2px var(--gold-hi); }
.on-ink .field .hint { color: var(--muted-on-ink); }
.on-ink .field .error { color: #ff9b91; }
.on-ink .field [aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff9b91; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--ink); flex: none; }
.on-ink .consent { color: var(--muted-on-ink); } .on-ink .consent input { accent-color: var(--gold-hi); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap; }
.btn-back { background: none; border: 0; padding: .6rem 0; color: var(--muted-on-ink); cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.btn-back:hover { color: #fff; }
.form-status { margin-top: 1rem; font-size: .95rem; }
.form-status.is-error { color: var(--err); } .on-ink .form-status.is-error { color: #ff9b91; }
.success { text-align: left; }
.success .i { width: 3rem; height: 3rem; color: var(--gold-hi); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Process: horizontal steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); list-style: none; margin: 0; padding: 0; counter-reset: s; position: relative; }
.steps li { position: relative; padding-top: 2.4rem; }
.steps li::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0; font: 500 .85rem/1 "Geist Mono", monospace; color: var(--muted); }
.steps li::after { content: ""; position: absolute; top: .45rem; left: 2.4rem; right: 0; height: 1px; background: var(--line); }
.steps h3 { margin-bottom: .6rem; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Team split */
.team { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.team-media .core { aspect-ratio: 3 / 2.1; }
.team-media img { width: 100%; height: 100%; object-fit: cover; }
.team-copy { --gap: 1.3rem; }
.quote { font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.3; letter-spacing: -0.025em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.sig { display: flex; gap: 2rem; flex-wrap: wrap; padding-top: .6rem; }
.sig div { font-size: .95rem; line-height: 1.35; }
.sig strong { display: block; color: var(--ink); font-weight: 600; }
.sig span { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

/* Promise grid (ink) */
.ink { background: var(--ink); color: #dfe3e6; }
.ink h2, .ink h3 { color: #fff; }
.ink .lead, .ink .muted { color: var(--muted-on-ink); }
.ink .eyebrow { color: var(--muted-on-ink); }
.promises { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.promise .core { padding: 1.8rem; display: flex; flex-direction: column; gap: .8rem; }
.promise .i { width: 1.8rem; height: 1.8rem; color: var(--gold-hi); }
.promise--lead { grid-row: span 2; }
.promise--lead .core { justify-content: flex-end; min-height: 100%; background: linear-gradient(160deg, var(--ink-3), var(--ink-2)) !important; }
.promise--lead .big { font-size: clamp(3.2rem, 6vw, 5rem); line-height: .95; letter-spacing: -0.05em; font-weight: 600; }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr 1fr; } .promise--lead { grid-column: 1 / -1; grid-row: auto; } }
@media (max-width: 560px) { .promises { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-grid .head { position: sticky; top: 120px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.4rem 0; cursor: pointer; list-style: none; font-size: clamp(1.05rem, 1.4vw, 1.2rem); font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); flex: none; transition: transform .5s var(--ease), background-color .4s var(--ease); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq .answer { padding: 0 3.5rem 1.6rem 0; color: var(--muted); }
.faq .answer p + p { margin-top: .8rem; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .head { position: static; } .faq .answer { padding-right: 0; } }

/* Area */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.towns { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.towns li { padding: .55rem 1rem; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; }
.towns li:first-child { background: var(--ink); color: #fff; box-shadow: none; }
.map .core { aspect-ratio: 4 / 3; position: relative; background: var(--paper-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; gap: 1rem; align-content: center; }
.map-consent p { font-size: .9rem; color: var(--muted); max-width: 36ch; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }

/* CTA finale + footer */
.finale { background: var(--ink); color: #fff; padding-top: var(--section); }
.finale-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); padding-bottom: var(--section); border-bottom: 1px solid var(--line-ink); }
.finale h2 { color: #fff; }
.finale .lead { color: var(--muted-on-ink); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.contact-list a { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 20px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--line-ink); transition: background-color .4s var(--ease); }
.contact-list a:hover { background: rgb(255 255 255 / .08); }
.contact-list .i { width: 1.5rem; height: 1.5rem; color: var(--gold-hi); }
.contact-list small { display: block; color: var(--muted-on-ink); font-size: .85rem; }
.contact-list strong { font-weight: 500; font-size: 1.08rem; }
.contact-list .go { margin-left: auto; opacity: .5; }
@media (max-width: 900px) { .finale-grid { grid-template-columns: 1fr; } }

.footer { padding-block: 3.5rem calc(env(safe-area-inset-bottom, 0px) + 2.5rem); color: var(--muted-on-ink); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer .footer-h { color: #fff; font-size: .95rem; font-weight: 500; letter-spacing: 0; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a:hover { color: #fff; }
.footer .brand-foot img { width: 150px; margin-bottom: 1.2rem; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line-ink); font-size: .88rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sub page hero */
.page-hero { padding-top: clamp(8rem, 14vw, 10.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-hero .core { aspect-ratio: 4 / 3.3; }
.page-hero .core img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.4rem; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a:hover { color: var(--ink); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* Feature list (sub pages) */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feature .core { padding: 1.8rem; display: grid; gap: .7rem; align-content: start; }
.feature .i { width: 1.7rem; height: 1.7rem; color: var(--gold); }
.feature p { color: var(--muted); }
.feature--wide { grid-column: 1 / -1; }
.feature--wide .core { grid-template-columns: auto 1fr; column-gap: 1.2rem; align-items: start; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } .feature--wide .core { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.ticks li { display: flex; gap: .8rem; align-items: flex-start; }
.ticks .i { color: var(--gold); margin-top: .25rem; }
.on-ink .ticks .i, .ink .ticks .i { color: var(--gold-hi); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.note { padding: 1.1rem 1.3rem; border-radius: 18px; background: var(--paper-2); font-size: .95rem; color: var(--ink-3); display: flex; gap: .8rem; }
.note .i { color: var(--gold); margin-top: .15rem; }

/* Emergency */
.alert-hero { background: var(--ink); color: #fff; padding-top: clamp(8rem, 14vw, 10.5rem); padding-bottom: var(--section); }
.alert-hero h1 { color: #fff; }
.alert-hero .lead { color: var(--muted-on-ink); }
.alert-phone { display: inline-flex; flex-direction: column; gap: .2rem; margin-top: 1rem; }
.alert-phone small { color: var(--muted-on-ink); font-size: .9rem; }
.alert-phone a { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }

/* Legal prose */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 2.4rem 0 .8rem; }
.prose h3 { font-size: 1.1rem; margin: 1.8rem 0 .6rem; }
.prose p, .prose li { color: var(--ink-3); }
.prose p + p { margin-top: .9rem; }
.prose ul { padding-left: 1.2rem; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* Reveal motion */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
  .hero-media .core img { animation: settle 1.8s var(--ease-out) both; }
  @keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
}

/* Wizard extras */
.btn-back .i { transform: rotate(180deg); }
.urgent-hint { display: none !important; margin-bottom: 1.2rem; }
.wizard:has(input[value="Reparatur oder Störung"]:checked) .urgent-hint { display: flex !important; }
.on-ink .note { background: rgb(255 255 255 / .06); color: #dfe3e6; }
.on-ink .note .i { color: var(--gold-hi); }
.on-ink .success h3 { color: #fff; }
.on-ink .success .muted { color: var(--muted-on-ink); }

/* Bento full-width row tile */
.tile--row { grid-column: 1 / -1; }
.tile--row .core { flex-direction: row; }
.tile--row .tile-media { flex: 0 0 42%; aspect-ratio: auto; min-height: 340px; }
.tile--row .tile-body { justify-content: center; padding: clamp(1.6rem, 4vw, 3.5rem); gap: 1rem; }
.tile--row .tile-top { position: absolute; top: 1.6rem; right: 1.6rem; }
.tile--row .tile-top .tile-ico { display: none; }
.tile--row .muted { max-width: 52ch; }
@media (max-width: 760px) {
  .tile--row .core { flex-direction: column; }
  .tile--row .tile-media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .tile--row .tile-top { position: static; }
  .tile--row .tile-top .tile-ico { display: grid; }
}
.map-consent .i { width: 2rem; height: 2rem; color: var(--gold); margin-inline: auto; }
.map-consent .link-arrow { font-size: .9rem; justify-self: center; }
a.feature { display: block; color: inherit; } a.feature .core { transition: box-shadow .5s var(--ease); } a.feature:hover .core { box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 1px 1px rgb(14 17 20 / .03), 0 24px 50px -18px rgb(14 17 20 / .22); }
.split > .stack > .i { width: 2.2rem; height: 2.2rem; color: var(--gold); }
.alert-hero .crumbs a:hover { color: #fff; } .alert-hero .alert-phone a { color: #fff; }
body[data-page="index"] .area-section { padding-top: 0; } .check .crumbs a:hover { color: #fff; }
.check h1 { color: #fff; }
main > .check:last-child { margin-bottom: clamp(3rem, 7vw, 6rem); }
main > .ink:last-child { border-bottom: 1px solid var(--line-ink); }
.split .stack > .ticks { margin-top: 1.8rem; }

.menu-open .actionbar { transform: translateY(140%); }
.error { font-size: .85rem; color: var(--err); }
.on-ink .error { color: #ff9b91; }

/* UI polish pass */
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23555c63' d='M212.24 100.24l-80 80a6 6 0 0 1-8.48 0l-80-80a6 6 0 0 1 8.48-8.48L128 167.51l75.76-75.75a6 6 0 0 1 8.48 8.48Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 1rem;
}
.on-ink .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23e2c58a' d='M212.24 100.24l-80 80a6 6 0 0 1-8.48 0l-80-80a6 6 0 0 1 8.48-8.48L128 167.51l75.76-75.75a6 6 0 0 1 8.48 8.48Z'/%3E%3C/svg%3E"); }
.on-ink .field select:invalid { color: #8e959c; }
.field select option { color: var(--ink); background: #fff; }
.contact-list .go { display: grid; place-items: center; align-self: center; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.contact-list a:hover .go { opacity: 1; transform: translate(2px, -2px); }
.contact-list a > span:nth-child(2) { display: grid; gap: .1rem; }

.step legend { float: left; width: 100%; }
.step > :not(legend) { clear: both; }
.btn-back { font-size: .98rem; border-radius: 999px; padding: .6rem .9rem .6rem .2rem; }
@media (max-width: 560px) {
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row > .btn { justify-content: space-between; }
  .tile--ink .stack { margin-top: 1.5rem !important; }
  .wizard-nav .btn { flex: 1; justify-content: space-between; }
}
.choice span { cursor: pointer; }
.choice input:active + span { transform: scale(.985); }
.choice span { transition: background-color .35s var(--ease), box-shadow .35s var(--ease), transform .2s var(--ease); }
.faq summary:hover .plus { background: rgb(14 17 20 / .05); }
.faq details[open] summary:hover .plus { background: var(--ink); }
.tile:focus-visible, a.feature:focus-visible { outline-offset: 4px; border-radius: var(--r-outer); }
.field select, .on-ink .field select { background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 1rem; }
/* Hide mobile action bar while filling a form (it would cover the submit button) */
body:has(form[data-lead] :focus) .actionbar { transform: translateY(140%); }

.choices .choice:last-child:nth-child(odd) { grid-column: 1 / -1; }
.btn:disabled { opacity: .7; cursor: progress; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
.related-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.related-list a { display: flex; align-items: center; gap: .8rem; padding: 1.05rem 1.2rem; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.related-list a:hover { box-shadow: inset 0 0 0 1px rgb(14 17 20 / .2), var(--shadow-soft); }
.related-list a .i:first-child { color: var(--gold); width: 1.4rem; height: 1.4rem; }
.related-list a .i:last-child { margin-left: auto; opacity: .45; transition: transform .4s var(--ease), opacity .4s var(--ease); }
.related-list a:hover .i:last-child { opacity: 1; transform: translate(2px, -2px); }
body[data-page="waermepumpe"] [data-slug="waermepumpe"], body[data-page="heizung"] [data-slug="heizung"], body[data-page="badsanierung"] [data-slug="badsanierung"],
body[data-page="sanitaer"] [data-slug="sanitaer"], body[data-page="klima-lueftung"] [data-slug="klima-lueftung"], body[data-page="wartung"] [data-slug="wartung"],
body[data-page="notdienst"] [data-slug="notdienst"] { display: none; }
@media (max-width: 900px) { .related-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related-list { grid-template-columns: 1fr; } }
/* Ink tile with background photo */
.tile--ink .core { position: relative; isolation: isolate; }
.tile-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; z-index: -2; transition: transform 1.2s var(--ease-out); }
.tile--ink .core::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgb(14 17 20 / .15) 0%, rgb(14 17 20 / .35) 35%, rgb(14 17 20 / .92) 68%, var(--ink) 100%); }
.tile--ink:hover .tile-bg { transform: scale(1.04); }
.tile--ink .tile-ico { background: rgb(14 17 20 / .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tile--ink .tile-go { background: rgb(14 17 20 / .4); }
.tile--ink .core { min-height: 560px; }
@media (max-width: 900px) { .tile--ink .core { min-height: 480px; } }
.tile ul { margin-top: .7rem; }

/* Longform content block: sticky heading left, prose right */
.lf { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.lf:first-child { border-top: 0; }
.lf > h2 { position: sticky; top: 110px; align-self: start; }
.lf .body > * + * { margin-top: 1rem; }
.lf .body p, .lf .body li { color: var(--ink-3); }
.lf .body h3 { font-size: 1.12rem; letter-spacing: -0.015em; margin-top: 1.8rem; }
.lf .body ul { padding-left: 1.1rem; }
.lf .body ul li + li { margin-top: .45rem; }
.lf .body a:not(.btn):not(.link-arrow) { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(14 17 20 / .3); }
.lf .body a:not(.btn):not(.link-arrow):hover { text-decoration-color: currentColor; }
.lf .body strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .lf { grid-template-columns: 1fr; gap: 1rem; } .lf > h2 { position: static; } }

/* Comparison / facts table */
.table-wrap { overflow-x: auto; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.table-wrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: .9rem 1.1rem; vertical-align: top; }
.table-wrap thead th { font-weight: 600; color: var(--ink); background: var(--paper-2); }
.table-wrap tbody tr + tr td, .table-wrap tbody tr + tr th { border-top: 1px solid var(--line); }
.table-wrap tbody th { font-weight: 600; color: var(--ink); }
.table-wrap td { color: var(--ink-3); }
.table-note { font-size: .85rem; color: var(--muted); margin-top: .7rem; }

/* Hero mosaic: team + one image per service area */
.hero-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.mosaic-main { grid-column: 1 / -1; margin: 0; }
.mosaic-main .core { aspect-ratio: 3 / 2; }
.mosaic-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mosaic-item { display: grid; gap: .55rem; color: var(--ink); }
.mosaic-item .bezel { display: block; padding: 4px; border-radius: 20px; }
.mosaic-item .core { display: block; aspect-ratio: 1 / 1; border-radius: 16px; }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.mosaic-item:hover img { transform: scale(1.06); }
.mosaic-label { display: flex; align-items: center; gap: .35rem; font-size: .9rem; font-weight: 500; line-height: 1.25; padding-left: .2rem; }
.mosaic-item:hover .mosaic-label { text-decoration: underline; text-underline-offset: 3px; }
.hero-mosaic .core img { animation: none; }
@media (prefers-reduced-motion: no-preference) { .mosaic-main .core img { animation: settle 1.8s var(--ease-out) both; } }
@media (max-width: 520px) { .mosaic-label { font-size: .8rem; } .hero-mosaic { gap: .5rem; } }
.mosaic-item, .mosaic-item .bezel, .mosaic-item .core { min-width: 0; width: 100%; }
.mosaic-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Owners block */
.owners { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.owners-faces { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.owners-faces figure { margin: 0; display: grid; gap: 1rem; }
.owners-faces figure:last-child { margin-top: clamp(2rem, 5vw, 4rem); }
.owners-faces img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 999px; padding: 6px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-soft); }
.owners-faces figcaption { display: grid; gap: .15rem; text-align: center; font-size: .9rem; line-height: 1.35; }
.owners-faces strong { color: var(--ink); font-weight: 600; font-size: 1rem; }
.owners-faces span { color: var(--muted); }
.owners-copy { --gap: 1.3rem; }
@media (max-width: 900px) { .owners { grid-template-columns: 1fr; } .owners-faces { max-width: 440px; } }
.owners-faces { align-items: start; } .owners-faces figure { align-content: start; } .owners-faces figcaption span { font-size: .85rem; }
.check + .related { padding-top: clamp(3rem, 6vw, 5rem); }
.table-wrap tbody th { white-space: nowrap; }
@media (max-width: 900px) { .lf { grid-template-columns: minmax(0, 1fr); } } .lf .body { min-width: 0; }
.menu li:nth-child(8) a { transition-delay: .28s; }
body[data-page="ueber-uns"] .related [data-slug="notdienst"] { display: none; } 
/* Nav with 7 items */
.nav-inner { max-width: 1240px; }
.nav-links { flex-wrap: nowrap; white-space: nowrap; gap: 0; }
.nav-links a { padding: .5rem .7rem; font-size: .93rem; }
@media (max-width: 1320px) { .nav-phone span { display: none; } .brand small { display: none; } }
@media (max-width: 1180px) { .nav-links { display: none; } .menu-btn { display: block; } .nav-phone span { display: inline; } }
@media (max-width: 560px) { .nav-phone span { display: none; } }

/* Related links spacing: sits after light content, after a dark section, or after the form card */
.related { padding-top: 0; padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.ink + .related { padding-top: clamp(4rem, 8vw, 6.5rem); }

/* Audit fixes */
.check + .section:not(.related) { padding-top: var(--section); }
.menu li a:focus-visible { outline-offset: -3px; border-radius: 12px; }
.tile--ink:hover .tile-go, .tile--ink:focus-visible .tile-go { background: var(--gold-hi); color: var(--ink); }
@media (max-width: 560px) {
  .table-wrap { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
  .table-wrap table { min-width: 0; }
  .table-wrap table, .table-wrap tbody, .table-wrap tr, .table-wrap th, .table-wrap td { display: block; }
  .table-wrap thead { display: none; }
  .table-wrap tbody { display: grid; gap: .6rem; }
  .table-wrap tbody tr { background: var(--card); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: .4rem 0; }
  .table-wrap tbody tr + tr td, .table-wrap tbody tr + tr th { border-top: 0; }
  .table-wrap tbody th { white-space: normal; padding: .7rem 1rem .2rem; font-size: 1.02rem; }
  .table-wrap td { padding: .35rem 1rem .5rem; }
  .table-wrap td::before { content: attr(data-label); display: block; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
}

/* Audit round 2 */
.hero-grid { min-height: min(680px, calc(100dvh - 14rem)); }
.area .towns { margin-top: 2rem; }
.area .towns + p { margin-top: 1.5rem; }
@media (max-width: 560px) {
  .nav-phone { width: 44px; height: 44px; justify-content: center; padding: 0; box-shadow: inset 0 0 0 1px var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .brand-foot { grid-column: 1 / -1; }
}
.footer a { display: inline-block; padding-block: .35rem; }
.footer ul { gap: .15rem; }
.page-hero-grid { align-items: center; }
.crumbs a { display: inline-block; padding-block: .6rem; margin-block: -.6rem; }
.alert-phone a { display: inline-block; padding-block: .3rem; }
.faq summary:focus-visible { outline-offset: 6px; border-radius: 14px; }
.faq summary { text-wrap: pretty; }
.section.ink { margin-inline: clamp(.5rem, 1.5vw, 1.25rem); border-radius: clamp(28px, 4vw, 44px); }
.promise--lead .core { justify-content: space-between !important; background: radial-gradient(circle at 25% 15%, rgb(195 154 74 / .2), transparent 55%), linear-gradient(160deg, var(--ink-3), var(--ink-2)) !important; }
.promise--lead .core > .i { width: 2.4rem; height: 2.4rem; }
.promise--lead .big { margin-top: auto; }
.related-list { grid-auto-rows: 1fr; }
.lf > h2 { font-size: clamp(1.55rem, 2.3vw, 2.15rem); line-height: 1.12; }
@media (min-width: 901px) { .lf { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.table-wrap td.nw { white-space: nowrap; }
@media (min-width: 1101px) { .check-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1101px) { .steps h3 { min-height: 2.4em; } }
@media (max-width: 1100px) and (min-width: 521px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; } }
@media (max-width: 900px) { .owners-faces { margin-inline: auto; } }
.check > .wrap { padding-inline: max(calc(var(--gutter) - .5rem), 1rem); }
.menu { background: rgb(14 17 20 / .97); }
.cta-split { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 3rem; }
.cta-split > .stack { max-width: 40rem; }

.hero { padding-top: clamp(7rem, 10vw, 8.5rem); }
.hero-grid { min-height: 0; }
.lf .body, .table-wrap, .faq .answer { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }

/* First screen: visible from the first paint (fast LCP), motion only via transform */
@media (prefers-reduced-motion: no-preference) {
  .js .hero [data-reveal], .js .page-hero [data-reveal], .js .alert-hero [data-reveal], .js #anfrage[data-bar-sentinel] [data-reveal] {
    opacity: 1; filter: none; transform: none; transition: none;
    animation: rise 1s var(--ease-out) both; animation-delay: var(--d, 0s);
  }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}
.wizard-nav:not(:has(> :not([hidden]))) { display: none; }
@media (max-width: 900px) { .faq-grid .head { margin-bottom: 0; } .faq-grid { gap: 1.8rem; } }
/* Choice cards: every row the same height, even if a label wraps */
.choices { grid-auto-rows: 1fr; }
.choice, .choice span { height: 100%; }
.field { align-content: start; }

/* Audit round 3 */
@media (max-width: 1100px) { .lf { grid-template-columns: minmax(0, 1fr); gap: 1rem; } .lf > h2 { position: static; } }
.related-list li { display: flex; }
.related-list a { height: 100%; width: 100%; }
@media (max-width: 1180px) { .tile--ink .core { min-height: 0; } .tile--ink .stack { margin-top: 2rem !important; } }
@media (max-width: 900px) { .map .core { aspect-ratio: 16 / 10; } }
.alert-hero { margin-inline: clamp(.5rem, 1.5vw, 1.25rem); border-radius: 0 0 clamp(28px, 4vw, 44px) clamp(28px, 4vw, 44px); }
body[data-page="kontakt"] .finale .btn--gold { display: none; }
body[data-page="kontakt"] .finale .btn-row { display: none; }
.promise h3, .feature h3, .tile h3, .steps h3 { text-wrap: balance; }
.brand { min-height: 44px; }
.link-arrow { min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
@media (max-width: 1180px) { .footer a { padding-block: .5rem; } }
.consent a, .map-consent a { display: inline-block; padding-block: .4rem; margin-block: -.4rem; }
.tile .tile-body > ul { margin-top: auto; padding-top: .7rem; }

/* Mobile menu: scrollable on short screens, content starts at top, CTAs follow the list */
.menu {
  justify-content: flex-start; gap: 2rem;
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  height: 100dvh;
}
.menu > .btn-row { margin-top: auto; }
@media (max-height: 760px) {
  .menu { gap: 1.4rem; }
  .menu li a { font-size: clamp(1.45rem, 6.5vw, 1.9rem); padding: .25rem 0; }
}
@media (max-height: 600px) {
  .menu li a { font-size: 1.3rem; padding: .15rem 0; }
  .menu .btn { min-height: 3rem; }
}
.menu { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem); }
@media (min-height: 761px) { .menu li a { font-size: clamp(1.45rem, 6.4vw, 2.4rem); } }
.brand span { white-space: nowrap; }
@media (max-width: 360px) { .brand { gap: .5rem; font-size: .95rem; } .brand img { width: 38px; } .nav-inner { padding-left: .8rem; } }
/* Open menu: solid band behind the floating nav so scrolled links never show through */
.menu { padding-top: 0; }
.menu::before { content: ""; position: sticky; top: 0; flex: none; z-index: 1; pointer-events: none;
  height: calc(max(env(safe-area-inset-top, 0px), .9rem) + 70px); margin-inline: calc(-1 * var(--gutter));
  background: linear-gradient(rgb(14 17 20) 82%, rgb(14 17 20 / 0)); }
