/* =====================================================================
   SEITEN – Styles, die nur auf einzelnen Seiten gebraucht werden
   ===================================================================== */

/* ---------- Startseite: Hero mit Video (füllt den Bildschirm) ---------- */
.hero-video {
  position: relative; overflow: hidden; display: grid; align-items: end;
  min-height: calc(100vh - var(--header-hoehe));
  min-height: calc(100svh - var(--header-hoehe));
  background: var(--blau);
}
.hero-video__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-video__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--blau) 88%, transparent) 0%,
    color-mix(in srgb, var(--blau) 55%, transparent) 55%,
    color-mix(in srgb, var(--blau) 35%, transparent) 100%
  );
}
.hero-video__inner { position: relative; z-index: 1; padding-block: var(--raum-xl) var(--raum-lg); }
.hero-video__text { max-width: 44rem; }
.hero-video__text h1 { max-width: 7.6em; }
.hero-video__text .lead { max-width: 31.2em; }
/* Hinweis „Noch freie Plätze“: helles Kärtchen mit Kreis (Logo-Motiv) */
.hero-hinweis {
  display: inline-flex; align-items: center; gap: 0.9rem; margin-top: var(--raum-md);
  padding: 0.55rem 1.2rem 0.55rem 0.55rem; border-radius: 999px;
  background: var(--hell); color: var(--blau); text-decoration: none;
  box-shadow: 0 14px 34px -18px color-mix(in srgb, var(--text) 70%, transparent);
  transition: transform var(--uebergang);
}
.auf-blau .hero-hinweis, .auf-blau .hero-hinweis:hover { color: var(--blau); }
.hero-hinweis:hover { transform: translateY(-2px); }
.hero-hinweis__kreis {
  flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--blau); color: var(--hell);
  font-family: var(--font-headline); font-size: 1.25rem; line-height: 1;
}
.hero-hinweis__text { font-size: var(--fs-sm); line-height: 1.35; color: var(--text); }
.hero-hinweis__text strong { display: block; font-family: var(--font-headline); font-weight: 500; font-size: var(--fs-lg); color: var(--blau); }
.hero-hinweis__pfeil { font-weight: 700; font-size: 1.2rem; transition: transform var(--uebergang); }
.hero-hinweis:hover .hero-hinweis__pfeil { transform: translateX(4px); }
/* Kreis mit Pfeil nach unten */
.hero-video__weiter {
  position: absolute; right: var(--seitenrand); bottom: var(--raum-md); z-index: 1;
  width: 3.2rem; height: 3.2rem; border-radius: 50%; background: var(--hell);
  display: grid; place-items: center; color: var(--blau);
}
.auf-blau .hero-video__weiter { color: var(--blau); }
.hero-video__weiter span {
  width: 0.7rem; height: 0.7rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
/* Auf dem Handy würde der Pfeil den Hinweis überdecken */
@media (max-width: 700px) { .hero-video__weiter { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-video__video { display: none; } }

/* ---------- Über uns: Film zum Jubiläum ---------- */
.film-block { margin-top: var(--raum-lg); }
.film-block__titel { margin-bottom: var(--raum-sm); }
.film {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  background: var(--blau-dunkel);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--hell) 25%, transparent);
}
.film__video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Start-Button: großer heller Kreis mit Dreieck */
.film__start {
  position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer;
  border: 0; padding: 0; background: color-mix(in srgb, var(--blau) 20%, transparent);
  transition: background var(--uebergang);
}
.film__start:hover { background: color-mix(in srgb, var(--blau) 5%, transparent); }
.film__kreis {
  position: relative; width: clamp(4.5rem, 10vw, 7rem); aspect-ratio: 1; border-radius: 50%;
  background: var(--hell); transition: transform var(--uebergang);
  box-shadow: 0 0 0 0.6rem color-mix(in srgb, var(--hell) 30%, transparent);
}
.film__start:hover .film__kreis { transform: scale(1.06); }
.film__kreis::after {
  content: ""; position: absolute; left: 56%; top: 50%; translate: -50% -50%;
  border-style: solid; border-color: transparent transparent transparent var(--blau);
  border-width: 0.85em 0 0.85em 1.4em; font-size: clamp(0.9rem, 1.6vw, 1.2rem);
}
.film--laeuft .film__start { display: none; }

/* ---------- Startseite: Leitspruch ---------- */
.leitspruch { padding-block: var(--raum-xl); }
.leitspruch__kreis { width: 20rem; height: 20rem; right: -6rem; top: -8rem; }
.leitspruch__blatt { width: 24rem; height: 24rem; left: -10rem; bottom: -14rem; }

/* ---------- Startseite: Zahlen ---------- */
.zahlen { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--raum-md); justify-items: center; }

/* ---------- Startseite: Aktuelles + Termine ---------- */
.aktuell-raster { display: grid; gap: var(--raum-lg); align-items: start; }
@media (min-width: 900px) { .aktuell-raster { grid-template-columns: 1.4fr 1fr; } }
.news-liste { display: grid; gap: var(--raum-md); }
.news-liste .news { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.2rem 1.5rem; align-items: start; }
.news-liste .news .kreis { grid-row: 1 / 4; }
@media (max-width: 560px) {
  .news-liste .news { grid-template-columns: 1fr; }
  .news-liste .news .kreis { grid-row: auto; width: 5rem !important; }
}
.termine-karte { position: sticky; top: calc(var(--header-hoehe) + 1.5rem); }
.termine-karte .termin:last-child { border-bottom: 0; }

/* ---------- Aktuelles: Termine ---------- */
.termine-bereich { border-top: 1px solid var(--blau-20); }
.termine-bereich__titel { margin-bottom: var(--raum-sm); }
.termine-bereich__titel--vergangen { margin-top: var(--raum-lg); }

/* ---------- Startseite: Anmeldung, Stellen ---------- */
.anmeldung-band { background: var(--blau-10); }
.stellen-band { display: grid; gap: var(--raum-md); align-items: center; }
@media (min-width: 820px) { .stellen-band { grid-template-columns: 2fr 1fr; } .stellen-band .btn-gruppe { justify-content: flex-end; } }

/* ---------- Unterseiten: Themenblöcke (Pädagogik, Schulleben, ...) ---------- */
.thema { scroll-margin-top: calc(var(--header-hoehe) + 1rem); }
.thema + .thema { border-top: 1px solid var(--blau-20); }
.thema .kreis-bild { width: min(100%, 420px); }

/* Nummer + Titel-Zeile (z. B. "1. und 2. Klasse") */
.stufe { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.2rem; align-items: start; margin-bottom: var(--raum-md); }
.stufe h3 { margin-bottom: 0.2rem; }
.stufe .untertitel { font-weight: 700; color: var(--text); margin-bottom: 0.6rem; display: block; }

/* Abschlüsse als Weg */
.weg { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; max-width: none; }
@media (min-width: 640px) { .weg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .weg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.weg h3 { hyphens: auto; overflow-wrap: break-word; }
.weg li { margin: 0; position: relative; }
.weg .karte { height: 100%; }
.weg .klasse { font-family: var(--font-headline); font-size: var(--fs-h2); color: var(--blau); line-height: 1; }

/* Kontakt */
.kontakt-raster { display: grid; gap: var(--raum-md); }
@media (min-width: 820px) { .kontakt-raster { grid-template-columns: 1fr 1fr; } }
.kontakt-person { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.kontakt-person p { margin: 0; }
.kontakt-person strong { display: block; color: var(--blau); }

/* Lageplan */
.lageplan { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--blau-20); }

/* Kleine Datenlisten (Impressum, Vereine) */
.daten-liste { display: grid; grid-template-columns: max-content 1fr; gap: 0.3rem 1.5rem; max-width: var(--breite-text); }
.daten-liste dt { font-weight: 700; color: var(--blau); }
.daten-liste dd { margin: 0; }
@media (max-width: 560px) { .daten-liste { grid-template-columns: 1fr; } .daten-liste dd { margin-bottom: 0.6rem; } }

/* Rechtstexte */
.rechtstext h2 { font-size: var(--fs-h3); margin-top: var(--raum-md); }
.rechtstext h3 { font-size: var(--fs-lg); font-family: var(--font-text); font-weight: 700; color: var(--text); margin-top: 1.5rem; }
.rechtstext h4 { font-size: var(--fs-base); margin-top: 1.2rem; }

/* Dieselben Elemente auf blauem Grund: hell statt blau/dunkel */
.auf-blau .weg .klasse, .auf-blau .stufe .untertitel, .auf-blau .kontakt-person strong,
.auf-blau .daten-liste dt, .auf-blau .rechtstext h3,
.karte--blau .weg .klasse, .karte--blau .daten-liste dt, .karte--blau .kontakt-person strong { color: var(--hell); }
