/* ===================================================================
   msafety — Redesign "Sicherheitsakte"
   Helles Dossier-Layout · Raster ausschließlich in den Seitenköpfen
   Corporate: #ad1d20 · Montserrat (unverändert übernommen)

   TYPOGRAFIE-REGEL
   Fließtext kennt genau drei Größen: --fs-lg, --fs-md, --fs-sm.
   Alles andere ist Überschrift (--fs-h*), UI (--fs-ui/--fs-nav)
   oder Mono-Label (--fs-label-lg/--fs-key/--fs-label/--fs-label-sm).
   Schlüssel-Label (FESTNETZ, QUALIFIKATION, STANDORT …) sind einmal
   zentral definiert — siehe Abschnitt "Schlüssel-Label".
   Außerhalb von :root steht in dieser Datei keine rohe font-size mehr.
   =================================================================== */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat/Montserrat-Variable.woff2') format('woff2');
}

@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-500.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/ibm-plex-mono/IBMPlexMono-600.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  /* Farben */
  --red: #ad1d20;
  --red-deep: #7d1417;
  --red-lit: #d8302f;
  --red-on-dark: #f0484c;
  --red-wash: #fbf1f1;

  --ink: #0e1013;
  --ink-2: #15181c;

  --paper: #fcfcfc;
  --paper-2: #f9f9f9;
  --paper-3: #f6f6f6;
  --white: #ffffff;

  /* Schrift: zwei Graustufen, Haupttext und Zusatzangaben. */
  --text: var(--text-gray);
  --text-gray: #55585d;
  --text-muted: #6c7074;

  --line: rgba(23, 25, 28, .14);
  --line-soft: rgba(23, 25, 28, .08);
  --line-dark: rgba(255, 255, 255, .14);

  /* Schriften */
  --font: "Montserrat", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Fließtext — genau drei Größen */
  --fs-lg: clamp(1.09rem, 1.05vw, 1.24rem);   /* Lead, Intro, Kontaktdaten */
  --fs-md: 1.0625rem;                          /* Standard-Fließtext (17px) */
  --fs-sm: 0.9375rem;                          /* Klein: Meta, Fußzeile, Hinweise */

  /* Überschriften */
  --heading-weight: 400;
  --heading-color: var(--text-gray);
  --heading-accent: #9b4842;
  --heading-on-dark: var(--white);
  --fs-h1: clamp(2.5rem, 5.6vw, 5.2rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.7rem);
  --fs-h3: clamp(1.5rem, 2.7vw, 2.45rem);      /* Index-Titel, Statement, Leistungs-H2 */
  --fs-h4: clamp(1.18rem, 1.7vw, 1.5rem);      /* Karten- und Schritt-Überschriften */
  --fs-hero-sub: clamp(1.35rem, 2.4vw, 2.25rem);
  --fs-num: clamp(4rem, 10vw, 9rem);

  /* UI */
  --fs-nav: 1rem;        /* Hauptnavigation */
  --fs-ui: 0.875rem;     /* Buttons, Textlinks */

  /* Mono-Label */
  --fs-label-lg: 1rem;      /* Sektionsmarken */
  --fs-key: 0.8125rem;      /* Schlüssel-Label über einem Wert */
  --fs-label: 0.8125rem;    /* Kicker, Normen */
  --fs-label-sm: 0.6875rem; /* Kleinlabels, Bildunterschriften, Meta */

  --wrap: 1440px;
  --gut: clamp(1.25rem, 4vw, 4.5rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --shadow-card: 0 26px 50px -34px rgba(23, 25, 28, .5);

  /* Globale Hinweiszeile */
  --hint-color: var(--text-muted);
  --hint-icon-color: var(--red);
  --hint-link-color: var(--red);
  --hint-font-size: var(--fs-sm);
  --hint-line-height: 1.62;
  --hint-gap: 1rem;
  --hint-icon-size: 1.25rem;
  --hint-icon-offset: .15rem;
  --hint-space: clamp(1.8rem, 3.2vw, 2.6rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.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;
}

/* ---------- Layout ---------- */
/* Sprungziele nicht unter den fixierten Header laufen lassen */
:where(section, article, figure, div)[id] { scroll-margin-top: clamp(5.5rem, 9vw, 7.5rem); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { position: relative; padding-block: clamp(4.5rem, 9.5vw, 9rem); }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--paper-3 { background: var(--paper-3); }
.section--white { background: var(--white); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

/* ---------- Typografie ---------- */
.kicker {
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex; align-items: center; gap: .75em;
}
.kicker__dot { width: 7px; height: 7px; flex: none; background: var(--red); border-radius: 50%; }

/* ---------- Schlüssel-Label ----------
   FESTNETZ, QUALIFIKATION, STANDORT usw. — überall dort, wo ein Label
   über seinem Wert steht. Einmal definiert statt je Komponente wiederholt. */
.intro__meta dt,
.person__fact dt,
.info__k,
.cta__contact .k,
.field label,
.status__k {
  font-family: var(--mono);
  font-size: var(--fs-key);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}
/* auf dunklem Grund der hellere Rotton, sonst reicht der Kontrast nicht */
.hero .status__k, .phead .status__k { color: var(--red-on-dark); }

h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: var(--heading-weight); }
.hero, .phead { --heading-color: var(--heading-on-dark); }
.display { font-weight: var(--heading-weight); letter-spacing: -.025em; line-height: 1.08; text-wrap: balance; }
h1.display { font-size: var(--fs-h1); }
h2.display { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h4); font-weight: var(--heading-weight); letter-spacing: -.02em; line-height: 1.22; }

.lede { font-size: var(--fs-lg); line-height: 1.62; color: var(--text-gray); max-width: 56ch; }
.mark, .m { color: var(--red); }
.brand-name {
  display: inline-block; white-space: nowrap;
  text-transform: lowercase; letter-spacing: normal;
}

/* ---------- Sektionskopf ---------- */
.sec-head { display: grid; gap: 1.3rem; margin-bottom: clamp(2.2rem, 4.5vw, 4rem); }
.sec-head__rule {
  display: flex; align-items: center; gap: 1.2rem;
  font-family: var(--mono); font-size: var(--fs-label-lg); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted);
}
/* Linie endet an der Containerkante */
.sec-head__rule::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.sec-head__code { color: var(--red); font-weight: 600; }

/* ---------- Globale Hinweiszeile ---------- */
.hint {
  display: flex; gap: var(--hint-gap); align-items: flex-start;
  margin-top: var(--hint-space);
  color: var(--hint-color); font-size: var(--hint-font-size); line-height: var(--hint-line-height);
}
.hint__icon {
  flex: none; width: var(--hint-icon-size); height: var(--hint-icon-size);
  color: var(--hint-icon-color); margin-top: var(--hint-icon-offset);
}
.hint__text { min-width: 0; flex: 1; }
.hint__link {
  color: var(--hint-link-color); font-weight: 600;
  text-decoration: underline; text-underline-offset: .2em;
}
.hint__link:hover { color: var(--red-deep); }

/* ---------- Maßlinie ---------- */
.dimline {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted);
}
.dimline__bar { position: relative; flex: 1; height: 1px; background: currentColor; opacity: .5; }
.dimline__bar::before, .dimline__bar::after {
  content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: currentColor;
}
.dimline__bar::before { left: 0; }
.dimline__bar::after { right: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .85rem;
  padding: 1.05rem 1.9rem;
  background: var(--red); color: #fff;
  font-size: var(--fs-ui); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border-radius: 2px; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  box-shadow: 0 12px 28px -16px rgba(173, 29, 32, .85);
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: #fff; opacity: 0; transform: translateY(101%);
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 36px -18px rgba(173, 29, 32, .9); }
.btn:hover::before { opacity: .14; transform: translateY(0); }
.btn__arrow { transition: transform .45s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }

.btn--ghost { background: transparent; color: inherit; border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { box-shadow: none; border-color: rgba(23, 25, 28, .42); }
.btn--on-dark { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--on-dark:hover { border-color: rgba(255, 255, 255, .6); }

.tlink {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: var(--fs-ui); padding-bottom: .35rem;
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .5s var(--ease-out);
}
.tlink:hover { background-size: 100% 1.5px; }
.tlink svg { transition: transform .45s var(--ease-out); }
.tlink:hover svg { transform: translateX(4px); }

/* ===================================================================
   Header
   =================================================================== */
.site-head {
  --phone-text: var(--text);
  --phone-fill: rgba(255,255,255,.65);
  --phone-line: var(--line);
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  padding-block: 1rem;
  background: transparent;
  border: 0;
  transition: background .45s var(--ease);
}
.site-head__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

/* Ungefilterter Header, Glasfläche nur auf dem Telefon-CTA. */
body.hero-dark .site-head {
  --phone-text: #fff;
  --phone-fill: rgba(14,16,19,.42);
  --phone-line: rgba(255,255,255,.35);
  background: transparent;
}
body.hero-dark .site-head .nav__link { color: var(--white); }
body.hero-dark .site-head .burger span { background: #fff; }
body.hero-dark .site-head .brand__tag { color: var(--white); border-left-color: rgba(255, 255, 255, .25); }
body.hero-dark .site-head.is-stuck {
  --phone-text: var(--text);
  --phone-fill: rgba(255,255,255,.65);
  --phone-line: var(--line);
  background: #fff;
}
body.hero-dark .site-head.is-stuck .nav__link { color: var(--text); }
body.hero-dark .site-head.is-stuck .burger span { background: var(--text); }
body.hero-dark .site-head.is-stuck .brand__tag { color: var(--text-muted); border-left-color: var(--line); }

.site-head.is-stuck { background: #fff; }

.brand { display: flex; align-items: center; gap: .85rem; }
.brand img { width: clamp(118px, 10.5vw, 146px); height: auto; }
.brand__tag {
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted); padding-left: .85rem; border-left: 1px solid var(--line);
  line-height: 1.4; display: none;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.3rem); }
.nav__link {
  position: relative; font-size: var(--fs-nav); font-weight: 500; color: var(--text);
  padding-block: .4rem; transition: color .35s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; position: relative; width: 42px; height: 42px; }
.burger span {
  position: absolute; left: 11px; width: 20px; height: 1.5px; background: var(--text);
  transition: top .35s var(--ease), transform .4s var(--ease), opacity .25s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 20.5px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 20.5px; transform: rotate(-45deg); }

.head-actions { display: flex; align-items: center; gap: .5rem; }
.head-cta {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .06em;
  color: var(--phone-text); background: var(--phone-fill); padding: .62rem 1.1rem;
  border: 1px solid var(--phone-line); border-radius: 999px; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.head-cta svg { color: inherit; transition: color .25s var(--ease); }
.head-cta:hover svg, .head-cta:focus-visible svg { color: var(--red); }
.head-cta, .hero .btn--ghost {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.hero .btn--ghost { background: rgba(14,16,19,.35); }

/* ===================================================================
   Hero (Startseite, Video)
   =================================================================== */
.hero {
  position: relative; min-height: min(100svh, 900px);
  display: flex; align-items: flex-end;
  background: var(--ink); color: #fff; overflow: hidden;
  padding-top: 7.5rem;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scaleX(-1);
  filter: grayscale(.6) contrast(1.06) brightness(.72);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(14,16,19,.95) 0%, rgba(14,16,19,.8) 34%, rgba(14,16,19,.3) 62%, rgba(14,16,19,.6) 100%),
    radial-gradient(90% 70% at 8% 82%, rgba(173,29,32,.22), transparent 60%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(255,255,255,.06) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.06) 0 1px, transparent 1px 110px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 85%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 85%);
}
.hero__inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero__kicker { margin-bottom: clamp(1.3rem, 2.4vw, 2rem); color: var(--white); }
.hero__kicker .kicker__dot { background: var(--red-on-dark); box-shadow: 0 0 0 4px rgba(240,72,76,.18); }
.hero h1 { max-width: 17ch; margin-bottom: clamp(1.4rem, 2.4vw, 2rem); }
.hero h1 .sub {
  display: block; font-size: var(--fs-hero-sub); font-weight: 400;
  letter-spacing: -.02em; color: var(--white); margin-top: .5rem;
}
.hero__lede { color: var(--white); max-width: 50ch; margin-bottom: clamp(1.8rem, 3.2vw, 2.6rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.status {
  position: relative; z-index: 3;
  margin-top: clamp(2.6rem, 5.5vw, 5rem);
  border-top: 1px solid var(--line-dark); padding-top: 1.1rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.status__item { display: flex; flex-direction: column; gap: .3rem; }
.status__v { font-size: var(--fs-sm); font-weight: 600; color: #fff; }
.status__v em { font-style: normal; color: inherit; }

/* ===================================================================
   Seitenkopf der Unterseiten — Bild mit Raster
   =================================================================== */
.phead {
  --phead-space: clamp(3.5rem, 7vw, 6rem);
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding-top: calc(var(--header-height, 5rem) + var(--phead-space));
  padding-bottom: var(--phead-space);
  display: flex; align-items: center;
  min-height: clamp(360px, 56vh, 620px);
}
.phead__media { position: absolute; inset: 0; z-index: 0; }
.phead__media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.55) contrast(1.06) brightness(.74);
}
.phead__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(14,16,19,.94) 0%, rgba(14,16,19,.76) 38%, rgba(14,16,19,.34) 70%, rgba(14,16,19,.6) 100%),
    radial-gradient(85% 70% at 6% 88%, rgba(173,29,32,.22), transparent 62%);
}
.phead__raster {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image:
    repeating-linear-gradient(to right, rgba(255,255,255,.06) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.06) 0 1px, transparent 1px 110px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 85%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 55%, transparent 85%);
}
.phead__inner { position: relative; z-index: 3; width: 100%; }
.phead__cols {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: end;
}
.phead .kicker { color: var(--white); }
.phead .kicker__dot { background: var(--red-on-dark); box-shadow: 0 0 0 4px rgba(240,72,76,.18); }
.phead h1 { margin-block: clamp(1.1rem, 2vw, 1.6rem) 1.1rem; max-width: 16ch; }
.phead .lede { color: var(--white); }
.phead__meta {
  margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem;
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .16em; text-transform: uppercase;
  color: var(--white);
}
.phead .estop__cap { color: var(--white); }
.phead .estop__btn::before { border-color: rgba(255,255,255,.2); }

/* ===================================================================
   Positionierung / Intro
   =================================================================== */
.intro__grid {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.intro__statement {
  font-size: var(--fs-h3); font-weight: var(--heading-weight); color: var(--heading-color);
  line-height: 1.26; letter-spacing: -.03em; text-wrap: balance;
}
.intro__body { display: grid; gap: 1.3rem; }
.intro__meta {
  margin-top: 2.4rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem;
}
.intro__meta--wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.intro__meta dt { margin-bottom: .3rem; }
.intro__meta dd { font-size: var(--fs-sm); font-weight: 500; }

.measure {
  display: flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.measure__num {
  font-size: var(--fs-num); font-weight: 800; letter-spacing: -.06em; line-height: .86; color: var(--red);
  display: flex; align-items: flex-start; gap: .35rem;
}
.measure__num sup { font-size: .22em; font-weight: 600; color: var(--red); position: relative; top: .9em; }
.measure__cap { display: grid; gap: .7rem; }
.measure__label { font-size: var(--fs-h4); font-weight: 500; line-height: 1.2; letter-spacing: -.025em; color: var(--text-gray); }
.measure__label strong { font-weight: 700; }
.measure__since {
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); white-space: nowrap;
}

/* ===================================================================
   Leistungs-Index
   =================================================================== */
.index__list { border-top: 1px solid var(--line); }
.index__row {
  position: relative;
  display: grid; grid-template-columns: 5rem minmax(0, 1fr) minmax(0, .8fr) 3rem;
  align-items: center; gap: 1.5rem;
  padding-block: clamp(1.5rem, 2.8vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}
.index__num {
  font-family: var(--mono);
  font-size: var(--fs-h3); font-weight: var(--heading-weight); letter-spacing: -.03em; line-height: 1.05;
  color: var(--heading-accent); font-variant-numeric: tabular-nums;
}
.index__title {
  font-size: var(--fs-h3); font-weight: var(--heading-weight); letter-spacing: -.02em; line-height: 1.15;
}
.index__desc { font-size: var(--fs-sm); color: var(--text-gray); line-height: 1.55; }
.index__go {
  justify-self: end; width: 2.6rem; height: 2.6rem; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--text);
}
.index__link { position: absolute; inset: 0; z-index: 3; }

/* ---------- Normen-Band ---------- */
.norms { padding-block: clamp(1.8rem, 3.4vw, 2.8rem) 0; }
.norms__list { display: flex; flex-wrap: wrap; gap: .9rem clamp(1.4rem, 3.4vw, 3.4rem); align-items: center; }
.norms__item {
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-gray); display: flex; align-items: center; gap: .7rem;
}
.norms__item::before {
  content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(173,29,32,.14);
}

/* ===================================================================
   Bildtafel (full-bleed)
   =================================================================== */
.band { position: relative; height: clamp(280px, 42vh, 500px); overflow: hidden; margin: 0; background: var(--paper-3); }
.band img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.45) contrast(1.04);
}
.band--parallax img {
  position: absolute; left: 0; top: calc(0px - var(--band-room));
  height: calc(100% + var(--band-room) + var(--band-room));
  transform: translate3d(0, var(--band-y, 0px), 0);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .band--parallax img { position: static; height: 100%; transform: none; will-change: auto; }
}

/* ===================================================================
   Ablauf / Schritte
   =================================================================== */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.6rem); counter-reset: step; }
.flow-split {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 5rem); align-items: stretch;
}
.flow-split__image { position: relative; width: 100%; margin: 0; overflow: hidden; aspect-ratio: 1; min-width: 0; }
.flow-split__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.04); }
.flow--two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
.flow__step { position: relative; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.flow__step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: .9rem; left: 0;
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .16em; color: var(--red);
}
.flow__step::after {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--red);
  transition: width 1.1s var(--ease-out) var(--d, 0ms);
}
.flow__step.is-in::after { width: 42%; }
.flow__step h3 { margin-bottom: .65rem; }
.flow__step p { font-size: var(--fs-sm); color: var(--text-gray); line-height: 1.6; }
.flow--cards { gap: 1.25rem; }
.flow--cards .flow__step {
  --card-inset: clamp(1.5rem, 2.2vw, 2rem);
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  grid-template-rows: auto 1fr auto; column-gap: .75rem;
  min-width: 0; padding: var(--card-inset);
  background: var(--white); border: 1px solid var(--line-soft);
}
.flow--cards .flow__step::before {
  position: static; grid-column: 1; grid-row: 1;
  font-size: var(--fs-h4); letter-spacing: .04em; line-height: 1.22;
}
.flow--cards .flow__step > h3 { grid-column: 2; }
.flow--cards .flow__step > p { grid-column: 1 / -1; }
.flow--cards .flow__step::after { content: none; }
.flow--cards h3 { overflow-wrap: anywhere; hyphens: auto; }
.flow__result {
  grid-column: 1 / -1; align-self: end; display: flex; align-items: center; gap: .6rem;
  margin-top: 1.5rem; padding-top: .9rem; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: var(--fs-ui); line-height: 1.5; color: var(--text-muted);
}
.flow__result svg { flex: none; color: var(--red); }

/* ===================================================================
   Person
   =================================================================== */
.person { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.person--image-right { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
/* Bild + Kennzahlen als eine Spalte, damit sie als Gruppe zentriert bleiben */
.person__col { display: flex; flex-direction: column; }
/* Abstand groß genug, damit die überstehende Bildunterschrift frei bleibt */
.person__col .intro__meta { margin-top: 3.6rem; }
.person__figure { position: relative; }
.person__figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  filter: grayscale(1) contrast(1.06); border-radius: 2px;
}
.person__figure::after {
  content: ""; position: absolute; inset: -10px -10px 30px 30px;
  border: 1px solid var(--red); opacity: .55; pointer-events: none; z-index: -1;
}
.person__tag {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--red); color: #fff; padding: .95rem 1.25rem;
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .16em; text-transform: uppercase;
  line-height: 1.7; box-shadow: var(--shadow-card);
}
.person__tag b { font-weight: 600; }
.person__content { min-width: 0; }
.person__content > .btn { margin-top: 2rem; max-width: 100%; }
.person__content > .btn .btn__arrow { flex: none; }
@media (min-width: 1081px) {
  .person--equal-height { align-items: stretch; }
  .person--equal-height > .person__figure::before { content: ""; display: block; padding-top: 125%; }
  .person--equal-height > .person__figure img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .person--equal-height > .person__content { display: flex; flex-direction: column; align-items: flex-start; }
  .person--equal-height .person__facts { width: 100%; margin-bottom: 2rem; }
  .person--equal-height .person__content > .btn { margin-top: auto; }
}
.person__facts { margin-top: 2.2rem; }
.person__fact {
  display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1.5rem;
  padding-block: .9rem; border-top: 1px solid var(--line); font-size: var(--fs-sm);
}
.person__fact:last-child { border-bottom: 1px solid var(--line); }
.person__fact dt { padding-top: .2rem; }
.person__fact dd { font-weight: 500; }

/* ===================================================================
   Leistungs-Blöcke (Unterseite)
   =================================================================== */
.svc {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  column-gap: clamp(2.2rem, 5vw, 4.5rem); row-gap: clamp(1.8rem, 3vw, 2.8rem);
  align-items: start; scroll-margin-top: 7rem;
}
.svc + .svc { margin-top: clamp(3.5rem, 7vw, 6.5rem); }
.svc__head { grid-column: 1 / -1; min-width: 0; }
/* Bereichsnummer mit durchlaufender Linie, ohne Label */
.svc__no {
  display: flex; align-items: center; gap: 1.2rem;
  font-family: var(--mono); font-size: var(--fs-label-lg); font-weight: 500; letter-spacing: .18em;
  color: var(--red);
}
.svc__no::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.svc h2 { color: var(--heading-accent); font-size: var(--fs-h3); font-weight: var(--heading-weight); letter-spacing: -.02em; line-height: 1.12; overflow-wrap: anywhere; margin-bottom: 1.2rem; }
.svc p:not(.hint) { color: var(--text-gray); }
.svc p + p { margin-top: 1rem; }
.svc__intro { min-width: 0; }
.svc__intro > p { max-width: 56ch; }
.svc__fig { margin-top: 2rem; overflow: hidden; border-radius: 2px; }
.svc__fig img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.svc__scope { min-width: 0; }
.svc .svc__label {
  margin-bottom: 1rem;
  font-family: var(--mono); font-size: var(--fs-label-lg); font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-gray);
}
/* Offenes Leistungsregister: feste Nummernspalte und feine Trennlinien. */
.svc__list { counter-reset: service-item; border-top: 1px solid var(--line); }
.svc__list li {
  counter-increment: service-item;
  display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: .9rem;
  align-items: baseline; padding-block: 1rem;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--fs-md); font-weight: 500; line-height: 1.55; color: var(--text);
  hyphens: auto; overflow-wrap: anywhere;
}
.svc__list li::before {
  content: counter(service-item, decimal-leading-zero);
  font-family: var(--mono); font-size: var(--fs-label-lg); font-weight: 500;
  letter-spacing: .08em; color: var(--red);
}

/* ===================================================================
   Zeitstrahl
   =================================================================== */
.cv-layout {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.cv-layout__aside { min-width: 0; }
.cv-layout__aside > .btn { margin-top: 1.5rem; max-width: 100%; }
.cv-layout__aside .btn__arrow { flex: none; }
.cv-layout__image { margin: 0; overflow: hidden; }
.cv-layout__image img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover;
  object-position: 28% center; filter: grayscale(.45) contrast(1.04);
}
@media (max-width: 1000px) {
  .cv-layout { grid-template-columns: 1fr; }
  .cv-layout__image img { aspect-ratio: 4 / 3; }
}
.tl { position: relative; display: grid; gap: 0; }
.tl__item {
  position: relative; display: grid; grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: clamp(1rem, 1.8vw, 1.5rem); padding-block: clamp(1rem, 1.4vw, 1.25rem);
  border-top: 1px solid var(--line);
}
.tl__item:last-child { border-bottom: 1px solid var(--line); }
.tl__year {
  font-family: var(--mono); font-size: var(--fs-h4); font-weight: 600;
  letter-spacing: .02em; line-height: 1.2; color: var(--red); white-space: nowrap;
}
.tl__body h3 { margin-bottom: .25rem; }
.tl__body p { font-size: var(--fs-sm); line-height: 1.5; color: var(--text-gray); max-width: 62ch; }
.tl__item::after {
  content: ""; position: absolute; left: 0; top: -1px; width: 0; height: 2px; background: var(--red);
  transition: width 1s var(--ease-out) var(--d, 0ms);
}
.tl__item.is-in::after { width: 3.5rem; }

/* ===================================================================
   Referenzen
   =================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.filters button {
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .14em; text-transform: uppercase;
  padding: .68rem 1.15rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-gray);
  transition: all .35s var(--ease);
}
.filters button:hover { border-color: var(--red); color: var(--red); }
.filters button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.projects { border-top: 1px solid var(--line); }
.project {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .85fr) minmax(0, .8fr);
  align-items: center; gap: clamp(1.4rem, 3vw, 2.8rem);
  padding-block: clamp(1.5rem, 2.8vw, 2.2rem); border-bottom: 1px solid var(--line);
}
.project[hidden] { display: none; }
.project__cat {
  display: flex; align-items: center; gap: .85rem; padding-left: 4px;
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); overflow-wrap: anywhere;
}
.project__cat::before {
  content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(173,29,32,.14);
}
.project__title { min-width: 0; hyphens: auto; overflow-wrap: anywhere; }
.project__meta {
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-gray); line-height: 1.7; overflow-wrap: anywhere;
}

/* ---------- Slider (Kundenstimmen) ---------- */
.slider { --slider-gap: clamp(1.2rem, 2.2vw, 1.9rem); }
.slider__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.slider__nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); padding-bottom: .4rem; }
.slider__count {
  font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .16em;
  color: var(--text-muted); font-variant-numeric: tabular-nums;
}
.slider__count b { color: var(--red); font-weight: 600; }
.slider__btns { display: flex; gap: .6rem; }
.slider__btn {
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--text);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .3s var(--ease), opacity .3s var(--ease);
}
.slider__btn:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: #fff; }
.slider__btn:disabled { opacity: .28; cursor: default; }

.slider__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--slider-gap)) / 3);
  gap: var(--slider-gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none;
  /* Schattenraum an allen Seiten, Karten bleiben am Container ausgerichtet. */
  margin-inline: calc(0px - var(--slider-gap));
  padding: 1.25rem var(--slider-gap) 4rem;
  scroll-padding-inline: var(--slider-gap);
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > * { scroll-snap-align: start; }

/* Laufleiste im Duktus der Maßlinie */
.slider__rail { position: relative; height: 1px; background: var(--line); margin-top: .2rem; }
.slider__bar {
  position: absolute; top: 0; left: 0; height: 1px; width: 33%;
  background: var(--red);
  transition: transform .45s var(--ease-out), width .45s var(--ease-out);
}

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); }
.quote {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: 3px;
  padding: clamp(1.8rem, 3vw, 2.8rem); display: flex; flex-direction: column; gap: 1.6rem;
  box-shadow: var(--shadow-card);
  min-height: clamp(20rem, 30vw, 26rem);
  transition: box-shadow .45s var(--ease), transform .45s var(--ease-out);
}
.slider__track .quote:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -34px rgba(23, 25, 28, .55); }

.quote blockquote { flex: 1; }
.quote blockquote p { font-size: var(--fs-md); line-height: 1.62; color: var(--text); }
/* Rotes Zitat-Element im Duktus der roten Plakette. */
.quote > .quote__mark {
  flex: none; width: 3.2rem; height: 3.2rem; border-radius: 2px;
  background: var(--red); color: #fff;
  display: grid; place-items: center;
  font-size: var(--fs-h3); font-weight: 800; line-height: 0;
  padding-top: .34em;
  box-shadow: 0 12px 24px -14px rgba(173, 29, 32, .9);
}
.quote footer { border-top: 1px solid var(--line-soft); padding-top: 1.1rem; }
.quote__who { font-weight: 600; font-size: var(--fs-sm); }
/* zwei Zeilen reserviert, damit die Trennlinien über alle Karten fluchten */
.quote__ctx {
  font-family: var(--mono); font-size: var(--fs-sm); letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted); margin-top: .25rem;
  line-height: 1.6; min-height: 3.2em;
}

/* ===================================================================
   Kontakt
   =================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.info__block + .info__block { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.info__k { margin-bottom: .6rem; }
/* :not(.info__k), damit das Schlüssel-Label seine eigene Größe behält */
.info__block p:not(.info__k), .info__block a { font-size: var(--fs-md); line-height: 1.7; }
/* Abstand, wenn ein Block aus mehreren Absätzen besteht */
.info__block p:not(.info__k) + p { margin-top: 1rem; }
.info__block a { transition: color .3s var(--ease); }
.info__block a:hover { color: var(--red); }
.contact-numbers { display: grid; gap: .15rem; }
.contact-numbers > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline; }
.contact-numbers dt { color: var(--text-muted); }
.contact-numbers dd { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.form { background: var(--white); border: 1px solid var(--line-soft); border-radius: 3px; padding: clamp(1.7rem, 3.4vw, 3rem); box-shadow: var(--shadow-card); }
.field { margin-bottom: 1.4rem; }
.field label { display: block; margin-bottom: .55rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: var(--fs-md); color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid var(--line);
  padding: .7rem 0; transition: border-color .35s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--red); }
.field textarea { resize: vertical; min-height: 6.5rem; }
.consent {
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: var(--fs-sm); color: var(--text-gray); line-height: 1.55; margin-bottom: 1.6rem;
}
.consent input { margin-top: .25rem; accent-color: var(--red); width: 1rem; height: 1rem; flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-results { margin-top: 1.2rem; font-size: var(--fs-sm); }
.form-results[data-state="error"] { color: var(--red); }
.form-results[data-state="success"] { color: var(--text-gray); }
.form button[type="submit"]:disabled { opacity: .65; cursor: wait; }

.socials { display: flex; gap: .7rem; }
.socials a {
  width: 2.6rem; height: 2.6rem; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; transition: all .35s var(--ease);
}
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ===================================================================
   Prosa (Datenschutz)
   =================================================================== */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--fs-h4); font-weight: var(--heading-weight); letter-spacing: -.02em; margin-top: 3rem; margin-bottom: .9rem; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: var(--fs-md); font-weight: var(--heading-weight); margin-top: 1.8rem; margin-bottom: .6rem; }
.prose p { color: var(--text-gray); margin-bottom: 1rem; font-size: var(--fs-md); line-height: 1.72; }
.prose ul { margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.prose ul li { position: relative; padding-left: 1.4rem; color: var(--text-gray); font-size: var(--fs-md); line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.privacy-layout {
  display: grid; grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: clamp(3rem, 7vw, 7rem); align-items: start;
}
.privacy-nav {
  position: sticky; top: 7rem; max-height: calc(100svh - 9rem);
  overflow-y: auto; overscroll-behavior: contain;
}
.privacy-nav__title {
  font-family: var(--mono); font-size: var(--fs-label-lg); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 1rem;
}
.privacy-nav ol { list-style: none; margin: 0; padding: 0; counter-reset: privacy-section; }
.privacy-nav li { counter-increment: privacy-section; border-top: 1px solid var(--line); }
.privacy-nav a {
  display: grid; grid-template-columns: 1.65rem minmax(0, 1fr); gap: .6rem;
  padding: .7rem .2rem; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-gray);
}
.privacy-nav a::before { content: counter(privacy-section, decimal-leading-zero); font-family: var(--mono); color: var(--red); }
.privacy-nav a:hover, .privacy-nav a[aria-current="location"] { color: var(--red); }
.privacy-nav a[aria-current="location"] { font-weight: 600; }
.privacy-content { min-width: 0; }
.privacy-content > section + section { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.privacy-content .privacy-date { font-family: var(--mono); font-size: var(--fs-sm); margin-bottom: 2rem; }
.privacy-content .privacy-objection { border-left: 2px solid var(--red); padding-left: 1.2rem; }
.privacy-content a { overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .privacy-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .privacy-nav { position: static; max-height: none; overflow: visible; }
  .privacy-nav ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
}
@media (max-width: 540px) { .privacy-nav ol { grid-template-columns: 1fr; } }
@media print {
  .privacy-layout { display: block; }
  .privacy-nav { display: none; }
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq-split {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.faq-intro { min-width: 0; }
.faq-intro h2 { max-width: 14ch; margin-bottom: 1.5rem; }
.faq-intro .lede { max-width: 40ch; }
.faq-intro .btn { margin-top: 2rem; max-width: 100%; }
.faq-intro .btn__arrow { flex: none; }
.faq { display: grid; min-width: 0; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem;
  hyphens: auto; overflow-wrap: anywhere;
  padding-block: clamp(1.1rem, 2.2vw, 1.7rem);
  font-size: var(--fs-h4); font-weight: var(--heading-weight); color: var(--heading-color); letter-spacing: -.015em; line-height: 1.35;
  cursor: pointer; list-style: none; transition: color .35s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover, .faq__item[open] .faq__q { color: var(--heading-accent); }
.faq__sign { position: relative; flex: none; width: 16px; height: 16px; margin-top: .45rem; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; inset: 0; margin: auto; background: currentColor; }
.faq__sign::before { width: 16px; height: 1.5px; }
.faq__sign::after { width: 1.5px; height: 16px; transition: transform .45s var(--ease-out); }
.faq__item[open] .faq__sign::after { transform: scaleY(0); }
.faq__a { padding-bottom: 1.6rem; max-width: 58ch; }
.faq__a p { color: var(--text-gray); font-size: var(--fs-md); line-height: 1.68; }
.faq__a p + p { margin-top: .8rem; }
.faq__item[open] .faq__a { animation: faqIn .5s var(--ease-out) both; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ===================================================================
   CTA / Not-Halt
   =================================================================== */
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.cta h2 { max-width: 18ch; margin-bottom: 1.4rem; }
.cta__contact { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.2rem; }
.cta__contact a { display: grid; gap: .25rem; }
.cta__contact .v {
  font-size: var(--fs-lg); font-weight: 600; color: var(--text-gray);
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .5s var(--ease-out); padding-bottom: .2rem;
}
.cta__contact a:hover .v { background-size: 100% 1.5px; }

.estop {
  position: relative; display: grid; place-items: center;
  align-self: center; justify-self: center; padding: 5.5rem 40px;
}
.estop__btn {
  position: relative; width: clamp(190px, 19vw, 270px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: #fff; isolation: isolate;
  background: #510c10; cursor: pointer; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
/* The collar stays fixed while the red cap travels into its housing. */
.estop__btn::before {
  content: ""; position: absolute; inset: -36px; z-index: -1; border-radius: 50%;
  border: 1px solid #b9babb;
  background:
    radial-gradient(circle closest-side, #262629 0 calc(100% - 26px), transparent calc(100% - 25px)),
    conic-gradient(from 30deg, #fafafa, #b5b7b8 22%, #e6e7e7 42%, #fff 53%, #adafb0 76%, #fafafa);
  box-shadow: inset 0 0 6px rgba(255,255,255,.35),
    0 0 15px 3px rgba(23,25,28,.18), 0 0 38px 8px rgba(23,25,28,.1);
}
.estop__btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0;
  border: 1px solid rgba(111,12,16,.2);
  background:
    radial-gradient(ellipse at 50% 16%, rgba(255,255,255,.24), transparent 52%),
    radial-gradient(circle at 50% 34%, #d43a34 0%, #b52c27 52%, #94201c 80%, #761713 100%);
  box-shadow:
    inset 0 6px 16px rgba(255,255,255,.25),
    inset 0 -10px 22px rgba(60,5,3,.35),
    inset 0 0 14px rgba(85,12,9,.12),
    0 0 0 2px #831a16, 0 0 5px 5px rgba(79,13,10,.75),
    0 0 12px 9px rgba(31,5,7,.28), 0 0 26px 9px rgba(55,5,8,.22);
  transform: scale(1);
  transition: transform .38s cubic-bezier(.2, 1.5, .4, 1), box-shadow .25s var(--ease-out), filter .2s ease;
  pointer-events: none;
}
.estop__btn:focus-visible { outline: 3px solid var(--red); outline-offset: 43px; border-radius: 50%; }
@media (hover: hover) {
  .estop__btn:hover::after { filter: brightness(1.07); }
}
.estop__btn:active::after {
  transform: scale(.965); filter: brightness(.96);
  box-shadow: inset 0 3px 10px rgba(255,255,255,.16),
    inset 0 -4px 14px rgba(60,5,3,.35), inset 0 0 16px rgba(70,0,3,.28),
    0 0 0 2px #831a16, 0 0 3px 4px rgba(79,13,10,.75),
    0 0 6px 6px rgba(31,5,7,.28), 0 0 10px 4px rgba(55,5,8,.2);
  transition-duration: .09s; transition-timing-function: ease-out;
}
.estop__inner {
  position: relative; z-index: 1; display: grid; place-items: center; width: 40%;
  transform: scale(1); text-shadow: 0 1px 2px rgba(70,0,3,.5);
  transition: transform .38s cubic-bezier(.2, 1.5, .4, 1); pointer-events: none;
}
.estop__btn:active .estop__inner { transform: scale(.965); transition: transform .09s ease-out; }
.estop__mark {
  display: block; width: 100%; height: auto; aspect-ratio: 1;
}
.estop__cap {
  position: absolute; top: calc(100% - 5.5rem + 52px); left: 0; width: 100%;
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted); text-align: center; line-height: 1.7;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-foot { background: var(--paper-3); color: var(--text-gray); padding-block: clamp(3.2rem, 5.5vw, 4.5rem) 1.8rem; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2.2rem, 4.5vw, 3.5rem); }
.foot__brand img { width: 146px; }
.foot__brand p { margin-top: 1.1rem; font-size: var(--fs-sm); line-height: 1.7; max-width: 34ch; }
.foot__h {
  font-family: var(--mono); font-size: var(--fs-label-lg); font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.foot__list { display: grid; gap: .55rem; font-size: var(--fs-sm); }
.foot__list a { transition: color .35s var(--ease); }
.foot__list a:hover { color: var(--red); }
.foot__bottom {
  border-top: 1px solid var(--line); padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: var(--fs-label-sm); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
}
.foot__bottom nav { display: flex; gap: 1.6rem; }
.foot__bottom a:hover { color: var(--red); }

/* ===================================================================
   Reveal
   =================================================================== */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms); }
.rv.is-in { opacity: 1; transform: none; }
.rv-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out) var(--d, 0ms); }
.rv-wipe.is-in { clip-path: inset(0 0 0 0); }
.hero .load { opacity: 0; transform: translateY(26px); animation: load .95s var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes load { to { opacity: 1; transform: none; } }

/* ===================================================================
   Responsive
   =================================================================== */
@media (min-width: 1200px) { .brand__tag { display: block; } }

@media (max-width: 1080px) {
  .flow-split { grid-template-columns: 1fr; }
  .flow-split__image { aspect-ratio: 4 / 3; }
  .intro__meta--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro__grid, .person, .contact, .svc, .phead__cols { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); row-gap: .5rem; }
  .project__title { grid-row: span 2; }
  .project__meta { grid-column: 2; }
  .flow { row-gap: 2.5rem; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index__row { grid-template-columns: 4rem minmax(0, 1fr) 2.6rem; }
  .index__desc { display: none; }
  .person__figure { max-width: 26rem; }
  .slider__track { grid-auto-columns: calc((100% - var(--slider-gap)) / 2); }
}

@media (max-width: 860px) {
  .faq-split { grid-template-columns: 1fr; }
  .faq-intro h2, .faq-intro .lede { max-width: 40rem; }
  body.hero-dark .site-head .nav__link { color: var(--text); }
  body.hero-dark .site-head.is-stuck .burger span,
  body.hero-dark.nav-open .site-head .burger span { background: var(--text); }
  body.hero-dark .site-head .brand__tag { color: var(--text-muted); border-left-color: var(--line); }

  /* Bei offenem Menü wird der Header deckend, damit er mit dem
     aufgeklappten Panel als ein Block liest */
  body.nav-open .site-head,
  body.hero-dark.nav-open .site-head { background: var(--white); border-bottom-color: transparent; }

  /* Menü klappt unter dem Header auf, über die volle Breite.
     Der Header bleibt sichtbar — der Burger dort wird zum X, kein zweiter Knopf. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .25rem var(--gut) 1.4rem;
    background: var(--white);
    border-top: 1px solid var(--line-soft);
    box-shadow: 0 26px 40px -30px rgba(23, 25, 28, .45);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease), transform .4s var(--ease-out), visibility .4s;
    z-index: 94;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    font-size: var(--fs-h4); font-weight: 600; letter-spacing: -.02em;
    padding-block: .85rem;
  }
  /* volle Zeilenbreite als Tippfläche — dafür kein durchlaufender Unterstrich */
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--red); }
  body.hero-dark .nav .nav__link { color: var(--text); }
  body.hero-dark .nav .nav__link[aria-current="page"] { color: var(--red); }
  .burger { display: block; z-index: 96; }
  .head-cta { display: none; }

  .status { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
  .cta__grid { grid-template-columns: 1fr; }
  .estop { justify-self: center; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(14,16,19,.85) 0%, rgba(14,16,19,.55) 30%, rgba(14,16,19,.72) 62%, rgba(14,16,19,.95) 100%),
      radial-gradient(90% 60% at 10% 85%, rgba(173,29,32,.2), transparent 60%);
  }
}

@media (max-width: 620px) {
  .svc__list li { grid-template-columns: 1.5rem minmax(0, 1fr); column-gap: .7rem; font-size: var(--fs-sm); }
  .flow, .foot__grid, .intro__meta { grid-template-columns: 1fr; }
  .project { grid-template-columns: 1fr; row-gap: .65rem; }
  .project__title { grid-row: auto; }
  .project__cat { grid-row: auto; margin-bottom: .35rem; }
  .project__meta { grid-column: auto; }
  .person__fact, .tl__item { grid-template-columns: 1fr; gap: .3rem; }
  .index__row { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .index__go { display: none; }
  .foot__bottom { flex-direction: column; align-items: flex-start; }
  .slider__track { grid-auto-columns: 86%; }
  .slider__head { align-items: flex-start; }
  .slider__nav { width: 100%; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
  }
  .rv, .rv-wipe, .hero .load { opacity: 1; transform: none; clip-path: none; }
}
