/*
 * KB Projektbau — Premium-Weiß nach dem Vorbild usefastlane.ai, für Bau.
 * Typo/Abstände/Buttons übernommen aus der Vermessung von usefastlane.ai
 * (Geist, Tinte #121111, Fließtext #51515a, Laufweite −0.04em, Radius 10/16/24,
 * Inhalt 1180 px, Blur-Reveal 0.85 s expo-out). Fastlanes Rot ist hier ein
 * Signal-Orange (Baustelle) und wird nur als Punkt/Akzent benutzt.
 */

@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Italic-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ink: #121111;
  --ink-2: #1d1d1f;
  --body: #51515a;
  --muted: #6b6b72;
  --bg: #ffffff;
  --stone: #f6f5f3;
  --stone-2: #eeebe7;
  --line: #00000014;
  --line-2: #0000001f;
  --signal: #ff5a1f;
  --signal-soft: #fff1ea;
  --ok: #16a34a;
  --shadow-sm: 0 1px 2px #0000000f, 0 1px 1px #0000000a;
  --shadow-md: 0 10px 30px #00000014, 0 2px 8px #0000000a;
  --shadow-lg: 0 30px 60px #0000001f, 0 8px 20px #0000000f;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --maxw: 1180px;
  --gutter: 24px;
  --sec: 128px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 900px) { :root { --sec: 88px; } }
@media (max-width: 560px) { :root { --gutter: 16px; --sec: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); position: relative; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow .dot, .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--signal); flex: none; }
.h1 { font-size: clamp(38px, 7.4vw, 96px); letter-spacing: -0.045em; line-height: 0.95; }
.h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.04em; line-height: 1; }
.h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.03em; line-height: 1.1; }
.h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 450; letter-spacing: -0.05em; }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--body); max-width: 560px; }
.muted { color: var(--muted); }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head .h2 { margin-top: 18px; }
.sec-head .lead { margin-top: 20px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding-inline: 22px; border-radius: var(--r-sm); font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  white-space: nowrap; transition: transform .18s, box-shadow .18s, background .18s, color .18s;
}
.btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1.5px #ffffff38, inset 0 -2px 2px #00000040; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ink { background: #16151a; color: #fff; }
.btn--ink:hover { background: #000; box-shadow: 0 8px 24px #0000002e; transform: translateY(-1px); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-2); }
.btn--light::after { box-shadow: none; }
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md), 0 0 0 1px var(--line-2); }
.btn--signal { background: var(--signal); color: #fff; box-shadow: 0 6px 18px #ff5a1f52; }
.btn--signal:hover { transform: translateY(-1px); box-shadow: 0 10px 26px #ff5a1f66; }
.btn .arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: -12px; border-radius: 7px; background: #ffffff1f; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--sm { height: 40px; padding-inline: 16px; font-size: 14px; }
.btn--sm .arrow { width: 26px; height: 26px; margin-right: -9px; }

.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); font-size: 14px; color: var(--ink-2);
}
.pill .tag { background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: 12px; pointer-events: none;
}
.nav-inner {
  pointer-events: auto; margin-inline: auto; max-width: var(--maxw); display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 10px 0 20px; border-radius: 16px; transition: max-width .5s var(--ease), background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled .nav-inner { max-width: 960px; background: #ffffffd9; backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: var(--shadow-md), 0 0 0 1px var(--line); }
@media (max-width: 1220px) { .nav { padding-inline: 12px; } }
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { height: 30px; width: auto; }
.brand-name { font-weight: 600; font-size: 16px; letter-spacing: -0.03em; }
.brand-name span { color: var(--muted); font-weight: 450; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { white-space: nowrap; font-size: 14.5px; color: var(--body); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: #0000000a; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; place-content: center; }
.burger span { display: block; width: 18px; height: 1.6px; background: var(--ink); margin: 4px auto; transition: transform .3s var(--ease), opacity .2s; }
.nav.is-open .burger span:nth-child(1) { transform: translateY(4.8px) rotate(45deg); }
.nav.is-open .burger span:nth-child(2) { transform: translateY(-4.8px) rotate(-45deg); }
.sheet {
  pointer-events: auto; position: fixed; inset: 84px 12px auto; z-index: 49; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  padding: 12px; display: grid; gap: 2px; opacity: 0; transform: translateY(-8px) scale(.98); visibility: hidden; transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.nav.is-open .sheet { opacity: 1; transform: none; visibility: visible; }
.sheet a { padding: 14px 14px; border-radius: 12px; font-size: 18px; letter-spacing: -0.02em; }
.sheet a:hover { background: var(--stone); }
.sheet .btn { margin-top: 8px; }
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn--hide-sm { display: none; }
  .burger { display: grid; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 0 40px; text-align: center; overflow: clip; }
.hero::before { /* Fastlane-Kuppel oben, hier warm-grau statt Foto */
  content: ''; position: absolute; left: 50%; top: -520px; width: 1400px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, #f1ede8 0%, #f7f5f2 45%, #ffffff00 100%); z-index: -1;
}
.hero-grid { position: absolute; inset: 0; z-index: -1; opacity: .55;
  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 60% 50% at 50% 30%, #000 0%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 0%, transparent 80%); }
.hero .pill { margin-bottom: 28px; }
.hero .h1 { max-width: 980px; margin-inline: auto; }
.hero .lead { margin: 26px auto 0; text-align: center; }
.hero-cta { margin-top: 34px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-checks { margin-top: 26px; display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: var(--body); }
.hero-checks li { display: inline-flex; align-items: center; gap: 7px; }
.hero-checks svg { width: 16px; height: 16px; color: var(--ink); }

/* hero stage: three real site photos, the middle one is the slider */
.stage { position: relative; margin: 72px auto 0; max-width: 1080px; height: clamp(380px, 52vw, 600px); perspective: 1600px; }
.stage-card {
  position: absolute; top: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--stone-2); box-shadow: var(--shadow-lg);
  transition: transform 1.2s var(--ease), opacity 1s;
}
.stage-card img { width: 100%; height: 100%; object-fit: cover; }
.stage-card--l { left: 0; width: 30%; height: 78%; top: 11%; transform: rotate(-6deg) translateY(20px); }
.stage-card--r { right: 0; width: 30%; height: 78%; top: 11%; transform: rotate(6deg) translateY(20px); }
.stage-card--c { left: 50%; width: 52%; height: 100%; transform: translateX(-50%); z-index: 2; }
html.js .stage:not(.is-in) .stage-card--l { transform: rotate(0) translate(60%, 40px); opacity: 0; }
html.js .stage:not(.is-in) .stage-card--r { transform: rotate(0) translate(-60%, 40px); opacity: 0; }
html.js .stage:not(.is-in) .stage-card--c { transform: translate(-50%, 40px) scale(.96); opacity: 0; }
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px;
  background: #ffffffeb; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow-md), 0 0 0 1px var(--line);
  font-size: 13.5px; font-weight: 500; white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.chip i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-style: normal; }
.chip i svg { width: 12px; height: 12px; }
.chip--1 { left: 13%; top: 8%; animation-delay: -1s; }
.chip--2 { right: 12%; top: 30%; animation-delay: -3s; }
.chip--3 { left: 17%; bottom: 10%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 760px) {
  .stage { height: auto; aspect-ratio: 4 / 5; margin-top: 48px; }
  .stage-card--l, .stage-card--r { display: none; }
  .stage-card--c { width: 100%; }
  .chip--1 { left: 4%; top: 4%; } .chip--2 { right: 4%; top: auto; bottom: 22%; } .chip--3 { left: 4%; bottom: 5%; }
}

/* ---------- before/after slider ---------- */
.ba { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; user-select: none; -webkit-user-select: none; touch-action: pan-y; background: var(--stone-2); --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px #00000014, 0 0 24px #00000040; pointer-events: none; }
.ba-knob {
  position: absolute; top: 50%; left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); pointer-events: none; transition: transform .2s var(--ease);
}
.ba-knob svg { width: 22px; height: 22px; color: var(--ink); }
.ba:hover .ba-knob, .ba.is-drag .ba-knob { transform: scale(1.08); }
.ba { cursor: ew-resize; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; z-index: 4; pointer-events: none; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + .ba-knob, .ba:has(.ba-range:focus-visible) .ba-knob { outline: 2px solid var(--signal); outline-offset: 3px; }
.ba-tag {
  position: absolute; top: 16px; z-index: 3; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 8px; background: #121111cc; color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; transition: opacity .25s;
}
.ba-tag--before { left: 16px; }
.ba-tag--after { right: 16px; background: #ffffffe6; color: var(--ink); }
.ba-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 3; font-size: 13px; color: #fff; background: #12111199; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px); pointer-events: none; transition: opacity .4s; white-space: nowrap; }
.ba.is-touched .ba-hint { opacity: 0; }
/* Platzhalter, bis echte Vorher-Fotos da sind */
.ba-missing { position: absolute; inset: 0; color: var(--muted);
  background: repeating-linear-gradient(135deg, #efece8 0 14px, #e9e5e0 14px 28px); }
.ba-missing span { position: absolute; left: 16px; top: 58px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; background: #fff; padding: 8px 12px; border-radius: 8px; box-shadow: var(--shadow-sm); }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 40px; font-family: var(--mono); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.marquee-track span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- scroll statement ---------- */
.statement { padding-block: calc(var(--sec) * 1.1); }
.statement p { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 500; max-width: 1040px; }
.statement .w { color: #12111126; transition: color .35s; }
.statement .w.on { color: var(--ink); }
.statement .w em { font-style: italic; font-weight: 450; }

/* ---------- services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; border-radius: var(--r-lg); background: var(--stone); overflow: hidden; display: flex; flex-direction: column; min-height: 280px;
  box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.card-media { position: relative; flex: 1; min-height: 200px; overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 24px 26px 26px; }
.card-body .num { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.card-body h3 { margin-top: 10px; }
.card-body p { margin-top: 10px; color: var(--body); font-size: 15.5px; max-width: 46ch; }
.card--a { grid-column: span 4; grid-row: span 2; }
.card--a .card-media { min-height: 380px; }
.card--b, .card--c { grid-column: span 2; }
.card--d, .card--e { grid-column: span 3; }
.card--f { grid-column: span 6; flex-direction: row; align-items: stretch; background: var(--ink); color: #fff; min-height: 0; }
.card--f h3 { color: #fff; }
.card--f p { color: #c9c9ce; }
.card--f .card-body { padding: 34px 36px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.card--f .card-side { padding: 34px 36px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { font-size: 13px; padding: 6px 11px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); }
.card--f .tags li { background: #ffffff14; box-shadow: 0 0 0 1px #ffffff24; color: #fff; }
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card--a { grid-column: span 2; grid-row: auto; }
  .card--a .card-media { min-height: 300px; }
  .card--b, .card--c, .card--d, .card--e { grid-column: span 1; }
  .card--f { grid-column: span 2; flex-direction: column; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .card--a, .card--b, .card--c, .card--d, .card--e, .card--f { grid-column: auto; }
  .card--f .card-body, .card--f .card-side { padding: 26px; }
}

/* ---------- before/after showcase ---------- */
.showcase { background: var(--stone); border-radius: 32px; margin-inline: 12px; }
.ba-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.ba-tabs button { padding: 9px 16px; border-radius: 9px; font-size: 14.5px; color: var(--body); transition: background .25s, color .25s; }
.ba-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.ba-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-lg); }
.ba-panel[hidden] { display: none; }
.ba-caption { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 15px; color: var(--body); }
.ba-caption strong { color: var(--ink); font-weight: 500; }
@media (max-width: 640px) { .ba-frame { aspect-ratio: 4 / 5; } .showcase { margin-inline: 0; border-radius: 24px; } }

/* ---------- gallery strip ---------- */
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 24px; scrollbar-width: none; cursor: grab; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip figure { margin: 0; flex: none; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--stone-2); height: 380px; position: relative; }
.strip figure.land { width: 506px; } .strip figure.port { width: 285px; }
.strip button { display: block; width: 100%; height: 100%; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.strip figure:hover img { transform: scale(1.04); }
.strip-edge { --edge: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); padding-left: var(--edge); padding-right: var(--edge); scroll-padding-inline: var(--edge); }
.strip-nav { display: flex; gap: 8px; }
.strip-nav button { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line-2); transition: transform .2s; }
.strip-nav button:hover { transform: translateY(-1px); }
.strip-nav svg { width: 18px; height: 18px; }
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.row-head .sec-head { margin-bottom: 0; }
@media (max-width: 640px) { .strip figure { height: 300px; } .strip figure.land { width: 82vw; } .strip figure.port { width: 58vw; } .strip-nav { display: none; } }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: #0a0a0ae6; backdrop-filter: blur(6px); }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--r); }
.lightbox .lb-close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; }
.lightbox .lb-prev, .lightbox .lb-next { position: fixed; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 12px; background: #ffffffe6; display: grid; place-items: center; }
.lightbox .lb-prev { left: 18px; } .lightbox .lb-next { right: 18px; }
.lightbox svg { width: 20px; height: 20px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 28px 26px 30px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.step .n::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.step h3 { margin-top: 44px; font-size: 22px; letter-spacing: -0.03em; }
.step p { margin-top: 10px; color: var(--body); font-size: 15px; }
.step .ico { position: absolute; top: 64px; left: 26px; }
.step-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--stone); margin-top: 22px; }
.step-ico svg { width: 20px; height: 20px; }
.step h3.after-ico { margin-top: 18px; }
.step--hl { background: var(--ink); box-shadow: none; }
.step--hl h3 { color: #fff; } .step--hl p { color: #c9c9ce; } .step--hl .n { color: #a8a8ad; } .step--hl .n::after { background: #ffffff26; }
.step--hl .step-ico { background: #ffffff14; color: #fff; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- area ---------- */
.area { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.area-map { position: relative; aspect-ratio: 1; border-radius: 32px; background: var(--stone); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.area-map svg { width: 100%; height: 100%; }
.area-map .ring { fill: none; stroke: #12111114; stroke-dasharray: 3 6; }
.area-map .pulse { fill: var(--signal); opacity: .16; transform-origin: center; transform-box: fill-box; animation: pulse 3.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.3); opacity: .35; } 100% { transform: scale(2.4); opacity: 0; } }
.area-map .town circle { fill: var(--ink); }
.area-map .town text { font-family: var(--font); font-size: 13px; fill: var(--ink-2); letter-spacing: -0.01em; }
.area-map .home circle { fill: var(--signal); }
.area-map .home text { font-weight: 600; font-size: 15px; fill: var(--ink); }
.towns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.towns li { font-size: 14.5px; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line-2); }
.towns li.home { background: var(--ink); color: #fff; box-shadow: none; }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; gap: 40px; } .area-map { max-width: 520px; } }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 2px; font-size: clamp(18px, 1.8vw, 21px); font-weight: 500; letter-spacing: -0.025em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--stone); position: relative; transition: background .25s, transform .4s var(--ease); }
.faq .pm::before, .faq .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .4s var(--ease), background .25s; }
.faq .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .pm { background: var(--ink); transform: rotate(180deg); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq .ans { padding: 0 56px 26px 2px; color: var(--body); font-size: 16.5px; max-width: 72ch; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.direct { display: grid; gap: 12px; margin-top: 36px; }
.direct a { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line-2); transition: transform .3s var(--ease), box-shadow .3s; }
.direct a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md), 0 0 0 1px var(--line-2); }
.direct .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--stone); flex: none; }
.direct .ic svg { width: 20px; height: 20px; }
.direct .ic--wa { background: #e8f8ee; color: #128c4a; }
.direct small { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.direct strong { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.direct .go { margin-left: auto; color: var(--muted); }
.form { background: #fff; border-radius: 28px; padding: 32px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.form h3 { font-size: 24px; letter-spacing: -0.03em; }
.form .sub { color: var(--body); margin-top: 8px; font-size: 15px; }
.field { margin-top: 20px; }
.field label, .field .lbl { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--stone); border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px #1211110f; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choices { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.choices input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choices label { margin: 0; cursor: pointer; padding: 9px 14px; border-radius: 999px; background: var(--stone); font-size: 14px; font-weight: 450; transition: background .2s, color .2s; }
.choices input:checked + label { background: var(--ink); color: #fff; }
.choices input:focus-visible + label { outline: 2px solid var(--signal); outline-offset: 2px; }
.form-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.form-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.form .err { color: #b42318; font-size: 13.5px; margin-top: 12px; min-height: 1em; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { padding: 22px; border-radius: 22px; } .field-row, .form-actions { grid-template-columns: 1fr; } }

/* ---------- final cta + footer ---------- */
.final { position: relative; overflow: hidden; text-align: center; padding: 140px 0 120px; border-radius: 32px 32px 0 0; background: var(--ink); color: #fff; margin-inline: 12px; }
.final::before { content: ''; position: absolute; left: 50%; bottom: -60%; width: 1200px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, #ff5a1f40, #ff5a1f00); }
.final .h2 { color: #fff; position: relative; }
.final .lead { color: #c9c9ce; margin: 22px auto 0; position: relative; }
.final .hero-cta { position: relative; }
.final .btn--light { box-shadow: none; }
footer { background: var(--ink); color: #a8a8ad; margin-inline: 12px; padding: 0 0 36px; border-radius: 0 0 32px 32px; margin-bottom: 12px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; border-top: 1px solid #ffffff1a; }
.foot h4 { color: #fff; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 14px; }
.foot a, .foot p { display: block; font-size: 14.5px; margin-bottom: 9px; color: #a8a8ad; transition: color .2s; }
.foot a:hover { color: #fff; }
.foot .brand { display: flex; color: #fff; margin-bottom: 14px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; font-size: 13.5px; }
.foot-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot { grid-template-columns: 1fr; } .final, footer { margin-inline: 0; border-radius: 24px 24px 0 0; } footer { border-radius: 0; margin-bottom: 0; } }

/* mobile action bar */
.actionbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 18px; background: #ffffffe6; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); transform: translateY(140%); transition: transform .5s var(--ease); }
.actionbar.is-on { transform: none; }
.actionbar .btn { height: 46px; }
@media (max-width: 760px) { .actionbar { display: grid; } body { padding-bottom: env(safe-area-inset-bottom); } }

/* ---------- reveal ---------- */
html.js .rv { opacity: 0; transform: translateY(var(--rv-y, 28px)); filter: blur(6px); transition: opacity .85s var(--ease), transform .85s var(--ease), filter .7s; transition-delay: var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; filter: none; }
html.js .hero .rv { transition-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  html.js .rv { opacity: 1; transform: none; filter: none; }
  .statement .w { color: var(--ink); }
}

/* ---------- legal pages ---------- */
.legal { padding: 150px 0 100px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.04em; }
.legal h2 { font-size: 22px; letter-spacing: -0.025em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--body); font-size: 16.5px; margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.todo { background: var(--signal-soft); color: #9a3412; padding: 1px 6px; border-radius: 5px; font-family: var(--mono); font-size: .88em; }

/* Handy: Hero-Pille kurz, Kartenbeschriftung lesbar */
.pill .long { display: inline; } .pill .short { display: none; }
@media (max-width: 560px) {
  .pill .long { display: none; } .pill .short { display: inline; }
  .area-map .town text { font-size: 19px; }
  .area-map .home text { font-size: 22px; }
}
