/* =========================================================
   AFC Wien — Designvorschlag "Hell & klar" (Oktober 2026)
   Wird NACH style.css geladen und überschreibt nur Farben.
   Idee: weiße Seiten wie beim Logo (blau auf weiß), Fotos in
   echten Farben. Dunkel bleiben nur das große Titelbild oben
   und die Fußzeile – als "Kinorahmen" um den hellen Inhalt.
   ========================================================= */

:root {
  --brand:        #1C549A;
  --brand-bright: #1d62b3;   /* dunkler als im Dunkel-Design: lesbar auf Weiß */
  --brand-glow:   #8cc4f5;   /* nur noch im dunklen Titelbild verwendet */

  --bg:        #ffffff;
  --bg-2:      #f3f6fa;
  --surface:   #ffffff;
  --surface-2: #f7f9fc;
  --line:      #d6dfeb;
  --line-soft: #e5ebf3;

  --ink:      #0f1d33;
  --ink-mid:  #3a4860;
  --ink-dim:  #5e6c84;
}

/* ---------- Kopfzeile ---------- */
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 24px -18px rgba(15,29,51,.5);
}
/* Auf der Startseite liegt die Kopfzeile anfangs über dem dunklen Foto */
body:has(.hero) .site-header:not(.scrolled) .brand,
body:has(.hero) .site-header:not(.scrolled) .nav a,
body:has(.hero) .site-header:not(.scrolled) .nav-toggle { color: #fff; }
body:has(.hero) .site-header:not(.scrolled) .brand__sub { color: rgba(255,255,255,.7); }
@media (max-width: 960px) {
  .site-header .nav.open { background: #fff; box-shadow: 0 18px 30px -20px rgba(15,29,51,.5); }
  body:has(.hero) .site-header:not(.scrolled) .nav.open a { color: var(--ink); }
}

/* ---------- Titelbild bleibt dunkel (Kino-Moment) ---------- */
.hero { color: #fff; background: #0a0e15; }
.hero__lead { color: rgba(255,255,255,.86); }
.hero__badges { color: rgba(255,255,255,.66); }
/* Titelfoto in echten Farben: kein Schwarz-Weiß, keine Blautönung.
   Nur ein neutraler Schatten links, damit die Schrift lesbar bleibt. */
.hero__media img { filter: saturate(1.05) contrast(1.02); object-position: 50% 28%; }
.hero__media::before { display: none; }
.hero__media::after {
  background:
    linear-gradient(90deg, rgba(8,10,14,.78) 0%, rgba(8,10,14,.5) 45%, rgba(8,10,14,.08) 80%),
    linear-gradient(180deg, rgba(8,10,14,.45) 0%, transparent 25%, transparent 70%, rgba(8,10,14,.55) 100%);
}
.hero.grain::after { display: none; }   /* kein Filmkorn: Foto bleibt scharf */
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Fotos in echten Farben ---------- */
.split__media { border: 0; box-shadow: 0 24px 50px -30px rgba(15,29,51,.55); }
.split__media img { filter: none; }
.split__media::before, .split__media::after, .split__media .frameline { display: none; }

/* ---------- Abschnitte ---------- */
.section--tint { background: var(--bg-2); }
.section-head::before { display: none; }
.eyebrow::before { box-shadow: none; }

/* Karten: weiß mit feinem Schatten statt Glas-Effekt */
.card, .steps li {
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 30px -22px rgba(15,29,51,.45);
}
.card::before { display: none; }
.card:hover { background: #fff; border-color: var(--brand); }
.card__ico { background: rgba(28,84,154,.08); color: var(--brand); box-shadow: none; }
.tick-list svg { filter: none; color: var(--brand); }

/* Kennzahlen */
.stats, .about-facts { background: var(--line-soft); border-color: var(--line-soft); }
.stat { background: #fff; }
.stat b { color: var(--brand); text-shadow: none; }

/* Termine */
.up-row { box-shadow: 0 8px 24px -22px rgba(15,29,51,.5); }
.up-date b { color: var(--brand); }

/* Blaues Band "Komm einfach vorbei" */
.band h2 { color: #fff; }

/* YouTube-Vorschaubilder kräftiger */
.yt-lite { border: 0; box-shadow: 0 16px 34px -24px rgba(15,29,51,.6); }
.yt-lite__thumb { opacity: .92; }
.yt-lite:hover .yt-lite__thumb { opacity: 1; }

/* Unterseiten-Kopf */
.page-hero {
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(28,84,154,.10), transparent 60%),
    var(--bg-2);
}

/* Programm-Seite */
.prog-toolbar { background: rgba(255,255,255,.94); }
.event__tag { background: rgba(28,84,154,.09); color: var(--brand); }
.event__tag[data-kind="seminar"] { background: rgba(196,120,20,.12); color: #8a5208; }
.event__tag[data-kind="special"] { background: rgba(80,70,200,.10); color: #3f36a8; }
.event__day span { color: var(--brand); }

/* ---------- Fußzeile bleibt dunkelblau ---------- */
.site-footer {
  --ink: #eef2f8; --ink-mid: #c3cee0; --ink-dim: #93a2bb;
  --line: #2d4366; --line-soft: #233756; --brand-bright: #8cc4f5;
  background: #0d2547;
  color: var(--ink);
  border-top: 0;
}

/* ---------- Mitgliedschaften (VÖFA, UNICA): freigestelltes Logo + Schriftzug ---------- */
.assoc {
  display: inline-flex; align-items: center; gap: 9px;
  color: inherit;
  transition: color .2s var(--ease);
}
.assoc img { height: 26px; width: auto; flex-shrink: 0; }
.assoc:hover { color: #fff; }
.assoc:hover span { text-decoration: underline; text-underline-offset: 3px; }
.assoc:focus-visible { outline: 2px solid #8cc4f5; outline-offset: 3px; border-radius: 4px; }
/* im Titelbild: statt der Punkte-Trennung etwas Abstand */
.hero__badges--logos { gap: 14px 26px; flex-wrap: wrap; }
.hero__badges--logos span::after { content: none; }
/* in der Fußzeile */
.footer-assoc { gap: 10px 24px; flex-wrap: wrap; }
.footer-assoc .assoc { font-size: .8rem; color: var(--ink-mid); }
.footer-assoc .assoc img { height: 30px; }

/* ---------- Countdown zum nächsten Festival (Titelbild, unten rechts) ---------- */
.hero__inner .wrap { position: relative; }
.countdown {
  position: absolute; right: 24px; bottom: 0;
  width: 290px;
  display: flex; flex-direction: column; gap: 2px;
  padding: 22px 20px 16px;
  border-radius: 14px;
  background: rgba(8,12,20,.62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.countdown::before {            /* Filmstreifen-Perforation an der Oberkante */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 7px, transparent 7px 15px);
  -webkit-mask: linear-gradient(180deg, transparent 0 2px, #000 2px 6px, transparent 6px);
          mask: linear-gradient(180deg, transparent 0 2px, #000 2px 6px, transparent 6px);
  opacity: .7;
}
.countdown:hover { transform: translateY(-3px); border-color: rgba(140,196,245,.7); }
.countdown:focus-visible { outline: 2px solid #8cc4f5; outline-offset: 3px; }
.countdown__label {
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .22em;
  text-transform: uppercase; color: #8cc4f5;
}
.countdown__title {
  font-family: var(--font-display); font-size: 1.7rem; line-height: 1.05;
  letter-spacing: .02em; text-transform: uppercase;
}
.countdown__date { font-size: .84rem; color: rgba(255,255,255,.75); }
.countdown__free {
  align-self: flex-start; margin-top: 8px;
  padding: 3px 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #0d2547; background: #8cc4f5;
}
.countdown__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin: 12px 0 10px;
}
.countdown__cell {
  display: flex; flex-direction: column; align-items: center;
  padding: 6px 0 5px; border-radius: 8px;
  background: rgba(255,255,255,.08);
}
.countdown__cell b {
  font-family: var(--font-display); font-weight: 400; font-size: 1.85rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown__cell small {
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65);
}
.countdown__live { margin: 12px 0 10px; font-weight: 600; color: #8cc4f5; }
.countdown__more { font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85); }
.countdown:hover .countdown__more { color: #fff; }
.countdown[hidden], .countdown [hidden] { display: none !important; }
@media (max-width: 960px) {
  .countdown { position: static; margin-top: 30px; width: 100%; max-width: 340px; }
}

/* KI-Hinweis */
.img-ai-note { background: rgba(6,10,17,.6); }
