/* FV · Konstruktion & Fertigung
   Sachlich, monochrom, ruhige Typohierarchie. Keine Effekte. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f6f4;
  --white: #ffffff;
  --tile: #e9e9e6;
  --ink: #141414;
  --ink-2: #3d3d3b;
  --mute: #6d6d69;
  --line: #deded9;

  --night: #141414;
  --night-2: #1e1e1e;
  --moon: #f6f6f4;
  --moon-2: #aeaea9;
  --line-d: #2e2e2e;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1200px;
  --header: 64px;
  --r: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  overflow-x: clip;
}

::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
address { font-style: normal; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 6px; font-size: 14px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typografie: enge Stufung ---------- */

.label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.dark .label { color: var(--moon-2); }

h1 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.12; letter-spacing: -0.028em; }
h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.18; letter-spacing: -0.022em; }
h3 { font-size: 17px; line-height: 1.35; letter-spacing: -0.01em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.dark .lead { color: var(--moon-2); }
.muted { color: var(--mute); }

/* ---------- Header (sticky) ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lockup { display: flex; align-items: center; gap: 14px; }
.lockup svg { width: 32px; height: auto; }
.lockup span { font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.menu a.l { color: var(--ink-2); transition: color .2s; }
.menu a.l:hover, .menu a.l.active { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lang { display: flex; gap: 8px; font-size: 13px; color: var(--mute); }
.lang a:hover { color: var(--ink); }
.lang span { color: var(--ink); font-weight: 600; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 6px;
  font: inherit; font-size: 15px; font-weight: 500;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: #2c2c2c; border-color: #2c2c2c; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.dark .btn { background: var(--moon); color: var(--night); border-color: var(--moon); }
.dark .btn:hover { background: #ddddd8; border-color: #ddddd8; }
.dark .btn.ghost { background: transparent; color: var(--moon); border-color: var(--line-d); }
.dark .btn.ghost:hover { border-color: var(--moon); }
.btn .ar { transition: transform .3s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }

.tlink { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; }
.tlink .ar { transition: transform .3s var(--ease); }
.tlink:hover .ar { transform: translateX(3px); }

/* ---------- Bildplatzhalter ---------- */

.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--tile); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph .cap { position: absolute; left: 12px; right: 12px; bottom: 10px; font-size: 11.5px; line-height: 1.35; color: var(--mute); }
.ph .fv { position: absolute; left: 50%; top: 50%; width: 18%; min-width: 44px; max-width: 96px; transform: translate(-50%, -50%); color: #d6d6d1; }

/* ---------- Abschnitte ---------- */

.pad { padding: clamp(72px, 11vh, 112px) 0; }
.pad + .pad { border-top: 1px solid var(--line); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; margin-bottom: 40px; }
.head .lead { max-width: 30em; font-size: 16.5px; color: var(--mute); }

/* Hero */
.hero { padding: clamp(56px, 9vh, 96px) 0 clamp(72px, 11vh, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 15em; }
.hero .lead { margin-top: 20px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; font-size: 14.5px; color: var(--ink-2); }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 14px; height: 14px; flex: none; background: no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%23141414' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hero .ph { aspect-ratio: 4 / 3.4; }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s; }
.svc:hover { border-color: #c4c4bf; }
.svc .ph { aspect-ratio: 16 / 10; border-radius: 0; }
.svc .body { display: flex; flex-direction: column; gap: 6px; padding: 20px 20px 22px; flex: 1; }
.svc p { color: var(--mute); font-size: 15px; line-height: 1.55; flex: 1; }
.svc .tlink { margin-top: 12px; }
.note { margin-top: 24px; font-size: 14.5px; color: var(--mute); }
.note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Segmentierte Auswahl und Pillen (gemeinsam) */
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 3px; gap: 2px; }
.seg button, .pills button { font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.seg button { border: 0; background: transparent; color: var(--ink-2); padding: 7px 12px; border-radius: 6px; }
.seg button:hover { color: var(--ink); background: var(--paper); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills button { border: 1px solid var(--line); background: var(--white); color: var(--ink-2); padding: 6px 12px; border-radius: 999px; }
.pills button:hover { border-color: var(--ink); color: var(--ink); }
.pills button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.mini { display: block; font-size: 12.5px; color: var(--mute); margin-bottom: 8px; }

/* Werkstoff-Vergleich */
.mat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(16px, 2.4vw, 28px); }
.mat-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-bottom: 20px; }
.mrows { position: relative; }
.mrows.live > li { position: absolute; left: 0; right: 0; top: 0; transition: transform .55s var(--ease); }
.mrow { width: 100%; height: 44px; display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 16px; font: inherit; text-align: left; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 0 8px; border-radius: 0; cursor: pointer; transition: opacity .3s, background-color .2s; }
.mrow:hover { background: var(--paper); }
.mrow.sel { background: var(--paper); }
.mrow.sel .mname { text-decoration: underline; text-underline-offset: 4px; }
.mrow.dim { opacity: .35; }
.mname { white-space: nowrap; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.mname em { font-style: normal; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; padding: 1px 5px; border-radius: 4px; background: var(--ink); color: var(--paper); }
.track { height: 8px; background: var(--tile); border-radius: 4px; overflow: hidden; }
.bar { display: block; height: 100%; background: var(--ink); border-radius: 4px; transition: width .55s var(--ease); }
.val { font-size: 12.5px; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; }
.mdet { margin-top: 16px; padding: 14px 16px; background: var(--paper); border-radius: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); min-height: 72px; }
.mdet b { color: var(--ink); margin-right: 4px; }
.mdet span { display: block; color: var(--mute); margin-top: 2px; }
.mnote { margin-top: 12px; font-size: 12.5px; color: var(--mute); }
.checks.also { margin-top: 24px; }

/* Zwischen-CTA */
.band { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding: 22px 24px; border-radius: var(--r); background: var(--ink); color: var(--paper); }
.band strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.band span { color: #b9b9b4; font-size: 15px; }
.band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.band .btn:hover { background: #ddddd8; border-color: #ddddd8; }

/* Ablauf: Stepper */
.stepper { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 2px; }
.stepper .sline { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); }
.stepper .sline i { position: absolute; inset: 0; background: var(--ink); transform: scaleX(.25); transform-origin: left; transition: transform .8s var(--ease); }
.stepper > li { min-width: 0; }
.step { width: 100%; min-width: 0; height: 100%; display: flex; flex-direction: column; gap: 6px; font: inherit; text-align: left; background: transparent; border: 0; padding: 20px 0 0; cursor: pointer; color: var(--ink); }
.step .n, .step .st { color: var(--ink); }
.step .n { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.step .st { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.step .sp { color: var(--mute); font-size: 15px; line-height: 1.55; }
.step.on .st { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 16.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq .pm { position: relative; width: 14px; height: 14px; flex: none; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -0.75px; background: currentColor; transition: transform .3s var(--ease); }
.faq .pm::after { transform: rotate(90deg); }
.faq details[open] .pm::after { transform: rotate(0deg); }
.faq details p { padding: 0 32px 20px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
.faq details[open] p { animation: faqin .35s var(--ease); }
@keyframes faqin { from { opacity: 0; transform: translateY(-4px); } }

/* Hero: wechselndes Wort */
.rot { display: inline-grid; vertical-align: bottom; overflow: hidden; }
.rot > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: transform .6s var(--ease), opacity .4s; }
.rot > span.on { opacity: 1; transform: none; }
.rot > span.out { opacity: 0; transform: translateY(-100%); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Leistungen: Filter und Karten-Button */
.svc[hidden] { display: none; }
/* Filter greift sofort per CSS, auch bevor das Skript geladen ist */
.js .services[data-show="b"] .svc:not([data-aud~="b"]),
.js .services[data-show="p"] .svc:not([data-aud~="p"]) { display: none; }
.svc.pop { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.svc .tlink { align-self: flex-start; padding: 8px 0; border-radius: 6px; transition: background-color .25s, color .25s, padding .25s var(--ease); }
.svc:hover .tlink, .svc .tlink:focus-visible { background: var(--ink); color: var(--paper); padding: 8px 14px; }

/* Mobile Anfrage-Leiste */
.sticky-cta { display: none; }

/* Anfrage (dunkel) */
.dark { background: var(--night); color: var(--moon); }
.enquiry-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.enquiry .lead { margin-top: 16px; }
.direct { margin-top: 32px; border-top: 1px solid var(--line-d); }
.direct a, .direct div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-d); font-size: 15px; }
.direct span { color: var(--moon-2); }
.direct a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.direct b { font-weight: 500; }

.form { background: var(--night-2); border: 1px solid var(--line-d); border-radius: var(--r); padding: clamp(20px, 2.4vw, 32px); }
.fprog { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 13px; color: var(--moon-2); }
.fbar { flex: 1; height: 2px; background: var(--line-d); position: relative; overflow: hidden; }
.fbar i { position: absolute; inset: 0; background: var(--moon); transform: scaleX(.5); transform-origin: left; transition: transform .5s var(--ease); }
.form[data-step="2"] .fbar i, .form[data-step="done"] .fbar i { transform: scaleX(1); }
.fstep { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 16px; }
.fstep + .fstep { margin-top: 24px; }
.fstep legend { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 14px; padding: 0; }
.js .form[data-step="1"] .fstep[data-s="2"], .js .form[data-step="2"] .fstep[data-s="1"], .js .form[data-step="done"] .fstep { display: none; }
.js .form .fstep + .fstep { margin-top: 0; }
.js .form[data-step="done"] .fdone { display: block; }
.js .form[data-step="done"] .hint { display: none; }
.form:not([data-step]) .js-only, html:not(.js) .js-only { display: none; }
.topics { display: flex; flex-wrap: wrap; gap: 6px; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-d); color: var(--moon-2); transition: background-color .2s, color .2s, border-color .2s; }
.topics label:hover span { border-color: var(--moon-2); color: var(--moon); }
.topics input:checked + span { background: var(--moon); color: var(--night); border-color: var(--moon); }
.topics input:focus-visible + span { outline: 2px solid var(--moon); outline-offset: 2px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--moon-2); }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--moon);
  background: var(--night); border: 1px solid var(--line-d); border-radius: 6px;
  padding: 11px 12px; width: 100%; transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--moon-2); }
.field textarea[aria-invalid="true"] { border-color: #e2807a; }
.ferr { font-size: 13px; color: #f0a39e; }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.form .hint { margin-top: 16px; font-size: 13px; color: var(--moon-2); }
.fdone { display: none; }
.fdone strong { display: block; font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.fdone p { color: var(--moon-2); margin-bottom: 10px; }
.fdone a { color: var(--moon); text-decoration: underline; text-underline-offset: 3px; }
.fdone .btn { margin-top: 8px; }

.enquiry-wrap { max-width: 820px; }
.enq-head { margin-bottom: 28px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flabel { font-size: 13px; font-weight: 500; color: var(--moon-2); }
.drop { position: relative; border: 1px dashed #3a3a3a; border-radius: 8px; transition: border-color .2s, background-color .2s; }
.drop.over, .drop:hover { border-color: var(--moon-2); background: rgba(246, 246, 244, .03); }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 16px; font-size: 14px; color: var(--moon-2); pointer-events: none; }
.drop label svg { color: var(--moon); flex: none; }
.drop label b { color: var(--moon); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.drop label small { flex-basis: 100%; font-size: 12.5px; color: #8a8a86; }
.drop input:focus-visible + label { outline: 2px solid var(--moon); outline-offset: 2px; border-radius: 8px; }
.flist { display: grid; gap: 6px; }
.flist:empty { display: none; }
.flist li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 10px; background: var(--night); border: 1px solid var(--line-d); border-radius: 6px; }
.flist .fn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flist .fs { color: var(--moon-2); font-variant-numeric: tabular-nums; }
.flist button { font: inherit; font-size: 18px; line-height: 1; background: transparent; border: 0; color: var(--moon-2); cursor: pointer; padding: 0 4px; }
.flist button:hover { color: var(--moon); }
.field input[aria-invalid="true"] { border-color: #e2807a; }
.form .btn:disabled { opacity: .6; cursor: progress; }
.form .hint a { color: var(--moon); text-decoration: underline; text-underline-offset: 3px; }
#f-serr a { color: var(--moon); text-decoration: underline; }

.rotline { margin-top: clamp(22px, 3.2vh, 34px); margin-bottom: 6px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink-2); }
.field:has([aria-invalid="true"]) > label { color: #f0a39e; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #e2807a; box-shadow: 0 0 0 1px #e2807a; }

/* Warum FV */
.why { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.why-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-list li { padding: 24px 24px 26px 0; }
.why-list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.why-list strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.why-list span { display: block; font-size: 14px; line-height: 1.5; color: var(--mute); }

/* Kundenstimmen */
.rv-nav { display: flex; gap: 8px; }
.rv-nav[hidden] { display: none; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rv-track::-webkit-scrollbar { display: none; }
.rv { scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.rv .ph { aspect-ratio: 4 / 3; margin: -20px -20px 0; border-radius: var(--r) var(--r) 0 0; }
.rv blockquote { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); flex: 1; }
.rv-who { font-size: 14px; color: var(--ink-2); }
.rv-who span { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  .step .simg img { transition: none !important; }
  .rot > span { transform: none !important; transition: opacity .5s ease !important; }
  .rot > span.out { transform: none !important; }
}

.step .simg { display: block; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--tile); margin-bottom: 14px; }
.step .simg img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; display: block; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease); }
/* Nur öffnen und schließen: kommende Schritte zeigen das Bild geschlossen */
.js .step:not(.on):not(.done) .simg img { clip-path: inset(0 0 100% 0); }

/* Footer */
.foot { padding: 28px 0 40px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.foot .lockup svg { width: 24px; color: var(--ink); }
.foot .lockup span { letter-spacing: .16em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }
.foot a:hover { color: var(--ink); }

/* Rechtstexte */
.legal { padding: clamp(56px, 10vh, 96px) 0 clamp(80px, 12vh, 120px); }
.legal h1 { margin-bottom: 40px; }
.legal-body { max-width: 42rem; }
.legal-body h3 { margin: 32px 0 8px; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p, .legal-body address { color: var(--ink-2); }
.legal-body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bewegung: nur dezentes Einblenden ---------- */

.js [data-r] { opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .why-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stepper { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .stepper .sline { display: none; }
  .step { border-top: 2px solid var(--line); }
  .js .step .simg img { clip-path: inset(0 0 0 0) !important; }
  .step.on, .step.done { border-top-color: var(--ink); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu a.l { display: none; }
}
@media (max-width: 760px) {
  .hero-grid, .enquiry-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .ph { order: -1; aspect-ratio: 4 / 3; }
  .lockup span { display: none; }
  .mrow { grid-template-columns: 138px minmax(0, 1fr); gap: 8px; padding: 0 4px; }
  .sticky-cta { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; transform: translateY(160%); transition: transform .45s var(--ease); }
  .sticky-cta.show { transform: none; }
}
@media (max-width: 560px) {
  .why-list { grid-template-columns: minmax(0, 1fr); }
  .why-list li, .why-list li + li { padding: 16px 0; border-left: 0; }
  .why-list li + li { border-top: 1px solid var(--line); }
  .services, .stepper, .grid2 { grid-template-columns: minmax(0, 1fr); }
  .head .seg { width: 100%; }
  .head .seg button { flex: 1; }
  .hero .cta .btn, .form .actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r] { opacity: 1 !important; transform: none !important; transition: none !important; }
}
