/* ==========================================================================
   DÄBN · netzwerk.css  (nur Seite „Netzwerk & Erster Puls“, netzwerk.html)
   Basis: site.css (Tokens, Glas, Buttons, Karten, Video-Lite, Dialog).
   --------------------------------------------------------------------------
   INHALT
    01  Hero (Vollbild, Navy-Verlauf, Formate-Leiste)
    02  Der Erste Puls (Navy → Weiß, Video überlappt, Fakten-Liste)
    03  Formate (Karten mit Bild bzw. Plattform-Illustration)
    04  Kommende Termine
    05  Galerie + Lightbox (<dialog>)
    06  Partner des Netzwerks
    07  Abschluss-CTA
   ========================================================================== */

/* ==========================================================================
   01 · HERO
   ========================================================================== */
.hero--netz {
  isolation: isolate;
  overflow: clip;
  min-height: min(94svh, 900px);
  align-items: flex-end;
  padding-bottom: clamp(36px, 5vw, 64px);
}
.hero--netz > .container { display: flex; flex-direction: column; gap: clamp(44px, 7vw, 96px); }
.hero--netz__bg { position: absolute; inset: 0; z-index: -2; background: var(--navy-900); }
.hero--netz__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 40%; }
.hero--netz__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 22, 40, .94) 0%, rgba(10, 22, 40, .8) 36%, rgba(10, 22, 40, .34) 68%, rgba(10, 22, 40, .18) 100%),
    linear-gradient(180deg, rgba(10, 22, 40, .6) 0%, rgba(10, 22, 40, 0) 26%, rgba(10, 22, 40, 0) 58%, var(--navy-900) 100%);
}
@media (max-width: 899px) {
  .hero--netz__shade { background: linear-gradient(180deg, rgba(10, 22, 40, .78) 0%, rgba(10, 22, 40, .72) 45%, var(--navy-900) 100%); }
}
.netz-hero__copy { max-width: 780px; }
.netz-hero__copy .eyebrow { margin-bottom: 26px; }
.netz-hero__actions { margin-top: 36px; }
.netz-hero__actions .btn { max-width: 100%; }

.netz-strip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 900px) { .netz-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.netz-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 14px 20px 14px 14px;
  border-radius: 18px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med);
}
.netz-strip__item:hover { transform: translateY(-3px); border-color: rgba(222, 195, 122, .6); }
.netz-strip__item > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.netz-strip__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-grad-btn); color: var(--navy-950); font-size: 1.3rem; }
.netz-strip__item small { display: block; margin-top: 2px; font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .82); }

/* ==========================================================================
   02 · DER ERSTE PULS
   Der Video-Rahmen ragt aus dem Navy-Block in den weißen Block hinein.
   ========================================================================== */
.puls-sec { --ov: clamp(64px, 11vw, 150px); position: relative; }
.puls-sec__dark {
  position: relative; /* bewusst ohne z-index: der Video-Rahmen soll über dem weißen Block liegen */
  padding-top: var(--section-pad);
  padding-bottom: 0;
  background:
    radial-gradient(760px 440px at 92% 78%, rgba(36, 67, 119, .6), transparent 62%),
    radial-gradient(640px 380px at 2% 100%, rgba(201, 168, 76, .1), transparent 60%),
    var(--navy-900);
}
.puls-sec__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.puls-sec__head > .eyebrow { margin-bottom: 20px; }
.puls-sec__head > .lead { margin-top: 22px; }
.puls-sec__video { position: relative; z-index: 3; max-width: 1100px; margin-inline: auto; margin-bottom: calc(var(--ov) * -1); }
.puls-sec__video .video-lite { box-shadow: 0 50px 100px -40px rgba(5, 12, 28, .75), 0 0 0 1px rgba(255, 255, 255, .1); }
.puls-sec__light { position: relative; z-index: 2; padding-top: calc(var(--ov) + 18px); padding-bottom: var(--section-pad); }
.puls-sec__inner { max-width: 1100px; margin-inline: auto; }
/* kleine Bildschirme: Play-Button nach oben, damit er den Videotitel nicht überdeckt */
@media (max-width: 640px) {
  .puls-sec__video .video-lite__play { top: 38%; width: 66px; margin: -33px 0 0 -33px; font-size: 1.4rem; }
  .puls-sec__video .video-lite__title { font-size: 1rem; }
}
.puls-sec__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: clamp(36px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .puls-sec__cols { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.puls-sec__text > * + * { margin-top: 20px; }
.puls-sec__text h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.15; max-width: 22ch; }

.facts {
  padding: clamp(6px, 1vw, 12px) clamp(20px, 2.4vw, 32px);
  border-radius: var(--r-lg);
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
}
.facts__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: 0; }
@media (min-width: 520px) { .facts__row { grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 16px; align-items: baseline; } }
.facts dt { display: flex; align-items: center; gap: 10px; font-size: .9375rem; font-weight: 600; line-height: 1.35; color: var(--ink-3); }
.facts dt svg { flex: none; color: var(--gold-ink); }
.facts dd { font-size: 1.0625rem; font-weight: 600; line-height: 1.45; color: var(--ink); }

/* ==========================================================================
   03 · FORMATE
   ========================================================================== */
.format-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.format-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand-200); }
.format-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.format-card:hover .format-card__media img { transform: scale(1.045); }
.format-card__media--plain {
  background:
    radial-gradient(120% 90% at 12% 0%, rgba(36, 67, 119, .95), transparent 62%),
    radial-gradient(90% 70% at 100% 100%, rgba(201, 168, 76, .3), transparent 62%),
    var(--navy-800);
}
.plat { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 22px; }
.plat__pill { display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; padding: 13px 20px 13px 16px; border-radius: 16px; font-size: 1rem; font-weight: 600; color: #fff; }
.plat__pill svg { color: var(--gold-300); }
.plat__pill:nth-child(2) { margin-left: 26px; }
.plat__pill:nth-child(3) { margin-left: 10px; }
.format-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px 26px 28px; }
.format-card__kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.format-card__body h3 { margin: 0; }
.format-card__body > p { font-size: 1rem; line-height: 1.6; }
.format-card__meta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--ink-3); }
.format-card__meta svg { flex: none; color: var(--gold-ink); }
.format-card__meta--link a { display: inline-flex; align-items: center; min-height: 44px; } /* Touch-Ziel ≥ 44 px */

/* ==========================================================================
   04 · KOMMENDE TERMINE
   ========================================================================== */
.termine { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
@media (min-width: 1000px) {
  .termine { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; }
  .termine__head { position: sticky; top: calc(var(--header-h) + 32px); }
}
.events { display: grid; gap: 16px; }
.event {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px 24px;
  align-items: center;
  padding: 22px 26px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 720px) { .event { grid-template-columns: 150px minmax(0, 1fr) auto; } }
.event__date { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.event h3 { margin-bottom: 8px; font-size: 1.3rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; line-height: 1.5; color: var(--ink-3); }
.event__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.event__meta svg { flex: none; color: var(--gold-ink); }
.event__status { justify-self: start; }
@media (min-width: 720px) { .event__status { justify-self: end; } }

/* ==========================================================================
   05 · GALERIE + LIGHTBOX
   ========================================================================== */
.gallery__rule { margin-bottom: clamp(48px, 6vw, 84px); }
.gallery__head { margin-bottom: clamp(32px, 4vw, 48px); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.gallery__cell--1, .gallery__cell--4 { grid-column: 1 / -1; }
@media (max-width: 559px) { .gallery { grid-template-columns: minmax(0, 1fr); } }
.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--sand-200);
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery__cell--4 .gallery__item img { object-position: 50% 28%; }
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.04); }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10, 22, 40, .35)); opacity: 0; transition: opacity var(--t-med); pointer-events: none; }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__zoom {
  position: absolute;
  right: 16px; bottom: 16px;
  z-index: 2;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(10, 22, 40, .74);
  border: 1px solid rgba(222, 195, 122, .55);
  color: var(--gold-200);
  font-size: 1.2rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: transform var(--t-med) var(--ease);
}
.gallery__item:hover .gallery__zoom { transform: scale(1.08); }
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
  .gallery__item { aspect-ratio: auto; height: clamp(250px, 26vw, 370px); }
  .gallery__cell--1 { grid-column: span 7; }
  .gallery__cell--2 { grid-column: span 5; }
  .gallery__cell--3 { grid-column: span 5; }
  .gallery__cell--4 { grid-column: span 7; }
}

.dialog.lightbox {
  width: min(1240px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  background: var(--navy-950);
  color: #fff;
  --c-heading: #fff;
  --c-text: rgba(255, 255, 255, .88);
  --c-focus: var(--gold-300);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  overflow: hidden;
}
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lightbox::backdrop { background: rgba(5, 12, 28, .82); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 0 24px; }
.lightbox__count { font-size: .9375rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-300); }
.lightbox__close { border-color: rgba(255, 255, 255, .34); color: #fff; }
.lightbox__close:hover { background: rgba(255, 255, 255, .14); }
.lightbox__fig { display: grid; justify-items: center; align-content: start; gap: 14px; margin: 0; padding: 10px 24px 24px; min-height: 0; }
.lightbox__fig img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 200px); object-fit: contain; border-radius: 14px; }
.lightbox__fig figcaption { max-width: 70ch; font-size: 1rem; line-height: 1.5; text-align: center; color: rgba(255, 255, 255, .9); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid; place-items: center;
  width: 52px; height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  background: rgba(10, 22, 40, .78);
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
  font-size: 1.5rem;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.lightbox__nav:hover { background: rgba(222, 195, 122, .24); border-color: var(--gold-300); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* ==========================================================================
   06 · PARTNER DES NETZWERKS
   ========================================================================== */
.partner-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 1100px; margin-inline: auto; }
.partner-tile {
  flex: 0 1 calc(50% - 8px);
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 24px 28px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med), border-color var(--t-med);
}
@media (min-width: 700px) { .partner-tile { flex-basis: calc(33.333% - 11px); min-height: 136px; } }
@media (min-width: 1000px) { .partner-tile { flex-basis: calc(25% - 12px); min-height: 150px; padding: 28px 34px; } }
.partner-tile img { max-width: 100%; max-height: 62px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter var(--t-med), opacity var(--t-med); }
.partner-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(201, 168, 76, .45); }
.partner-tile:hover img { filter: none; opacity: 1; }

/* ==========================================================================
   07 · ABSCHLUSS-CTA
   ========================================================================== */
.cta-final__lead { margin: 22px auto 0; text-align: center; }
.cta-final__actions { margin-top: 36px; }
.cta-final__other { margin-top: 30px; font-size: 1rem; color: var(--c-muted); }

@media (prefers-reduced-motion: reduce) {
  .format-card__media img, .gallery__item img { transition: none; }
}

/* Platzhalter-Chips nie kleiner als 13 px (Design-System: Mindestgröße) */
.ph { font-size: max(.86em, 13px); }
