/* ====== tokens ====== */
:root{
  --bg: #0c3b4e;
  --bg-2: #0a3344;
  --panel: #0a3242;
  --line: rgba(255,255,255,.10);
  --line-2: rgba(255,255,255,.06);
  --fg: #f4f1ec;
  --fg-2: rgba(244,241,236,.78);
  --fg-3: rgba(244,241,236,.55);
  --accent: #e23a2c;
  --accent-2: #f1735f;
  /* epd partner brand tints — used by partner-mark-red / partner-mark-green.
     Don't reuse for unrelated UI; these mean "epd brand" specifically. */
  --epd-green: #5cb338;
  --epd-red:   #e23a2c;
  --radius-card: 10px;
  --radius-pill: 999px;
  --row-gap: 14px;
  --shadow-card: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 24px rgba(0,0,0,.18);
  --content-max: 1800px;
}

*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; background:var(--bg); color:var(--fg); }
/* overflow-x: clip prevents stray-element horizontal scrolling without breaking
   position: sticky in descendants (which `hidden` would). */
html, body{ overflow-x: clip; }
body{
  font-family: "Inter", "Söhne", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss01","cv02","cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 15px;
  line-height: 1.45;
}
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a{ color: inherit; text-decoration: none; cursor: pointer; }
input{ font: inherit; color: inherit; background: transparent; border: 0; outline: 0; }
h1,h2,h3,h4{ margin: 0; font-family: "DM Serif Display", "Source Serif 4", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
.shell{ min-height: 100vh; }

/* ====== layout shell ====== */
.shell.with-sb .main{ margin-left: 64px; }
.shell.with-sb .sidebar.expanded ~ .main{ /* hover-expand doesn't push */ }
.main{ display: block; }
.rows{ padding: 8px clamp(20px, 4vw, 56px) 24px; max-width: var(--content-max); margin: 0 auto; }

/* ====== sidebar ====== */
.sidebar{
  position: fixed; left: 0; top: 0; bottom: 0; width: 64px; z-index: 30;
  background: rgba(0,0,0,.22);
  border-right: 1px solid var(--line-2);
  display: flex; flex-direction: column; align-items: stretch;
  transition: width .25s cubic-bezier(.2,.7,.2,1);
  backdrop-filter: blur(8px);
}
.sidebar.expanded{ width: 220px; box-shadow: 0 0 0 1px var(--line-2), 24px 0 40px -20px rgba(0,0,0,.4); }
.sb-toggle{ height: 56px; display: flex; align-items: center; justify-content: center; color: var(--fg-2); }
.sb-toggle:hover{ color: var(--fg); }
.sb-nav{ display: flex; flex-direction: column; padding: 4px 8px; gap: 2px; }
.sb-foot{ margin-top: auto; padding: 8px; border-top: 1px solid var(--line-2); }
.sb-item{
  display: flex; align-items: center; gap: 12px;
  padding: 10px 10px; border-radius: 8px;
  color: var(--fg-2);
  position: relative;
  white-space: nowrap; overflow: hidden;
}
.sb-item:hover{ background: rgba(255,255,255,.06); color: var(--fg); }
.sb-item.is-active{ color: var(--fg); background: rgba(255,255,255,.07); }
.sb-item.is-active::before{
  content: ""; position: absolute; left: -8px; top: 8px; bottom: 8px; width: 3px;
  background: var(--accent); border-radius: 3px;
}
.sb-ico{ display: inline-flex; width: 24px; justify-content: center; }
.sb-label{ font-size: 13.5px; font-weight: 500; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.sidebar.expanded .sb-label{ opacity: 1; transform: translateX(0); }

/* ====== topbar ====== */
.topbar{
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: color-mix(in oklab, var(--bg) 80%, black 20%);
  border-bottom: 1px solid var(--line-2);
  backdrop-filter: saturate(140%) blur(10px);
}
.epd-logo{ display: inline-flex; align-items: center; gap: 10px; }
.epd-mark{
  background: var(--accent); color: #fff;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 600; font-size: 22px; line-height: 1;
  padding: 6px 10px 7px; border-radius: 4px; letter-spacing: -0.02em;
}
.epd-video{
  letter-spacing: .35em; font-weight: 600; font-size: 13px; color: var(--fg);
  font-family: "Inter", sans-serif;
}
.tb-nav{ display: flex; gap: 4px; }
.tb-link{ padding: 8px 12px; border-radius: 6px; color: var(--fg-2); font-weight: 500; font-size: 14px; }
.tb-link:hover{ color: var(--fg); background: rgba(255,255,255,.05); }
.tb-link.is-active{ color: var(--fg); }
.tb-link.is-active::after{
  content: ""; display: block; height: 2px; margin: 6px 12px -10px; background: var(--accent); border-radius: 2px;
}
.tb-right{ display: flex; align-items: center; gap: 12px; }
.tb-search{
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-2);
  color: var(--fg-2);
  min-width: 280px;
}
.tb-search input{ flex: 1; font-size: 13.5px; color: var(--fg); }
.tb-search input::placeholder{ color: var(--fg-3); }
.tb-kbd{ font-family: ui-monospace, Menlo, monospace; font-size: 11px; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,.06); color: var(--fg-3); }
.tb-icon{ width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--fg-2); }
.tb-icon:hover{ background: rgba(255,255,255,.06); color: var(--fg); }
.tb-cta{
  background: var(--accent); color: #fff; font-weight: 600; font-size: 13px;
  padding: 9px 14px; border-radius: 999px;
}
.tb-cta:hover{ filter: brightness(1.05); }

/* ====== hero ====== */
.hero{ padding: 28px clamp(20px, 4vw, 56px) 12px; max-width: var(--content-max); margin: 0 auto; }
.hero-editorial{
  display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center;
}
.hero-media{ position: relative; }
.hero-progress{ position: absolute; left: 14px; right: 14px; bottom: 14px; height: 3px; background: rgba(255,255,255,.18); border-radius: 3px; overflow: hidden; }
.hero-progress > span{ display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.hero-play{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 999px;
  background: rgba(255,255,255,.94); color: #0c3b4e;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.hero-play:hover{ transform: translate(-50%, -50%) scale(1.04); }
.hero-meta{ display: flex; flex-direction: column; gap: 14px; }
.hero-kicker{ display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; }
.hero-kicker .dot{ width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
.hero-title{ font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; max-width: 22ch; text-wrap: balance; }
.hero-blurb{ color: var(--fg-2); font-size: 16.5px; max-width: 50ch; margin: 0; }
.hero-facts{ display: grid; grid-template-columns: repeat(4, max-content); gap: 24px; margin: 8px 0 4px; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.hero-facts > div{ display: flex; flex-direction: column; gap: 4px; }
.hero-facts dt{ font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3); }
.hero-facts dd{ margin: 0; font-size: 14px; font-weight: 500; color: var(--fg); }
.hero-actions{ display: flex; gap: 10px; flex-wrap: wrap; }

.btn{ display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .15s, background .15s; }
.btn-primary{ background: var(--accent); color: #fff; }
.btn-primary:hover{ filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost{ background: rgba(255,255,255,.07); color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover{ background: rgba(255,255,255,.12); }
.btn-ghost-on-dark{ background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); }

/* cinematic */
.hero-cinematic{ position: relative; padding-top: 0; }
.hero-cinematic .hero-bg{ position: relative; }
.hero-cinematic .hero-overlay{ position: absolute; inset: 28px clamp(20px, 4vw, 56px); border-radius: 14px; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7) 95%); pointer-events: none; }
.hero-cinematic .hero-overlay-content{ position: absolute; left: clamp(40px, 6vw, 96px); right: clamp(40px, 6vw, 96px); bottom: 56px; max-width: 60%; display: flex; flex-direction: column; gap: 12px; }
.hero-cinematic .hero-title{ color: #fff; }
.hero-cinematic .hero-blurb{ color: rgba(255,255,255,.88); }

/* ====== rows ====== */
.row{ padding: 18px 0 6px; --cols: 5; --cols-v: 6; }
.row-head{
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 0 4px 12px;
}
.row-title-wrap{ display: flex; flex-direction: column; gap: 2px; }
.row-title{ font-size: 22px; }
.row-sub{ margin: 0; color: var(--fg-3); font-size: 13px; }
.row-tools{ display: flex; align-items: center; gap: 6px; }
.row-all{ font-size: 13px; color: var(--fg-2); padding: 6px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.row-all:hover{ color: var(--fg); background: rgba(255,255,255,.06); }
/* Row prev/next buttons. Mirror the hero chevrons: positioned over the row at
   the left and right edges, semi-transparent backdrop, hidden when the user
   can't scroll further in that direction (handled by JS toggling the [hidden]
   attribute on each button based on scrollLeft). */
/* container-type lets the chevrons compute their vertical position from the
   frame's WIDTH (via cqw) — needed because a % in `top` resolves against height,
   not width, and we want the buttons centred on the THUMBNAIL strip, not the
   whole card (which includes the caption below). Clemens/Lukas 2026-05-29:
   "Pfeile vertikal mittig auf Thumbnail setzen". */
.row-frame{ position: relative; container-type: inline-size; }
.row-nav{
  position: absolute;
  /* Half the thumbnail height = (columnWidth × 9/16) / 2, where
     columnWidth = (frameWidth − (cols−1)·gap) / cols. cqw = 1% of frame width. */
  top: calc((100cqw - (var(--cols) - 1) * var(--row-gap)) / var(--cols) * 9 / 16 / 2);
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: background 160ms, opacity 160ms;
}
.row-nav:hover{ background: rgba(0, 0, 0, 0.78); }
/* Keep the chevron always white regardless of theme/inherited text colour. */
/* Always white chevrons, in every state. The chevron <path> carries a
   stroke="currentColor" presentation attribute, and currentColor inherits the
   coral row text colour (--coral-on-bg) — so setting stroke only on the <svg>
   wasn't enough (the path's own attribute won, painting it coral at rest).
   Targeting the path element with a CSS rule overrides that attribute. */
.row-nav, .theme-coral .row-nav, .row-nav:hover, .row-nav:focus{ color: #fff; }
.row-nav svg, .row-nav svg path{ stroke: #fff; }
.row-nav[hidden]{ display: none; }
.row-nav-prev{ left: -4px; }
.row-nav-next{ right: -4px; }
/* Vertical (9:16) rows: thumbnail is taller than wide, so media height =
   columnWidth × 16/9; centre on half of that, using the vertical column count. */
.row[data-aspect="9 / 16"] .row-nav{
  top: calc((100cqw - (var(--cols-v) - 1) * var(--row-gap)) / var(--cols-v) * 16 / 9 / 2);
}

.row-scroll{
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: var(--row-gap);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 14px;
  /* Hide the native scrollbar — chevron buttons own the affordance now. Cross-
     browser: Firefox via scrollbar-width:none, Chromium/Safari via the ::-
     webkit-scrollbar override below, legacy IE via -ms-overflow-style. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
/* Column width is derived from --cols / --cols-v so the chevron buttons (which
   read the same vars) stay centred on the thumbnail at every breakpoint. The
   formula (100% − (cols−1)·gap)/cols is identical to the old hard-coded ones. */
.row-scroll{ grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--row-gap)) / var(--cols)); }
.row[data-aspect="9 / 16"] .row-scroll{ grid-auto-columns: calc((100% - (var(--cols-v) - 1) * var(--row-gap)) / var(--cols-v)); }
.row-scroll::-webkit-scrollbar{ display: none; }
.row-scroll > *{ scroll-snap-align: start; }
/* Slider cards are intentionally minimal (client 2026-05-29): no category
   vignette ("Reportage"), no location, no tags — just thumbnail + title. Scoped
   to .row-scroll so grid/search/saved cards (which reuse this partial) keep
   their full meta. .card-meta holds the kicker chip + location, so hiding it
   covers both "Vignette raus" and "Ort raus". */
.row-scroll .card-meta{ display: none; }
.row-scroll .card-tags{ display: none; }
/* Slider title: a little more breathing room above it and a slightly heavier
   weight (client 2026-05-29). */
.row-scroll .card-body{ margin-top: 4px; }
.row-scroll .card-title{ font-weight: 600; }

/* responsive row column counts — keep cards breathable on narrow viewports.
   The fractional values at small sizes let the next card peek in, which signals "scrollable". */
@media (min-width: 1700px){
  .row{ --cols: 5; --cols-v: 7; }
}
@media (min-width: 2100px){
  .row{ --cols: 5; --cols-v: 8; }
  .rows, .hero, .faq, .partners, .footer-row, .page{ padding-left: clamp(40px, 5vw, 96px); padding-right: clamp(40px, 5vw, 96px); }
}
@media (max-width: 1280px){
  .row{ --cols: 4; --cols-v: 5; }
}
@media (max-width: 1024px){
  .row{ --cols: 3.2; --cols-v: 4.2; }
}
@media (max-width: 760px){
  :root{ --row-gap: 12px; }
  .row{ --cols: 2.4; --cols-v: 3.4; }
  .row-title{ font-size: 19px; }
  .row-sub{ font-size: 12px; }
}
@media (max-width: 520px){
  .row{ --cols: 1.6; --cols-v: 2.4; }
  .row-head{ padding: 0 4px 8px; }
  .row-all span{ display: none; }
  .rows{ padding: 8px 14px 24px; }
  .card-title{ font-size: 13px; -webkit-line-clamp: 3; }
  .card-vertical .card-title{ font-size: 12.5px; }
}

/* density compact (wide viewports only — narrow viewports already pack down via responsive rules above) */
.shell.density-compact .row{ padding: 10px 0 0; }
.shell.density-compact .row-title{ font-size: 18px; }
@media (min-width: 1281px){
  .shell.density-compact .row{ --cols: 5; --cols-v: 7; }
}
.shell.density-compact .hero-title{ font-size: clamp(24px, 2.8vw, 36px); }

/* ====== cards ====== */
.card{ position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card-media{ position: relative; }
.card-duration{
  position: absolute; right: 8px; bottom: 8px;
  font-size: 11px; font-family: ui-monospace, Menlo, monospace;
  background: rgba(0,0,0,.7); color: #fff;
  padding: 3px 6px; border-radius: 4px;
  letter-spacing: 0.02em;
}
.card-bookmark{
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(0,0,0,.45); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(-4px); transition: opacity .2s, transform .2s, background .2s;
  backdrop-filter: blur(6px);
}
.card:hover .card-bookmark{ opacity: 1; transform: translateY(0); }
/* Touch devices have no hover — bookmark stays visible so users can tap it.
   Otherwise the Merken affordance is invisible on mobile. */
@media (hover: none), (pointer: coarse) {
  .card-bookmark{ opacity: 1; transform: translateY(0); }
}
.card-bookmark:hover{ background: var(--accent); }
.card .ph{ transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.card:hover .ph{ transform: translateY(-2px); }

/* ---- Card hover/info reveal (Clemens 2026-05-26) ----
   Desktop: fade in on :hover, semi-transparent dark gradient over the thumb,
   shows kicker + format chips + blurb snippet + "Beitrag ansehen" hint.
   Mobile: shown via .card.is-revealed class toggled by the (i)-button below. */
.card-reveal{
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  /* extra bottom padding so the CTA sits ABOVE the full-width format bar
     (≈26px) instead of overlapping it (client 2026-05-29). */
  padding: 12px 12px 34px;
  background: linear-gradient(180deg, rgba(7,33,44,0) 0%, rgba(7,33,44,.55) 45%, rgba(7,33,44,.92) 100%);
  opacity: 0; pointer-events: none;
  transition: opacity .18s ease;
  border-radius: 10px;
  color: #fff;
}
.card-reveal-inner{ display: flex; flex-direction: column; gap: 6px; max-width: 100%; }
.card-reveal-blurb{ margin: 0; font-size: 12px; line-height: 1.35; color: rgba(255,255,255,.92); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-reveal-cta{ display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; font-weight: 600; color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-reveal{ opacity: 1; }
}
.card.is-revealed .card-reveal{ opacity: 1; }

/* (i)-button — touch-only affordance for the reveal panel. Hidden on hover-
   capable devices because they get the reveal via :hover automatically. */
.card-info-btn{
  position: absolute; top: 8px; left: 8px;
  width: 28px; height: 28px;
  padding: 0; border: 0; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  backdrop-filter: blur(6px);
}
.card-info-btn:hover, .card.is-revealed .card-info-btn{ background: rgba(0,0,0,.85); }
@media (hover: hover) and (pointer: fine) {
  .card-info-btn{ display: none; }
}

.card-body{ padding: 0 2px; display: flex; flex-direction: column; gap: 4px; }
.card-meta{ display: flex; align-items: center; gap: 8px; }
.card-loc{ font-size: 11px; color: var(--fg-3); letter-spacing: 0.04em; text-transform: uppercase; }
.card-title{ font-family: "Inter", sans-serif; font-weight: 500; font-size: 14px; line-height: 1.28; color: var(--fg); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; }

/* card overlay variant */
.card-overlay .card-overlay{
  position: absolute; inset: 0; padding: 12px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.72));
  border-radius: var(--radius-card);
  color: #fff;
}
.card-overlay .card-kind{ font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; opacity: .85; }
.card-overlay .card-title{ font-family: "DM Serif Display", Georgia, serif; font-weight: 400; font-size: 16px; color: #fff; }

/* vertical card titles smaller */
.card-vertical .card-title{ font-size: 13px; }

/* ====== chips ====== */
.chip{ display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; }
.chip-quiet{ background: rgba(255,255,255,.07); color: var(--fg-2); border: 1px solid var(--line-2); }
.chip-accent{ background: var(--accent); color: #fff; }

/* ====== placeholder ====== */
.ph{ position: relative; width: 100%; overflow: hidden; box-shadow: var(--shadow-card); cursor: pointer; }
.ph-img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card:hover .ph-img, .hero-media:hover .ph-img, .popular-item:hover .ph-img{ transform: scale(1.02); }
.ph-img{ transition: transform .3s ease; }

/* animated hover preview — same crop rules, fades in on hover/focus.
   On touch devices the GIF stays hidden (hover never fires reliably). */
.ph-gif{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  opacity: 0; transition: opacity .2s ease;
  pointer-events: none;
}
@media (hover: hover){
  .card:hover .ph-gif,
  .card:focus-within .ph-gif{ opacity: 1; }
}

/* ====== lightbox ====== */
.lb-backdrop{
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(6,18,24,.86); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px; animation: lbFade .18s ease-out;
}
@keyframes lbFade{ from{ opacity: 0 } to{ opacity: 1 } }
.lb-shell{
  position: relative; width: min(1120px, 100%); max-height: calc(100vh - 64px);
  display: grid; grid-template-rows: auto auto; gap: 16px;
  animation: lbPop .22s cubic-bezier(.2,.8,.2,1);
}
@keyframes lbPop{ from{ transform: translateY(8px); opacity: 0 } to{ transform: none; opacity: 1 } }
.lb-vertical{ width: min(420px, 100%); }
.lb-close{
  position: absolute; top: -8px; right: -8px; z-index: 20;
  width: 40px; height: 40px; border-radius: 999px;
  background: #fff; color: #0c3b4e; border: 0; cursor: pointer;
  font-size: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.4);
}
.lb-close:hover{ background: var(--accent); color: #fff; }
.lb-frame{
  position: relative; aspect-ratio: 16/9; background: #000;
  border-radius: 14px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,.5);
}
.lb-vertical .lb-frame{ aspect-ratio: 9/16; }
.lb-frame iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-thumb{
  position: absolute; inset: 0; background-size: cover; background-position: center;
  display: flex; align-items: flex-end;
}
.lb-thumb::before{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 50%, rgba(0,0,0,.2) 100%);
}
.lb-thumb-note{
  position: relative; padding: 24px 28px; max-width: 560px; color: #fff;
}
.lb-thumb-mark{
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  background: var(--accent); color: #fff; font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  letter-spacing: .14em; margin-bottom: 12px;
}
.lb-thumb-msg{ font: 400 14px/1.5 "Inter", sans-serif; opacity: .92; margin-bottom: 12px; }
.lb-thumb-link{
  color: #fff; font: 500 13px/1 "Inter", sans-serif;
  border-bottom: 1px solid rgba(255,255,255,.6); padding-bottom: 2px;
  text-decoration: none;
}
.lb-thumb-link:hover{ border-color: var(--accent); color: #fff; }
.lb-meta{ color: #fff; padding: 0 4px; }
.lb-meta-kicker{
  font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; letter-spacing: .14em;
  color: rgba(255,255,255,.6); text-transform: uppercase; margin-bottom: 8px;
}
.lb-meta-title{
  font: 400 28px/1.2 "DM Serif Display", Georgia, serif; margin: 0 0 8px;
}
.lb-meta-blurb{
  font: 400 15px/1.55 "Inter", sans-serif; color: rgba(255,255,255,.78);
  margin: 0; max-width: 72ch;
}
.ph-stripes{ position: absolute; inset: 0; opacity: .9; }
.ph-label{ position: absolute; left: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; font-family: ui-monospace, ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, Menlo, monospace; font-size: 10.5px; }
.ph-kicker{ letter-spacing: 0.16em; color: rgba(255,255,255,.5); }
.ph-name{ color: rgba(255,255,255,.85); max-width: 90%; }
.ph-play{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.18); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s;
}
.card:hover .ph-play, .hero-media:hover .ph-play{ opacity: 1; }

/* ====== about ====== */
.about{
  padding: 56px clamp(20px, 4vw, 56px);
  max-width: var(--content-max);
  margin: 24px auto 0;
}
.about-grid{
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 48px);
}
.eyebrow{ display: inline-block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 12px; }
.eyebrow-light{ color: var(--fg-2); }
.about-h{ font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; max-width: 22ch; text-wrap: balance; margin-bottom: 14px; }
.about p{ color: var(--fg-2); font-size: 15px; max-width: 56ch; }
.about-stats{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 16px; }
.about-stats > div{ display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(255,255,255,.02); }
.about-stats b{ font-family: "DM Serif Display", Georgia, serif; font-size: 22px; font-weight: 400; }
.about-stats span{ font-size: 11.5px; color: var(--fg-3); letter-spacing: 0.04em; }
.about-more{ display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; color: var(--fg); border-bottom: 1px solid var(--accent); width: max-content; padding-bottom: 6px; }

.popular-list{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.popular-item{
  display: grid; grid-template-columns: 28px 168px 1fr; gap: 14px; align-items: center;
  padding: 12px; border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02);
  transition: background .15s;
}
.popular-item:hover{ background: rgba(255,255,255,.05); }
.popular-num{ font-family: "DM Serif Display", Georgia, serif; font-size: 20px; color: var(--fg-3); }
.popular-thumb{ position: relative; }
.popular-body h4{ font-family: "Inter", sans-serif; font-weight: 600; font-size: 15px; margin: 0 0 4px; }
.popular-body p{ color: var(--fg-2); font-size: 13px; margin: 0; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.popular-meta{ font-size: 11.5px; color: var(--fg-3); letter-spacing: 0.04em; }

/* ====== faq ====== */
.faq{ padding: 32px clamp(20px, 4vw, 56px) 8px; max-width: var(--content-max); margin: 0 auto; }
.faq-h{ font-size: 22px; margin-bottom: 12px; }
.faq-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.faq-item{ border-bottom: 1px solid var(--line-2); padding: 14px 0; }
.faq-item summary{ list-style: none; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--fg); }
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary > span{ flex: 1; }
.faq-item p{ color: var(--fg-2); font-size: 14px; margin: 8px 0 0; max-width: 60ch; }
.faq-item[open] summary svg{ transform: rotate(45deg); }
.faq-item summary svg{ transition: transform .2s; color: var(--fg-3); }

/* ====== partners ====== */
.partners{ padding: 48px clamp(20px, 4vw, 56px) 24px; max-width: var(--content-max); margin: 0 auto; }
/* Auto-fit so the grid adapts cleanly if the partner count changes (was hard-
   coded to 7; now 8 with epd-Basisdienst + epd-Landesdienst West as separate
   panels). minmax floor keeps the abbreviation badges legible on narrow viewports. */
.partners-grid{ list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
/* min-height keeps every panel the same size regardless of how many lines the
   partner name wraps to (e.g. "Gemeinschaftswerk der Evangelischen Publizistik"
   wraps to 3 lines, "efs" to 1). The mark badge stays top-aligned and the name
   bottom-aligned via flex spacer — uniform visual rhythm across the row.
   Grid's default align-items:stretch handles the cross-row equalization. */
/* Real partner logos (2026-05-29). The logos are made for light backgrounds
   (several have dark text/marks that vanish on the dark section, and the red
   epd is a white-bg JPEG), so each card is WHITE with the logo centred and the
   name as a caption below. White cards on the dark strip = clean partner row. */
/* Each grid cell stretches to the tallest in the row (grid default); make the
   panel fill its cell so every card is the same (max) height regardless of how
   many lines its name wraps to. */
.partners-grid > li{ display: flex; }
.partner{ display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; min-height: 84px; flex: 1; border: 1px solid rgba(0,0,0,.06); border-radius: 12px; background: #fff; transition: box-shadow .15s, transform .15s; }
.partner-logo{ flex: 1; display: flex; align-items: center; justify-content: center; min-height: 40px; }
.partner-logo img{ max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.partner-name{ font-size: 11px; color: #5c6b75; line-height: 1.3; text-align: center; }
/* Subtle shadow-only hover on every partner panel — doesn't imply clickability. */
.partner:hover{ box-shadow: 0 4px 14px rgba(0,0,0,.12); }
/* Clickable partner panels (have a URL → rendered as <a class="partner partner-link">).
   Drop underline and get the "lift" affordance only when they really are links. */
.partner-link{ color: inherit; text-decoration: none; cursor: pointer; }
.partner-link:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.16); }
.partner-link:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }

/* ====== footer ====== */
.footer{
  margin-top: 24px;
  border-top: 1px solid var(--line-2);
  background: rgba(0,0,0,.18);
}
.footer-row{ max-width: var(--content-max); margin: 0 auto; padding: 22px clamp(20px, 4vw, 56px); display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-nav{ display: flex; flex: 1; flex-wrap: wrap; gap: 8px 18px; }
.footer-nav a{ font-size: 13px; color: var(--fg-2); }
.footer-nav a:hover{ color: var(--fg); }
.footer-c{ font-size: 12px; color: var(--fg-3); }

/* ====== pages ====== */
.page{ max-width: var(--content-max); margin: 0 auto; padding: 28px clamp(20px, 4vw, 56px) 56px; }
.page-head{ max-width: 72ch; margin-bottom: 32px; }
.page-lead{ max-width: 60ch; color: var(--fg-2); margin: 0; text-wrap: balance; }
.page-h{ font: 400 clamp(34px, 5vw, 56px)/1.05 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 6px 0 14px; letter-spacing: -.01em; }
.page-sub{ font: 400 17px/1.55 "Inter", sans-serif; color: var(--fg-2); max-width: 64ch; }

/* rubriken */
.rub-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 48px; }
.rub-card{ background: var(--panel); border-radius: 14px; overflow: hidden; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.rub-card:hover{ transform: translateY(-2px); box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.rub-thumb{ position: relative; }
.rub-count{ position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; background: rgba(0,0,0,.65); color: #fff; font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; letter-spacing: .08em; border-radius: 999px; }
.rub-body{ padding: 16px 18px 18px; }
.rub-body h3{ font: 400 19px/1.25 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 0 0 6px; }
.rub-body p{ font: 400 13.5px/1.45 "Inter", sans-serif; color: var(--fg-2); margin: 0 0 12px; }
.rub-link{ font: 500 13px/1 "Inter", sans-serif; color: var(--accent); display: inline-flex; align-items: center; gap: 4px; }
.page-rows{ display: flex; flex-direction: column; gap: 20px; }

/* erklaert */
.erk-featured{ display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--panel); border-radius: 16px; padding: 24px; margin-bottom: 32px; cursor: pointer; }
.erk-featured-body h2{ font: 400 30px/1.15 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 8px 0 10px; }
.erk-featured-body p{ font: 400 15px/1.55 "Inter", sans-serif; color: var(--fg-2); margin: 0 0 14px; max-width: 50ch; }
.erk-kicker{ font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.erk-meta{ display: flex; gap: 8px; font: 500 12px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); margin-bottom: 16px; letter-spacing: .04em; }
.erk-filters{ margin-bottom: 24px; }
.chip-row{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.filter-chip{ background: transparent; color: var(--fg-2); border: 1px solid rgba(255,255,255,.14); padding: 7px 14px; border-radius: 999px; font: 500 13px/1 "Inter", sans-serif; cursor: pointer; }
.filter-chip:hover{ border-color: rgba(255,255,255,.3); color: var(--fg); }
.filter-chip.is-on{ background: var(--accent); border-color: var(--accent); color: #fff; }
.erk-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin-bottom: 48px; }
.erk-process{ background: var(--panel); border-radius: 16px; padding: 28px clamp(20px, 4vw, 40px); }
.erk-process h3{ font: 400 22px/1.2 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 0 0 20px; }
.process-list{ list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.process-list li{ display: flex; gap: 14px; }
.step-num{ font: 400 22px/1 "DM Serif Display", Georgia, serif; color: var(--accent); flex-shrink: 0; }
.process-list b{ display: block; font: 600 15px/1.3 "Inter", sans-serif; color: var(--fg); margin-bottom: 4px; }
.process-list p{ font: 400 13.5px/1.45 "Inter", sans-serif; color: var(--fg-2); margin: 0; }

/* about */
.about-mission{ display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-bottom: 56px; align-items: start; }
.mission-copy h2{ font: 400 28px/1.2 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 0 0 16px; }
.mission-copy p{ font: 400 15.5px/1.65 "Inter", sans-serif; color: var(--fg-2); margin: 0 0 14px; max-width: 60ch; }
.mission-stats{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mstat{ background: var(--panel); border-radius: 12px; padding: 20px; }
.mstat b{ font: 400 32px/1 "DM Serif Display", Georgia, serif; color: var(--fg); display: block; margin-bottom: 6px; }
.mstat span{ font: 500 12px/1.2 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); letter-spacing: .08em; text-transform: uppercase; }
.about-pillars{ margin-bottom: 56px; }
.about-pillars h2, .about-team h2{ font: 400 28px/1.2 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 0 0 20px; }
.pillars-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.pillar{ background: var(--panel); border-radius: 12px; padding: 22px; }
.pillar-num{ font: 600 14px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--accent); letter-spacing: .08em; }
.pillar h3{ font: 400 18px/1.25 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 10px 0 8px; }
.pillar p{ font: 400 14px/1.55 "Inter", sans-serif; color: var(--fg-2); margin: 0; }
.about-team{ margin-bottom: 56px; }
.team-grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.team-card{ background: var(--panel); border-radius: 12px; overflow: hidden; }
.team-body{ padding: 14px 16px 16px; }
.team-body h4{ font: 600 15px/1.2 "Inter", sans-serif; color: var(--fg); margin: 0 0 4px; }
.team-role{ display: block; font: 400 13px/1.4 "Inter", sans-serif; color: var(--fg-2); margin-bottom: 4px; }
.team-loc{ font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); letter-spacing: .06em; }
.about-contact{ display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 32px; background: var(--panel); border-radius: 16px; margin-bottom: 56px; }
.about-contact h2{ font: 400 22px/1.2 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 0 0 12px; }
.about-contact p{ font: 400 14.5px/1.55 "Inter", sans-serif; color: var(--fg-2); margin: 0 0 14px; }
.contact-block{ display: flex; flex-direction: column; gap: 6px; }
.contact-line{ font: 500 15px/1.4 "Inter", sans-serif; color: var(--fg); }
.contact-line.muted{ color: var(--fg-3); font-weight: 400; font-size: 13px; }

/* newsletter modal */
.nl-backdrop{ position: fixed; inset: 0; z-index: 9998; background: rgba(6,18,24,.86); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 32px; animation: lbFade .18s ease-out; }
.nl-shell{ position: relative; width: min(960px, 100%); max-height: calc(100vh - 64px); overflow: auto; background: var(--panel); border-radius: 16px; display: grid; grid-template-columns: 1fr 1.1fr; box-shadow: 0 30px 80px rgba(0,0,0,.5); animation: lbPop .22s cubic-bezier(.2,.8,.2,1); }
.nl-close{ position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; border: 0; cursor: pointer; font-size: 14px; z-index: 2; }
.nl-close:hover{ background: var(--accent); }
.nl-left{ padding: 36px 32px; background: linear-gradient(135deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,0) 60%); }
.nl-h{ font: 400 28px/1.15 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 8px 0 12px; }
.nl-p{ font: 400 15px/1.55 "Inter", sans-serif; color: var(--fg-2); margin: 0 0 20px; }
.nl-perks{ list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.nl-perks li{ font: 400 14px/1.45 "Inter", sans-serif; color: var(--fg-2); display: flex; gap: 10px; }
.nl-tick{ color: var(--accent); font-weight: 700; }
.nl-proof{ display: flex; align-items: baseline; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.nl-num{ font: 400 22px/1 "DM Serif Display", Georgia, serif; color: var(--fg); }
.nl-num-label{ font: 500 12px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); letter-spacing: .06em; text-transform: uppercase; }
.nl-right{ padding: 36px 32px; background: rgba(0,0,0,.16); }
.nl-form{ display: flex; flex-direction: column; gap: 18px; }
.nl-field{ display: flex; flex-direction: column; gap: 6px; }
.nl-field span{ font: 500 12px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); letter-spacing: .06em; text-transform: uppercase; }
.nl-field input{ background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 11px 14px; color: var(--fg); font: 400 14.5px/1 "Inter", sans-serif; outline: none; }
.nl-field input:focus{ border-color: var(--accent); }
.nl-fieldset{ border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.nl-fieldset legend{ font: 500 12px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.nl-checks{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.nl-check{ display: flex; align-items: center; gap: 8px; font: 400 13.5px/1.3 "Inter", sans-serif; color: var(--fg-2); cursor: pointer; }
.nl-check input, .nl-consent input{ position: absolute; opacity: 0; pointer-events: none; }
.nl-box{ width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.2); flex-shrink: 0; position: relative; }
.nl-check input:checked + .nl-box, .nl-consent input:checked + .nl-box{ background: var(--accent); border-color: var(--accent); }
.nl-check input:checked + .nl-box::after, .nl-consent input:checked + .nl-box::after{ content: "✓"; position: absolute; inset: 0; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.nl-radio-row{ display: flex; gap: 6px; flex-wrap: wrap; }
.nl-radio{ padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); font: 500 13px/1 "Inter", sans-serif; color: var(--fg-2); cursor: pointer; }
.nl-radio.is-on{ background: var(--accent); border-color: var(--accent); color: #fff; }
.nl-radio input{ display: none; }
.nl-consent{ display: flex; gap: 10px; align-items: flex-start; font: 400 12.5px/1.5 "Inter", sans-serif; color: var(--fg-2); cursor: pointer; }
.nl-link{ color: var(--accent); text-decoration: underline; cursor: pointer; }
.nl-error{ font: 500 13px/1.3 "Inter", sans-serif; color: #ffb3a8; background: rgba(226,58,44,.12); padding: 8px 12px; border-radius: 6px; border: 1px solid rgba(226,58,44,.3); }
.nl-submit{ align-self: flex-start; }
.nl-small{ font: 400 12px/1.4 "Inter", sans-serif; color: var(--fg-3); margin: 0; }
.nl-done{ text-align: center; padding: 32px 8px; }
.nl-check.nl-tick{ font-size: 24px; }
.nl-done .nl-check{ width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 999px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 700; }
.nl-done h3{ font: 400 22px/1.2 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 0 0 10px; }
.nl-done p{ font: 400 14.5px/1.55 "Inter", sans-serif; color: var(--fg-2); margin: 0 0 18px; }
.nl-done .btn{ margin-bottom: 14px; }

/* account page */
.account-head{ display: flex; gap: 24px; align-items: flex-start; }
.avatar-xl{ width: 88px; height: 88px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), oklch(.55 .14 25)); color: #fff; font: 400 32px/1 "DM Serif Display", serif; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.account-meta{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; font: 500 12px/1.2 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); letter-spacing: .04em; }
.acc-tabs{ display: flex; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 28px; overflow-x: auto; }
.acc-tab{ background: none; border: 0; padding: 12px 18px; font: 500 14px/1 "Inter", sans-serif; color: var(--fg-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.acc-tab:hover{ color: var(--fg); }
.acc-tab.is-on{ color: var(--fg); border-bottom-color: var(--accent); }
.acc-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.acc-card{ background: var(--panel); border-radius: 12px; padding: 22px; }
.acc-wide{ grid-column: 1 / -1; }
.acc-card h3{ font: 400 17px/1.2 "DM Serif Display", Georgia, serif; color: var(--fg); margin: 0 0 16px; }
.acc-card h4{ font: 600 15px/1.2 "Inter", sans-serif; color: var(--fg); margin: 0 0 4px; }
.acc-card p{ font: 400 13.5px/1.45 "Inter", sans-serif; color: var(--fg-2); margin: 0; }
.acc-dl{ margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.acc-dl > div{ display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.06); }
.acc-dl dt{ font: 500 12px/1.4 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); letter-spacing: .04em; text-transform: uppercase; }
.acc-dl dd{ font: 400 14px/1.4 "Inter", sans-serif; color: var(--fg); margin: 0; }
.acc-stats{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acc-stats > div b{ font: 400 26px/1 "DM Serif Display", Georgia, serif; color: var(--fg); display: block; margin-bottom: 4px; }
.acc-stats > div span{ font: 500 11px/1.2 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); letter-spacing: .06em; text-transform: uppercase; }
.acc-feed{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.acc-feed li{ display: grid; grid-template-columns: 130px 1fr; gap: 16px; font: 400 14px/1.5 "Inter", sans-serif; color: var(--fg-2); padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.05); }
.feed-time{ font: 500 12px/1.4 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); }
.acc-feed b{ color: var(--fg); font-weight: 500; }
.acc-table{ width: 100%; border-collapse: collapse; font: 400 14px/1.4 "Inter", sans-serif; }
.acc-table th{ text-align: left; font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: var(--fg-3); letter-spacing: .06em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.acc-table td{ padding: 12px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--fg-2); }
.acc-table td:first-child{ color: var(--fg); }
.acc-sub{ display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.switch{ position: relative; width: 42px; height: 24px; background: rgba(255,255,255,.12); border-radius: 999px; cursor: pointer; flex-shrink: 0; transition: background .18s; }
.switch input{ position: absolute; opacity: 0; pointer-events: none; }
.switch span{ position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border-radius: 999px; transition: transform .18s; }
.switch.is-on{ background: var(--accent); }
.switch.is-on span{ transform: translateX(18px); }

@media (max-width: 720px){
  .nl-shell{ grid-template-columns: 1fr; }
  .acc-grid{ grid-template-columns: 1fr; }
  .erk-featured{ grid-template-columns: 1fr; }
  .about-mission, .about-contact{ grid-template-columns: 1fr; }

  /* Topbar: hide search (Suche page available via sidebar), tighten layout */
  .topbar{ gap: 12px; padding: 12px 16px; grid-template-columns: auto 1fr auto; }
  .tb-search{ display: none; }
  .tb-right{ gap: 6px; min-width: 0; }
  .tb-cta{ padding: 8px 12px; font-size: 12.5px; }
}
@media (max-width: 420px){
  .tb-icon[aria-label="Benachrichtigungen"]{ display: none; }
  .epd-video{ display: none; } /* keep red epd mark, drop "VIDEO" wordmark */
}

/* hide top nav links when narrow */
@media (max-width: 1100px){
  .tb-nav{ display: none; }
  .tb-search{ min-width: 200px; }
  .hero-editorial{ grid-template-columns: 1fr; }
  .hero-facts{ grid-template-columns: repeat(2, 1fr); }
  .about-grid{ grid-template-columns: 1fr; }
  /* Let the single column actually shrink to the viewport: grid/flex items
     default to min-width:auto, so the 4-up stats (with a long label like
     "Produktionshäuser") forced a min-content width wider than the phone,
     pushing the column — and the paragraph — off-screen. min-width:0 + a 2-up
     stats grid keeps everything inside the box on mobile. */
  .about-grid > *{ min-width: 0; }
  .about-stats{ grid-template-columns: repeat(2, 1fr); }
  .faq-grid{ grid-template-columns: 1fr; }
  .partners-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* ====== custom video player (lightbox v2) ====== */
.lb-frame{ cursor: default; user-select: none; }
.lb-frame.lb-show-ui{ cursor: default; }
.lb-frame:not(.lb-show-ui){ cursor: none; }
.lb-poster{
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-color: #000;
}
.lb-poster-vignette{
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 60%, rgba(0,0,0,.7) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 50%, rgba(0,0,0,.45) 100%);
  opacity: 0; transition: opacity .25s;
}
.lb-frame.lb-show-ui .lb-poster-vignette{ opacity: 1; }

/* Top bar */
.lb-top{
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 18px 20px; color: #fff;
  opacity: 0; transform: translateY(-4px); transition: opacity .22s, transform .22s;
}
.lb-frame.lb-show-ui .lb-top{ opacity: 1; transform: none; }
.lb-top-meta{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lb-top-kicker{
  font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
}
.lb-top-title{
  font: 500 15px/1.3 "Inter", sans-serif; color: #fff;
  max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.lb-top-actions{ display: flex; gap: 6px; align-items: center; position: relative; }
.lb-icon-btn{
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(0,0,0,.32); color: #fff; border: 0; cursor: pointer;
  backdrop-filter: blur(8px); transition: background .15s, color .15s, transform .15s;
}
.lb-icon-btn:hover{ background: rgba(255,255,255,.18); }
.lb-icon-btn.is-on{ color: var(--accent); background: rgba(255,255,255,.95); }
.lb-share-pop{
  position: absolute; top: 44px; right: 0; min-width: 320px;
  background: #0f1418; border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 12px; color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.6); z-index: 10;
  display: flex; flex-direction: column; gap: 8px;
}
.lb-share-row{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 500 12px/1.3 "Inter", sans-serif;
}
.lb-share-row span:first-child{ color: rgba(255,255,255,.65); }
.lb-share-row code{
  font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: #fff;
  background: rgba(255,255,255,.06); padding: 4px 8px; border-radius: 5px;
}
.lb-share-chips{ display: flex; gap: 6px; flex-wrap: wrap; }
.lb-share-chips span{
  background: rgba(255,255,255,.06); padding: 4px 8px; border-radius: 999px;
  font: 500 11px/1 "Inter", sans-serif; cursor: pointer;
}
.lb-share-chips span:hover{ background: var(--accent); }

/* Big center play */
.lb-bigplay{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: transparent; border: 0; cursor: pointer; color: #fff; z-index: 2;
  padding: 0; user-select: none;
}
.lb-bigplay::before{
  content: ""; width: 84px; height: 84px; border-radius: 999px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  position: absolute; left: 50%; top: 22px; transform: translateX(-50%);
  z-index: -1; transition: background .15s, transform .15s;
}
.lb-bigplay svg{ position: relative; margin-top: 22px; margin-left: 4px; }
.lb-bigplay:hover::before{ background: var(--accent); transform: translateX(-50%) scale(1.04); }
.lb-bigplay-label{
  font: 500 12px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0,0,0,.55); padding: 6px 12px; border-radius: 999px;
  backdrop-filter: blur(8px); margin-top: 36px;
}
.lb-bigplay.is-ended::before{ background: rgba(0,0,0,.7); }

/* Bottom controls */
.lb-bottom{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 0 18px 14px;
  opacity: 0; transform: translateY(6px); transition: opacity .22s, transform .22s;
}
.lb-frame.lb-show-ui .lb-bottom{ opacity: 1; transform: none; }

/* Scrubber */
.lb-scrub{
  position: relative; height: 22px; padding: 8px 0; cursor: pointer;
}
.lb-scrub-track{
  position: relative; height: 4px; background: rgba(255,255,255,.22); border-radius: 999px;
  transition: height .15s;
}
.lb-scrub:hover .lb-scrub-track{ height: 6px; }
.lb-scrub-buf{
  position: absolute; left: 0; top: 0; height: 100%;
  background: rgba(255,255,255,.32); border-radius: 999px;
}
.lb-scrub-fill{
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--accent); border-radius: 999px;
}
.lb-scrub-marker{
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 2px; height: 10px; background: rgba(255,255,255,.7); border-radius: 1px;
}
.lb-scrub-thumb{
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 13px; height: 13px; background: #fff; border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
  opacity: 0; transition: opacity .15s;
}
.lb-scrub:hover .lb-scrub-thumb{ opacity: 1; }
.lb-scrub-tip{
  position: absolute; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px; pointer-events: none;
}
.lb-scrub-tip-thumb{
  width: 120px; height: 68px; background-size: cover; background-position: center;
  border-radius: 6px; border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 6px 16px rgba(0,0,0,.5);
}
.lb-scrub-tip-time{
  font: 500 11px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: #fff;
  background: rgba(0,0,0,.7); padding: 3px 6px; border-radius: 4px;
}

/* Control row */
.lb-ctrl-row{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 2px;
}
.lb-ctrl-left, .lb-ctrl-right{ display: flex; align-items: center; gap: 4px; }
.lb-ctrl-btn{
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: #fff; border-radius: 8px; cursor: pointer;
  transition: background .12s, color .12s;
  font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; letter-spacing: .08em;
}
.lb-ctrl-btn:hover{ background: rgba(255,255,255,.14); }
.lb-cc{ width: auto; padding: 0 8px; font-size: 11px; }
.lb-vol{ display: flex; align-items: center; gap: 4px; }
.lb-vol-track{
  width: 0; overflow: hidden; height: 4px; background: rgba(255,255,255,.22);
  border-radius: 999px; cursor: pointer; transition: width .2s;
}
.lb-vol:hover .lb-vol-track, .lb-vol-track:focus-within{ width: 70px; margin-right: 4px; }
.lb-vol-fill{ height: 100%; background: #fff; border-radius: 999px; }
.lb-time{
  font: 500 12px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; color: rgba(255,255,255,.85);
  padding: 0 6px; min-width: 90px; white-space: nowrap;
}
.lb-time-sep{ color: rgba(255,255,255,.4); margin: 0 4px; }

/* Settings flyout */
.lb-settings-wrap{ position: relative; }
.lb-settings{
  position: absolute; bottom: 44px; right: 0; min-width: 240px;
  background: #0f1418; border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  padding: 14px; color: #fff; box-shadow: 0 16px 40px rgba(0,0,0,.6); z-index: 10;
  display: flex; flex-direction: column; gap: 14px;
}
.lb-settings-label{
  font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 8px;
}
.lb-settings-opts{ display: flex; flex-wrap: wrap; gap: 4px; }
.lb-settings-opts button{
  font: 500 12px/1 "Inter", sans-serif; padding: 6px 10px;
  background: rgba(255,255,255,.06); color: #fff; border: 0; border-radius: 6px; cursor: pointer;
  transition: background .12s, color .12s;
}
.lb-settings-opts button:hover{ background: rgba(255,255,255,.14); }
.lb-settings-opts button.is-on{ background: var(--accent); color: #fff; }

/* Chapter chip */
.lb-chapter-chip{
  position: absolute; left: 20px; bottom: 64px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,0,0,.6); backdrop-filter: blur(8px);
  padding: 6px 12px 6px 8px; border-radius: 999px;
  font: 500 12px/1 "Inter", sans-serif; color: #fff;
  opacity: 0; transform: translateY(4px); transition: opacity .22s, transform .22s;
  pointer-events: none;
}
.lb-frame.lb-show-ui .lb-chapter-chip{ opacity: 1; transform: none; }
.lb-chapter-chip span{
  font: 600 9px/1 ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); padding: 3px 6px; background: rgba(255,255,255,.08); border-radius: 999px;
}

/* Meta action pills under the player */
.lb-meta-actions{
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.lb-pill{
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14);
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font: 500 12px/1 "Inter", sans-serif; letter-spacing: .01em;
  transition: background .12s, border-color .12s;
}
.lb-pill:hover{ background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); }

