/* =====================================================================
   MAP – Munich Academic Program — globale Stylesheet
   Design-Tokens (Color, Type, Spacing) + Komponenten-Styles.
   Lädt via <link rel="stylesheet" href="/map-styles.css"> in BaseLayout.
   ===================================================================== */

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --blue:        #0076bd;
  --blue-dark:   #005fa0;
  --blue-light:  #e8f4fb;
  --red:         #d51217;
  --red-dark:    #b00e12;
  --red-light:   #fde8e9;
  --dark:        #404040;
  --grey-700:    #4b5563;
  --grey-500:    #6b7280;
  --grey-200:    #e5e7eb;
  --grey-100:    #f3f4f6;
  --grey-50:     #f9fafb;
  --white:       #ffffff;

  --font-display: "Sora Variable", "Sora", system-ui, sans-serif;
  --font-body:    "Nunito Sans Variable", "Nunito Sans", system-ui, sans-serif;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 10px rgba(0,0,0,.07), 0 1px 3px rgba(0,0,0,.05);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;

  --max-w: 1200px;
}

/* ── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip-link for keyboard users — visible only on focus */
.skip-link {
  position: absolute; top: 8px; left: 8px;
  background: var(--blue); color: #fff;
  padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  z-index: 9999; transform: translateY(-200%);
  transition: transform 150ms ease;
}
.skip-link:focus { transform: translateY(0); }

/* ── UTILS ──────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 880px; }

.tag {
  display: inline-flex; align-items: center;
  padding: 4px 14px; border-radius: var(--radius-pill);
  font-size: 11px; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; white-space: nowrap;
}
.tag-blue { background: var(--blue-light); color: var(--blue); }
.tag-red  { background: var(--red-light);  color: var(--red); }
.tag-grey { background: var(--grey-100);   color: var(--grey-700); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  transition: background 180ms ease, color 180ms ease,
              border-color 180ms ease, box-shadow 180ms ease,
              transform 120ms ease;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-light); }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; }
.btn-white:hover { background: var(--blue-light); }
.btn-ghost-white {
  background: rgba(255,255,255,.15); color: #fff;
  border-color: rgba(255,255,255,.5); backdrop-filter: blur(8px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.8); }
.btn-sm { padding: 9px 20px; font-size: 13px; }

.section { padding: 80px 0; }
.section--soft { background: var(--grey-50); }
.bg-grey { background: var(--grey-50); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 800; letter-spacing: -.03em; color: var(--dark);
  line-height: 1.15; margin: 10px 0 14px;
}
.section-header p {
  font-size: 16px; color: var(--grey-500); line-height: 1.7;
  max-width: 560px; margin: 0 auto;
}

/* ── WEBINAR-BALKEN (über der Navigation) ───────────────────────────── */
.webinar-bar { background: var(--red); color: #fff; font-size: 13px; line-height: 1.3; }
.webinar-bar[hidden], .webinar-bar .webinar-bar__item[hidden] { display: none; }
.webinar-bar .webinar-bar__item {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 2px 12px;
  min-height: 34px; padding-top: 4px; padding-bottom: 4px;
}
.webinar-bar__label { font-weight: 600; }
.webinar-bar__what { display: inline-flex; align-items: center; gap: 6px; }
.webinar-bar__what strong { font-family: var(--font-display); font-weight: 700; }
.webinar-bar__flags { display: inline-flex; }
.webinar-bar__flags img {
  width: 16px; height: 16px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid #fff; background: #fff;
}
.webinar-bar__flags img + img { margin-left: -5px; }
.webinar-bar__when::before { content: "·"; margin-right: 12px; font-weight: 700; }
.webinar-bar__btn {
  display: inline-flex; align-items: center; height: 24px; line-height: 1;
  background: #fff; color: var(--red); font-weight: 700; font-size: 12px;
  padding: 0 12px; border-radius: var(--radius-pill); white-space: nowrap;
  transition: background 150ms;
}
.webinar-bar__btn:hover { background: var(--red-light); }
.webinar-bar__btn:focus-visible { outline-color: #fff; }
@media (max-width: 640px) {
  .webinar-bar { font-size: 12px; }
  .webinar-bar .webinar-bar__item {
    gap: 6px 8px; padding: 7px 16px;
  }
  .webinar-bar__when::before { content: none; }
}

/* ── HEADER / NAVBAR ────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 200;
  background: #fff; box-shadow: 0 1px 0 var(--grey-200);
  height: 88px;
}
.navbar .container {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.navbar-logo { padding: 14px 4px 14px 16px; flex-shrink: 0; }
.navbar-logo img { height: 54px; width: auto; display: block; }
.navbar-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: flex-start; margin-left: 8px;
}
.nav-item { position: relative; }
.nav-item::after {
  content: ""; position: absolute;
  top: 100%; left: -16px; right: -16px; height: 18px;
}
.nav-link {
  font-size: 14px; font-weight: 600; color: var(--dark);
  padding: 6px 12px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap; transition: background 150ms, color 150ms;
}
.nav-link:hover,
.nav-item.is-open > .nav-link,
.nav-item:focus-within > .nav-link {
  background: var(--grey-100); color: var(--blue);
}
.nav-chevron { transition: transform 200ms ease; }
.nav-item.is-open .nav-chevron,
.nav-item:focus-within .nav-chevron { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,.05);
  box-shadow: 0 12px 40px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
  padding: 12px; width: 360px; z-index: 20;
  opacity: 0; pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
/* Visibility ist State-getrieben (React .is-open) plus :focus-within für
   Keyboard-User. KEIN CSS-:hover hier — das Dropdown ragt geometrisch über
   benachbarte nav-items, was bei :hover-only zwei gleichzeitig offene
   Menüs erlauben würde. React's onMouseEnter/Leave handelt das exklusiv. */
.nav-item.is-open .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.dropdown::before {
  content: ""; position: absolute; top: -6px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff;
  border-left: 1px solid rgba(0,0,0,.05);
  border-top: 1px solid rgba(0,0,0,.05);
  border-radius: 2px;
}
.dropdown-grid { display: grid; grid-template-columns: 1fr; gap: 4px; }
.dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--radius-md);
  cursor: pointer; transition: background 140ms, transform 140ms;
  color: inherit;
}
.dropdown-item:hover { background: var(--blue-light); transform: translateX(2px); }
.dropdown-item:hover .d-arrow { opacity: 1; transform: translateX(0); }
.d-flag {
  width: 30px; height: 30px; border-radius: 50%;
  object-fit: cover; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--grey-200); background: #fff;
  flex-shrink: 0;
}
.d-label { font-size: 13px; font-weight: 700; color: var(--dark); display: block; }
.d-arrow {
  margin-left: auto; color: var(--blue);
  opacity: 0; transform: translateX(-4px);
  transition: opacity 140ms, transform 140ms; flex-shrink: 0;
}
.navbar-cta {
  background: var(--blue); color: #fff;
  padding: 9px 20px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 700;
  transition: background 150ms; flex-shrink: 0;
}
.navbar-cta:hover { background: var(--blue-dark); }
.navbar-katalog {
  border: 1.5px solid var(--blue); color: var(--blue);
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.navbar-katalog:hover { background: var(--blue-light); }

/* Mobile burger */
.navbar-burger {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: transparent; border-radius: var(--radius-md);
}
.navbar-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.navbar-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-burger.is-open span:nth-child(2) { opacity: 0; }
.navbar-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, .35);
  opacity: 0; pointer-events: none;
  transition: opacity 200ms ease; z-index: 290;
}
.navbar-drawer-backdrop.is-open { opacity: 1; pointer-events: auto; }
/* Vollbild-Menü über der ganzen Seite, eigene Kopfzeile mit Logo und X */
.navbar-drawer {
  position: fixed; inset: 0;
  background: #fff;
  transform: translateX(100%); transition: transform 240ms ease;
  z-index: 300; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
}
.navbar-drawer-head {
  position: sticky; top: 0; z-index: 1; flex-shrink: 0;
  height: 88px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; box-shadow: 0 1px 0 var(--grey-200);
}
.navbar-drawer-close {
  width: 44px; height: 44px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--dark); border-radius: var(--radius-md);
}
.navbar-drawer-close:hover { background: var(--grey-100); }
.navbar-drawer-body {
  flex: 1 0 auto;
  padding: 8px 24px calc(40px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 4px;
}
.navbar-drawer.is-open { transform: translateX(0); }
.navbar-drawer details {
  border-bottom: 1px solid var(--grey-100);
}
.navbar-drawer summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 4px; font-family: var(--font-display);
  font-size: 18px; font-weight: 700; color: var(--dark);
  cursor: pointer; list-style: none;
}
.navbar-drawer summary::-webkit-details-marker { display: none; }
.navbar-drawer summary svg { transition: transform 200ms ease; }
.navbar-drawer details[open] summary svg { transform: rotate(180deg); }
.navbar-drawer-sub {
  display: flex; flex-direction: column; gap: 2px;
  padding: 4px 0 14px 6px;
}
.navbar-drawer-sub a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 10px; border-radius: 10px;
  font-size: 16px; font-weight: 600; color: var(--grey-700);
}
.navbar-drawer-sub a:hover { background: var(--blue-light); color: var(--blue); }
.navbar-drawer-sub img.d-flag { width: 24px; height: 24px; }
.navbar-drawer-ctas {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: auto; padding-top: 24px; border-top: 1px solid var(--grey-200);
}
.navbar-drawer-ctas .btn { width: 100%; justify-content: center; }

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  height: calc(100vh - 88px); min-height: 560px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}
.hero-inner {
  position: relative; height: 100%;
  display: flex; align-items: center;
}
.hero-card {
  background: #fff; border-radius: 24px; padding: 44px 48px;
  max-width: 520px; box-shadow: 0 20px 60px rgba(0,0,0,.15), 0 4px 16px rgba(0,0,0,.08);
}
.hero-card h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: var(--dark); margin: 12px 0 16px;
}
.hero-card p { font-size: 16px; line-height: 1.7; color: var(--grey-700); margin-bottom: 28px; }
.hero-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-trust {
  display: flex; align-items: center; gap: 14px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--grey-200);
}
.hero-trust-seal { width: 72px; height: auto; flex-shrink: 0; }
.hero-trust-text { display: flex; flex-direction: column; line-height: 1.4; }
.hero-trust-stars {
  color: #f5b50a; font-size: 12px; letter-spacing: 2px;
  line-height: 1; margin-bottom: 4px;
}
.hero-trust-text strong {
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  color: var(--dark); letter-spacing: -.01em;
}
.hero-trust-text span { font-size: 13px; color: var(--grey-500); }

/* ── TRUST BAR ──────────────────────────────────────────────────────── */
.trust-bar { background: var(--blue); }
.trust-bar .container {
  display: flex; justify-content: space-around;
  flex-wrap: wrap; gap: 0;
}
.trust-stat {
  /* flex: 1 + min-width: 0 locks column widths so number-width changes
     during count-up don't reflow neighbours and shift the labels. */
  flex: 1 1 0; min-width: 0;
  padding: 22px 24px; text-align: center;
}
.trust-stat-val {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  color: #fff; line-height: 1;
  /* Animation stability: don't wrap on the thousands space ("6 000+"),
     and use tabular digit widths so glyph swaps don't jitter the center. */
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.trust-stat-label {
  font-size: 12px; color: rgba(255,255,255,.75);
  font-weight: 600; margin-top: 4px;
}

/* ── DESTINATIONS (Homepage Grid) ───────────────────────────────────── */
.dest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dest-card {
  background: #fff; border-radius: 16px;
  border: 1px solid var(--grey-200); padding: 10px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms, transform 200ms;
  display: block; color: inherit;
}
/* Hover nur bei verlinkten Karten; reine Info-Teaser bleiben ruhig. */
a.dest-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

/* Featured-Variante: blauer Rand + Empfehlungs-Badge. Wird via
   RegionGrid `featured: true` aktiviert (z.B. USA Select Program). */
.dest-card--featured {
  position: relative;
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-md);
}
a.dest-card--featured:hover {
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
  transform: translateY(-5px);
}
.dest-card__badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: var(--blue); color: #fff;
  font-family: var(--font-display); font-size: 10px;
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,118,189,.35);
}
/* Platzhalter, solange für eine Region noch kein Foto vorliegt. */
.dest-card-img--placeholder {
  background: linear-gradient(135deg, var(--blue-light) 0%, #fff 100%);
}
.dest-card-img {
  position: relative;
  width: 100%; aspect-ratio: 16/10; border-radius: 9px;
  background-size: cover; background-position: center;
  margin-bottom: 10px; overflow: hidden;
}
.dest-card-body { padding: 0 4px 4px; }
.dest-card-title {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
  display: flex; align-items: center; gap: 9px;
}
.dest-card-sub { font-size: 15px; color: var(--grey-500); }
.dest-card-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.dest-card-desc {
  font-size: 13px; line-height: 1.55; color: var(--grey-700);
  margin-top: 6px;
}
.dest-card-tag {
  display: inline-flex; align-items: center;
  padding: 5px 9px; border-radius: var(--radius-pill);
  background: var(--grey-100); color: var(--grey-700);
  font-size: 12px; font-weight: 700; line-height: 1;
}
.dest-flag {
  width: 24px; height: 24px; border-radius: 50%;
  object-fit: cover; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--grey-200); background: #fff;
  flex-shrink: 0;
}
.inline-flag {
  width: 16px; height: 16px; border-radius: 50%;
  object-fit: cover; border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--grey-200); background: #fff;
  flex-shrink: 0; vertical-align: -3px; margin-right: 6px;
}
.event-flag {
  width: 18px; height: 18px; border-radius: 50%;
  object-fit: cover; border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--grey-200); background: #fff;
  flex-shrink: 0;
}
.event-flags { display: inline-flex; flex-shrink: 0; }
.event-title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.event-flags .event-flag + .event-flag { margin-left: -5px; }

/* ── WHY MAP ────────────────────────────────────────────────────────── */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.why-img {
  position: relative;
  border-radius: 24px; overflow: hidden; aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  box-shadow: var(--shadow-lg);
}
.why-features {
  display: flex; flex-direction: column;
  gap: 24px; margin-top: 32px;
}
.why-feature { display: flex; gap: 16px; }
.why-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--blue);
}
.why-feature-text h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--dark); margin-bottom: 4px;
}
.why-feature-text p {
  font-size: 15px; color: var(--grey-500); line-height: 1.65;
}
.why-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.1rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  color: var(--dark); margin: 12px 0 16px;
}
.why-section-lead {
  font-size: 15px; color: var(--grey-500); line-height: 1.75;
}
.why-badge-card {
  position: absolute; left: -18px; bottom: 28px;
  width: min(182px, 42%);
  padding: 8px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
  transform: rotate(-3deg);
  animation: canadaBadgeFloat 6.5s ease-in-out infinite;
}
.why-badge-card img {
  width: 100%; border-radius: 8px;
  border: 1px solid rgba(0,0,0,.08);
}
@keyframes canadaBadgeFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-5deg) translateY(-8px); }
}

/* ── MEMORIES COLLAGE ───────────────────────────────────────────────── */
.memories-section { padding: 100px 0 120px; overflow: hidden; }
.memories-wrap { position: relative; margin: 0 auto; max-width: 1280px; padding: 0 24px; }
.memories-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 16px; align-items: start;
}
.mem-col {
  display: flex; flex-direction: column; gap: 16px;
  /* Parallax-Transform wird via JS gesetzt — sanftes Easing für scroll-getriebenes Update. */
  transition: transform 120ms linear;
  will-change: transform;
}
.mem-col-offset { margin-top: 40px; }
.mem-card {
  border-radius: 18px; overflow: hidden;
  background: var(--grey-100); position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.mem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mem-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Scroll-Reveal — Karten kommen in den Viewport: fade + leichter Lift, gestaffelt. */
.mem-reveal {
  opacity: 0; transform: translateY(28px) scale(.985);
  transition:
    opacity 700ms cubic-bezier(.22,.61,.36,1) var(--mem-delay, 0ms),
    transform 700ms cubic-bezier(.22,.61,.36,1) var(--mem-delay, 0ms);
  will-change: opacity, transform;
}
.mem-reveal.is-visible {
  opacity: 1; transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .mem-reveal,
  .mem-reveal.is-visible {
    opacity: 1; transform: none; transition: none;
  }
}

/* ── TESTIMONIALS ───────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  position: relative;
  background: #fff; border-radius: var(--radius-lg);
  padding: 12px 12px 24px;
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  overflow: hidden;
}
/* Foto aus der Broschüre über dem Zitat (Karten sind nicht klickbar, daher ohne Hover). */
.testimonial-img {
  aspect-ratio: 4/3; border-radius: 12px;
  background-size: cover; background-position: center;
  background-color: var(--blue-light);
}
.testimonial-text {
  font-size: 14.5px; line-height: 1.7; padding: 0 12px;
  color: var(--grey-700); flex: 1; font-weight: 500;
}
.testimonial-author {
  display: flex; align-items: center; gap: 10px; margin: 0 12px;
  padding-top: 14px; border-top: 1px solid var(--grey-100);
}
.testimonial-name {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--dark); line-height: 1.3;
}
.testimonial-meta {
  font-size: 11.5px; color: var(--grey-500); line-height: 1.3;
  display: flex; align-items: center; gap: 6px;
}
.testimonial-meta .inline-flag { margin-right: 0; }

/* ── EVENTS ─────────────────────────────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.event-card {
  background: #fff; border-radius: 16px; padding: 20px 24px;
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 20px;
  transition: box-shadow 180ms, transform 180ms;
  color: inherit;
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateX(3px); }
.event-card--static:hover { box-shadow: var(--shadow-sm); transform: none; }
.event-card[hidden] { display: none; }
.event-empty {
  padding: 20px 24px; border-radius: var(--radius-md);
  background: var(--grey-50); color: var(--grey-700); font-size: 15px;
}
.event-empty[hidden], [data-events-section][hidden] { display: none; }
.event-empty a { color: var(--blue); text-decoration: underline; }
.webinar-rhythm { margin-top: 28px; text-align: center; color: var(--grey-500); }
.event-date {
  min-width: 52px; text-align: center; flex-shrink: 0;
  background: var(--blue-light); border-radius: 12px; padding: 8px 6px;
}
.event-date-day {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: var(--blue); line-height: 1;
}
.event-date-month {
  font-size: 10px; font-weight: 700; color: var(--blue);
  letter-spacing: .05em; text-transform: uppercase;
}
.event-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.event-info-top {
  display: flex; align-items: center; gap: 4px 8px; flex-wrap: wrap;
}
.event-info-top h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--dark); margin: 0;
}
.event-meta {
  font-size: 15px; color: var(--grey-500); margin: 0;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.event-meta span {
  display: inline-flex; align-items: center; gap: 5px;
}
.event-arrow { margin-left: auto; color: var(--blue); flex-shrink: 0; }
.event-cat-title {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--dark); margin: 0 0 20px;
  display: flex; align-items: center; gap: 10px;
}
.event-cat-title + .events-grid { margin-bottom: 8px; }
.event-cat-title.is-second { margin-top: 48px; }
.event-cat-title__icon--blue { color: var(--blue); display: inline-flex; }
.event-cat-title__icon--red  { color: var(--red);  display: inline-flex; }
.tag--mini {
  font-size: 9px;
  padding: 2px 8px;
}
.events-cta-row,
.section-cta-row {
  text-align: center; margin-top: 32px;
}

/* ── FAQ ────────────────────────────────────────────────────────────── */
.faq-categories {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 40px;
}
.faq-category-title {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.faq-category-title::after {
  content: ""; flex: 1; height: 1px; background: var(--grey-200);
}
.faq-list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}
.faq-item {
  background: #fff; border-radius: 14px;
  border: 1px solid var(--grey-200); overflow: hidden;
}
.faq-item summary {
  width: 100%; text-align: left; padding: 18px 22px;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--dark);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: color 150ms; cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-icon {
  flex-shrink: 0; transition: transform 250ms ease;
  color: var(--grey-500);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); color: var(--blue); }
.faq-answer {
  white-space: pre-line;
  font-size: 15px; line-height: 1.75; color: var(--grey-700);
  padding: 0 22px 18px;
}

/* ── CTA BANNER ─────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 80px 0; text-align: center; color: #fff;
}
.cta-banner h2 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 800; color: #fff; margin-bottom: 14px;
  letter-spacing: -.03em; line-height: 1.15;
}
.cta-banner p {
  font-size: 17px; color: rgba(255,255,255,.8);
  margin-bottom: 36px; line-height: 1.6;
}
.cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.cta-banner--soft { background: var(--blue-light); color: var(--dark); padding: 96px 0; }
.cta-banner--soft h2 { color: var(--dark); }
.cta-banner--soft p { color: var(--grey-500); }

/* ── EXPERIENCE STACK (Kanada Übersicht) ────────────────────────────── */
.experience-stack { display: flex; flex-direction: column; gap: 24px; }
.experience-panel {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: 24px; box-shadow: var(--shadow-sm); overflow: hidden;
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  min-height: 330px;
}
.experience-panel:nth-child(even) .experience-img { order: 2; }
.experience-img {
  min-height: 330px;
  background-size: cover; background-position: center;
}
.experience-content {
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
}
.experience-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  color: var(--dark); margin: 14px 0 14px;
}
.experience-content p {
  font-size: 15px; color: var(--grey-500); line-height: 1.75; margin-bottom: 18px;
}
.experience-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.experience-pill {
  display: inline-flex; align-items: center;
  padding: 7px 11px; border-radius: var(--radius-pill);
  background: var(--grey-100); color: var(--grey-700);
  font-size: 12px; font-weight: 700;
}

/* ── REGION CARD GRID ───────────────────────────────────────────────── */
.region-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
/* Karten ~272px breit (= 1/4 Container). 4 füllen die Reihe randbündig,
   weniger werden automatisch zentriert. */
.region-grid > * { flex: 0 1 272px; max-width: 272px; }

/* ── DURATION CHART ─────────────────────────────────────────────────── */
.duration-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.duration-chart {
  min-width: 840px; background: #fff; border-radius: 20px;
  border: 1px solid var(--grey-200); overflow: hidden;
  box-shadow: var(--shadow-md);
  transform: translateZ(0); isolation: isolate;
}
.duration-months,
.duration-row { display: grid; }
.duration-months { grid-template-columns: repeat(12, 1fr); }
/* Balken laufen auf einem Halbmonats-Raster (24 Spalten), damit Terms auch
   mitten im Monat beginnen oder enden können (Australien, Neuseeland). */
.duration-row { grid-template-columns: repeat(24, 1fr); }
.duration-months { background: var(--grey-50); border-bottom: 1px solid var(--grey-200); }
.duration-month {
  padding: 14px 0;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: var(--grey-500); text-align: center;
  letter-spacing: .05em; text-transform: uppercase;
  border-right: 1px solid var(--grey-200);
}
.duration-month:last-child { border-right: none; }
.duration-row { align-items: center; min-height: 76px; }
.duration-row + .duration-row { border-top: 1px solid var(--grey-100); }
.duration-bar {
  height: 52px; margin: 0 5px; overflow: hidden;
  background: var(--blue-light); border-radius: 12px;
  display: flex; align-items: center;
  padding: 0 16px 0 0;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--blue); letter-spacing: -.01em;
}
.duration-bar.full      { grid-column: 1 / span 20; }
.duration-bar.half-one  { grid-column: 1 / span 10; }
.duration-bar.half-two  { grid-column: 11 / span 10; }
.duration-bar.short-one { grid-column: 1 / span 6; }
.duration-bar.short-two { grid-column: 11 / span 6; }
.duration-flag {
  display: inline-flex; align-items: center; justify-content: center;
  height: 100%; padding: 0 18px 0 14px; margin-right: 14px; flex-shrink: 0;
  background: var(--blue); color: #fff;
  font-family: var(--font-display); font-size: 10px; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  clip-path: polygon(0% 0%, 80% 0%, 100% 50%, 80% 100%, 0% 100%);
}
.duration-note {
  margin-top: 20px; text-align: center;
  font-size: 13px; color: var(--grey-500); line-height: 1.6;
}

/* ── NEXT STEPS ─────────────────────────────────────────────────────── */
/* Spaltenzahl = Anzahl der Schritte (NextSteps.astro setzt --steps), damit z. B.
   drei Schritte die volle Breite füllen statt eine Spalte leer zu lassen. */
.next-steps-grid { display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 20px; }
.next-step-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 24px;
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm);
}
.next-step-num {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--blue-light); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  margin-bottom: 18px;
}
.next-step-card h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px; line-height: 1.25;
}
.next-step-card p {
  font-size: 15px; color: var(--grey-500); line-height: 1.6;
}

/* ── RETURNEE STORIES ───────────────────────────────────────────────── */
.returnee-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 34px; max-width: 920px; margin: 0 auto;
}
/* Bild oben, Text darunter (wie die Karten auf /erfahrungsberichte/), damit
   der Text das Foto nicht mehr verdeckt. */
.returnee-story {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-md);
}
.returnee-story__media {
  position: relative; overflow: hidden;
  aspect-ratio: 3 / 2; background: var(--grey-100);
}
.returnee-story__media img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center var(--img-pos, 35%);
}
.returnee-content {
  padding: 24px 26px 26px; color: var(--dark);
  display: flex; flex-direction: column; flex: 1;
}
.returnee-chip {
  display: inline-flex; align-items: center; align-self: flex-start;
  padding: 6px 10px; border-radius: var(--radius-pill);
  background: var(--blue-light);
  color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 14px;
}
.returnee-quote {
  font-family: var(--font-display); font-size: clamp(.98rem, 1.35vw, 1.12rem);
  line-height: 1.42; font-weight: 800; letter-spacing: -.03em; margin-bottom: 18px;
  flex: 1;
}
.returnee-quote--long {
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  line-height: 1.6; letter-spacing: 0;
}
.returnee-meta { font-size: 15px; font-weight: 800; }
.returnee-place { font-size: 13px; color: var(--grey-500); margin-top: 2px; }

/* ── CONTACT CARD ───────────────────────────────────────────────────── */
.contact-card {
  background: #fff; border-radius: 24px;
  box-shadow: var(--shadow-md);
  max-width: 820px; margin: 0 auto;
  padding: 40px;
  display: grid; grid-template-columns: auto 1fr; gap: 36px;
  align-items: center;
  /* Override geerbtes text-align: center von .cta-banner */
  text-align: left;
}
.contact-card-avatar {
  width: 180px; height: 180px; border-radius: 50%;
  overflow: hidden; background: var(--blue-light);
  flex-shrink: 0; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--grey-100);
}
.contact-card-avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
}
/* Initialen als Platzhalter, solange kein Porträtfoto vorliegt. */
.contact-card-initials,
.team-card__initials {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em;
  color: var(--blue); background: var(--blue-light);
}
.contact-card-initials { font-size: 56px; }
.team-card__initials { font-size: 42px; }
.team-bio-dialog__avatar .team-card__initials { font-size: 34px; }
.contact-card-body {
  display: flex; flex-direction: column;
  gap: 14px; min-width: 0;
}
.contact-card-body .tag { align-self: flex-start; }
.contact-card-body h3 {
  font-family: var(--font-display); font-size: 26px; font-weight: 800;
  color: var(--dark); letter-spacing: -.02em; line-height: 1.2; margin-top: 2px;
}
.contact-card-role {
  font-size: 14px; color: var(--grey-500);
  font-weight: 600; margin-top: -10px;
}
.contact-card-links {
  display: flex; gap: 22px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid var(--grey-100);
}
.contact-link {
  font-size: 14px; color: var(--grey-700);
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; transition: color 150ms;
}
.contact-link svg { color: var(--blue); flex-shrink: 0; }
.contact-link:hover { color: var(--blue); }
.contact-card-actions {
  display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px;
}
/* Zwei Ansprechpartnerinnen nebeneinander, Kontaktwege darunter gemeinsam. */
.contact-card--duo { grid-template-columns: 1fr; gap: 28px; }
.contact-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.contact-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.contact-person h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: var(--dark); letter-spacing: -.02em; line-height: 1.2;
}
.contact-person .contact-card-role { margin-top: -6px; }
.contact-card--duo .contact-card-body { align-items: center; text-align: center; }
.contact-card--duo .contact-card-body .tag { align-self: center; }
.contact-card--duo .contact-card-links,
.contact-card--duo .contact-card-actions { justify-content: center; width: 100%; }

/* ── PAGEHERO (Programm-Detail) ─────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #f4f9fd 0%, #fff 100%);
  padding: 56px 0 64px;
}
.page-hero-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--grey-500); font-size: 13px; font-weight: 600;
  margin-bottom: 28px; transition: color 150ms;
}
.page-hero-back:hover { color: var(--blue); }
.page-hero-inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 56px; align-items: center;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  color: var(--dark); margin: 12px 0 16px;
}
.page-hero-content p {
  font-size: 16px; line-height: 1.75; color: var(--grey-700);
  margin-bottom: 28px;
}
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-right {
  display: flex; flex-direction: column; gap: 18px;
}
.intro-map {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: 22px; padding: 24px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.intro-map img { width: 100%; max-width: 340px; height: auto; }
.page-hero-photo {
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3; background: var(--grey-100);
}
.page-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.intro-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.intro-stat {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: 14px; padding: 14px 12px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.intro-stat-val {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: var(--blue); line-height: 1;
}
.intro-stat-label {
  font-size: 11px; color: var(--grey-500);
  font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; margin-top: 6px;
}

/* ── REGION TABS (BC Detail) ────────────────────────────────────────── */
.region-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 36px;
}
.region-tab {
  background: #fff; border: 1px solid var(--grey-200);
  padding: 9px 18px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--grey-700);
  transition: background 150ms, color 150ms, border-color 150ms;
}
.region-tab:hover { color: var(--blue); border-color: var(--blue); }
.region-tab.active {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.region-stack { display: block; }
.region-city {
  display: none;
  background: #fff; border-radius: 24px;
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-md);
  overflow: hidden;
}
.region-city.active { display: block; }
.city-hero {
  padding: 36px 36px 12px;
  border-bottom: 1px solid var(--grey-100);
}
.city-hero h3 {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  color: var(--dark); letter-spacing: -.02em; margin: 12px 0 16px;
}
.city-meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding-bottom: 24px;
}
.city-meta-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--grey-700);
}
.city-meta-icon {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--blue-light); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.city-meta-icon svg { width: 13px; height: 13px; }
.city-body { padding: 28px 36px 36px; display: flex; flex-direction: column; gap: 24px; }
/* Fotoleiste je Schuldistrikt: feste Kachelbreite, damit auch 1–3 Fotos
   nicht hochskaliert werden. */
.region-photos {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  list-style: none; margin: 0; padding: 0;
}
.region-photos img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 14px; background: var(--grey-100);
}
@media (max-width: 768px) {
  .region-photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .region-photos img { border-radius: 10px; }
}
/* Flex statt festem 3er-Raster: Reihen füllen sich immer ganz aus. Ein einzelner
   Textblock (z. B. Regionen mit nur „Die Region“) geht über die volle Breite. */
.info-grid {
  display: flex; flex-wrap: wrap; gap: 20px;
}
.info-grid:empty { display: none; }
.info-block--map { margin: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: #fff; }
.info-block--map img { display: block; width: 100%; height: auto; }
.info-block--map figcaption { font-size: 13px; color: var(--grey-500); text-align: center; }
.info-block {
  flex: 1 1 280px;
  background: var(--grey-50); border: 1px solid var(--grey-100);
  border-radius: 18px; padding: 22px 22px 24px;
}
.info-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: #fff; color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.info-icon svg { width: 18px; height: 18px; }
.info-block h4 {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.info-block p {
  font-size: 14px; color: var(--grey-700); line-height: 1.65;
}
.info-block p + p { margin-top: 8px; }

.region-why {
  background: var(--blue-light); border-radius: 16px;
  padding: 20px 24px;
}
.region-why strong {
  font-family: var(--font-display); color: var(--blue);
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  display: block; margin-bottom: 6px;
}
.region-why p { font-size: 15px; color: var(--grey-700); line-height: 1.7; }

.schools-section { display: flex; flex-direction: column; gap: 12px; }
.schools-header {
  display: flex; align-items: center; justify-content: space-between;
}
.schools-header h4 {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  color: var(--dark);
}
.schools-count {
  font-size: 12px; color: var(--grey-500); font-weight: 600;
}
.school-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
/* Nur eine Schule in der Region: Karte über die volle Breite statt halb leer. */
.school-grid > :only-child { grid-column: 1 / -1; }
.school-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  background: #fff; border: 1px solid var(--grey-200); border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px; font-weight: 600; color: var(--dark);
  transition: background 150ms, border-color 150ms, transform 150ms;
}
.school-card:hover { background: var(--blue-light); border-color: var(--blue); transform: translateX(2px); }
.school-card-arrow {
  color: var(--blue); flex-shrink: 0;
  display: inline-flex;
}
.school-card-arrow svg { width: 14px; height: 14px; }

.region-details {
  border-top: 1px solid var(--grey-100); padding-top: 18px;
}
.region-details summary {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--blue); cursor: pointer; list-style: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.region-details summary::-webkit-details-marker { display: none; }
.region-details summary::after {
  content: "▸"; transition: transform 200ms ease;
  display: inline-block;
}
.region-details[open] summary::after { transform: rotate(90deg); }
.course-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 20px;
}
.course-cat h5,
.course-cat h6 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  color: var(--dark); margin-bottom: 8px;
}
.course-cat ul {
  list-style: none; display: flex; flex-direction: column; gap: 4px;
}
.course-cat li {
  font-size: 13px; color: var(--grey-700); line-height: 1.5;
  padding-left: 12px; position: relative;
}
.course-cat li::before {
  content: "•"; position: absolute; left: 0;
  color: var(--blue); font-weight: 800;
}

/* Schulprofile (Neuseeland): eine aufklappbare Karte pro Schule,
   Beschreibung und Fächerangebot 1:1 aus den Kundenunterlagen. */
.school-profiles { display: flex; flex-direction: column; gap: 10px; }
.school-profile {
  background: #fff; border: 1px solid var(--grey-200); border-radius: 12px;
  transition: border-color 150ms;
}
.school-profile[open] { border-color: var(--blue); }
.school-profile summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; cursor: pointer; list-style: none;
  font-size: 14px; font-weight: 600; color: var(--dark);
}
.school-profile summary::-webkit-details-marker { display: none; }
.school-profile summary::after {
  content: "▸"; color: var(--blue); transition: transform 200ms ease;
}
.school-profile[open] summary::after { transform: rotate(90deg); }
.school-profile summary:hover { color: var(--blue); }
.school-profile__body {
  padding: 0 18px 20px; display: flex; flex-direction: column; gap: 18px;
  border-top: 1px solid var(--grey-100);
}
.school-profile__text { padding-top: 16px; }
.school-profile__text p { font-size: 15px; color: var(--grey-700); line-height: 1.7; }
.school-profile__text p + p { margin-top: 12px; }
.school-profile__text strong { color: var(--dark); }
.school-profile__offer h5 {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--dark);
}
.school-profile__offer > p { margin-top: 10px; font-size: 14px; color: var(--grey-700); line-height: 1.7; }
.school-profile .course-grid { margin-top: 12px; }
.school-profile__link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: var(--blue);
}
.school-profile__link svg { width: 14px; height: 14px; }

.cta-section {
  background: var(--blue); color: #fff;
  padding: 72px 0; text-align: center;
}
.cta-section h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: -.03em;
}
.cta-section p {
  font-size: 16px; color: rgba(255,255,255,.85);
  margin: 0 auto 28px; max-width: 560px; line-height: 1.65;
}

/* ── STORY CARDS v2 (Erfahrungsberichte mit Filter + Modal) ─────────── */
.story-filter {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 32px;
  justify-content: center;
}
.story-filter__btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid var(--grey-200);
  padding: 9px 16px 9px 12px; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  color: var(--grey-700); cursor: pointer;
  transition: background 150ms, border-color 150ms, color 150ms, transform 120ms;
}
.story-filter__btn:hover {
  background: var(--blue-light); border-color: var(--blue); color: var(--blue);
}
.story-filter__btn:active { transform: scale(.97); }
.story-filter__btn.is-active {
  background: var(--blue); border-color: var(--blue); color: #fff;
}
.story-filter__btn img {
  width: 18px; height: 18px; border-radius: 50%;
  object-fit: cover; border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--grey-200);
}
.story-filter__count {
  font-size: 11px; font-weight: 800;
  background: rgba(0, 0, 0, .08); color: inherit;
  padding: 2px 8px; border-radius: var(--radius-pill);
  min-width: 24px; text-align: center;
}
.story-filter__btn.is-active .story-filter__count {
  background: rgba(255, 255, 255, .25); color: #fff;
}

.story-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.story-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 220ms, transform 220ms;
}
.story-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.story-card.is-hidden { display: none; }
.story-card__media {
  aspect-ratio: 16 / 10;
  background-size: cover; background-position: center;
  background-color: var(--grey-100);
}
.story-card__media--flag {
  background-size: 80px;
  background-repeat: no-repeat;
  background-color: var(--blue-light);
  background-position: center;
}
.story-card__body {
  padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.story-card__chip {
  align-self: flex-start;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: var(--blue-light); color: var(--blue);
  font-size: 11px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase;
}
.story-card__quote {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; line-height: 1.45; letter-spacing: -.01em;
  color: var(--dark);
  flex: 1;
}
.story-card__meta {
  display: flex; flex-direction: column; gap: 3px;
  padding-top: 12px; border-top: 1px solid var(--grey-100);
  font-size: 13px; color: var(--grey-700);
}
.story-card__meta strong {
  font-family: var(--font-display); font-size: 14px;
  color: var(--dark);
}
.story-card__country {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--grey-500);
}
.story-card__duration {
  font-size: 11px; color: var(--blue); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.story-card__open {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  color: var(--blue); cursor: pointer;
  background: none; border: none;
  padding: 6px 0 0; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 4px;
}
.story-card__open:hover { text-decoration: underline; }

.story-empty {
  text-align: center; padding: 48px 0;
  color: var(--grey-500); font-size: 15px;
}

/* Story-Modal: erweitert team-bio-dialog mit Hero-Bild */
.story-bio-dialog__media {
  width: calc(100% + 80px); height: 200px;
  margin: -40px -40px 20px;
  background-size: cover; background-position: center;
}
.story-bio-dialog__chip { margin: 0 auto 8px; align-self: center; }
.story-bio-dialog__duration { color: var(--grey-500); margin-left: 4px; }

@media (max-width: 1024px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-filter { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0 4px 8px; }
  .story-filter__btn { flex-shrink: 0; }
  .story-bio-dialog__media {
    width: calc(100% + 64px); height: 160px;
    margin: -32px -32px 16px;
  }
}

/* ── KATALOG / BROSCHÜRE ────────────────────────────────────────────── */
.katalog-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 56px; align-items: center;
}
.katalog-preview {
  display: flex; align-items: center; justify-content: center;
}
.katalog-cover {
  width: 100%; max-width: 320px; aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--radius-xl);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 32px;
  box-shadow: 0 24px 48px rgba(0,118,189,.25), 0 6px 18px rgba(0,0,0,.12);
  transform: rotate(-2deg);
  transition: transform 250ms ease;
}
.katalog-cover:hover { transform: rotate(0deg); }
.katalog-cover__label {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,.7); letter-spacing: .15em; text-transform: uppercase;
}
.katalog-cover__year {
  font-family: var(--font-display); font-size: 64px; font-weight: 900;
  color: #fff; letter-spacing: -.04em; line-height: 1; margin: 16px 0;
}
.katalog-cover__tag {
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
  color: #fff; padding: 8px 16px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  letter-spacing: .08em; text-transform: uppercase;
}
.katalog-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
  color: var(--dark); margin-bottom: 18px;
}
.katalog-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.katalog-list li {
  font-size: 15px; color: var(--grey-700); line-height: 1.6;
  padding-left: 22px; position: relative;
}
.katalog-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--blue); font-weight: 800; font-size: 14px;
}
.katalog-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.katalog-note {
  font-size: 13px; color: var(--grey-500); line-height: 1.6;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .katalog-grid { grid-template-columns: 1fr; gap: 32px; }
  .katalog-cover { max-width: 240px; }
  .katalog-cover__year { font-size: 48px; }
}

/* ── INFO TOPIC CARDS ───────────────────────────────────────────────── */
.info-topics-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.info-topic-card {
  position: relative;
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); padding: 28px 26px 56px;
  box-shadow: var(--shadow-sm); color: inherit;
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 200ms, transform 200ms, border-color 200ms;
}
.info-topic-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-3px);
  border-color: var(--blue);
}
.info-topic-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--blue-light); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
}
.info-topic-card__media {
  margin: -28px -26px 6px; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--grey-100);
}
.info-topic-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.info-topic-card h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--dark);
}
.info-topic-card p {
  font-size: 14px; color: var(--grey-700); line-height: 1.6;
  flex: 1;
}
.info-topic-card__arrow {
  position: absolute; right: 24px; bottom: 24px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 200ms, color 200ms, transform 200ms;
}
.info-topic-card:hover .info-topic-card__arrow {
  background: var(--blue); color: #fff; transform: translateX(2px);
}
@media (max-width: 1024px) {
  .info-topics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .info-topics-grid { grid-template-columns: 1fr; }
}

/* ── FAQ COUNTRY GRID ───────────────────────────────────────────────── */
.faq-country-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.faq-country-link {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius-md); padding: 14px 18px;
  color: var(--dark); font-weight: 700; font-size: 15px;
  transition: background 150ms, border-color 150ms, transform 150ms;
}
.faq-country-link:hover {
  background: var(--blue-light); border-color: var(--blue);
  color: var(--blue); transform: translateX(2px);
}
.faq-country-link img {
  border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--grey-200);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .faq-country-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .faq-country-grid { grid-template-columns: 1fr; }
}

/* ── JOB CARD (Karriere) ────────────────────────────────────────────── */
.job-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.job-card + .job-card { margin-top: 20px; }
.job-card__header { display: flex; flex-direction: column; gap: 6px; }
.job-card__header h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 800;
  color: var(--dark); letter-spacing: -.01em;
}
.job-card__meta {
  font-size: 13px; color: var(--blue); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.job-card p { font-size: 15px; color: var(--grey-700); line-height: 1.65; }
.job-card__subhead {
  font-family: var(--font-display); font-size: 14px; font-weight: 700;
  color: var(--dark); margin-top: 4px;
}
.job-card__list {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
}
.job-card__list li {
  font-size: 14px; color: var(--grey-700); line-height: 1.55;
  padding-left: 18px; position: relative;
}
.job-card__list li::before {
  content: "✓"; position: absolute; left: 0;
  color: var(--blue); font-weight: 800;
}
.job-card .btn { align-self: flex-start; margin-top: 8px; }

/* ── CONTACT PAGE ───────────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.contact-info-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow 200ms, transform 200ms;
}
.contact-info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-info-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--blue-light); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.contact-info-card h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--dark);
}
.contact-info-card p { font-size: 15px; color: var(--grey-700); line-height: 1.6; }
.contact-info-card p a { color: var(--blue); font-weight: 600; }
.contact-info-card small {
  display: block; margin-top: 4px;
  font-size: 12px; color: var(--grey-500);
}

/* ── CONTACT FORM ───────────────────────────────────────────────────── */
.contact-form {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 14px;
}
.form-field > span {
  font-weight: 700; color: var(--dark); font-size: 13px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body); font-size: 15px;
  padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--grey-200); background: #fff;
  color: var(--dark);
  transition: border-color 150ms, box-shadow 150ms;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.form-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--grey-700); line-height: 1.5;
  cursor: pointer;
}
.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--blue);
}
.form-checkbox a { color: var(--blue); text-decoration: underline; }
.contact-form .btn { align-self: flex-start; }
.form-hint {
  font-size: 12px; color: var(--grey-500); font-style: italic;
}

/* Formular „Beratungsgespräch vereinbaren“ (/beratungsgespraech/) */
.form-fieldset {
  border: 0; margin: 0; padding: 0 0 22px;
  display: flex; flex-direction: column; gap: 18px;
  border-bottom: 1px solid var(--grey-100);
}
.form-fieldset legend {
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  color: var(--dark); margin-bottom: 16px; padding: 0;
}
.form-radios { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 4px; }
.form-note { font-size: 14px; color: var(--grey-700); line-height: 1.6; }
.form-note a, .form-error a { color: var(--blue); text-decoration: underline; }
.form-field__hint { font-size: 12px; color: var(--grey-500); }
.form-field input[type="file"] { padding: 9px 10px; font-size: 14px; }
.form-error {
  font-size: 14px; line-height: 1.6; color: var(--red);
  background: #fdf1f1; border-radius: 10px; padding: 12px 14px;
}
.booking-success {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); box-shadow: var(--shadow-md);
  padding: 40px 36px; text-align: center;
}
.booking-success h2 {
  font-family: var(--font-display); font-size: 26px; font-weight: 800;
  color: var(--dark); margin-bottom: 10px;
}
.booking-success p { font-size: 16px; color: var(--grey-700); line-height: 1.7; }
.form-field[hidden], .form-error[hidden], .booking-success[hidden], .contact-form[hidden] { display: none; }
/* Honeypot gegen Spam-Bots: für Menschen unsichtbar, nicht per Tab erreichbar. */
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── CONTACT SOCIALS ────────────────────────────────────────────────── */
.contact-socials {
  display: flex; justify-content: center; gap: 16px;
  margin-top: 8px;
}
.contact-social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-pill);
  background: #fff; border: 1.5px solid var(--grey-200);
  color: var(--dark); font-weight: 700;
  transition: background 150ms, border-color 150ms, transform 120ms;
}
.contact-social-btn:hover {
  background: var(--blue-light); border-color: var(--blue); color: var(--blue);
}

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}

/* ── PROSE BLOCK (Info-Pages) ───────────────────────────────────────── */
/* Linksbündig zur Container-Kante (kein `margin: 0 auto`). Der äußere
   .container ist zentriert auf der Page; .prose sitzt darin links. */
.prose {
  max-width: 760px; margin: 0;
  color: var(--grey-700); font-size: 16px; line-height: 1.75;
}
.prose > * + * { margin-top: 16px; }
.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  color: var(--dark); margin-top: 40px; margin-bottom: 12px;
}
.prose h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--dark); margin-top: 28px; margin-bottom: 8px;
}
.prose p { line-height: 1.75; }
.prose ul, .prose ol {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  padding-left: 0;
}
.prose ul li {
  padding-left: 22px; position: relative;
  line-height: 1.65;
}
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}
.prose ol {
  counter-reset: prose-li;
}
.prose ol li {
  counter-increment: prose-li;
  padding-left: 36px; position: relative;
  line-height: 1.65;
}
.prose ol li::before {
  content: counter(prose-li);
  position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 13px; font-weight: 800;
}
.prose strong { color: var(--dark); font-weight: 700; }
.prose a {
  color: var(--blue); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.prose a:hover { color: var(--blue-dark); }
.prose blockquote {
  border-left: 3px solid var(--blue);
  padding: 8px 0 8px 20px; margin: 24px 0;
  font-style: italic; color: var(--grey-700);
}
.prose hr {
  border: 0; height: 1px; background: var(--grey-200);
  margin: 32px 0;
}

/* ── ABOUT (Über uns) ───────────────────────────────────────────────── */
/* Teamfoto ohne Begleittext (Über uns): mittig, begrenzte Breite. */
.about-img--wide { max-width: 960px; margin: 0 auto; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
/* Kein "background-size: cover" — wir wollen alle Personen sehen, das Bild
   darf in voller natürlicher Höhe angezeigt werden. */
.about-img {
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--grey-100);
}
.about-img img {
  display: block; width: 100%; height: auto;
}
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
  color: var(--dark); margin: 12px 0 16px;
}
.about-text p {
  font-size: 16px; color: var(--grey-700); line-height: 1.75;
  margin-bottom: 14px;
}

/* ── VALUES GRID ────────────────────────────────────────────────────── */
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
/* Download-Variante der value-card: Button unten buendig, damit Karten mit
   unterschiedlich langem Text gleich aussehen. (.value-card ist bereits
   flex-column mit gap, deshalb reicht margin-top: auto.) */
.value-card--download .btn { margin-top: auto; align-self: flex-start; }
.value-card__meta {
  margin-top: 10px; font-size: 12px; color: var(--grey-500);
}
.values-grid--3 { grid-template-columns: repeat(3, 1fr); }
.value-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
}
.value-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--blue-light); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-card h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--dark);
}
.value-card p {
  font-size: 14px; color: var(--grey-700); line-height: 1.65;
}
.value-card__logo { width: 72px; height: auto; margin-top: auto; }

/* ── TEAM GRID ──────────────────────────────────────────────────────── */
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.team-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 12px;
}
.team-card__avatar {
  width: 140px; height: 140px; border-radius: 50%;
  overflow: hidden; background: var(--blue-light);
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--grey-200);
}
.team-card__avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
}
.team-card h3 {
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: var(--dark);
}
.team-card__role {
  font-size: 13px; color: var(--grey-500); font-weight: 600;
}
.team-card__country {
  font-size: 11px; color: var(--blue); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
  flex-wrap: wrap; justify-content: center; line-height: 1.4;
  max-width: 100%;
}
.team-card__country img {
  width: 16px; height: 16px; border-radius: 50%;
  object-fit: cover; border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--grey-200);
}
/* Bio-Trigger Button auf der Team-Card — öffnet das Modal. */
.team-card__bio-trigger {
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  color: var(--blue); cursor: pointer;
  padding: 6px 0; margin-top: 2px;
  background: none; border: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.team-card__bio-trigger:hover { text-decoration: underline; }

/* Bio-Modal (<dialog>). Wird via showModal() geöffnet, ESC schließt nativ. */
.team-bio-dialog {
  margin: auto;
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 64px);
  padding: 0; border: 0;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 80px rgba(0,0,0,.25), 0 8px 24px rgba(0,0,0,.12);
  background: #fff;
  overflow: hidden;
}
.team-bio-dialog::backdrop {
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
}
.team-bio-dialog__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.85); border: 1px solid var(--grey-200);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--grey-700);
  font-size: 18px; line-height: 1; font-weight: 700;
  transition: background 150ms, color 150ms, transform 120ms;
  z-index: 2;
}
.team-bio-dialog__close:hover { background: var(--grey-100); color: var(--dark); }
.team-bio-dialog__close:active { transform: scale(.94); }

.team-bio-dialog__content {
  padding: 40px 40px 36px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.team-bio-dialog__avatar {
  width: 110px; height: 110px; border-radius: 50%; overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--grey-200);
}
.team-bio-dialog__avatar img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
}
.team-bio-dialog__name {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: var(--dark); letter-spacing: -.02em;
}
.team-bio-dialog__role {
  font-size: 13px; color: var(--grey-500); font-weight: 600;
  margin-top: 4px;
}
.team-bio-dialog__scope {
  font-size: 11px; color: var(--blue); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  flex-wrap: wrap; justify-content: center;
}
.team-bio-dialog__scope img {
  width: 16px; height: 16px; border-radius: 50%;
  object-fit: cover; border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px var(--grey-200);
}
.team-bio-dialog__body {
  margin-top: 22px; text-align: left;
  font-size: 15px; line-height: 1.7; color: var(--grey-700);
}
.team-bio-dialog__body p + p { margin-top: 12px; }
.team-bio-dialog__body strong { font-weight: 700; color: var(--dark); }

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid   { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .about-grid  { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ── PRICE CARDS (Kosten-Page) ──────────────────────────────────────── */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.price-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 200ms, transform 200ms;
}
.price-card__header {
  display: flex; align-items: center; gap: 12px;
}
.price-card__flag {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--grey-200);
  flex-shrink: 0;
}
.price-card__country {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--dark);
}
/* Fristen: kleinere Regel-Überschrift und mehr Luft als bei den Preis-Karten. */
.price-card--deadline { gap: 18px; padding: 30px 28px; }
.price-card--deadline .price-card__price {
  font-size: 20px; line-height: 1.3; letter-spacing: -.01em; margin-top: 6px;
}
.price-card--deadline .price-card__price small { margin-top: 6px; }
.price-card--deadline .deadline-list { gap: 10px; padding-top: 16px; font-size: 14px; }
.price-card--deadline .deadline-list li { padding-left: 22px; }
.price-card__price {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  color: var(--blue); letter-spacing: -.02em; line-height: 1;
  margin-top: 4px;
}
.price-card__price small {
  display: block;
  font-family: var(--font-body); font-size: 12px;
  color: var(--grey-500); font-weight: 600;
  letter-spacing: 0; margin-top: 4px;
}
.price-card__group + .price-card__group { padding-top: 10px; border-top: 1px solid var(--grey-100); }
.price-card__group-label {
  font-size: 12px; font-weight: 700; color: var(--grey-500);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px;
}
.price-card__rows { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.price-card__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 15px; color: var(--grey-700);
}
.price-card__row dd {
  margin: 0; font-family: var(--font-display); font-weight: 700;
  color: var(--blue); white-space: nowrap;
}
.price-card__note {
  font-size: 13px; color: var(--grey-500); line-height: 1.5;
  padding-top: 12px; border-top: 1px solid var(--grey-100);
}
.deadline-list {
  list-style: none; display: flex; flex-direction: column; gap: 6px;
  padding-top: 12px; border-top: 1px solid var(--grey-100);
  font-size: 13px; color: var(--grey-700); line-height: 1.5;
}
.deadline-list li {
  padding-left: 14px; position: relative;
}
.deadline-list li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--blue); font-weight: 700;
}

/* ── INCLUDES / EXCLUDES BOX ────────────────────────────────────────── */
.includes-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.includes-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); padding: 32px 30px;
  box-shadow: var(--shadow-sm);
}
.includes-card h3 {
  font-family: var(--font-display); font-size: 18px; font-weight: 800;
  color: var(--dark); margin-bottom: 16px;
}
.includes-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.includes-list li {
  font-size: 15px; color: var(--grey-700); line-height: 1.5;
  display: flex; align-items: flex-start; gap: 10px;
}
.includes-list li::before {
  flex-shrink: 0;
  width: 20px; height: 20px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; line-height: 1;
  margin-top: 1px;
}
.includes-card--in .includes-list li::before {
  content: "✓";
  background: var(--blue-light); color: var(--blue);
}
.includes-card--out .includes-list li::before {
  content: "+";
  background: var(--red-light); color: var(--red);
}

/* ── SCHOLARSHIP CARDS ──────────────────────────────────────────────── */
.scholarship-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.scholarship-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-inline: auto; }
.scholarship-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--grey-200); padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow 200ms, transform 200ms;
}
.scholarship-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.scholarship-card__icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--blue-light); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.scholarship-card h3 {
  font-family: var(--font-display); font-size: 17px; font-weight: 700;
  color: var(--dark); margin-top: 6px;
}
.scholarship-card p {
  font-size: 14px; color: var(--grey-700); line-height: 1.65;
  flex: 1;
}
.scholarship-card__link {
  font-size: 13px; font-weight: 700; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
  padding-top: 8px;
}
.scholarship-card__link:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .price-grid, .scholarship-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .price-grid, .scholarship-grid, .includes-grid { grid-template-columns: 1fr; }
}

/* ── 404 PAGE ───────────────────────────────────────────────────────── */
.page-404 {
  min-height: 70vh;
  display: flex; align-items: center;
  text-align: center;
}
.page-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1;
  margin: 16px 0 18px;
}
.page-404 p {
  font-size: 17px; color: var(--grey-500); line-height: 1.7;
  max-width: 520px; margin: 0 auto 32px;
}
.page-404 .cta-actions { justify-content: center; }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
footer.site-footer { background: #111; padding: 56px 0 32px; color: rgba(255,255,255,.5); }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px;
}
.footer-brand img {
  height: 50px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
  display: block;
}
.footer-brand p {
  font-size: 13px; color: rgba(255,255,255,.5);
  line-height: 1.7; max-width: 260px;
}
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 150ms;
  color: rgba(255,255,255,.6);
}
.footer-social-btn:hover { background: rgba(255,255,255,.16); color: #fff; }
.footer-col-title {
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  color: #fff; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-link {
  display: block; font-size: 13px; color: rgba(255,255,255,.5);
  margin-bottom: 10px; transition: color 150ms;
}
.footer-link:hover { color: #fff; }
.footer-address { font-style: normal; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 12px; color: rgba(255,255,255,.3); transition: color 150ms;
}
.footer-legal a:hover { color: rgba(255,255,255,.6); }
.footer-cta-pill {
  display: inline-block; background: var(--blue); color: #fff;
  padding: 9px 18px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 700;
  transition: background 150ms;
  margin-top: 16px;
}
.footer-cta-pill:hover { background: var(--blue-dark); color: #fff; }
.footer-wordmark { padding: 120px 0 0; }
.footer-wordmark-text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 4.5rem); font-weight: 800;
  color: rgba(255,255,255,.18); letter-spacing: -.04em;
  line-height: 1;
  /* Falls bei sehr breiten Bildschirmen oder anderen Wordmarks doch
     einmal zu breit: bricht sauber um statt am Viewport-Rand zu clippen. */
  word-break: normal; overflow-wrap: break-word;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .next-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .next-steps-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .course-grid     { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait / large phone */
@media (max-width: 768px) {
  .section       { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .cta-banner    { padding: 56px 0; }
  .cta-banner--soft { padding: 64px 0; }
  .cta-section   { padding: 56px 0; }
  .testimonials-grid,
  .events-grid   { grid-template-columns: 1fr; }
  .page-hero     { padding: 40px 0 48px; }
  .city-body, .city-hero { padding-left: 24px; padding-right: 24px; }
}

/* Drei Buttons plus Menü passen erst ab ca. 1130 px nebeneinander, darunter Burger-Menü. */
@media (max-width: 1180px) {
  .navbar-links { display: none; }
  .navbar-burger { display: inline-flex; }
  .navbar-katalog { display: none; }
}

@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .navbar-drawer-head { padding: 0 20px; }
  .hero { min-height: 640px; }
  .hero-card { padding: 32px 28px; max-width: 100%; }
  .trust-bar .container,
  .dest-grid,
  .why-grid,
  .events-grid,
  .footer-grid,
  .testimonials-grid,
  .page-hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .region-grid > * { flex-basis: 100%; max-width: none; }
  .why-grid { gap: 32px; }
  .next-steps-grid { grid-template-columns: 1fr; }
  .returnee-grid { grid-template-columns: 1fr; }
  .experience-panel { grid-template-columns: 1fr; min-height: auto; }
  .experience-panel:nth-child(even) .experience-img { order: 0; }
  .experience-img { min-height: 240px; }
  .why-badge-card {
    left: 16px; bottom: 16px;
    width: min(182px, calc(100% - 32px));
  }
  .contact-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; text-align: center; }
  .contact-card-avatar { width: 140px; height: 140px; margin: 0 auto; }
  .contact-people { grid-template-columns: 1fr; }
  .contact-card-body .tag,
  .contact-card-actions,
  .contact-card-links {
    align-self: center; justify-content: center;
  }
  .memories-grid { grid-template-columns: repeat(2, 1fr); }
  .mem-col:nth-child(n+3) { display: none; }
  .mem-col-offset { margin-top: 20px; }
  .school-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .city-body, .city-hero { padding-left: 22px; padding-right: 22px; }

  /* Region tabs: horizontal scroll instead of multi-row wrap */
  .region-tabs {
    flex-wrap: nowrap; overflow-x: auto;
    -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory;
    justify-content: flex-start;
    margin: 0 -20px 28px; padding: 0 20px 6px;
    scrollbar-width: thin;
  }
  .region-tab {
    flex-shrink: 0; scroll-snap-align: start;
  }

  /* Trust-bar stays as a vertical stack — keep stats centered */
  .trust-stat { padding: 18px 16px; flex: 1 1 100%; }
  .trust-stat-val { font-size: 26px; }

  /* Hero card title pinches on narrow phones */
  .hero-card h1 { font-size: clamp(1.65rem, 6vw, 2.2rem); }

  .footer-wordmark { padding-top: 80px; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .navbar { height: 72px; }
  .navbar-drawer-head { height: 72px; padding: 0 16px; }
  .navbar-logo img { height: 44px; }
  .navbar-cta { padding: 8px 14px; font-size: 13px; }
  .hero { min-height: calc(100vh - 72px); }
  .hero-card { padding: 28px 22px; border-radius: 18px; }
  .hero-card-actions .btn { width: 100%; justify-content: center; }
  .page-hero-content h1 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .intro-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .intro-stat { padding: 12px 6px; }
  .intro-stat-val { font-size: 18px; }
  .intro-stat-label { font-size: 9px; }
  .section-header { margin-bottom: 28px; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .contact-card-actions .btn { width: 100%; justify-content: center; }
  .city-meta-item { font-size: 12px; }
  .schools-header { flex-wrap: wrap; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}
