/* ============================================================
   Hamburg Junior Tigers — News & Presse (news.html)
   Timeline im „Flutlicht"-System aus style.css: Schwarz/Gold/Kreide,
   Barlow, diagonale Schnitte, gewinkelte Chips. Baut strikt auf den
   Tokens und Komponenten (.btn, .tag, .match__result, .news-card,
   Sektions-Cut) der Startseite auf.
   ============================================================ */

/* ---------- Dunkler Seitenkopf ("Flutlicht") ---------- */
.newshead {
  position: relative;
  background: var(--black);
  padding: 8rem clamp(1.5rem, 6vw, 5rem) 4.5rem;
  overflow: hidden;
}
.newshead::before { /* Flutlicht-Schein */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% -10%, rgba(199, 154, 59, .22), transparent 60%);
}
.newshead__inner {
  position: relative;
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: end;
}
.newshead h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}
.newshead h1 span { color: var(--gold-bright); }
.newshead__sub { color: rgba(245, 241, 230, .8); margin-top: 1rem; max-width: 52ch; }
.newshead__counter { display: flex; gap: .7rem; }
.newshead__counter div {
  min-width: 84px; padding: .7rem .6rem .55rem; text-align: center;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.newshead__counter b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1; color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}
.newshead__counter small {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .16em; font-size: .62rem; color: rgba(245, 241, 230, .7);
}

/* ---------- Helle Timeline-Region mit diagonalem Schnitt ---------- */
.tl-region {
  background:
    repeating-linear-gradient(0deg, transparent 0 89px, rgba(33, 30, 24, .05) 89px 90px),
    var(--paper);
  color: var(--ink);
  padding: calc(var(--cut) + 2.5rem) clamp(1.5rem, 6vw, 5rem) 5rem;
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(-1 * var(--cut));
  position: relative; z-index: 1;
}

/* ---------- Redaktionelle Hinweise: Recht in Klartext ---------- */
.tl-ordnung {
  max-width: 1100px; margin: 0 auto 2.4rem;
  background: var(--black); color: var(--chalk);
  border-left: 4px solid var(--gold-bright);
  padding: 1.3rem 1.6rem;
  display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.4rem; align-items: start;
}
.tl-ordnung__titel {
  grid-row: 1 / span 3; align-self: center;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  color: var(--gold-bright); font-size: 1.15rem; line-height: 1.05;
  border-right: 1px solid var(--line); padding-right: 1.4rem; max-width: 9ch;
}
.tl-ordnung__regel {
  font-size: .92rem; color: rgba(245, 241, 230, .85);
  padding: .22rem 0; border-bottom: 1px solid rgba(199, 154, 59, .18);
}
.tl-ordnung__regel:last-child { border-bottom: 0; }
.tl-ordnung__regel b { color: var(--gold-bright); }

/* ---------- Filter (gewinkelte Chips) ---------- */
.tl-filter {
  max-width: 1100px; margin: 0 auto 2.2rem;
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
}
.tl-filter__label {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; font-size: .78rem; color: #a07c2c; margin-right: .3rem;
}
.tl-filter__btn {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: .92rem; cursor: pointer;
  background: #fff; color: var(--ink);
  border: 1px solid rgba(33, 30, 24, .15);
  padding: .5rem 1.1rem;
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  transition: background .15s, color .15s, transform .12s;
}
.tl-filter__btn b { color: #a07c2c; margin-left: .25rem; }
.tl-filter__btn:hover { transform: translateY(-1px); }
.tl-filter__btn.is-active { background: var(--black); color: var(--gold-bright); border-color: var(--black); }
.tl-filter__btn.is-active b { color: var(--chalk); }
.tl-filter__btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

/* ============================================================
   DIE TIMELINE
   ============================================================ */
.tl-list { position: relative; max-width: 940px; margin: 0 auto; list-style: none; }
.tl-list::before { /* der goldene Spine */
  content: ""; position: absolute; z-index: 0;
  left: 37px; top: 6px; bottom: 40px; width: 3px;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold) 70%, rgba(199, 154, 59, .2));
}

.tl-monat { position: relative; padding-left: 108px; margin: 1.8rem 0 1rem; }
.tl-monat:first-child { margin-top: 0; }
.tl-monat span {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; font-size: .82rem; color: #a07c2c;
}

.tl-item { position: relative; padding-left: 108px; margin-bottom: 2.2rem; }
/* Verbindungsstrich Spine → Karte */
.tl-item::before {
  content: ""; position: absolute; z-index: 1;
  left: 76px; top: 26px; width: 30px; height: 3px; background: var(--gold);
}

/* Datums-Chip auf dem Spine */
.tl-node { position: absolute; left: 0; top: 4px; width: 76px; z-index: 2; }
.tl-node__date {
  display: block; text-align: center;
  background: var(--black); color: var(--gold-bright);
  padding: .5rem .3rem .42rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  box-shadow: 0 8px 20px rgba(33, 30, 24, .22);
}
.tl-node__date b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; }
.tl-node__date small {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: .08em; font-size: .6rem; color: var(--chalk);
}

/* ---------- Die Karte ---------- */
.tl-card {
  position: relative;
  background: #fff; border: 1px solid rgba(33, 30, 24, .1);
  border-left: 4px solid var(--gold);
  box-shadow: 0 8px 24px rgba(33, 30, 24, .07);
  padding: 1.4rem 1.5rem 1.2rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tl-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(33, 30, 24, .14); }
.tl-item--spielbericht .tl-card { border-left-color: var(--gold-bright); border-left-width: 5px; }
.tl-item--presse .tl-card { border-left-style: dashed; }

.tl-card__typ {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: #a07c2c;
}
.tl-card__datum { display: block; font-size: .8rem; color: rgba(33, 30, 24, .55); margin: .1rem 0 .55rem; }
.tl-card h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--ink); }
.tl-item--spielbericht .tl-card h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

/* Ergebnis-Chip (aus dem Spielplan) — überstehend oben rechts */
.tl-card__result {
  position: absolute; top: -14px; right: 16px; z-index: 3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}
.tl-card__spielmeta {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em;
  font-size: .78rem; color: #a07c2c; margin-bottom: .5rem;
}

/* ---------- Teaser-Karte (Index-Übersicht, verlinkt auf die Unterseite) ---------- */
.tl-card--teaser { display: flex; gap: 1.2rem; align-items: flex-start; text-decoration: none; color: inherit; }
.tl-teaser__media { flex: 0 0 34%; max-width: 34%; }
.tl-teaser__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%);
}
.tl-teaser__body { flex: 1 1 auto; min-width: 0; }
.tl-teaser__text { display: block; margin-top: .5rem; color: rgba(33, 30, 24, .8); }
.tl-teaser__more {
  display: inline-block; margin-top: .7rem;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: .82rem; color: #a07c2c;
}
.tl-card--teaser:hover .tl-teaser__more { color: var(--ink); }
@media (max-width: 620px) {
  .tl-card--teaser { flex-direction: column; }
  .tl-teaser__media { max-width: 100%; flex-basis: auto; }
  .tl-teaser__media img { aspect-ratio: 16 / 9; }
}

.tl-card__text { margin-top: .8rem; color: rgba(33, 30, 24, .82); }
.tl-card__text p { margin-bottom: .8rem; }
.tl-card__text strong { color: #8a6a22; font-weight: 700; }

/* ---------- Bilder ---------- */
.tl-bild { position: relative; display: block; }
.tl-bild img { width: 100%; display: block; object-fit: cover; }
.tl-card__hauptbild { margin: .9rem 0 0; }
.tl-card__hauptbild .tl-bild img {
  aspect-ratio: 16 / 9;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
}
.tl-card__polaroid {
  float: right; max-width: 42%; margin: .2rem 0 1rem 1.4rem;
}
.tl-card__polaroid .tl-bild img {
  aspect-ratio: 4 / 3;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 0 100%);
}

/* Einwilligungs-Badge (Klartext, kein Fiktions-Etikett) */
.tl-einwilligung {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: .68rem;
  background: var(--gold-bright); color: var(--black);
  padding: .2rem .6rem;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .3);
}

/* Bildnachweis-Pflichtzeile */
.tl-credit {
  font-size: .74rem; font-style: italic; color: rgba(33, 30, 24, .55); margin-top: .4rem;
}
.tl-card__polaroid .tl-credit { text-align: center; }

/* Fail-visible: gesperrtes Bild / fehlende Angabe — .tl-bildsperre liegt in style.css
   (Basis-Stylesheet), weil die Sperr-Box auch auf der Startseite gebraucht wird. */

/* ---------- Galerie ---------- */
.tl-galerie { margin-top: 1.2rem; clear: both; }
.tl-galerie__label {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: .72rem; color: #a07c2c; margin-bottom: .6rem;
}
.tl-galerie ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; }
.tl-thumb {
  position: relative; width: 100%; padding: 0; cursor: pointer; border: none; background: none;
  overflow: hidden; box-shadow: 0 4px 12px rgba(33, 30, 24, .12);
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.tl-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .2s ease; }
.tl-thumb span {
  position: absolute; inset: 0; display: grid; place-content: center;
  color: #fff; font-size: 1.5rem; background: rgba(12, 11, 9, .3); opacity: 0; transition: opacity .15s;
}
.tl-thumb:hover img { transform: scale(1.06); }
.tl-thumb:hover span, .tl-thumb:focus-visible span { opacity: 1; }
.tl-thumb:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; }

/* ---------- Presse ---------- */
.tl-card__zitatrecht {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; color: #a07c2c;
  border: 1px solid rgba(160, 124, 44, .5); padding: .12rem .55rem; margin: .2rem 0 .6rem;
}
.tl-item--presse .tl-card__text { font-style: italic; }
.tl-card__quelle { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin: .9rem 0 .2rem; }
.tl-card__quelle .btn { font-size: .92rem; padding: .55rem 1.2rem; }
.tl-card__domain { font-family: var(--font-display); font-size: .78rem; letter-spacing: .04em; color: rgba(33, 30, 24, .5); }

/* ---------- Beleg-Zeile ---------- */
.tl-card__beleg {
  clear: both; margin-top: 1rem; padding-top: .7rem;
  border-top: 1px solid rgba(33, 30, 24, .12);
  font-size: .76rem; color: rgba(33, 30, 24, .55);
}
.tl-card__beleg cite { font-style: normal; font-weight: 600; color: #8a6a22; }
.tl-card__beleg time { color: rgba(33, 30, 24, .7); }

/* ---------- Leer / Mehr / Ende ---------- */
.tl-leer {
  list-style: none; text-align: center; margin: 1rem auto 2rem; max-width: 640px;
  padding: 3rem 1.5rem; background: #fff; border: 1px solid rgba(33, 30, 24, .12);
}
.tl-leer b { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; color: var(--ink); }
.tl-leer p { color: rgba(33, 30, 24, .6); margin-top: .4rem; }
.tl-more { max-width: 940px; margin: 0 auto; text-align: center; }
#tlMehr[hidden], #tlEnde[hidden] { display: none; }
.tl-ende {
  text-align: center; padding-top: 1rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em;
  font-size: .75rem; color: #a07c2c;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  border: none; padding: 0; background: transparent; max-width: min(900px, 94vw); width: 100%; color: var(--chalk);
  /* Modales <dialog> zentrieren: der globale Reset *{margin:0} killt den
     Browser-Default margin:auto, sonst klebt die Lightbox oben links. */
  margin: auto;
}
.lightbox::backdrop { background: rgba(12, 11, 9, .9); }
.lightbox__inner { position: relative; background: var(--black); border: 1px solid var(--gold); padding: 1rem; }
.lightbox__img { width: 100%; max-height: 74vh; object-fit: contain; background: #000; display: block; }
.lightbox__caption { font-size: .88rem; color: rgba(245, 241, 230, .8); margin-top: .7rem; line-height: 1.45; }
.lightbox__caption span { color: var(--gold-bright); font-style: italic; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .8rem; }
.lightbox__zaehler { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; color: var(--gold-bright); }
.lightbox__nav { display: flex; gap: .5rem; }
.lightbox button {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; cursor: pointer;
  background: transparent; color: var(--gold-bright); border: 1px solid var(--gold);
  padding: .4rem .9rem; transition: background .12s, color .12s;
  clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.lightbox button:hover { background: var(--gold-bright); color: var(--black); }
.lightbox__zu {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; padding: 0;
  background: var(--gold-bright); color: var(--black); clip-path: none; border-radius: 50%;
}

/* ============================================================
   SCROLL-REVEAL (Reprise aus style.css für diese Seite)
   ============================================================ */
.tl-region .reveal { opacity: 0; translate: 0 28px; transition: opacity .6s ease, translate .6s ease; }
.tl-region .reveal.is-visible { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .tl-region .reveal { opacity: 1; translate: none; transition: none; }
  .tl-card { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .newshead__inner { grid-template-columns: 1fr; }
  .tl-ordnung { grid-template-columns: 1fr; }
  .tl-ordnung__titel {
    grid-row: auto; border-right: 0; border-bottom: 1px solid var(--line);
    padding-right: 0; padding-bottom: .5rem; margin-bottom: .3rem; max-width: none;
  }
}
@media (max-width: 620px) {
  .newshead { padding-top: 6.5rem; }
  .tl-list::before { left: 13px; }
  .tl-monat, .tl-item { padding-left: 0; }
  .tl-item { padding-top: 2.6rem; }
  .tl-item::before { display: none; }
  .tl-node { position: absolute; left: 0; top: 0; }
  .tl-card__polaroid { float: none; max-width: 100%; margin: .8rem 0; }
}
