/* ==========================================================================
   Schmauder Kranservice – Demo-Version 2
   Ein Stylesheet, gegliedert in Cascade Layers:
   tokens → base → layout → components → pages → motion
   Farben in OKLCH, Abstände im 4-px-Raster, Bewegung mit Feder-Kurven.
   ========================================================================== */

@layer tokens, base, layout, components, pages, motion, utilities;

/* --- Schrift: Mona Sans (SIL OFL 1.1), lokal ---------------------------- */
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/mona-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Mona Sans";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   TOKENS
   ========================================================================== */
@layer tokens {
  :root {
    /* Graphit-Skala (leicht blau) */
    --ink-950: oklch(14% 0.012 255);
    --ink-900: oklch(17.5% 0.014 255);
    --ink-850: oklch(20.5% 0.015 255);
    --ink-800: oklch(23.5% 0.016 255);
    --ink-700: oklch(29% 0.016 255);
    --ink-600: oklch(37% 0.015 255);
    --ink-500: oklch(47% 0.014 255);
    --ink-400: oklch(58% 0.012 255);
    --ink-300: oklch(70% 0.01 255);
    --ink-200: oklch(84% 0.008 255);
    --ink-100: oklch(92% 0.006 250);
    --paper:   oklch(98.4% 0.003 250);
    --paper-2: oklch(96.3% 0.005 250);
    --paper-3: oklch(93.6% 0.007 250);
    --weiss:   oklch(100% 0 0);

    /* Signalorange – Aktionen, Haken, aktive Zustände */
    --signal:      oklch(72% 0.175 52);
    --signal-hell: oklch(77% 0.16 58);
    --signal-tief: oklch(64% 0.18 46);
    --signal-text: oklch(52% 0.165 44);

    /* Status im Kranfinder */
    --ok:      oklch(58% 0.13 152);
    --ok-hell: oklch(72% 0.14 152);
    --warn:    oklch(72% 0.15 75);
    --fehler:  oklch(55% 0.19 27);

    /* Semantik – hell (Standard) */
    --surface: var(--paper);
    --surface-2: var(--paper-2);
    --surface-raised: var(--weiss);
    --border: oklch(89.5% 0.007 250);
    --border-strong: oklch(80% 0.009 250);
    --text: var(--ink-900);
    --text-muted: oklch(42% 0.014 255);
    --text-faint: oklch(52% 0.012 255);
    --fokus: var(--signal-tief);
    --w-body: 360;

    /* Typografie */
    --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --fs-display: clamp(2.6rem, 1.35rem + 5.4vw, 6.5rem);
    --fs-h1: clamp(2.4rem, 1.45rem + 3.9vw, 5rem);
    --fs-h2: clamp(2rem, 1.3rem + 2.7vw, 3.6rem);
    --fs-h3: clamp(1.25rem, 1.1rem + 0.55vw, 1.6rem);
    --fs-lead: clamp(1.125rem, 1.04rem + 0.38vw, 1.375rem);
    --fs-body: 1.0625rem;
    --fs-sm: 0.9375rem;
    --fs-xs: 0.8125rem;
    --fs-zahl: clamp(2.5rem, 1.7rem + 3.2vw, 4.75rem);

    /* Abstände – 4-px-Raster */
    --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
    --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;
    --rand: clamp(1rem, 0.4rem + 2.6vw, 3rem);
    --sektion: clamp(4.5rem, 2.8rem + 6vw, 8rem);
    --max: 80rem;               /* 1280 px */
    --kopf-h: 4.5rem;

    /* Radien */
    --r-s: 0.625rem; --r-m: 1rem; --r-l: 1.5rem; --r-pill: 999px;

    /* Bewegung – Federn als linear() (stiffness 420 / damping 32 bzw. 170 / 22) */
    --feder: linear(0, 0.0244 2.9%, 0.0863 5.9%, 0.1712 8.8%, 0.2682 11.8%, 0.369 14.7%, 0.468 17.6%, 0.561 20.6%, 0.6457 23.5%, 0.7207 26.5%, 0.7854 29.4%, 0.8402 32.4%, 0.8855 35.3%, 0.9222 38.2%, 0.9511 41.2%, 0.9735 44.1%, 0.9901 47.1%, 1.0022 50%, 1.0104 52.9%, 1.0156 55.9%, 1.0185 58.8%, 1.0197 61.8%, 1.0196 64.7%, 1.0186 67.6%, 1.017 70.6%, 1.0152 73.5%, 1.0132 76.5%, 1.0112 79.4%, 1.0094 82.4%, 1.0076 85.3%, 1.0061 88.2%, 1.0047 91.2%, 1.0035 94.1%, 1.0026 97.1%, 1);
    --feder-dauer: 390ms;
    --feder-weich: linear(0, 0.0247 2.9%, 0.0865 5.9%, 0.1702 8.8%, 0.2647 11.8%, 0.362 14.7%, 0.4567 17.6%, 0.5454 20.6%, 0.6258 23.5%, 0.6969 26.5%, 0.7586 29.4%, 0.8111 32.4%, 0.855 35.3%, 0.8912 38.2%, 0.9204 41.2%, 0.9436 44.1%, 0.9618 47.1%, 0.9758 50%, 0.9862 52.9%, 0.9939 55.9%, 0.9993 58.8%, 1.0029 61.8%, 1.0052 64.7%, 1.0065 67.6%, 1.0071 70.6%, 1.0071 73.5%, 1.0069 76.5%, 1.0063 79.4%, 1.0057 82.4%, 1.005 85.3%, 1.0043 88.2%, 1.0036 91.2%, 1.003 94.1%, 1.0025 97.1%, 1);
    --feder-weich-dauer: 620ms;
    --aus: cubic-bezier(0.22, 1, 0.36, 1);
  }

  /* Dunkle Flächen: gleiche Komponenten, andere Werte. Flächen werden beim Stapeln heller. */
  .ton-dunkel {
    --surface: var(--ink-900);
    --surface-2: var(--ink-850);
    --surface-raised: var(--ink-800);
    --border: oklch(100% 0 0 / 0.1);
    --border-strong: oklch(100% 0 0 / 0.2);
    --text: oklch(97% 0.004 250);
    --text-muted: oklch(80% 0.01 250);
    --text-faint: oklch(68% 0.012 250);
    --fokus: var(--signal);
    --w-body: 340;
    color: var(--text);
    background: var(--surface);
  }
}

/* ==========================================================================
   BASE
   ========================================================================== */
@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--kopf-h) + var(--s5));
    hanging-punctuation: first;
  }
  body {
    min-height: 100svh;
    font-family: var(--font);
    font-size: var(--fs-body);
    font-weight: var(--w-body);
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
  }
  img, picture, svg, video { display: block; max-width: 100%; }
  img { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; padding: 0; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
  h1, h2, h3, h4 {
    font-weight: 650;
    font-stretch: 108%;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-wrap: balance;
  }
  p, li, dd { text-wrap: pretty; }
  strong, b { font-weight: 640; }
  address { font-style: normal; }
  fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
  legend { padding: 0; }
  ::selection { background: var(--signal); color: var(--ink-950); }

  :focus-visible {
    outline: 2px solid var(--fokus);
    outline-offset: 2px;
    border-radius: 4px;
  }

  .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;
  }
  .skip {
    position: fixed; left: var(--s4); top: var(--s4); z-index: 100;
    padding: var(--s3) var(--s4); border-radius: var(--r-s);
    background: var(--ink-950); color: var(--weiss); font-weight: 620;
    transform: translateY(-200%);
  }
  .skip:focus-visible { transform: none; }
  .honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
@layer layout {
  .container {
    width: min(100% - 2 * var(--rand), var(--max));
    margin-inline: auto;
  }
  .sektion { padding-block: var(--sektion); }
  .sektion--eng { padding-block: calc(var(--sektion) * 0.6); }
  .sektion--grau { background: var(--surface-2); }
  .sektion--anschluss { padding-top: 0; }

  main { display: block; }
  main[data-kopf-abstand] { padding-top: var(--kopf-h); }

  /* Sektionskopf: Titel links, Text rechts */
  .kopfzeile {
    display: grid;
    gap: var(--s5) var(--s7);
    margin-bottom: clamp(var(--s7), 5vw, var(--s8));
  }
  @media (min-width: 56rem) {
    .kopfzeile { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; }
  }
  .kopfzeile__aktion { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
@layer components {

  /* --- Typografie-Bausteine -------------------------------------------- */
  .display {
    font-size: var(--fs-display);
    font-weight: 660;
    font-stretch: 112%;
    line-height: 1;
    letter-spacing: -0.04em;
  }
  .h1 { font-size: var(--fs-h1); font-weight: 660; font-stretch: 110%; line-height: 1.02; letter-spacing: -0.037em; }
  .h2 { font-size: var(--fs-h2); font-weight: 650; font-stretch: 108%; line-height: 1.05; letter-spacing: -0.032em; }
  .h3 { font-size: var(--fs-h3); font-weight: 630; font-stretch: 106%; line-height: 1.2; letter-spacing: -0.015em; }
  .leise { color: var(--text-faint); }
  .lead {
    font-size: var(--fs-lead);
    font-weight: 320;
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 52ch;
  }
  .ton-dunkel .lead { font-weight: 300; }
  .marke-zeile {
    display: inline-flex; align-items: center; gap: var(--s2);
    font-size: var(--fs-sm); font-weight: 560; letter-spacing: 0.01em;
    color: var(--text-muted);
  }
  .marke-zeile::before {
    content: ""; width: 1.25rem; height: 2px; border-radius: 2px; background: var(--signal);
  }
  .text { max-width: 65ch; color: var(--text-muted); }
  .text > * + * { margin-top: var(--s4); }
  .zahl { }

  /* --- Buttons --------------------------------------------------------- */
  .btn {
    --btn-h: 3rem;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.625rem;
    min-height: var(--btn-h);
    padding: 0 1.375rem;
    border-radius: var(--r-pill);
    border: 1px solid transparent;
    font-size: 1rem; font-weight: 620; font-stretch: 104%; letter-spacing: -0.005em;
    line-height: 1; white-space: nowrap; text-decoration: none;
    cursor: pointer; user-select: none;
    transition:
      transform var(--feder-dauer) var(--feder),
      background-color 180ms var(--aus),
      border-color 180ms var(--aus),
      color 180ms var(--aus);
  }
  .btn .icon { width: 1.25rem; height: 1.25rem; flex: none; transition: transform var(--feder-dauer) var(--feder); }
  .btn:active:not(:disabled) { transform: scale(0.97); }
  .btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
  .btn--klein { --btn-h: 2.5rem; padding: 0 1rem; font-size: var(--fs-sm); }
  .btn--gross { --btn-h: 3.5rem; padding: 0 1.75rem; font-size: 1.0625rem; }

  .btn--signal { background: var(--signal); color: var(--ink-950); }
  .btn--dunkel { background: var(--ink-900); color: var(--paper); }
  .btn--hell { background: var(--weiss); color: var(--ink-950); }
  .btn--kontur { border-color: var(--border-strong); color: var(--text); background: transparent; }
  .btn--foto {
    border-color: oklch(100% 0 0 / 0.32); color: var(--weiss);
    background: oklch(100% 0 0 / 0.08);
    backdrop-filter: blur(10px);
  }
  @media (hover: hover) {
    .btn:hover { transform: translateY(-1px); }
    .btn:hover .icon[data-pfeil] { transform: translateX(3px); }
    .btn--signal:hover { background: var(--signal-hell); }
    .btn--dunkel:hover { background: var(--ink-700); }
    .btn--hell:hover { background: var(--paper-3); }
    .btn--kontur:hover { border-color: var(--text); background: var(--surface-2); }
    .btn--foto:hover { background: oklch(100% 0 0 / 0.16); border-color: oklch(100% 0 0 / 0.5); }
  }
  .btn:focus-visible { outline-offset: 3px; border-radius: var(--r-pill); }

  /* Textlink mit Pfeil */
  .pfeil-link {
    display: inline-flex; align-items: center; gap: var(--s2);
    min-height: 2.75rem;
    font-weight: 620; font-stretch: 104%; text-decoration: none;
    color: var(--text);
  }
  .pfeil-link .icon { width: 1.25rem; height: 1.25rem; transition: transform var(--feder-dauer) var(--feder); }
  .pfeil-link span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size 300ms var(--aus); }
  @media (hover: hover) {
    .pfeil-link:hover .icon { transform: translateX(4px); }
    .pfeil-link:hover span { background-size: 0 1px; background-position: 100% 100%; }
  }

  .icon { width: 1.25rem; height: 1.25rem; flex: none; }

  /* --- Marke ------------------------------------------------------------ */
  .marke {
    display: inline-flex; align-items: center; gap: var(--s3);
    text-decoration: none; color: inherit; min-height: 2.75rem;
  }
  .marke__zeichen { width: 2rem; height: 2rem; flex: none; }
  .marke__text { display: grid; line-height: 1.05; }
  .marke__text strong { font-size: 1.0625rem; font-weight: 720; font-stretch: 112%; letter-spacing: -0.02em; }
  .marke__text span { font-size: 0.75rem; font-weight: 480; letter-spacing: 0.02em; opacity: 0.72; }

  /* --- Kopfzeile -------------------------------------------------------- */
  .kopf {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--kopf-h);
    color: var(--text);
    background: oklch(98.4% 0.003 250 / 0.86);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    transition:
      transform var(--feder-weich-dauer) var(--feder-weich),
      background-color 260ms var(--aus),
      border-color 260ms var(--aus),
      color 260ms var(--aus);
    view-transition-name: kopf;
  }
  .kopf[data-ton="transparent"]:not(.is-fest) {
    color: var(--weiss);
    background: transparent;
    border-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .kopf.is-weg { transform: translateY(-100%); }
  .kopf__innen { height: 100%; display: flex; align-items: center; gap: var(--s5); }
  .kopf__nav { margin-left: auto; display: none; }
  .kopf__nav ul { display: flex; gap: var(--s1); list-style: none; padding: 0; }
  .kopf__nav a {
    display: inline-flex; align-items: center; gap: var(--s2);
    min-height: 2.5rem; padding: 0 0.875rem; border-radius: var(--r-pill);
    font-size: var(--fs-sm); font-weight: 520; text-decoration: none;
    transition: background-color 160ms var(--aus), opacity 160ms;
  }
  .kopf__nav a:hover { background: oklch(50% 0.01 255 / 0.1); }
  .kopf__nav a[aria-current="page"] { font-weight: 660; background: oklch(50% 0.01 255 / 0.1); }
  .kopf__zahl {
    display: inline-grid; place-items: center;
    min-width: 1.25rem; height: 1.25rem; padding: 0 0.25rem; border-radius: var(--r-pill);
    background: var(--signal); color: var(--ink-950);
    font-size: 0.6875rem; font-weight: 700; line-height: 1;
  }
  .kopf__aktion { display: flex; align-items: center; gap: var(--s2); margin-left: auto; }
  .kopf__tel {
    display: inline-flex; align-items: center; gap: var(--s2);
    min-height: 2.75rem; padding: 0 var(--s3); border-radius: var(--r-pill);
    font-weight: 640; text-decoration: none; white-space: nowrap;
    transition: background-color 160ms var(--aus);
  }
  .kopf__tel:hover { background: oklch(50% 0.01 255 / 0.1); }
  .kopf__tel .icon { color: var(--signal); }
  .kopf__cta { display: none; }
  .kopf__menu {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--r-pill);
    transition: background-color 160ms, transform var(--feder-dauer) var(--feder);
  }
  .kopf__menu:hover { background: oklch(50% 0.01 255 / 0.12); }
  .kopf__menu:active { transform: scale(0.94); }
  .kopf__menu .icon { width: 1.5rem; height: 1.5rem; }
  @media (max-width: 29.99rem) {
    .kopf__tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .kopf__tel { width: 2.75rem; padding: 0; justify-content: center; }
    .kopf__tel .icon { width: 1.375rem; height: 1.375rem; }
  }
  @media (min-width: 64rem) {
    .kopf__nav { display: block; }
    .kopf__aktion { margin-left: var(--s3); }
    .kopf__cta { display: inline-flex; }
    .kopf__menu { display: none; }
  }

  /* --- Mobiles Menü ----------------------------------------------------- */
  .menu {
    position: fixed; inset: 0;
    width: 100%; max-width: none; height: 100dvh; max-height: none;
    margin: 0; padding: 0 0 calc(var(--s6) + env(safe-area-inset-bottom)); border: 0;
    background: var(--ink-950); color: var(--weiss);
    overflow-y: auto;
  }
  .menu[open] { display: flex; flex-direction: column; animation: menu-auf 380ms var(--aus) both; }
  .menu.is-zu { animation: menu-zu 220ms var(--aus) both; }
  .menu::backdrop { background: transparent; }
  .menu__kopf { height: var(--kopf-h); display: flex; align-items: center; justify-content: space-between; }
  .menu__zu {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: var(--r-pill);
    transition: background-color 160ms, transform var(--feder-dauer) var(--feder);
  }
  .menu__zu:hover { background: oklch(100% 0 0 / 0.1); }
  .menu__zu:active { transform: scale(0.94); }
  .menu__zu .icon { width: 1.5rem; height: 1.5rem; }
  .menu__nav { flex: 1; padding-block: var(--s6); }
  .menu__nav ul { list-style: none; padding: 0; display: grid; gap: var(--s1); }
  .menu__nav a {
    display: block; padding: var(--s2) 0;
    font-size: clamp(2rem, 9vw, 3rem); font-weight: 640; font-stretch: 110%; letter-spacing: -0.035em; line-height: 1.1;
    text-decoration: none; color: oklch(100% 0 0 / 0.86);
  }
  .menu__nav a[aria-current="page"] { color: var(--signal); }
  .menu[open] .menu__nav li { animation: menu-punkt 560ms var(--feder-weich) both; animation-delay: calc(60ms + var(--i, 0) * 45ms); }
  .menu__fuss { display: grid; gap: var(--s4); justify-items: start; }
  .menu__mail { color: oklch(100% 0 0 / 0.72); }
  @keyframes menu-auf { from { opacity: 0; transform: translateY(-12px); } }
  @keyframes menu-zu { to { opacity: 0; transform: translateY(-8px); } }
  @keyframes menu-punkt { from { opacity: 0; transform: translateY(18px); } }
  html.menu-offen { overflow: hidden; }

  /* --- Daumenleiste (Handy) -------------------------------------------- */
  .daumen {
    position: fixed; z-index: 40;
    inset-inline: var(--s3); bottom: calc(var(--s3) + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--s2);
    padding: var(--s2); border-radius: var(--r-pill);
    background: oklch(14% 0.012 255 / 0.9);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid oklch(100% 0 0 / 0.1);
    transform: translateY(calc(100% + 2rem));
    visibility: hidden;
    transition: transform var(--feder-weich-dauer) var(--feder-weich), visibility 0s linear var(--feder-weich-dauer);
  }
  .daumen.is-da { transform: none; visibility: visible; transition: transform var(--feder-weich-dauer) var(--feder-weich), visibility 0s; }
  .daumen .btn--dunkel { background: oklch(100% 0 0 / 0.1); color: var(--weiss); }
  .daumen .icon { color: var(--signal); }
  @media (min-width: 48rem) { .daumen { display: none; } }

  /* --- Brotkrumen ------------------------------------------------------- */
  .krumen ol { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; font-size: var(--fs-xs); color: var(--text-faint); }
  .krumen li + li::before { content: "/"; margin-right: var(--s2); opacity: 0.6; }
  .krumen a { text-decoration: none; }
  .krumen a:hover { color: var(--text); text-decoration: underline; }

  /* --- Bild-Rahmen ------------------------------------------------------ */
  .rahmen { position: relative; overflow: hidden; border-radius: var(--r-l); background: var(--ink-800); isolation: isolate; }
  .rahmen picture, .rahmen img { width: 100%; height: 100%; }
  .rahmen img { object-fit: cover; }

  /* --- Status-Chip ------------------------------------------------------ */
  .status {
    display: inline-flex; align-items: center; gap: 0.375rem;
    min-height: 1.75rem; padding: 0 0.625rem 0 0.5rem; border-radius: var(--r-pill);
    font-size: var(--fs-xs); font-weight: 600; line-height: 1; white-space: nowrap;
    background: var(--surface-2); color: var(--text-muted);
    border: 1px solid var(--border);
  }
  .status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
  .status[data-status="ja"] { color: var(--ok); border-color: color-mix(in oklch, var(--ok) 35%, transparent); background: color-mix(in oklch, var(--ok) 10%, transparent); }
  .status[data-status="pruefen"] { color: var(--signal-text); border-color: color-mix(in oklch, var(--signal) 40%, transparent); background: color-mix(in oklch, var(--signal) 10%, transparent); }
  .ton-dunkel .status[data-status="ja"] { color: var(--ok-hell); }
  .ton-dunkel .status[data-status="pruefen"] { color: var(--signal-hell); }

  /* --- Kran-Skizze ------------------------------------------------------ */
  .kran-svg { display: block; width: 100%; height: auto; overflow: visible; color: var(--text-faint); }
  .kran-svg path { fill: none; stroke: currentColor; stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
  .kran-svg .k-fach { stroke-width: 0.75; opacity: 0.55; }
  .kran-svg .k-seil { stroke-width: 0.75; opacity: 0.75; }
  .kran-svg .k-boden { opacity: 0.4; stroke-dasharray: 2 4; }
  .kran-svg .k-haken { stroke: var(--signal); stroke-width: 1.5; }
  .kran-svg .k-mass path { stroke: var(--signal-text); stroke-width: 1; }
  .kran-svg .k-mass .k-hilf { stroke-dasharray: 3 4; opacity: 0.6; }
  .ton-dunkel .kran-svg .k-mass path { stroke: var(--signal); }
  .kran-svg text { fill: var(--text); font-family: var(--font); font-size: 1.45px; font-weight: 620; font-stretch: 106%; }

  /* --- Kran-Karte ------------------------------------------------------- */
  .kran-karte {
    position: relative;
    display: flex; flex-direction: column; gap: var(--s5);
    padding: var(--s5);
    border-radius: var(--r-l);
    background: var(--surface-raised);
    border: 1px solid var(--border);
    color: inherit; text-decoration: none;
    transition:
      transform var(--feder-dauer) var(--feder),
      border-color 200ms var(--aus),
      opacity 300ms var(--aus),
      filter 300ms var(--aus);
  }
  @media (hover: hover) {
    .kran-karte:hover { transform: translateY(-4px); border-color: var(--border-strong); }
    .kran-karte:hover .kran-karte__pfeil { background: var(--signal); color: var(--ink-950); border-color: var(--signal); }
    .kran-karte:hover .kran-karte__pfeil .icon { transform: translateX(2px); }
    .kran-karte:hover .kran-svg { color: var(--text-muted); }
  }
  .kran-karte:active { transform: scale(0.98); }
  .kran-karte__kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); }
  .kran-karte__hersteller { display: block; font-size: var(--fs-xs); font-weight: 520; color: var(--text-faint); margin-bottom: var(--s1); }
  .kran-karte__modell {
    display: block; width: fit-content;
    font-size: clamp(1.75rem, 1.45rem + 0.9vw, 2.25rem);
    font-weight: 720; font-stretch: 118%; letter-spacing: -0.035em; line-height: 1; white-space: nowrap;
  }
  .kran-karte__variante { display: block; margin-top: var(--s1); font-size: var(--fs-xs); color: var(--text-faint); }
  .kran-karte__pfeil {
    display: inline-grid; place-items: center; flex: none;
    width: 2.5rem; height: 2.5rem; border-radius: 50%;
    border: 1px solid var(--border-strong);
    transition: background-color 200ms var(--aus), color 200ms, border-color 200ms;
  }
  .kran-karte__pfeil .icon { width: 1.125rem; height: 1.125rem; transition: transform var(--feder-dauer) var(--feder); }
  .kran-karte__skizze { margin-inline: calc(var(--s2) * -1); }
  .kran-karte__skizze .kran-svg { transition: color 200ms; }
  .kran-karte__werte { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s3); padding-top: var(--s4); border-top: 1px solid var(--border); }
  .kran-karte__werte dt { font-size: var(--fs-xs); color: var(--text-faint); line-height: 1.3; }
  .kran-karte__werte dd { font-size: 1.125rem; font-weight: 640; font-stretch: 106%; letter-spacing: -0.01em; }
  .kran-karte__status { margin-top: calc(var(--s2) * -1); align-self: flex-start; }
  .kran-karte[data-status="nein"] { opacity: 0.42; filter: saturate(0); }
  .kran-karte[data-status="nein"]:hover { opacity: 0.8; }

  /* --- Schiene (horizontal scrollen) ----------------------------------- */
  .schiene { position: relative; }
  .schiene__liste {
    --einzug: max(var(--rand), (100vw - var(--max)) / 2);
    display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 20rem);
    gap: var(--s4);
    margin: 0; padding: var(--s2) var(--einzug) var(--s5);
    list-style: none;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--einzug);
    scrollbar-width: none;
  }
  .schiene__liste::-webkit-scrollbar { display: none; }
  .schiene__liste > li { scroll-snap-align: start; display: grid; }
  .schiene__steuer { display: none; gap: var(--s2); }
  .schiene__btn {
    display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
    border: 1px solid var(--border-strong); color: var(--text);
    transition: background-color 180ms, border-color 180ms, opacity 180ms, transform var(--feder-dauer) var(--feder);
  }
  .schiene__btn:hover:not(:disabled) { border-color: var(--text); background: var(--surface-raised); }
  .schiene__btn:active:not(:disabled) { transform: scale(0.94); }
  .schiene__btn:disabled { opacity: 0.3; cursor: default; }
  .js .schiene__steuer { display: flex; }

  /* --- FAQ -------------------------------------------------------------- */
  .faq { border-top: 1px solid var(--border); }
  .faq__item { border-bottom: 1px solid var(--border); }
  .faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
    padding: var(--s5) 0; cursor: pointer; list-style: none;
    border-radius: var(--r-s);
  }
  .faq__item summary::-webkit-details-marker { display: none; }
  .faq__frage { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); font-weight: 600; font-stretch: 104%; letter-spacing: -0.01em; line-height: 1.35; }
  .faq__icon {
    display: inline-grid; place-items: center; flex: none;
    width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--border-strong);
    transition: transform var(--feder-dauer) var(--feder), background-color 200ms, color 200ms, border-color 200ms;
  }
  .faq__icon .icon { width: 1.125rem; height: 1.125rem; }
  .faq__item summary:hover .faq__icon { border-color: var(--text); }
  .faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--text); color: var(--surface); border-color: var(--text); }
  .faq__antwort { padding: 0 3.5rem var(--s5) 0; max-width: 70ch; color: var(--text-muted); }
  .faq__item[open] .faq__antwort { animation: faq-auf 420ms var(--aus) both; }
  @keyframes faq-auf { from { opacity: 0; transform: translateY(-6px); } }

  /* --- Formulare -------------------------------------------------------- */
  .formular { display: grid; gap: var(--s5); }
  .formular__raster { display: grid; gap: var(--s5) var(--s4); }
  @media (min-width: 40rem) {
    .formular__raster { grid-template-columns: 1fr 1fr; }
    .feld--voll, .formular__raster > fieldset { grid-column: 1 / -1; }
  }
  .formular fieldset { border: 0; padding: 0; min-width: 0; }
  .formular legend { padding: 0; margin-bottom: var(--s3); font-size: var(--fs-sm); font-weight: 620; }
  .feld { display: grid; gap: var(--s2); align-content: start; }
  .feld > label { font-size: var(--fs-sm); font-weight: 600; }
  .feld__opt { font-weight: 400; color: var(--text-faint); }
  .feld__hinweis { font-size: var(--fs-xs); color: var(--text-faint); }
  .feld__fehler { font-size: var(--fs-sm); font-weight: 560; color: var(--fehler); }
  .eingabe {
    width: 100%; min-height: 3.25rem;
    padding: 0.8125rem 1rem;
    border: 1px solid var(--border-strong); border-radius: var(--r-s);
    background: var(--surface-raised); color: var(--text);
    font-size: 1rem; font-weight: 400; line-height: 1.4;
    transition: border-color 160ms var(--aus), box-shadow 160ms var(--aus);
    appearance: none;
  }
  textarea.eingabe { resize: vertical; min-height: 8rem; }
  .eingabe::placeholder { color: var(--text-faint); opacity: 1; }
  .eingabe:hover { border-color: var(--ink-400); }
  .eingabe:focus-visible { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in oklch, var(--signal) 35%, transparent); }
  .eingabe[aria-invalid="true"] { border-color: var(--fehler); }
  .eingabe:disabled { opacity: 0.55; cursor: not-allowed; }
  .auswahl { position: relative; }
  .auswahl .eingabe { padding-right: 2.75rem; cursor: pointer; }
  .auswahl__icon { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; width: 1.125rem; height: 1.125rem; pointer-events: none; color: var(--text-faint); }

  /* Chips (Radio/Checkbox als Pillen) */
  .chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
  .chip { position: relative; }
  .chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
  .chip span {
    display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem;
    border-radius: var(--r-pill); border: 1px solid var(--border-strong);
    font-size: var(--fs-sm); font-weight: 540; background: var(--surface-raised);
    transition: background-color 160ms, color 160ms, border-color 160ms, transform var(--feder-dauer) var(--feder);
  }
  .chip input:hover + span { border-color: var(--text); }
  .chip input:active + span { transform: scale(0.97); }
  .chip input:checked + span { background: var(--text); color: var(--surface); border-color: var(--text); }
  .chip input:focus-visible + span { outline: 2px solid var(--fokus); outline-offset: 2px; }

  .haken-feld { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); cursor: pointer; }
  .haken-feld input { width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; accent-color: var(--signal-tief); flex: none; }
  .formular__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); }
  .formular__info { font-size: var(--fs-xs); color: var(--text-faint); max-width: 46ch; }
  .formular__info a { color: inherit; }
  .formular__fehler {
    padding: var(--s4) var(--s5); border-radius: var(--r-m);
    background: color-mix(in oklch, var(--fehler) 9%, transparent); color: var(--fehler); font-weight: 560;
  }
  .btn[aria-busy="true"] { pointer-events: none; opacity: 0.75; }

  .erfolg {
    display: flex; gap: var(--s4); align-items: flex-start;
    padding: var(--s5); border-radius: var(--r-l);
    background: color-mix(in oklch, var(--ok) 9%, var(--surface-raised));
    border: 1px solid color-mix(in oklch, var(--ok) 30%, transparent);
    animation: erfolg 520ms var(--feder-weich) both;
  }
  .erfolg:focus { outline: none; }
  .erfolg__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ok); color: var(--weiss); flex: none; }
  .erfolg h3 { font-size: 1.25rem; margin-bottom: var(--s1); }
  .erfolg p { color: var(--text-muted); }
  .erfolg__demo { margin-top: var(--s2); font-size: var(--fs-xs); }
  @keyframes erfolg { from { opacity: 0; transform: translateY(10px) scale(0.98); } }

  /* --- Schieberegler (Kranfinder) -------------------------------------- */
  .regler { display: grid; gap: var(--s3); }
  .regler__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
  .regler__kopf label { font-size: var(--fs-sm); font-weight: 600; }
  .regler__wert { font-size: 1.375rem; font-weight: 700; font-stretch: 112%; letter-spacing: -0.02em; }
  .regler__wert[data-leer] { font-size: var(--fs-sm); font-weight: 500; color: var(--text-faint); letter-spacing: 0; }
  .regler input[type="range"] {
    --anteil: 0%;
    width: 100%; height: 2.75rem; margin: 0; background: transparent; cursor: pointer;
    appearance: none; -webkit-appearance: none;
  }
  .regler input[type="range"]::-webkit-slider-runnable-track {
    height: 0.375rem; border-radius: var(--r-pill);
    background: linear-gradient(to right, var(--signal) var(--anteil), var(--border-strong) var(--anteil));
  }
  .regler input[type="range"]::-moz-range-track { height: 0.375rem; border-radius: var(--r-pill); background: var(--border-strong); }
  .regler input[type="range"]::-moz-range-progress { height: 0.375rem; border-radius: var(--r-pill); background: var(--signal); }
  .regler input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 1.625rem; height: 1.625rem; margin-top: -0.625rem; border-radius: 50%;
    background: var(--weiss); border: 0; box-shadow: 0 0 0 1px oklch(0% 0 0 / 0.12), 0 2px 8px oklch(0% 0 0 / 0.25);
    transition: transform var(--feder-dauer) var(--feder);
  }
  .regler input[type="range"]::-moz-range-thumb {
    width: 1.625rem; height: 1.625rem; border-radius: 50%; border: 0;
    background: var(--weiss); box-shadow: 0 0 0 1px oklch(0% 0 0 / 0.12), 0 2px 8px oklch(0% 0 0 / 0.25);
  }
  .regler input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
  .regler input[type="range"]:focus-visible { outline: none; }
  .regler input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--fokus); }
  .regler input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--fokus); }
  .regler__skala { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--text-faint); margin-top: calc(var(--s2) * -1); }

  /* --- Sektion: Abschluss mit Foto ------------------------------------- */
  .schluss {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(34rem, 82vh, 48rem);
    display: grid; align-items: end;
    color: var(--weiss); background: var(--ink-950);
  }
  .schluss__bild { position: absolute; inset: 0; z-index: -2; }
  .schluss__bild img { width: 100%; height: 100%; object-fit: cover; }
  .schluss::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(to top, oklch(14% 0.012 255 / 0.92) 0%, oklch(14% 0.012 255 / 0.55) 45%, oklch(14% 0.012 255 / 0.1) 100%);
  }
  .schluss__innen { padding-block: var(--sektion) clamp(var(--s7), 6vw, var(--s9)); display: grid; gap: var(--s6); }
  @media (min-width: 64rem) { .schluss__innen { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
  .schluss__titel { max-width: 16ch; }
  .schluss__text { color: oklch(100% 0 0 / 0.8); font-weight: 300; font-size: var(--fs-lead); max-width: 40ch; margin-top: var(--s4); }
  .schluss__aktion { display: grid; gap: var(--s4); justify-items: start; }
  .schluss__tel {
    display: inline-flex; align-items: center; gap: var(--s3);
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 680; font-stretch: 112%; letter-spacing: -0.03em;
    text-decoration: none; line-height: 1.1;
  }
  .schluss__tel .icon { width: 0.8em; height: 0.8em; color: var(--signal); }
  .schluss__tel span { background: linear-gradient(var(--signal), var(--signal)) 0 100% / 0 2px no-repeat; transition: background-size 360ms var(--aus); }
  .schluss__tel:hover span { background-size: 100% 2px; }

  /* --- Seitenkopf (Unterseiten) ---------------------------------------- */
  .seitenkopf { padding-top: calc(var(--kopf-h) + clamp(var(--s6), 4vw, var(--s8))); padding-bottom: clamp(var(--s7), 5vw, var(--s9)); }
  .seitenkopf__raster { display: grid; gap: var(--s7); align-items: end; }
  @media (min-width: 64rem) { .seitenkopf__raster--bild { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
  .seitenkopf__text { display: grid; gap: var(--s5); justify-items: start; }
  .seitenkopf__text .krumen { margin-bottom: var(--s2); }
  .seitenkopf__bild { aspect-ratio: 4 / 3; }
  .seitenkopf__aktion { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }

  /* --- Seitenfuß -------------------------------------------------------- */
  .fuss { padding-block: clamp(var(--s8), 8vw, var(--s9)) var(--s6); background: var(--ink-950); }
  .fuss a { text-decoration: none; }
  .fuss__oben { display: grid; gap: var(--s6); padding-bottom: clamp(var(--s7), 5vw, var(--s8)); border-bottom: 1px solid var(--border); }
  @media (min-width: 56rem) { .fuss__oben { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }
  .fuss__claim {
    font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem); font-weight: 640; font-stretch: 108%;
    letter-spacing: -0.035em; line-height: 1.06; max-width: 20ch; text-wrap: balance;
  }
  .fuss__claim span { color: var(--text-faint); }
  .fuss__kontakt { display: grid; gap: var(--s2); justify-items: start; }
  @media (min-width: 56rem) { .fuss__kontakt { justify-items: end; } }
  .fuss__tel {
    display: inline-flex; align-items: center; gap: var(--s3);
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); font-weight: 680; font-stretch: 110%; letter-spacing: -0.03em; line-height: 1.2;
  }
  .fuss__tel .icon { width: 0.8em; height: 0.8em; color: var(--signal); }
  .fuss__mail { color: var(--text-muted); min-height: 2.75rem; display: inline-flex; align-items: center; }
  .fuss__mail:hover, .fuss__tel:hover span { color: var(--signal-hell); }
  .fuss__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s7) var(--s5); padding-block: clamp(var(--s7), 5vw, var(--s8)); }
  @media (min-width: 56rem) { .fuss__raster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .fuss__titel { font-size: var(--fs-xs); font-weight: 600; font-stretch: 100%; letter-spacing: 0.01em; color: var(--text-faint); margin-bottom: var(--s4); }
  .fuss address, .fuss ul { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; }
  .fuss ul { list-style: none; padding: 0; display: grid; gap: var(--s1); }
  .fuss ul a { display: inline-block; padding-block: var(--s1); color: var(--text-muted); transition: color 160ms; }
  .fuss ul a:hover { color: var(--text); }
  .fuss__downloads span { display: block; font-size: var(--fs-xs); color: var(--text-faint); }
  .fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); padding-top: var(--s5); border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--text-faint); }
  .fuss__unten ul { display: flex; gap: var(--s5); font-size: var(--fs-xs); }
  @media (max-width: 47.99rem) { .fuss { padding-bottom: calc(var(--s6) + 5rem); } }

  /* --- Fließtext (Recht) ------------------------------------------------ */
  .prosa { max-width: 70ch; }
  .prosa h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin: var(--s7) 0 var(--s3); }
  .prosa h2:first-child { margin-top: 0; }
  .prosa p, .prosa ul, .prosa address { color: var(--text-muted); margin-bottom: var(--s4); }
  .prosa ul { padding-left: 1.25rem; }
  .prosa li + li { margin-top: var(--s2); }
  .prosa a { color: var(--text); }

  /* --- Liste mit Häkchen ------------------------------------------------ */
  .haken-liste { list-style: none; padding: 0; display: grid; gap: var(--s3); }
  .haken-liste li { display: grid; grid-template-columns: 1.25rem 1fr; gap: var(--s3); color: var(--text-muted); }
  .haken-liste li::before {
    content: ""; width: 1.25rem; height: 1.25rem; margin-top: 0.2em; border-radius: 50%;
    background: color-mix(in oklch, var(--signal) 18%, transparent)
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4531c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 0.75rem no-repeat;
  }

  /* --- Hinweis-Box ------------------------------------------------------ */
  .hinweis {
    display: grid; gap: var(--s2);
    padding: var(--s5); border-radius: var(--r-l);
    background: var(--surface-2); border: 1px solid var(--border);
  }
  .hinweis h3 { font-size: 1.125rem; }
  .hinweis p { color: var(--text-muted); font-size: var(--fs-sm); }
}

/* ==========================================================================
   PAGES – Bausteine einzelner Seiten
   ========================================================================== */
@layer pages {

  /* --- Hero (Start) ----------------------------------------------------- */
  .hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: max(40rem, 100svh);
    display: grid; align-items: end;
    color: var(--weiss); background: var(--ink-950);
  }
  .hero__bild { position: absolute; inset: 0; z-index: -2; }
  .hero__bild picture, .schluss__bild picture { width: 100%; height: 100%; }
  .hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
      linear-gradient(to top, oklch(14% 0.012 255 / 0.94) 0%, oklch(14% 0.012 255 / 0.6) 38%, oklch(14% 0.012 255 / 0.05) 70%),
      linear-gradient(to right, oklch(14% 0.012 255 / 0.55), transparent 60%);
  }
  @media (max-width: 47.99rem) {
    .hero::before { background: linear-gradient(to top, oklch(14% 0.012 255 / 0.96) 0%, oklch(14% 0.012 255 / 0.84) 55%, oklch(14% 0.012 255 / 0.55) 100%); }
  }
  .hero__innen {
    display: grid; gap: var(--s7);
    padding-top: calc(var(--kopf-h) + var(--s8));
    padding-bottom: clamp(var(--s6), 4vw, var(--s8));
  }
  @media (min-width: 64rem) {
    .hero__innen { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: var(--s8); }
  }
  .hero__text { display: grid; gap: var(--s5); justify-items: start; }
  .hero__ort { font-size: var(--fs-sm); font-weight: 520; color: oklch(100% 0 0 / 0.78); display: inline-flex; align-items: center; gap: var(--s2); }
  .hero__ort::before { content: ""; width: 1.25rem; height: 2px; background: var(--signal); border-radius: 2px; }
  .hero__titel { max-width: 12ch; }
  .hero__titel span {
    display: block; max-width: 22ch; margin-top: 0.3em;
    font-size: 0.46em; font-weight: 560; letter-spacing: -0.03em; line-height: 1.1;
    color: oklch(100% 0 0 / 0.66);
  }
  .hero__lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.5; color: oklch(100% 0 0 / 0.84); max-width: 44ch; }
  .hero__aktion { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }

  /* Schnell-Finder im Hero */
  .schnellfinder {
    display: grid; gap: var(--s4);
    padding: var(--s5);
    border-radius: var(--r-l);
    background: oklch(17.5% 0.014 255 / 0.78);
    border: 1px solid oklch(100% 0 0 / 0.12);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
  }
  .schnellfinder__titel { font-size: 1.25rem; font-weight: 650; font-stretch: 108%; }
  .schnellfinder__text { font-size: var(--fs-sm); color: var(--text-muted); margin-top: calc(var(--s3) * -1); }
  .schnellfinder__felder { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .einheit { position: relative; }
  .einheit .eingabe { padding-right: 2.75rem; font-weight: 600; font-size: 1.125rem; }
  .einheit__e { position: absolute; right: 1rem; top: 50%; translate: 0 -50%; font-size: var(--fs-sm); color: var(--text-faint); pointer-events: none; }
  .schnellfinder .eingabe { background: oklch(100% 0 0 / 0.06); }
  .schnellfinder__ergebnis { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); flex-wrap: wrap; }
  .schnellfinder__zahl { font-size: var(--fs-sm); color: var(--text-muted); }
  .schnellfinder__zahl strong { color: var(--text); font-size: 1.125rem; }

  /* --- Kennzahlen ------------------------------------------------------- */
  .zahlen__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; }
  @media (min-width: 56rem) { .zahlen__liste { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .zahlen__item { padding: clamp(var(--s5), 3vw, var(--s7)) var(--s4) clamp(var(--s5), 3vw, var(--s7)) 0; border-bottom: 1px solid var(--border); }
  @media (min-width: 56rem) {
    .zahlen__item { border-bottom: 0; padding-left: var(--s5); border-left: 1px solid var(--border); }
    .zahlen__item:first-child { border-left: 0; padding-left: 0; }
  }
  .zahlen__wert {
    display: block;
    font-size: var(--fs-zahl); font-weight: 680; font-stretch: 116%; letter-spacing: -0.045em; line-height: 1;
   
  }
  .zahlen__wert small { font-size: 0.38em; font-weight: 600; letter-spacing: -0.01em; margin-left: 0.15em; color: var(--text-muted); }
  .zahlen__text { display: block; margin-top: var(--s3); font-size: var(--fs-sm); color: var(--text-muted); }

  /* --- Leistungen (Liste mit Bild) ------------------------------------- */
  .leistungen__raster { display: grid; gap: var(--s7); }
  @media (min-width: 64rem) { .leistungen__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; } }
  .leistungen__medien { display: none; }
  @media (min-width: 64rem) {
    .leistungen__medien { display: block; position: sticky; top: calc(var(--kopf-h) + var(--s5)); aspect-ratio: 4 / 5; }
    .leistungen__medien picture { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 520ms var(--aus), transform 900ms var(--aus); }
    .leistungen__medien picture.is-aktiv { opacity: 1; transform: none; }
    .leistungen__medien figcaption {
      position: absolute; left: var(--s4); bottom: var(--s4); z-index: 2;
      padding: var(--s2) var(--s4); border-radius: var(--r-pill);
      background: oklch(14% 0.012 255 / 0.7); color: var(--weiss);
      backdrop-filter: blur(10px); font-size: var(--fs-sm); font-weight: 560;
    }
  }
  .leistungen__liste { list-style: none; padding: 0; border-top: 1px solid var(--border); }
  .leistung {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s4) var(--s5); align-items: center;
    padding: var(--s5) 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none; color: inherit;
  }
  .leistung__daumen { width: 4.5rem; height: 4.5rem; border-radius: var(--r-m); overflow: hidden; background: var(--ink-800); }
  .leistung__daumen img { width: 100%; height: 100%; object-fit: cover; }
  @media (min-width: 64rem) {
    .leistung { grid-template-columns: minmax(0, 1fr) auto; padding: var(--s6) 0; }
    .leistung__daumen { display: none; }
  }
  .leistung__inhalt { display: grid; gap: var(--s2); transition: transform var(--feder-weich-dauer) var(--feder-weich); }
  .leistung__titel { font-size: var(--fs-h3); font-weight: 640; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.15; }
  .leistung__satz { color: var(--text-muted); max-width: 54ch; font-size: var(--fs-sm); }
  @media (min-width: 40rem) { .leistung__satz { font-size: var(--fs-body); } }
  .leistung__pfeil {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
    border: 1px solid var(--border-strong);
    transition: background-color 200ms var(--aus), border-color 200ms, color 200ms, transform var(--feder-dauer) var(--feder);
  }
  .leistung__pfeil .icon { width: 1.125rem; height: 1.125rem; }
  @media (hover: hover) {
    .leistung:hover .leistung__inhalt, .leistung.is-aktiv .leistung__inhalt { transform: translateX(6px); }
    .leistung:hover .leistung__pfeil, .leistung.is-aktiv .leistung__pfeil { background: var(--signal); border-color: var(--signal); color: var(--ink-950); }
  }
  .leistung:active .leistung__pfeil { transform: scale(0.94); }
  .leistung:focus-visible { outline-offset: 4px; border-radius: var(--r-s); }

  /* --- Mietpark-Teaser -------------------------------------------------- */
  .mietpark-teaser .kopfzeile__aktion { justify-content: flex-start; }
  @media (min-width: 56rem) { .mietpark-teaser .kopfzeile__aktion { justify-content: flex-end; } }
  .mietpark-teaser__fuss { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; justify-content: space-between; }
  .mietpark-teaser__hinweis { font-size: var(--fs-sm); color: var(--text-faint); max-width: 60ch; }

  /* --- Ablauf ----------------------------------------------------------- */
  .ablauf { display: grid; gap: var(--s7); }
  @media (min-width: 64rem) { .ablauf { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s9); align-items: center; } }
  .ablauf__bild { aspect-ratio: 16 / 11; }
  @media (min-width: 64rem) { .ablauf__bild { aspect-ratio: 4 / 5; } }
  .ablauf__text { display: grid; gap: var(--s6); }
  .schritte { list-style: none; padding: 0; counter-reset: schritt; }
  .schritt { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-top: 1px solid var(--border); counter-increment: schritt; }
  .schritt:last-child { border-bottom: 1px solid var(--border); }
  .schritt::before {
    content: counter(schritt);
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
    border: 1px solid var(--border-strong);
    font-size: var(--fs-sm); font-weight: 680;
  }
  .schritt h3 { font-size: 1.1875rem; font-weight: 640; margin-bottom: var(--s1); padding-top: 0.375rem; }
  .schritt p { color: var(--text-muted); }

  /* --- Feature mit halbem Foto ----------------------------------------- */
  .feature { display: grid; background: var(--surface-2); }
  @media (min-width: 64rem) { .feature { grid-template-columns: 1fr 1fr; min-height: 40rem; } }
  .feature__bild { position: relative; min-height: 22rem; overflow: hidden; background: var(--ink-800); }
  .feature__bild picture, .feature__bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .feature__bild img { object-fit: cover; }
  .feature__text {
    display: grid; gap: var(--s5); align-content: center; justify-items: start;
    padding: var(--sektion) var(--rand);
  }
  @media (min-width: 64rem) { .feature__text { padding-inline: var(--s9) max(var(--rand), (100vw - var(--max)) / 2); } }

  .dauer { display: grid; gap: var(--s4); width: 100%; max-width: 32rem; margin-block: var(--s2); }
  .dauer__zeile { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s4); align-items: center; }
  .dauer__wert { font-size: 1.75rem; font-weight: 700; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1; }
  .dauer__wert small { font-size: 0.5em; font-weight: 560; color: var(--text-muted); letter-spacing: 0; margin-left: 0.2em; }
  .dauer__balken { position: relative; height: 0.625rem; border-radius: var(--r-pill); background: var(--border); overflow: hidden; }
  .dauer__fuell { position: absolute; inset: 0; border-radius: inherit; background: var(--text); transform-origin: left center; transform: scaleX(var(--anteil, 1)); }
  .dauer__name { grid-column: 2; font-size: var(--fs-sm); color: var(--text-muted); margin-top: calc(var(--s3) * -1); }

  /* --- Zitat / Über uns ------------------------------------------------- */
  .zitat { display: grid; gap: var(--s7); }
  @media (min-width: 64rem) { .zitat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s9); align-items: end; } }
  .zitat blockquote p {
    font-size: clamp(2rem, 1.2rem + 3.2vw, 4.25rem); font-weight: 620; font-stretch: 108%;
    letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance;
  }
  .zitat blockquote p::before { content: "„"; color: var(--signal); }
  .zitat blockquote p::after { content: "“"; color: var(--signal); }
  .zitat figcaption { margin-top: var(--s5); font-size: var(--fs-sm); color: var(--text-muted); }
  .zitat figcaption strong { color: var(--text); }
  .zitat__text { display: grid; gap: var(--s5); justify-items: start; }

  /* --- Stellen ---------------------------------------------------------- */
  .stellen { list-style: none; padding: 0; display: grid; gap: var(--s3); }
  .stelle {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s4); align-items: center;
    padding: var(--s5) var(--s5) var(--s5) var(--s6);
    border-radius: var(--r-l); background: var(--surface-raised); border: 1px solid var(--border);
    text-decoration: none; color: inherit;
    transition: transform var(--feder-dauer) var(--feder), border-color 200ms;
  }
  .stelle:hover { transform: translateY(-3px); border-color: var(--border-strong); }
  .stelle:active { transform: scale(0.985); }
  .stelle h3 { font-size: var(--fs-h3); }
  .stelle p { margin-top: var(--s1); font-size: var(--fs-sm); color: var(--text-muted); }
  .stelle .kran-karte__pfeil { width: 3rem; height: 3rem; }
  .stelle:hover .kran-karte__pfeil { background: var(--signal); border-color: var(--signal); color: var(--ink-950); }

  /* --- Mietpark: Finder + Ergebnis ------------------------------------- */
  .finder-raster { display: grid; gap: var(--s6); }
  @media (min-width: 64rem) { .finder-raster { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s7); align-items: start; } }
  .finder {
    display: grid; gap: var(--s6);
    padding: var(--s5);
    border-radius: var(--r-l);
    background: var(--surface-raised); border: 1px solid var(--border);
  }
  @media (min-width: 64rem) { .finder { position: sticky; top: calc(var(--kopf-h) + var(--s5)); padding: var(--s6); } }
  .finder__titel { font-size: 1.375rem; font-weight: 650; }
  .finder__text { font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--s2); }
  .finder .chip input:not(:checked) + span { background: transparent; }
  .finder__fuss { display: flex; gap: var(--s3); flex-wrap: wrap; }
  .js .finder__senden { display: none; }
  .ergebnis__kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); }
  .ergebnis__zahl { font-size: 1.125rem; color: var(--text-muted); }
  .ergebnis__zahl strong { color: var(--text); font-size: 1.5rem; font-weight: 700; }
  .ergebnis__legende { display: flex; flex-wrap: wrap; gap: var(--s2); }
  .ergebnis__liste { list-style: none; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 14.5rem), 1fr)); }
  .ergebnis__liste > li { display: grid; }
  .ergebnis__hinweis { margin-top: var(--s5); font-size: var(--fs-sm); color: var(--text-faint); max-width: 70ch; }

  /* --- Mietpark: Tabelle ------------------------------------------------ */
  .tabelle-wrap { overflow-x: auto; border-radius: var(--r-l); border: 1px solid var(--border); background: var(--surface-raised); }
  .tabelle { width: 100%; border-collapse: collapse; min-width: 44rem; }
  .tabelle caption { text-align: left; padding: var(--s4) var(--s5); font-size: var(--fs-sm); color: var(--text-faint); caption-side: bottom; border-top: 1px solid var(--border); }
  .tabelle th, .tabelle td { padding: var(--s4) var(--s5); text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
  .tabelle thead th { font-size: var(--fs-xs); font-weight: 600; color: var(--text-faint); background: var(--surface-2); }
  .tabelle tbody th { font-weight: 680; font-stretch: 110%; position: sticky; left: 0; background: var(--surface-raised); }
  .tabelle tbody th a { text-decoration: none; }
  .tabelle tbody th a:hover { text-decoration: underline; }
  .tabelle tbody tr:last-child > * { border-bottom: 0; }
  .tabelle tbody tr:hover > * { background: var(--surface-2); }
  .reichweite { display: grid; grid-template-columns: 3.25rem 1fr; gap: var(--s3); align-items: center; min-width: 14rem; }
  .reichweite__balken { height: 0.375rem; border-radius: var(--r-pill); background: var(--border); position: relative; overflow: hidden; }
  .reichweite__balken i { position: absolute; inset: 0; border-radius: inherit; background: var(--signal); transform-origin: left; transform: scaleX(var(--anteil)); }

  /* --- Zubehör ---------------------------------------------------------- */
  .zubehoer { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); list-style: none; padding: 0; }
  @media (min-width: 56rem) { .zubehoer { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .zubehoer li { padding: var(--s5); border-radius: var(--r-l); background: var(--surface-raised); border: 1px solid var(--border); }
  .zubehoer strong { display: block; font-size: 1.125rem; font-weight: 640; }
  .zubehoer span { font-size: var(--fs-sm); color: var(--text-muted); }

  /* --- Kran-Detail ------------------------------------------------------ */
  .kran-kopf__raster { display: grid; gap: var(--s7); }
  @media (min-width: 64rem) { .kran-kopf__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: var(--s8); } }
  .kran-kopf__modell {
    font-size: clamp(4rem, 2rem + 8vw, 9rem); font-weight: 720; font-stretch: 120%;
    letter-spacing: -0.055em; line-height: 0.92; width: fit-content; white-space: nowrap;
  }
  .kran-kopf__hersteller { font-size: var(--fs-lead); font-weight: 520; color: var(--text-muted); }
  .kran-kopf__skizze { padding: clamp(var(--s4), 3vw, var(--s7)); border-radius: var(--r-l); background: var(--surface-2); border: 1px solid var(--border); }
  .kran-kopf__skizze figcaption { margin-top: var(--s4); font-size: var(--fs-xs); color: var(--text-faint); }
  .varianten { display: inline-flex; gap: var(--s1); padding: var(--s1); border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); }
  .varianten button {
    min-height: 2.5rem; padding: 0 var(--s4); border-radius: var(--r-pill);
    font-size: var(--fs-sm); font-weight: 600; color: var(--text-muted);
    transition: background-color 180ms, color 180ms, transform var(--feder-dauer) var(--feder);
  }
  .varianten button:active { transform: scale(0.97); }
  .varianten button[aria-selected="true"] { background: var(--surface-raised); color: var(--text); box-shadow: 0 0 0 1px var(--border-strong); }
  .werte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); list-style: none; padding: 0; }
  @media (min-width: 56rem) { .werte { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  .werte > div { padding: var(--s5); border-radius: var(--r-l); background: var(--surface-raised); border: 1px solid var(--border); display: grid; gap: var(--s2); align-content: start; }
  .werte dt { font-size: var(--fs-sm); color: var(--text-muted); }
  .werte dd { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); font-weight: 700; font-stretch: 114%; letter-spacing: -0.04em; line-height: 1; }
  .werte dd small { font-size: 0.45em; font-weight: 600; color: var(--text-muted); letter-spacing: 0; margin-left: 0.15em; }
  .werte__erkl { grid-column: 1 / -1; font-size: var(--fs-sm); color: var(--text-faint); }
  .datenblatt { display: grid; gap: var(--s3); }
  .datenblatt + .datenblatt { margin-top: var(--s7); }
  .datenblatt__titel { font-size: 1.25rem; }
  .datenblatt:focus-visible { outline-offset: 6px; border-radius: var(--r-l); }
  @media (min-width: 64rem) {
    .datenblatt { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .datenblatt__titel { grid-column: 1 / -1; }
  }
  .werte.werte--datenblatt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .werte--datenblatt > div { align-content: space-between; min-height: 9rem; }
  .begriffe { display: grid; gap: var(--s4); }
  @media (min-width: 56rem) { .begriffe { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .begriffe > div { padding: clamp(var(--s5), 3vw, var(--s6)); border-radius: var(--r-l); background: var(--surface-raised); border: 1px solid var(--border); }
  .begriffe dt { font-size: var(--fs-h3); font-weight: 640; font-stretch: 106%; letter-spacing: -0.015em; margin-bottom: var(--s3); }
  .begriffe dd { color: var(--text-muted); }
  .einordnung { list-style: none; padding: 0; display: grid; gap: var(--s1); }
  .einordnung a {
    display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) 3.5rem; gap: var(--s4); align-items: center;
    padding: var(--s2) var(--s3); border-radius: var(--r-s); text-decoration: none;
    font-size: var(--fs-sm); color: var(--text-muted);
    transition: background-color 160ms;
  }
  .einordnung a:hover { background: var(--surface-2); color: var(--text); }
  .einordnung a[aria-current="page"] { color: var(--text); font-weight: 680; background: var(--surface-2); }
  .einordnung .reichweite__balken i { background: var(--ink-300); }
  .einordnung a[aria-current="page"] .reichweite__balken i { background: var(--signal); }
  .nachbarn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .nachbarn a {
    display: grid; gap: var(--s1); padding: var(--s5); border-radius: var(--r-l); border: 1px solid var(--border);
    text-decoration: none; transition: border-color 200ms, transform var(--feder-dauer) var(--feder);
  }
  .nachbarn a:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  .nachbarn a:last-child { text-align: right; }
  .nachbarn span { font-size: var(--fs-xs); color: var(--text-faint); }
  .nachbarn strong { font-size: 1.375rem; font-stretch: 114%; font-weight: 700; letter-spacing: -0.03em; }

  /* --- Leistungen-Seite ------------------------------------------------- */
  .sprung {
    position: sticky; top: var(--kopf-h); z-index: 20;
    background: oklch(98.4% 0.003 250 / 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: top var(--feder-weich-dauer) var(--feder-weich);
  }
  .kopf.is-weg ~ main .sprung, body:has(.kopf.is-weg) .sprung { top: 0; }
  .sprung ul { display: flex; gap: var(--s1); list-style: none; padding: var(--s2) 0; overflow-x: auto; scrollbar-width: none; }
  .sprung ul::-webkit-scrollbar { display: none; }
  .sprung a {
    display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 var(--s4); border-radius: var(--r-pill);
    font-size: var(--fs-sm); font-weight: 540; text-decoration: none; white-space: nowrap; color: var(--text-muted);
    transition: background-color 160ms, color 160ms;
  }
  .sprung a:hover { background: var(--surface-2); color: var(--text); }
  .sprung a[aria-current="true"] { background: var(--text); color: var(--surface); }
  .angebot { display: grid; gap: var(--s6); padding-block: clamp(var(--s7), 6vw, var(--s9)); border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--kopf-h) + 3.5rem); }
  .angebot:last-of-type { border-bottom: 0; }
  @media (min-width: 64rem) {
    .angebot { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s9); align-items: center; }
    .angebot:nth-of-type(even) .angebot__bild { order: 2; }
  }
  .angebot__bild { aspect-ratio: 3 / 2; }
  .angebot__text { display: grid; gap: var(--s5); justify-items: start; }
  .angebot__satz { font-size: var(--fs-lead); font-weight: 320; line-height: 1.5; color: var(--text-muted); max-width: 46ch; }
  .winter { display: block; margin-top: var(--s2); width: 100%; }
  .winter summary { list-style: none; cursor: pointer; }
  .winter summary::-webkit-details-marker { display: none; }
  .winter summary::after { content: "+"; margin-left: var(--s2); font-weight: 500; color: var(--text-faint); transition: transform var(--feder-dauer) var(--feder); }
  .winter[open] summary::after { transform: rotate(45deg); }
  .winter ol { margin-top: var(--s3); }
  .winter p { margin-top: var(--s3); }
  .winter[open] > :not(summary) { animation: faq-auf 420ms var(--aus) both; }
  .winter ol { padding-left: 1.25rem; display: grid; gap: var(--s2); font-size: var(--fs-sm); color: var(--text-muted); }
  .winter ol strong { color: var(--text); }

  .downloads { list-style: none; padding: 0; display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 24rem), 1fr)); }
  .downloads a {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--s4); align-items: center;
    padding: var(--s5); border-radius: var(--r-l); background: var(--surface-raised); border: 1px solid var(--border);
    text-decoration: none; transition: border-color 200ms, transform var(--feder-dauer) var(--feder);
  }
  .downloads a:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  .downloads a:active { transform: scale(0.985); }
  .downloads strong { display: block; font-weight: 620; line-height: 1.3; }
  .downloads span { font-size: var(--fs-xs); color: var(--text-faint); }
  .downloads .icon { color: var(--text-muted); }

  /* --- Schulung --------------------------------------------------------- */
  .kurse { display: grid; gap: var(--s4); }
  @media (min-width: 64rem) { .kurse { grid-template-columns: 1fr 1fr; } }
  .kurs { display: grid; gap: var(--s5); align-content: start; padding: clamp(var(--s5), 3vw, var(--s7)); border-radius: var(--r-l); background: var(--surface-raised); border: 1px solid var(--border); scroll-margin-top: calc(var(--kopf-h) + var(--s5)); }
  .kurs__kopf { display: flex; justify-content: space-between; gap: var(--s4); align-items: flex-start; }
  .kurs__art { font-size: var(--fs-sm); color: var(--text-muted); }
  .kurs__tage { text-align: right; font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); font-weight: 720; font-stretch: 116%; letter-spacing: -0.05em; line-height: 0.95; }
  .kurs__tage small { display: block; font-size: var(--fs-sm); font-weight: 560; letter-spacing: 0; color: var(--text-muted); }
  .kurs__spalten { display: grid; gap: var(--s5); }
  @media (min-width: 40rem) { .kurs__spalten { grid-template-columns: 1fr 1fr; } }
  .kurs h4 { font-size: var(--fs-sm); font-weight: 640; margin-bottom: var(--s3); }
  .kurs .haken-liste { font-size: var(--fs-sm); gap: var(--s2); }
  .kurs__abschluss { padding-top: var(--s4); border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--text-muted); }

  .leer {
    display: grid; gap: var(--s3); justify-items: start;
    padding: clamp(var(--s5), 3vw, var(--s7)); border-radius: var(--r-l);
    border: 1px dashed var(--border-strong); background: var(--surface);
  }
  .leer .icon { width: 2rem; height: 2rem; color: var(--signal-text); }
  .leer h3 { font-size: 1.375rem; }
  .leer p { color: var(--text-muted); max-width: 50ch; }

  .zwei-spalten { display: grid; gap: var(--s7); }
  @media (min-width: 64rem) { .zwei-spalten { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s9); align-items: start; } }
  .zwei-spalten__kopf { display: grid; gap: var(--s4); align-content: start; }
  @media (min-width: 64rem) { .zwei-spalten__kopf--sticky { position: sticky; top: calc(var(--kopf-h) + var(--s6)); } }

  /* --- Karriere --------------------------------------------------------- */
  .job { display: grid; gap: var(--s6); padding: clamp(var(--s5), 4vw, var(--s8)); border-radius: var(--r-l); background: var(--surface-raised); border: 1px solid var(--border); scroll-margin-top: calc(var(--kopf-h) + var(--s5)); }
  .job + .job { margin-top: var(--s4); }
  .job__kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s4); align-items: flex-end; }
  .job__meta { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
  .job__meta span { display: inline-flex; align-items: center; min-height: 1.875rem; padding: 0 var(--s3); border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--border); font-size: var(--fs-xs); font-weight: 560; color: var(--text-muted); }
  .job__spalten { display: grid; gap: var(--s6); }
  @media (min-width: 56rem) { .job__spalten { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .job h4 { margin-bottom: var(--s3); }
  .job .haken-liste { font-size: var(--fs-sm); }

  /* --- Kontakt ---------------------------------------------------------- */
  .kontakt-raster { display: grid; gap: var(--s7); }
  @media (min-width: 64rem) { .kontakt-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s9); align-items: start; } }
  .kontakt-wege { display: grid; gap: var(--s3); }
  .kontakt-weg {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s4); align-items: center;
    padding: var(--s5); border-radius: var(--r-l); background: var(--surface-raised); border: 1px solid var(--border);
    text-decoration: none; transition: border-color 200ms, transform var(--feder-dauer) var(--feder);
  }
  a.kontakt-weg:hover { border-color: var(--border-strong); transform: translateY(-2px); }
  a.kontakt-weg:active { transform: scale(0.985); }
  .kontakt-weg__icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--surface-2); color: var(--signal-text); }
  .kontakt-weg span { display: block; font-size: var(--fs-xs); color: var(--text-faint); }
  .kontakt-weg strong { display: block; font-size: 1.125rem; font-weight: 640; overflow-wrap: anywhere; }
  .kontakt-weg--gross strong { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-stretch: 110%; letter-spacing: -0.02em; }
  .karte-panel { padding: clamp(var(--s5), 3vw, var(--s7)); border-radius: var(--r-l); background: var(--surface-raised); border: 1px solid var(--border); }

  /* --- 404 -------------------------------------------------------------- */
  .nichts { min-height: 80svh; display: grid; align-items: center; padding-top: var(--kopf-h); }
  .nichts__zahl { font-size: clamp(6rem, 3rem + 14vw, 14rem); font-weight: 760; font-stretch: 125%; letter-spacing: -0.06em; line-height: 0.9; color: var(--text-faint); }
}

/* ==========================================================================
   MOTION
   ========================================================================== */
@layer motion {
  /* Auftritt beim Laden (Hero) – nur mit JS-Klasse, damit ohne JS alles sichtbar ist */
  .js [data-auftritt] { animation: auftritt 900ms var(--feder-weich) both; animation-delay: calc(120ms + var(--i, 0) * 80ms); }
  .js .hero__bild img { animation: bild-auftritt 1800ms var(--aus) both; }
  @keyframes auftritt { from { opacity: 0; transform: translateY(24px); } }
  @keyframes bild-auftritt { from { opacity: 0; transform: scale(1.06); } }

  /* Einblenden beim Scrollen */
  .js [data-reveal] {
    opacity: 0; transform: translateY(20px);
    transition:
      opacity 640ms var(--aus) calc(var(--i, 0) * 70ms),
      transform var(--feder-weich-dauer) var(--feder-weich) calc(var(--i, 0) * 70ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="bild"] { transform: none; }
  .js [data-reveal="bild"] img { transform: scale(1.08); transition: transform 1400ms var(--aus); }
  .js [data-reveal="bild"].is-in img { transform: none; }
  .js [data-reveal] .dauer__fuell { transform: scaleX(0); transition: transform 1100ms var(--aus) 250ms; }
  .js [data-reveal].is-in .dauer__fuell { transform: scaleX(var(--anteil, 1)); }

  /* Seitenwechsel – View Transitions */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-raus 180ms var(--aus) both; }
  ::view-transition-new(root) { animation: vt-rein 420ms var(--aus) both; }
  ::view-transition-group(kran-titel) { animation-duration: 520ms; animation-timing-function: var(--feder-weich); }
  ::view-transition-group(*) { animation-duration: 420ms; }
  @keyframes vt-raus { to { opacity: 0; } }
  @keyframes vt-rein { from { opacity: 0; transform: translateY(10px); } }

  /* Weniger Bewegung: nur Deckkraft, keine Wege */
  @media (prefers-reduced-motion: reduce) {
    .js [data-auftritt] { animation-name: nur-blende; animation-duration: 400ms; }
    .js .hero__bild img { animation: none; }
    .js [data-reveal], .js [data-reveal="bild"] img { transform: none; transition: opacity 400ms ease; }
    .js [data-reveal] .dauer__fuell { transform: scaleX(var(--anteil, 1)); transition: none; }
    .menu[open], .menu.is-zu, .menu[open] .menu__nav li, .erfolg, .faq__item[open] .faq__antwort { animation-name: nur-blende; }
    .menu.is-zu { animation-direction: reverse; }
    .btn, .kran-karte, .stelle, .leistung__inhalt, .leistungen__medien picture { transition-property: opacity, background-color, border-color, color; }
    .btn:active, .kran-karte:active, .stelle:active { transform: none; }
    ::view-transition-group(*), ::view-transition-group(kran-titel),
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    @keyframes nur-blende { from { opacity: 0; } }
  }
}

/* ==========================================================================
   UTILITIES – zuletzt, damit sie Komponenten übersteuern
   ========================================================================== */
@layer utilities {
  [hidden] { display: none; }
  .vt-aktiv .kran-karte { view-transition-name: var(--vt); }
}
