/* ==========================================================================
   Datei: startseite.css
   Zweck: Gestaltung der Startseite (index.php). Gemeinsame Bausteine wie
          Abschnitte, Galerie und Beitragskarten stehen in komponenten.css.
   Inhalt:
     1. Bühne
     2. Schnellinfos
     3. Leistungen
     4. Stärken
     5. Team
     6. Galerie-Satz
     7. Anfahrt
   Typische Änderungen: Bühnenfoto-Größe -> 1.; Kachelgröße -> 3.
   ========================================================================== */

/* === 1. Bühne === */
.buehne { padding-block: clamp(1rem, 4vw, 3.5rem) clamp(2rem, 5vw, 3.5rem); overflow-x: clip; }
.buehne-raster { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.dachzeile { font-weight: 600; color: var(--tinte-leise); margin-bottom: .6rem; }
.buehne h1 { font-size: clamp(2.3rem, 7.4vw, 4.4rem); line-height: 1.02; margin-bottom: 1rem; }
/* Überschrift in zwei festen Zeilen */
.buehne .zeile { display: block; white-space: nowrap; }
/* Gelber Pinselstrich unter „ganze Haus“ (wie frisch gestrichen) */
.markiert {
    background: linear-gradient(transparent 62%, var(--signal) 62%, var(--signal) 92%, transparent 92%);
    padding-inline: .06em; margin-inline: -.06em;
}
.buehne-satz { max-width: 34em; color: var(--tinte-leise); margin-bottom: 1rem; }
.buehne-info { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.1rem; margin-bottom: 1.25rem; font-size: .95rem; }
.buehne-adresse { color: var(--tinte-leise); white-space: nowrap; }
.buehne-anfrage { margin-top: 1rem; }
.buehne .knopfreihe .knopf { flex: 1 1 12rem; max-width: 16rem; }

/* Farbfächer aus dem Logo, sehr blass hinter Titel und Einleitung (klappt einmal auf) */
.buehne-text { position: relative; isolation: isolate; }
.buehne-text-faecher {
    position: absolute; z-index: -1; pointer-events: none;
    width: min(46rem, 112%); height: auto; left: 50%; top: 1.5rem; transform: translateX(-50%);
    opacity: .13;
}

.buehne-bild { position: relative; }
.buehne-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: var(--schatten); }
.buehne-bild figcaption {
    position: absolute; left: 1rem; bottom: 1rem;
    padding: .45rem .9rem; border-radius: var(--rund-knopf);
    background: rgb(255 255 255 / .94); font-size: .88rem; font-weight: 600;
}

@media (min-width: 900px) { .buehne-raster { grid-template-columns: 1.05fr 1fr; } }
@media (max-width: 899px) { .buehne-text-faecher { width: 118%; top: 2.5rem; } }
@media (max-width: 520px) {
    .buehne .knopfreihe { gap: .6rem; }
    .buehne .knopfreihe .knopf { flex-basis: 9rem; padding-inline: 1rem; }
    .buehne-satz { font-size: 1rem; }
}

/* === 2. Schnellinfos === */
.schnellinfos { padding-bottom: clamp(1rem, 3vw, 2rem); }
.schnellinfos-raster { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.info-karte {
    display: grid; align-content: start; gap: .35rem; padding: 1.4rem 1.5rem;
    border: 1px solid var(--linie); border-radius: var(--rund-karte); background: #fff;
}
.info-symbol { width: 1.6rem; height: 1.6rem; color: var(--signal-dunkel); margin-bottom: .3rem; }
.info-karte h2 { font-size: .95rem; font-weight: 600; color: var(--tinte-leise); font-stretch: 100%; letter-spacing: 0; }
.info-gross { font-size: 1.2rem; font-weight: 600; line-height: 1.35; }
.info-gross a { text-decoration: none; }
.info-klein { font-size: .92rem; overflow-wrap: anywhere; }

/* === 3. Leistungen === */
.leistungen { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
/* Breit: alle fünf Leistungen in einer Reihe, keine einzelne Kachel in Reihe zwei */
@media (min-width: 1100px) { .leistungen { grid-template-columns: repeat(5, 1fr); } }
.leistung { overflow: hidden; border-radius: var(--rund-karte); background: #fff; border: 1px solid var(--linie); }
.leistung img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.leistung-text { padding: 1.1rem 1.25rem 1.35rem; }
.leistung h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; margin-bottom: .35rem; }
.leistung-symbol { color: var(--signal-dunkel); }
.leistung p { color: var(--tinte-leise); font-size: .98rem; }
/* Handy: kompakte Zeilen mit kleinem Foto links statt hoher Kacheln */
@media (max-width: 599px) {
    .leistungen { gap: .6rem; }
    .leistung { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; }
    .leistung img { height: 100%; aspect-ratio: 1; }
    .leistung-text { padding: .8rem 1rem; }
    .leistung h3 { font-size: 1.05rem; margin-bottom: .15rem; }
    .leistung p { font-size: .92rem; }
}

/* === 4. Stärken === */
.staerken-raster { display: grid; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.staerken-titel { font-size: clamp(1.6rem, 3.6vw, 2.3rem); max-width: 14em; margin-bottom: 1.75rem; }
.staerken { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
.staerken li { padding-left: 1.1rem; border-left: 3px solid var(--signal); }
.staerken h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.staerken p { color: var(--tinte-leise); }
.staerken-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; }
@media (min-width: 860px) { .staerken-raster { grid-template-columns: 1fr 1fr; } }

/* === 5. Team === */
.team-raster { display: grid; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.team-text h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); margin-bottom: .8rem; }
.team-text p { color: var(--tinte-leise); margin-bottom: 1.25rem; }
.team-karten { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 2vw, 1rem); }
.team-karten img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; margin-bottom: .6rem; }
.team-karten strong { display: block; line-height: 1.25; }
.team-karten span { font-size: .9rem; color: var(--tinte-leise); }
@media (min-width: 860px) { .team-raster { grid-template-columns: .8fr 1.2fr; } }
@media (max-width: 420px) { .team-karten strong { font-size: .92rem; } .team-karten span { font-size: .8rem; } }

/* === 6. Galerie-Satz === */
.galerie-satz { max-width: 44rem; margin-top: 1.25rem; color: var(--tinte-leise); }
.galerie-satz strong { color: var(--tinte); }

/* === 7. Anfahrt === */
.anfahrt-raster { display: grid; gap: 2rem; align-items: center; }
.anfahrt-raster h2 { font-size: clamp(1.7rem, 3.8vw, 2.5rem); margin-bottom: .8rem; }
.anfahrt-adresse { margin-bottom: 1.25rem; font-size: 1.15rem; }
@media (min-width: 860px) { .anfahrt-raster { grid-template-columns: 1fr 1.6fr; } }
