/* ==========================================================================
   Datei: startseite.css
   Zweck: Gestaltung der Startseite (index.php). Gemeinsame Bausteine wie
          Infokarten, Leistungskacheln und Aufruf stehen in komponenten.css.
   Inhalt:
     1. Bühne
     2. Lächel-Bogen (Deko)
     3. Philosophie
     4. Praxis-Einblicke
     5. Team
   Typische Änderungen: Größe der Überschrift -> 1. (.buehne h1); Bilder der Diashow -> index.php.
   ========================================================================== */

/* === 1. Bühne === */
.buehne { padding-block: clamp(1rem, 4vw, 3.5rem) var(--abstand); }
.buehne-raster { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .buehne-raster { grid-template-columns: 1.05fr .95fr; } }

.dachzeile { font-size: .95rem; font-weight: 600; color: var(--tinte-leise); margin-bottom: .6rem; }
.buehne h1 { font-size: clamp(2.4rem, 7.2vw, 4.4rem); font-weight: 750; letter-spacing: -.025em; line-height: 1.02; }
.buehne h1 .zeile { display: block; }
.buehne h1 .markiert { color: var(--signal-dunkel); }
@media (min-width: 900px) { .buehne h1 .zeile { white-space: nowrap; } }

.buehne-satz { font-size: clamp(1.05rem, 2.2vw, 1.2rem); color: var(--tinte-leise); max-width: 34rem; margin-bottom: 1rem; }
.buehne-info { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1rem; margin-bottom: 1.35rem; font-size: .95rem; }
.buehne-adresse { color: var(--tinte-leise); white-space: nowrap; }
.buehne .knopfreihe { margin-bottom: 1rem; }

.buehne-bild { position: relative; }

/* Diashow: Bilder liegen übereinander und blenden weich über (Steuerung: js/main.js, Abschnitt 7) */
.diashow {
    position: relative; aspect-ratio: 4 / 3; overflow: hidden;
    border-radius: var(--rund-karte); box-shadow: var(--schatten); background: var(--flaeche);
}
.dia {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1.4s ease;
}
.dia.aktiv { opacity: 1; }
.buehne-aerztin {
    position: absolute; left: .75rem; bottom: -1.75rem;
    display: flex; align-items: center; gap: 1rem;
    padding: .55rem 1.5rem .55rem .55rem; background: var(--grund);
    border-radius: 999px; box-shadow: var(--schatten); font-size: .95rem; line-height: 1.3;
}
.buehne-aerztin img { width: 4.75rem; height: 4.75rem; object-fit: cover; object-position: 50% 20%; border-radius: 50%; }
.buehne-aerztin strong { display: block; font-size: 1.05rem; }
@media (min-width: 900px) { .buehne-aerztin { left: -1.5rem; } }
@media (max-width: 420px) {
    .buehne-aerztin { gap: .75rem; padding-right: 1.1rem; font-size: .88rem; }
    .buehne-aerztin img { width: 3.75rem; height: 3.75rem; }
    .buehne-aerztin strong { font-size: .95rem; }
}

/* === 2. Lächel-Bogen (Deko) === */
/* Zeichnet sich einmal beim Laden ein; bei „weniger Bewegung“ steht er sofort da. */
.laechel-bogen { width: clamp(9rem, 22vw, 13rem); height: auto; margin: .35rem 0 1rem; overflow: visible; }
.laechel-bogen path { fill: none; stroke: var(--signal); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 0; }
.js .laechel-bogen path { animation: bogen-zeichnen 1.4s .3s ease-out both; }
@keyframes bogen-zeichnen { from { stroke-dashoffset: 240; } }

/* === 3. Philosophie === */
.philosophie-raster { display: grid; gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .philosophie-raster { grid-template-columns: .9fr 1.1fr; } }
.philosophie-bild { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund-karte); box-shadow: var(--schatten); }
.philosophie-text { display: grid; gap: 1rem; max-width: 38rem; }
.philosophie-text h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); letter-spacing: -.02em; }
.motto { margin-top: .5rem; padding-left: 1rem; border-left: 4px solid var(--signal); font-size: 1.15rem; font-weight: 600; }

/* === 4. Praxis-Einblicke === */
.einblicke { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.einblicke img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund-karte); }
@media (min-width: 900px) {
    .einblicke { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 1fr); }
    .einblick-gross { grid-row: span 2; }
    .einblick-gross img { aspect-ratio: auto; }
    .einblicke li:last-child { grid-column: span 2; }
    .einblicke li:last-child img { aspect-ratio: 2.1 / 1; }
}
@media (max-width: 899px) { .einblick-gross { grid-column: span 2; } }

/* === 5. Team === */
.team-raster { display: grid; gap: 1.75rem; align-items: center; grid-template-columns: minmax(7rem, 11rem) 1fr; }
.team-bild { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--rund-karte); box-shadow: var(--schatten); }
.team-raster h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); letter-spacing: -.015em; }
.team-rolle { color: var(--tinte-leise); margin-bottom: 1rem; }
.team-fakten { list-style: none; padding: 0; display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.team-fakten strong { display: inline-block; min-width: 5.5rem; color: var(--signal-dunkel); }
@media (max-width: 560px) { .team-raster { grid-template-columns: 1fr; } .team-bild { max-width: 12rem; } }
