/* ============================================================
   HOME – Liquid Glass Design
   ============================================================ */

/* ── Seitencontainer: kein max-width / padding (Vollbreite) ── */
.home-page {
  padding-top: 0;
}

.main:has(.home-page) {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
  padding-bottom: 0;
}

/* ── Hintergrund-Dekorationen ────────────────────────────── */
.home-page::before,
.home-page::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(90px);
  opacity: 0.18;
}

.home-page::before {
  width: 650px;
  height: 650px;
  background: radial-gradient(
    circle,
    rgba(120, 196, 58, 0.55),
    transparent 70%
  );
  top: 10%;
  right: -15%;
}

.home-page::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(120, 196, 58, 0.4), transparent 70%);
  bottom: 20%;
  left: -12%;
}

/* ============================================================
   HERO – Vollbreites Titelbild, kein Seitencropping
   ============================================================ */

.home-hero {
  position: relative;
  width: 100%;
}

/* Wrapper: Höhe durch Bild bestimmt, max-height begrenzt */
.home-hero-img-wrap {
  position: relative;
  width: 100%;
  max-height: 62vh;
  min-height: 300px;
  overflow: hidden;
}

/* Bild immer volle Breite – kein seitliches Abschneiden */
.home-hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  will-change: transform;
}

/* Gradient: leicht oben, stärker unten */
.home-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(17, 28, 16, 0.06) 0%,
    rgba(17, 28, 16, 0.18) 45%,
    rgba(17, 28, 16, 0.6) 100%
  );
  pointer-events: none;
}

/* ── Glasbox überlappt das Foto von unten ─────────────────── */
.home-overlap-wrap {
  max-width: var(--max-w);
  margin: -7rem auto 0;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 10;
}

.home-overlap-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(30px) saturate(1.9);
  -webkit-backdrop-filter: blur(30px) saturate(1.9);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.25),
    0 6px 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

/* Obere Hälfte: weißer Text über dem dunklen Foto */
.home-overlap-title {
  padding: 2.25rem 2.75rem 2rem;
}

.home-hero-zeile1 {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  line-height: 1.5;
  margin-bottom: 0.55rem;
  letter-spacing: 0.01em;
}

.home-hero-zeile2 {
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Untere Hälfte: dunkler Einleitungstext + Kontakt-Buttons */
.home-overlap-text {
  padding: 1.75rem 2.75rem 2.25rem;
  font-size: 1.025rem;
  line-height: 1.78;
  color: var(--c-text);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

/* Kontakt-Buttons in der Glasbox */
.home-overlap-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.home-overlap-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background var(--tr-fast),
    transform var(--tr-fast),
    box-shadow var(--tr-fast);
}

.home-overlap-btn svg {
  flex-shrink: 0;
}

.home-overlap-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* Grün (Telefon + E-Mail) */
.home-overlap-btn--gruen {
  background: var(--c-brand);
  box-shadow: 0 4px 16px rgba(120, 196, 58, 0.35);
}

.home-overlap-btn--gruen:hover {
  background: var(--c-brand-hover);
  box-shadow: 0 8px 24px rgba(120, 196, 58, 0.48);
}

/* Blau (Online-Termin) */
.home-overlap-btn--blau {
  background: rgb(16, 122, 202);
  box-shadow: 0 4px 16px rgba(16, 122, 202, 0.35);
}

.home-overlap-btn--blau:hover {
  background: rgb(12, 98, 163);
  box-shadow: 0 8px 24px rgba(16, 122, 202, 0.48);
}

/* Fallback ohne Foto */
.home-fallback-header {
  padding: calc(var(--header-h) + 2rem) var(--pad-x) 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.home-hero-zeile1-fallback {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-brand-hover);
  margin-bottom: 0.5rem;
}

.home-hero-zeile2-fallback {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ============================================================
   AKTUELLE MELDUNGEN – Glasige Alert-Boxen
   ============================================================ */

.home-aktuelles {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding: 0 var(--pad-x);
}

.home-aktuelles-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-infobox {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.15rem 1.6rem;
  border-radius: var(--r-l);
  border-left: 4px solid transparent;
  /* Echter Glaseffekt: weißer Tint + starkes Blur */
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.06),
    0 1px 4px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation: home-infobox-in 380ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes home-infobox-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typ-Varianten: nur Akzentfarbe und Icon-Tönung */
.home-infobox--info {
  border-left-color: #3b82f6;
  color: #1e3a5f;
}
.home-infobox--hinweis {
  border-left-color: #f59e0b;
  color: #78350f;
}
.home-infobox--wichtig {
  border-left-color: #ef4444;
  color: #7f1d1d;
}
.home-infobox--positiv {
  border-left-color: var(--c-brand);
  color: #14532d;
}

/* Subtile Farbtönung je Typ im Hintergrund */
.home-infobox--info {
  background: rgba(219, 234, 254, 0.45);
}
.home-infobox--hinweis {
  background: rgba(254, 243, 199, 0.45);
}
.home-infobox--wichtig {
  background: rgba(254, 226, 226, 0.45);
}
.home-infobox--positiv {
  background: rgba(209, 250, 229, 0.45);
}

.home-infobox-icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.home-infobox-body {
  flex: 1;
  min-width: 0;
}

.home-infobox-titel {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.home-infobox-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.home-infobox-text p {
  margin: 0;
}

/* ============================================================
   TEASER-SEKTIONEN – alternierend links / rechts
   ============================================================ */

.home-teaser {
  max-width: var(--max-w);
  margin: 5.5rem auto 0;
  padding: 0 var(--pad-x);
}

.home-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Rechts-Variante: Bild zuerst (links), Text danach (rechts) */
.home-teaser--rechts .home-teaser-inner {
  direction: rtl;
}

.home-teaser--rechts .home-teaser-content,
.home-teaser--rechts .home-teaser-img-wrap {
  direction: ltr;
}

/* ── Foto-Seite ──────────────────────────────────────────── */
.home-teaser-img-wrap {
  position: relative;
  /* JS setzt hier translateY für Parallax */
}

.home-teaser-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow:
    0 12px 48px rgba(0, 0, 0, 0.13),
    0 4px 16px rgba(0, 0, 0, 0.07);
}

.home-teaser-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Eleganter Zoom: 2.4 Sekunden smooth */
  transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.home-teaser-img:hover img {
  transform: scale(1.06);
}

/* Dekorativer Glow-Orb hinter dem Foto */
.home-teaser-orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(120, 196, 58, 0.38),
    transparent 70%
  );
  filter: blur(45px);
  pointer-events: none;
  z-index: -1;
  bottom: -40px;
  right: -40px;
}

.home-teaser--rechts .home-teaser-orb {
  right: auto;
  left: -40px;
}

/* ── Text-Seite ──────────────────────────────────────────── */
.home-teaser-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.home-teaser-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(120, 196, 58, 0.12);
  border: 1px solid rgba(120, 196, 58, 0.3);
  color: var(--c-brand-hover);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  align-self: flex-start;
}

.home-teaser-titel {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.home-teaser-text {
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.78;
}

/* ── Button-Gruppe (1 oder 2 Buttons) ───────────────────── */
.home-teaser-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Basis-Button (gemeinsame Eigenschaften) */
.home-teaser-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    background var(--tr-fast),
    transform var(--tr-fast),
    box-shadow var(--tr-fast),
    border-color var(--tr-fast),
    color var(--tr-fast);
}

.home-teaser-btn:hover {
  transform: translateY(-2px);
}

/* Hellgrün (Standard) */
.home-teaser-btn--gruen {
  background: var(--c-brand);
  color: #fff;
  box-shadow: 0 4px 18px rgba(120, 196, 58, 0.32);
}

.home-teaser-btn--gruen:hover {
  background: var(--c-brand-hover);
  box-shadow: 0 8px 28px rgba(120, 196, 58, 0.44);
  color: #fff;
}

/* Dunkelgrün */
.home-teaser-btn--dunkelgruen {
  background: var(--c-brand-hover);
  color: #fff;
  box-shadow: 0 4px 18px rgba(90, 154, 40, 0.35);
}

.home-teaser-btn--dunkelgruen:hover {
  background: #4a8020;
  box-shadow: 0 8px 28px rgba(90, 154, 40, 0.48);
  color: #fff;
}

/* Weiß / Glas */
.home-teaser-btn--weiss {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--c-brand-hover);
  border-color: rgba(120, 196, 58, 0.4);
  box-shadow:
    0 2px 12px rgba(120, 196, 58, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-teaser-btn--weiss:hover {
  background: rgba(120, 196, 58, 0.1);
  border-color: var(--c-brand);
  color: var(--c-brand-hover);
  box-shadow:
    0 6px 20px rgba(120, 196, 58, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-teaser-btn svg {
  flex-shrink: 0;
}

.home-teaser-btn-icon {
  font-size: 1.1em;
  line-height: 1;
}

/* ── Eingebettete Sprechzeiten ───────────────────────────── */
.home-teaser-sprechzeiten {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--r-l);
  padding: 1.3rem 1.6rem;
  box-shadow:
    0 4px 20px rgba(120, 196, 58, 0.08),
    var(--sh-s);
}

.home-teaser-sprechzeiten .footer-status-dot {
  margin-top: 0px;
}

.home-sz-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  font-size: 0.875rem;
  color: var(--c-text);
}

.home-sz-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.home-sz-table th {
  font-weight: 600;
  color: var(--c-text);
  padding: 0.32rem 0.5rem 0.32rem 0;
  text-align: left;
  white-space: nowrap;
  width: 48%;
}

.home-sz-table td {
  padding: 0.32rem 0;
  color: var(--c-text-muted);
}

.home-sz-table tr + tr th,
.home-sz-table tr + tr td {
  border-top: 1px solid rgba(120, 196, 58, 0.12);
}

.home-sz-hinweis {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.home-sz-hinweis svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  margin-top: 0.15em;
}

/* ============================================================
   TEAM-VORSCHAU – Glasbox mit Arzt-Karten
   ============================================================ */

.home-team {
  max-width: var(--max-w);
  margin: 6rem auto 4.5rem;
  padding: 0 var(--pad-x);
}

.home-team-inner {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--r-xl);
  padding: 3rem 3rem 2.75rem;
  box-shadow:
    0 10px 48px rgba(120, 196, 58, 0.1),
    0 2px 12px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.home-team-header {
  text-align: center;
  margin-bottom: 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.home-team-header .home-teaser-badge {
  align-self: center;
}

.home-team-titel {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.home-team-text {
  max-width: 580px;
  color: var(--c-text-muted);
  line-height: 1.78;
  text-align: center;
}

.home-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

/* Arzt-Karte – klickbar */
.home-team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.75rem 1.25rem 1.4rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--r-xl);
  text-align: center;
  cursor: pointer;
  transition:
    transform var(--tr),
    box-shadow var(--tr),
    border-color var(--tr);
  box-shadow:
    0 2px 14px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.home-team-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 196, 58, 0.3);
  box-shadow:
    0 14px 44px rgba(120, 196, 58, 0.16),
    0 4px 12px rgba(0, 0, 0, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.home-team-card:focus-visible {
  outline: 2px solid var(--c-brand);
  outline-offset: 3px;
}

/* Rundes Foto */
.home-team-card-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(120, 196, 58, 0.22);
  box-shadow: 0 0 0 6px rgba(120, 196, 58, 0.08);
  flex-shrink: 0;
  background: var(--c-light);
  transition:
    border-color var(--tr),
    box-shadow var(--tr);
}

.home-team-card:hover .home-team-card-photo {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 6px rgba(120, 196, 58, 0.18);
}

.home-team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Eleganter Zoom: 2.4 Sekunden */
  transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-team-card:hover .home-team-card-photo img {
  transform: scale(1.07);
}

.home-team-card-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
}

.home-team-card-specialty {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-brand-hover);
}

.home-team-card-name {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--c-text);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Kleiner "Mehr erfahren"-Hinweis */
.home-team-card-hint {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--c-brand-hover);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity var(--tr-fast),
    transform var(--tr-fast);
  margin-top: -0.25rem;
}

.home-team-card:hover .home-team-card-hint {
  opacity: 1;
  transform: translateY(0);
}

.home-team-footer {
  display: flex;
  justify-content: center;
  padding-top: 0.25rem;
}

/* ============================================================
   TEAM POPUP – Glasmodal
   ============================================================ */

.home-popup {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}

.home-popup.is-open {
  pointer-events: auto;
}

.home-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 28, 16, 0);
  backdrop-filter: blur(0px) saturate(1);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  transition:
    background 300ms ease,
    backdrop-filter 300ms ease,
    -webkit-backdrop-filter 300ms ease;
}

.home-popup.is-open .home-popup-backdrop {
  background: rgba(17, 28, 16, 0.5);
  backdrop-filter: blur(8px) saturate(0.9);
  -webkit-backdrop-filter: blur(8px) saturate(0.9);
}

.home-popup-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--r-xl);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  max-height: 90vh;
  /* Einflug-Animation */
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition:
    transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 300ms ease;
}

.home-popup.is-open .home-popup-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Schließen-Button */
.home-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  cursor: pointer;
  transition:
    background var(--tr-fast),
    transform var(--tr-fast),
    color var(--tr-fast);
  box-shadow: var(--sh-s);
}

.home-popup-close:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.1) rotate(90deg);
  color: var(--c-brand-hover);
}

/* Inhalt scrollbar */
.home-popup-content {
  overflow-y: auto;
  overflow-x: hidden;
  max-height: 90vh;
  overscroll-behavior: contain;
}

/* Personen-Layout (wie team-modal) */
.home-popup-person {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 340px;
}

.home-popup-photo {
  position: relative;
  overflow: hidden;
  background: var(--c-light);
  border-radius: var(--r-xl) 0 0 var(--r-xl);
}

.home-popup-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.home-popup-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
}

.home-popup-info {
  padding: 2rem 2rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.home-popup-specialty {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-brand-hover);
}

.home-popup-name {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 0.25rem;
}

.home-popup-bio {
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--c-text-muted);
  flex: 1;
}

.home-popup-bio p {
  margin-bottom: 0.6rem;
}

.home-popup-bio p:last-child {
  margin-bottom: 0;
}

.home-popup-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(120, 196, 58, 0.15);
}

/* Kontakt-Chips im Popup (wie team-contact-chip) */
.home-popup-contacts .team-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(120, 196, 58, 0.1);
  border: 1px solid rgba(120, 196, 58, 0.25);
  color: var(--c-brand-hover);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  transition:
    background var(--tr-fast),
    border-color var(--tr-fast),
    transform var(--tr-fast);
  text-decoration: none;
}

.home-popup-contacts .team-contact-chip:hover {
  background: rgba(120, 196, 58, 0.2);
  border-color: var(--c-brand);
  transform: translateY(-1px);
}

/* Mobil: Popup einspaltig */
@media (max-width: 540px) {
  .home-popup-person {
    grid-template-columns: 1fr;
  }

  .home-popup-photo {
    aspect-ratio: 3 / 4;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }

  .home-popup-info {
    padding: 1.5rem;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 58rem) {
  .home-teaser-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-teaser--rechts .home-teaser-inner {
    direction: ltr;
  }

  /* Foto immer oben auf Tablet/Mobil */
  .home-teaser-img-wrap {
    order: -1;
  }

  .home-teaser {
    margin-top: 4rem;
  }
}

/* Mobil */
@media (max-width: 48rem) {
  .home-hero-img-wrap {
    max-height: 55vw; /* Bildhöhe proportional zur Breite */
    min-height: 220px;
    margin-top: var(--header-h); /* Bild startet unter dem Header, Köpfe bleiben sichtbar */
  }

  .home-overlap-wrap {
    margin-top: -4.5rem;
  }

  .home-overlap-title {
    padding: 1.5rem 1.5rem 1.25rem;
  }

  .home-overlap-text {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .home-overlap-btns {
    gap: 0.6rem;
  }

  .home-team-inner {
    padding: 2rem 1.5rem 1.75rem;
  }

  .home-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-team {
    margin-bottom: 3rem;
  }

  .home-popup {
    padding: 1rem;
  }
}

@media (max-width: 36rem) {
  .home-team-grid {
    grid-template-columns: 1fr;
  }
}

/* Auf Touch-Geräten: "Mehr erfahren"-Hinweis immer sichtbar
   (da kein Hover vorhanden, muss Klickbarkeit anderweitig signalisiert werden) */
@media (hover: none) {
  .home-team-card-hint {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .home-hero-img-wrap img,
  .home-teaser-img img,
  .home-team-card-photo img {
    will-change: auto;
    transition: none;
  }

  .home-teaser-img:hover img,
  .home-team-card:hover .home-team-card-photo img {
    transform: none;
  }

  .home-teaser-img-wrap {
    transform: none !important;
  }

  .home-popup,
  .home-popup-dialog,
  .home-popup-backdrop {
    transition: none;
  }
}
