/* ==========================================================================
   baustellen.tools – Startseite
   Nur auf der Startseite eingebunden (startseite.html). Farben, Schriften und Bausteine kommen aus
   stil.css und marke.css. Bewegung nur mit html.bewegt (startseite.js); ohne JavaScript oder bei
   „Bewegung reduzieren“ steht alles fertig da.
   Aufbau: Kopf mit Film · Normen · Leistungen (Reiter, Kacheln) · Preise (Rechner, Vergleich) ·
   Start · Zusagen · Fragen · Aufruf
   ========================================================================== */

.startseite {
  font-size: 1.0625rem; line-height: 1.6;
  --anzeige: var(--plakat); --anzeige-weite: -0.015em;      /* Überschriften in der Schrift des Schriftzugs */
  --karte-schatten: 0 1px 2px rgba(14, 35, 64, 0.05), 0 12px 32px -12px rgba(14, 35, 64, 0.18);
  --gross-schatten: 0 2px 6px rgba(14, 35, 64, 0.06), 0 40px 80px -30px rgba(14, 35, 64, 0.45);
  --st-rund: 16px;
  background: var(--grund);
}
.startseite .kopf--marke { position: sticky; }
.startseite .kopf__wege { justify-content: flex-end; }

/* Häkchen in Listen und Tabellen */
.st-haken { flex: none; width: 1.05em; height: 1.05em; fill: none; stroke: var(--gut, #1E8A4C); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.st-strich { display: inline-block; width: 0.8rem; height: 2px; vertical-align: middle; background: var(--stahl); border-radius: 1px; }

.st-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.st-liste li { display: flex; gap: 0.6rem; align-items: baseline; }
.st-liste li .st-haken { position: relative; top: 0.17em; }
.st-liste li .st-strich { position: relative; top: -0.25em; }
.st-liste--klein { font-size: 0.95rem; gap: 0.5rem; }
.st-liste__ohne { color: var(--neben); }
.st-liste__ohne .st-strich { margin: 0 0.12rem; }

.st-kopfzeile { max-width: 46rem; }
.st-kopfzeile--mitte { margin-inline: auto; text-align: center; }
.st-kopfzeile--mitte .abschnitt-st__titel { margin-inline: auto; }
.st-kopfzeile--mitte .abschnitt-st__einleitung { margin-inline: auto; }

/* --- 1. Kopf ----------------------------------------------------------------------------------------------- */

.st-held {
  position: relative; isolation: isolate; overflow: clip;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(99, 178, 244, 0.22), transparent 65%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(26, 106, 177, 0.08), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--grund) 100%);
}
/* feines Planraster, nach unten ausgeblendet */
.st-held::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(26, 106, 177, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(26, 106, 177, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
/* Höhenlinien wie im Lageplan rechts oben – weich ausgeblendet */
.st-held::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: -6%; right: -12%; width: min(1100px, 78vw); aspect-ratio: 16 / 9;
  background: url("../marke/hoehenlinien.svg") center / cover no-repeat; opacity: 1;
  -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); mask-image: radial-gradient(closest-side, #000 45%, transparent 100%);
}
.st-held__innen { display: grid; grid-template-columns: minmax(0, 10fr) minmax(0, 12fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.st-marke {
  display: inline-flex; align-items: center; gap: 0.55rem; margin: 0 0 1.2rem; padding: 0.3rem 0.85rem 0.3rem 0.7rem;
  font-size: 0.86rem; font-weight: 700; color: var(--plan-tief, var(--plan));
  background: #fff; border: 1px solid #C9D9EB; border-radius: 999px; box-shadow: 0 1px 2px rgba(14, 35, 64, 0.06);
}
.st-marke::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 1px; background: var(--plan); transform: rotate(45deg); }
.st-held__titel { margin: 0; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.035em; color: var(--tinte); text-wrap: balance; }
.st-held__satz { margin: 1.3rem 0 0; max-width: 34rem; font-size: 1.14rem; line-height: 1.6; color: #34475D; }
.st-held__knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.st-held__knoepfe .knopf { min-width: 11rem; justify-content: center; }
.st-held__fakten { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.95rem; color: var(--tinte); }
.st-held__fakten li { display: flex; align-items: center; gap: 0.55rem; }

/* Das Bild: Programmfenster mit Film, schwebende Kennzahlen */
.st-held__bild { position: relative; padding: 1.5rem 0 1.25rem; }
.st-held__quelle { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--neben); }

.st-fenster { margin: 0; background: #fff; border: 1px solid #D5DCE4; border-radius: 14px; overflow: hidden; box-shadow: var(--gross-schatten); }
.st-fenster__leiste { display: flex; align-items: center; gap: 0.4rem; height: 2.2rem; padding: 0 0.85rem; background: #F2F5F8; border-bottom: 1px solid #E1E7ED; }
.st-fenster__leiste i { width: 0.62rem; height: 0.62rem; border-radius: 50%; background: #D5DCE4; }
.st-fenster__leiste i:first-child { background: #F09B95; }
.st-fenster__leiste i:nth-child(2) { background: #F3CD72; }
.st-fenster__leiste i:nth-child(3) { background: #8FD19E; }
.st-fenster__leiste span {
  flex: 1; min-width: 0; margin-left: 0.8rem; padding: 0.15rem 0.7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.75rem; color: var(--neben); background: #fff; border: 1px solid #E1E7ED; border-radius: 6px;
}
.st-fenster__bild { position: relative; aspect-ratio: 1120 / 700; background: #EEF1F4; }
.st-film { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-film__knopf {
  position: absolute; right: 0.75rem; bottom: 0.75rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0;
  color: var(--tinte); background: rgba(255, 255, 255, 0.92); border: 1px solid #D5DCE4; border-radius: 50%; cursor: pointer;
  box-shadow: 0 2px 8px rgba(14, 35, 64, 0.18); opacity: 0.7; transition: opacity var(--dauer);
}
.st-fenster:hover .st-film__knopf, .st-film__knopf:focus-visible { opacity: 1; }
.st-film__knopf svg { width: 1rem; height: 1rem; fill: currentColor; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.st-film__knopf .st-film__spielen { display: none; }
.st-film__knopf[aria-pressed="true"] .st-film__pause { display: none; }
.st-film__knopf[aria-pressed="true"] .st-film__spielen { display: block; }

.st-schild {
  position: absolute; display: flex; align-items: center; gap: 0.6rem; padding: 0.6rem 0.95rem 0.6rem 0.8rem;
  font-size: 0.86rem; line-height: 1.2; color: var(--neben); white-space: nowrap;
  background: #fff; border: 1px solid #E1E7ED; border-radius: 12px; box-shadow: var(--karte-schatten);
}
.st-schild b { display: block; font-family: var(--anzeige); font-size: 1.05rem; color: var(--tinte); letter-spacing: -0.01em; }
.st-schild i { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 1px; background: var(--f); transform: rotate(45deg); }
.st-schild--eins { left: -1.6rem; top: 22%; }
.st-schild--zwei { right: -1.2rem; top: 0.2rem; }
.st-schild--drei { right: 6%; bottom: -0.2rem; }

/* Normen: eine ruhige Zeile unter dem Kopf */
.st-normen {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.6rem;
  margin-top: clamp(2.2rem, 5vw, 3.5rem); padding: 1.3rem 0 1.5rem; border-top: 1px solid var(--linie);
}
.st-normen__titel { margin: 0; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--neben); }
.st-normen__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; font-size: 0.86rem; color: var(--neben); }
.st-normen__liste b { margin-right: 0.3rem; font-family: var(--anzeige); font-size: 0.98rem; color: var(--tinte); }

/* --- 2. Leistungen ----------------------------------------------------------------------------------------- */

.st-leistungen { position: relative; isolation: isolate; overflow: clip; background: #fff; border-top: 1px solid var(--linie); }
.st-leistungen::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: -120px; left: -260px; width: 980px; aspect-ratio: 16 / 9;
  background: url("../marke/hoehenlinien.svg") center / cover no-repeat; opacity: 0.7; transform: scaleX(-1);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
/* Zwei Filme in einer Tafel: Auswahlknöpfe (Radio) schalten um, ganz ohne Skript */
.st-zwei__wahl { position: absolute; width: 1px; height: 1px; opacity: 0; }
.st-zwei__knopf {
  display: inline-block; margin: 0 0.35rem 0.75rem 0; padding: 0.34rem 0.85rem; border: 1px solid color-mix(in srgb, var(--f) 45%, #fff);
  border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: #34475D; background: #fff; cursor: pointer;
}
@media (max-width: 820px) { .st-zwei__knopf { padding: 0.62rem 0.85rem; } }      /* Tippziel 44 Pixel hoch */
.st-zwei__wahl:checked + .st-zwei__knopf { background: var(--f); border-color: var(--f); color: #fff; }
.st-zwei__wahl:focus-visible + .st-zwei__knopf { outline: 2px solid var(--signal); outline-offset: 2px; }
.st-zwei__wahl--1:checked ~ .st-zwei__film--2, .st-zwei__wahl--2:checked ~ .st-zwei__film--1 { display: none; }
.st-tafel__ablauf { display: flex; align-items: center; gap: 0.55rem; margin: 0.85rem 0 0; font-size: 0.85rem; color: var(--neben); }
.st-tafel__punkt { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--f); box-shadow: 0 0 0 3px color-mix(in srgb, var(--f) 22%, transparent); }
html.bewegt .st-tafel__punkt { animation: st-puls-punkt 2.4s ease-in-out infinite; }
@keyframes st-puls-punkt { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--f) 22%, transparent); } 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--f) 8%, transparent); } }

.st-reiter { margin-top: clamp(2rem, 4vw, 2.8rem); }
.st-reiter__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.st-reiter__knopf {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.1rem 0.7rem; align-items: center;
  padding: 1rem 1.15rem; text-align: left; font: inherit; color: var(--tinte); cursor: pointer;
  background: var(--grund); border: 1px solid var(--linie); border-radius: 12px;
  transition: background-color var(--dauer), border-color var(--dauer), box-shadow var(--dauer);
}
.st-reiter__knopf:hover { background: #fff; border-color: var(--stahl); }
.st-reiter__knopf[aria-selected="true"] { background: #fff; border-color: var(--f); box-shadow: 0 0 0 1px var(--f), var(--karte-schatten); }
.st-reiter__knopf:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.st-reiter__raute { grid-row: span 2; width: 0.75rem; height: 0.75rem; border-radius: 2px; background: var(--f); transform: rotate(45deg); }
.st-reiter__name { font-family: var(--anzeige); font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.st-reiter__kurz { font-size: 0.86rem; color: var(--neben); }

.st-tafel {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  margin-top: 1rem; padding: clamp(1.4rem, 3vw, 2.4rem);
  background: linear-gradient(135deg, color-mix(in srgb, var(--f) 7%, #fff) 0%, #fff 60%);
  border: 1px solid var(--linie); border-radius: var(--st-rund);
}
.st-tafel[hidden] { display: none; }
.st-tafel:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.st-tafel__titel { margin: 0; font-size: 1.55rem; letter-spacing: -0.02em; }
.st-tafel__satz { margin: 0.6rem 0 1.3rem; color: #34475D; }
.st-weiter { display: inline-block; margin-top: 1.4rem; font-weight: 700; color: var(--plan); }
.st-weiter span { display: inline-block; transition: transform var(--dauer); }
.st-weiter:hover span { transform: translateX(3px); }
/* Mit Reitern (startseite.js) blendet die neue Tafel weich ein */
.st-reiter.an .st-tafel { animation: st-tafel 0.4s ease both; }
@keyframes st-tafel { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.st-zwischentitel { margin: clamp(3rem, 6vw, 4rem) 0 1.2rem; font-size: 1.3rem; letter-spacing: -0.01em; }
.st-kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.st-kachel {
  padding: 1.3rem 1.3rem 1.4rem; background: var(--grund); border: 1px solid var(--linie); border-radius: 12px;
  transition: background-color var(--dauer), box-shadow var(--dauer), transform var(--dauer);
}
.st-kachel:hover { background: #fff; box-shadow: var(--karte-schatten); }
.st-kachel__zeichen {
  display: block; width: 2.6rem; height: 2.6rem; padding: 0.55rem; margin-bottom: 0.9rem;
  fill: none; stroke: var(--plan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  background: #fff; border: 1px solid #C9D9EB; border-radius: 10px;
}
.st-kachel__titel { margin: 0 0 0.35rem; font-size: 1.05rem; }
.st-kachel__text { margin: 0; font-size: 0.93rem; line-height: 1.55; color: var(--neben); }

/* --- 3. Preise --------------------------------------------------------------------------------------------- */

.st-preise { position: relative; isolation: isolate; background: var(--grund); border-top: 1px solid var(--linie); }
.st-preise::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(26, 106, 177, 0.16) 1.1px, transparent 1.6px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.st-tarife { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 1.25rem; align-items: start; margin-top: clamp(2rem, 4vw, 2.8rem); }
.st-tarif {
  display: flex; flex-direction: column; padding: clamp(1.4rem, 3vw, 2rem);
  background: #fff; border: 1px solid var(--linie); border-radius: var(--st-rund); box-shadow: var(--karte-schatten);
}
.st-tarif--abo { border-color: var(--plan); box-shadow: 0 0 0 1px var(--plan), var(--gross-schatten); }
.st-tarif__name { margin: 0; font-size: 1.35rem; letter-spacing: -0.01em; }
.st-tarif__preis { margin: 0.7rem 0 0; }
.st-tarif__betrag { font-family: var(--anzeige); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--tinte); letter-spacing: -0.03em; }
.st-tarif__zusatz { margin: 0.4rem 0 1.4rem; font-size: 0.92rem; color: var(--neben); }
.st-tarif .st-liste { padding-top: 1.2rem; border-top: 1px solid var(--linie); }
.st-tarif__knopf { justify-content: center; width: 100%; }
.st-tarif > .st-liste + .st-tarif__knopf { margin-top: 1.6rem; }
.st-tarif__klein { margin: 0.7rem 0 0; font-size: 0.84rem; line-height: 1.5; color: var(--neben); text-align: center; }
.st-tarif__kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; }
.st-gratis { margin: 0.6rem 0 0; font-size: 0.88rem; font-weight: 700; color: var(--gut, #1E8A4C); }

.st-rechner { display: flex; flex-direction: column; height: 100%; }
/* Die Formel: zwei Preisbausteine mit Plus */
.st-formel { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 1.1rem 0 1.4rem; }
.st-formel__teil {
  display: inline-flex; align-items: baseline; gap: 0.4rem; padding: 0.55rem 0.95rem;
  font-size: 0.95rem; color: var(--neben); background: var(--stempel-hell, #EAF2FB); border: 1px solid #C9D9EB; border-radius: 10px;
}
.st-formel__teil b { font-family: var(--anzeige); font-size: 1.6rem; line-height: 1; color: var(--tinte); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.st-formel__plus { font-family: var(--anzeige); font-weight: 700; font-size: 1.4rem; color: var(--plan); }
.st-formel__zeit { font-size: 0.95rem; color: var(--neben); }

.st-rechner__felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--linie); }
.st-rechner__feld { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 0.8rem; }
.st-rechner__feld label { font-weight: 700; color: var(--tinte); font-size: 0.95rem; line-height: 1.3; }
.st-rechner__feld label small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--neben); }
.st-rechner .zaehler input { width: 3.4rem; font-variant-numeric: tabular-nums; }

.st-beispiele { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-top: 1rem; }
.st-beispiele__titel { font-size: 0.84rem; color: var(--neben); margin-right: 0.15rem; }
.st-beispiel {
  padding: 0.3rem 0.75rem; font: inherit; font-size: 0.84rem; color: var(--tinte); cursor: pointer;
  background: #fff; border: 1px solid var(--stahl); border-radius: 999px; transition: background-color var(--dauer), border-color var(--dauer), color var(--dauer);
}
.st-beispiel:hover { border-color: var(--plan); color: var(--plan-tief, var(--plan)); }
.st-beispiel[aria-pressed="true"] { background: var(--plan); border-color: var(--plan); color: #fff; }

.st-ergebnis { margin: 1.3rem 0 1.3rem; padding: 1.1rem 1.2rem; background: var(--grund); border: 1px solid var(--linie); border-radius: 12px; }
.st-ergebnis__summe { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.55rem; margin: 0; }
.st-ergebnis__betrag { font-family: var(--anzeige); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.1rem); line-height: 1; color: var(--tinte); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.st-ergebnis__zeit { font-size: 1rem; color: var(--neben); }
.st-ergebnis__weg { margin: 0.45rem 0 0; font-size: 0.9rem; color: var(--neben); font-variant-numeric: tabular-nums; }

.st-vergleich { margin-top: 1.25rem; padding: 0.4rem clamp(1rem, 3vw, 2rem) 0.6rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--st-rund); overflow-x: auto; }
.st-vergleich table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.st-vergleich caption { padding: 1rem 0 0.4rem; text-align: left; font-family: var(--anzeige); font-weight: 700; font-size: 1.15rem; color: var(--tinte); }
.st-vergleich th, .st-vergleich td { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: middle; }
.st-vergleich tbody tr:last-child > * { border-bottom: 0; }
.st-vergleich thead th { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--neben); font-weight: 700; }
.st-vergleich td { width: 22%; color: var(--tinte); }
.st-vergleich td:last-child { font-weight: 700; }
.st-vergleich tbody th { font-weight: 400; color: #34475D; }
.st-vergleich .st-haken { vertical-align: middle; width: 1.2em; height: 1.2em; }

.st-preisfuss { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.35rem; max-width: 52rem; font-size: 0.88rem; color: var(--neben); }

/* --- 4. Start ----------------------------------------------------------------------------------------------- */

.st-start { background: #fff; border-top: 1px solid var(--linie); }
.st-schritte { position: relative; }
.st-schritte::before {                                /* Maßkette: Linie mit Endstrichen hinter den Nummern */
  content: ""; position: absolute; left: 1.4rem; right: 1.4rem; top: 2.55rem; height: 0; z-index: 0;
  border-top: 1px dashed #B9CDE4;
}
.st-schritt { z-index: 1; }
.st-schritte { list-style: none; counter-reset: schritt; margin: clamp(2rem, 4vw, 2.8rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.st-schritt { counter-increment: schritt; position: relative; padding: 1.4rem 1.4rem 1.5rem; background: var(--grund); border: 1px solid var(--linie); border-radius: 12px; }
.st-schritt::before {
  content: counter(schritt); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: 0.9rem;
  border-radius: 50%; background: var(--plan); color: #fff; font-family: var(--anzeige); font-weight: 700; font-size: 1.05rem;
}
.st-schritt__titel { margin: 0 0 0.4rem; font-size: 1.12rem; }
.st-schritt__titel a { color: inherit; text-decoration: underline; text-decoration-color: var(--himmel); text-decoration-thickness: 2px; text-underline-offset: 0.22em; }
.st-schritt__titel a:hover { color: var(--plan); }
.st-schritt p { margin: 0; font-size: 0.95rem; color: var(--neben); }

/* --- 5. Zusagen --------------------------------------------------------------------------------------------- */

.st-zusagen { position: relative; isolation: isolate; overflow: clip; background: var(--grund); border-top: 1px solid var(--linie); }
.st-zusagen::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; bottom: -200px; right: -220px; width: 900px; aspect-ratio: 16 / 9;
  background: url("../marke/hoehenlinien.svg") center / cover no-repeat; opacity: 0.75; transform: rotate(180deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.st-zusagen__spalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 4vw, 2.8rem); }
.st-zusage__zeichen { display: block; width: 2.4rem; height: 2.4rem; margin-bottom: 0.9rem; fill: none; stroke: var(--plan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.st-zusage__titel { margin: 0 0 0.4rem; font-size: 1.12rem; }
.st-zusage p { margin: 0; font-size: 0.95rem; color: #34475D; }

.st-fragen__mehr { margin: 1rem 0 0; font-size: 0.95rem; color: var(--neben); max-width: 22rem; }

/* --- Bewegung (nur mit html.bewegt) ------------------------------------------------------------------------- */

html.bewegt [data-ein] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--verzug, 0s); }
html.bewegt [data-ein].sichtbar { opacity: 1; transform: none; }
/* Im Kopf nacheinander */
html.bewegt .st-held__text [data-ein]:nth-child(2) { --verzug: 0.08s; }
html.bewegt .st-held__text [data-ein]:nth-child(3) { --verzug: 0.16s; }
html.bewegt .st-held__text [data-ein]:nth-child(4) { --verzug: 0.24s; }
html.bewegt .st-held__text [data-ein]:nth-child(5) { --verzug: 0.32s; }
html.bewegt .st-held__bild[data-ein] { --verzug: 0.2s; transform: translateY(26px) scale(0.98); }
html.bewegt .st-held__bild.sichtbar { transform: none; }
/* Kennzahlen schweben */
html.bewegt .st-schild { animation: st-schweben 6s ease-in-out infinite; }
html.bewegt .st-schild--zwei { animation-delay: -2s; }
html.bewegt .st-schild--drei { animation-delay: -4s; }
@keyframes st-schweben { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
html.bewegt .st-kachel:hover { transform: translateY(-2px); }
/* Betrag im Rechner: kurzer Puls, wenn er sich ändert */
.st-ergebnis__betrag.neu { animation: st-puls 0.35s ease; }
@keyframes st-puls { 0% { color: var(--plan); } 100% { color: var(--tinte); } }

@media (prefers-reduced-motion: reduce) {
  .st-reiter.an .st-tafel, .st-ergebnis__betrag.neu, .st-schild, .st-tafel__punkt { animation: none; }
  .st-weiter span, .st-kachel, .st-reiter__knopf { transition: none; }
}

/* --- Schmalere Bildschirme ---------------------------------------------------------------------------------- */

@media (max-width: 64rem) {
  .st-held__innen { grid-template-columns: minmax(0, 1fr); }
  .st-held__text { max-width: 40rem; }
  .st-held__bild { max-width: 46rem; }
  .st-schild--eins { left: -0.6rem; }
  .st-schild--zwei { right: -0.4rem; }
  .st-tafel { grid-template-columns: minmax(0, 1fr); }
  .st-tafel__bild { order: -1; }
  .st-tarife { grid-template-columns: minmax(0, 1fr); }
  .st-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 44rem) {
  .st-schritte::before { display: none; }
  .st-held::after { width: 140vw; right: -50vw; top: 10%; opacity: 0.6; }
  .st-held__knoepfe .knopf { flex: 1 1 100%; }
  .st-schild { font-size: 0.78rem; padding: 0.45rem 0.7rem 0.45rem 0.6rem; }
  .st-schild b { font-size: 0.92rem; }
  .st-schild--eins { top: auto; bottom: 2.6rem; left: -0.4rem; }
  .st-schild--drei { display: none; }
  .st-reiter__liste { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .st-reiter__knopf { padding: 0.75rem 0.95rem; }
  .st-reiter__kurz { display: none; }
  .st-reiter__raute { grid-row: auto; }
  .st-kacheln, .st-schritte, .st-zusagen__spalten { grid-template-columns: minmax(0, 1fr); }
  .st-rechner__felder { grid-template-columns: minmax(0, 1fr); }
  .st-formel__teil b { font-size: 1.35rem; }
  .st-vergleich td { width: auto; }
  .st-vergleich th, .st-vergleich td { padding: 0.65rem 0.35rem; }
  .st-vergleich tbody th { font-size: 0.88rem; }
}

@media print {
  .st-fenster, .st-schild, .st-held::before, .st-held::after, .st-leistungen::before, .st-preise::before, .st-zusagen::before { display: none; }
  html.bewegt [data-ein] { opacity: 1; transform: none; }
}

/* --- P7.2: Einstiege nach Fach, Schaubild, Ausgaben ------------------------------------------------------------- */
.st-film--ersatz { position: absolute; inset: 0; }
.st-einstieg-liste { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.st-einstieg { display: flex; flex-direction: column; gap: 0.6rem; padding: 0 1.1rem 1.2rem; background: #fff; border: 1px solid var(--linie); border-top: 3px solid var(--ebene, var(--plan)); border-radius: var(--rundung); box-shadow: var(--schatten); overflow: hidden; }
.st-einstieg__bild { display: block; margin: 0 -1.1rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--nebel); border-bottom: 1px solid var(--linie); }
.st-einstieg__bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.st-einstieg__titel { margin: 0.35rem 0 0; font-family: var(--anzeige, inherit); font-size: 1.22rem; line-height: 1.2; }
.st-einstieg__titel a { color: var(--tinte); }
.st-einstieg__titel a:hover { color: var(--ebene, var(--plan-tief)); text-decoration: none; }
.st-einstieg__fuer { margin: 0; font-size: 0.9rem; line-height: 1.45; color: var(--neben); }
.st-einstieg .st-liste { margin: 0.2rem 0 0.4rem; font-size: 0.97rem; }
.st-einstieg .st-weiter { margin-top: auto; }
.st-einstiege__quelle { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--neben); }
.st-fluss { margin: 2rem 0 0; padding: 1.4rem 1.2rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--rundung); box-shadow: var(--schatten); }
.st-fluss__bild { display: block; width: 100%; height: auto; }
.st-fluss__bild--hoch { display: none; max-width: 22rem; margin-inline: auto; }
.st-fluss__kasten { fill: var(--plan-hell); stroke: #B9CDE4; stroke-width: 1.2; }
.st-fluss__kasten--start { fill: #EEF3EC; stroke: #B9CBB3; }
.st-fluss__kasten--kabel { fill: #E7EEF5; stroke: #B5C6D8; }
.st-fluss__kasten--plan { fill: #FCF0E4; stroke: #E6C3A0; }
.st-fluss__text { font-family: inherit; font-size: 14.5px; font-weight: 700; fill: var(--tinte); }
.st-fluss__klein { font-family: inherit; font-size: 12px; fill: #4D6079; }
.st-fluss__linie { fill: none; stroke: #5B6E86; stroke-width: 1.6; }
.st-fluss__spitze { fill: #5B6E86; }
.st-fluss__hinweis { margin: 0.9rem 0 0; max-width: 52rem; font-size: 0.92rem; line-height: 1.55; color: var(--neben); }
.st-ausgabe-liste { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.st-ausgabe figure { margin: 0; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--rundung); box-shadow: var(--schatten); overflow: hidden; }
.st-ausgabe img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-bottom: 1px solid var(--linie); background: var(--nebel); }
.st-ausgabe figcaption { display: grid; gap: 0.25rem; padding: 0.8rem 0.9rem 0.9rem; font-size: 0.92rem; line-height: 1.45; }
.st-ausgabe figcaption b { font-family: var(--anzeige, inherit); font-size: 1.02rem; }
.st-ausgabe figcaption span { color: #2D3F55; }
.st-ausgabe figcaption small { font-size: 0.8rem; color: var(--neben); }
@media (max-width: 68rem) { .st-einstieg-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-ausgabe-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 56rem) { .st-fluss__bild--quer { display: none; } .st-fluss__bild--hoch { display: block; } }
@media (max-width: 40rem) { .st-einstieg-liste { grid-template-columns: minmax(0, 1fr); } .st-ausgabe-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 26rem) { .st-ausgabe-liste { grid-template-columns: minmax(0, 1fr); } }

/* Musterunterlagen unter den Ausgaben */
.st-muster { margin-top: clamp(1.6rem, 3vw, 2.4rem); padding: 1.2rem 1.4rem 1.3rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--rundung); }
.st-muster__titel { margin: 0 0 0.3rem; font-size: 1.1rem; }
.st-muster__text { margin: 0 0 0.9rem; font-size: 0.92rem; color: #34475D; }
.st-muster__liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.55rem 1.6rem; }
.st-muster__liste a { font-weight: 700; color: var(--plan); display: inline-block; padding: 0.3rem 0; }
.st-muster__liste small { display: block; font-size: 0.8rem; color: var(--neben); }

/* Die letzten drei Neuigkeiten im Abschnitt „Worauf Sie sich verlassen können“ */
.st-neu { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.6rem; border-top: 1px solid var(--linie); }
.st-neu__titel { margin: 0 0 0.9rem; font-size: 1.1rem; }
.st-neu__liste { list-style: none; margin: 0 0 0.4rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem 2rem; }
.st-neu__liste li { display: grid; gap: 0.2rem; }
.st-neu__liste time { font-size: 0.8rem; color: var(--neben); font-variant-numeric: tabular-nums; }
.st-neu__liste a, .st-neu__liste b { font-weight: 700; color: var(--tinte); }
.st-neu__liste span { font-size: 0.92rem; line-height: 1.5; color: #34475D; }

/* Arbeitsbereiche im Preisrechner: Mehrfachauswahl, dazu „Unbegrenzt“ */
.st-bereiche { display: grid; gap: 0.45rem; margin: 0 0 1rem; padding: 0; border: 0; min-width: 0; }
.st-bereiche legend { padding: 0; margin-bottom: 0.4rem; font-weight: 700; }
.st-bereiche legend small { font-weight: 400; opacity: 0.8; }
.st-bereich { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; padding: 0.55rem 0.7rem; border: 1px solid rgba(127, 140, 160, 0.35); border-radius: 8px; cursor: pointer; text-align: left; }
.st-bereich:has(input:checked) { border-color: currentColor; }
.st-bereich input { margin-top: 0.25rem; }
.st-bereich small { display: block; opacity: 0.8; overflow-wrap: anywhere; }
.st-rechner--pauschal .st-rechner__felder, .st-rechner--pauschal .st-beispiele, .st-rechner--pauschal .st-formel { opacity: 0.45; }
