/* ==========================================================================
   Sommerkino Röntgenplatz – "Openair-Plakat"
   Warmes Papier, Nachtblau, Abendrot. Big Shoulders × Instrument Sans × DM Mono
   ========================================================================== */

:root {
  --paper: #f5eee0;
  --paper-2: #ece2cf;
  --card: #fffaf1;
  --ink: #1b1d3a;
  --ink-2: #4a4b66;
  --ink-3: #85849a;
  --line: rgba(27, 29, 58, .13);
  --line-strong: rgba(27, 29, 58, .28);

  --sun: #ff5a2c;
  --sun-deep: #e2401a;
  --gold: #ffb43a;
  --dusk: #24306b;
  --sky: #cfe0f0;

  --red: #d93a26;
  --yellow: #eea21c;
  --green: #2e8b57;
  --red-bg: #fbe1d9;
  --yellow-bg: #fcefd2;
  --green-bg: #dcefe1;

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;

  --r: 14px;
  --r-sm: 8px;
  --shadow: 0 1px 0 rgba(27, 29, 58, .06), 0 10px 30px -18px rgba(27, 29, 58, .35);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --sunset: linear-gradient(100deg, var(--gold) 0%, var(--sun) 45%, #c93360 78%, var(--dusk) 100%);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12132a;
    --paper-2: #1a1c3a;
    --card: #1d1f40;
    --ink: #f3ead8;
    --ink-2: #c8c0b0;
    --ink-3: #8f8aa0;
    --line: rgba(243, 234, 216, .12);
    --line-strong: rgba(243, 234, 216, .26);
    --sky: #2a3566;
    --red-bg: rgba(217, 58, 38, .2);
    --yellow-bg: rgba(238, 162, 28, .18);
    --green-bg: rgba(46, 139, 87, .22);
    --shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 14px 34px -20px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--f-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Papierkorn */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration-color: var(--sun); text-underline-offset: 3px; }
a:hover { color: var(--sun-deep); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 .75em; }
hr { border: 0; border-top: 1px dashed var(--line-strong); margin: 24px 0; }

.mono { font-family: var(--f-mono); font-size: .88em; letter-spacing: -.01em; }
.muted { color: var(--ink-3); }
.small { font-size: .86rem; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Kopfzeile ---------- */

.topbar {
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 30;
}
.topbar::after {
  content: "";
  display: block;
  height: 5px;
  background: var(--sunset);
}
.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__sun {
  width: 34px; height: 34px;
  flex-shrink: 0;
}
.brand__text {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .86;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.brand__text span { display: block; color: var(--sun); font-size: .82em; letter-spacing: .06em; }

.nav {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
          mask-image: linear-gradient(90deg, #000 90%, transparent);
  padding-right: 18px;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  font-family: var(--f-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.02rem;
  text-decoration: none;
  padding: 7px 11px;
  border-radius: 999px;
  white-space: nowrap;
  color: var(--ink-2);
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a.is-active { background: var(--ink); color: var(--paper); }
.nav a.nav__admin { color: var(--ink-3); }

.topbar__tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.year-switch select {
  font: 600 .9rem var(--f-mono);
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 26px 5px 12px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 13px) 50%, calc(100% - 9px) 50%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.avatar {
  --c: var(--dusk);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--c);
  color: #fff;
  font: 700 .78rem var(--f-body);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.avatar--sm { width: 26px; height: 26px; font-size: .66rem; }
a.avatar:hover { color: #fff; outline: 2px solid var(--sun); outline-offset: 2px; }

@media (max-width: 860px) {
  .topbar__inner { flex-wrap: wrap; gap: 8px 12px; padding-top: 8px; padding-bottom: 6px; }
  .nav { order: 3; flex-basis: 100%; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .topbar__tools { margin-left: auto; }
}

.archive-banner {
  background: repeating-linear-gradient(-45deg, var(--yellow-bg) 0 14px, transparent 14px 28px), var(--paper-2);
  border-bottom: 1px solid var(--line);
  text-align: center;
  padding: 8px var(--gutter);
  font-size: .92rem;
}

/* ---------- Seite ---------- */

.page {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 28px var(--gutter) 80px;
  flex: 1;
}

.page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.page-head__kicker {
  font: 500 .78rem var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--sun-deep);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-head__kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.page-title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6.4vw, 4.4rem);
  letter-spacing: -.005em;
  line-height: .88;
}
.page-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }

.section-title {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.55rem;
  letter-spacing: .01em;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.section-title small {
  font: 500 .8rem var(--f-mono);
  color: var(--ink-3);
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Buttons & Formulare ---------- */

.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 700 .95rem var(--f-body);
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease, background .12s;
  white-space: nowrap;
  line-height: 1.1;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 4px 0 -1px var(--sun); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn--sun { --bg: var(--sun); --fg: #fff; }
.btn--sun:hover { box-shadow: 0 4px 0 -1px var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn--danger { background: transparent; color: var(--red); border-color: currentColor; }
.btn--danger:hover { color: #fff; background: var(--red); border-color: var(--red); box-shadow: none; }
.btn--sm { padding: 6px 12px; font-size: .84rem; }
.btn--icon { padding: 6px; width: 34px; height: 34px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > label, .label {
  font: 500 .74rem var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-2);
}
.input, .field input[type=text], .field input[type=email], .field input[type=password],
.field input[type=date], .field input[type=time], .field input[type=number], .field select, .field textarea {
  font: 400 1rem var(--f-body);
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.45; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 25%, transparent);
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 14px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: .96rem;
}
.check input { accent-color: var(--sun); width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; }
.check small { display: block; color: var(--ink-3); }
.help { font-size: .84rem; color: var(--ink-3); }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches label { cursor: pointer; }
.swatches input { position: absolute; opacity: 0; }
.swatches span {
  display: block; width: 28px; height: 28px; border-radius: 50%;
  background: var(--c); border: 3px solid var(--card); box-shadow: 0 0 0 1.5px var(--line-strong);
}
.swatches input:checked + span { box-shadow: 0 0 0 2.5px var(--ink); }

/* ---------- Karten ---------- */

.card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 20px;
}
.card--flush { padding: 0; overflow: hidden; }
.card + .card { margin-top: 18px; }

/* Ticket: eingestanzte Kerben links/rechts */
.ticket {
  --notch: 11px;
  --notch-y: 50%;
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 var(--notch-y), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% var(--notch-y), #0000 98%, #000) right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at 0 var(--notch-y), #0000 98%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% var(--notch-y), #0000 98%, #000) right / 51% 100% no-repeat;
}

.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }

/* ---------- Ampel, Badges, Fortschritt ---------- */

.lamp {
  --c: var(--ink-3);
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent);
  flex-shrink: 0;
}
.lamp--red { --c: var(--red); animation: pulse 1.8s ease-in-out infinite; }
.lamp--yellow { --c: var(--yellow); }
.lamp--green { --c: var(--green); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 0%, transparent); } }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 500 .72rem var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-2);
  white-space: nowrap;
  border: 1px solid transparent;
}
.badge--red { background: var(--red-bg); color: var(--red); }
.badge--yellow { background: var(--yellow-bg); color: #9a6207; }
.badge--green { background: var(--green-bg); color: var(--green); }
.badge--ink { background: var(--ink); color: var(--paper); }
.badge--sun { background: var(--sun); color: #fff; }
.badge--outline { background: transparent; border-color: var(--line-strong); }
@media (prefers-color-scheme: dark) { .badge--yellow { color: var(--gold); } }

.status--proposed { background: var(--paper-2); color: var(--ink-2); }
.status--requested { background: var(--yellow-bg); color: #9a6207; }
.status--confirmed { background: var(--green-bg); color: var(--green); }
.status--rejected { background: var(--red-bg); color: var(--red); text-decoration: line-through; }
.status--screened { background: var(--ink); color: var(--paper); }

.bar {
  --v: 0%;
  height: 8px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
  position: relative;
}
.bar::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v);
  border-radius: inherit;
  background: var(--sunset);
  background-size: 400px 100%;
  transition: width .8s cubic-bezier(.2, .8, .2, 1);
}
.bar--green::after { background: var(--green); }

/* ---------- Flash ---------- */

.flashes { display: grid; gap: 8px; margin-bottom: 20px; }
.flash {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border-left: 4px solid var(--ink);
  background: var(--card);
  box-shadow: var(--shadow);
  animation: slidein .35s ease;
}
.flash--success { border-color: var(--green); }
.flash--error { border-color: var(--red); background: var(--red-bg); }
.flash--info { border-color: var(--gold); }
@keyframes slidein { from { opacity: 0; transform: translateY(-6px); } }

/* ==========================================================================
   Cockpit
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: calc(var(--r) + 6px);
  overflow: hidden;
  background: var(--card);
  margin-bottom: 28px;
  box-shadow: 8px 8px 0 -2px var(--ink);
}
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; box-shadow: 5px 5px 0 -2px var(--ink); } }

.hero__sky {
  position: relative;
  padding: 26px 26px 0;
  background:
    radial-gradient(120% 90% at 50% 110%, color-mix(in srgb, var(--gold) 55%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, var(--sky) 0%, color-mix(in srgb, var(--sun) 30%, var(--sky)) 100%);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__label {
  font: 500 .76rem var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink);
  opacity: .75;
}
.hero__year {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 9vw, 6rem);
  line-height: .82;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 6px;
}
.hero__gauge { margin-top: auto; position: relative; width: 100%; max-width: 440px; align-self: center; }
.hero__gauge svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero__gauge .gauge-num {
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  text-shadow: 0 0 18px color-mix(in srgb, var(--gold) 70%, transparent);
  text-align: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
}
.hero__ground {
  background: #1b1d3a;
  color: #f5eee0;
  margin: 0 -26px;
  padding: 9px 26px;
  text-align: center;
  font: 500 .72rem var(--f-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero__facts { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; border-left: 2px solid var(--ink); }
@media (max-width: 820px) { .hero__facts { border-left: 0; border-top: 2px solid var(--ink); } }
.fact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-strong);
  text-decoration: none;
}
.fact:last-child { border-bottom: 0; }
.fact__num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.5rem;
  line-height: .9;
  min-width: 2.2ch;
  font-variant-numeric: tabular-nums;
}
.fact__num--red { color: var(--red); }
.fact__num--sun { color: var(--sun); }
.fact__text { font-size: .95rem; line-height: 1.25; }
.fact__text strong { display: block; }
.fact__text span { color: var(--ink-3); font-size: .86rem; }
a.fact:hover .fact__text strong { color: var(--sun-deep); }

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  margin-bottom: 8px;
}
.status-line--red { background: var(--red-bg); }
.status-line--yellow { background: var(--yellow-bg); }
.status-line--green { background: var(--green-bg); }

/* Resort-Kacheln */
.resort-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  gap: 16px;
  counter-reset: resort;
}
.resort-tile {
  --c: var(--sun);
  counter-increment: resort;
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 18px 18px 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s;
  animation: rise .5s both cubic-bezier(.2, .8, .2, 1);
  animation-delay: calc(var(--i, 0) * 45ms);
  overflow: hidden;
}
.resort-tile::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: var(--c);
}
a.resort-tile:hover { transform: translateY(-3px); border-color: var(--ink); color: inherit; }
.resort-tile__head { display: flex; align-items: flex-start; gap: 10px; }
.resort-tile__num {
  font: 500 .72rem var(--f-mono);
  color: var(--ink-3);
  padding-top: 5px;
}
.resort-tile__num::before { content: counter(resort, decimal-leading-zero); }
.resort-tile__name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
  line-height: .95;
  flex: 1;
}
.resort-tile__meta { display: flex; justify-content: space-between; font-size: .84rem; color: var(--ink-3); gap: 8px; }
.resort-tile__next {
  font-size: .9rem;
  padding: 9px 11px;
  background: var(--paper);
  border-radius: var(--r-sm);
  border: 1px dashed var(--line-strong);
  line-height: 1.3;
}
.resort-tile__next .label { display: block; margin-bottom: 2px; font-size: .64rem; }
.resort-tile__chips { display: flex; gap: 6px; flex-wrap: wrap; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* Lückenliste */
.gaps { list-style: none; margin: 0; padding: 0; }
.gap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px dashed var(--line-strong);
}
.gap:last-child { border-bottom: 0; }
.gap__text { font-weight: 600; line-height: 1.25; }
.gap__text a { text-decoration: none; }
.gap__text a:hover { text-decoration: underline; }
.gap__meta { grid-column: 2 / -1; font-size: .84rem; color: var(--ink-3); margin-top: -2px; }
.empty-state {
  text-align: center;
  padding: 28px 16px;
  color: var(--ink-3);
}
.empty-state strong { display: block; font-family: var(--f-display); font-size: 1.6rem; text-transform: uppercase; color: var(--green); }

/* Film-Trichter */
.funnel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.funnel__step {
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: 12px 10px;
  text-align: center;
  position: relative;
}
.funnel__step strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
}
.funnel__step span { font: 500 .66rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.funnel__step--hot { background: var(--ink); color: var(--paper); }
.funnel__step--hot span { color: var(--gold); }
@media (max-width: 480px) { .funnel { grid-template-columns: repeat(2, 1fr); } }

/* Zeitachse */
.timeline {
  position: relative;
  height: 150px;
  margin: 8px 6px 0;
}
.timeline__axis { position: absolute; left: 0; right: 0; top: 74px; height: 3px; background: var(--ink); border-radius: 3px; }
.timeline__festival {
  position: absolute;
  top: 62px;
  height: 27px;
  background: var(--sunset);
  border-radius: 999px;
  min-width: 10px;
  opacity: .9;
}
.timeline__today {
  position: absolute; top: 12px; bottom: 40px; width: 2px;
  background: var(--sun);
}
.timeline__today::before {
  content: "Heute";
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  font: 500 .64rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--sun-deep);
}
.timeline__month {
  position: absolute; top: 118px;
  font: 500 .66rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3);
  transform: translateX(-2px);
  border-left: 1px solid var(--line-strong);
  padding-left: 4px;
  height: 20px;
  display: flex; align-items: flex-end;
}
.tl-item {
  position: absolute;
  top: 64px;
  width: 22px; height: 22px;
  margin-left: -11px;
  z-index: 2;
  text-decoration: none;
}
.tl-item::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--card);
  transition: transform .15s;
}
.tl-item:hover::before, .tl-item:focus::before { transform: scale(1.25); }
.tl-item--milestone::before { border-radius: 3px; transform: rotate(45deg); inset: 3px; }
.tl-item--milestone:hover::before { transform: rotate(45deg) scale(1.25); }
.tl-item--done::before { background: var(--green); border-color: var(--green); }
.tl-item--overdue::before { background: var(--red); border-color: var(--red); }
.tl-item--screening::before { background: var(--gold); }
.tl-item--screening.tl-item--open::before { background: var(--card); border-color: var(--sun); border-style: dashed; }
.tl-item__label {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 600;
  background: var(--card);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s;
  z-index: 3;
}
.tl-item--start .tl-item__label { left: 0; transform: none; }
.tl-item--end .tl-item__label { left: auto; right: 0; transform: none; }
/* Meilensteine immer beschriftet (abwechselnd oben/unten), Spielabende beim Überfahren */
.tl-item--milestone .tl-item__label { opacity: 1; }
.tl-item--milestone.tl-item--low .tl-item__label { bottom: auto; top: 30px; }
.tl-item:hover .tl-item__label, .tl-item:focus .tl-item__label { opacity: 1; z-index: 5; }
.timeline-list { display: none; }
@media (max-width: 640px) {
  .timeline { display: none; }
  .timeline-list { display: block; }
}
.timeline-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--ink-3); margin-top: 10px; }
.timeline-legend i { display: inline-block; width: 11px; height: 11px; border: 2px solid var(--ink); margin-right: 5px; vertical-align: -1px; border-radius: 50%; }
.timeline-legend i.sq { border-radius: 2px; transform: rotate(45deg); }

/* ==========================================================================
   Aufgaben
   ========================================================================== */

.tasks { list-style: none; margin: 0; padding: 0; }
.task {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
  transition: background .2s;
}
.task:last-child { border-bottom: 0; }
.task.is-dragging { opacity: .5; }
.task.sortable-ghost { background: var(--yellow-bg); }
.task.is-current { background: linear-gradient(90deg, color-mix(in srgb, var(--sun) 12%, var(--card)), var(--card) 60%); }
.task.is-done .task__title { text-decoration: line-through; text-decoration-color: var(--ink-3); color: var(--ink-3); }
.task__handle {
  cursor: grab;
  color: var(--ink-3);
  display: grid;
  grid-template-columns: repeat(2, 3px);
  gap: 3px;
  padding: 6px 4px;
  touch-action: none;
}
.task__handle i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.task__handle[hidden] { display: none; }
.task__num { font: 500 .72rem var(--f-mono); color: var(--ink-3); min-width: 1.6em; text-align: right; }
.task__main { min-width: 0; }
.task__title { font-weight: 600; text-decoration: none; line-height: 1.3; }
.task__title:hover { color: var(--sun-deep); }
.task__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--ink-3); margin-top: 3px; align-items: center; }
.task__meta .is-overdue { color: var(--red); font-weight: 600; }
.task__meta .is-soon { color: #b77606; font-weight: 600; }
.task__side { display: flex; align-items: center; gap: 6px; }
.task__move { display: none; flex-direction: column; gap: 2px; }
.task__move button {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-2);
  width: 30px; height: 22px;
  border-radius: 6px;
  cursor: pointer;
  font-size: .7rem;
  line-height: 1;
}
@media (hover: none), (max-width: 700px) {
  .can-sort .task__move { display: flex; }
  .task__handle { display: none; }
}

/* Checkbox als Stempel */
.tick {
  appearance: none;
  -webkit-appearance: none;
  width: 26px; height: 26px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: var(--card);
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}
.tick::after {
  content: "";
  width: 7px; height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) translate(-1px, -1px) scale(0);
  transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.tick:checked { background: var(--green); border-color: var(--green); }
.tick:checked::after { transform: rotate(45deg) translate(-1px, -1px) scale(1); }
.tick:hover { transform: scale(1.08); }
.tick:disabled { opacity: .35; cursor: not-allowed; }
.tick--progress { background: repeating-linear-gradient(45deg, var(--yellow-bg) 0 4px, var(--card) 4px 8px); }

.prio { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--ink-3); transform: rotate(45deg); }
.prio--1 { background: var(--red); }
.prio--3 { background: transparent; border: 1.5px solid var(--ink-3); }
.milestone-flag { color: var(--sun-deep); font-weight: 700; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a {
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  color: var(--ink-2);
}
.tabs a.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tabs a small { font: 500 .74rem var(--f-mono); opacity: .7; margin-left: 3px; }

/* Ablaufplan */
.flow { position: relative; }
.flow-group { display: grid; grid-template-columns: 64px 1fr; gap: 0 18px; }
.flow-group__rail { position: relative; display: flex; justify-content: center; }
.flow-group__rail::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 3px;
  background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px);
  opacity: .35;
}
.flow-group:last-child .flow-group__rail::before { bottom: auto; height: 40px; }
.flow-group__num {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c, var(--sun));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 1.6rem;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--ink);
}
.flow-group__num--month { font-size: 1.15rem; line-height: .9; flex-direction: column; display: flex; justify-content: center; align-items: center; }
.flow-group__num--month small { font: 500 .62rem var(--f-mono); opacity: .8; margin-top: 2px; }
.flow-group__body { padding-bottom: 30px; min-width: 0; }
.plan-today {
  list-style: none;
  position: relative;
  height: 0;
  border-top: 2px solid var(--sun);
  z-index: 2;
}
.plan-today span {
  position: absolute;
  left: 14px;
  top: -11px;
  background: var(--sun);
  color: #fff;
  font: 500 .66rem var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 3px 9px;
  border-radius: 999px;
}
.flow-group__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 56px; margin-bottom: 10px; }
.flow-group__title { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; line-height: .95; text-decoration: none; }
@media (max-width: 560px) {
  .flow-group { grid-template-columns: 40px 1fr; gap: 0 10px; }
  .flow-group__num { width: 38px; height: 38px; font-size: 1.1rem; }
  .flow-group__num--month { font-size: .8rem; }
  .flow-group__num--month small { font-size: .5rem; }
  .flow-group__head { min-height: 38px; }
}

/* ==========================================================================
   Resorts
   ========================================================================== */

.resort-head {
  --c: var(--sun);
  border-radius: calc(var(--r) + 4px);
  background: var(--card);
  border: 2px solid var(--ink);
  padding: 22px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.resort-head::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: var(--c);
}
.resort-head__stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; }
.stat strong { display: block; font-family: var(--f-display); font-weight: 900; font-size: 2rem; line-height: 1; }
.stat span { font: 500 .68rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }

.people { list-style: none; margin: 0; padding: 0; }
.person { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.person:last-child { border-bottom: 0; }
.person__name { flex: 1; min-width: 0; font-weight: 600; }
.person__name small { display: block; font-weight: 400; color: var(--ink-3); }
.person form { display: inline; }
.lead-star { color: var(--gold); }

/* ==========================================================================
   Filme
   ========================================================================== */

/* Kein .ticket (Maske) hier: sie würde die Trefferliste abschneiden */
.propose-box {
  position: relative;
  z-index: 20;              /* über den Filmkarten (die eigene Stacking-Contexts haben) */
  margin-bottom: 30px;
  padding: 22px 26px;
  border: 2px solid var(--ink);
  overflow: visible;
}
.search-box { position: relative; }
.search-box__input {
  font: 600 1.15rem var(--f-body);
  padding: 16px 18px 16px 50px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  width: 100%;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' fill='none' stroke='%23ff5a2c' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='9.5' cy='9.5' r='6.5'/%3E%3Cpath d='m15 15 5 5'/%3E%3C/svg%3E") 18px 50% no-repeat;
  color: var(--ink);
}
.search-box__input:focus { outline: none; box-shadow: 6px 6px 0 -2px var(--sun); }
.search-results {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  z-index: 20;
  max-height: 460px;
  overflow-y: auto;
  display: none;
}
.search-results.is-open { display: block; }
.search-hit {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  text-align: left;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.search-hit:hover, .search-hit.is-focus { background: var(--yellow-bg); }
.search-hit img, .search-hit .noposter { width: 46px; height: 69px; object-fit: cover; border-radius: 4px; background: var(--paper-2); }
.search-hit strong { display: block; line-height: 1.2; color: var(--ink); }
.search-hit strong span { color: var(--ink-3); font-weight: 400; }
.search-hit span { font-size: .82rem; color: var(--ink-3); }
.search-msg { padding: 14px; color: var(--ink-3); font-size: .92rem; }

.propose-pick {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  margin-top: 16px;
  padding: 16px;
  border: 2px dashed var(--sun);
  border-radius: var(--r);
  background: var(--card);
  animation: slidein .3s ease;
}
.propose-pick img { width: 92px; border-radius: 6px; }
.propose-pick[hidden] { display: none; }

.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  gap: 22px;
}
.film-card {
  background: var(--card);
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  position: relative;
  animation: rise .5s both cubic-bezier(.2, .8, .2, 1);
  animation-delay: calc(var(--i, 0) * 40ms);
}
.film-card__poster { position: relative; background: var(--ink); min-height: 180px; }
.film-card__poster img { width: 100%; height: 100%; object-fit: cover; }
.film-card__poster .rank {
  position: absolute; left: 0; top: 0;
  background: var(--sun); color: #fff;
  font-family: var(--f-display); font-weight: 900; font-size: 1.3rem;
  padding: 2px 10px 2px 8px;
  border-bottom-right-radius: 10px;
}
.film-card__body { padding: 14px 16px 12px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.film-card__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: .98;
  text-transform: uppercase;
  text-decoration: none;
}
.film-card__title:hover { color: var(--sun-deep); }
.film-card__sub { font-size: .82rem; color: var(--ink-3); line-height: 1.3; }
.film-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; border-top: 1px dashed var(--line-strong); }
.distri { display: inline-flex; align-items: center; gap: 6px; font: 500 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.distri b { font-weight: 500; background: var(--ink); color: var(--paper); padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.distri--uncertain b { background: var(--yellow); color: var(--ink); }
.distri--none b, .distri--missing b { background: var(--red); color: #fff; }
.distri--pending b { background: var(--paper-2); color: var(--ink-3); }

.votes { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.vote {
  border: 0; background: transparent; color: var(--ink-2);
  padding: 5px 10px; cursor: pointer; font-size: 1rem; line-height: 1;
  transition: background .15s, transform .1s;
}
.vote:hover { background: var(--paper-2); }
.vote:active { transform: scale(.9); }
.vote.is-on[data-value="1"] { background: var(--green); color: #fff; }
.vote.is-on[data-value="-1"] { background: var(--red); color: #fff; }
.votes__score { font: 700 .95rem var(--f-mono); min-width: 2.4ch; text-align: center; padding: 0 2px; }
.votes--lg .vote { padding: 10px 18px; font-size: 1.3rem; }
.votes--lg .votes__score { font-size: 1.3rem; min-width: 3ch; }
.votes[aria-disabled=true] .vote { pointer-events: none; opacity: .5; }

/* Film-Detail */
.film-hero {
  position: relative;
  border-radius: calc(var(--r) + 6px);
  overflow: hidden;
  background: var(--ink);
  color: #f5eee0;
  margin-bottom: 28px;
  border: 2px solid var(--ink);
}
.film-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 25%;
  opacity: .38;
  filter: saturate(1.1);
}
.film-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 19, 42, .96) 0%, rgba(18, 19, 42, .7) 55%, rgba(18, 19, 42, .35) 100%),
              linear-gradient(0deg, rgba(18, 19, 42, .8), transparent 50%);
}
.film-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  padding: 30px;
  align-items: end;
}
.film-hero__poster { border-radius: 10px; box-shadow: 0 24px 40px -18px #000; border: 3px solid #f5eee0; transform: rotate(-2deg); }
.film-hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: .86;
  margin: 8px 0 10px;
}
.film-hero__orig { font-style: italic; opacity: .8; }
.film-hero__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 500 .84rem var(--f-mono); opacity: .9; margin: 12px 0 16px; }
.film-hero .badge { background: rgba(245, 238, 224, .14); color: #f5eee0; }
.film-hero .badge.status--confirmed { background: var(--green); }
.film-hero .badge.status--requested { background: var(--gold); color: var(--ink); }
.film-hero .badge.status--rejected { background: var(--red); }
.film-hero .badge.status--screened { background: #f5eee0; color: var(--ink); }
.film-hero .votes { border-color: rgba(245, 238, 224, .35); }
.film-hero .vote { color: #f5eee0; }
.film-hero .vote:hover { background: rgba(245, 238, 224, .12); }
.film-hero .btn--ghost { color: #f5eee0; border-color: rgba(245, 238, 224, .4); }
.film-hero .btn--ghost:hover { border-color: #f5eee0; }
@media (max-width: 700px) {
  .film-hero__inner { grid-template-columns: 110px 1fr; gap: 16px; padding: 18px; align-items: start; }
}

.trailer { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #000; border: 2px solid var(--ink); }
.trailer iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer__play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background-size: cover; background-position: center;
  cursor: pointer; border: 0; width: 100%;
}
.trailer__play::before {
  content: ""; width: 78px; height: 78px; border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50% / 36px no-repeat;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  transition: transform .2s;
}
.trailer__play:hover::before { transform: scale(1.08); }

.dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0; font-size: .95rem; }
.dl dt { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); padding-top: 3px; }
.dl dd { margin: 0; }

.comments { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.comment { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.comment__bubble { background: var(--paper); border-radius: 4px 14px 14px 14px; padding: 10px 14px; }
.comment__bubble header { font-size: .8rem; color: var(--ink-3); margin-bottom: 2px; }
.comment__bubble header strong { color: var(--ink); }
.comment__bubble p { margin: 0; white-space: pre-line; }

.steps { display: flex; gap: 0; margin: 4px 0 18px; counter-reset: step; }
.steps li {
  list-style: none; flex: 1; text-align: center; position: relative;
  font: 500 .66rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3);
  padding-top: 26px;
}
.steps li::before {
  content: ""; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 16px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--line-strong); z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 2px; background: var(--line-strong); }
.steps li:first-child::after { display: none; }
.steps li.is-done { color: var(--ink); }
.steps li.is-done::before { background: var(--green); border-color: var(--green); }
.steps li.is-done::after { background: var(--green); }
.steps li.is-now::before { background: var(--sun); border-color: var(--sun); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 25%, transparent); }
.steps li.is-now { color: var(--sun-deep); font-weight: 700; }
.steps--rejected li.is-now::before { background: var(--red); border-color: var(--red); }

/* Programm */
.program { display: grid; gap: 14px; }
.screening {
  display: grid;
  grid-template-columns: 100px 70px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 12px 16px 12px 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.screening__date {
  text-align: center;
  border-right: 2px dashed var(--line-strong);
  padding: 4px 8px;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
}
.screening__date strong { font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; line-height: .85; display: block; }
.screening__date span { font: 500 .7rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.screening__poster { width: 70px; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 5px; background: var(--paper-2); }
.screening__title { font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1; text-decoration: none; }
.screening--open { border-style: dashed; border-color: var(--sun); background: repeating-linear-gradient(-45deg, var(--card) 0 12px, color-mix(in srgb, var(--sun) 5%, var(--card)) 12px 24px); }
.screening--open .screening__title { color: var(--sun-deep); }
@media (max-width: 640px) {
  .screening { grid-template-columns: 76px 1fr; padding-right: 12px; }
  .screening__poster { display: none; }
  .screening__actions { grid-column: 1 / -1; padding-left: 12px; }
}

/* Tabellen */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th {
  text-align: left;
  font: 500 .7rem var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding: 10px 12px;
  border-bottom: 2px solid var(--ink);
}
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr.is-inactive td { opacity: .5; }

/* Dialog */
dialog {
  border: 2px solid var(--ink);
  border-radius: calc(var(--r) + 4px);
  padding: 24px;
  background: var(--card);
  color: var(--ink);
  width: min(560px, calc(100vw - 32px));
  box-shadow: 10px 10px 0 -2px var(--ink);
}
dialog::backdrop { background: rgba(18, 19, 42, .55); backdrop-filter: blur(3px); }
dialog h2 { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; margin-bottom: 16px; }
details.drawer > summary { cursor: pointer; list-style: none; }
details.drawer > summary::-webkit-details-marker { display: none; }

/* Login */
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login__art {
  position: relative;
  background: linear-gradient(180deg, #24306b 0%, #7b3b73 45%, #ff5a2c 78%, #ffb43a 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: #fff4e2;
}
.login__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.login__title {
  position: relative;
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: .82;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}
.login__title span { display: block; color: var(--gold); }
.login__form { display: grid; place-items: center; padding: 40px var(--gutter); background: var(--paper); }
.login__form form { width: 100%; max-width: 380px; }
@media (max-width: 800px) {
  .login { grid-template-columns: 1fr; }
  .login__art { min-height: 40vh; padding: 24px; }
}

.footer { text-align: center; padding: 24px var(--gutter); font-size: .8rem; color: var(--ink-3); }
.footer a { color: inherit; }

/* Stagger beim Laden */
.reveal > * { animation: rise .55s both cubic-bezier(.2, .8, .2, 1); }
.reveal > *:nth-child(2) { animation-delay: .06s; }
.reveal > *:nth-child(3) { animation-delay: .12s; }
.reveal > *:nth-child(4) { animation-delay: .18s; }
.reveal > *:nth-child(5) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
