/* ==========================================================================
   Fliesen Baran · Designsystem
   Tokens zuerst, danach Komponenten. Farben nur über semantische Variablen.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Abstände: 8er-Raster */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --section: clamp(80px, 11vw, 160px);
  --gutter: clamp(20px, 4vw, 48px);
  --container: 1240px;

  /* Typografie */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --t-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
  --t-h2: clamp(2.125rem, 1.5rem + 2.6vw, 3.75rem);
  --t-h3: clamp(1.25rem, 1.15rem + .4vw, 1.5rem);
  --t-lead: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --t-body: 1.0625rem;
  --t-small: .9375rem;
  --t-micro: .8125rem;

  /* Form und Bewegung */
  --r-s: 12px; --r-m: 20px; --r-l: 28px; --r-pill: 980px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --d-fast: 180ms; --d-mid: 320ms; --d-slow: 800ms;
  --nav-h: 64px;
}

/* Dunkle Variante: Originalfarben des Logos */
[data-theme="dunkel"] {
  --bg: #0b0c0e;
  --surface: #15171a;
  --surface-2: #1f2226;
  --text: #f5f5f7;
  --muted: #a4a9b0;
  --line: rgba(255, 255, 255, .12);
  --accent: #22b5c6;
  --accent-hover: #3cc6d6;
  --on-accent: #03181c;
  --accent-text: #45cbda;
  --nav-bg: rgba(11, 12, 14, .72);
  --hero-scrim: linear-gradient(90deg, rgba(11, 12, 14, .78) 0%, rgba(11, 12, 14, .56) 44%, rgba(11, 12, 14, .1) 80%),
                linear-gradient(180deg, rgba(11, 12, 14, .46) 0%, rgba(11, 12, 14, 0) 22%);
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --error: #ff8a80;
  --tile-a: #2b2f34;
  --band-bg: #0f3a42;
  --tile-b: #363b41;
  color-scheme: dark;
}

/* Helle Variante: Weiß und das Blau aus dem Logo */
[data-theme="hell"] {
  --bg: #fbfbfd;
  --surface: #f1f2f4;
  --surface-2: #e9ebee;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #5c6066;
  --line: rgba(0, 0, 0, .11);
  --accent: #0a7c8b;
  --accent-hover: #086a77;
  --on-accent: #ffffff;
  --accent-text: #08707e;
  --nav-bg: rgba(251, 251, 253, .76);
  --hero-scrim: linear-gradient(90deg, rgba(251, 251, 253, .82) 0%, rgba(251, 251, 253, .58) 42%, rgba(251, 251, 253, 0) 76%),
                linear-gradient(180deg, rgba(251, 251, 253, .6) 0%, rgba(251, 251, 253, 0) 20%);
  --shadow: 0 24px 60px rgba(20, 30, 40, .16);
  --error: #b3261e;
  --tile-a: #dfe2e6;
  --band-bg: #0b4a55;
  --tile-b: #d2d6db;
  color-scheme: light;
}

/* --------------------------------------------------------------- Basis */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--t-body)/1.5 var(--font);
  letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, fieldset, legend, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--surface); padding: 10px 16px; border-radius: var(--r-s); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tint { background: var(--surface); }

.h2 { font-size: var(--t-h2); line-height: 1.06; font-weight: 600; letter-spacing: -.034em; text-wrap: balance; }
.lead { font-size: var(--t-lead); line-height: 1.42; color: var(--muted); max-width: 44ch; letter-spacing: -.016em; }
.head { display: grid; gap: var(--s-5); margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) {
  .head { grid-template-columns: 1.25fr 1fr; align-items: end; gap: var(--s-7); }
}

/* Einblenden beim Scrollen: nur transform und opacity */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--d-slow) var(--ease-out), transform var(--d-slow) var(--ease-out); transition-delay: var(--delay, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5); border-radius: var(--r-pill);
  font-weight: 500; font-size: var(--t-body); white-space: nowrap; cursor: pointer;
  transition: background-color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--small { min-height: 38px; padding: 0 var(--s-4); font-size: var(--t-small); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[hidden] { display: none; }

/* ---------------------------------------------------------------- Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); transition: background-color var(--d-mid) var(--ease), box-shadow var(--d-mid) var(--ease); }
.nav.is-stuck { background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: var(--s-6); }
.nav__logo { flex: none; display: block; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: none; gap: var(--s-6); margin-inline: auto; font-size: var(--t-small); }
.nav__links a { padding-block: var(--s-3); opacity: .82; transition: opacity var(--d-fast) var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__right { display: flex; align-items: center; gap: var(--s-3); margin-left: auto; }
.nav__tel { display: none; align-items: center; gap: var(--s-2); font-size: var(--t-small); font-weight: 500; padding: var(--s-3) var(--s-2); }
.nav__tel svg { width: 16px; height: 16px; }
.nav__cta { display: none; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; }
.burger i, .burger i::before { content: ""; display: block; width: 20px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--d-mid) var(--ease); }
.burger i { transform: translateY(-4px); }
.burger i::before { transform: translateY(8px); }
.burger[aria-expanded="true"] i { transform: rotate(45deg); }
.burger[aria-expanded="true"] i::before { transform: rotate(-90deg); }
@media (min-width: 1100px) {
  .nav__links, .nav__tel { display: flex; }
  .nav__right { margin-left: 0; }
  .nav__cta { display: inline-flex; }
  .burger { display: none; }
}

.menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: calc(var(--nav-h) + var(--s-5)) var(--gutter) var(--s-6); display: flex; flex-direction: column; gap: var(--s-6); opacity: 0; visibility: hidden; overflow-y: auto; transition: opacity var(--d-mid) var(--ease), visibility var(--d-mid); }
.menu.is-open { opacity: 1; visibility: visible; }
.menu__links a { display: block; padding-block: var(--s-3); font-size: 1.75rem; font-weight: 600; letter-spacing: -.03em; border-bottom: 1px solid var(--line); }
.menu__actions { display: grid; gap: var(--s-3); margin-top: auto; }
@media (min-width: 1100px) { .menu { display: none; } }

/* --------------------------------------------------------------- Hero */
.hero { position: relative; min-height: max(100svh, 760px); display: flex; align-items: center; padding-block: calc(var(--nav-h) + var(--s-6)) var(--s-7); isolation: isolate; overflow: clip; }
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1800ms var(--ease-out); }
.is-ready .hero__img { transform: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-scrim); }
.hero__grid { display: grid; gap: var(--s-7); align-items: center; }
.hero__title { font-size: var(--t-display); line-height: 1.03; font-weight: 600; letter-spacing: -.038em; text-wrap: balance; }
.hero__sub { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.42; max-width: 40ch; letter-spacing: -.016em; }
[data-theme="dunkel"] .hero__sub { color: #eceef0; }
[data-theme="dunkel"] .hero__title, [data-theme="dunkel"] .hero__sub, [data-theme="dunkel"] .hero__facts { text-shadow: 0 1px 18px rgba(0, 0, 0, .55); }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-6); font-size: var(--t-small); font-weight: 500; }
.hero__facts li { display: flex; align-items: center; gap: var(--s-2); }
.hero__facts svg { width: 16px; height: 16px; color: var(--accent-text); flex: none; }
@media (max-width: 1099px) {
  [data-theme="hell"] .hero::before { background: linear-gradient(180deg, rgba(251, 251, 253, .84) 0%, rgba(251, 251, 253, .66) 55%, rgba(251, 251, 253, .3) 100%); }
  [data-theme="dunkel"] .hero::before { background: linear-gradient(180deg, rgba(11, 12, 14, .7) 0%, rgba(11, 12, 14, .52) 55%, rgba(11, 12, 14, .36) 100%); }
}
@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 432px; gap: var(--s-8); }
}

/* ------------------------------------------------------------- Funnel */
.funnel { background: var(--card, var(--surface)); border-radius: var(--r-l); padding: var(--s-5); box-shadow: var(--shadow); border: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
@media (min-width: 480px) { .funnel { padding: var(--s-6); } }
.funnel__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); font-size: var(--t-micro); color: var(--muted); }
.funnel__bar { height: 3px; border-radius: 3px; background: var(--surface-2); margin: var(--s-3) 0 var(--s-5); overflow: hidden; }
.funnel__bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; transform-origin: left; transform: scaleX(var(--p, .2)); transition: transform var(--d-mid) var(--ease); }
.funnel__form { display: flex; flex-direction: column; }
@media (min-width: 1100px) { .funnel__form { min-height: 368px; } }
.funnel__steps { display: flex; flex-direction: column; flex: 1; }
.step { display: none; flex: 1; }
.step.is-active { display: flex; flex-direction: column; animation: stepIn var(--d-mid) var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.step legend { font-size: 1.375rem; line-height: 1.2; font-weight: 600; letter-spacing: -.024em; margin-bottom: var(--s-4); outline: none; }
.opts { display: grid; gap: var(--s-2); }
.opts--2 { grid-template-columns: 1fr 1fr; }
@media (min-width: 1100px) {
  /* Kacheln füllen die Karte, damit sie zwischen den Schritten nicht springt */
  .opts--drei { --opt-h: 100px; }
  .opts--zwei { --opt-h: 124px; }
}
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: var(--opt-h, 64px); padding: var(--s-2) var(--s-4); border-radius: var(--r-s); background: var(--surface-2); border: 1px solid transparent; font-size: var(--t-small); font-weight: 500; line-height: 1.25; transition: border-color var(--d-fast) var(--ease), background-color var(--d-fast) var(--ease); }
[data-theme="hell"] .opt span, [data-theme="hell"] .field input { background: var(--surface); }
.opt:hover span { border-color: var(--line); }
.opt input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, var(--surface)); }
.opt input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }

.field { display: grid; gap: var(--s-1); margin-bottom: var(--s-3); }
.field label { font-size: var(--t-micro); font-weight: 500; color: var(--muted); }
.field input { width: 100%; height: 48px; padding: 0 var(--s-4); border-radius: var(--r-s); background: var(--surface-2); border: 1px solid transparent; font-size: 1rem; transition: border-color var(--d-fast) var(--ease); }
.field input:focus { outline: none; border-color: var(--accent); }
.field.has-error input { border-color: var(--error); }
.err { display: none; font-size: var(--t-micro); color: var(--error); }
.has-error > .err { display: block; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-2); font-size: var(--t-micro); line-height: 1.4; color: var(--muted); margin-top: var(--s-1); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.consent .err { grid-column: 2; }
.funnel__nav { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); margin-top: auto; padding-top: var(--s-4); min-height: 64px; }
.funnel__back { min-height: 44px; padding-inline: var(--s-2); margin-left: calc(var(--s-2) * -1); font-size: var(--t-small); color: var(--muted); border-radius: var(--r-s); }
.funnel__back:hover { color: var(--text); }
.funnel__back[hidden] { display: block; visibility: hidden; }
.funnel__nav[hidden] { display: none; }
.funnel__note { font-size: var(--t-micro); color: var(--muted); }
.funnel__senderr { margin-top: var(--s-2); font-size: var(--t-micro); color: var(--error); }
.funnel__done { display: none; min-height: 320px; flex-direction: column; justify-content: center; gap: var(--s-3); }
.funnel.is-done .funnel__done { display: flex; animation: stepIn var(--d-mid) var(--ease-out); }
.funnel.is-done .funnel__form, .funnel.is-done .funnel__top, .funnel.is-done .funnel__bar { display: none; }
.funnel__done svg { width: 40px; height: 40px; color: var(--accent-text); }
.funnel__done h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -.024em; }
.funnel__done p { color: var(--muted); }

/* ---------------------------------------------------------- Leistungen */
.bento { display: grid; gap: var(--s-3); grid-template-columns: repeat(6, 1fr); }
.tile { position: relative; grid-column: span 6; border-radius: var(--r-l); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; min-height: 320px; color: #fff; background: #1f2226; }
.tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .8) 100%); }
.tile:hover img { transform: scale(1.03); }
.tile__txt { padding: var(--s-5); display: grid; gap: var(--s-1); width: 100%; }
.tile h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.tile h3 svg { width: 20px; height: 20px; flex: none; transition: transform var(--d-mid) var(--ease); }
.tile:hover h3 svg { transform: translateX(4px); }
.tile p { font-size: var(--t-small); line-height: 1.4; color: rgba(255, 255, 255, .86); max-width: 44ch; }
@media (min-width: 720px) {
  .tile { grid-column: span 3; min-height: 380px; }
}
@media (min-width: 1100px) {
  .tile { min-height: 480px; }
  .tile--small { grid-column: span 2; min-height: 400px; }
  .tile__txt { padding: var(--s-6); }
}

/* ---------------------------------------------------------- Referenzen */
.refs { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; }
.ref { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-m); overflow: hidden; background: var(--surface-2); isolation: isolate; color: #fff; }
.ref img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.ref:hover img { transform: scale(1.03); }
.ref figcaption { position: absolute; inset: auto 0 0; padding: var(--s-4); font-size: var(--t-small); font-weight: 500; line-height: 1.3; }
@media (max-width: 899px) {
  .refs { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .refs { grid-template-columns: repeat(3, 1fr); }
  .ref figcaption { padding: var(--s-5); }
}

/* ------------------------------------------------------------- Meister */
.meister__grid { display: grid; gap: var(--s-8); align-items: center; }
.meister__txt p { margin-top: var(--s-5); max-width: 50ch; color: var(--muted); font-size: var(--t-lead); line-height: 1.45; letter-spacing: -.016em; }
.meister__list { margin-top: var(--s-6); border-top: 1px solid var(--line); }
.meister__list li { display: flex; justify-content: space-between; gap: var(--s-5); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
.meister__list span:first-child { color: var(--muted); flex: none; }
.meister__list span:last-child { font-weight: 500; text-align: right; }
.brief { width: min(100%, 460px); margin-inline: auto; border-radius: var(--r-s); box-shadow: var(--shadow); overflow: hidden; background: #fff; }
.brief img { width: 100%; }
@media (min-width: 900px) { .meister__grid { grid-template-columns: 1.15fr 1fr; } }

/* --------------------------------------------------------- Videostreifen */
.film { padding-inline: var(--gutter); padding-block: var(--section) 0; }
.film__frame { position: relative; height: min(82vh, 760px); min-height: 460px; border-radius: var(--r-l); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; color: #fff; background: #1f2226; transform: scale(var(--film, .96)); will-change: transform; }
.film video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.film__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .76) 100%); }
.film__txt { padding: clamp(24px, 5vw, 64px); max-width: 820px; }
.film__txt p { margin-top: var(--s-4); font-size: var(--t-lead); line-height: 1.42; color: rgba(255, 255, 255, .88); max-width: 46ch; }

/* ------------------------------------------------- Abdichtung und Ablauf */
.dicht { display: grid; gap: var(--s-7); align-items: center; margin-bottom: var(--section); }
.dicht figure { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.dicht img { width: 100%; height: 100%; object-fit: cover; }
.dicht .lead { margin-top: var(--s-5); max-width: 46ch; }
@media (min-width: 900px) { .dicht { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); } .dicht figure { max-height: 680px; } }

.proc { display: grid; gap: var(--s-5); }
.proc__stage { position: sticky; top: calc(var(--nav-h) + 8px); z-index: 5; }
.proc__card { position: relative; border-radius: var(--r-l); background: var(--surface); padding: var(--s-4); box-shadow: 0 0 0 8px var(--bg); }
.proc__label { font-size: var(--t-micro); font-weight: 500; color: var(--accent-text); min-height: 1.5em; }
.plan { width: 100%; height: auto; max-height: 34vh; margin-inline: auto; }
.plan__room { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--room, 0); }
.plan__grid { fill: none; stroke: var(--accent); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: var(--grid, 0); opacity: var(--grid-o, 0); }
.plan__dims { opacity: var(--dims, 1); }
.plan__dims path { fill: none; stroke: var(--muted); stroke-width: 1.2; }
.plan__dims text { font-size: 13px; fill: var(--muted); font-weight: 500; }
.tile-r { fill: var(--tile-a); transform-box: fill-box; transform-origin: center; }
.tile-r--b { fill: var(--tile-b); }
.tile-r--a { fill: var(--accent); }
.proc__title { margin-bottom: var(--s-5); }
.proc__steps { position: relative; padding-left: var(--s-5); }
.proc__steps::before, .proc__steps::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--line); }
.proc__steps::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--rail, 1)); }
.pstep { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; gap: var(--s-2); }
.pstep h3, .pstep__n, .pstep p { transition: opacity var(--d-mid) var(--ease), color var(--d-mid) var(--ease); }
.proc-on .pstep:not(.is-active) h3, .proc-on .pstep:not(.is-active) .pstep__n { opacity: .72; }
.proc-on .pstep.is-active p { color: var(--text); }
.pstep__n { font-size: var(--t-h2); line-height: 1; font-weight: 600; letter-spacing: -.04em; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.pstep h3 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2.125rem); line-height: 1.15; font-weight: 600; letter-spacing: -.028em; }
.pstep p { color: var(--muted); font-size: var(--t-lead); line-height: 1.45; letter-spacing: -.016em; max-width: 42ch; }
@media (min-width: 960px) {
  .proc { grid-template-columns: 1.15fr 1fr; gap: var(--s-8); align-items: start; }
  .proc__stage { grid-column: 1; top: calc(50vh - 240px); }
  .proc__col { grid-column: 2; grid-row: 1; }
  .proc__card { padding: var(--s-6); box-shadow: none; }
  .plan { max-height: 420px; }
  .pstep { min-height: 62vh; }
}

/* ---------------------------------------------------------- Vertrauen */
.intro { padding-bottom: clamp(48px, 6vw, 80px); }
.intro__grid { display: grid; gap: var(--s-5); }
.intro__txt p { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); letter-spacing: -.016em; }
.intro__txt p + p { margin-top: var(--s-4); }
.trust { display: grid; gap: var(--s-5); margin-top: clamp(40px, 5vw, 64px); }
.trust li { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.trust h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; }
.trust p { margin-top: var(--s-2); color: var(--muted); }
@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1fr 1.25fr; gap: var(--s-8); }
  .trust { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
}

/* -------------------------------------------------------- Leistungsdetails */
.details { display: grid; gap: var(--s-6) var(--s-7); margin-top: clamp(48px, 6vw, 80px); }
.detail h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; }
.detail p { margin-top: var(--s-3); color: var(--muted); max-width: 62ch; }
@media (min-width: 800px) { .details { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .details { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------- Bausteine für Textabschnitte */
.eyebrow { font-size: var(--t-small); font-weight: 600; color: var(--accent-text); letter-spacing: -.01em; margin-bottom: var(--s-3); }
.eyebrow--light { color: #6fdbe7; }
.h2--mid { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); }
.more { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-size: var(--t-body); font-weight: 500; color: var(--accent-text); }
.more svg { width: 18px; height: 18px; transition: transform var(--d-mid) var(--ease); }
.more:hover svg { transform: translateX(4px); }

.hero__call { margin-top: var(--s-5); font-size: var(--t-small); }
.hero__call a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-left: 6px; min-height: 44px; }
.hero__call svg { width: 16px; height: 16px; }
.hero__facts { display: grid; gap: var(--s-2); }
@media (min-width: 640px) { .hero__facts { grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-4); } }

.probs { display: grid; gap: var(--s-3); }
.prob { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-m); background: var(--card, var(--bg)); }
.prob h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; line-height: 1.2; }
.prob p { color: var(--muted); flex: 1; }
.probs__cta { margin-top: var(--s-6); font-size: var(--t-lead); letter-spacing: -.016em; }
.probs__cta a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .probs { grid-template-columns: repeat(3, 1fr); } .prob { padding: var(--s-6); } }

.tile__q { font-size: var(--t-small); font-weight: 500; color: #8fe4ee; }
.details__head { margin-top: clamp(64px, 8vw, 112px); margin-bottom: var(--s-7); }
.detail { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); }
.detail__n { font-size: var(--t-small); font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; padding-top: 4px; }
.detail .more { margin-top: var(--s-2); }

.band { background: var(--band-bg); color: #fff; padding-block: clamp(48px, 6vw, 72px); }
.band__in { display: grid; gap: var(--s-5); align-items: center; }
.band__t { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.band p { margin-top: var(--s-2); color: rgba(255, 255, 255, .84); font-size: var(--t-lead); letter-spacing: -.016em; }
.band__btns { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.band .btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.band .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
[data-theme="hell"] .band .btn--primary { background: #fff; color: #0b3b43; }
[data-theme="hell"] .band .btn--primary:hover { background: #e9f4f5; }
@media (min-width: 900px) { .band__in { grid-template-columns: 1fr auto; gap: var(--s-8); } }

.refc h3 { margin-top: var(--s-4); font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; line-height: 1.2; }
.refc p { margin-top: var(--s-2); color: var(--muted); }

.factors { display: grid; gap: var(--s-5) var(--s-6); }
.factors li { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.factors h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; }
.factors p { margin-top: var(--s-2); color: var(--muted); }
@media (min-width: 720px) { .factors { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .factors { grid-template-columns: repeat(3, 1fr); } }

.klar { display: grid; gap: var(--s-6); }
.klar__txt p { font-size: var(--t-lead); line-height: 1.5; color: var(--muted); letter-spacing: -.016em; }
.klar__txt p + p { margin-top: var(--s-4); }
@media (min-width: 960px) { .klar { grid-template-columns: 1fr 1.4fr; gap: var(--s-8); } }

.rueck { margin-top: var(--s-6); }
.rueck__row { display: grid; gap: 0 var(--s-3); }
@media (min-width: 560px) { .rueck__row { grid-template-columns: 1.4fr 1fr; } }
.rueck .field input { background: var(--card, var(--bg)); }
.section:not(.section--tint) .rueck .field input { background: var(--surface-2); }
.rueck__btn { margin-top: var(--s-4); }
.rueck__done { margin-top: var(--s-5); font-size: var(--t-lead); font-weight: 500; }
.kontakt__lead { margin-top: var(--s-4); }
.kontakt__side h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; margin-bottom: var(--s-5); }
.kontakt__list small { display: block; margin-top: 2px; font-size: var(--t-small); font-weight: 400; color: var(--muted); }
.kontakt__note { margin-top: var(--s-5); font-size: var(--t-small); color: var(--muted); }
.kontakt__side .maps { margin-top: var(--s-5); min-height: 240px; }

/* -------------------------------------------------------- Einsatzgebiet */
.gebiet__grid { display: grid; gap: var(--s-7); align-items: center; }
.gebiet__txt .lead { margin-top: var(--s-5); }
.gebiet__towns { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.gebiet__towns button { display: inline-flex; align-items: baseline; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--line); font-size: var(--t-small); transition: background-color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease); }
.gebiet__towns small { font-size: var(--t-micro); color: var(--muted); font-variant-numeric: tabular-nums; }
.gebiet__towns button:hover, .gebiet__towns button.is-active { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.gebiet__note { margin-top: var(--s-3); font-size: var(--t-micro); color: var(--muted); }
.map { width: 100%; height: auto; font-family: var(--font); }
.map__hexes use { fill: var(--accent); opacity: var(--o); }
.js .map__hexes use { opacity: 0; transition: opacity 700ms var(--ease-out); transition-delay: var(--w); }
.js .in .map__hexes use { opacity: var(--o); }
.map__home { fill: var(--accent); }
.twn circle { fill: var(--text); transition: r var(--d-fast) var(--ease); }
.twn text { display: none; font-size: 14px; font-weight: 500; fill: var(--text); letter-spacing: -.01em; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.twn--major text, .twn.is-active text { display: block; }
.twn.is-active circle { r: 7; fill: var(--on-accent); stroke: var(--text); stroke-width: 2; }
.twn.is-active text { font-weight: 700; }
.map__homelabel { font-size: 17px; font-weight: 700; fill: var(--text); paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
@media (max-width: 600px) { .twn text { font-size: 20px; stroke-width: 5px; } .map__homelabel { font-size: 23px; } }
@media (min-width: 960px) { .gebiet__grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-8); } }

/* ------------------------------------------------------------------ FAQ */
.faq__grid { display: grid; gap: var(--s-6); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-5); padding-block: var(--s-5); cursor: pointer; list-style: none; font-size: var(--t-h3); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { width: 20px; height: 20px; flex: none; color: var(--muted); transition: transform var(--d-mid) var(--ease); }
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__a { padding-bottom: var(--s-5); color: var(--muted); max-width: 62ch; }
.faq__a small { display: block; margin-top: var(--s-2); font-size: var(--t-micro); }
.faq__a a { text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: 1fr 1.6fr; gap: var(--s-8); } .faq__grid .h2 { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }

/* -------------------------------------------------------------- Kontakt */
.cta { position: relative; isolation: isolate; color: #fff; overflow: hidden; text-align: center; }
.cta > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 10, 12, .72); }
.cta .h2 { margin-inline: auto; max-width: 16ch; }
.cta p { margin: var(--s-5) auto 0; max-width: 42ch; font-size: var(--t-lead); line-height: 1.42; color: rgba(255, 255, 255, .88); }
.cta__btns { margin-top: var(--s-6); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); }
.cta .btn--ghost { border-color: rgba(255, 255, 255, .4); color: #fff; }
.cta .btn--ghost:hover { background: rgba(255, 255, 255, .12); }
[data-theme="hell"] .cta .btn--primary { background: #fff; color: #0b3b43; }
[data-theme="hell"] .cta .btn--primary:hover { background: #e9f4f5; }

.kontakt__grid { display: grid; gap: var(--s-6); }
.kontakt__list { display: grid; gap: var(--s-5); align-content: start; }
.kontakt__list dt { font-size: var(--t-micro); color: var(--muted); }
.kontakt__list dd { margin-top: 2px; font-size: var(--t-lead); font-weight: 500; letter-spacing: -.016em; }
.kontakt__list a:hover { color: var(--accent-text); }
.maps { position: relative; min-height: 380px; border-radius: var(--r-l); overflow: hidden; background: var(--card, var(--bg)); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; padding: var(--s-6); }
.maps iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.maps__ph { display: grid; justify-items: center; gap: var(--s-4); max-width: 40ch; }
.maps__ph p { font-size: var(--t-small); color: var(--muted); }
@media (min-width: 960px) { .kontakt__grid { grid-template-columns: 1.15fr 1fr; gap: var(--s-8); } }

/* --------------------------------------------------------------- Footer */
.foot { border-top: 1px solid var(--line); padding-block: var(--s-7) var(--s-6); font-size: var(--t-small); color: var(--muted); }
.foot__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-5); }
.foot__top img { height: 64px; width: auto; }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.foot__links a { padding-block: var(--s-2); }
.foot__links a:hover { color: var(--text); }
.foot__bottom { margin-top: var(--s-5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: var(--t-micro); }

/* ---------------------------------------------------- Mobile Aktionsleiste */
.bar { position: fixed; inset: auto 0 0; z-index: 80; display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s-2); padding: var(--s-2) var(--s-3) calc(var(--s-2) + env(safe-area-inset-bottom)); background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform var(--d-mid) var(--ease); }
.bar.is-on { transform: none; }
.bar .btn { padding-inline: var(--s-2); font-size: var(--t-small); min-height: 46px; }
@media (min-width: 1100px) { .bar { display: none; } }

/* ------------------------------------------------- Fester WhatsApp-Button */
.wa { position: fixed; right: var(--s-4); bottom: calc(var(--s-4) + env(safe-area-inset-bottom)); z-index: 85; display: flex; align-items: center; justify-content: center; gap: var(--s-2); width: 56px; height: 56px; border-radius: var(--r-pill); background: #25d366; color: #052e16; font-weight: 600; font-size: var(--t-small); box-shadow: 0 8px 24px rgba(0, 0, 0, .28); transition: transform var(--d-mid) var(--ease), background-color var(--d-fast) var(--ease); }
.wa svg { width: 28px; height: 28px; flex: none; }
.wa span { display: none; }
.wa:hover { background: #3be07a; }
.bar.is-on ~ .wa { transform: translateY(-66px); }
@media (min-width: 1100px) {
  .wa { width: auto; padding: 0 var(--s-5) 0 var(--s-4); right: var(--s-5); bottom: var(--s-5); }
  .wa span { display: inline; }
}
@media (max-width: 1099px) { .foot { padding-bottom: 96px; } }

/* ==========================================================================
   Unterseiten
   ========================================================================== */

/* Leistungsmenü in der Navigation */
.nav__links a[aria-current="page"] { opacity: 1; color: var(--accent-text); }
.dd { position: relative; display: flex; }
.dd > a { display: inline-flex; align-items: center; gap: 4px; }
.dd > a svg { width: 14px; height: 14px; transition: transform var(--d-fast) var(--ease); }
.dd__panel { position: absolute; top: 100%; left: 50%; padding-top: 10px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity var(--d-fast) var(--ease), transform var(--d-fast) var(--ease), visibility var(--d-fast); }
.dd__in { display: grid; grid-template-columns: 1fr 1fr; gap: 2px var(--s-2); min-width: 440px; padding: var(--s-3); border-radius: var(--r-m); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dd__in a { padding: var(--s-2) var(--s-3); border-radius: var(--r-s); opacity: .88; white-space: nowrap; }
.dd__in a:hover, .dd__in a[aria-current="page"] { background: var(--surface-2); opacity: 1; }
.dd:hover .dd__panel, .dd:focus-within .dd__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd:hover > a svg, .dd:focus-within > a svg { transform: rotate(180deg); }
.menu__links a[aria-current="page"] { color: var(--accent-text); }
.menu__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-4); padding-block: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); }
.menu__sub a { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; border: 0; padding-block: var(--s-2); color: var(--muted); }

/* Hero der Unterseiten */
.hero--page { min-height: max(92svh, 720px); }
.hero--plain { min-height: 0; padding-block: calc(var(--nav-h) + var(--s-8)) var(--s-8); background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 60%), var(--bg); }
.hero--plain::before { content: none; }
.crumbs { margin-bottom: var(--s-5); font-size: var(--t-micro); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: flex; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; opacity: .6; }
.crumbs a { color: var(--text); opacity: .82; }
.crumbs a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 2px; }
[data-theme="dunkel"] .hero .crumbs { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.intro__txt a, .klar__txt a, .gebiet__txt a, .detail p a, .faq__a p a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

/* Leistungsumfang mit Einstiegsfrage */
.details--svc { margin-top: 0; }
.detail__q { font-size: var(--t-small); font-weight: 500; color: var(--accent-text); margin-bottom: 2px; }
.detail .detail__q + h3 + p { margin-top: var(--s-2); }

.refs--4 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .refs--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .refs--4 { grid-template-columns: repeat(4, 1fr); } }
.more-row { margin-top: var(--s-6); }
.more-row .btn svg { width: 18px; height: 18px; }

/* Drei verwandte Leistungen */
@media (min-width: 720px) { .bento--3 .tile, .bento--3 .tile--small { grid-column: span 2; min-height: 340px; } }
@media (min-width: 1100px) { .bento--3 .tile--small { min-height: 400px; } }
.trust--plain { margin-top: 0; }

/* Leistungsseiten: offene Layouts mit Bildern statt Kartenraster */
.stack { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.stack .lead { margin-top: var(--s-5); max-width: 52ch; }

/* Einleitung: großes Hochformatbild neben dem Text */
.split { display: grid; gap: var(--s-7); align-items: center; }
.split__img { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface-2); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__txt p:not(.eyebrow) { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.5; color: var(--muted); letter-spacing: -.016em; max-width: 50ch; }
.split__txt .more { margin-top: var(--s-5); }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.1fr; gap: clamp(64px, 8vw, 120px); }
  .split__img { max-height: 780px; }
}

/* Anlässe als nummerierte Zeilen */
.rows { border-top: 1px solid var(--line); }
.row { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: var(--s-2) var(--s-4); padding-block: var(--s-6); border-bottom: 1px solid var(--line); }
.row__n { grid-row: span 2; font-size: var(--t-small); font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; padding-top: 6px; }
.row h3 { font-size: clamp(1.375rem, 1.2rem + .8vw, 2rem); line-height: 1.15; font-weight: 600; letter-spacing: -.028em; }
.row p { color: var(--muted); max-width: 58ch; }
.row__go { display: none; }
@media (min-width: 900px) {
  .row { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr) 56px; align-items: start; gap: var(--s-6); padding-block: var(--s-7); }
  .row__n { grid-row: auto; }
  .row p { font-size: var(--t-lead); line-height: 1.45; letter-spacing: -.016em; }
  .row__go { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-pill); border: 1px solid var(--line); color: var(--text); transition: background-color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease); }
  .row__go svg { width: 20px; height: 20px; }
  .row:hover .row__go { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
  .row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); }
  .row:hover::before { transform: scaleX(1); }
}

/* Leistungsumfang: Überschrift bleibt stehen, rechts die Liste */
.scope { display: grid; gap: var(--s-7); }
.scope__head .lead { margin-top: var(--s-5); }
.scope__list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); padding-block: var(--s-5); border-top: 1px solid var(--line); }
.scope__list li:last-child { border-bottom: 1px solid var(--line); }
.scope__n { font-size: var(--t-small); font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
.scope__q { font-size: var(--t-small); font-weight: 500; color: var(--accent-text); }
.scope__list h3 { margin-top: 2px; font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; }
.scope__list h3 + p { margin-top: var(--s-2); color: var(--muted); max-width: 60ch; }
.scope__list a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
@media (min-width: 960px) {
  .scope { grid-template-columns: 1fr 1.35fr; gap: clamp(64px, 8vw, 120px); align-items: start; }
  .scope__head { position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* Kostenfaktoren als Liste */
.costs > div { padding-block: var(--s-5); border-top: 1px solid var(--line); }
.costs > div:last-child { border-bottom: 1px solid var(--line); }
.costs dt { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; }
.costs dd { margin: var(--s-2) 0 0; color: var(--muted); max-width: 60ch; }
@media (min-width: 720px) { .costs > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--s-6); } .costs dd { margin: 0; } }

/* Fachwissen auf vollflächigem Bild */
.wissen { position: relative; isolation: isolate; color: #fff; padding-block: clamp(96px, 14vw, 200px); overflow: hidden; }
.wissen > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.wissen::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 10, 12, .9) 0%, rgba(8, 10, 12, .78) 45%, rgba(8, 10, 12, .35) 100%); }
.wissen__txt { max-width: 640px; }
.wissen__txt p:not(.eyebrow) { margin-top: var(--s-5); font-size: var(--t-lead); line-height: 1.5; color: rgba(255, 255, 255, .86); letter-spacing: -.016em; }
@media (max-width: 899px) { .wissen::after { background: rgba(8, 10, 12, .8); } }

/* Ablauf als Zeitleiste */
.tl { position: relative; display: grid; gap: var(--s-6); padding-left: var(--s-7); }
.tl::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
.tl li { position: relative; }
.tl__dot { position: absolute; left: calc(var(--s-7) * -1); top: -4px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--accent-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.section--tint .tl__dot { background: var(--surface); }
.tl h3 { font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; }
.tl p { margin-top: var(--s-2); color: var(--muted); max-width: 46ch; }
@media (min-width: 900px) {
  .tl { grid-template-columns: repeat(4, 1fr); gap: var(--s-6); padding-left: 0; padding-top: 72px; }
  .tl::before { left: 20px; right: 0; top: 19px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent)); }
  .tl__dot { left: 0; top: -72px; }
}

/* Galerie */
.gfilter { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.gfilter button { min-height: 40px; padding: 0 var(--s-4); border-radius: var(--r-pill); border: 1px solid var(--line); font-size: var(--t-small); font-weight: 500; transition: background-color var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease); }
.gfilter button:hover { border-color: var(--muted); }
.gfilter button.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.gal { display: grid; gap: var(--s-2); grid-template-columns: repeat(2, 1fr); }
.gal li[hidden] { display: none; }
.gal__btn { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--r-s); overflow: hidden; background: var(--surface-2); color: #fff; text-align: left; isolation: isolate; cursor: zoom-in; }
.gal__btn img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.gal__btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .72) 100%); }
.gal__btn span { position: absolute; inset: auto 0 0; padding: var(--s-3); font-size: var(--t-micro); font-weight: 500; line-height: 1.3; }
.gal__btn:hover img { transform: scale(1.04); }
@media (min-width: 600px) { .gal { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); } .gal__btn span { padding: var(--s-4); font-size: var(--t-small); } }
@media (min-width: 1100px) { .gal { grid-template-columns: repeat(4, 1fr); } }

.lb { width: min(100vw - 32px, 960px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r-m); background: var(--surface); color: var(--text); overflow: hidden; }
.lb::backdrop { background: rgba(0, 0, 0, .82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lb img { width: 100%; max-height: calc(100vh - 120px); object-fit: contain; background: #000; }
.lb p { padding: var(--s-4) var(--s-5); font-weight: 500; }
.lb__close { position: absolute; top: var(--s-3); right: var(--s-3); width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-pill); background: rgba(0, 0, 0, .6); color: #fff; }
.lb__close svg { width: 22px; height: 22px; }

/* Rechtliche Seiten */
.phead { padding-block: calc(var(--nav-h) + var(--s-8)) var(--s-6); border-bottom: 1px solid var(--line); }
.phead__t { font-size: var(--t-h2); line-height: 1.06; font-weight: 600; letter-spacing: -.034em; }
.section--legal { padding-block: var(--s-8) var(--section); }
.legal { max-width: 760px; }
.legal h2 { margin-top: var(--s-7); font-size: var(--t-h3); font-weight: 600; letter-spacing: -.024em; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: var(--s-3); color: var(--muted); line-height: 1.6; }
.legal a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.legal__lead { font-size: var(--t-lead); }
mark.offen { background: color-mix(in srgb, #ffb020 22%, transparent); color: #ffcf70; padding: 1px 6px; border-radius: 4px; }

/* Footer mit Spalten */
.foot__grid { display: grid; gap: var(--s-6); }
.foot__brand img { height: 64px; width: auto; }
.foot__brand p { margin-top: var(--s-4); max-width: 34ch; }
.foot__grid h2 { font-size: var(--t-small); font-weight: 600; color: var(--text); margin-bottom: var(--s-3); }
.foot__grid nav a { display: block; padding-block: 6px; }
.foot__grid a:hover { color: var(--text); }
.foot__grid p + p { margin-top: var(--s-3); }
.foot__bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); align-items: center; }
.foot__legal { display: flex; gap: var(--s-5); }
.foot__legal a { padding-block: var(--s-2); }
.foot__legal a:hover { color: var(--text); }
@media (min-width: 720px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .film__frame { transform: none; }
}

/* Spam-Falle in Formularen, für Menschen unsichtbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Ratgeber: Lesespalte mit festem Inhaltsverzeichnis */
.guide { display: grid; gap: var(--s-7); }
.guide__toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: var(--s-5); }
.guide__toch { font-size: var(--t-small); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.guide__toc ol { margin-top: var(--s-3); display: grid; gap: 2px; }
.guide__toc a { display: flex; gap: var(--s-3); padding-block: 6px; color: var(--muted); font-size: var(--t-small); transition: color var(--d-fast) var(--ease); }
.guide__toc a span { color: var(--accent-text); font-variant-numeric: tabular-nums; min-width: 2ch; }
.guide__toc a:hover, .guide__toc a.is-on { color: var(--text); }
.guide__body { min-width: 0; max-width: 720px; }
.guide__lead { margin-top: var(--s-4); font-size: var(--t-lead); line-height: 1.5; letter-spacing: -.016em; color: var(--text); }
.guide__sec { padding-top: clamp(48px, 7vw, 88px); scroll-margin-top: calc(var(--nav-h) + 16px); }
.guide__sec::after { content: ""; display: block; clear: both; }
.guide__n { font-size: var(--t-small); font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.guide__h { margin-top: var(--s-2); font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem); line-height: 1.12; font-weight: 600; letter-spacing: -.03em; text-wrap: balance; }
.guide__sec h3 { margin-top: var(--s-6); font-size: var(--t-h3); font-weight: 600; letter-spacing: -.02em; }
.guide__sec p, .guide__sec li { color: var(--muted); line-height: 1.7; }
.guide__sec p { margin-top: var(--s-4); }
.guide__sec h3 + p { margin-top: var(--s-2); }
.guide__sec strong { color: var(--text); font-weight: 600; }
.guide__sec a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.guide__sec ul, .guide__sec ol.check { margin-top: var(--s-4); display: grid; gap: var(--s-3); }
.guide__sec ul li { position: relative; padding-left: var(--s-5); }
.guide__sec ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 2px; background: var(--accent); }
.check { counter-reset: c; }
.check li { counter-increment: c; position: relative; padding: var(--s-4) 0 var(--s-4) 48px; border-top: 1px solid var(--line); }
.check li:last-child { border-bottom: 1px solid var(--line); }
.check li::before { content: counter(c); position: absolute; left: 0; top: var(--s-4); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent-text); font-size: var(--t-small); font-weight: 600; }
.guide__fig { margin: var(--s-5) 0 0; }
.guide__fig img { width: 100%; height: auto; border-radius: var(--r-l); background: var(--surface-2); }
.guide__fig figcaption { margin-top: var(--s-2); font-size: var(--t-small); color: var(--muted); }
.tbl { margin-top: var(--s-5); overflow-x: auto; border-top: 1px solid var(--line); }
.tbl table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--t-small); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-3) var(--s-3) 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.tbl thead th { color: var(--muted); font-weight: 500; }
.tbl tbody th { color: var(--text); font-weight: 600; white-space: nowrap; }
.tbl td { color: var(--muted); }
.more--light { margin-top: var(--s-5); color: #fff; }
@media (min-width: 640px) {
  .guide__fig:not(.guide__fig--wide) { float: right; width: 42%; margin: var(--s-2) 0 var(--s-4) var(--s-6); }
}
@media (min-width: 1024px) {
  .guide { grid-template-columns: 240px minmax(0, 720px); gap: clamp(48px, 7vw, 112px); align-items: start; justify-content: center; }
  .guide__toc { position: sticky; top: calc(var(--nav-h) + 32px); border: 0; padding: 0; }
  .guide__toc ol { border-left: 1px solid var(--line); }
  .guide__toc a { padding: 7px 0 7px var(--s-4); margin-left: -1px; border-left: 2px solid transparent; }
  .guide__toc a.is-on { border-left-color: var(--accent); }
}
