/*
 * Probus Gebäudeservice: statische Website. Aufbau und Farben wie die Startseite der App
 * (hausmeister: src/app/startseite.css, docs/startseite.md). Schriften Inter und Newsreader selbst gehostet
 * (SIL Open Font License 1.1). Ebenen: base < components; alles Ungeschichtete gibt es hier nicht.
 */
@layer base, components;

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/schriften/inter-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/schriften/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("/schriften/newsreader-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: "Newsreader";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("/schriften/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@layer base {
  :root {
    --font-inter: "Inter";
    --font-serife: "Newsreader";
    color-scheme: light;
  }
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  body {
    margin: 0;
    background: #fffefc;
  }
  img,
  svg {
    display: block;
    max-width: 100%;
  }
  :focus-visible {
    outline: 3px solid #1a56b8;
    outline-offset: 2px;
  }
  [hidden] {
    display: none !important;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

/* ---------- Übernommen aus hausmeister: src/app/startseite.css ---------- */
@layer components {
  /* ---------- Tokens ---------- */
  .startseite {
    /* Palette des Nutzers mit Zuordnung aus docs/startseite.md, „Farben“: #123226 Überschriften, Navigation und
     * dunkle Knöpfe; #2F4A3A Hover, Liniengrafik, Häkchen-Kacheln und Zweitfläche; #8B6F4E Icons und Akzente (auf
     * Sand 3,5:1, dort nur Icons und große Schrift); #E9DEC8 kräftige Fläche und Chips; #2B2B2B Fließtext. */
    --start-grund: #fffefc;
    --start-tinte: #123226;
    --start-text: #2b2b2b;
    --start-leise: #4a463f;
    --start-kraeftig: #e9dec8;
    --start-mittel: #f2ebde;
    --start-hell: #f8f5ee;
    --start-sand: #e9dec8;
    --start-zweit: #2f4a3a;
    --start-auf-zweit: #e9dec8;
    --start-grafik: #2f4a3a;
    --start-kachel: #2f4a3a;
    --start-auf-kachel: #ffffff;
    --start-akzent: #8b6f4e;
    --start-knopf-hover: #2f4a3a;
    --start-weiss: #ffffff;
    --start-linie: #e9dec8;
    --start-schatten: 0 12px 32px rgb(18 50 38 / 0.10);

    --start-rand: clamp(14px, 2.43vw, 35px);
    --start-einzug: 0px;
    --start-abstand: clamp(14px, 1.53vw, 22px);
    --start-radius: 14px;
    --start-luft: clamp(64px, 11vw, 170px);
    --start-kopf-hoehe: 64px;
    --start-breite: 1440px;
    --start-uebergang: cubic-bezier(0.215, 0.61, 0.355, 1);

    /* Gemeinsame Namen (Formular, Tailwind-Tokens) zeigen auf dieselbe Staffel. */
    --hintergrund: var(--start-grund);
    --flaeche: var(--start-weiss);
    --text: var(--start-tinte);
    --text-leise: var(--start-leise);
    --rand: var(--start-linie);
    --rand-leise: var(--start-linie);
    --gedaempft: var(--start-hell);
    --akzent: var(--start-tinte);
    --akzent-dunkel: #2f4a3a;
    --akzent-hell: var(--start-hell);
    --auf-akzent: var(--start-grund);
    /* Übrige Namen, die globals.css im Dunkelmodus umschaltet, hier fest auf ihre hellen Werte (Formular). */
    --rand-feld: #c9cdd1;
    --fehler: #a32020;
    --fehler-hell: #fbeaea;
    --fokus: #1a56b8;
    --info: #17479a;
    --info-hell: #e6eefb;
    --hinweis: #6e4a00;
    --hinweis-hell: #fbf0d5;
    --silber-linie: #c3d6ce;
    --gold-grund: #1f2328;
    --gold-rand: #1f2328;
    --gold-text: #f3f1ec;
    --gold-leise: #b9bcc0;
    --gold-linie: #c4ad72;
    --gold-trenner: #3a3f45;
    --schatten-umschalter: 0 1px 2px rgb(0 0 0 / 0.06);

    /* Immer hell (Vorgabe des Nutzers): auch bei data-theme="dark" oder System dunkel. */
    color-scheme: light;
    min-height: 100vh;
    background: var(--start-grund);
    color: var(--start-text);
    font-family: var(--font-inter), system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(15px, 1.22vw, 17.6px);
    line-height: 1.5;
  }
  @media (min-width: 60rem) {
    .startseite {
      --start-einzug: clamp(0px, 11.4vw, 164px);
      --start-kopf-hoehe: 84px;
    }
  }

  /* ---------- Grundlagen ---------- */
  /* Die Grundrücksetzung von Tailwind gilt nur unter .dash; hier das Nötige für die eigenen Abschnitte. */
  .startseite :where(*, ::before, ::after) {
    border-color: var(--start-linie);
  }
  .startseite :where(.start-kopf, section:not(#angebot), footer) :where(ul, ol) {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .startseite :where(section:not(#angebot), footer) :where(p, h1, h2, h3) {
    margin: 0;
  }
  html:has(.startseite) {
    scroll-behavior: smooth;
  }
  .startseite :where([id]) {
    scroll-margin-top: calc(var(--start-kopf-hoehe) + 12px);
  }
  .startseite main > section,
  .startseite .start-fuss {
    max-width: var(--start-breite);
    margin-inline: auto;
    padding-inline: var(--start-rand);
  }
  .startseite main > section + section {
    margin-top: var(--start-luft);
  }
  .startseite main > .start-eingerueckt {
    padding-inline: calc(var(--start-rand) + var(--start-einzug));
  }

  /* Schrift */
  .startseite :is(.start-h1, .start-h2, .start-aussage, .start-wortliste, .start-nummer, .start-kartentitel, .start-strecke-titel) {
    color: var(--start-tinte);
  }
  .startseite :is(.start-h1, .start-h2, .start-aussage, .start-wortliste, .start-nummer) {
    font-family: var(--font-serife), Georgia, "Times New Roman", serif;
    font-weight: 300;
  }
  .startseite .start-h1 {
    font-size: clamp(35px, 5.13vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }
  .startseite .start-h2 {
    font-size: clamp(29px, 3.9vw, 56px);
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-wrap: balance;
  }
  .startseite .start-aussage {
    font-size: clamp(22px, 2.81vw, 40.5px);
    line-height: 1.35;
    letter-spacing: -0.01em;
  }
  .startseite .start-kartentitel {
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 400;
    line-height: 1.3;
  }
  .startseite .start-kartentext {
    font-size: clamp(14px, 0.97vw, 15px);
    color: var(--start-leise);
  }
  .startseite .start-chip {
    display: inline-block;
    margin-bottom: 20px;
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--start-sand);
    font-size: 14px;
  }
  .startseite .start-chip-weiss {
    background: var(--start-weiss);
  }

  /* Knöpfe */
  .startseite .start-knopf {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 47px;
    padding: 12px 22px;
    border-radius: 12px;
    background: var(--start-tinte);
    color: var(--start-grund);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s var(--start-uebergang);
  }
  .startseite .start-knopf:hover {
    background: var(--start-knopf-hover);
  }
  .startseite .start-knopf-pfeil {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--start-uebergang);
  }
  .startseite .start-knopf:is(:hover, :focus-visible) .start-knopf-pfeil {
    transform: translateX(3px);
  }
  .startseite .start-textlink {
    color: var(--start-akzent);
    font-weight: 500;
    text-underline-offset: 4px;
  }

  /* Einblenden beim ersten Sichtkontakt (Effekte.tsx setzt .start-js nur ohne reduzierte Bewegung). */
  .start-js .startseite [data-einblenden] {
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity 1s cubic-bezier(0, 0, 0, 1),
      transform 1s cubic-bezier(0, 0, 0, 1);
  }
  .start-js .startseite [data-einblenden].ist-sichtbar {
    opacity: 1;
    transform: none;
  }
  /* Karten in einem Abschnitt folgen gestaffelt, sobald der Abschnitt sichtbar wird. */
  .start-js .startseite [data-einblenden] :is(.start-staffel-karte, .start-haken-raster > li) {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.9s cubic-bezier(0, 0, 0, 1) calc(0.2s + var(--n, 0) * 0.09s),
      transform 0.9s cubic-bezier(0, 0, 0, 1) calc(0.2s + var(--n, 0) * 0.09s);
  }
  .start-js .startseite [data-einblenden].ist-sichtbar :is(.start-staffel-karte, .start-haken-raster > li) {
    opacity: 1;
    transform: none;
  }
  .startseite :is(.start-staffel-karte, .start-haken-raster > li):nth-child(2) { --n: 1; }
  .startseite :is(.start-staffel-karte, .start-haken-raster > li):nth-child(3) { --n: 2; }
  .startseite :is(.start-staffel-karte, .start-haken-raster > li):nth-child(4) { --n: 3; }
  .startseite :is(.start-staffel-karte, .start-haken-raster > li):nth-child(5) { --n: 4; }
  .startseite :is(.start-staffel-karte, .start-haken-raster > li):nth-child(6) { --n: 5; }

  /* Linienzeichnungen, die sich beim ersten Sichtkontakt zeichnen (pathLength="1" an jedem Element, --i staffelt).
   * Ohne JS oder bei reduzierter Bewegung stehen sie fertig da. */
  .startseite .start-zeichnung {
    fill: none;
    stroke: var(--start-grafik);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .startseite .start-zeichnung .akzent {
    stroke: var(--start-akzent);
  }
  .start-js .startseite .start-zeichnung > * {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--i, 0) * 0.22s);
  }
  .start-js .startseite .start-zeichnung.ist-sichtbar > * {
    stroke-dashoffset: 0;
  }
  .startseite .start-weg {
    display: block;
    width: min(100%, 720px);
    margin-block: clamp(24px, 3vw, 40px);
  }
  .startseite .start-jahr {
    display: block;
    width: min(100%, 340px);
    margin-top: clamp(24px, 3vw, 40px);
  }
  .startseite .start-schluessel {
    display: block;
    width: min(100%, 360px);
    justify-self: center;
  }

  /* ---------- 1. Kopf ---------- */
  .startseite .start-kopf {
    /* top: 0, nicht --band-sichtbar: Auf der Startseite scrollt das Umgebungsband mit weg (nur im Dashboard steht es). */
    position: sticky;
    top: 0;
    z-index: 40;
    /* Deckend, damit beim Scrollen nichts durchscheint; die Linie kommt erst, wenn die Seite gescrollt ist. */
    background: var(--start-grund);
    box-shadow: 0 1px 0 transparent;
    transition: box-shadow 0.3s var(--start-uebergang);
  }
  .startseite .start-kopf.ist-gescrollt {
    box-shadow: 0 1px 0 var(--start-linie), 0 6px 20px rgb(18 50 38 / 0.06);
  }
  .startseite .start-kopf-innen {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: var(--start-breite);
    height: var(--start-kopf-hoehe);
    margin-inline: auto;
    padding-inline: var(--start-rand);
  }
  .startseite .start-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    color: var(--start-tinte);
    text-decoration: none;
  }
  .startseite .start-logo-name {
    font-family: var(--font-serife), Georgia, serif;
    font-size: clamp(22px, 1.9vw, 28px);
    font-weight: 400;
    letter-spacing: -0.02em;
  }
  .startseite .start-logo-zusatz {
    font-size: 12px;
    color: var(--start-leise);
  }
  .startseite .start-nav {
    display: none;
    margin-left: auto;
  }
  .startseite .start-nav > ul {
    display: flex;
    gap: 28px;
  }
  .startseite .start-nav > ul > li {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
  .startseite .start-nav a {
    color: var(--start-tinte);
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.3s var(--start-uebergang);
  }
  .startseite .start-nav a:hover {
    opacity: 0.65;
  }
  .startseite .start-kopf-cta {
    margin-left: auto;
    min-height: 44px;
    padding: 8px 14px;
    font-size: 14px;
  }

  /* Mega-Menü Leistungen: Hover oder Fokus im Eintrag öffnet die Fläche, ohne JS. */
  .startseite .start-mega {
    position: relative;
  }
  .startseite .start-mega-ausloeser::after {
    content: "";
    display: inline-block;
    width: 0.4em;
    height: 0.4em;
    margin-left: 0.5em;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-0.2em) rotate(45deg);
    transition: transform 0.4s ease;
  }
  .startseite .start-mega:is(:hover, :focus-within) .start-mega-ausloeser::after {
    transform: translateY(0.05em) rotate(225deg);
  }
  .startseite .start-mega-flaeche {
    position: absolute;
    top: 100%;
    left: -22px;
    width: 34rem;
    padding: 14px;
    border-radius: var(--start-radius);
    background: var(--start-weiss);
    box-shadow: var(--start-schatten);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.4s ease,
      visibility 0s linear 0.4s;
  }
  .startseite .start-mega-flaeche::before {
    content: "";
    position: absolute;
    inset: -14px 0 auto;
    height: 14px;
  }
  .startseite .start-mega:is(:hover, :focus-within) .start-mega-flaeche {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
  }
  .startseite .start-nav .start-mega-liste {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .startseite .start-nav .start-mega-liste a {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px;
    border-radius: 10px;
  }
  .startseite .start-nav .start-mega-liste a:is(:hover, :focus-visible) {
    background: var(--start-hell);
    opacity: 1;
  }
  .startseite .start-mega-titel {
    font-weight: 500;
  }
  .startseite .start-mega-text {
    font-size: 13px;
    color: var(--start-leise);
  }
  .startseite .start-nav .start-mega-fuss {
    display: block;
    margin-top: 6px;
    padding: 12px 12px 4px;
    border-top: 1px solid var(--start-linie);
    font-size: 14px;
    font-weight: 500;
  }

  /* Mobiles Menü (details/summary) */
  .startseite .start-menue-knopf {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--start-linie);
    border-radius: 12px;
    list-style: none;
    font-size: 14px;
    cursor: pointer;
  }
  .startseite .start-menue-knopf::-webkit-details-marker {
    display: none;
  }
  .startseite .start-menue-liste {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100svh - var(--start-kopf-hoehe));
    overflow-y: auto;
    background: var(--start-grund);
    box-shadow: var(--start-schatten);
  }
  .startseite .start-menue-liste > ul {
    padding: 8px var(--start-rand) 16px;
  }
  .startseite .start-menue-liste a {
    display: flex;
    align-items: center;
    min-height: 44px;
    color: var(--start-tinte);
    text-decoration: none;
  }
  .startseite .start-menue-unterliste {
    padding-left: 16px !important;
  }
  .startseite .start-menue-unterliste a {
    color: var(--start-leise);
  }
  @media (min-width: 60rem) {
    .startseite .start-nav {
      display: block;
    }
    .startseite .start-menue {
      display: none;
    }
    .startseite .start-kopf-cta {
      margin-left: 6px;
      min-height: 47px;
      padding: 12px 22px;
      font-size: 15px;
    }
  }

  /* ---------- 2. Hero (40 : 60) ---------- */
  .startseite .start-hero {
    display: grid;
    gap: var(--start-abstand);
  }
  .startseite .start-hero-links {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: var(--start-abstand);
  }
  .startseite .start-hero-karte {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    min-height: 300px;
    padding: clamp(22px, 3vw, 43px);
    border-radius: var(--start-radius);
    background: var(--start-kraeftig);
  }
  .startseite .start-hero-unterzeile {
    max-width: 30em;
    font-size: clamp(15px, 1.25vw, 18px);
  }
  .startseite .start-knopfkarte {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: clamp(76px, 6.4vw, 96px);
    padding-inline: clamp(22px, 3vw, 43px);
    border-radius: var(--start-radius);
    background: var(--start-tinte);
    color: var(--start-grund);
    font-size: clamp(18px, 1.6vw, 23px);
    text-decoration: none;
    transition: background-color 0.3s var(--start-uebergang);
  }
  .startseite .start-knopfkarte:hover {
    background: var(--start-knopf-hover);
  }
  .startseite .start-knopfkarte-pfeil {
    width: clamp(32px, 3vw, 44px);
    height: clamp(32px, 3vw, 44px);
    transition: transform 0.3s var(--start-uebergang);
  }
  .startseite .start-knopfkarte:hover .start-knopfkarte-pfeil {
    transform: translateX(4px);
  }
  .startseite .start-hero-buehne {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: var(--start-radius);
    background: var(--start-zweit);
  }
  @media (min-width: 60rem) {
    .startseite .start-hero {
      grid-template-columns: 539fr 809fr;
      min-height: clamp(460px, 37vw, 533px);
    }
  }

  /* Schematische Programmansichten (Hero und Leistungen) */
  .startseite .start-ui {
    padding: 16px;
    border-radius: var(--start-radius);
    background: var(--start-weiss);
    box-shadow: var(--start-schatten);
    font-size: 13px;
  }
  .startseite .start-ui-kopf {
    margin-bottom: 8px;
    font-weight: 500;
  }
  .startseite .start-ui-zeile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 7px;
    border-top: 1px solid var(--start-hell);
  }
  .startseite .start-ui-balken {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: var(--start-hell);
  }
  .startseite .start-ui-punkt,
  .startseite .start-ui-haken {
    flex: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--start-akzent);
  }
  .startseite .start-ui-haken {
    border-radius: 4px;
  }
  .startseite .start-ui-fotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .startseite .start-ui-fotos span {
    aspect-ratio: 1;
    border-radius: 8px;
    background: var(--start-mittel);
  }
  /* Hero-Bühne: drei Programm-Kärtchen mit Beispielinhalt, breit überlappend, schmal gestapelt */
  .startseite .start-szene {
    padding: clamp(18px, 3vw, 32px);
  }
  .startseite .start-szene-inhalt {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
  }
  .startseite .start-szene-hintergrund {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--start-auf-zweit);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.22;
  }
  @media (min-width: 60rem) {
    .startseite .start-szene-inhalt {
      position: absolute;
      inset: 0;
      display: block;
    }
    .startseite .start-szene .start-ui {
      position: absolute;
    }
    .startseite .start-ui-angebot {
      top: 8%;
      left: 6%;
      z-index: 2;
      width: 44%;
    }
    .startseite .start-ui-tour {
      top: 18%;
      right: 5%;
      z-index: 1;
      width: 42%;
    }
    .startseite .start-ui-bericht {
      bottom: 8%;
      left: 30%;
      z-index: 3;
      width: 42%;
    }
  }
  .startseite .start-szene .start-ui-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .startseite .start-szene-beispiel {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--start-sand);
    color: var(--start-tinte);
    font-size: 11px;
    font-weight: 400;
  }
  .startseite .start-szene-objekt {
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--start-leise);
  }
  .startseite .start-szene-preise {
    position: relative;
  }
  .startseite .start-szene-rechnet {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    font-size: 12px;
    color: var(--start-leise);
  }
  .startseite :is(.start-szene-preis, .start-szene-stopp) {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px;
    border-top: 1px solid var(--start-hell);
    border-radius: 6px;
  }
  .startseite .start-szene-preis b,
  .startseite .start-szene-stopp time {
    margin-left: auto;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }
  .startseite .start-szene-preis em + b {
    margin-left: 0;
  }
  /* „gewählt“ vor dem Preis, damit alle Beträge rechtsbündig untereinander stehen */
  .startseite .start-szene-preis em {
    margin-left: auto;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--start-tinte);
    color: var(--start-grund);
    font-size: 11px;
    font-style: normal;
  }
  .startseite .start-szene-preis.ist-gewaehlt {
    background: var(--start-sand);
  }
  .startseite :is(.start-szene-vertrag, .start-szene-gesendet) {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--start-tinte);
  }
  .startseite .start-szene-haken {
    width: 16px;
    height: 16px;
    padding: 2px;
    border-radius: 4px;
    background: var(--start-tinte);
    fill: none;
    stroke: var(--start-grund);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .startseite .start-szene-fotos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .startseite .start-szene-fotos span {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    background: var(--start-mittel);
  }
  .startseite .start-szene-fotos svg {
    width: 80%;
    fill: none;
    stroke: var(--start-grafik);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .startseite .start-szene-pause {
    position: absolute;
    right: 12px;
    bottom: 8px;
    z-index: 4;
    min-height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: rgb(0 0 0 / 0.18);
    color: var(--start-auf-zweit);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
  }
  .startseite .start-szene-pause[hidden] {
    display: none;
  }
  @media (max-width: 59.99rem) {
    .startseite .start-szene {
      padding-bottom: 52px;
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    .startseite .start-hero-buehne .start-ui {
      animation: start-schweben 7s ease-in-out infinite alternate;
    }
    .startseite .start-hero-buehne .start-ui-tour {
      animation-delay: -2.5s;
    }
    .startseite .start-hero-buehne .start-ui-bericht {
      animation-delay: -5s;
    }
  }
  @keyframes start-schweben {
    to {
      transform: translateY(-4px);
    }
  }

  /* ---------- 3. Laufband ---------- */
  .startseite .start-laufband {
    text-align: center;
  }
  .startseite main > .start-laufband {
    margin-top: clamp(48px, 6vw, 80px);
  }
  .startseite .start-laufband-titel {
    margin-bottom: 24px !important;
  }
  .startseite .start-laufband-fenster {
    overflow: hidden;
  }
  .startseite .start-laufband-bahn {
    display: flex;
    width: max-content;
    animation: start-laufband 32s linear infinite;
  }
  .startseite .start-laufband-spur {
    display: flex;
    gap: 40px;
    padding-right: 40px;
    font-size: 18px;
    opacity: 0.5;
    white-space: nowrap;
  }
  @keyframes start-laufband {
    to {
      transform: translateX(-50%);
    }
  }
  /* Breit: ruhige Reihe, gleich verteilt */
  @media (min-width: 60rem) {
    .startseite .start-laufband-bahn {
      width: auto;
      animation: none;
    }
    .startseite .start-laufband-spur {
      flex: 1;
      justify-content: space-between;
      padding-right: 0;
    }
    .startseite .start-laufband-spur[aria-hidden] {
      display: none;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .startseite .start-laufband-bahn {
      width: auto;
      animation: none;
    }
    .startseite .start-laufband-spur {
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px 24px;
      padding-right: 0;
      white-space: normal;
    }
    .startseite .start-laufband-spur[aria-hidden] {
      display: none;
    }
  }

  /* ---------- 4. Objektarten ---------- */
  .startseite .start-objektarten {
    display: grid;
    gap: 32px;
  }
  .startseite .start-wortkarte {
    position: relative;
    height: clamp(300px, 42vw, 600px);
    overflow: hidden;
    border-radius: var(--start-radius);
    background: var(--start-hell);
    mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
  }
  .startseite .start-wortliste {
    --zeile: 1.4em;
    position: absolute;
    top: 50%;
    left: clamp(22px, 3vw, 43px);
    margin-top: calc(var(--zeile) / -2) !important;
    font-size: clamp(28px, 2.8vw, 40px);
    line-height: var(--zeile);
    animation: start-woerter 8s infinite;
    animation-timing-function: cubic-bezier(0.5, 0, 0, 1);
  }
  /* Vier Wörter, je 2 s: 1 s stehen, 1 s rollen. Bei 100 % steht das erste Wort der zweiten Liste. */
  @keyframes start-woerter {
    0%, 12.5% { transform: translateY(0); }
    25%, 37.5% { transform: translateY(calc(var(--zeile) * -1)); }
    50%, 62.5% { transform: translateY(calc(var(--zeile) * -2)); }
    75%, 87.5% { transform: translateY(calc(var(--zeile) * -3)); }
    100% { transform: translateY(calc(var(--zeile) * -4)); }
  }
  .startseite .start-objektarten-text {
    align-self: center;
  }
  .startseite .start-objektarten-text .start-textlink {
    display: inline-block;
    margin-top: 28px;
  }
  @media (min-width: 60rem) {
    .startseite .start-objektarten {
      grid-template-columns: 649fr 106fr 615fr;
      gap: 0;
    }
    .startseite .start-objektarten-text {
      grid-column: 3;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .startseite .start-wortliste {
      top: 0;
      margin-top: 0 !important;
      padding-top: 24px;
      animation: none;
    }
    .startseite .start-wortkarte {
      height: auto;
      padding-bottom: 24px;
      mask-image: none;
    }
    .startseite .start-wortliste {
      position: static;
      padding-left: clamp(22px, 3vw, 43px);
    }
    .startseite .start-wortliste li:nth-child(n + 5) {
      display: none;
    }
  }

  /* ---------- 5. Problem / Lösung ---------- */
  /* Ohne JS oder bei reduzierter Bewegung: Problem, darunter die Lösung als Karte, Linien fertig gezeichnet. */
  .startseite main > .start-problem {
    padding-inline: 0;
  }
  .startseite .start-buehne {
    padding-inline: calc(var(--start-rand) + var(--start-einzug));
  }
  .startseite .start-buehne-text {
    display: grid;
    gap: 32px;
    max-width: 901px;
  }
  .startseite .start-zustand-liste {
    display: grid;
    gap: 8px;
    margin-top: 24px !important;
    color: var(--start-leise);
  }
  .startseite .start-zustand-liste li {
    padding-left: 22px;
    position: relative;
  }
  .startseite .start-zustand-liste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 12px;
    border-top: 2px solid var(--start-tinte);
  }
  .startseite .start-zustand-loesung {
    padding: clamp(22px, 3vw, 43px);
    border-radius: var(--start-radius);
    background: var(--start-zweit);
    color: var(--start-auf-zweit);
  }
  .startseite .start-zustand-loesung :is(.start-aussage, .start-zustand-liste) {
    color: var(--start-auf-zweit);
  }
  .startseite .start-zustand-loesung .start-zustand-liste li::before {
    border-color: var(--start-auf-zweit);
  }
  .startseite .start-zustand-loesung .start-chip-weiss {
    background: var(--start-sand);
    color: var(--start-tinte);
  }
  .startseite .start-linien {
    display: block;
    width: 100%;
    height: clamp(120px, 22vw, 320px);
    margin-top: clamp(30px, 5vw, 70px);
    overflow: visible;
  }
  .startseite .start-linien path {
    fill: none;
    stroke: var(--start-grafik);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
  }
  /* Mit JS: Bühne steht still, --p (0 bis 1) treibt Linien, Grund und Textwechsel. */
  .start-js .startseite .start-problem {
    --q: clamp(0, (var(--p, 0) - 0.45) * 5, 1);
    height: 300vh;
  }
  .start-js .startseite .start-buehne {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100svh;
    padding-top: var(--start-kopf-hoehe);
    background: color-mix(in srgb, var(--start-zweit) calc(var(--q) * 100%), var(--start-grund));
  }
  .start-js .startseite .start-zustand {
    grid-area: 1 / 1;
    transition: none;
  }
  .start-js .startseite .start-zustand-problem {
    opacity: clamp(0, (0.5 - var(--p, 0)) * 8, 1);
  }
  .start-js .startseite .start-zustand-loesung {
    padding: 0;
    background: none;
    opacity: clamp(0, (var(--p, 0) - 0.5) * 8, 1);
  }
  .start-js .startseite .start-linien {
    margin-right: calc(-1 * (var(--start-rand) + var(--start-einzug)));
    width: calc(100% + var(--start-rand) + var(--start-einzug));
  }
  /* Strich der Länge „Fortschritt“, dahinter eine Lücke länger als der Pfad: Die Linie wächst von links. */
  /* Ohne Bewegung (kein JS oder reduzierte Bewegung) nur die klare Linie zum Haus */
  .startseite .start-linien .start-linie-wirr {
    display: none;
  }
  .start-js .startseite .start-linien .start-linie-wirr {
    display: inline;
  }
  /* Problem: die wirre Linie verblasst, die klare zeichnet sich zum Haus; --p kommt vom Scrollen (probus.js). */
  .start-js .startseite .start-linien path {
    stroke: color-mix(in srgb, var(--start-auf-zweit) calc(var(--q) * 100%), var(--start-grafik));
  }
  .start-js .startseite .start-linien .start-linie-wirr {
    opacity: clamp(0, 1 - var(--p, 0) * 1.8, 1);
  }
  .start-js .startseite .start-linien .start-linie-klar {
    stroke-dasharray: clamp(0, (var(--p, 0) - 0.25) * 1.6, 1) 2;
  }

  /* ---------- 6. Vorteile und Ablauf: Farbstaffel ---------- */
  .startseite .start-vorteile-titel {
    max-width: 650px;
    margin-bottom: clamp(32px, 4vw, 60px) !important;
  }
  .startseite .start-staffel {
    display: grid;
    gap: var(--start-abstand);
  }
  .startseite .start-staffel-karte {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: clamp(240px, 24vw, 344px);
    padding: clamp(24px, 2.9vw, 42px);
    border-radius: var(--start-radius);
    background: var(--start-hell);
  }
  .startseite .start-staffel-karte:nth-child(2) {
    background: var(--start-mittel);
  }
  .startseite .start-staffel-karte:nth-child(3) {
    background: var(--start-kraeftig);
  }
  .startseite .start-staffel-karte:nth-child(4) {
    background: var(--start-zweit);
  }
  .startseite .start-staffel-karte:nth-child(4) :is(.start-nummer, .start-kartentitel, .start-kartentext) {
    color: var(--start-auf-zweit);
  }
  /* Titel stehen in allen Karten einer Reihe auf gleicher Höhe, gleich lang wie der Text darunter. */
  .startseite .start-staffel-karte > :first-child {
    margin-bottom: clamp(24px, 3vw, 48px);
  }
  .startseite .start-staffel-karte .start-kartentext {
    color: var(--start-tinte);
  }
  .startseite .start-strich-icon {
    width: 70px;
    height: 60px;
    fill: none;
    stroke: var(--start-akzent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .startseite .start-nummer {
    font-size: clamp(40px, 3.9vw, 56px);
    line-height: 1;
  }
  @media (min-width: 40rem) {
    .startseite .start-staffel-vier {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  @media (min-width: 60rem) {
    .startseite .start-staffel {
      grid-template-columns: repeat(3, 1fr);
    }
    .startseite .start-staffel-vier {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  /* ---------- 7. Leistungen: Strecke ---------- */
  .startseite main > .start-leistungen {
    padding-inline: 0;
    max-width: none;
  }
  .startseite .start-leistungen-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--start-breite);
    margin: 0 auto clamp(40px, 5vw, 80px);
    padding-inline: var(--start-rand);
  }
  .startseite .start-boegen {
    flex: none;
    width: clamp(70px, 14vw, 200px);
    fill: none;
    stroke: var(--start-grafik);
    stroke-width: 1.25;
  }
  .startseite .start-leistungen-titel {
    max-width: 900px;
    text-align: right;
  }
  .startseite .start-strecke-bahn {
    display: grid;
    gap: var(--start-abstand);
    max-width: var(--start-breite);
    margin-inline: auto;
    padding-inline: var(--start-rand);
  }
  .startseite .start-strecke-karte {
    display: grid;
    gap: 28px;
    overflow: hidden;
    padding: clamp(24px, 3vw, 43px);
    border-radius: var(--start-radius);
    background: var(--start-zweit);
  }
  .startseite .start-strecke-karte:nth-child(2) {
    background: var(--start-kraeftig);
  }
  .startseite .start-strecke-karte:nth-child(3) {
    background: var(--start-mittel);
  }
  /* Erste Karte auf Grün: helle Schrift, Knopf in Sand. */
  .startseite .start-strecke-karte:first-child :is(.start-strecke-titel, .start-kartentext) {
    color: var(--start-auf-zweit) !important;
  }
  .startseite .start-strecke-karte:first-child .start-knopf {
    background: var(--start-sand);
    color: var(--start-tinte);
  }
  .startseite .start-strecke-karte:first-child .start-knopf:hover {
    background: var(--start-weiss);
  }
  .startseite .start-strecke-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .startseite .start-strecke-titel {
    font-size: clamp(22px, 2.1vw, 30px);
    font-weight: 400;
    line-height: 1.25;
  }
  .startseite .start-strecke-text .start-kartentext {
    max-width: 450px;
    color: var(--start-tinte);
  }
  .startseite .start-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .startseite .start-pills li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--start-weiss);
    font-size: 13px;
  }
  .startseite .start-pills li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--start-tinte);
  }
  .startseite .start-strecke-knopf {
    margin-top: 8px;
  }
  .startseite .start-strecke-ansicht {
    align-self: end;
    font-size: 15px;
  }
  @media (min-width: 60rem) {
    .startseite .start-strecke-karte {
      grid-template-columns: 45fr 55fr;
      align-items: center;
    }
    .startseite .start-strecke-ansicht {
      align-self: center;
      justify-self: end;
      width: 82%;
      margin-right: calc(-1 * clamp(24px, 3vw, 43px) - 30px);
    }
    /* Szenen mit Uhrzeiten rechts: nicht über den Kartenrand hinaus, sonst werden die Zeiten abgeschnitten */
    .startseite .start-strecke-ansicht[data-szene-einmal] {
      width: min(100%, 420px);
      margin-right: 0;
    }
  }
  /* Breit und mit JS: Die Bühne steht, die Karten laufen beim Scrollen von rechts nach links. */
  @media (min-width: 60rem) {
    .start-js .startseite .start-strecke {
      --karte: calc(min(100vw, var(--start-breite)) - 2 * var(--start-rand) - 42px);
      height: 300vh;
    }
    .start-js .startseite .start-strecke-buehne {
      position: sticky;
      top: var(--start-kopf-hoehe);
      display: flex;
      align-items: center;
      height: calc(100svh - var(--start-kopf-hoehe));
      overflow: hidden;
    }
    .start-js .startseite .start-strecke-bahn {
      display: flex;
      max-width: none;
      margin: 0;
      padding-left: calc((100vw - min(100vw, var(--start-breite))) / 2 + var(--start-rand));
      transform: translateX(calc(var(--p, 0) * -2 * (var(--karte) + var(--start-abstand))));
      will-change: transform;
    }
    .start-js .startseite .start-strecke-karte {
      flex: none;
      width: var(--karte);
      height: min(756px, calc(100svh - var(--start-kopf-hoehe) - 40px));
    }
  }

  /* ---------- 9. Verlässlichkeit, Fragen: zwei Spalten ---------- */
  .startseite .start-verlaesslichkeit,
  .startseite .start-faq {
    display: grid;
    gap: 40px;
  }
  .startseite .start-haken-raster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 22px;
  }
  .startseite .start-haken-raster li {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 14px;
  }
  .startseite .start-haken-kachel {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: var(--start-kachel);
    color: var(--start-auf-kachel);
  }
  .startseite .start-haken-kachel svg {
    width: 16px;
    height: 16px;
  }
  @media (min-width: 60rem) {
    .startseite .start-verlaesslichkeit,
    .startseite .start-faq {
      grid-template-columns: 556fr 686fr;
      gap: 0;
    }
    .startseite .start-haken-raster {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: clamp(60px, 7vw, 110px) 40px;
    }
  }

  /* Fragen */
  .startseite .start-akkordeon details {
    border-top: 1px solid var(--start-linie);
  }
  .startseite .start-akkordeon details:last-child {
    border-bottom: 1px solid var(--start-linie);
  }
  .startseite .start-akkordeon summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding-block: 20px;
    list-style: none;
    font-size: clamp(16px, 1.3vw, 19px);
    cursor: pointer;
  }
  .startseite .start-akkordeon summary::-webkit-details-marker {
    display: none;
  }
  .startseite .start-akkordeon summary svg {
    flex: none;
    width: 20px;
    height: 20px;
    transition: transform 0.3s var(--start-uebergang);
  }
  .startseite .start-akkordeon details[open] summary svg {
    transform: rotate(45deg);
  }
  .startseite .start-akkordeon .start-kartentext {
    padding: 0 36px 22px 0;
  }

  /* ---------- 10. Über uns ---------- */
  .startseite .start-ueber-uns {
    display: grid;
    gap: 40px;
    align-items: center;
  }
  @media (min-width: 60rem) {
    .startseite .start-ueber-uns {
      grid-template-columns: 1fr 1fr;
    }
  }
  .startseite .start-ueber-uns-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 480px;
  }
  .startseite .start-ueber-uns-text .start-h2 {
    margin-bottom: 20px;
  }
  .startseite .start-ueber-uns-text .start-kartentext {
    margin-bottom: 28px;
  }

  /* ---------- Angebotsformular ---------- */
  .startseite .start-angebot-karte {
    max-width: 900px;
    margin-inline: auto;
    padding: clamp(22px, 3vw, 43px);
    border-radius: var(--start-radius);
    background: var(--start-hell);
  }
  .startseite .start-angebot-karte > .start-h2 {
    margin: 0 0 8px;
  }
  .startseite .start-angebot-karte > .start-kartentext {
    margin: 0 0 24px;
  }

  /* ---------- 12. Abschluss und Fuß (60 : 40) ---------- */
  .startseite .start-fuss {
    display: grid;
    gap: var(--start-abstand);
    margin-top: var(--start-luft);
    padding-bottom: var(--start-abstand);
  }
  .startseite .start-abschluss {
    display: flex;
    flex-direction: column;
    /* Überschrift und Text beieinander, die Karte nur so hoch wie nötig (vorher 38vw mit Leere dazwischen) */
    justify-content: center;
    gap: clamp(24px, 2.4vw, 36px);
    min-height: clamp(280px, 26vw, 400px);
    padding: clamp(22px, 3vw, 43px);
    border-radius: var(--start-radius);
    background: var(--start-hell);
  }
  .startseite .start-abschluss .start-h1 {
    font-size: clamp(40.5px, 5.13vw, 74px);
  }
  .startseite .start-abschluss-unten {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    max-width: 420px;
  }
  .startseite .start-fuss-kontakt {
    position: relative;
    overflow: hidden;
    min-height: clamp(200px, 18.75vw, 270px);
    padding: clamp(22px, 2.2vw, 32px);
    border-radius: var(--start-radius);
    background: var(--start-zweit);
    color: var(--start-auf-zweit);
    font-size: 14px;
    font-style: normal;
  }
  .startseite .start-fuss-kontakt .start-fuss-kopf {
    color: inherit;
    opacity: 0.75;
  }
  .startseite .start-fuss-kontakt > p {
    position: relative;
    margin-bottom: 4px;
    overflow-wrap: anywhere;
  }
  .startseite :where(main, .start-recht, article) p a:not([class]),
  .startseite :where(main, .start-recht, article) li a:not([class]) {
    color: var(--start-zweit, #2F4A3A);
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
    text-underline-offset: 3px;
  }
  .startseite :where(main, .start-recht, article) p a:not([class]):hover,
  .startseite :where(main, .start-recht, article) li a:not([class]):hover {
    text-decoration-color: currentColor;
  }
  .startseite .start-fuss-kontakt a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
  }
  .startseite .start-fuss-kontakt a:hover,
  .startseite .start-fuss-kontakt a:focus-visible {
    text-decoration-color: currentColor;
  }
  .startseite .start-wellen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--start-auf-zweit);
    stroke-width: 1.25;
    opacity: 0.35;
  }
  .startseite .start-fuss-kopf {
    margin-bottom: 10px !important;
    font-size: 14px;
    color: var(--start-leise);
  }
  .startseite .start-fuss-links {
    display: grid;
    /* drei gleich breite Spalten, schmal zwei; Rechtliches rutscht dann unter Leistungen */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    padding: clamp(22px, 2.2vw, 32px);
    border-radius: var(--start-radius);
    background: var(--start-kraeftig);
  }
  @media (min-width: 30rem) {
    .startseite .start-fuss-links {
      /* Spalten so breit wie ihr längster Eintrag, Rest als Abstand: „Treppenhausreinigung“ bricht nicht */
      grid-template-columns: repeat(3, auto);
      justify-content: space-between;
    }
  }
  .startseite .start-fuss-links .start-fuss-kopf {
    margin-bottom: 4px !important;
    font-size: 12px;
  }
  .startseite .start-fuss-links ul {
    display: grid;
    gap: 0;
  }
  .startseite .start-fuss-links a {
    display: inline-flex;
    align-items: center;
    /* 26 px Tippfläche je Zeile (WCAG 2.5.8 verlangt 24 px) */
    min-height: 26px;
    color: var(--start-tinte);
    font-size: 13px;
    line-height: 1.25;
    text-decoration: none;
    hyphens: auto;
  }
  .startseite .start-fuss-links a:hover {
    text-decoration: underline;
  }
  .startseite .start-fuss-zeile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    padding-top: 8px;
    font-size: 12px;
    color: var(--start-leise);
  }
  .startseite .start-fuss-zeile p {
    margin-right: auto !important;
  }
  .startseite .start-fuss-zeile a {
    color: inherit;
  }
  @media (min-width: 60rem) {
    .startseite .start-fuss {
      grid-template-columns: 809fr 540fr;
    }
    .startseite .start-abschluss {
      grid-row: span 2;
    }
    .startseite .start-fuss-zeile {
      grid-column: 1 / -1;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html:has(.startseite) {
      scroll-behavior: auto;
    }
    .startseite *,
    .startseite *::before,
    .startseite *::after {
      transition-duration: 0s !important;
    }
  }
}

/* ---------- Nur Website: Logoband, Rechtsseiten ---------- */
@layer components {
  /* Logoband (docs/startseite.md, Abschnitt 3): Logos in Graustufen, beim Hover in Farbe. Breit eine ruhige
   * Reihe, schmal ein Laufband mit doppelter Spur; bei reduzierter Bewegung umgebrochen und still. */
  .startseite main > .start-logos {
    margin-top: clamp(48px, 6vw, 80px);
    text-align: center;
  }
  .startseite .start-logos-titel {
    margin-bottom: 28px !important;
    font-size: clamp(15px, 1.22vw, 17.6px);
    color: var(--start-leise);
  }
  .startseite .start-logos-fenster {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .startseite .start-logos-bahn {
    display: flex;
    width: max-content;
    /* Dauer je nach Zahl der Logos (probus.js), damit das Tempo gleich bleibt */
    animation: start-laufband var(--laufband-dauer, 40s) linear infinite;
  }
  .startseite .start-logos-fenster:hover .start-logos-bahn,
  .startseite .start-logos-fenster.ist-angehalten .start-logos-bahn {
    animation-play-state: paused;
  }
  /* Anhalten für Tastatur und Touch (bewegter Inhalt länger als 5 s, WCAG 2.2.2) */
  .startseite .start-logos-pause {
    display: block;
    margin: -16px auto 16px;
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: none;
    color: var(--start-leise);
    font: inherit;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }
  .startseite .start-logos-pause[hidden] {
    display: none;
  }
  .startseite .start-logos-spur {
    display: flex;
    align-items: center;
    gap: clamp(36px, 4vw, 64px);
    padding-right: clamp(36px, 4vw, 64px);
  }
  .startseite .start-logos-spur img {
    width: auto;
    height: clamp(28px, 2.6vw, 40px);
    /* Einheitlich in Anthrazit; mix-blend-mode nimmt weiße Logo-Hintergründe weg. */
    filter: grayscale(1) contrast(1.1);
    opacity: 0.7;
    mix-blend-mode: multiply;
    transition:
      filter 0.3s var(--start-uebergang),
      opacity 0.3s var(--start-uebergang);
  }
  .startseite .start-logos-spur img:hover {
    filter: none;
    opacity: 1;
  }
  .startseite .start-logos-spur img.ist-gross {
    height: clamp(40px, 3.8vw, 58px);
  }
  .startseite .start-logos-spur img.ist-invertiert {
    /* Die Fläche wird nach dem Invertieren hellgrau; Kontrast und Helligkeit machen sie weiß, multiply blendet sie aus. */
    filter: grayscale(1) invert(1) contrast(1.6) brightness(1.2);
  }
  .startseite .start-logos-spur img.ist-invertiert:hover {
    filter: none;
  }
  /* Keyframes start-laufband stehen oben (Laufband der App). */
  @media (prefers-reduced-motion: reduce) {
    .startseite .start-logos-fenster {
      mask-image: none;
    }
    .startseite .start-logos-bahn {
      width: auto;
      animation: none;
    }
    .startseite .start-logos-spur {
      flex-wrap: wrap;
      justify-content: center;
      gap: 24px 40px;
      padding: 0 var(--start-rand);
    }
    .startseite .start-logos-spur[aria-hidden],
    .startseite .start-logos-pause {
      display: none;
    }
  }

  /* Impressum und Datenschutz */
  .startseite .start-recht {
    max-width: calc(var(--start-breite));
    padding-block: clamp(40px, 6vw, 96px) var(--start-luft);
  }
  .startseite .start-recht > * {
    max-width: 46rem;
  }
  .startseite .start-recht-kopf {
    margin-bottom: 40px;
  }
  .startseite .start-recht-kopf p {
    margin-top: 12px !important;
    color: var(--start-leise);
  }
  .startseite .start-recht section {
    margin-bottom: 28px;
  }
  .startseite .start-recht h2 {
    margin-bottom: 6px !important;
    font-size: 18px;
    font-weight: 500;
    color: var(--start-tinte);
  }
  .startseite .start-recht p {
    line-height: 1.6;
  }
  .startseite .start-fuss:has(> .start-fuss-zeile:only-child) {
    margin-top: 0;
  }
}

/* Offene Stellen in Rechtstexten: deutlich sichtbar, bis der Nutzer sie füllt */
.start-pruefen {
  background: var(--start-sand, #e9dec8);
  padding: 0 0.3em;
  border-radius: 0.2em;
}

/* ---------- Bewegung, Runde 2 (Plan vom 26.11.2026): einmal pro Sichtkontakt, nur ohne reduzierte Bewegung ---------- */
@layer components {
  @media (prefers-reduced-motion: no-preference) {
    /* Hero beim Laden, gesamt höchstens 1,4 s; der Knopf ist dabei sofort klickbar (nur Deckkraft und Lage) */
    @keyframes start-auf {
      from {
        opacity: 0;
        translate: 0 0.6em;
      }
    }
    @keyframes start-ui-auf {
      from {
        opacity: 0;
        scale: 0.96;
      }
    }
    @keyframes start-fuellen {
      from {
        transform: scaleX(0);
      }
    }
    .startseite .start-hero .start-wort {
      display: inline-block;
      animation: start-auf 0.7s cubic-bezier(0, 0, 0, 1) calc(var(--w) * 0.08s) both;
    }
    .startseite .start-hero-unterzeile {
      animation: start-auf 0.7s cubic-bezier(0, 0, 0, 1) 0.3s both;
    }
    .startseite .start-hero .start-knopfkarte {
      animation: start-auf 0.7s cubic-bezier(0, 0, 0, 1) 0.4s both;
    }
    .startseite .start-hero-buehne .start-ui {
      animation:
        start-ui-auf 0.6s cubic-bezier(0, 0, 0, 1) 0.5s both,
        start-schweben 7s ease-in-out 1.1s infinite alternate;
    }
    .startseite .start-hero-buehne .start-ui-tour {
      animation-delay: 0.65s, -2.5s;
    }
    .startseite .start-hero-buehne .start-ui-bericht {
      animation-delay: 0.8s, -5s;
    }

    /* Wortkarte: Text rechts gestaffelt */
    .start-js .startseite .start-objektarten-text > * {
      opacity: 0;
      translate: 0 16px;
      transition:
        opacity 0.7s cubic-bezier(0, 0, 0, 1),
        translate 0.7s cubic-bezier(0, 0, 0, 1);
    }
    .start-js .startseite .start-objektarten-text > :nth-child(2) {
      transition-delay: 0.1s;
    }
    .start-js .startseite .start-objektarten-text > :nth-child(3) {
      transition-delay: 0.2s;
    }
    .start-js .startseite .ist-sichtbar .start-objektarten-text > * {
      opacity: 1;
      translate: none;
    }

    /* Vorteile: Icons zeichnen sich; Verlässlichkeit: Haken setzen sich nacheinander */
    .start-js .startseite :is(.start-strich-icon, .start-haken-kachel svg) path {
      stroke-dasharray: 1;
      stroke-dashoffset: 1;
      transition: stroke-dashoffset 1.2s cubic-bezier(0.65, 0, 0.35, 1) calc(0.3s + var(--n, 0) * 0.1s);
    }
    .start-js .startseite .start-haken-kachel svg path {
      transition-duration: 0.4s;
    }
    .start-js .startseite .ist-sichtbar :is(.start-strich-icon, .start-haken-kachel svg) path {
      stroke-dashoffset: 0;
    }

    /* Ablauf: Nummern setzen sich nach dem Weg ein */
    .start-js .startseite .start-ablauf .start-nummer {
      display: inline-block;
      opacity: 0;
      translate: 0 0.4em;
      transition:
        opacity 0.5s cubic-bezier(0, 0, 0, 1) calc(0.9s + var(--n, 0) * 0.12s),
        translate 0.5s cubic-bezier(0, 0, 0, 1) calc(0.9s + var(--n, 0) * 0.12s);
    }
    .start-js .startseite .start-ablauf.ist-sichtbar .start-nummer {
      opacity: 1;
      translate: none;
    }

    /* Über uns: der Schlüssel dreht sich einmal kurz, nachdem er gezeichnet ist (kein Hover) */
    @keyframes start-aufschliessen {
      40% {
        rotate: -8deg;
      }
    }
    .start-js .startseite .start-schluessel.ist-sichtbar {
      transform-origin: 24% 50%;
      animation: start-aufschliessen 0.6s ease-in-out 1.5s;
    }
  }

  /* FAQ: Antwort öffnet sanft, wo der Browser ::details-content kennt; sonst sofort */
  @media (prefers-reduced-motion: no-preference) {
    @supports selector(::details-content) {
      .startseite .start-akkordeon {
        interpolate-size: allow-keywords;
      }
      .startseite .start-akkordeon details::details-content {
        block-size: 0;
        opacity: 0;
        overflow: clip;
        transition:
          block-size 0.3s var(--start-uebergang),
          opacity 0.3s var(--start-uebergang),
          content-visibility 0.3s allow-discrete;
      }
      .startseite .start-akkordeon details[open]::details-content {
        block-size: auto;
        opacity: 1;
      }
    }
  }
}

/* ---------- Hero-Szene: Anfrage → Angebot → Paket gewählt → Vertrag, Tour und Bericht (9 s, zwei Durchläufe, dann Endzustand) ----------
 * Läuft nur im Sichtfeld (.laeuft, probus.js) und ohne reduzierte Bewegung; sonst steht der Endzustand da. */
@layer components {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes sz-rechnet {
      0%, 16% { opacity: 1; }
      20%, 100% { opacity: 0; }
    }
    @keyframes sz-preis {
      0%, 18% { opacity: 0; translate: 0 6px; }
      24%, 94% { opacity: 1; translate: none; }
      100% { opacity: 0; }
    }
    @keyframes sz-wahl {
      0%, 40% { background: transparent; }
      46%, 94% { background: var(--start-sand); }
      100% { background: transparent; }
    }
    @keyframes sz-marke {
      0%, 42% { opacity: 0; }
      48%, 94% { opacity: 1; }
      100% { opacity: 0; }
    }
    @keyframes sz-vertrag {
      0%, 60% { opacity: 0; translate: 0 4px; }
      66%, 94% { opacity: 1; translate: none; }
      100% { opacity: 0; }
    }
    @keyframes sz-stopp {
      0%, 44% { opacity: 0.35; }
      50%, 94% { opacity: 1; }
      100% { opacity: 0.35; }
    }
    /* Bericht nie leer: Fotos und Versand stehen blass als „noch offen“ da und werden nacheinander kräftig */
    @keyframes sz-foto {
      0%, 62% { opacity: 0.25; scale: 0.96; }
      70%, 94% { opacity: 1; scale: 1; }
      100% { opacity: 0.25; scale: 0.96; }
    }
    @keyframes sz-gesendet {
      0%, 80% { opacity: 0.3; }
      86%, 94% { opacity: 1; }
      100% { opacity: 0.3; }
    }
    .start-js .startseite .start-szene.laeuft .start-szene-rechnet {
      display: grid;
      /* nach den zwei Durchläufen bleibt der Endzustand: kein „wird berechnet“ */
      opacity: 0;
      animation: sz-rechnet 9s linear 2;
    }
    .start-js .startseite .start-szene.laeuft .start-szene-preis {
      animation: sz-preis 9s linear calc(var(--k) * 0.2s) 2 backwards;
    }
    .start-js .startseite .start-szene.laeuft .start-szene-preis.ist-gewaehlt {
      animation:
        sz-preis 9s linear calc(var(--k) * 0.2s) 2 backwards,
        sz-wahl 9s linear 2;
    }
    .start-js .startseite .start-szene.laeuft .start-szene-preis em {
      animation: sz-marke 9s linear 2;
    }
    .start-js .startseite .start-szene.laeuft .start-szene-vertrag {
      animation: sz-vertrag 9s linear 2;
    }
    .start-js .startseite .start-szene.laeuft .start-szene-stopp {
      animation: sz-stopp 9s linear calc(var(--k) * 0.4s) 2 backwards;
    }
    .start-js .startseite .start-szene.laeuft .start-szene-fotos span {
      animation: sz-foto 9s linear calc(var(--k) * 0.3s) 2 backwards;
    }
    .start-js .startseite .start-szene.laeuft .start-szene-gesendet {
      animation: sz-gesendet 9s linear 2;
    }
    .start-js .startseite .start-szene.ist-angehalten * {
      animation-play-state: paused !important;
    }
  }
}

/* ---------- Szenen in den Leistungs-Karten: einmal pro Sichtkontakt ([data-szene-einmal] bekommt .ist-sichtbar) ----------
 * 2 + 4 Kontrollgang mit Haken, dann Objektbericht an die Verwaltung; 3 geplante Tour, ein Punkt fährt die Route ab.
 * Ohne JS oder bei reduzierter Bewegung steht der Endzustand. */
@layer components {
  .startseite .start-szene-punkt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 7px;
    border-top: 1px solid var(--start-hell);
  }
  .startseite .start-szene-punkt time {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
    color: var(--start-leise);
  }
  .startseite .start-szene-hakenbox {
    flex: none;
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: var(--start-akzent);
  }
  .startseite .start-szene-hakenbox svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--start-weiss);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .startseite .start-szene-zwischen {
    margin: 12px 0 6px;
    font-weight: 500;
  }
  .startseite .start-szene-nummer {
    flex: none;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--start-tinte);
    color: var(--start-grund);
    font-size: 11px;
  }
  .startseite .start-szene-karte {
    display: block;
    width: 100%;
    margin-bottom: 6px;
    border-radius: 8px;
    background: var(--start-grund);
  }
  .startseite .start-szene-strassen {
    fill: none;
    stroke: var(--start-hell);
    stroke-width: 6;
  }
  .startseite .start-szene-route {
    fill: none;
    stroke: var(--start-akzent);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 5 5;
  }
  .startseite .start-szene-stopp-punkt {
    fill: var(--start-weiss);
    stroke: var(--start-tinte);
    stroke-width: 2;
  }
  .startseite .start-szene-fahrer circle {
    fill: var(--start-tinte);
    stroke: var(--start-weiss);
    stroke-width: 2;
  }
  @media (prefers-reduced-motion: no-preference) {
    .start-js .startseite [data-szene-einmal] :is(.start-szene-hakenbox, .start-szene-punkt time, .start-szene-fotos span, .start-szene-gesendet) {
      transition:
        opacity 0.4s cubic-bezier(0, 0, 0, 1),
        scale 0.4s cubic-bezier(0, 0, 0, 1),
        background-color 0.3s;
    }
    /* Kontrollgang: Kästchen leer, dann Haken nacheinander mit Uhrzeit */
    .start-js .startseite .start-szene-kontroll:not(.ist-sichtbar) .start-szene-hakenbox {
      background: transparent;
      box-shadow: inset 0 0 0 1.5px var(--start-linie);
    }
    .start-js .startseite .start-szene-kontroll:not(.ist-sichtbar) .start-szene-hakenbox svg,
    .start-js .startseite [data-szene-einmal]:not(.ist-sichtbar) .start-szene-punkt time {
      opacity: 0;
    }
    .start-js .startseite .start-szene-kontroll .start-szene-hakenbox,
    .start-js .startseite .start-szene-kontroll .start-szene-hakenbox svg,
    .start-js .startseite .start-szene-kontroll .start-szene-punkt time {
      transition-delay: calc(0.3s + var(--k) * 0.5s);
    }
    /* danach drei Fotos und „gesendet“ */
    .start-js .startseite .start-szene-kontroll:not(.ist-sichtbar) .start-szene-fotos span {
      opacity: 0.2;
      scale: 0.94;
    }
    .start-js .startseite .start-szene-kontroll .start-szene-fotos span {
      transition-delay: calc(2.5s + var(--k) * 0.3s);
    }
    .start-js .startseite .start-szene-kontroll:not(.ist-sichtbar) .start-szene-gesendet {
      opacity: 0.25;
    }
    .start-js .startseite .start-szene-kontroll .start-szene-gesendet {
      transition-delay: 3.6s;
    }
    .start-js .startseite [data-szene-einmal]:not(.ist-sichtbar) .start-szene-fahrer {
      opacity: 0;
    }
    /* Tour: Ankunftszeiten erscheinen, wenn der Punkt den Stopp erreicht (Fahrt 3 s, animateMotion) */
    .start-js .startseite .start-szene-route-karte .start-szene-punkt time {
      transition-delay: calc(0.2s + var(--k) * 1.45s);
    }
  }
}
