/* ==========================================================================
   Gerhardt Dienstleistungen — Rebuild
   Design tokens gespiegelt von gerhardt-dienstleistungen.de
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marke */
  /* Markenfarbe unverändert aus dem Original — Flächen, Buttons, Icons */
  --tuerkis:        #4299AB;
  --tuerkis-hover:  #3A8898;
  --tuerkis-dark:   #214C55;
  --tuerkis-deep:   #0A1719;
  --tuerkis-tint:   #D8F3FA;

  /* Kontrastvarianten für KLEINEN Text (das Marken-Türkis erreicht auf Weiß
     nur 3.29:1 und genügt damit nur für große Schrift).
       --tuerkis-text     4.70:1 auf Weiß
       --tuerkis-on-dark  4.65:1 auf Anthrazit                                */
  --tuerkis-text:    #367D8C;
  --tuerkis-on-dark: #53BFD6;

  --anthrazit:      #42433E;
  --anthrazit-900:  #282825;
  --anthrazit-950:  #212120;

  --ink:            #00000C;
  --grau:           #A6A6A4;
  --grau-warm:      #8C8D88;
  --grau-dark:      #636362;

  --soft:           #F5F5F5;
  --line:           #D9D9D7;
  --line-soft:      #E8E8E6;
  --white:          #FFFFFF;

  /* Semantisch */
  --bg:             var(--white);
  --bg-soft:        var(--soft);
  --bg-dark:        var(--anthrazit);
  --fg:             var(--ink);
  --fg-muted:       var(--grau-dark);
  /* --grau-warm (#8C8D88) erreicht auf Weiß nur 3.34:1 und ist damit für
     kleinen Text zu schwach — hier eine abgedunkelte Variante (4.71:1). */
  --fg-subtle:      #73746F;
  --accent:         var(--tuerkis);
  --on-accent:      var(--white);
  --border:         var(--line);

  /* Typo */
  --font: "Geist", "Geist Placeholder", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-hero:    clamp(2.375rem, 1.1rem + 4.4vw, 3.625rem);  /* 38 → 58 */
  --fs-h2:      clamp(1.875rem, 1rem + 3.05vw, 2.75rem);    /* 30 → 44 */
  --fs-h3:      clamp(1.5rem, 1.05rem + 1.6vw, 1.75rem);    /* 24 → 28 */
  --fs-h4:      clamp(1.125rem, 1rem + 0.44vw, 1.25rem);    /* 18 → 20 */
  --fs-lead:    clamp(1rem, 0.93rem + 0.28vw, 1.125rem);    /* 16 → 18 */
  --fs-body:    1rem;
  --fs-sm:      0.875rem;
  --fs-xs:      0.8125rem;

  --lh-hero: 1.04;
  --lh-h2:   1.14;
  --lh-h4:   1.2;
  --lh-body: 1.5;

  --ls-hero: -0.038em;
  --ls-h2:   -0.03em;
  --ls-h4:   -0.02em;
  --ls-body: -0.01em;

  /* Raster (Density 4 — Standard) */
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --section-y: clamp(4.5rem, 8vw, 7.5rem);

  --container:   1400px;
  --gutter:      clamp(1.25rem, 3.3vw, 3rem);

  /* Form */
  --r-sm:  8px;
  --r-md:  15px;
  --r-lg:  20px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 12, 0.04);
  --shadow-md: 0 12px 32px rgba(0, 0, 12, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 0, 12, 0.12);

  /* Motion */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:  180ms;
  --dur-base:  280ms;
  --dur-slow:  500ms;

  /* Ebenen */
  --z-base:    1;
  --z-sticky:  40;
  --z-header:  100;
  --z-overlay: 500;
  --z-cursor:  9999;
}

/* --------------------------------------------------------------------------
   2. Reset & Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* Lenis übernimmt das Scrollen, sobald JS aktiv ist */
html.lenis,
html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 500;
  color: var(--fg);
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); line-height: var(--lh-hero); letter-spacing: var(--ls-hero); }
h2 { font-size: var(--fs-h2);   line-height: var(--lh-h2);   letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3);   line-height: var(--lh-h2);   letter-spacing: var(--ls-h2); }
h4 { font-size: var(--fs-h4);   line-height: var(--lh-h4);   letter-spacing: var(--ls-h4); }

p { margin: 0; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-soft);
}

button, input, textarea, select {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

/* Greift, wenn der eigene Cursor nicht aktiv ist (Touch, kein JS) —
   Browser setzen auf <button> sonst nur `default`. */
button, [role="button"], summary { cursor: pointer; }
button:disabled { cursor: not-allowed; }

ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--tuerkis);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--tuerkis); color: var(--white); }

/* Skip-Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: calc(var(--z-cursor) + 1);
  padding: 0.75rem 1.25rem;
  background: var(--anthrazit);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

/* --------------------------------------------------------------------------
   3. Custom Cursor
   -------------------------------------------------------------------------- */
/* Der Cursor ist durchgehend weiß und wird per difference-Blending mit dem
   Untergrund verrechnet: Weiß minus Hintergrund ergibt exakt den invertierten
   Farbwert. Dadurch bleibt er auf jedem Untergrund sichtbar, ohne dass Zonen
   gepflegt werden müssen. */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor--dot {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  background: #fff;
  border-radius: 50%;
}

.cursor--ring {
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border: 2px solid #fff;
  border-radius: 50%;
  transition:
    width var(--dur-base) var(--ease-out),
    height var(--dur-base) var(--ease-out),
    margin var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out);
}

body.cursor-ready .cursor { opacity: 1; }

/* Zustand: Link / Button */
body.cursor-link .cursor--ring {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  background: rgba(255, 255, 255, 0.22);
}
body.cursor-link .cursor--dot { opacity: 0; }

/* Zustand: Textfeld */
body.cursor-text .cursor--ring {
  width: 3px; height: 28px;
  margin: -14px 0 0 -1.5px;
  border-radius: 1px;
  background: #fff;
  border-color: transparent;
}
body.cursor-text .cursor--dot { opacity: 0; }

/* Nativen Cursor nur bei echter Maus ausblenden.
   Bewusst über alle Elemente und mit !important: Formularfelder bringen einen
   eigenen Cursor des Browsers mit (text, default), und Komponentenregeln wie
   `.consent label { cursor: pointer }` stehen später im Stylesheet. Ohne diese
   Durchsetzung erscheint neben dem eigenen Cursor zusätzlich der native. */
@media (hover: hover) and (pointer: fine) {
  body.cursor-ready,
  body.cursor-ready * { cursor: none !important; }
}

/* Touch/Coarse: kein Custom Cursor */
@media (hover: none), (pointer: coarse) {
  .cursor { display: none !important; }
}

/* --------------------------------------------------------------------------
   4. Scroll-Fortschritt
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: calc(var(--z-header) + 1);
  background: transparent;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 100%;
  background: var(--tuerkis);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  padding-block: clamp(0.875rem, 1.6vw, 1.375rem);
  transition:
    background-color var(--dur-base) var(--ease-soft),
    box-shadow var(--dur-base) var(--ease-soft),
    padding var(--dur-base) var(--ease-soft);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand { display: block; flex-shrink: 0; }
.brand img { width: clamp(150px, 14vw, 190px); height: auto; }
.brand__light { display: block; }
.brand__dark  { display: none; }

/* Header über dem hellen Bereich */
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.site-header.is-solid .brand__light { display: none; }
.site-header.is-solid .brand__dark  { display: block; }
.site-header.is-solid .nav__link { color: var(--fg); }
.site-header.is-solid .menu-toggle { color: var(--fg); }

/* Bei offenem Menü sitzt der Header über der dunklen Fläche: durchsichtig,
   helles Logo, weißer Schließen-Button — und er darf sich nicht wegscrollen. */
body.nav-open .site-header {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: none;
}
body.nav-open .site-header .brand__light { display: block; }
body.nav-open .site-header .brand__dark  { display: none; }
body.nav-open .site-header .menu-toggle,
body.nav-open .site-header .nav__link { color: var(--white); }

/* Auto-Hide beim Runterscrollen */
.site-header.is-hidden { transform: translateY(-110%); }
.site-header { transition-property: background-color, box-shadow, padding, transform; }

.nav { display: none; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
}

.nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.35rem;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--white);
  letter-spacing: var(--ls-body);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="true"]::after { transform: scaleX(1); transform-origin: 0 50%; }

.site-header__actions { display: flex; align-items: center; gap: var(--space-xs); }
.site-header .btn--primary { display: none; }
@media (min-width: 760px) { .site-header .btn--primary { display: inline-flex; } }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--white);
  border-radius: var(--r-pill);
}
@media (min-width: 1000px) { .menu-toggle { display: none; } }

.menu-toggle__bars { position: relative; width: 22px; height: 14px; }
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) linear;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6.25px; }
.menu-toggle__bars span:nth-child(3) { top: 12.5px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

/* Mobile Overlay */
/* Bewusst UNTER dem Header: Läge das Overlay darüber, wäre der
   Schließen-Button verdeckt und das Menü auf dem Handy nicht mehr
   zu schließen — dort gibt es keine Escape-Taste. */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-header) - 5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--gutter) var(--space-xl);
  background: var(--anthrazit);
  color: var(--white);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path var(--dur-slow) var(--ease-out), visibility 0s linear var(--dur-slow);
}
.mobile-nav.is-open {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path var(--dur-slow) var(--ease-out), visibility 0s;
}
.mobile-nav__list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav__item { overflow: hidden; }
.mobile-nav__link {
  display: block;
  padding-block: 0.5rem;
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  letter-spacing: var(--ls-h2);
  line-height: 1.15;
  color: var(--white);
  transform: translateY(110%);
  transition: transform var(--dur-slow) var(--ease-out), color var(--dur-fast) var(--ease-soft);
}
.mobile-nav.is-open .mobile-nav__link { transform: translateY(0); }
.mobile-nav__list li:nth-child(1) .mobile-nav__link { transition-delay: 60ms; }
.mobile-nav__list li:nth-child(2) .mobile-nav__link { transition-delay: 110ms; }
.mobile-nav__list li:nth-child(3) .mobile-nav__link { transition-delay: 160ms; }
.mobile-nav__list li:nth-child(4) .mobile-nav__link { transition-delay: 210ms; }
.mobile-nav__list li:nth-child(5) .mobile-nav__link { transition-delay: 260ms; }
.mobile-nav__link:hover { color: var(--tuerkis); }
.mobile-nav__foot {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}
/* kleiner Text auf Anthrazit — Marken-Türkis käme hier nur auf 3.03:1 */
.mobile-nav__foot a:hover { color: var(--tuerkis-on-dark); }

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--tuerkis);
  --btn-fg: var(--white);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  min-height: 51px;
  padding: 6px 6px 6px 22px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-body);
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: background-color var(--dur-base) var(--ease-soft), color var(--dur-base) var(--ease-soft);
}

/* Wischender Hover-Fill */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--anthrazit);
  transform: translateY(101%);
  transition: transform var(--dur-base) var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }

.btn__icon {
  display: grid;
  place-items: center;
  width: 39px; height: 39px;
  flex-shrink: 0;
  background: var(--white);
  color: var(--tuerkis);
  border-radius: 50%;
  overflow: hidden;
  transition: background-color var(--dur-base) var(--ease-soft), color var(--dur-base) var(--ease-soft);
}
.btn__icon svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .btn__icon svg { transform: translate(2px, -2px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  box-shadow: inset 0 0 0 1px var(--border);
  padding-inline: 22px;
}
.btn--ghost .btn__icon { background: var(--anthrazit); color: var(--white); }
.btn--ghost:hover { --btn-fg: var(--white); }
.btn--ghost:hover .btn__icon { background: var(--white); color: var(--anthrazit); }

.btn--light {
  --btn-bg: var(--white);
  --btn-fg: var(--anthrazit);
}
.btn--light .btn__icon { background: var(--tuerkis); color: var(--white); }
.btn--light::before { background: var(--tuerkis); }
.btn--light:hover { --btn-fg: var(--white); }
.btn--light:hover .btn__icon { background: var(--white); color: var(--tuerkis); }

.btn--on-dark {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

/* Textlink mit Pfeil */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;              /* eigenständige Aktion → volles Tap-Ziel */
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--tuerkis-text);
}
.link-more svg { width: 15px; height: 15px; transition: transform var(--dur-base) var(--ease-out); }
.link-more:hover svg { transform: translate(3px, -3px); }

/* --------------------------------------------------------------------------
   7. Sektions-Grundlagen
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--anthrazit); color: var(--white); }
.section--dark h1, .section--dark h2,
.section--dark h3, .section--dark h4 { color: var(--white); }

.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: var(--ls-body);
  color: var(--fg);
}
.section--dark .eyebrow { color: var(--tuerkis-on-dark); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p {
  margin-top: var(--space-md);
  font-size: var(--fs-lead);
  color: var(--fg-muted);
  max-width: 42rem;
}
.section--dark .section-head p { color: rgba(255, 255, 255, 0.72); }

.accent { color: var(--tuerkis); }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  padding-block: calc(var(--space-2xl) + 3rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  color: var(--white);
  background: var(--anthrazit-950);
}

.hero__media {
  position: absolute;
  inset: -8% 0 -8% 0;   /* Reserve für Parallax */
  z-index: 0;
  will-change: transform;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 23, 25, 0.62) 0%, rgba(10, 23, 25, 0.18) 34%, rgba(10, 23, 25, 0.78) 100%),
    linear-gradient(90deg, rgba(10, 23, 25, 0.5) 0%, rgba(10, 23, 25, 0) 62%);
}

.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__title { max-width: 15ch; color: var(--white); }
.hero__lead {
  max-width: 40ch;
  margin-top: var(--space-md);
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.82);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
}
.hero__tag strong { color: var(--white); font-weight: 500; }

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.scroll-hint__line {
  position: relative;
  width: 46px; height: 1px;
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
}
.scroll-hint__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tuerkis);
  transform-origin: 0 50%;
  animation: sweep 2s var(--ease-soft) infinite;
}
@keyframes sweep {
  0%   { transform: scaleX(0); transform-origin: 0 50%; }
  50%  { transform: scaleX(1); transform-origin: 0 50%; }
  51%  { transform: scaleX(1); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}

/* --------------------------------------------------------------------------
   9. Über uns
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(3rem, 6vw, 6rem); }
  .about-grid__head { position: sticky; top: 7rem; }
}
.about-grid__body > p + p { margin-top: var(--space-md); }
.about-grid__body p { color: var(--fg-muted); font-size: var(--fs-lead); }
.about-grid__body .btn { margin-top: var(--space-lg); }

/* Bild-Marquee */
.marquee {
  --marquee-gap: clamp(0.75rem, 1.6vw, 1.25rem);
  position: relative;
  margin-top: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  will-change: transform;
}
.marquee__item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 340px);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--line-soft);
}
.marquee__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.marquee__item:hover img { transform: scale(1.05); }
/* Hochformate etwas schmaler */
.marquee__item--portrait { width: clamp(150px, 19vw, 250px); aspect-ratio: 3 / 4; }

/* --------------------------------------------------------------------------
   10. Kennzahlen
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg);
  transition: background-color var(--dur-base) var(--ease-soft);
}
.stat:hover { background: var(--soft); }
.stat__icon { width: 34px; height: 34px; object-fit: contain; }
.stat__num {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: var(--ls-h2);
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.stat__label { font-size: var(--fs-sm); color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   11. Leistungen — horizontaler Scroll
   -------------------------------------------------------------------------- */
.hscroll { position: relative; background: var(--bg-soft); }
.hscroll__viewport { overflow: hidden; }

.hscroll__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.hscroll__head .section-head { margin-bottom: 0; }

.hscroll__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}
.hscroll__count { font-variant-numeric: tabular-nums; }
.hscroll__progress {
  position: relative;
  width: clamp(80px, 14vw, 160px);
  height: 2px;
  background: var(--border);
  overflow: hidden;
  border-radius: 2px;
}
.hscroll__progress span {
  position: absolute;
  inset: 0;
  background: var(--tuerkis);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.hscroll__track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding-inline: var(--gutter);
  width: max-content;
  will-change: transform;
}

/* Ohne JS / auf Touch: natürlicher horizontaler Swipe */
.hscroll__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hscroll__viewport::-webkit-scrollbar { display: none; }
.hscroll__track > * { scroll-snap-align: center; }

/* Mit aktivem GSAP-Pin übernimmt JS die Bewegung.
   Die Sektion wird dabei exakt bildschirmhoch, damit beim Pinnen
   weder oben noch unten etwas abgeschnitten wird. */
.js-hscroll-pinned .hscroll__viewport { overflow: hidden; scroll-snap-type: none; }

/* Exakt bildschirmhoch — min-height würde die Sektion bei viel Inhalt
   über den Viewport hinauswachsen lassen und den CTA abschneiden. */
.js-hscroll-pinned .hscroll {
  height: 100svh;
  display: flex;
  flex-direction: column;
  /* Oben mindestens 7.5rem, damit der fixierte Header die Kopfzeile
     auch auf flachen Fenstern nicht überdeckt. */
  padding-block: clamp(7.5rem, 13vh, 8.5rem) clamp(1.25rem, 3vh, 2.5rem);
}
.js-hscroll-pinned .hscroll__head { margin-bottom: clamp(1.25rem, 3vh, 2.5rem); }
.js-hscroll-pinned .hscroll__outro { margin-top: clamp(1rem, 2.5vh, 1.75rem); }

/* Der Kartenbereich bekommt den verbleibenden Platz und gibt ihn an das
   Bild weiter — so schrumpfen die Karten auf flachen Fenstern mit, statt
   den Button aus dem Bild zu schieben.
   Kopf und Fuß der Sektion behalten dabei ihre Größe, nur der Kartenbereich
   ist elastisch. */
.js-hscroll-pinned .hscroll__head,
.js-hscroll-pinned .hscroll__outro { flex: 0 0 auto; }
.js-hscroll-pinned .hscroll__viewport { flex: 1 1 auto; min-height: 0; }

/* Die Deckelung verhindert, dass das Bild auf hohen Fenstern ins Hochformat
   kippt — das Original ist durchgehend querformatig. Darüber hinaus bleibt
   Platz frei, deshalb werden die Karten mittig gesetzt. */
.js-hscroll-pinned .hscroll__track { height: 100%; align-items: center; }
.js-hscroll-pinned .service-card { height: 100%; max-height: 520px; }

/* Alle Textblöcke auf dieselbe Höhe bringen: Platz für zwei Titelzeilen und
   drei Beschreibungszeilen. Nur so bleiben die Bilder untereinander gleich
   hoch und die Titel bündig — sonst müsste das Bild die unterschiedlich
   langen Texte ausgleichen. Längerer Text wächst weiterhin frei, die Angabe
   ist eine Untergrenze, keine Deckelung. */
.js-hscroll-pinned .service-card__body { flex: 0 0 auto; }
.js-hscroll-pinned .service-card__body h3 { min-height: calc(2 * var(--lh-h2) * 1em); }
.js-hscroll-pinned .service-card__body p  { min-height: calc(3 * var(--lh-body) * 1em); }

/* Das Bild füllt den verbleibenden Platz — dadurch nutzt es die Fensterhöhe
   aus und kommt dem Seitenverhältnis des Originals nahe. */
.js-hscroll-pinned .service-card__media {
  flex: 1 1 auto;
  min-height: 90px;
  aspect-ratio: auto;
}

.service-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(270px, 30vw, 421px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-soft), transform var(--dur-base) var(--ease-out);
}
.service-card:hover { border-color: var(--tuerkis); }

.service-card__media {
  position: relative;
  aspect-ratio: 421 / 280;
  overflow: hidden;
  background: var(--line-soft);
}
.service-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }

.service-card__num {
  position: absolute;
  top: 0.875rem; left: 0.875rem;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 34px; height: 34px;
  padding-inline: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--anthrazit);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: clamp(1.125rem, 2vw, 1.5rem);
}
.service-card__body p { font-size: var(--fs-sm); color: var(--fg-muted); }

.hscroll__outro {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* --------------------------------------------------------------------------
   12. Warum wir
   -------------------------------------------------------------------------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 900px) { .usp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.usp {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  background: var(--anthrazit);
  overflow: hidden;
  isolation: isolate;
}
.usp::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--anthrazit-900);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-out);
}
.usp:hover::before { transform: translateY(0); }

.usp__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); }
.usp__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r-pill);
  transition: background-color var(--dur-base) var(--ease-soft);
}
.usp:hover .usp__icon { background: var(--tuerkis); }
/* Icons sind schwarz gestrichelt → auf Dunkel invertieren */
.usp__icon img { width: 22px; height: 22px; filter: invert(1) brightness(1.8); }

.usp__num {
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.4);
}
.usp h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4); }
.usp p { font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.68); }

/* --------------------------------------------------------------------------
   13. Spezialisierung
   -------------------------------------------------------------------------- */
.spec-list { display: flex; flex-direction: column; }

.spec {
  position: relative;
  display: grid;
  gap: var(--space-md);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--border);
  align-items: center;
}
.spec:last-child { border-bottom: 1px solid var(--border); }

@media (min-width: 900px) {
  .spec {
    grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 0.9fr) 9rem;
    gap: clamp(1.5rem, 3vw, 3rem);
  }
}

.spec__index {
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  color: var(--fg-subtle);
}
.spec__title { transition: color var(--dur-base) var(--ease-soft); }
.spec:hover .spec__title { color: var(--tuerkis); }
.spec__text { font-size: var(--fs-sm); color: var(--fg-muted); }
.spec__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--space-sm); }
.spec__tag {
  padding: 0.3rem 0.7rem;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  color: var(--fg-muted);
}
.spec__action { justify-self: start; }
@media (min-width: 900px) { .spec__action { justify-self: end; } }

/* Bild folgt dem Cursor */
.spec__preview {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 3;
  width: 320px;
  aspect-ratio: 4 / 3;
  margin: -120px 0 0 -160px;
  border-radius: var(--r-md);
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  will-change: transform;
  box-shadow: var(--shadow-lg);
}
.spec__preview img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) and (hover: hover) and (pointer: fine) {
  .spec:hover .spec__preview { opacity: 1; transform: scale(1); }
}
@media (max-width: 999px), (hover: none) {
  .spec__preview {
    position: relative;
    top: auto; left: auto;
    width: 100%;
    margin: 0;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }
}

/* --------------------------------------------------------------------------
   14. Kontakt
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 5vw, 5rem); }
}

.contact-info { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-row { display: flex; align-items: flex-start; gap: var(--space-sm); }
.contact-row__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.contact-row__icon img { width: 18px; height: 18px; }
.contact-row__label { font-size: var(--fs-xs); color: var(--fg-subtle); }
.contact-row__value { font-size: var(--fs-lead); font-weight: 500; }
.contact-row__value a:hover { color: var(--tuerkis-text); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.form-row { display: grid; gap: var(--space-md); }
@media (min-width: 620px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); font-weight: 500; }
.field .req { color: var(--tuerkis-text); }
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: var(--fs-body);
  transition: border-color var(--dur-fast) var(--ease-soft), background-color var(--dur-fast) var(--ease-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: var(--grau); }
.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--tuerkis);
  box-shadow: 0 0 0 3px rgba(66, 153, 171, 0.16);
}
.field .error {
  font-size: var(--fs-xs);
  color: #C0392B;
  min-height: 1em;
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: #C0392B; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-sm);
  color: var(--fg-muted);
}
.consent input {
  width: 24px; height: 24px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--tuerkis);
}
/* Das Label ist per for= mit der Box verbunden und vergrößert das Ziel */
.consent label { cursor: pointer; }
.consent a { color: var(--tuerkis-text); text-decoration: underline; text-underline-offset: 2px; }

/* Honigtopf gegen Bots. Bewusst aus dem Sichtfeld geschoben statt
   display:none — Letzteres überspringen viele Bots gezielt. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  font-size: var(--fs-sm);
  min-height: 1.5em;
}
.form-status[data-state="ok"]  { color: var(--tuerkis-dark); }
.form-status[data-state="err"] { color: #C0392B; }

/* --------------------------------------------------------------------------
   15. CTA-Band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(4rem, 8vw, 7rem);
  background: var(--anthrazit);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.cta-band__inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: var(--space-md); }
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band p { max-width: 46ch; color: rgba(255, 255, 255, 0.72); font-size: var(--fs-lead); }
.cta-band__glow {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 1;
  width: min(120vw, 1100px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(66, 153, 171, 0.35) 0%, rgba(66, 153, 171, 0) 62%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3rem, 6vw, 5rem);
  background: var(--anthrazit-950);
  color: rgba(255, 255, 255, 0.72);
}
.footer-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(2rem, 4vw, 4rem); } }

.footer-brand img { width: 190px; margin-bottom: var(--space-md); }
.footer-brand p { max-width: 30ch; font-size: var(--fs-sm); }
.footer-brand .btn { margin-top: var(--space-md); }

.footer-col__title {
  margin-bottom: var(--space-sm);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.footer-col li + li { margin-top: 0.6rem; }
.footer-col a, .footer-col li { font-size: var(--fs-sm); }
.footer-col a:hover { color: var(--tuerkis); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--fs-xs);
}
.footer-bottom nav { display: flex; gap: var(--space-md); }
.footer-bottom a:hover { color: var(--tuerkis); }

/* Der Footer endet mit .footer-bottom. Das dekorative Linienmuster
   (assets/img/brand/logo-large.png) wurde bewusst entfernt — es lief als
   rund 470px hoher grauer Block unter dem Footer aus. */

/* --------------------------------------------------------------------------
   17. Unterseiten
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(46vh, 60vh, 70vh);
  padding-block: calc(var(--space-2xl) + 3rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--anthrazit-950);
  color: var(--white);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10, 23, 25, 0.72) 0%, rgba(10, 23, 25, 0.32) 45%, rgba(10, 23, 25, 0.86) 100%);
}
.page-hero__inner { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { color: var(--white); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.62);
}
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { opacity: 0.5; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--space-md); }
.prose p, .prose li { color: var(--fg-muted); font-size: var(--fs-lead); }
.prose h2 { margin-top: var(--space-xl); }
.prose h3 { margin-top: var(--space-lg); font-size: var(--fs-h4); }
.prose strong { color: var(--fg); font-weight: 500; }
.prose a { color: var(--tuerkis-text); text-decoration: underline; text-underline-offset: 2px; }
.prose ul { display: flex; flex-direction: column; gap: 0.75rem; }
.prose ul li {
  position: relative;
  padding-left: 1.75rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 8px; height: 8px;
  background: var(--tuerkis);
  border-radius: 50%;
}

.detail-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) {
  .detail-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: clamp(3rem, 5vw, 5rem); }
  .detail-aside { position: sticky; top: 7rem; }
}
.detail-aside {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.detail-aside h3 { font-size: var(--fs-h4); }
.detail-aside p { font-size: var(--fs-sm); color: var(--fg-muted); }

.detail-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--line-soft);
}
.detail-figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Nachbar-Leistungen */
.next-grid { display: grid; gap: var(--space-md); }
@media (min-width: 760px) { .next-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.next-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-soft);
}
.next-card:hover { border-color: var(--tuerkis); }
.next-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--line-soft); }
.next-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.next-card:hover .next-card__media img { transform: scale(1.06); }
.next-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: var(--space-md); }
/* Karte der aktuell geöffneten Seite.
   Bewusst über filter und nicht über opacity abgesetzt: der Reveal-Tween
   schreibt opacity als Inline-Style und würde eine CSS-Regel überstimmen. */
.next-card--current {
  filter: grayscale(1);
  border-style: dashed;
  border-color: var(--grau);
}
.next-card--current:hover { border-color: var(--grau); }
.next-card--current:hover .next-card__media img { transform: none; }
.next-card--current .next-card__body::before {
  content: "Aktuelle Seite";
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  color: var(--fg-muted);
}

/* Rechtstexte */
.legal { max-width: 76ch; }
.legal h2 { margin-top: var(--space-xl); font-size: var(--fs-h3); }
.legal h3 { margin-top: var(--space-lg); font-size: var(--fs-h4); }
.legal h4 { margin-top: var(--space-md); font-size: var(--fs-body); line-height: var(--lh-h4); }
.legal > * + * { margin-top: var(--space-sm); }
.legal p, .legal li { color: var(--fg-muted); }
.legal ul { display: flex; flex-direction: column; gap: 0.5rem; padding-left: 1.25rem; list-style: disc; }
.legal a { color: var(--tuerkis-text); text-decoration: underline; text-underline-offset: 2px; }
.legal address { font-style: normal; color: var(--fg-muted); }

/* --------------------------------------------------------------------------
   18. Scroll-Reveal (JS-gesteuert, ohne JS immer sichtbar)
   -------------------------------------------------------------------------- */
.js-anim [data-reveal],
.js-anim [data-split] { opacity: 0; }
.js-anim [data-reveal="up"]   { transform: translateY(24px); }
.js-anim [data-reveal="fade"] { transform: none; }

/* Zeilenweiser Text-Reveal */
.line-mask { display: block; overflow: hidden; }
.line-mask__inner { display: block; }
.js-anim .line-mask__inner { transform: translateY(105%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js-anim [data-reveal],
  .js-anim .line-mask__inner { opacity: 1 !important; transform: none !important; }
  .cursor { display: none !important; }
  .marquee__track { transform: none !important; }
}

/* --------------------------------------------------------------------------
   19. Tap-Ziele auf Touch-Geräten
   Listen- und Footer-Links stehen für sich und brauchen 44px Höhe.
   Fließtext-Links (.prose, .legal) sind bewusst ausgenommen — sie stehen
   innerhalb von Sätzen, wo WCAG die Mindestgröße nicht fordert.
   -------------------------------------------------------------------------- */
@media (pointer: coarse) {
  .footer-col a,
  .footer-bottom a,
  .mobile-nav__foot a,
  .contact-row__value a,
  .breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-col li + li { margin-top: 0; }
  .footer-bottom nav { gap: var(--space-lg); }
}

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
.stack-lg > * + * { margin-top: var(--space-lg); }
.text-center { text-align: center; }
.mt-xl { margin-top: var(--space-xl); }
.center-row { display: flex; justify-content: center; }

@media print {
  .site-header, .cursor, .scroll-progress, .mobile-nav { display: none !important; }
  body { color: #000; }
}
