/* Weisskopfadler — Redesign 2026
   Tokens und Komponenten gemäss Design-Handoff (design_handoff_wka_redesign/README.md) */

:root {
  --grund: #101f1c;
  --grund-alt: #16302a;
  --gold: #c8a04e;
  --gold-hell: #e2c88f;
  --creme: #faf7f0;
  --creme-80: #faf7f0cc;
  --creme-73: #faf7f0bb;
  --creme-67: #faf7f0aa;
  --creme-53: #faf7f088;
  --creme-40: #faf7f066;
  --hairline: #faf7f01f;
  --hairline-leise: #faf7f014;
  --tint: #ffffff08;
  --lightbox: #0a1412f2;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: Jost, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --breite: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--creme);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-hell); text-decoration: none; }
a:hover { color: var(--creme); }
::selection { background: var(--gold); color: var(--grund-alt); }
input, textarea, select, button { font-family: var(--sans); }
img { max-width: 100%; }

@keyframes wkaKen  { 0% { transform: scale(1.04); } 100% { transform: scale(1.16) translate3d(-1.5%, -2%, 0); } }
@keyframes wkaDrift { 0% { transform: translate3d(-4%, -2%, 0) scale(1.08); } 50% { transform: translate3d(4%, 3%, 0) scale(1.16); } 100% { transform: translate3d(-4%, -2%, 0) scale(1.08); } }
@keyframes wkaFade { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wkaLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wkaBob  { 0%,100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(9px); opacity: 1; } }
@keyframes wkaPop  { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Scroll-Fortschritt ---------- */
.fortschritt {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: var(--gold); z-index: 60; transition: width .1s linear;
}

/* ---------- Navigation ---------- */
.wk-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px 40px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  background: linear-gradient(#101f1ccc, #101f1c00);
}
.wk-marke { display: flex; align-items: center; gap: 12px; color: var(--creme); }
.wk-marke img { height: 34px; width: auto; display: block; }
.wk-marke span { font-family: var(--serif); font-size: 22px; letter-spacing: .02em; }
.wk-links {
  display: flex; gap: 26px; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: #faf7f099;
}
.wk-links a { color: inherit; }
.wk-links a:hover { color: var(--creme); }
.wk-links a.aktiv { color: var(--gold); }
.wk-menue { display: none; }

/* ---------- Layout ---------- */
.inhalt { max-width: var(--breite); margin: 0 auto; width: 100%; padding-left: 40px; padding-right: 40px; }

.augenbraue {
  font-family: var(--mono); font-size: 12px; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold-hell);
}
.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--creme-40);
}
.label-gold { color: var(--gold-hell); }

.abschnittskopf {
  display: flex; align-items: baseline; gap: 20px;
  border-bottom: 1px solid var(--hairline); padding-bottom: 18px;
}
.abschnittskopf .nummer { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--creme-40); }
.abschnittskopf h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 54px); margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; padding-top: 110px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-bild { position: absolute; inset: 0; overflow: hidden; }
.hero-bild img {
  width: 100%; height: 100%; object-fit: cover;
  animation: wkaKen 26s ease-in-out infinite alternate;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #101f1ce6 0%, #101f1c99 30%, #101f1cf2 68%, #101f1c 100%);
}
.hero-inhalt { position: relative; will-change: transform; padding-bottom: 110px; }
.hero h1 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(56px, 11vw, 168px); line-height: .92; margin: 22px 0 0;
}
.hero h1 em, h1 em { font-style: italic; color: var(--gold-hell); }
.hero-lead {
  max-width: 44ch; font-size: clamp(19px, 2vw, 25px); line-height: 1.45;
  color: var(--creme-80); margin: 26px 0 0; text-wrap: pretty;
}
.hero-kennzahlen { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 44px; }
.hero-kennzahlen .wert { font-size: 22px; margin-top: 8px; }
.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--creme);
  animation: wkaBob 2.4s ease-in-out infinite;
}
.anim-1 { animation: wkaFade .9s .1s both; }
.anim-2 { animation: wkaFade 1s .2s both; }
.anim-3 { animation: wkaFade 1s .4s both; }
.anim-4 { animation: wkaFade 1s .6s both; }

/* ---------- Buttons ---------- */
.knopf, .knopf-leise {
  display: inline-block; padding: 15px 30px; border: none; cursor: pointer;
  font-size: 14px; letter-spacing: .14em; text-transform: uppercase;
  transition: all .35s var(--ease);
}
.knopf { background: var(--gold); color: var(--grund-alt); }
.knopf:hover { background: var(--gold-hell); color: var(--grund-alt); }
.knopf:disabled { opacity: .6; cursor: default; }
.knopf-leise { background: transparent; color: var(--creme); border: 1px solid #faf7f04d; }
.knopf-leise:hover { border-color: var(--creme); background: rgba(250,247,240,0.08); color: var(--creme); }

/* ---------- Karten ---------- */
.karte {
  display: block; color: var(--creme); border: 1px solid var(--hairline);
  transition: all .4s var(--ease);
}
.karte:hover { border-color: #c8a04e80; background: rgba(255,255,255,0.04); transform: translateY(-6px); color: var(--creme); }
.karte-bild { overflow: hidden; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.karte-text { padding: 28px 26px 30px; }
.karte-text h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 14px 0 0; line-height: 1.15; }
.karte-text p { color: var(--creme-67); font-size: 16px; line-height: 1.65; margin: 16px 0 0; }

/* ---------- Zellenraster (Herkunft, Tagesübersicht) ---------- */
.zellenraster {
  display: grid; gap: 0;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.zellenraster > div {
  background: var(--grund); padding: 26px 22px;
  border-left: 1px solid var(--hairline); margin-left: -1px;
}
.zellenraster .zelle-nummer { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--gold-hell); }
.zellenraster .zelle-text { margin-top: 12px; font-size: 19px; line-height: 1.35; }

/* ---------- Zeitplan ---------- */
.zeitplan { display: grid; gap: 2px; }
.zeitplan-zeile {
  display: grid; grid-template-columns: 130px 1fr; gap: 24px;
  padding: 16px 0; border-top: 1px solid var(--hairline-leise);
}
.zeitplan-zeile:last-child { border-bottom: 1px solid var(--hairline-leise); }
.zeitplan-zeile .zeit { font-family: var(--mono); font-size: 13px; color: var(--gold-hell); }
.zeitplan-zeile .text { font-size: 18px; }
.punktliste { display: grid; gap: 2px; }
.punktliste > div { padding: 16px 0; border-top: 1px solid var(--hairline-leise); font-size: 18px; }
.punktliste > div:last-child { border-bottom: 1px solid var(--hairline-leise); }

/* ---------- Hinweisbox ---------- */
.hinweis {
  padding: 22px 26px; border-left: 2px solid var(--gold);
  background: var(--tint); color: var(--creme-73); line-height: 1.65; font-size: 16px;
}

/* ---------- Tages-Artikel (Zukunft, Vergangen) ---------- */
.tag-artikel {
  display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 56px;
  padding: 88px 0; border-bottom: 1px solid var(--hairline-leise);
}
.tag-artikel:last-child { border-bottom: none; }
.tag-links { position: sticky; top: 96px; align-self: start; }
.tag-zahl { font-family: var(--serif); font-size: 96px; line-height: 1; color: var(--gold); }
.tag-datum { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--creme-40); margin-top: 10px; }
.tag-links h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; margin: 14px 0 0; line-height: 1.15; }
.tag-zusatz { color: var(--creme-53); font-size: 16px; line-height: 1.6; margin-top: 14px; }

.bildpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bildpaar img { width: 100%; object-fit: cover; display: block; }
.bildlegende {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--creme-40); margin-top: 12px;
}

/* ---------- Footer ---------- */
.wk-fuss {
  display: flex; flex-wrap: wrap; gap: 30px;
  justify-content: space-between; align-items: flex-end;
  padding-top: 110px; padding-bottom: 70px;
}
.wk-fuss .wortmarke {
  font-family: var(--serif); font-size: clamp(34px, 6vw, 84px);
  line-height: 1; letter-spacing: -0.02em; color: var(--creme);
}
.wk-fuss .claim {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--creme-40); text-align: right;
}
.copyright {
  margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--creme-40);
}

/* ---------- Galerie ---------- */
.galerie-raster {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px; margin-top: 40px;
}
.kachel {
  margin: 0; position: relative; overflow: hidden; cursor: zoom-in; background: var(--grund-alt);
}
.kachel.breit { grid-column: span 2; }
.kachel img {
  width: 100%; height: 320px; object-fit: cover; display: block;
  transition: transform .6s var(--ease);
}
.kachel:hover img { transform: scale(1.05); }
.kachel .video-marke {
  display: flex; align-items: center; justify-content: center; height: 320px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--creme-80);
}
.kachel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px 14px;
  background: linear-gradient(#101f1c00, #101f1ce6);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--creme-80);
}
.kachel .kachel-fuss {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  margin-top: 6px; letter-spacing: .1em; color: var(--creme-40); text-transform: none;
}
.kachel .kachel-fuss a { color: var(--gold-hell); }
.kachel .kachel-fuss a:hover { color: var(--creme); }
.kachel .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: var(--lightbox);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 22px; padding: 60px 40px; animation: wkaPop .3s ease-out both; cursor: zoom-out;
}
.lightbox img, .lightbox video { max-width: 100%; max-height: 74vh; object-fit: contain; display: block; cursor: default; }
.lightbox .lb-name, .lightbox .lb-hinweis {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
}
.lightbox .lb-name { color: #faf7f099; }
.lightbox .lb-hinweis { color: #faf7f04d; }
.status-zeile { color: var(--creme-53); font-size: 16px; margin: 40px 0 0; }
.status-fehler { color: var(--gold-hell); font-size: 16px; margin: 40px 0 0; }

/* ---------- Wissenswertes ---------- */
.werkzeugleiste {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--hairline); padding-bottom: 22px;
}
.filterleiste { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-knopf {
  padding: 10px 20px; background: transparent; color: #faf7f099;
  border: 1px solid #faf7f033; font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; cursor: pointer; transition: all .3s ease;
}
.filter-knopf.aktiv { background: var(--gold); color: var(--grund-alt); border-color: var(--gold); }

.eintrag-formular {
  margin-top: 36px; padding: 34px 32px; border: 1px solid #faf7f026;
  background: var(--grund-alt); display: grid; gap: 22px;
}
.eintrag-formular label { display: grid; gap: 9px; }
.eintrag-formular label > span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: #faf7f099;
}
.eintrag-formular input, .eintrag-formular textarea, .eintrag-formular select {
  padding: 13px 15px; background: var(--grund); border: 1px solid #faf7f033;
  color: var(--creme); font-size: 16px;
}
.eintrag-formular textarea { resize: vertical; }
.eintrag-formular small { color: var(--creme-40); font-size: 14px; }
.feld-reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.form-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

.eintrag-liste {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px; margin-top: 44px;
}
.eintrag {
  position: relative; border: 1px solid var(--hairline); padding: 30px 28px 32px;
  transition: all .4s var(--ease);
}
.eintrag:hover { border-color: #c8a04e80; background: rgba(255,255,255,0.04); transform: translateY(-4px); }
.eintrag .marken { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding-right: 30px; }
.eintrag .kategorie {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--grund-alt); background: var(--gold); padding: 5px 10px;
}
.eintrag .bezug { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.eintrag h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 18px 0 0; line-height: 1.15; }
.eintrag .text { color: var(--creme-67); font-size: 16px; line-height: 1.65; margin: 14px 0 0; white-space: pre-line; }
.eintrag .link { display: block; margin-top: 14px; font-size: 15px; word-break: break-all; }
.eintrag .bilder { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.eintrag .bilder img { width: 96px; height: 72px; object-fit: cover; display: block; border: 1px solid var(--hairline); }
.eintrag .datum {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--creme-40); margin-top: 20px;
}
.eintrag .loeschen {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px;
  background: transparent; border: none; color: var(--creme-40);
  font-size: 20px; line-height: 1; cursor: pointer; transition: color .3s ease;
}
.eintrag .loeschen:hover { color: var(--gold-hell); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tag-artikel { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
  .tag-links { position: static; }
  .kachel.breit { grid-column: auto; }
}
@media (max-width: 720px) {
  .inhalt { padding-left: 20px; padding-right: 20px; }
  .wk-nav { padding: 14px 20px; }
  .wk-menue {
    display: block; background: transparent; border: 1px solid #faf7f04d;
    color: var(--creme); font-size: 18px; line-height: 1; padding: 8px 12px; cursor: pointer;
  }
  .wk-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 10px 0 16px;
    background: #101f1cf2; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--hairline);
  }
  .wk-links.offen { display: flex; }
  .wk-links a { padding: 12px 20px; }
  .zeitplan-zeile { grid-template-columns: 1fr; gap: 6px; }
  .anfahrt-zeile { grid-template-columns: 1fr !important; gap: 6px !important; }
  .anfahrt-zeile .dauer { text-align: left !important; min-width: 0 !important; }
  .hero-inhalt { padding-bottom: 90px; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bild img, .zukunft-drift, .scroll-cue { animation: none !important; }
  .anim-1, .anim-2, .anim-3, .anim-4 { animation: none !important; }
  .lightbox { animation: none !important; }
  .kachel img, .karte, .eintrag { transition: none !important; }
}
