/* ============================================================
   GFI – Unterseite „Für Eltern & Angehörige“
   Ergänzung zu css/styles-v3.css und css/schulen-aemter.css.
   Seite lädt html.page-schulen (geteilte SA-Komponenten) + page-eltern.
   ============================================================ */

html.page-eltern { scroll-padding-top: 6.5rem; }

/* Hero: etwas wärmerer Fokus auf Kind/Familie */
.page-eltern .hero-image {
  object-position: center 35%;
}

/* ============================================================
   Erste Orientierung – „Kennen Sie eine dieser Situationen?“
   ============================================================ */
/* Hintergrund wie der erste Abschnitt der Mitarbeitenden-Seite (.audience) */
.ea-intro > .container { position: relative; z-index: 1; }
.ea-intro .eyebrow { color: var(--color-dark-deep); }
.ea-intro .eyebrow-ring { color: var(--v3-orange); filter: none; }
.ea-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.ea-intro-copy h2 {
  max-width: 24ch;
  font-size: clamp(1.75rem, 3.1vw, 2.6rem);
}
.ea-intro-copy .lead { max-width: 52ch; }
.ea-intro-closing {
  max-width: 52ch;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--v3-teal);
}
.ea-intro-situations {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.ea-intro-situations-title {
  margin: 0 0 1.1rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--v3-teal);
}
.ea-situations {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ea-situations li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: .85rem 1rem;
  border-radius: 18px;
  background: var(--green-25);
  border: 1px solid color-mix(in srgb, var(--v3-teal) 12%, #fff);
}
.ea-situations p {
  margin: 0;
  color: var(--ink);
  font-size: .98rem;
  line-height: 1.55;
}
/* Icons im Stil von „Direkt zum passenden Bereich“ (.sa-entry-ico):
   gefüllter Kreis, weißes Icon, farbiger Schatten – einfarbig orange, ohne Hover-Effekt */
.ea-situation-ico {
  --icon-badge-size: clamp(3rem, 4vw, 3.6rem);
  width: var(--icon-badge-size);
  height: var(--icon-badge-size);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--v3-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.ea-situation-ico .ico { width: 1.5rem; height: 1.5rem; color: #fff; }
@media (max-width: 640px) {
  .ea-situations li { gap: .8rem; padding: .85rem .9rem; }
  .ea-situation-ico { --icon-badge-size: 2.6rem; }
  .ea-situation-ico .ico { width: 1.25rem; height: 1.25rem; }
}


/* Qualität im Alltag (Akkordeon rechts): Icons so groß wie bei „Erste Orientierung“,
   Detailtext bündig unter dem Titel statt unter dem Icon */
.page-eltern .sa-qcard {
  --q-pad: clamp(1.05rem, 2vw, 1.3rem);
  --q-ico: clamp(3rem, 4vw, 3.6rem);
  --q-gap: 1rem;
}
.page-eltern .sa-qcard-head {
  gap: var(--q-gap);
  padding-inline: var(--q-pad);
}
.page-eltern .sa-qcard-ico {
  --icon-badge-size: var(--q-ico);
  width: var(--q-ico);
  height: var(--q-ico);
}
.page-eltern .sa-qcard-ico .ico { width: 1.5rem; height: 1.5rem; }
.page-eltern .sa-qcard-title { font-size: 1.08rem; }
.page-eltern .sa-qcard-detail {
  padding-left: calc(var(--q-pad) + var(--q-ico) + var(--q-gap));
  padding-right: calc(var(--q-pad) + 28px + var(--q-gap));
}
.page-eltern .sa-qcard-detail p { margin-top: -.35rem; }
@media (max-width: 640px) {
  .page-eltern .sa-qcard { --q-ico: 2.6rem; --q-gap: .8rem; }
  .page-eltern .sa-qcard-ico .ico { width: 1.25rem; height: 1.25rem; }
  .page-eltern .sa-qcard-detail { padding-right: var(--q-pad); }
}

/* Leistungs-Hinweis: ruhige Info statt Warnoptik (orangefarbener Rand wirkte wie eine Fehlermeldung) */
.page-eltern .ea-info-note {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--v3-teal) 16%, #fff);
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-sm);
}
/* Icon in der Größe der Leistungs-Kacheln darüber: gefüllter Orange-Kreis, weißes Glyph */
.page-eltern .ea-info-note .sa-note-ico {
  --icon-badge-size: clamp(2.9rem, 3.8vw, 3.4rem);
  width: var(--icon-badge-size);
  height: var(--icon-badge-size);
  background: var(--v3-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.page-eltern .ea-info-note .sa-note-ico .ico { width: 1.35rem; height: 1.35rem; color: #fff; }
.page-eltern .ea-info-note p { color: var(--ink-soft); }

/* ============================================================
   Video „Unser Versprechen“ – YouTube erst bei Klick laden
   ============================================================ */
.ea-video {
  background-color: var(--orange-50);
  background-image: var(--spots-orange);
  background-repeat: no-repeat;
  background-size: cover;
}
.ea-video .sec-head h2 { max-width: 24ch; margin-inline: auto; }
.ea-video-frame { max-width: 62rem; margin-inline: auto; }
.ea-video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #0f2f2c;
}
.ea-video-poster,
.ea-video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.ea-video-poster { object-fit: cover; }
.ea-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(15, 47, 44, 0.08) 0%, rgba(15, 47, 44, 0.42) 100%);
}
.ea-video-play:focus-visible {
  outline: 3px solid var(--v3-orange);
  outline-offset: -3px;
}
.ea-video-play-ico {
  width: 4.5rem;
  height: 4.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--v3-orange);
  box-shadow: var(--shadow-orange);
  transition: transform .25s var(--ease-out);
}
.ea-video-play:hover .ea-video-play-ico { transform: scale(1.06); }
.ea-video-play-ico::before {
  content: "";
  margin-left: .2rem;
  border-style: solid;
  border-width: .6rem 0 .6rem 1rem;
  border-color: transparent transparent transparent #fff;
}
.ea-video-player.is-playing .ea-video-play { display: none; }

/* Angebots-Hinweis (statt Pooling-Teaser) */
.ea-offer-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem 1.25rem;
  align-items: start;
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: var(--r-lg);
  background: rgba(var(--v3-teal-rgb), .07);
  border: 1.5px solid color-mix(in srgb, var(--v3-teal) 22%, #fff);
}
.ea-offer-note-ico {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--v3-teal);
  color: #fff;
}
.ea-offer-note-ico .ico { width: 1.25rem; height: 1.25rem; color: #fff; }
.ea-offer-note h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.ea-offer-note p { margin: 0; color: var(--ink-soft); max-width: 62ch; }

/* ============================================================
   Zweistufiges Kontaktformular
   ============================================================ */
.ea-steps {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.25rem;
  list-style: none;
  padding: 0;
}
.ea-step {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.ea-step-num {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-25);
  border: 1.5px solid var(--line-strong);
  font-size: .82rem;
  color: var(--v3-teal);
}
.ea-step.is-active { color: var(--v3-teal); }
.ea-step.is-active .ea-step-num {
  background: var(--v3-teal);
  border-color: var(--v3-teal);
  color: #fff;
}
.ea-step.is-done { color: var(--v3-teal); }
.ea-step.is-done .ea-step-num {
  background: var(--v3-green);
  border-color: var(--v3-green);
  color: #fff;
}
.ea-step-sep {
  flex: 1 1 auto;
  height: 1.5px;
  background: var(--line-strong);
  min-width: 1.5rem;
  max-width: 4rem;
}

.ea-form-pane[hidden] { display: none !important; }

.ea-form-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .8rem 1rem;
  margin-top: 1.5rem;
}
.ea-form-nav .btn-ghost {
  order: -1;
}

@media (max-width: 980px) {
  .ea-intro-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  html.page-eltern { scroll-padding-top: 5rem; }
  .page-eltern .ea-info-note { align-items: flex-start; }
  .ea-video-play-ico { width: 3.6rem; height: 3.6rem; }
  .ea-steps { margin-bottom: 1rem; }
}
