/* ============================================================
   STATIONAERE-JUGENDHILFE.DE – style.css v1
   Wayve Jugendhilfe GmbH | CI-konform
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&family=Syne:wght@400;500;600;700&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Farben */
  --blue:         #035AAF;
  --blue-mid:     #2172B8;
  --teal:         #2E9BAE;
  --green:        #77C598;
  --dark:         #0d1f35;
  --text:         #1e3450;
  --text-mid:     #3d5a80;
  --text-light:   #6b8cae;
  --bg:           #f7fafd;
  --bg-soft:      #eef4fb;
  --white:        #ffffff;

  /* Gradient */
  --grad-h:       linear-gradient(90deg,  #035AAF 0%, #2E9BAE 100%);
  --grad-d:       linear-gradient(135deg, #035AAF 0%, #77C598 100%);

  /* Border Radius */
  --r-sm:         8px;
  --r:            14px;
  --r-lg:         20px;
  --r-pill:       100px;

  /* Schatten */
  --shadow:       0 4px 24px rgba(3,90,175,0.10);
  --shadow-lg:    0 12px 48px rgba(3,90,175,0.15);
  --shadow-card:  0 2px 12px rgba(3,90,175,0.08), 0 8px 32px rgba(3,90,175,0.07);

  /* Abstände */
  --section:      80px;
  --section-lg:   96px;
  --container:    1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typografie ───────────────────────────────────────────── */
h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
}
h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--dark);
}
h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
}
p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.975rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-mid);
}
p + p { margin-top: 0.9em; }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-h);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background-position: 40% 50%;
  box-shadow: 0 6px 28px rgba(3,90,175,0.30);
  transform: translateY(-1px);
  text-decoration: none;
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--blue);
  border: none;
  padding: 14px 30px;
  border-radius: var(--r-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}
.btn-white:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--blue);
}

/* ── Badge / Label ────────────────────────────────────────── */
.badge {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--blue);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(3,90,175,0.15);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-white {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,250,253,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(3,90,175,0.10);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-h);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  text-decoration: none;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta { flex-shrink: 0; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid rgba(3,90,175,0.08);
  padding: 12px 24px 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  padding: 11px 0;
  border-bottom: 1px solid rgba(3,90,175,0.07);
  text-decoration: none;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn-primary { margin-top: 14px; justify-content: center; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--grad-h);
  position: relative;
  overflow: hidden;
  padding: 80px 0 88px;
}

/* Dezente Wellentextur im Hintergrund */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 80% 50%, rgba(119,197,152,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Geometrisches Wellen-Deko-Element oben rechts */
.hero-deco {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.hero-content { max-width: 620px; }

.hero-eyebrow {
  margin-bottom: 20px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 22px;
}

.hero-lead {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.80);
  font-size: 0.82rem;
  font-weight: 400;
}
.hero-trust-item svg {
  flex-shrink: 0;
  opacity: 0.85;
}

/* Hero-Karte rechts */
.hero-card {
  background: rgba(255,255,255,0.97);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(3,40,100,0.25);
}
.hero-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--dark);
}
.hero-card-sub {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 22px;
}
.hero-card-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-card-form input,
.hero-card-form select,
.hero-card-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid rgba(3,90,175,0.18);
  border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.hero-card-form input:focus,
.hero-card-form select:focus,
.hero-card-form textarea:focus {
  border-color: var(--blue);
}
.hero-card-form textarea { resize: vertical; min-height: 80px; }
.hero-card-form .btn-primary { width: 100%; justify-content: center; }
.hero-card-privacy {
  font-size: 0.74rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
}

/* ── Sections – Allgemein ─────────────────────────────────── */
.section { padding: var(--section) 0; }
.section-lg { padding: var(--section-lg) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: var(--dark);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #8aafc8; }

.section-header {
  margin-bottom: 52px;
}
.section-header .badge { margin-bottom: 14px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 580px; }
.section-header.centered {
  text-align: center;
}
.section-header.centered p { margin: 0 auto; }

/* ── Grid-Layouts ─────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Karten ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--blue);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.9rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card-icon svg { color: var(--blue); }

/* Karte mit Teal-Rand */
.card-teal { border-left-color: var(--teal); }
.card-green { border-left-color: var(--green); }

/* ── Feature-List ─────────────────────────────────────────── */
ul.check {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
}
ul.check li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.5;
}
ul.check li::before {
  content: '→';
  color: var(--teal);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Highlight-Box ────────────────────────────────────────── */
.highlight-box {
  background: var(--grad-h);
  border-radius: var(--r-lg);
  padding: 48px 52px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.highlight-box::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}
.highlight-box h2 { color: #fff; margin-bottom: 14px; }
.highlight-box p { color: rgba(255,255,255,0.85); margin-bottom: 28px; max-width: 560px; }

/* ── Stat-Block ───────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 400;
}

/* ── Beschluss-Karte (speziell) ───────────────────────────── */
.beschluss-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.beschluss-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.beschluss-card.featured {
  border: 2px solid var(--teal);
}
.beschluss-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.beschluss-badge.std {
  background: var(--bg-soft);
  color: var(--blue);
}
.beschluss-card h3 { margin-bottom: 12px; font-size: 1.15rem; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid rgba(3,90,175,0.10);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Syne', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--blue);
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
}
.faq-answer p { font-size: 0.92rem; }
.faq-item.open .faq-answer { display: block; }

/* ── Prozess-Steps ────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 46px;
  bottom: 46px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--teal) 100%);
  opacity: 0.25;
}
.step {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  align-items: flex-start;
}
.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-h);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-content h3 { margin-bottom: 6px; }
.step-content p { font-size: 0.9rem; }

/* ── Vertrauen-Section ────────────────────────────────────── */
.trust-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.trust-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid rgba(3,90,175,0.12);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--text-mid);
  box-shadow: var(--shadow);
}
.trust-chip svg { color: var(--teal); flex-shrink: 0; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--grad-d);
  border-radius: var(--r-lg);
  padding: 56px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
  position: relative;
}
.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.82); max-width: 480px; }
.cta-banner-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
}

.footer-col h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8aafc8;
  margin-bottom: 18px;
}

.footer-logo {
  margin-bottom: 16px;
}
.footer-logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-desc {
  font-size: 0.86rem;
  color: #8aafc8;
  line-height: 1.65;
  margin-bottom: 22px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact a {
  font-size: 0.86rem;
  color: #8aafc8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: #fff; }
.footer-contact svg { flex-shrink: 0; color: var(--teal); }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.footer-links a {
  font-size: 0.86rem;
  color: #8aafc8;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.80rem;
  color: #5a7a94;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.80rem;
  color: #5a7a94;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: #8aafc8; }

/* ── Hero-Bild-Bereich ────────────────────────────────────── */
.hero-image-wrap {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  font-family: 'DM Sans', sans-serif;
}

/* ── Subhero (Unterseiten) ────────────────────────────────── */
.subhero {
  background: var(--grad-h);
  padding: 56px 0 60px;
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 90% at 90% 50%, rgba(119,197,152,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.subhero-inner { position: relative; z-index: 1; }
.subhero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.subhero-lead { color: rgba(255,255,255,0.82); font-size: 1rem; max-width: 580px; }

/* ── Geo-Seiten spezifisch ────────────────────────────────── */
.geo-intro {
  max-width: 720px;
  margin-bottom: 40px;
}
.geo-intro h2 { margin-bottom: 14px; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-card { max-width: 480px; }

  .grid-3  { grid-template-columns: 1fr 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }

  .beschluss-grid { grid-template-columns: 1fr; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-banner {
    flex-direction: column;
    padding: 40px 32px;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  :root { --section: 56px; --section-lg: 68px; }

  .grid-3  { grid-template-columns: 1fr; }
  .grid-2  { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr; }

  .hero { padding: 56px 0 64px; }

  .highlight-box { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }

  .stats-row { gap: 32px; }

  .cta-banner { padding: 32px 24px; }

  .hero-trust { gap: 14px; }
}


/* ============================================================
   SJH-Erweiterungen – stationaere-jugendhilfe.de
   ============================================================ */

/* Dunkler Hero */
.hero-dark { background: var(--dark); }
.hero-dark::before { opacity: 0.35; }
.hero-dark h1 { color: #fff; }
.hero-dark .hero-eyebrow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  background: none; border: none; padding: 0;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: #8fb2d4;
}
.hero-dark .hero-eyebrow strong { color: #fff; font-weight: 600; }
.hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(119,197,152,0.18);
  flex-shrink: 0;
}
.hero-eyebrow-sep { color: rgba(255,255,255,0.28); font-weight: 400; }
@media (max-width: 520px) {
  .hero-dark .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.06em; gap: 8px; }
}
.hero-dark .hero-lead { color: #b8cde4; }
.hero-dark .hero-trust-item { color: #c8d9ec; }
.hero-dark .hero-trust-item svg { color: var(--green); }
.hero-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.hero-dark .btn-outline:hover { background: rgba(255,255,255,0.08); border-color: #fff; }

/* Signatur: Zusagen-Protokoll */
.zusagen { border-top: 1px solid rgba(3,90,175,0.16); }
.zusage { display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding: 30px 0;
  border-bottom: 1px solid rgba(3,90,175,0.16); align-items: start; }
.zusage-num { font-family: 'Syne', sans-serif; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); padding-top: 4px; }
.zusage-num strong { display: block; font-size: 1.9rem; line-height: 1; letter-spacing: 0;
  color: var(--dark); margin-top: 4px; }
.zusage h3 { margin-bottom: 8px; font-size: 1.12rem; }
.zusage p { max-width: 720px; }
@media (max-width: 640px) { .zusage { grid-template-columns: 1fr; gap: 8px; } }

/* Vergleichstabelle */
.compare { width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-card); font-size: 0.92rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--bg-soft);
  color: var(--text-mid); vertical-align: top; }
.compare th { font-family: 'Syne', sans-serif; font-weight: 600; color: var(--dark);
  background: var(--bg-soft); font-size: 0.88rem; }
.compare tr td:first-child { font-weight: 500; color: var(--dark); white-space: nowrap; }
.compare-wrap { overflow-x: auto; }

/* Glossar */
.glossar-item { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-card);
  padding: 24px 28px; margin-bottom: 16px; }
.glossar-item h3 { margin-bottom: 6px; }
.glossar-item p { font-size: 0.94rem; }

/* Checkliste */
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { position: relative; padding: 7px 0 7px 30px; color: var(--text-mid);
  font-size: 0.95rem; line-height: 1.6; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 12px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--grad-h); }
.checklist li::after { content: ''; position: absolute; left: 4.5px; top: 16.5px; width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Stufen (Intensivpädagogik) */
.stufe { background: var(--white); border-radius: var(--r); box-shadow: var(--shadow-card);
  padding: 26px 28px; border-left: 4px solid var(--teal); margin-bottom: 16px; }
.stufe.stufe-1 { border-left-color: var(--green); }
.stufe.stufe-3 { border-left-color: var(--blue); }
.stufe h3 { margin-bottom: 6px; }

/* ── Kontrast-Fixes Footer (WCAG AA auf #0d1f35) ──────────── */
.footer-desc, .footer-contact a, .footer-links a { color: #9fbdd6; }
.footer-copy { color: #9fbdd6; }
.footer-copy a { color: #fff; text-decoration: underline; }
.footer-copy a:hover { color: #cfe0ef; }
.footer-copy .footer-agency { color: #9fbdd6; text-decoration: none; }
.footer-copy .footer-agency:hover { color: #fff; text-decoration: underline; }
.footer-legal a { color: #9fbdd6; }
.footer-legal a:hover { color: #fff; }

/* Checkliste auf farbigem Hintergrund (highlight-box) lesbar */
.highlight-box h3 { color: #fff; margin-bottom: 8px; }
.highlight-box .checklist li { color: rgba(255,255,255,0.92); }
.highlight-box .checklist li::before { background: #fff; }
.highlight-box .checklist li::after { border-left-color: var(--blue); border-bottom-color: var(--blue); }
.highlight-box a { color: #fff; text-decoration: underline; }

/* Sichtbarer Fokus für Tastaturnutzer */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 2px;
}

/* Screenreader-only Labels */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Zusagen-Karten mit Icon (Startseite) */
.zusagen-cards { gap: 24px; margin-top: 8px; }
.zusage-card { display: flex; gap: 20px; align-items: flex-start; background: var(--white);
  border-radius: var(--r); box-shadow: var(--shadow-card); padding: 30px 32px; }
.zusage-icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--blue); }
.zusage-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.zusage-card p { margin: 0; }
@media (max-width: 560px) { .zusage-card { flex-direction: column; gap: 14px; padding: 26px 24px; } }

/* Rechtstexte (Impressum, Datenschutz) */
.legal-wrap { max-width: 720px; padding: 64px 0 80px; }
.legal-wrap h1 { margin-bottom: 8px; }
.legal-wrap h2 { font-size: 1.05rem; margin-top: 36px; margin-bottom: 8px; color: var(--dark); }
.legal-wrap h3 { margin-top: 24px; margin-bottom: 6px; }
.legal-wrap p, .legal-wrap address, .legal-wrap li { font-size: 0.93rem; color: var(--text-mid); line-height: 1.75; font-style: normal; }
.legal-wrap ul { margin: 10px 0 10px 20px; }
.legal-wrap a { color: var(--blue); }
.legal-wrap hr { border: none; border-top: 1px solid rgba(3,90,175,0.10); margin: 40px 0; }
.legal-wrap .placeholder { display: none; }

/* Fallanfrage-Formular */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500; color: var(--text); }
.form-group label span { color: var(--teal); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 16px; border: 1.5px solid rgba(3,90,175,0.18); border-radius: var(--r-sm);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 300; color: var(--text);
  background: var(--bg); outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3,90,175,0.08); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { cursor: pointer; }
.form-divider { height: 1px; background: rgba(3,90,175,0.08); margin: 28px 0; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Konsistenter Select-Look mit eigenem Dropdown-Pfeil */
.hero-card-form select, .form-group select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23035AAF' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.hero-card-form select:invalid, .form-group select:invalid { color: var(--text-light); }
.hero-card-form select option, .form-group select option { color: var(--text); }
