/* =========================================================================
   Preisfehler Live – Design-System
   Haltung: technisches Messinstrument, kein Gutscheinportal.
   Die Zahl ist die Typografie. Farbe trägt genau eine Information: die
   Rabattstufe. Alles andere bleibt monochrom, damit die Stufe etwas bedeutet.
   ========================================================================= */

:root {
  /* Grundfarben – kühles Grau statt Creme, damit es nach Werkzeug aussieht */
  --ink:      #0E1116;
  --ink-2:    #4A5260;
  --ink-3:    #79818F;
  --paper:    #FFFFFF;
  --surface:  #F4F6F9;
  --surface-2:#ECEFF4;
  --line:     #E1E6ED;
  --line-2:   #CBD2DC;

  /* Signalfarbe: Interaktion, Links, primäre Aktion */
  --accent:   #1F49E6;
  --accent-d: #1637B4;
  --accent-w: #EDF1FE;

  /* Rabattstufen – die einzige weitere Farbcodierung im gesamten Interface */
  --t-stark:  #4A5260;
  --t-mega:   #0A7355;
  --t-extrem: #7226C7;
  --t-fehler: #C8102E;

  --radius:   10px;
  --radius-s: 6px;
  --shadow:   0 1px 2px rgba(14,17,22,.06), 0 1px 8px rgba(14,17,22,.04);
  --shadow-h: 0 2px 4px rgba(14,17,22,.08), 0 8px 24px rgba(14,17,22,.08);

  --wrap: 1200px;
  --gap: 16px;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

/* ------------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-d); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.018em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 4.6vw, 2.35rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.25rem, 3vw, 1.55rem); }
h3 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--ink-3); font-weight: 400; }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-s);
  transition: top .15s;
}
.skip:focus { top: 8px; color: #fff; }

/* ------------------------------------------------------------------ Header */
.hd {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.hd-in {
  display: flex; align-items: center; gap: 14px;
  min-height: 58px;
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 1.02rem; letter-spacing: -.03em;
  color: var(--ink); text-decoration: none; flex: none;
}
.brand-em { color: var(--accent); }
.brand-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--t-fehler);
  box-shadow: 0 0 0 0 rgba(200,16,46,.5);
  animation: beat 2.6s ease-out infinite;
}
@keyframes beat {
  0%   { box-shadow: 0 0 0 0 rgba(200,16,46,.45); }
  60%  { box-shadow: 0 0 0 9px rgba(200,16,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); }
}

.nav { display: none; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 11px; border-radius: var(--radius-s);
  color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 600;
}
.nav a:hover { background: var(--surface); color: var(--ink); }
@media (min-width: 900px) { .nav { display: block; } }

.hd-act { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.qsearch { position: relative; display: flex; }
.qsearch input {
  font: inherit; font-size: .92rem;
  width: 130px; padding: 8px 34px 8px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  transition: width .18s ease, background .15s;
}
.qsearch input:focus { width: min(260px, 42vw); background: var(--paper); }
.qsearch button {
  position: absolute; right: 3px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: grid; place-items: center;
  border: 0; background: none; color: var(--ink-3); cursor: pointer; border-radius: 50%;
}
.qsearch button:hover { color: var(--accent); }
@media (min-width: 560px) { .qsearch input { width: 190px; } }

.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--ink-2); text-decoration: none;
}
.icon-btn:hover { background: var(--surface); color: var(--ink); }
.fav-count {
  position: absolute; top: 1px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700; border-radius: 9px;
  font-variant-numeric: tabular-nums;
}

/* -------------------------------------------------------------------- Hero */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 30px 0 26px; }
.hero h1 { margin-bottom: .35em; max-width: 20ch; }
.hero-sub { color: var(--ink-2); max-width: 62ch; margin: 0; font-size: 1.02rem; }

/* -------------------------------------------------- Live-Leiste (Signatur) */
.livebar {
  background: var(--ink); color: #fff;
  font-size: .84rem; letter-spacing: .005em;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.livebar::-webkit-scrollbar { display: none; }
.livebar-in { display: flex; align-items: center; gap: 9px; padding-block: 10px; white-space: nowrap; }
.lb-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #33D68B; flex: none;
  animation: blip 2s ease-in-out infinite;
}
@keyframes blip { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.lb-item strong { font-variant-numeric: tabular-nums; font-weight: 700; }
.lb-sep { color: rgba(255,255,255,.32); }
.lb-fresh { color: rgba(255,255,255,.75); }

/* ---------------------------------------------------------------- Sektionen */
.sec { padding: 26px 0; }
.sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.sec-hd h2 { margin: 0; }
.sec-more { font-size: .88rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.sec-more:hover { text-decoration: underline; }
.sec-lead { color: var(--ink-2); max-width: 72ch; margin: 8px 0 16px; font-size: .95rem; }
.sec-hd + .wrap .grid { margin-top: 16px; }

.page-hd { background: var(--paper); border-bottom: 1px solid var(--line); padding: 26px 0 22px; }
.page-lead { color: var(--ink-2); max-width: 74ch; margin: 0 0 10px; }
.page-count { margin: 0; font-size: .9rem; color: var(--ink-3); }
.page-count strong { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- Brotkrumen */
.crumbs { padding: 12px 0 0; font-size: .82rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; color: var(--line-2); margin-right: 6px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ------------------------------------------------------------------- Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: var(--gap);
}
@media (min-width: 700px) { .grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); } }

/* ------------------------------------------------------------- Deal-Karte */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .16s, transform .16s, border-color .16s;
}
.card:hover { box-shadow: var(--shadow-h); transform: translateY(-2px); border-color: var(--line-2); }

/* Die Stufenfarbe erscheint als schmale Kante oben – nie als Flächenfarbe. */
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: transparent;
}
.card.t-stark::before  { background: var(--t-stark); }
.card.t-mega::before   { background: var(--t-mega); }
.card.t-extrem::before { background: var(--t-extrem); }
.card.t-fehler::before { background: var(--t-fehler); }

.card-tier {
  margin: 0; padding: 9px 12px 0;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
}
.t-stark  .card-tier, .card.t-stark  .card-tier { color: var(--t-stark); }
.t-mega   .card-tier, .card.t-mega   .card-tier { color: var(--t-mega); }
.t-extrem .card-tier, .card.t-extrem .card-tier { color: var(--t-extrem); }
.t-fehler .card-tier, .card.t-fehler .card-tier { color: var(--t-fehler); }

.card-img {
  position: relative; display: block;
  padding: 10px 12px 4px;
  aspect-ratio: 1 / 1;
}
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-img-none {
  display: grid; place-items: center; height: 100%;
  color: var(--ink-3); font-size: .78rem; background: var(--surface); border-radius: var(--radius-s);
}
.card-pct {
  position: absolute; left: 12px; bottom: 6px;
  background: var(--ink); color: #fff;
  font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums;
  padding: 2px 7px; border-radius: 4px; letter-spacing: -.01em;
}
.card.t-fehler .card-pct { background: var(--t-fehler); }
.card.t-extrem .card-pct { background: var(--t-extrem); }
.card.t-mega   .card-pct { background: var(--t-mega); }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 8px 12px 12px; }
.card-t {
  font-size: .875rem; font-weight: 600; line-height: 1.32;
  margin: 0 0 8px; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-t a { color: var(--ink); text-decoration: none; }
.card-t a:hover { text-decoration: underline; text-decoration-color: var(--line-2); }

/* Signatur: der Preis ist das grösste Element der Karte, tabellarisch gesetzt */
.card-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin: auto 0 2px; }
.p-now {
  font-size: 1.32rem; font-weight: 800; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.p-was { font-size: .82rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card-save { margin: 0 0 8px; font-size: .78rem; color: var(--ink-2); }
.card-save strong { color: var(--t-mega); font-variant-numeric: tabular-nums; }

.card-badges, .deal-badges { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0 0 8px; padding: 0; }
.bdg {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .69rem; font-weight: 600; padding: 2px 6px;
  background: var(--surface-2); color: var(--ink-2);
  border-radius: 4px; white-space: nowrap;
}
.bdg-blitz  { background: #FFF3D6; color: #8A5B00; }
.bdg-coupon { background: var(--accent-w); color: var(--accent-d); }
.bdg-code   { background: var(--accent-w); color: var(--accent-d); }
.bdg-pfand  { background: #FDE9EC; color: #9C1226; }

.card-meta {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
  margin: 0 0 10px; font-size: .74rem; color: var(--ink-3);
}
.card-meta a { color: var(--ink-3); text-decoration: none; }
.card-meta a:hover { color: var(--accent); text-decoration: underline; }
.pulse { width: 5px; height: 5px; border-radius: 50%; background: #33B87A; flex: none; }

.card-act { display: flex; gap: 6px; align-items: stretch; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-size: .85rem; font-weight: 700;
  padding: 9px 14px; min-height: 40px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent); border-radius: var(--radius-s);
  text-decoration: none; cursor: pointer;
  transition: background .14s, border-color .14s;
}
.btn:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; }
.btn-go { flex: 1; }
.btn-lg { font-size: .98rem; padding: 13px 22px; min-height: 50px; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--ink-3); }

.fav, .btn-fav {
  display: grid; place-items: center;
  width: 40px; min-height: 40px; flex: none;
  background: var(--paper); color: var(--ink-3);
  border: 1px solid var(--line-2); border-radius: var(--radius-s); cursor: pointer;
  transition: color .14s, border-color .14s, background .14s;
}
.fav:hover { color: var(--t-fehler); border-color: var(--t-fehler); }
.fav[aria-pressed="true"] { color: var(--t-fehler); border-color: var(--t-fehler); background: #FDF2F4; }
.fav[aria-pressed="true"] svg path { fill: currentColor; }
.btn-fav { width: auto; padding: 13px 20px; font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink); }
.btn-fav[aria-pressed="true"] { color: var(--t-fehler); border-color: var(--t-fehler); background: #FDF2F4; }

/* ---------------------------------------------------------------- Filter */
.filters { background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 0; }
.f-row { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.f-label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); flex: none; width: 96px; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-size: .8rem; font-weight: 600;
  padding: 6px 11px; border-radius: 999px;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid transparent; text-decoration: none; white-space: nowrap;
}
.chip:hover { background: var(--surface-2); color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; }
.chip-reset { background: var(--accent-w); color: var(--accent-d); }
.f-reset { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; }
.f-hint { font-size: .8rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
@media (max-width: 620px) {
  .f-row { flex-direction: column; align-items: stretch; gap: 4px; }
  .f-label { width: auto; }
}

/* ------------------------------------------------------------ Paginierung */
.pager { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin-top: 26px; }
.pg {
  min-width: 40px; height: 40px; padding: 0 12px;
  display: inline-grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-s); color: var(--ink-2);
  text-decoration: none; font-size: .88rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.pg:hover { border-color: var(--ink-3); color: var(--ink); }
.pg.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pg-gap { display: grid; place-items: center; width: 24px; color: var(--ink-3); }

/* -------------------------------------------------------------- Kategorien */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
.cat-tiles a {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 13px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 600;
}
.cat-tiles a:hover { border-color: var(--accent); color: var(--accent-d); }
.ct-icon { font-size: 1.2rem; line-height: 1; }
.ct-lbl { flex: 1; }
.ct-n { font-size: .76rem; color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.cat-tiles-lg { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cat-tiles-lg a { padding: 18px 16px; }

/* ------------------------------------------------------------- Linklisten */
.sec-links { background: var(--paper); border-top: 1px solid var(--line); }
.sec-links h2 { font-size: 1rem; margin: 18px 0 10px; }
.sec-links h2:first-child { margin-top: 0; }
.linklist { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0 0 4px; padding: 0; }
.linklist a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; background: var(--surface);
  border-radius: 999px; font-size: .84rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none;
}
.linklist a:hover { background: var(--accent-w); color: var(--accent-d); }
.ll-n { font-size: .72rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------ Deal-Detail */
.deal { display: grid; gap: 22px; padding-top: 18px; }
@media (min-width: 860px) { .deal { grid-template-columns: 420px 1fr; gap: 36px; align-items: start; } }

.deal-media {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-align: center;
}
.deal-media img { width: 100%; max-width: 420px; aspect-ratio: 1/1; object-fit: contain; }
.deal-media-none { padding: 60px 20px; color: var(--ink-3); font-size: .9rem; }
.deal-tier {
  position: absolute; top: 12px; left: 12px; margin: 0;
  font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em;
  padding: 4px 9px; border-radius: 4px; color: #fff;
}
.deal-tier.t-stark  { background: var(--t-stark); }
.deal-tier.t-mega   { background: var(--t-mega); }
.deal-tier.t-extrem { background: var(--t-extrem); }
.deal-tier.t-fehler { background: var(--t-fehler); }

.deal-main h1 { font-size: clamp(1.25rem, 3.4vw, 1.7rem); margin-bottom: .6em; }
.deal-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.dp-now { margin: 0; font-size: clamp(2.1rem, 7vw, 2.9rem); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.dp-was { margin: 0; color: var(--ink-3); font-size: 1rem; font-variant-numeric: tabular-nums; }
.dp-pct {
  margin: 0; background: var(--ink); color: #fff;
  font-size: 1rem; font-weight: 800; padding: 3px 10px; border-radius: 5px;
  font-variant-numeric: tabular-nums;
}
.deal-save { margin: 0 0 14px; font-size: .95rem; color: var(--ink-2); }
.deal-save strong { color: var(--t-mega); font-variant-numeric: tabular-nums; }
.deal-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 8px; }
.deal-disc { font-size: .78rem; color: var(--ink-3); margin: 0 0 14px; max-width: 60ch; }
.is-ended .dp-now { color: var(--ink-3); }

.codebox { background: var(--accent-w); border: 1px solid #C7D4FB; border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px; }
.cb-lbl { margin: 0 0 6px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-d); }
.cb-code {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--paper); border: 1px dashed var(--accent);
  border-radius: var(--radius-s); padding: 10px 14px; cursor: pointer;
  font: inherit; text-align: left;
}
.cb-code span { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; flex: 1; }
.cb-code em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--accent); }
.cb-code.done em { color: var(--t-mega); }

.notice { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-s); padding: 13px 15px; margin-bottom: 14px; }
.notice p:last-child { margin-bottom: 0; }
.notice-h { font-size: .88rem; font-weight: 700; margin: 0 0 5px; }
.notice-strong { border-left-color: var(--t-fehler); }

.ended { background: #FDF2F4; border: 1px solid #F3C9D0; border-radius: var(--radius); padding: 14px 16px; margin-top: 14px; }
.ended-h { margin: 0 0 4px; font-weight: 800; font-size: 1.02rem; color: #9C1226; }
.ended p:last-child { margin-bottom: 0; font-size: .92rem; }

.more-links summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.more-links ul { margin-top: 8px; }

.summary { font-size: 1rem; color: var(--ink-2); max-width: 78ch; }
.facts {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 0 0 20px;
}
@media (min-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ Suche */
.bigsearch { display: flex; gap: 8px; margin: 14px 0; max-width: 560px; }
.bigsearch input {
  flex: 1; font: inherit; padding: 12px 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius-s); background: var(--paper);
}
.bigsearch input:focus { border-color: var(--accent); }

/* ------------------------------------------------------------ Leerzustände */
.empty-state {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 24px; text-align: center;
}
.empty-state h2 { margin-bottom: .4em; }
.empty-state p { color: var(--ink-2); max-width: 52ch; margin-inline: auto; }
.empty-act { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.empty-act .linklist, .empty-state .linklist { justify-content: center; }
.empty { color: var(--ink-3); padding: 24px 0; }

/* ------------------------------------------------------------------- Prose */
.prose { max-width: 74ch; padding-top: 20px; padding-bottom: 8px; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.4em; }
.prose li { margin-bottom: .35em; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--surface-2); padding: 1px 5px; border-radius: 3px; }
.artmeta { font-size: .82rem; color: var(--ink-3); margin-top: -.4em; }
.big-contact { font-size: 1.15rem; font-weight: 700; }
.tbl { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .93rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.artlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.artlist li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.artlist h2 { font-size: 1.08rem; margin-bottom: .3em; }
.artlist h2 a { text-decoration: none; }
.artlist h2 a:hover { text-decoration: underline; }
.artlist p { margin: 0; color: var(--ink-2); font-size: .92rem; }

/* ------------------------------------------------------------------ Alarme */
.alarm-form {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; margin-bottom: 20px;
  display: grid; gap: 12px; max-width: 560px;
}
.af-row { display: grid; gap: 5px; }
.af-row label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.af-row input, .af-row select {
  font: inherit; padding: 10px 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius-s); background: var(--paper);
}
.alarm-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.alarm-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 12px 14px; font-size: .9rem;
}
.alarm-item p { margin: 0; flex: 1; }
.alarm-item button { font: inherit; font-size: .82rem; background: none; border: 0; color: var(--t-fehler); cursor: pointer; padding: 4px 8px; border-radius: 4px; }
.alarm-item button:hover { background: #FDF2F4; }

/* ------------------------------------------------------------------ Footer */
.ft { background: var(--ink); color: rgba(255,255,255,.72); margin-top: 30px; padding: 34px 0 0; font-size: .88rem; }
.ft-in { display: grid; gap: 26px; }
@media (min-width: 760px) { .ft-in { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 30px; } }
.ft-brand { font-size: 1.05rem; font-weight: 800; color: #fff; margin: 0 0 10px; letter-spacing: -.03em; }
.ft-note { font-size: .84rem; line-height: 1.6; max-width: 46ch; }
.ft-h { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); margin: 0 0 10px; font-weight: 700; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.ft-col a { color: rgba(255,255,255,.78); text-decoration: none; }
.ft-col a:hover { color: #fff; text-decoration: underline; }
.ft-btm { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-block: 16px; }
.ft-btm p { margin: 0; font-size: .8rem; color: rgba(255,255,255,.5); }

/* ------------------------------------------------------------ Fehlerseite */
.err-page { display: grid; place-items: center; min-height: 70vh; text-align: center; padding: 24px; }

/* ------------------------------------------------------------- Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ECEFF4; --ink-2: #A9B2C0; --ink-3: #7C8595;
    --paper: #171B22; --surface: #0E1116; --surface-2: #1F242D;
    --line: #262C36; --line-2: #39414E;
    --accent: #6D8EFF; --accent-d: #8CA6FF; --accent-w: #1B2440;
    --t-stark: #A9B2C0; --t-mega: #35BC8E; --t-extrem: #B685F5; --t-fehler: #FF6B7F;
    --shadow: 0 1px 2px rgba(0,0,0,.4);
    --shadow-h: 0 8px 24px rgba(0,0,0,.5);
  }
  .livebar { background: #05070A; }
  .ft { background: #05070A; }
  .card-pct { background: #05070A; color: #fff; }
  .chip.on, .pg.on { background: var(--accent); border-color: var(--accent); color: #05070A; }
  .btn { color: #0B0E13; }
  .btn:hover { color: #0B0E13; }
  .ended { background: #2A151A; border-color: #4A2029; }
  .ended-h { color: #FF8296; }
  .bdg-blitz { background: #3A2E10; color: #F2C669; }
  .bdg-pfand { background: #331A20; color: #FF8296; }
  .fav[aria-pressed="true"], .btn-fav[aria-pressed="true"] { background: #2A151A; }
}
