:root {
  --bg: #0b0b0f;
  --bg-elev: #16161d;
  --surface: #1e1e27;
  --text: #f5f5f7;
  --muted: #9a9aa5;
  --accent: #e50914;
  --accent-hover: #ff1f2a;
  --radius: 10px;
  --maxw: 1280px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0));
  transition: background 0.2s;
}
.site-header.solid { background: var(--bg); border-bottom: 1px solid #222; }
.brand {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
}
/* ── Header-Suche (mittig) ────────────────────────── */
.header-search { position: relative; flex: 0 1 460px; margin: 0 24px; min-width: 0; }
.header-search .search-icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: #b4b4bd; pointer-events: none;
}
.header-search input {
  width: 100%; padding: 9px 16px 9px 42px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid #3a3a45;
  color: var(--text); font-size: 14px;
}
.header-search input::placeholder { color: #b4b4bd; }
.header-search input:focus {
  outline: none; border-color: var(--accent); background: rgba(0, 0, 0, 0.55);
}

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-right .email { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav-right a.email:hover { color: var(--text); text-decoration: underline; }

.lang-switch {
  background: #2a2a33; color: var(--text);
  border: 1px solid #3a3a45; border-radius: 6px;
  padding: 8px 10px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.lang-switch:focus { outline: none; border-color: var(--accent); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 6px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: #2a2a33;
  color: var(--text);
  transition: background 0.15s, transform 0.05s;
}
.btn:hover { background: #3a3a45; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-danger { background: #5a1d22; color: #ffb3b8; }
.btn-danger:hover { background: #7a262d; }
.btn-imdb { background: #f5c518; color: #000; font-weight: 700; }
.btn-imdb:hover { background: #ffd63a; }
/* IMDb-Punkte im Button (dunkler Chip auf dem gelben Grund). */
.btn-imdb .imdb-score {
  display: inline-block;
  margin: 0 2px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.12);
  font-variant-numeric: tabular-nums;
}
/* Ohne IMDb-Link ist der „Button" nur eine Anzeige. */
.btn-static { cursor: default; }
.btn-static:hover { background: #f5c518; }
.btn-static:active { transform: none; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  height: 62vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,15,0.2) 0%, rgba(11,11,15,0.5) 60%, var(--bg) 100%),
              linear-gradient(90deg, rgba(11,11,15,0.8) 0%, rgba(11,11,15,0) 60%);
}
.hero-inner { position: relative; z-index: 2; padding: 0 0 56px; max-width: 620px; }
.hero h1 { font-size: 52px; margin: 0 0 14px; line-height: 1.05; }
.hero p { color: #d4d4dc; font-size: 17px; line-height: 1.5; margin: 0 0 22px; }
.hero .meta { color: var(--muted); margin-bottom: 10px; font-size: 14px; }

/* ── Rows ─────────────────────────────────────────── */
.rows { padding: 8px 0 60px; }
.row { margin: 28px 0; }
.row h2 { font-size: 20px; margin: 0 0 12px; font-weight: 700; }
.row-track { position: relative; }
.row-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  /* Scrollleiste ausblenden – navigiert wird per Pfeilen / Trackpad / Touch. */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.row-scroller::-webkit-scrollbar { display: none; }

/* Netflix-artige Navigationspfeile (nur bei Überlauf sichtbar, erscheinen beim Hover). */
.row-nav {
  position: absolute; top: 0; bottom: 8px; width: 48px; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  background: rgba(10, 10, 15, 0.55); color: #fff;
  font-size: 30px; line-height: 1;
  /* Im Ruhezustand unsichtbar UND klick-durchlässig, damit Rand-Karten klickbar bleiben. */
  opacity: 0; pointer-events: none; transition: opacity 0.15s, background 0.15s;
}
.row-nav-left { left: 0; border-radius: 0 8px 8px 0; }
.row-nav-right { right: 0; border-radius: 8px 0 0 8px; }
.row-track:hover .row-nav,
.row-nav:focus-visible { opacity: 1; pointer-events: auto; }
.row-nav:hover { background: rgba(10, 10, 15, 0.85); }
.row-nav[hidden] { display: none; }
@media (hover: none) { .row-nav { display: none; } }
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: scale(1.05); box-shadow: var(--shadow); z-index: 2; }
.card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.card .card-body { padding: 8px 10px; }
.card .card-title { font-size: 14px; font-weight: 600; }
.card .card-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
/* Badge-Stapel oben links auf dem Poster (z.B. „Kino" + „Serie"). */
.card-badges {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.badge {
  background: rgba(0,0,0,0.7); color: #fff;
  font-size: 11px; padding: 3px 7px; border-radius: 4px; text-transform: uppercase;
}
.badge-cinema { background: var(--accent); color: #fff; font-weight: 700; }
.card .progress { height: 4px; width: 100%; background: #3a3a45; }
.card .progress span { display: block; height: 100%; background: var(--accent); }

/* ── Footer (Linkliste aus /js/links.js) ──────────── */
.site-footer:empty { display: none; }
.site-footer {
  border-top: 1px solid #26262f;
  background: var(--bg-elev);
  padding: 26px 0 32px;
}
.footer-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin: 0 0 12px;
}
.footer-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.footer-links a {
  color: var(--muted); text-decoration: none; font-size: 14px;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-copy { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

/* ── Auth / Card pages ────────────────────────────── */
.auth-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(1200px 600px at 50% -10%, #20202b, var(--bg));
  padding: 24px;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: rgba(20,20,28,0.95);
  border: 1px solid #26262f;
  border-radius: 14px;
  padding: 36px 32px;
  box-shadow: var(--shadow);
}
.auth-card h1 { margin: 0 0 6px; font-size: 28px; }
.auth-card .sub { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px;
  background: #0f0f15; border: 1px solid #2c2c38; border-radius: 8px;
  color: var(--text); font-size: 15px;
}
.field input:focus { outline: none; border-color: var(--accent); }
.form-foot { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
.form-foot a { color: var(--text); font-weight: 600; }
.alert {
  display: none;
  background: #2a1416; border: 1px solid #5a1d22; color: #ffb3b8;
  padding: 10px 14px; border-radius: 8px; font-size: 14px; margin-bottom: 16px;
}
.alert.show { display: block; }
.alert.ok { background: #11271a; border-color: #1f5b35; color: #9ff0bd; }

/* ── Paywall ──────────────────────────────────────── */
.pay-amount { font-size: 44px; font-weight: 800; margin: 4px 0 2px; }
.pay-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.pay-list li { padding: 8px 0; color: #d4d4dc; border-bottom: 1px solid #20202a; font-size: 15px; }
.pay-list li::before { content: "✓ "; color: #3ddc84; font-weight: 700; }
.status-line { margin-top: 16px; font-size: 14px; color: var(--muted); min-height: 20px; }
.spinner {
  width: 16px; height: 16px; border: 2px solid #555; border-top-color: var(--accent);
  border-radius: 50%; display: inline-block; vertical-align: middle; margin-right: 8px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Player ───────────────────────────────────────── */
.player-page { background: #000; min-height: 100vh; }
.player-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; gap: 16px; padding: 16px 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(0,0,0,0));
}
.player-top .title { font-size: 16px; font-weight: 600; }
.player-controls { margin-left: auto; display: flex; gap: 10px; }
.video-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
video { width: 100%; max-height: 100vh; background: #000; }

/* ── Kino-Player-Overlay (Browse-Seite) ───────────── */
body.no-scroll { overflow: hidden; }
.player-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(0, 0, 0, 0.92);
}
.player-overlay:not([hidden]) { display: flex; }
.player-stage {
  display: flex; flex-direction: column;
  width: min(1120px, 94vw); max-height: 92vh;
  background: #000; border: 1px solid #23232e;
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
}
.player-stage-bar {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 16px; background: var(--bg-elev); border-bottom: 1px solid #23232e;
}
.player-stage-bar .title {
  font-size: 15px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.player-stage-bar .player-controls { margin-left: auto; }
.player-stage-video {
  flex: 1; min-height: 0;
  display: flex; align-items: center; justify-content: center; background: #000;
}
.player-stage-video video {
  width: auto; height: auto; max-width: 100%; max-height: calc(92vh - 58px); background: #000;
}
/* Vollbild: Bühne füllt den Bildschirm, Video bleibt letterboxed. */
.player-stage:fullscreen { width: 100vw; height: 100vh; max-height: none; border-radius: 0; border: 0; }
.player-stage:fullscreen .player-stage-video video { max-height: 100vh; }
.player-stage:-webkit-full-screen { width: 100vw; height: 100vh; max-height: none; border-radius: 0; border: 0; }

@media (max-width: 560px) {
  .player-overlay { padding: 0; }
  .player-stage { width: 100vw; max-height: 100vh; border-radius: 0; border: 0; }
  .player-stage-video video { max-height: calc(100vh - 58px); }
}

/* ── Detail Modal ─────────────────────────────────── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-backdrop.show { display: flex; }
.modal {
  width: 100%; max-width: 760px; background: var(--bg-elev);
  border-radius: 14px; overflow: hidden; box-shadow: var(--shadow);
  max-height: 90vh; overflow-y: auto;
}
.modal-hero { height: 300px; background-size: cover; background-position: center; position: relative; }
.modal-hero::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent, var(--bg-elev)); }
.modal-body { padding: 20px 28px 28px; }
.modal-body h2 { margin: 0 0 8px; font-size: 28px; }
.modal-body .meta { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.modal-body p { color: #d4d4dc; line-height: 1.55; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.ep-list { margin-top: 18px; }
.ep {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border: 1px solid #26262f; border-radius: 8px; margin-bottom: 8px;
}
.ep:hover { background: var(--surface); }
.ep .ep-meta { color: var(--muted); font-size: 13px; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(0,0,0,0.6); color: #fff; font-size: 20px; cursor: pointer;
}

/* ── Suchergebnisse ───────────────────────────────── */
.results { padding: 28px 0 60px; }
.results h2 { font-size: 20px; margin: 0 0 16px; font-weight: 700; }
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.center-note { text-align: center; color: var(--muted); padding: 80px 24px; }
.loading { text-align: center; padding: 120px 24px; color: var(--muted); }

/* ── Admin ────────────────────────────────────────── */
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.admin-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border: 1px solid #26262f; border-radius: 10px; padding: 14px 16px;
}
.admin-row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.admin-tags { color: var(--muted); font-size: 13px; }
.admin-guid { color: #8a8a95; font-size: 12px; font-family: ui-monospace, monospace; word-break: break-all; }
.admin-actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-actions .btn { padding: 8px 14px; font-size: 14px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field textarea, .field select {
  width: 100%; padding: 12px 14px;
  background: #0f0f15; border: 1px solid #2c2c38; border-radius: 8px;
  color: var(--text); font-size: 15px; font-family: inherit;
}
.field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.checkbox { display: flex; align-items: center; gap: 8px; color: var(--text); padding-top: 8px; }
.checkbox input { width: auto; }
.form-hint {
  background: #16202b; border: 1px solid #24384a; color: #a9c7e0;
  border-radius: 8px; padding: 10px 14px; font-size: 13px; line-height: 1.5; margin-bottom: 16px;
}

/* Dashboard */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; }
.stat-card { background: var(--surface); border: 1px solid #26262f; border-radius: 12px; padding: 18px 20px; }
.stat-value { font-size: 30px; font-weight: 800; }
.stat-label { color: var(--muted); font-size: 13px; margin-top: 4px; }
.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dash-h { font-size: 18px; margin: 0 0 12px; }
.user-search {
  width: 100%; max-width: 360px; padding: 11px 14px;
  background: #0f0f15; border: 1px solid #2c2c38; border-radius: 8px; color: var(--text); font-size: 15px;
}
.user-search:focus { outline: none; border-color: var(--accent); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.pagination .page-info { color: var(--muted); font-size: 14px; }
.btn:disabled { opacity: .4; cursor: default; }

/* Streaming-Aktivität (Balkendiagramm) */
.usage-chart { display: flex; flex-direction: column; gap: 5px; }
.usage-bar-row { display: flex; align-items: center; gap: 10px; }
.usage-bar-day { color: var(--muted); font-size: 12px; width: 44px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.usage-bar-track { flex: 1; background: #17171f; border-radius: 4px; height: 14px; overflow: hidden; }
.usage-bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 4px; min-width: 2px; }
.usage-bar-val { width: 32px; text-align: right; font-size: 12px; color: var(--text); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.usage-note { color: var(--muted); font-size: 12px; margin: 12px 0 0; line-height: 1.5; }
.badge-inline {
  display: inline-block; background: #2a2a33; color: var(--muted);
  font-size: 11px; padding: 2px 6px; border-radius: 4px; vertical-align: middle;
}
@media (max-width: 760px) { .dash-cols { grid-template-columns: 1fr; } }

/* Konto */
.account { max-width: 640px; }
.acc-card { background: var(--surface); border: 1px solid #26262f; border-radius: 12px; padding: 22px 24px; margin-bottom: 16px; }
.acc-card h2 { margin: 0 0 16px; font-size: 18px; }
.acc-card.danger { border-color: #5a1d22; }
.acc-card .muted { color: var(--muted); font-size: 14px; margin: -8px 0 14px; }
.acc-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #20202a; }
.acc-row:last-child { border-bottom: none; }
.acc-key { color: var(--muted); font-size: 14px; }
.acc-status { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: flex-end; }
.status-item { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot.green { background: #3ddc84; box-shadow: 0 0 6px rgba(61, 220, 132, 0.6); }
.dot.red { background: #ff4d57; box-shadow: 0 0 6px rgba(255, 77, 87, 0.5); }

@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
  .row-scroller { grid-auto-columns: 134px; }
  .results-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }

  /* Header umbrechen: Marke + Aktionen oben, Suche als eigene Zeile darunter. */
  .site-header { flex-wrap: wrap; row-gap: 10px; padding: 12px 16px; }
  .brand { font-size: 20px; letter-spacing: 1px; }
  .header-search { order: 3; flex: 1 0 100%; margin: 0; }
  .nav-right { gap: 8px; }
  .nav-right .email { display: none; }
  .nav-right .btn { padding: 9px 12px; }
  /* Auf Icons/Avatar reduzieren, um Platz zu sparen. */
  .nav-feedback .nav-label { display: none; }
  .profile-trigger .nav-label { display: none; }
  .profile-trigger { padding: 4px 6px 4px 4px; gap: 4px; }
}

/* ── Avatar (Header) ──────────────────────────────── */
.avatar {
  border-radius: 50%;
  object-fit: cover;
  background: #2a2a33;
  flex-shrink: 0;
}
.avatar-sm { width: 30px; height: 30px; }
.avatar-lg { width: 96px; height: 96px; }

/* ── Wunschbox-Link (Header) ──────────────────────── */
.nav-feedback { white-space: nowrap; gap: 8px; }
.nav-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Profil-Dropdown (Header) ─────────────────────── */
.profile-menu { position: relative; }
.profile-trigger {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--text); font-weight: 600; font-size: 15px;
  padding: 5px 10px 5px 5px; border-radius: 999px;
  background: #2a2a33; border: none; cursor: pointer;
  white-space: nowrap; font-family: inherit;
  transition: background 0.15s;
}
.profile-trigger:hover { background: #3a3a45; }
.profile-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.caret-icon {
  width: 16px; height: 16px; color: var(--muted);
  transition: transform 0.2s;
}
.profile-trigger[aria-expanded="true"] .caret-icon { transform: rotate(180deg); }

.profile-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  min-width: 224px;
  background: var(--bg-elev);
  border: 1px solid #2a2a33;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 6px;
  z-index: 60;
}
.profile-dropdown[hidden] { display: none; }
.profile-dropdown::before {
  content: ""; position: absolute; top: -6px; right: 20px;
  width: 12px; height: 12px; background: var(--bg-elev);
  border-left: 1px solid #2a2a33; border-top: 1px solid #2a2a33;
  transform: rotate(45deg);
}
.profile-dropdown-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 11px 12px;
  border-radius: 8px; border: none; background: none;
  color: var(--text); font-size: 14px; font-weight: 500;
  font-family: inherit; text-align: left; cursor: pointer;
  transition: background 0.12s;
}
.profile-dropdown-item:hover { background: var(--surface); }
.profile-dropdown-item .menu-icon { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.profile-dropdown-sep { height: 1px; background: #2a2a33; margin: 6px 8px; }

.avatar-editor { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.avatar-actions { display: flex; flex-direction: column; gap: 10px; }
.avatar-actions .btn { cursor: pointer; }

/* ── Pakete (Paywall) ─────────────────────────────── */
.auth-card-wide { max-width: 560px; }
.plans-heading { font-size: 16px; margin: 22px 0 12px; font-weight: 700; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.plan-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 18px 10px 16px; cursor: pointer;
  background: #14141b; color: var(--text);
  border: 2px solid #2c2c38; border-radius: 12px;
  transition: border-color 0.15s, background 0.15s, transform 0.05s;
}
.plan-card:hover { border-color: #45454f; }
.plan-card:active { transform: translateY(1px); }
.plan-card.selected { border-color: var(--accent); background: #1c1216; }
.plan-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 10px; border-radius: 999px; white-space: nowrap;
}
.plan-duration { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan-price { font-size: 24px; font-weight: 800; }
.plan-permonth { font-size: 12px; color: var(--muted); }
@media (max-width: 480px) {
  .plans { grid-template-columns: 1fr; }
}

/* ── Hinweis-Banner (Startseite) ──────────────────── */
.site-notice {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 18px 0 4px; padding: 12px 16px;
  background: #16202b; border: 1px solid #24384a; color: #a9c7e0;
  border-radius: 10px; font-size: 14px; line-height: 1.5;
}
.site-notice-close {
  margin-left: auto; flex-shrink: 0;
  background: none; border: none; color: #a9c7e0;
  font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px;
}
.site-notice-close:hover { color: #fff; }

/* ── Startseite (öffentlich, ohne Anmeldung) ──────── */
.landing-header { padding: 18px 0; }
.landing-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.landing-hero {
  position: relative;
  padding: 78px 0 86px;
  text-align: center;
  border-bottom: 1px solid #1c1c24;
  background:
    radial-gradient(900px 460px at 50% -12%, rgba(229, 9, 20, 0.28), transparent 70%),
    radial-gradient(1200px 600px at 50% 0%, #20202b, var(--bg));
}
.landing-hero-inner { max-width: 760px; }
.landing-hero h1 {
  font-size: clamp(34px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.02em;
}
.landing-lead { color: #d4d4dc; font-size: clamp(15px, 2.2vw, 19px); line-height: 1.55; margin: 0 auto 28px; max-width: 620px; }
.landing-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.landing-hint { color: var(--muted); font-size: 14px; margin: 18px 0 0; }

.landing-section { padding: 56px 0; }
.landing-section-alt { background: var(--bg-elev); border-block: 1px solid #1c1c24; }
.landing-h2 { font-size: clamp(22px, 3.4vw, 30px); margin: 0 0 8px; }
.landing-section-sub { color: var(--muted); font-size: 15px; line-height: 1.5; margin: 0 0 26px; max-width: 620px; }

/* Zuletzt hinzugefügt: fünf Poster nebeneinander, responsiv umbrechend. */
.landing-latest { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.landing-latest .card { text-decoration: none; color: inherit; display: block; }
.card-noposter {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 2/3; background: #2a2a33;
  color: var(--muted); font-size: 40px; font-weight: 800;
}

.landing-plans { max-width: 720px; }
.landing-plans .plan-card { text-decoration: none; }
.landing-features {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; max-width: 720px;
}
.landing-features li { position: relative; padding-left: 26px; color: #d4d4dc; font-size: 15px; }
.landing-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.paymethods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 720px; }
.paymethod {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; border: 1px solid #26262f; border-radius: 12px; background: var(--surface);
}
.paymethod strong { display: block; margin-bottom: 4px; }
.paymethod p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.paymethod-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #f7931a; color: #fff; font-size: 22px; font-weight: 800;
}
.paymethod-muted { opacity: 0.65; }
.paymethod-muted .paymethod-icon { background: #2a2a33; color: var(--muted); }

/* Performance-Sektion: Text links, Illustrations-Karte rechts. */
.landing-perf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.landing-perf-text { min-width: 0; }
.landing-perf-features { margin-top: 22px; grid-template-columns: 1fr; gap: 12px; }
.landing-perf-media {
  background: #0e0e14;
  border: 1px solid #23232e;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.landing-perf-illu, .landing-perf-media img, .landing-perf-media video { display: block; width: 100%; height: auto; }

@media (max-width: 820px) {
  .landing-perf { grid-template-columns: 1fr; gap: 32px; }
  .landing-perf-media { max-width: 420px; }
}

.landing-final { padding: 66px 0 80px; text-align: center; border-top: 1px solid #1c1c24; }
.landing-final .landing-section-sub { margin-left: auto; margin-right: auto; }
.landing-contact { margin: 24px 0 0; color: var(--muted); font-size: 14px; }
.landing-contact a { color: var(--accent); }

@media (max-width: 900px) {
  .landing-latest { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .landing-latest { grid-template-columns: repeat(2, 1fr); }
  .landing-features, .paymethods { grid-template-columns: 1fr; }
  .landing-section { padding: 42px 0; }
}

/* ── Einreichungs-Tabs (Dashboard) ────────────────── */
.sub-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.sub-tab { padding: 9px 16px; font-size: 14px; }
.sub-tab.active { background: var(--accent); }
.sub-tab.active:hover { background: var(--accent-hover); }
.admin-row-main a.admin-guid { text-decoration: underline; }
