/* Startseite. Jede Regel hängt an .seite-start (body) oder an start-Klassen, weil alle Bereichsdateien auf jeder Seite laden. */
.seite-start .inhalt { max-width: none; padding: 0; }

.start-rahmen { max-width: var(--rahmen); margin: 0 auto; padding: 0 1rem; }

/* Kopfbereich mit Suche */
.start-held {
    color: var(--schiefer-text);
    background: var(--schiefer);
    background-image: linear-gradient(180deg, var(--schiefer) 0%, #24333f 100%);
    padding: 2.25rem 0 2.5rem;
}
.start-held-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3rem; align-items: center; }
.start-held-text { min-width: 0; }
.start-held h1 {
    margin: 0 0 0.75rem;
    color: #fff;
    font-size: clamp(1.85rem, 1.1rem + 3.2vw, 3.1rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 750;
    hyphens: manual;
}
.start-einleitung { margin: 0 0 1.5rem; font-size: 1.1rem; max-width: 36rem; }

.seite-start .start-suche {
    margin: 0;
    padding: 1.25rem;
    color: var(--text);
    background: #fff;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(8, 16, 22, 0.35);
}
.seite-start .start-suche label:first-child { margin-top: 0; font-size: 1.05rem; }
.start-suchzeile { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seite-start .start-suchzeile input[type="search"] { flex: 1 1 14rem; min-width: 0; margin: 0; min-height: 2.9rem; }
.seite-start .start-suchzeile .knopf {
    flex: 0 0 auto;
    margin: 0;
    min-height: 2.9rem;
    font-weight: 650;
    color: var(--schiefer);
    background: var(--signal);
}
.seite-start .start-suchzeile .knopf:hover { background: #f0c45c; }
@media (max-width: 30rem) {
    .seite-start .start-suchzeile .knopf { flex-basis: 100%; }
}

.start-schnellwahl { margin-top: 1.25rem; }
.start-schnellwahl p { margin: 0 0 0.5rem; font-size: 0.95rem; }
.start-schnellwahl ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.start-schnellwahl a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.4rem 0.9rem;
    color: #fff;
    text-decoration: none;
    border: 1px solid var(--schiefer-linie);
    border-radius: 999px;
    background: var(--schiefer-hell);
}
.start-schnellwahl a:hover { border-color: var(--signal); }
.start-schnellwahl a span { font-size: 0.85rem; font-variant-numeric: tabular-nums; color: #a9bccb; }

/* Schnitt durch das Dach: auf dem Handy weg, die Beschriftung wäre zu klein */
.start-schnitt { display: none; margin: 0; min-width: 0; }
.start-schnitt svg { display: block; width: 100%; height: auto; }
.start-schnitt text { font: 15px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; fill: var(--schiefer-text); }
.start-schnitt .start-schnitt-hervor { fill: #fff; font-weight: 700; }
.start-schnitt .start-schnitt-klein { font-size: 13px; fill: #a9bccb; }
.start-schnitt figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: #a9bccb; }
@media (min-width: 40rem) {
    .start-schnitt { display: block; max-width: 34rem; }
}
@media (min-width: 62rem) {
    .start-held { padding: 3.5rem 0 4rem; }
    .start-held-raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
    .start-schnitt { max-width: none; }
}

/* Zahlenleiste */
.start-zahlen { background: var(--flaeche); border-bottom: 1px solid var(--rand); }
.start-zahlen ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 2rem; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.start-zahlen li { min-width: 0; }
.start-zahlen a { display: inline-block; padding: 0.35rem 0; color: var(--text); text-decoration: none; }
.start-zahlen a:hover { color: var(--akzent); text-decoration: underline; }
.start-zahlen strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; color: var(--akzent); margin-right: 0.15rem; }

/* Bereiche */
.start-abschnitt { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.start-abschnitt h2, .start-herkunft h2 { margin: 0 0 1.25rem; font-size: 1.5rem; letter-spacing: -0.01em; }
.start-bereiche { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2rem; }
@media (min-width: 40rem) { .start-bereiche { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .start-bereiche { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.start-bereiche a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.15rem 0.9rem;
    align-content: start;
    height: 100%;
    padding: 1.1rem 0 1.25rem;
    color: var(--text);
    text-decoration: none;
    border-top: 3px solid var(--rand);
}
.start-bereiche a:hover { border-top-color: var(--akzent); }
.start-bereiche a:hover strong { text-decoration: underline; }
.start-symbol {
    grid-row: span 2;
    fill: none;
    stroke: var(--akzent);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.start-bereiche strong { color: var(--akzent); font-size: 1.15rem; line-height: 1.3; }
.start-bereiche span { font-size: 0.95rem; color: #46525a; }

/* Woher die Daten kommen */
.start-herkunft { padding: 2.5rem 0 3rem; background: var(--flaeche); border-top: 1px solid var(--rand); }
.start-herkunft-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 3rem; }
.start-herkunft-raster > * { min-width: 0; }
.start-herkunft p { margin: 0; max-width: 34rem; }
.start-schritte { list-style: none; counter-reset: schritt; margin: 0; padding: 0; }
.start-schritte li {
    counter-increment: schritt;
    position: relative;
    padding: 0 0 1.25rem 3rem;
    display: flex;
    flex-direction: column;
}
.start-schritte li::before {
    content: counter(schritt);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    background: var(--schiefer);
    border-radius: 50%;
}
.start-schritte li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(1rem - 1px);
    top: 2.25rem;
    bottom: 0.25rem;
    border-left: 2px solid var(--rand);
}
.start-schritte strong { font-size: 1.1rem; line-height: 2rem; }
.start-hinweis { padding: 0.75rem 1rem; background: #fff; border-left: 4px solid var(--signal); }
@media (min-width: 56rem) {
    .start-herkunft-raster { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
    .start-hinweis { grid-column: 2; }
}
