/* ==========================================================================
   Gerüstbau C. Eggert – Demo-Redesign
   Design-Tokens · Shape-Regel: Bilder/Karten 16px, Buttons & Chips Pill, Inputs 10px
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --bg: #f4f5f6;
  --bg-2: #eceef0;
  --surface: #ffffff;
  --ink: #15171a;
  --ink-2: #474c54;
  --ink-3: #6b717a;
  --line: #dde0e4;
  --line-2: #c9cdd3;
  --steel: #9aa2ac;
  --red: #cc2a1d;
  --red-deep: #a8200f;
  --red-tint: #fbeeec;
  --night: #1a1d21;

  --r-card: 16px;
  --r-input: 10px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(21 23 26 / .06), 0 2px 8px rgb(21 23 26 / .05);
  --shadow-md: 0 2px 6px rgb(21 23 26 / .05), 0 18px 40px -12px rgb(21 23 26 / .16);
  --shadow-red: 0 10px 26px -10px rgb(204 42 29 / .55);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --container: 1240px;
  --header-h: 76px;

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 106%;
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.1vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.3vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.42rem); letter-spacing: -.012em; line-height: 1.2; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.24rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.accent { color: var(--red); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--white { background: var(--surface); }
.section--tint { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-stretch: 115%;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: var(--r-input);
}
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--bh); padding: 0 1.6rem;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; position: relative; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease-out), background-color .25s, color .25s, box-shadow .3s var(--ease-out), border-color .25s;
}
.btn .i { transition: transform .35s var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(4px); }
.btn:active { transform: scale(.975); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red-deep);
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn--primary:hover::before { transform: none; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--red-tint); }
.btn--outline-light { color: #fff; border-color: rgb(255 255 255 / .4); }
.btn--outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.btn--sm { --bh: 44px; padding: 0 1.15rem; font-size: .95rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; color: var(--ink);
  background: linear-gradient(var(--red), var(--red)) left bottom / 0 2px no-repeat;
  transition: background-size .4s var(--ease-out), color .2s;
  padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 2px; color: var(--red); }
.text-link .i { transition: transform .35s var(--ease-out); }
.text-link:hover .i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgb(244 245 246 / .72);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgb(255 255 255 / .86); box-shadow: 0 6px 24px -18px rgb(21 23 26 / .3); }
@media (prefers-reduced-transparency: reduce) { .site-header { background: #fff; backdrop-filter: none; } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 56px; width: auto; }
.main-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: var(--r-pill);
  font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink); background: none; border: 0; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: rgb(21 23 26 / .06); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--red); }
.nav-link .i { width: 1em; height: 1em; transition: transform .3s var(--ease-out); }
.nav-item { position: relative; }
.nav-item.is-open > .nav-link .i { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 360px; padding: .6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center;
  transition: opacity .22s, transform .3s var(--ease-out), visibility 0s .3s;
}
.nav-item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .22s, transform .3s var(--ease-out); }
.dropdown a {
  display: grid; grid-template-columns: 40px 1fr; gap: .2rem .8rem; align-items: center;
  padding: .7rem .75rem; border-radius: 12px; text-decoration: none; transition: background-color .2s;
}
.dropdown a:hover { background: var(--bg); }
.dropdown .dd-icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); }
.dropdown .dd-title { font-weight: 700; line-height: 1.2; }
.dropdown .dd-text { font-size: .84rem; color: var(--ink-3); line-height: 1.3; }
.dropdown .dd-all { display: flex; justify-content: space-between; margin-top: .3rem; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; font-weight: 700; font-size: .92rem; color: var(--red); }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; font-size: .95rem;
  padding: .55rem .8rem; border-radius: var(--r-pill); transition: background-color .2s;
}
.header-phone:hover { background: rgb(21 23 26 / .06); }
.header-phone .i { color: var(--red); }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .35s var(--ease-out), background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--surface);
  padding: 1.5rem var(--gutter) 2rem; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .4s;
}
.menu-open .mobile-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease-out); }
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel > ul > li { border-bottom: 1px solid var(--line); }
.mobile-panel nav a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; text-decoration: none; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.35rem; }
.mobile-panel nav .sub a { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; padding: .55rem 0 .55rem 1rem; color: var(--ink-2); }
.mobile-panel .sub { padding-bottom: .8rem; }
.mobile-panel .mobile-cta { display: grid; gap: .7rem; margin-top: 1.6rem; }
.mobile-panel .btn { width: 100%; }
.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .main-nav, .header-phone .phone-text { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .header-actions .btn { display: none; }
}

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; padding-top: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; z-index: -1;
  background: radial-gradient(closest-side, rgb(204 42 29 / .07), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: min(calc(100dvh - var(--header-h) - 3rem), 760px); }
.hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.95rem); font-stretch: 112%; margin-bottom: .45em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero .lead { margin-bottom: 2rem; max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 2.4rem 0 0; padding: 0; list-style: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts .i { color: var(--red); }

.hero-visual { position: relative; aspect-ratio: 4 / 5; width: min(100%, 540px); justify-self: end; }
.hero-scaffold { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-scaffold line, .hero-scaffold path { stroke: var(--steel); stroke-width: 2.2; stroke-linecap: round; fill: none; vector-effect: non-scaling-stroke; }
.hero-scaffold .ledger { stroke-width: 2; }
.hero-scaffold .brace { stroke: var(--line-2); stroke-width: 1.6; }
.hero-scaffold .toe { stroke: var(--red); stroke-width: 4; }
.hero-scaffold .node { fill: var(--surface); stroke: var(--ink-3); stroke-width: 1.6; }
.hero-photo {
  position: absolute; left: 17%; top: 12%; right: 0; bottom: 0; margin: 0;
  border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-badge {
  position: absolute; left: 0; bottom: 9%; z-index: 2;
  display: flex; gap: .85rem; align-items: center; max-width: 290px;
  background: var(--surface); border-radius: var(--r-card); padding: 1rem 1.15rem; box-shadow: var(--shadow-md);
}
.hero-badge .badge-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.hero-badge .badge-icon .i { width: 26px; height: 26px; }
.hero-badge strong { display: block; font-family: var(--font-display); font-stretch: 108%; font-size: 1.02rem; line-height: 1.2; }
.hero-badge span { font-size: .85rem; color: var(--ink-3); line-height: 1.3; display: block; }

/* Hero-Animation: Gerüst baut sich auf, dann wird das Foto „eingerüstet“ sichtbar */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-scaffold [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease-io) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
  .js .hero-scaffold .node { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .45s var(--ease-out) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
  .js .hero-photo { clip-path: inset(100% 0 0 0 round var(--r-card)); animation: rise 1.25s var(--ease-io) .95s forwards; }
  .js .hero-photo img { transform: scale(1.14); animation: settle 2s var(--ease-out) .95s forwards; }
  .js .hero-badge { opacity: 0; transform: translateY(18px); animation: fadeUp .8s var(--ease-out) 1.9s forwards; }
  .js .hero h1 .line > span { transform: translateY(105%); animation: lineUp .95s var(--ease-out) forwards; animation-delay: calc(120ms + var(--i, 0) * 110ms); }
  .js .hero [data-hero-fade] { opacity: 0; transform: translateY(14px); animation: fadeUp .8s var(--ease-out) forwards; animation-delay: calc(450ms + var(--i, 0) * 110ms); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; transform: scale(1); } }
@keyframes rise { to { clip-path: inset(0 0 0 0 round var(--r-card)); } }
@keyframes settle { to { transform: scale(1); } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes lineUp { to { transform: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-visual { max-width: 460px; justify-self: center; }
}

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 2rem clamp(1rem, 2.4vw, 2rem); position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font-family: var(--font-display); font-stretch: 118%; font-weight: 780; font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -.03em; display: flex; align-items: baseline; gap: .25rem; font-variant-numeric: tabular-nums; }
.stat-value small { font-size: .42em; font-weight: 700; color: var(--red); letter-spacing: 0; }
.stat-label { margin-top: .55rem; color: var(--ink-2); font-size: .95rem; line-height: 1.4; }
@media (max-width: 820px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Leistungs-Bento ---------- */
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: 1.1rem; }
.tile {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.3rem, 2.4vw, 2rem); min-height: 300px; color: #fff; text-decoration: none;
  background: var(--night);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease-out); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(15 17 20 / 0) 25%, rgb(15 17 20 / .78) 100%); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(255 255 255 / .14), transparent 60%);
}
.tile:hover::after { opacity: 1; }
.tile:hover img { transform: scale(1.06); }
.tile h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); margin-bottom: .35rem; color: #fff; }
.tile p { margin: 0; max-width: 40ch; color: rgb(255 255 255 / .86); font-size: .98rem; line-height: 1.5; }
.tile-arrow {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgb(255 255 255 / .16); border: 1px solid rgb(255 255 255 / .3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .3s, transform .45s var(--ease-out);
}
.tile:hover .tile-arrow { background: var(--red); border-color: var(--red); transform: rotate(-45deg); }
.tile-arrow .i { width: 22px; height: 22px; transform: rotate(45deg); }
.tile--a { grid-column: 1 / span 7; grid-row: span 2; }
.tile--b { grid-column: 8 / span 5; }
.tile--c { grid-column: 8 / span 5; }
.tile--d { grid-column: 1 / -1; min-height: 280px; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.tile--d::before { background: linear-gradient(90deg, rgb(15 17 20 / .82) 0%, rgb(15 17 20 / .35) 55%, rgb(15 17 20 / .1) 100%); }
.tile--d .tile-arrow { position: static; flex: none; }
.tile--d img { object-position: 50% 35%; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tile--a, .tile--b, .tile--c, .tile--d { grid-column: 1; grid-row: auto; min-height: 320px; }
  .tile--d { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
  .tile--d .tile-arrow { position: absolute; }
}

/* ---------- Leistungsumfang / Ablauf ---------- */
.process-wrap { position: relative; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.process-rail { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line); overflow: hidden; }
.process-rail::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 1)); transition: transform 1.6s var(--ease-io); }
.js .process-wrap:not(.is-in) .process-rail::after { --p: 0; }
.process li { position: relative; padding-top: 4.4rem; }
.process li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 2px solid var(--line-2);
  font-family: var(--font-display); font-stretch: 112%; font-weight: 760; font-size: 1rem; color: var(--ink);
  transition: border-color .4s, background-color .4s, color .4s; transition-delay: calc(var(--i, 0) * 280ms + 200ms);
}
.process-wrap.is-in .process li::before { border-color: var(--red); background: var(--red); color: #fff; }
.process h3 { margin-bottom: .4rem; }
.process p { color: var(--ink-2); margin: 0; font-size: .98rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process-rail { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .process-rail::after { transform-origin: top; transform: scaleY(var(--p, 1)); }
  .process li { padding: 0 0 2.2rem 5rem; min-height: 56px; }
}

/* ---------- Split / Stärken ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.media { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--bg-2); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 11; }
.media-stack { position: relative; padding: 0 0 12% 12%; }
.media-stack .media--small { position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 6px solid var(--bg); border-radius: calc(var(--r-card) + 6px); box-shadow: var(--shadow-md); }
.section--white .media-stack .media--small { border-color: var(--surface); }
.strengths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2rem; margin-top: 2.2rem; }
.strength { display: grid; grid-template-columns: 44px 1fr; gap: .9rem; align-items: start; }
.strength .s-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); }
.strength .s-icon .i { width: 22px; height: 22px; }
.strength h3 { font-size: 1.08rem; margin: .1rem 0 .3rem; }
.strength p { font-size: .95rem; color: var(--ink-2); margin: 0; line-height: 1.55; }
@media (max-width: 900px) {
  .split, .split--wide-text { grid-template-columns: minmax(0, 1fr); }
  .split .media-col { order: -1; }
}
@media (max-width: 560px) { .strengths { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Qualitäts-Band (dunkel abgesetzter Block in hellem Theme) ---------- */
.quality { position: relative; border-radius: calc(var(--r-card) + 8px); overflow: hidden; background: var(--night); color: #fff; isolation: isolate; }
.quality-grid { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 460px; }
.quality-text { padding: clamp(2rem, 5vw, 4.5rem); align-self: center; }
.quality-text h2 { color: #fff; }
.quality-text p { color: rgb(255 255 255 / .78); }
.quality-media { position: relative; min-height: 320px; }
.quality-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quality-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .8rem; }
.quality-list li { display: flex; gap: .7rem; align-items: flex-start; color: rgb(255 255 255 / .9); }
.quality-list .i { color: #ff6a5c; margin-top: .2rem; }
@media (max-width: 860px) { .quality-grid { grid-template-columns: minmax(0, 1fr); } .quality-media { order: -1; min-height: 260px; } }

/* ---------- Einsatzgebiet / Radius ---------- */
.area { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.radius { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; }
.radius svg { width: 100%; height: 100%; overflow: visible; }
.radius .ring { fill: none; stroke: var(--line-2); stroke-width: 1.2; stroke-dasharray: 3 6; }
.radius .ring--outer { stroke: var(--red); stroke-width: 1.8; stroke-dasharray: none; }
.radius .area-fill { fill: rgb(204 42 29 / .05); }
.radius .city circle { fill: var(--ink); }
.radius .city text { font-family: var(--font-body); font-size: 13px; font-weight: 600; fill: var(--ink-2); }
.radius .home circle.core { fill: var(--red); }
.radius .home circle.halo { fill: rgb(204 42 29 / .18); }
.radius .home text { font-family: var(--font-display); font-stretch: 112%; font-weight: 760; font-size: 16px; fill: var(--ink); }
.radius .km { font-family: var(--font-display); font-stretch: 115%; font-weight: 700; font-size: 12px; fill: var(--red); letter-spacing: .08em; }
@media (prefers-reduced-motion: no-preference) {
  .js .radius .ring, .js .radius .area-fill { transform-box: view-box; transform-origin: 50% 50%; transform: scale(.2); opacity: 0; transition: transform 1.3s var(--ease-out), opacity .8s; }
  .js .radius .city { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease-out); transition-delay: calc(700ms + var(--i, 0) * 70ms); }
  .js .radius.is-in .ring, .js .radius.is-in .area-fill { transform: none; opacity: 1; }
  .js .radius.is-in .city { opacity: 1; transform: none; }
  .radius .home .halo { transform-box: fill-box; transform-origin: center; animation: halo 2.8s var(--ease-out) 3; }
}
@keyframes halo { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.place-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 2rem; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .95rem; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface); font-weight: 600; font-size: .92rem; color: var(--ink);
}
@media (max-width: 900px) { .area { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Schnell-Anfrage (Startseite) ---------- */
.quick {
  position: relative; border-radius: calc(var(--r-card) + 8px); padding: clamp(1.8rem, 5vw, 4rem);
  background: var(--red); color: #fff; overflow: hidden; isolation: isolate;
}
.quick::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16;
  background:
    linear-gradient(90deg, transparent calc(100% - 2px), #fff 0) 0 0 / 120px 100%,
    linear-gradient(0deg, transparent calc(100% - 2px), #fff 0) 0 0 / 100% 120px;
  mask-image: linear-gradient(100deg, transparent 35%, #000 90%);
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 90%);
}
.quick h2 { color: #fff; max-width: 18ch; }
.quick p { color: rgb(255 255 255 / .88); max-width: 52ch; }
.quick-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.quick-options { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.quick-option {
  display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; border-radius: 14px; text-decoration: none;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .28); color: #fff; font-weight: 700; line-height: 1.25;
  transition: background-color .25s, transform .35s var(--ease-out), color .25s;
}
.quick-option:hover { background: #fff; color: var(--red); transform: translateY(-3px); }
.quick-option .i { width: 24px; height: 24px; }
@media (max-width: 860px) { .quick-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 460px) { .quick-options { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .3s, box-shadow .3s; interpolate-size: allow-keywords; }
.faq-item[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.4rem; font-family: var(--font-display); font-stretch: 104%; font-weight: 700; font-size: 1.1rem; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { width: 34px; height: 34px; border-radius: 50%; flex: none; position: relative; background: var(--bg); transition: background-color .3s, transform .45s var(--ease-out); }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .45s var(--ease-out), background-color .3s; }
.faq-item summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary .plus { background: var(--red); transform: rotate(180deg); }
.faq-item[open] summary .plus::before, .faq-item[open] summary .plus::after { background: #fff; }
.faq-item[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.35rem; color: var(--ink-2); max-width: 75ch; }
.faq-item .faq-body p:last-child { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete; }
  .faq-item[open]::details-content { block-size: auto; }
}
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-aside { position: static; } }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 1.1rem; }

/* ---------- Kontakt-Band ---------- */
.contact-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.contact-card {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem; border-radius: var(--r-card);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
}
a.contact-card:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-card .c-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-tint); color: var(--red); margin-bottom: .6rem; }
.contact-card .c-label { font-size: .85rem; color: var(--ink-3); font-weight: 600; }
.contact-card .c-value { font-weight: 700; font-size: 1.06rem; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 960px) { .contact-band { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-band { grid-template-columns: minmax(0, 1fr); } }

.open-state { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 700; margin-top: .4rem; color: var(--ink-3); }
.open-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--steel); }
.open-state.is-open { color: #1e7a3c; }
.open-state.is-open::before { background: #22a04b; box-shadow: 0 0 0 4px rgb(34 160 75 / .15); }

/* ---------- Unterseiten-Hero ---------- */
.page-hero { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(3rem, 6vw, 5rem); position: relative; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); font-stretch: 110%; }
.page-hero .lead { margin-bottom: 1.8rem; }
.page-hero-media { position: relative; aspect-ratio: 5 / 4; overflow: clip; }
.page-hero-media .media { position: absolute; inset: 0 0 0 9%; }
.page-hero-media svg.corner { position: absolute; left: 0; top: 10%; bottom: -6%; width: 22%; height: auto; overflow: visible; }
.corner line { stroke: var(--steel); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.corner .toe { stroke: var(--red); stroke-width: 4; }
.corner .node { fill: var(--surface); stroke: var(--ink-3); stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .js .corner [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s var(--ease-io) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
  .js .corner .node { opacity: 0; animation: fadeUp .4s forwards; animation-delay: calc(var(--d, 0) * 1ms); }
  .js .page-hero-media .media { clip-path: inset(0 0 100% 0 round var(--r-card)); animation: reveal-down 1.1s var(--ease-io) .25s forwards; }
  .js .page-hero-media .media img { transform: scale(1.12); animation: settle 1.8s var(--ease-out) .25s forwards; }
}
@keyframes reveal-down { to { clip-path: inset(0 0 0 0 round var(--r-card)); } }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: minmax(0, 1fr); } .page-hero-media { max-width: 640px; } }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .88rem; color: var(--ink-3); font-weight: 600; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-2); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Artikel + Sticky-Box ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.prose h3 { margin-top: 2rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .65rem; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; align-items: start; }
.check-list .i { color: var(--red); width: 22px; height: 22px; margin-top: .15rem; }
.facts-box {
  position: sticky; top: calc(var(--header-h) + 1.6rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.7rem; box-shadow: var(--shadow-sm);
}
.facts-box h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.facts-box dl { margin: 0 0 1.4rem; display: grid; gap: .9rem; }
.facts-box dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 700; }
.facts-box dd { margin: .1rem 0 0; font-weight: 600; line-height: 1.4; }
.facts-box .btn { width: 100%; }
.facts-box .btn + .btn { margin-top: .6rem; }
@media (max-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr); } .facts-box { position: static; } }

/* ---------- Feature-Karten ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 1.6rem;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature .f-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 1.1rem; transition: background-color .3s; }
.feature:hover .f-icon { background: var(--red); }
.feature .f-icon .i { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.feature .f-num { font-family: var(--font-display); font-stretch: 118%; font-weight: 780; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; letter-spacing: -.02em; margin-bottom: .6rem; color: var(--red); }
.features--dark .feature { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .12); }
.features--dark .feature h3 { color: #fff; }
.features--dark .feature p { color: rgb(255 255 255 / .72); }

.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .7rem; }
.type-item {
  display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; transition: border-color .3s, color .3s;
}
.type-item:hover { border-color: var(--red); color: var(--red); }
.type-item .i { color: var(--red); }

/* ---------- Bild-Band mit Statement ---------- */
.band { position: relative; min-height: clamp(380px, 55vw, 560px); display: grid; align-items: end; overflow: hidden; color: #fff; isolation: isolate; }
.band img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(15 17 20 / .82), rgb(15 17 20 / .1) 70%); }
.band .container { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band blockquote { margin: 0; max-width: 30ch; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.15; letter-spacing: -.015em; }
.band .band-caption { margin-top: 1rem; color: rgb(255 255 255 / .8); font-weight: 600; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .band img { animation: parallax linear both; animation-timeline: view(); }
  }
}
@keyframes parallax { from { transform: translateY(-8%); } to { transform: translateY(8%); } }

/* ---------- Leistungs-Übersicht ---------- */
.service-rows { display: grid; gap: 1.2rem; }
.service-row {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); border-radius: var(--r-card); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: box-shadow .5s var(--ease-out), border-color .3s;
}
.service-row:nth-child(even) { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.service-row:nth-child(even) .sr-media { order: 2; }
.service-row:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.sr-media { position: relative; min-height: 320px; overflow: hidden; }
.sr-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.service-row:hover .sr-media img { transform: scale(1.05); }
.sr-body { padding: clamp(1.6rem, 3.5vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.sr-body h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.sr-body p { color: var(--ink-2); }
.sr-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: .4rem 0 1.5rem; padding: 0; list-style: none; }
.sr-tags li { font-size: .85rem; font-weight: 700; padding: .3rem .75rem; border-radius: var(--r-pill); background: var(--bg); color: var(--ink-2); }
@media (max-width: 860px) {
  .service-row, .service-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .service-row:nth-child(even) .sr-media { order: 0; }
  .sr-media { min-height: 240px; }
}

.scope { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.scope-item { padding: 1.7rem 1.5rem; }
.scope-item + .scope-item { border-left: 1px solid var(--line); }
.scope-item .i { width: 30px; height: 30px; color: var(--red); margin-bottom: .9rem; }
.scope-item h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.scope-item p { margin: 0; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 860px) { .scope { grid-template-columns: 1fr 1fr; } .scope-item:nth-child(3) { border-left: 0; } .scope-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .scope { grid-template-columns: minmax(0, 1fr); } .scope-item + .scope-item { border-left: 0; border-top: 1px solid var(--line); } }

/* Verwandte Leistungen */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.related a { display: grid; grid-template-rows: 190px auto; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: box-shadow .45s var(--ease-out), transform .45s var(--ease-out); }
.related a:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.related .r-img { overflow: hidden; }
.related img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.related a:hover img { transform: scale(1.06); }
.related .r-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.related .r-body .i { color: var(--red); transition: transform .35s var(--ease-out); }
.related a:hover .r-body .i { transform: translateX(4px); }
@media (max-width: 860px) { .related { grid-template-columns: minmax(0, 1fr); } .related a { grid-template-rows: 200px auto; } }

/* CTA-Band (Unterseiten) */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: clamp(2rem, 4.5vw, 3.5rem); border-radius: calc(var(--r-card) + 8px); background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: var(--red); opacity: .9; z-index: -1; filter: blur(70px); }
.cta-band h2 { color: #fff; margin: 0 0 .35rem; font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.cta-band p { margin: 0; color: rgb(255 255 255 / .75); }
.cta-band .cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

/* ---------- Formulare ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r-card) + 4px); padding: clamp(1.4rem, 4vw, 2.6rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .4rem; }
.field label, .field .label { font-weight: 700; font-size: .93rem; color: var(--ink); }
.field .req { color: var(--red); }
.field .hint { font-size: .83rem; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: var(--r-input);
  border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.textarea { min-height: 130px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #80868f; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--steel); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgb(204 42 29 / .14); }
.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: var(--red-deep); }
.field .error { display: none; font-size: .84rem; color: var(--red-deep); font-weight: 600; }
.field.has-error .error { display: block; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; font-size: .9rem; color: var(--ink-2); }
.consent.has-error { color: var(--red-deep); }
.consent input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--red); }
.form-note { font-size: .84rem; color: var(--ink-3); margin: 0; }

.demo-notice {
  display: none; gap: .9rem; align-items: flex-start; margin-top: 1.2rem; padding: 1.1rem 1.2rem; border-radius: 14px;
  background: var(--red-tint); border: 1px solid rgb(204 42 29 / .3); color: var(--ink);
}
.demo-notice.is-visible { display: flex; animation: fadeUp .5s var(--ease-out) both; }
.demo-notice:focus { outline: none; }
.demo-notice .i { color: var(--red); width: 26px; height: 26px; margin-top: .1rem; }
.demo-notice strong { display: block; font-size: 1.02rem; }
.demo-notice p { margin: .2rem 0 0; font-size: .93rem; color: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .demo-notice.is-visible { transform: translateY(8px); opacity: 0; animation: fadeUp .5s var(--ease-out) forwards; } }

/* ---------- Anfrage-Assistent ---------- */
.wizard { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.wizard > * { min-width: 0; }
@media (max-width: 960px) { .wizard { grid-template-columns: minmax(0, 1fr); } }
.wz-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; margin-bottom: 1.8rem; list-style: none; padding: 0; }
.wz-progress li { font-size: .8rem; font-weight: 700; color: var(--ink-3); }
.wz-progress li::before { content: ""; display: block; height: 6px; border-radius: 6px; background: var(--line); margin-bottom: .5rem; transition: background-color .4s; }
.wz-progress li.is-done::before, .wz-progress li.is-current::before { background: var(--red); }
.wz-progress li.is-current { color: var(--ink); }
@media (max-width: 560px) { .wz-progress li span { display: none; } }
.wz-step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.wz-step.is-active { display: block; }
@media (prefers-reduced-motion: no-preference) { .wz-step.is-active { animation: stepIn .5s var(--ease-out); } }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.wz-step legend { font-family: var(--font-display); font-stretch: 106%; font-weight: 760; font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.015em; line-height: 1.15; margin-bottom: .4rem; padding: 0; }
.wz-step .wz-help { color: var(--ink-2); margin-bottom: 1.4rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.choice-grid--sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice .c-box {
  display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.05rem 1.1rem; border-radius: 14px;
  border: 1.5px solid var(--line-2); background: #fff; transition: border-color .2s, background-color .2s, box-shadow .2s, transform .3s var(--ease-out);
}
.choice .c-box .i { width: 28px; height: 28px; color: var(--ink-3); transition: color .2s; }
.choice .c-title { font-weight: 700; line-height: 1.25; }
.choice .c-sub { font-size: .83rem; color: var(--ink-3); line-height: 1.35; }
.choice:hover .c-box { border-color: var(--steel); }
.choice input:checked + .c-box { border-color: var(--red); background: var(--red-tint); box-shadow: 0 0 0 3px rgb(204 42 29 / .12); }
.choice input:checked + .c-box .i { color: var(--red); }
.choice input:focus-visible + .c-box { outline: 3px solid var(--red); outline-offset: 2px; }
.choice input:active + .c-box { transform: scale(.98); }
.range-wrap { display: grid; gap: .7rem; margin-top: 1.4rem; }
.range-value { font-family: var(--font-display); font-stretch: 115%; font-weight: 780; font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; }
.range-value small { font-size: .45em; color: var(--ink-3); font-weight: 700; margin-left: .3rem; letter-spacing: 0; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(var(--red), var(--red)) 0 0 / var(--fill, 30%) 100% no-repeat, var(--line); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: var(--shadow-sm); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.range-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-3); font-weight: 600; }
.wz-nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.wz-error { display: none; margin-top: 1rem; color: var(--red-deep); font-weight: 600; font-size: .92rem; }
.wz-error.is-visible { display: block; }
.wz-summary { position: sticky; top: calc(var(--header-h) + 1.6rem); background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 1.6rem; }
.wz-summary h2 { color: #fff; font-size: 1.2rem; margin-bottom: 1rem; }
.wz-summary dl { margin: 0; display: grid; gap: .8rem; }
.wz-summary dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; color: rgb(255 255 255 / .6); font-weight: 700; }
.wz-summary dd { margin: .1rem 0 0; font-weight: 600; color: #fff; }
.wz-summary dd.empty { color: rgb(255 255 255 / .45); font-weight: 500; }
.wz-summary .wz-note { margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .15); font-size: .86rem; color: rgb(255 255 255 / .7); }
@media (max-width: 960px) { .wz-summary { position: static; } }
.wz-done { text-align: left; }
.wz-done .demo-notice { display: flex; }

/* ---------- Über uns ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value { padding: 1.8rem; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.value:first-child { grid-row: span 2; background: var(--ink); color: #fff; border-color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.value:first-child h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.value:first-child p { color: rgb(255 255 255 / .75); }
.value h3 { margin-bottom: .45rem; }
.value p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.value .v-num { font-family: var(--font-display); font-stretch: 120%; font-weight: 800; font-size: clamp(3.5rem, 7vw, 6rem); line-height: .9; color: var(--red); letter-spacing: -.04em; }
@media (max-width: 860px) { .values { grid-template-columns: minmax(0, 1fr); } .value:first-child { grid-row: auto; } }

/* ---------- Kontaktseite ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: minmax(0, 1fr); } }
.contact-list { display: grid; gap: .8rem; }
.contact-list .contact-card { flex-direction: row; align-items: center; gap: 1rem; }
.contact-list .contact-card .c-icon { margin: 0; }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .6rem 0; font-weight: 600; }
.hours td { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--red); }
.address-card { padding: 1.7rem; border-radius: var(--r-card); background: var(--ink); color: #fff; }
.address-card h2 { color: #fff; font-size: 1.25rem; }
.address-card address { font-style: normal; color: rgb(255 255 255 / .82); margin-bottom: 1.2rem; line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgb(255 255 255 / .78); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { display: inline-block; background: #fff; padding: .8rem 1rem; border-radius: 12px; margin-bottom: 1.2rem; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; font-stretch: 112%; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / .12); padding-block: 1.3rem; font-size: .88rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: rgb(255 255 255 / .55); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Demo-Banner ---------- */
.demo-banner { background: #ffd43b; color: #1c1a10; border-top: 4px solid #1c1a10; }
.demo-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.3rem; }
.demo-banner p { margin: 0; font-weight: 600; max-width: 62ch; line-height: 1.5; }
.demo-banner ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.demo-banner a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem; border-radius: var(--r-pill);
  background: #1c1a10; color: #fff; text-decoration: none; font-weight: 700; font-size: .92rem; transition: background-color .2s, transform .3s var(--ease-out);
}
.demo-banner a:hover { background: #000; transform: translateY(-2px); }
.demo-banner a .i { width: 1.05em; height: 1.05em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 80; display: flex; gap: .8rem; align-items: center;
  max-width: min(520px, calc(100% - 2rem)); padding: 1rem 1.2rem; border-radius: 14px; background: var(--ink); color: #fff; box-shadow: var(--shadow-md);
  transform: translate(-50%, 140%); transition: transform .5s var(--ease-out);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast .i { color: #ffd43b; width: 24px; height: 24px; }

/* ---------- Scroll-Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal="left"] { transform: translateX(-28px); }
  .js [data-reveal="scale"] { transform: scale(.96); }
  .js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(12% 0 0 0 round var(--r-card)); transition: clip-path 1.2s var(--ease-out); }
  .js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round var(--r-card)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Hilfsklassen */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: .8rem; }
