/* ============================================================
   style.css – Flugmedizin Buck
   Himmel & Wolken Thema | Mobile-First | WCAG 2.1 AA
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* Farben */
  --sky-deep: #1a6fa3;
  --sky-mid: #2e8ec0;
  --sky-light: #6bb8e0;
  --sky-pale: #c8e8f5;
  --sky-horizon: #e8f4fb;
  --sky-dawn: #f0f8ff;

  --white: #ffffff;
  --cloud: #f5fafd;
  --cloud-border: rgba(255, 255, 255, 0.8);

  --text-dark: #1a2a38;
  --text-mid: #3d5468;
  --text-light: #4f7088;
  --text-muted: #9ab0be;

  --accent: #1a6fa3;
  --accent-hover: #155a87;
  --accent-light: #e8f4fb;

  --green-soft: #e8f5ee;
  --green-mid: #4caf7d;
  --warm-soft: #fff4e8;
  --warm-mid: #e87d2e;

  --border: rgba(26, 111, 163, 0.12);
  --border-light: rgba(26, 111, 163, 0.06);
  --shadow-sm: 0 2px 8px rgba(26, 111, 163, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 111, 163, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 111, 163, 0.16);

  /* Typography */
  --font-display: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --nav-height: 72px;
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container-max: 1200px;
  --gap: 2rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  /* Transitions */
  --t-fast: 150ms ease;
  --t-mid: 250ms ease;
  --t-slow: 400ms ease;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Focus-visible für Tastaturnavigation (Accessibility) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Smooth scroll respektieren für User die Bewegung reduzieren möchten */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Skip Link für Screenreader */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.section {
  padding-block: var(--section-pad);
  position: relative;
}

/* ── Navigation ─────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-mid);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--sky-deep);
  flex-shrink: 0;
}

.logo-icon {
  height: 36px;
  width: auto;
  /* passt die Breite automatisch ans Seitenverhältnis an */
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-primary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sky-deep);
  letter-spacing: -0.01em;
}

.logo-sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--sky-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--text-mid);
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--accent-light);
}

/* Burger Button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}

.burger:hover {
  background: var(--accent-light);
}

.burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--sky-deep);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-mid);
  transform-origin: center;
}

/* Burger Animation */
.burger.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0 1.25rem;
  box-shadow: var(--shadow-md);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-mid), opacity var(--t-mid);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-mid);
  padding: 0.875rem 0.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--t-fast), padding-left var(--t-fast);
  text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent);
  padding-left: 0.875rem;
}

.mobile-menu li:last-child .mobile-nav-link {
  border-bottom: none;
}

/* Mobile Responsive Nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-md);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--t-fast), color var(--t-fast),
    border-color var(--t-fast), transform var(--t-fast),
    box-shadow var(--t-fast);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--sky-deep);
  color: var(--white);
  border-color: var(--sky-deep);
  box-shadow: 0 4px 16px rgba(26, 111, 163, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(26, 111, 163, 0.4);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--sky-deep);
  border-color: var(--sky-light);
}

.btn-ghost:hover {
  background: var(--accent-light);
  border-color: var(--sky-mid);
}

/* ── HOME Section ────────────────────────────────────────────── */
.section-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 3rem);
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg,
      #daeef9 0%,
      #eaf5fb 35%,
      #f2f9fd 60%,
      #f8fcfe 80%,
      #ffffff 100%);
}

/* Himmel & Wolken Hintergrund */
.sky-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Wolken mit reinem CSS */
.cloud {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 0 6px rgba(255, 255, 255, 0.5),
    0 0 0 12px rgba(255, 255, 255, 0.3);
  filter: blur(1px);
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
  box-shadow: inherit;
}

.cloud-1 {
  width: 220px;
  height: 70px;
  top: 15%;
  left: -5%;
  animation: drift1 60s linear infinite;
}

.cloud-1::before {
  width: 130px;
  height: 80px;
  top: -40px;
  left: 25px;
}

.cloud-1::after {
  width: 100px;
  height: 60px;
  top: -25px;
  left: 90px;
}

.cloud-2 {
  width: 280px;
  height: 80px;
  top: 22%;
  right: 5%;
  opacity: 0.85;
  animation: drift2 80s linear infinite;
}

.cloud-2::before {
  width: 160px;
  height: 100px;
  top: -50px;
  left: 35px;
}

.cloud-2::after {
  width: 120px;
  height: 75px;
  top: -35px;
  left: 120px;
}

.cloud-3 {
  width: 160px;
  height: 50px;
  top: 8%;
  left: 40%;
  opacity: 0.6;
  animation: drift1 50s linear 10s infinite;
}

.cloud-3::before {
  width: 90px;
  height: 65px;
  top: -35px;
  left: 20px;
}

.cloud-4 {
  width: 200px;
  height: 60px;
  top: 35%;
  left: 60%;
  opacity: 0.5;
  animation: drift2 70s linear 20s infinite;
}

.cloud-4::before {
  width: 110px;
  height: 75px;
  top: -38px;
  left: 30px;
}

.horizon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom,
      transparent,
      rgba(240, 248, 255, 0.4),
      rgba(255, 255, 255, 0.8));
}

@keyframes drift1 {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(110vw);
  }
}

@keyframes drift2 {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-110vw);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-block: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--sky-mid);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  margin-bottom: 1.75rem;
}

.hero-badge svg {
  display: inline-block;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.hero-accent {
  color: var(--sky-deep);
  position: relative;
}

.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sky-light), var(--sky-pale));
  border-radius: 2px;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.75rem;
  backdrop-filter: blur(8px);
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 1.5rem;
}

.stat:first-child {
  padding-left: 0;
}

.stat strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--sky-deep);
  line-height: 1.2;
}

.stat span {
  font-size: 0.8125rem;
  color: var(--text-light);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Das hier ändern: ── */
@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    /* ← diese Zeile hinzufügen */
    text-align: center;
    /* ← und diese */
  }

  .stat {
    padding-inline: 0;
  }

  .stat-divider {
    display: none;
  }
}

/* ── Section Header ──────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-mid);
  margin-bottom: 0.875rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── LEISTUNGEN Section ────────────────────────────────────────────── */
.section-leistungen {
  background: var(--sky-dawn);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 10px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-blue .card-icon {
  background: var(--accent-light);
  color: var(--sky-deep);
}

.card-sky .card-icon {
  background: #e8f5fb;
  color: var(--sky-mid);
}

.card-mint .card-icon {
  background: var(--green-soft);
  color: var(--green-mid);
}

.card-warm .card-icon {
  background: var(--warm-soft);
  color: var(--warm-mid);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-list li {
  font-size: 0.875rem;
  color: var(--text-mid);
  padding-left: 1.25rem;
  position: relative;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sky-light);
}

.card-blue .card-list li::before {
  background: var(--sky-deep);
}

.card-sky .card-list li::before {
  background: var(--sky-mid);
}

.card-mint .card-list li::before {
  background: var(--green-mid);
}

.card-warm .card-list li::before {
  background: var(--warm-mid);
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-left: 3px solid var(--sky-mid);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
}

.info-note svg {
  flex-shrink: 0;
  color: var(--sky-mid);
  margin-top: 1px;
}

.info-note p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── TEAM Section ────────────────────────────────────────────── */
.section-team {
  background: var(--white);
}

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

.team-group:last-child {
  margin-bottom: 0;
}

.team-group-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}

/* Doctor grid: 2 columns */
.team-grid--docs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

/* MFA grid: 4 columns */
.team-grid--mfa {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

/* Base card */
.team-card {
  background: var(--sky-horizon);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Doctor card layout: horizontal, Foto links */
.team-card--doc {
  display: flex;
  flex-direction: row;
  gap: 0;
  min-height: 220px;
}

/* Reverse: Text links, Foto rechts – Avatar im DOM nach body, kein row-reverse nötig */
.team-card--doc-reverse {
  flex-direction: row;
}

.team-card--doc-reverse .team-avatar {
  width: 280px;
  flex-shrink: 0;
}

/* Zwei Buck-Cards: eine große Card ohne Trennlinie, gleiche Höhe */
.team-card-group {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--sky-horizon);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.team-card-group:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-card-group .team-card {
  flex: 1;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  min-height: 220px;
}

.team-card-group .team-card:hover {
  box-shadow: none;
  transform: none;
}

/* MFA card layout: vertical */
.team-card--mfa {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  /* kein padding mehr oben */
  gap: 0;
  overflow: hidden;
}

/* Avatar */
.team-avatar {
  flex-shrink: 0;
  width: 280px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  padding: 8px;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--r-lg) - 6px);
  overflow: hidden;
}

.team-card--mfa .team-card-body {
  padding: 1rem;
  /* padding nur im Text-Bereich */
}

.team-avatar--sm {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  background: var(--accent-light);
  padding: 8px;
}

.team-avatar--sm img {
  border-radius: calc(var(--r-lg) - 6px);
  overflow: hidden;
}

.team-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-deep);
  opacity: 0.45;
  padding: 1.5rem;
}

.team-avatar-placeholder svg {
  width: 100%;
  height: 100%;
  max-width: 48px;
}

/* Card body */
.team-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 1;
}

.team-card--mfa .team-card-body {
  padding: 0;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sky-deep);
}

.team-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.team-card--mfa .team-name {
  font-size: 0.9375rem;
}

/* CV area (doctors only) */
.team-cv {
  margin-top: 0.25rem;
  flex: 1;
}

.team-cv-placeholder {
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
}

/* EN-only items hidden by default (shown via JS on lang switch) */
.kontakt-item--en-only {
  display: none;
}

.kontakt-item--de-only {
  display: list-item;
}

/* Responsive */
@media (max-width: 900px) {
  .team-grid--mfa {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid--docs {
    grid-template-columns: 1fr;
  }

  .team-card--doc {
    flex-direction: column;
  }

  /* Auf Mobile: reverse wird auch von oben nach unten (Foto oben) */
  .team-card--doc-reverse,
  .team-card-group .team-card--doc-reverse {
    flex-direction: column !important;
  }

  /* Avatar in reverse card auf Mobile: volle Breite, natürliche Höhe */
  .team-card--doc-reverse .team-avatar,
  .team-card-group .team-card--doc-reverse .team-avatar {
    width: 100%;
    flex-shrink: 1;
  }



  /* Mobile: Group wird zum einzigen Flex-Container */
  .team-card-group {
    overflow: visible;
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
  }

  /* Cards werden transparent – ihre Kinder fließen direkt in die Group */
  .team-card-group .team-card {
    display: contents;
  }

  /* Reihenfolge: Foto1 → Text1 → Foto2 → Text2 */
  .team-card-group .team-card:first-child .team-avatar   { order: 1; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
  .team-card-group .team-card:first-child .team-card-body { order: 2; background: var(--sky-horizon); padding: 1.5rem; }
  .team-card-group .team-card:last-child  .team-avatar   { order: 3; }
  .team-card-group .team-card:last-child  .team-card-body { order: 4; background: var(--sky-horizon); padding: 1.5rem; border-radius: 0 0 var(--r-lg) var(--r-lg); }

  .team-avatar {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* height: 120px entfernen */
  }

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

  .team-avatar img {
    object-position: center 15%;
    /* NEU */
  }
}


@media (max-width: 400px) {
  .team-grid--mfa {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── UNTERSUCHUNG Section ────────────────────────────────────── */
.section-untersuchung {
  background: var(--sky-horizon);
}

.untersuchung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (max-width: 860px) {
  .untersuchung-grid {
    grid-template-columns: 1fr;
  }
}

.untersuchung-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.untersuchung-card > * + * {
  margin-top: 1.25rem;
}

.untersuchung-alert--info,
.untersuchung-cta {
  margin-top: auto !important;
}

.untersuchung-card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.untersuchung-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--accent-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-deep);
  padding: 10px;
}

.untersuchung-icon svg {
  width: 100%;
  height: 100%;
}

.untersuchung-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.untersuchung-card-hint {
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 0;
}

.untersuchung-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-right: 1.75rem;
}

.untersuchung-list li {
  display: grid;
  grid-template-columns: 16px 1fr 120px;
  align-items: start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.5;
}
  align-items: start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.untersuchung-list li span {
  /* nimmt die mittlere Spalte, bricht normal um */
}

.untersuchung-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-mid);
}

.untersuchung-link {
  color: var(--sky-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
  font-size: 0.9375rem;
  white-space: nowrap;
  padding-left: 0.5rem;
  /* kein margin-left: auto mehr – Grid hält die Spaltenbreite */
}

.untersuchung-link:hover {
  color: var(--accent-hover);
}

/* Alert-warn: flex layout so link sits right */
.untersuchung-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
}

.untersuchung-alert p {
  font-size: 0.875rem;
  line-height: 1.55;
}

.untersuchung-alert svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.untersuchung-alert--info {
  background: var(--accent-light);
  border: 1px solid rgba(26, 111, 163, 0.2);
  color: var(--sky-deep);
}

.untersuchung-alert--info svg {
  color: var(--sky-deep);
}

.untersuchung-alert--info p {
  color: var(--text-mid);
}

.untersuchung-alert--warn {
  background: #fff8e1;
  border: 1px solid rgba(244, 168, 10, 0.35);
  display: grid;
  grid-template-columns: 18px 1fr 120px;
  align-items: start;
  gap: 0.75rem;
}

.untersuchung-alert--warn svg {
  color: #f4a80a;
  margin-top: 2px;
}

.untersuchung-alert--warn p {
  color: var(--text-mid);
}

.untersuchung-alert--warn .untersuchung-link {
  padding-left: 0;
  white-space: nowrap;
}

.untersuchung-cost-body {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.untersuchung-cost-body p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.untersuchung-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--sky-deep);
  background: var(--accent-light);
  border: 1px solid rgba(26, 111, 163, 0.2);
  border-radius: var(--r-sm);
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.untersuchung-cta:hover {
  background: var(--sky-deep);
  border-color: var(--sky-deep);
  color: var(--white);
}

.untersuchung-easa-note {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: #f0f8ef;
  border: 1px solid rgba(76, 175, 125, 0.25);
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
  margin-top: auto;
}

.untersuchung-easa-note svg {
  flex-shrink: 0;
  color: var(--green-mid);
  margin-top: 1px;
}

.untersuchung-easa-note p {
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .untersuchung-card {
    padding: 1.25rem;
  }

  .untersuchung-card > * + * {
    margin-top: 1rem;
  }

  .untersuchung-alert--info,
  .untersuchung-cta {
    margin-top: 1rem !important;
  }

  .untersuchung-card-title {
    font-size: 1rem;
  }

  .untersuchung-list li {
    font-size: 0.875rem;
  }

  /* Alert-warn: Link unter den Text auf Mobile */
  .untersuchung-alert--warn {
    grid-template-columns: 18px 1fr;
    grid-template-rows: auto auto;
  }

  .untersuchung-alert--warn .untersuchung-link {
    grid-column: 2;
    grid-row: 2;
    padding-top: 0.25rem;
  }

  .team-grid--mfa {
    grid-template-columns: 1fr 1fr;
  }

  .team-avatar--sm {
    aspect-ratio: 4 / 3;
  }

  .team-avatar--sm img {
    object-position: center 20%;
  }
}

/* ── FORMULARE Section ───────────────────────────────────────── */
.section-formulare {
  background: var(--white);
}

.forms-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.form-category-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-light);
}

.form-category-title svg {
  color: var(--sky-mid);
  flex-shrink: 0;
}

.form-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--sky-dawn);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.form-item:hover {
  background: var(--accent-light);
  border-color: var(--sky-light);
}

.form-info {
  flex: 1;
  min-width: 0;
}

.form-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space overridden to normal on mobile via media query */
}

.form-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space overridden to normal on mobile via media query */
}

.form-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}

.form-badge {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
}

.form-size {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--sky-deep);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.5rem 0.875rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--t-fast), border-color var(--t-fast),
    color var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}

.btn-download:hover {
  background: var(--sky-deep);
  border-color: var(--sky-deep);
  color: var(--white);
  transform: translateY(-1px);
}

/* Placeholder (PDF nicht verfügbar) */
.btn-download[data-placeholder="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.forms-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff8e1;
  border: 1px solid #f9c74f;
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
}

.forms-note svg {
  flex-shrink: 0;
  color: #f4a80a;
  margin-top: 1px;
}

.forms-note p {
  font-size: 0.9375rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.forms-note strong {
  color: var(--text-dark);
  font-weight: 600;
}

@media (max-width: 600px) {

  /* Panels schlanker */
  .form-item {
    flex-wrap: wrap;
    padding: 0.75rem 0.875rem;
    gap: 0.625rem;
  }

  /* Text darf umbrechen statt Panel aufzusprengen */
  .form-name,
  .form-desc {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .form-name {
    font-size: 0.875rem;
  }

  .form-desc {
    font-size: 0.75rem;
  }

  /* Meta (Badge + Size) bleibt inline */
  .form-meta {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  /* Download-Button volle Breite, schlanker */
  .btn-download {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }
}

/* ── KONTAKT Section ─────────────────────────────────────────── */
.section-kontakt {
  background: var(--sky-dawn);
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .kontakt-info,
  .kontakt-card {
    flex: unset;
  }

  .dsgvo-note {
    margin-top: 0;
  }

  .map-wrapper {
    flex: unset;
  }

  .map-wrapper a {
    flex: unset;
    display: block;
  }

  .map-wrapper .praxis-karte-wrapper {
    flex: unset;
  }

  .map-wrapper .praxis-karte-wrapper img {
    height: auto;
    object-fit: unset;
  }
}

.kontakt-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-light);
}

.kontakt-info {
  display: flex;
  flex-direction: column;
}

.kontakt-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 3.5rem; /* diesen Wert per F12 feinjustieren */
}

.kontakt-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.kontakt-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-deep);
  padding: 8px;
}

.kontakt-icon svg {
  width: 100%;
  height: 100%;
}

.kontakt-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.kontakt-value {
  font-size: 0.9375rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.kontakt-link {
  color: var(--sky-deep);
  text-decoration: none;
  transition: color var(--t-fast);
}

.kontakt-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.opening-hours {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  align-items: flex-start;
}

.opening-hours > span:first-child {
  font-weight: 600;
  min-width: 30px;
  color: var(--text-dark);
}

.opening-hours-times {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--text-mid);
}

/* DSGVO Hinweis */
.dsgvo-note {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  background: #f0f8ef;
  border: 1px solid rgba(76, 175, 125, 0.25);
  border-radius: var(--r-md);
  padding: 0.875rem 1rem;
  margin-top: auto;
}

.dsgvo-note svg {
  flex-shrink: 0;
  color: var(--green-mid);
  margin-top: 1px;
}

.dsgvo-note p {
  font-size: 0.8125rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.dsgvo-link {
  color: var(--sky-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Map */
.map-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.map-wrapper .kontakt-section-title {
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.map-wrapper .praxis-karte-wrapper {
  flex: 1;
  max-width: 100% !important;
}

.map-wrapper .praxis-karte-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.logo-footer {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
}

.logo-footer .logo-primary {
  color: rgba(255, 255, 255, 0.95);
}

.logo-footer .logo-sub {
  color: var(--sky-light);
}

.logo-footer .logo-icon {
  color: var(--sky-light);
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-links a:hover {
  color: var(--sky-pale);
}

.footer-legal-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 1.25rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Scroll-to-Top Button ────────────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--sky-deep);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26, 111, 163, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--t-mid), transform var(--t-mid), background var(--t-fast);
  text-decoration: none;
}

.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ── Leaflet Overrides ───────────────────────────────────────── */
.leaflet-container {
  font-family: var(--font-body) !important;
}

.leaflet-popup-content-wrapper {
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-md) !important;
}

/* ── Print Styles ────────────────────────────────────────────── */
@media print {

  .site-header,
  .scroll-top,
  .burger,
  .mobile-menu,
  .hero-actions,
  .btn-download {
    display: none !important;
  }

  .section {
    padding-block: 2rem;
  }

  .sky-bg {
    display: none;
  }

  .section-home {
    min-height: auto;
  }
}

/* ── Animations ──────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}

.fade-in-delay-2 {
  transition-delay: 0.2s;
}

.fade-in-delay-3 {
  transition-delay: 0.3s;
}

.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* ── Language Switcher ──────────────────────────────────────────────────── */
/* ── Language Switcher ──────────────────────────────────────────────────── */
/* ── Language Switcher – Variante A: Flag Pill ── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 7px;
  border: 0.5px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform 0.1s;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switcher:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

.lang-switcher:active {
  transform: scale(0.97);
}

.lang-flag {
  display: block;
  width: 22px;
  height: 15px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Mobile lang button inside mobile menu */
.mobile-lang-item {
  padding: 0.25rem 0;
}

.lang-switcher-mobile {
  font-size: 0.85rem;
  padding: 6px 14px 6px 8px;
}

.lang-flag-m {
  display: block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-flag-m svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* ── MODALS ──────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 35, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 2.5rem 2rem 2rem;
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-light);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}

.modal-close:hover {
  background: var(--border);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-light);
}

.modal-content {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.modal-content p {
  margin-bottom: 1rem;
}

.modal-content strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.modal-link {
  color: var(--sky-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.modal-link:hover {
  color: var(--accent-hover);
}

/* Footer trigger buttons */
.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.7;
  transition: opacity var(--t-fast);
}

.footer-link-btn:hover {
  opacity: 1;
}

@media (max-width: 480px) {
  .modal-box {
    padding: 2rem 1.25rem 1.5rem;
    max-height: 90vh;
  }
}

/* ── Team Bio Read-more ──────────────────────────────────────── */
.team-bio-more {
  /* Desktop: immer sichtbar */
}

.team-bio-toggle {
  display: none; /* Desktop: versteckt */
}

@media (max-width: 640px) {
  .team-bio-more {
    display: none;
  }

  .team-bio-more.open {
    display: inline;
  }

  .team-bio-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--sky-deep);
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .team-bio-toggle[aria-expanded="true"] {
    /* Wenn offen */
  }
}

/* Modal E-Mail Sprachumschaltung */
.modal-de-only { display: inline; }
.modal-en-only { display: none; }
