/* ============================================================
   Crazy Time Editorial — unified stylesheet (PC + mobile)
   Custom rules extracted from both builds.
   Formerly inline <style type="text/tailwindcss"> blocks;
   @apply rules are compiled to plain CSS so the file can be
   linked externally.
   ============================================================ */

:root {
  --color-coral: #ff4d6d;
  --color-text-muted: #bdc1c6;
  --color-outline-variant: #5a4042;
  --color-section-bg: #181b25;
  --article-max: 1120px;
  --margin-mobile: 16px;
  --margin-desktop: 48px;
  --header-h: 64px;
}

/* ---------- Base typography (mobile first) ---------- */

body {
  font-size: 16px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  body {
    font-size: 17px;
  }
}

/* Mobile heading scale (from the mobile build); desktop sizes come
   from Tailwind font-size tokens applied per element. */
@media (max-width: 767.98px) {
  h1 { font-size: 34px; line-height: 1.2; }
  h2 { font-size: 26px; line-height: 1.3; }
  h3 { font-size: 20px; line-height: 1.4; }
  td, th { font-size: 14px; }
}

/* Anchored sections should not hide under the sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: optimizeLegibility;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* White labels on the original coral token were below AA contrast. */
a.bg-coral.text-white {
  background-color: #d32752;
}
a.bg-coral.text-white:hover {
  background-color: #bd1f47;
}

/* The source theme uses the same token names for font families and sizes.
   Define the combined editorial tokens explicitly for compiled CSS. */
.font-headline-display {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.font-headline-md {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.font-headline-sm {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}

.font-headline-brand {
  font-family: "Hanken Grotesk", sans-serif;
}

@media (max-width: 767.98px) {
  .font-headline-display { font-size: 38px; }
  .font-headline-md { font-size: 26px; }
  .font-headline-sm { font-size: 20px; }
}

img {
  background-color: #1a1b1e;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  background: #ffffff;
  color: #67001e;
  padding: 10px 14px;
  font-weight: 700;
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Icons ---------- */

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ---------- Scrollbars ---------- */

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---------- <details> accordions ---------- */

details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

/* ---------- Layout helpers (compiled from @layer utilities) ---------- */

.bg-glass {
  background-color: rgba(24, 27, 37, 0.9); /* section-bg/90 */
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.editorial-panel {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.atmospheric-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  max-width: var(--article-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--margin-mobile);
  padding-right: var(--margin-mobile);
}

@media (min-width: 768px) {
  .section-divider {
    padding-left: var(--margin-desktop);
    padding-right: var(--margin-desktop);
  }
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1 1 0%;
  border-top: 1px solid rgba(90, 64, 66, 0.5); /* outline-variant/50 */
}

.section-divider span {
  color: var(--color-text-muted);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Data tables ---------- */

.data-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
  font-size: 17px;
  background: transparent;
  position: relative;
  z-index: 10;
}

.data-table th {
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid rgba(90, 64, 66, 0.3);
}

.data-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(90, 64, 66, 0.3);
  color: var(--color-text-muted);
}

.data-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- Callouts ---------- */

.highlight-box {
  background-color: var(--color-section-bg);
  border-left-width: 4px;
  border-left-style: solid;
  padding: 1.25rem;
  border-top-right-radius: 0.125rem;
  border-bottom-right-radius: 0.125rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* ---------- Table swipe hint (mobile build) ---------- */

.swipe-hint {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .swipe-hint {
    display: none;
  }
}

/* ---------- TOC: collapsible on mobile, always open on desktop ---------- */

@media (min-width: 768px) {
  .toc-details > summary {
    pointer-events: none; /* not collapsible on desktop */
  }
  .toc-details .toc-chevron {
    display: none;
  }
}

/* ---------- Mobile navigation drawer ---------- */

.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 40;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ---------- Editorial media & bespoke icon system ---------- */

.icon-badge {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  color: #ff7189;
  background: linear-gradient(145deg, rgba(255, 77, 109, 0.16), rgba(255, 77, 109, 0.05));
  border: 1px solid rgba(255, 113, 137, 0.34);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.icon-badge--small {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  margin-top: -2px;
}

.icon-badge svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-badge--small svg {
  width: 18px;
  height: 18px;
}

.icon-badge--violet {
  color: #dcb8ff;
  border-color: rgba(220, 184, 255, 0.34);
  background: linear-gradient(145deg, rgba(119, 1, 208, 0.2), rgba(119, 1, 208, 0.04));
}

.icon-badge--green {
  color: #75e7b1;
  border-color: rgba(117, 231, 177, 0.3);
  background: linear-gradient(145deg, rgba(31, 164, 111, 0.18), rgba(31, 164, 111, 0.04));
}

.icon-badge--blue {
  color: #acc7ff;
  border-color: rgba(172, 199, 255, 0.32);
  background: linear-gradient(145deg, rgba(75, 143, 253, 0.2), rgba(75, 143, 253, 0.04));
}

.check-index {
  display: inline-flex;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  color: #ff7189;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 113, 137, 0.42);
  background: rgba(255, 77, 109, 0.08);
  border-radius: 3px;
}

.feature-photo,
.section-photo {
  border: 1px solid rgba(169, 137, 139, 0.24);
  background: #161820;
}

.feature-photo {
  aspect-ratio: 16 / 7;
}

.section-photo {
  aspect-ratio: 1278 / 507;
}

.feature-photo > img,
.section-photo > img {
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature-photo > img {
  object-position: center 42%;
}

.section-photo > img {
  object-position: center;
}

.feature-photo:hover > img,
.section-photo:hover > img {
  transform: scale(1.018);
}

.process-media,
.bonus-media,
.teaser-media {
  display: block;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 1px solid rgba(169, 137, 139, 0.18);
  background: #111319;
}

.process-media {
  min-height: 224px;
  object-position: center;
}

.media-top-slot { object-position: center 45%; }
.media-coin { object-position: center 40%; }
.media-cash { object-position: center 34%; }
.media-pachinko { object-position: center 47%; }
.media-wheel { object-position: center 48%; }
.media-stream { object-position: center 45%; }
.media-stats { object-position: center; }
.media-poster { object-position: center 28%; }
.media-mobile { object-position: center 42%; }

.bonus-card,
.teaser-card {
  border: 1px solid rgba(169, 137, 139, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.bonus-card:hover,
.teaser-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 77, 109, 0.38);
  background-color: #1d202a;
}

.bonus-card .bonus-media,
.teaser-card .teaser-media {
  transition: filter 0.3s ease, transform 0.45s ease;
}

.bonus-card:hover .bonus-media,
.teaser-card:hover .teaser-media {
  filter: saturate(1.06) contrast(1.02);
}

.bonus-title {
  min-height: 44px;
}

#bonusrunden .grid,
#live-hub .grid {
  align-items: stretch;
}

@media (max-width: 767.98px) {
  .feature-photo,
  .section-photo {
    aspect-ratio: 16 / 9;
  }

  .feature-photo > img { object-position: center; }
  .process-media { min-height: 0; }
  .bonus-title { min-height: auto; }
}

/* ---------- Accessibility ---------- */

:focus-visible {
  outline: 2px solid var(--color-coral);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   Tabellen-Upgrade (einziges Änderungsmodul; Rest der Seite
   bleibt im Original-Design). Überschreibt die .data-table-
   Regeln oben, da später geladen.
   ============================================================ */

:root {
  --tbl-amber: #d9a441;
  --tbl-amber-strong: #e7ba60;
  --tbl-line: rgba(169, 137, 139, 0.18);
  --tbl-line-strong: rgba(169, 137, 139, 0.32);
  --tbl-text: #ffffff;
  --tbl-muted: #bdc1c6;
  --tbl-muted-2: #8f94a3;
  --tbl-bg-hi: #222634;
  /* gedeckte Radfarben für Verteilungsbalken */
  --tm1: rgba(90, 152, 205, 0.75);
  --tm2: rgba(219, 181, 96, 0.8);
  --tm5: rgba(205, 110, 152, 0.7);
  --tm10: rgba(143, 110, 205, 0.72);
  --tmcoin: rgba(103, 187, 196, 0.7);
  --tmcash: rgba(103, 180, 132, 0.7);
  --tmpach: rgba(168, 116, 205, 0.7);
  --tmcrazy: rgba(214, 106, 100, 0.78);
}

.table-card {
  background: linear-gradient(180deg, rgba(34, 38, 52, 0.5), rgba(24, 27, 37, 0.85));
  border: 1px solid var(--tbl-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.data-table {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.table-card .data-table thead th {
  padding: 0.95rem 1.4rem;
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(231, 186, 96, 0.85);
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.05), rgba(217, 164, 65, 0.02));
  border-bottom: 1px solid rgba(217, 164, 65, 0.28);
  white-space: nowrap;
}

.table-card .data-table tbody td {
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid var(--tbl-line);
  color: var(--tbl-muted);
  vertical-align: middle;
}

.table-card .data-table tbody tr:nth-child(even) td { background: rgba(189, 193, 198, 0.035); }
.table-card .data-table tbody tr:hover td { background: rgba(217, 164, 65, 0.05); transition: background-color 0.2s ease; }
.table-card .data-table tbody tr:last-child td { border-bottom: 0; }

.data-table tr.group-start td { border-top: 1px solid var(--tbl-line-strong); }
tr.row-bonus td { background: rgba(255, 77, 109, 0.03); }
.table-card .data-table tbody tr.row-bonus:nth-child(even) td { background: rgba(255, 77, 109, 0.045); }
.table-card .data-table tbody tr.row-bonus:hover td { background: rgba(217, 164, 65, 0.06); }
tr.row-rare td[data-num]:nth-child(2),
tr.row-rare .dist-val { color: var(--tbl-amber-strong); font-weight: 700; }

.data-table td[data-num] { color: var(--tbl-text); }
.data-table td[data-num]:nth-child(2),
.data-table td[data-num]:nth-child(3),
.data-table td[data-num]:nth-child(4) { text-align: right; white-space: nowrap; }
.data-table td[data-num]:nth-child(2) { width: 1%; }
.data-table td:nth-child(3):not([data-num]) { text-align: left; }

/* Erste Spalte: Nummern-Badges & monochrome Icons */
.cell-field { display: inline-flex; align-items: center; white-space: nowrap; }

.cell-mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  border-radius: 8px;
  border: 1px solid var(--tbl-line-strong);
  background: var(--tbl-bg-hi);
  flex: 0 0 auto;
}

.num-badge { color: var(--tbl-text); font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }

.icon-mark { color: var(--tbl-amber); }
.icon-mark svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Verteilungsbalken „Anteil am Rad" */
.dist { display: flex; flex-direction: column; gap: 5px; min-width: 128px; }
.dist-val { font-variant-numeric: tabular-nums; color: var(--tbl-text); text-align: left; }

.dist-bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(189, 193, 198, 0.14);
  overflow: hidden;
}

.dist-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  min-width: 3px;
  border-radius: 2px;
  background: var(--c);
}

/* Fünfstufige Volatilitätsskala */
.vol { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.vol-scale { display: inline-flex; gap: 3px; }
.vol-scale i {
  display: inline-block;
  width: 7px;
  height: 10px;
  border-radius: 1.5px;
  background: rgba(189, 193, 198, 0.16);
}
.vol-scale i.on { background: rgba(217, 164, 65, 0.78); }
.vol--hot .vol-scale i.on { background: rgba(214, 106, 100, 0.85); }
.vol-label { font-size: 13px; font-weight: 600; color: var(--tbl-muted); }
.vol--hot .vol-label { color: var(--tbl-text); }

/* Minimales Ja/Nein */
.yn { color: var(--tbl-muted-2); }
.yn--yes { position: relative; color: var(--tbl-text); font-weight: 600; padding-left: 14px; }
.yn--yes::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1.5px;
  background: var(--tbl-amber);
}

.table-note {
  margin-top: 0.9rem;
  font-size: 13px;
  color: var(--tbl-muted-2);
  line-height: 1.6;
  max-width: 46rem;
}

/* Key-Value-Tabellen: ruhige Zeilen, Werte rechtsbündig */
.kv-table tbody th[scope="row"] {
  padding: 0.9rem 1.25rem 0.9rem 0;
  font-weight: 500;
  color: var(--tbl-muted);
  border-bottom: 1px solid var(--tbl-line);
  vertical-align: top;
}
.kv-table tbody th[scope="row"] + td {
  color: var(--tbl-text);
  font-weight: 600;
  text-align: right;
  padding-right: 0;
  border-bottom: 1px solid var(--tbl-line);
}
.kv-table tbody tr:last-child th[scope="row"],
.kv-table tbody tr:last-child td { border-bottom: 0; }

/* Mobil: breite Tabellen werden zu strukturierten Blöcken,
   kein Horizontal-Scroll nötig */
.swipe-hint { display: none !important; }

@media (max-width: 767.98px) {
  .table-card--stack { overflow: visible; }
  .table-card--stack .data-table { min-width: 0 !important; display: block; }
  .table-card--stack thead { display: none; }
  .table-card--stack tbody { display: block; }

  .table-card--stack tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px 14px;
    padding: 15px 16px;
    border-bottom: 1px solid var(--tbl-line);
  }

  .table-card--stack tbody tr:last-child { border-bottom: 0; }
  .table-card--stack tbody tr:nth-child(even) { background: rgba(189, 193, 198, 0.035); }
  .table-card--stack tbody tr.row-bonus { background: rgba(255, 77, 109, 0.035); }
  .table-card--stack tr.group-start { border-top: 1px solid var(--tbl-line-strong); }

  .table-card--stack tbody td {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    width: auto !important;
    white-space: normal !important;
  }

  .table-card--stack tbody td::before {
    content: attr(data-label);
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--tbl-muted-2);
  }

  .table-card--stack tbody td:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    padding-bottom: 2px;
  }

  .table-card--stack tbody td:first-child::before { display: none; }
  .table-card--stack .dist { min-width: 0; }
  .table-card--stack .vol { white-space: normal; flex-wrap: wrap; row-gap: 3px; }
  .table-card--stack .cell-field { white-space: normal; }
}

/* ============================================================
   Feinschliff Kopfbereich — nur Politur des Original-Designs.
   Struktur, Farben und Markup bleiben unverändert (CSS-only).
   ============================================================ */

/* --- Header: gleiche Optik, feinere Ausführung --- */

header.bg-header-bg {
  background-color: rgba(13, 14, 17, 0.86);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  box-shadow: 0 1px 0 rgba(90, 64, 66, 0.25);
}

/* Anbieter-prüfen-Button: gleiche Coral-Farbe, weichere Form */
header a.bg-coral {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(255, 77, 109, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
header a.bg-coral:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 77, 109, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Aktiver Nav-Punkt: gleiche Coral-Linie, sauberer Abstand */
header nav a[aria-current="page"] {
  border-bottom-width: 2px;
  padding-bottom: 4px;
}

/* DE-Auswahl: dezent gefasst statt frei schwebend */
header [aria-label^="Sprache"] {
  border: 1px solid rgba(90, 64, 66, 0.45);
  border-radius: 7px;
  padding: 3px 8px;
}

/* --- Hero: gleiche Pink-Magenta-Blau-Identität, feiner gemischt --- */

section.bg-gradient-to-r.overflow-hidden {
  background-image:
    radial-gradient(760px 420px at 8% 108%, rgba(255, 255, 255, 0.10), transparent 55%),
    radial-gradient(900px 460px at 30% -20%, rgba(255, 209, 220, 0.16), transparent 60%),
    linear-gradient(102deg, #ef3f66 0%, #cf24b4 46%, #5a7cf0 100%);
}

/* Lesbarkeit: sanfte Abdunklung hinter dem Textblock */
section.bg-gradient-to-r.overflow-hidden > .max-w-container-max::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(35, 6, 18, 0.30), transparent 52%);
  pointer-events: none;
  z-index: 1;
}
section.bg-gradient-to-r.overflow-hidden > .max-w-container-max > * { position: relative; z-index: 2; }

/* Foto: weicher Übergang statt harter Kante; alter 1/4-Overlay ruht */
section.bg-gradient-to-r .w-1\/4.bg-gradient-to-r { display: none; }
section.bg-gradient-to-r img.absolute {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 34%, #000 100%);
}

/* Typografie: gleiche Schrift, ruhigerer Satz */
section.bg-gradient-to-r h1.font-headline-display {
  letter-spacing: -0.02em;
  text-shadow: 0 3px 26px rgba(60, 6, 28, 0.45);
}
section.bg-gradient-to-r p.font-headline-sm {
  letter-spacing: 0.08em;
  font-size: 17px;
  opacity: 0.95;
}

/* Buttons: gleiche Weiß/Outline-Logik, weichere Radien und Hover */
section.bg-gradient-to-r a.bg-white {
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(40, 4, 20, 0.35);
}
section.bg-gradient-to-r a.bg-white:hover { transform: translateY(-1px); }
section.bg-gradient-to-r a.border-white\/60 {
  border-radius: 9px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.06);
}
section.bg-gradient-to-r a.border-white\/60:hover { background: rgba(255, 255, 255, 0.14); }

/* ============================================================
   Feinschliff Gesamtseite — Politur aller Original-Sektionen.
   Gleiche Struktur, gleiche Coral-Identität, nur sauberere
   Ausführung. CSS-only, Markup unverändert.
   ============================================================ */

/* --- Global: weichere Radien und ruhigere Linien --- */

.rounded-sm { border-radius: 12px; }
.rounded { border-radius: 8px; }

a, button { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }

/* Coral-Buttons überall: gleiche Farbe, feinere Form */
a.bg-coral {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(255, 77, 109, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
a.bg-coral:hover { transform: translateY(-1px); }

/* --- Fakten-Leiste (RTP / Multiplikator / …) --- */

section.border-y { padding-top: 2.25rem; padding-bottom: 2.25rem; }

section.border-y dl > div {
  border-left: 2px solid rgba(255, 77, 109, 0.4);
  padding-left: 14px;
}

section.border-y dl dt { color: #9aa0ad; }

section.border-y dl dd {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* --- Inhaltsverzeichnis: gleiche Karte, feinere Zeilen --- */

.toc-details { border: 1px solid rgba(169, 137, 139, 0.2); }

.toc-details ul li a {
  border-bottom: 1px solid rgba(90, 64, 66, 0.22);
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.toc-details ul li:nth-last-child(-n+2) a { border-bottom: 0; }
@media (max-width: 767.98px) {
  .toc-details ul li:nth-last-child(2) a { border-bottom: 1px solid rgba(90, 64, 66, 0.22); }
}

.toc-details ul li a:hover { padding-left: 5px; }

.toc-details ul li a .bg-coral {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.14);
  transition: box-shadow 0.2s ease;
}
.toc-details ul li a:hover .bg-coral { box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.22); }

/* --- Icon-Badges (kurz erklärt, Bonusrunden): gleiche Motive, weichere Fassung --- */

.icon-badge {
  border-radius: 9px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* --- Abschnittstrenner: gleiche Linie, kleiner Coral-Akzent --- */

.section-divider::before,
.section-divider::after { border-top-color: rgba(90, 64, 66, 0.38); }

.section-divider span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: 0.14em;
}

.section-divider span::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: var(--color-coral);
  opacity: 0.8;
}

/* --- Anbieter-Prüfliste: gleiche Zeilen, ruhigere Chips, klarere Rhythmik --- */

span.bg-content-bg {
  background: transparent;
  border: 1px solid rgba(169, 137, 139, 0.3);
  color: #9aa0ad;
  border-radius: 6px;
  letter-spacing: 0.06em;
}

.check-index {
  border-radius: 9px;
  background: rgba(255, 77, 109, 0.1);
}

/* --- Karten (Bonusrunden, Live-Hub): gleiche Struktur, tieferer Hover --- */

.bonus-card:hover,
.teaser-card:hover {
  box-shadow: 0 16px 36px rgba(6, 7, 12, 0.5);
  border-color: rgba(255, 77, 109, 0.42);
}

.bonus-media, .teaser-media, .process-media { border-radius: 9px; }

/* --- Bilder: gleiche Motive, weichere Fassung --- */

.feature-photo, .section-photo { border-radius: 14px; }
.feature-photo > img, .section-photo > img { border-radius: 14px; }

/* --- FAQ: gleiche Akkordeon-Karten, klarerer Zustand --- */

#faq details { border: 1px solid rgba(169, 137, 139, 0.16); }

#faq details > summary { transition: color 0.2s ease; }
#faq details > summary:hover,
#faq details[open] > summary { color: var(--color-coral); }

#faq details[open] > div { animation: faq-open 0.26s ease both; }

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: none; }
}

/* --- Callouts & Verantwortungsbox --- */

.highlight-box { border-radius: 10px; }

/* --- Fußzeile: feinere Trennung --- */

footer.bg-header-bg { box-shadow: inset 0 1px 0 rgba(90, 64, 66, 0.3); }

@media (prefers-reduced-motion: reduce) {
  #faq details[open] > div { animation: none; }
}

/* Sehr schmale Screens: KV-Tabellen fest layouten, Werte umbrechen */
@media (max-width: 767.98px) {
  .kv-table { width: 100%; table-layout: fixed; }
  .kv-table tbody td { overflow-wrap: break-word; white-space: normal; }
}

/* Schutz: Icon-Font-Fallback darf das Layout nie sprengen
   (bis der Material-Font geladen ist, wird der Ligatur-Text geklippt) */
.material-symbols-outlined {
  display: inline-flex;
  justify-content: center;
  max-width: 1.3em;
  overflow: hidden;
}

/* Sehr schmale Screens: Fakten-Leiste kompakter fassen */
@media (max-width: 380px) {
  section.border-y dl { gap: 1rem; }
  section.border-y dl > div { padding-left: 10px; }
  section.border-y dl dt { font-size: 11px; letter-spacing: 0.03em; }
  section.border-y dl dd { font-size: 21px; }
}

/* ============================================================
   Live-Ergebnisse (Worker-API-Fragmente, ct-* CSS-Contract)
   ============================================================ */

.live-api {
  margin: 0 0 3rem;
  padding: 1.5rem;
  border: 1px solid rgba(169, 137, 139, 0.2);
  border-radius: 12px;
  background: rgba(24, 27, 37, 0.55);
}

.live-api-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.live-sync,
.ct-sync {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12.5px;
  color: var(--color-text-muted);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-coral);
  box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.5);
  animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(255, 77, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

.live-placeholder {
  font-size: 14px;
  color: #8f94a3;
  padding: 0.35rem 0;
}

.live-note {
  margin-top: 0.9rem;
  font-size: 12.5px;
  color: #8f94a3;
  line-height: 1.6;
}

.live-caption {
  caption-side: top;
  text-align: left;
  padding: 0.85rem 1.4rem 0.4rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(231, 186, 96, 0.85);
}

.live-api-table { margin-bottom: 1rem; }
.live-api-table .data-table tbody td { padding: 0.65rem 1.4rem; }

/* --- ct-* Fragment-Contract in Seitengestaltung --- */

.live-api-cards,
.ct-live-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.ct-card {
  background: #1f2330;
  border: 1px solid rgba(169, 137, 139, 0.22);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.ct-chip,
.ct-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 109, 0.4);
  background: rgba(255, 77, 109, 0.1);
  color: #ff98ab;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.live-api-strip,
.ct-multiplier-strip,
.ct-top-slot-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ct-multiplier-pill,
.ct-top-slot-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(217, 164, 65, 0.45);
  background: rgba(217, 164, 65, 0.1);
  color: #e7ba60;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ct-status-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ct-hero-status, .ct-stat-grid, .ct-stat-list { color: var(--color-text-muted); font-size: 14px; }
.ct-stream-unavailable { color: #8f94a3; font-size: 14px; }

@media (max-width: 480px) {
  .live-api { padding: 1.1rem; }
  .live-api-table .data-table tbody td { padding: 0.6rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
}

.live-why { color: #6d7280; font-size: 12px; }

/* Fragment-Feintuning nach Live-Abruf: Label/Wert-Paare in Karten */
.ct-card strong, .live-api-cards strong,
.ct-hero-status strong, .ct-status-row strong {
  color: #e7ba60;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.ct-card dt, .ct-stat-list dt { color: #8f94a3; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.ct-card dd, .ct-stat-list dd { color: #ffffff; font-weight: 600; }

.stream-live-panel { margin: 0.35rem 0 1.25rem; }
.ct-stream-embed {
  overflow: hidden;
  border: 1px solid rgba(231, 186, 96, 0.25);
  border-radius: 10px;
  background: #0d0e11;
}
.ct-stream-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.ct-stream-embed small {
  display: block;
  padding: 9px 12px;
  color: #8f94a3;
  font-size: 12px;
}

.data-page-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2rem;
}
.data-page-links a {
  display: flex;
  min-height: 138px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid rgba(169, 137, 139, 0.18);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(31, 35, 48, 0.96), rgba(18, 20, 27, 0.9));
  transition: transform 180ms ease, border-color 180ms ease;
}
.data-page-links a:hover { transform: translateY(-3px); border-color: rgba(255, 77, 109, 0.55); }
.data-page-links span { color: #e7ba60; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.data-page-links strong { margin-top: 4px; color: #fff; font-size: 20px; }
.data-page-links small { margin-top: 5px; color: #8f94a3; line-height: 1.45; }

/* Shared shells for results, history, statistics and big-wins pages. */
.data-page {
  background:
    radial-gradient(circle at 15% 34%, rgba(255, 77, 109, 0.045), transparent 25rem),
    #101218;
}
.page-results { --data-hero-image: url("../images/crazy-time-main-wheel-hero.webp"); }
.page-history { --data-hero-image: url("../images/crazy-time-studio-wide.webp"); }
.page-stats { --data-hero-image: url("../images/crazy-time-results-statistics-panel.webp"); }
.page-big-wins { --data-hero-image: url("../images/crazy-time-top-slot-feature.webp"); }

.data-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-bottom: 1px solid rgba(169, 137, 139, 0.2);
  background: linear-gradient(115deg, #7d1536 0%, #c31f75 58%, #25131b 100%);
}
.data-hero::before {
  position: absolute;
  inset: 0 0 0 45%;
  background-image: var(--data-hero-image);
  background-position: center;
  background-size: cover;
  content: "";
}
.data-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(125, 21, 54, 1) 0%, rgba(125, 21, 54, .94) 32%, rgba(125, 21, 54, .48) 52%, rgba(16, 18, 24, .2) 100%),
    linear-gradient(0deg, rgba(16, 18, 24, .35), transparent 45%);
  content: "";
  pointer-events: none;
}
.data-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1280px, calc(100% - 96px));
  min-height: 430px;
  margin: 0 auto;
  padding-right: 53%;
  flex-direction: column;
  justify-content: center;
}
.data-content { position: relative; z-index: 1; width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.data-eyebrow { color: rgba(255,255,255,.78); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.data-hero h1 {
  margin: 8px 0 12px;
  color: #fff;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.025em;
  text-shadow: 0 3px 18px rgba(47, 0, 19, .28);
}
.data-hero p { max-width: 560px; color: rgba(255,255,255,.88); font-size: 17px; line-height: 1.7; }
.data-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.data-tabs a { padding: 9px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.7); font-size: 13px; }
.data-tabs a[aria-current="page"], .data-tabs a:hover { border-color: #ff4d6d; color: #fff; background: rgba(255,77,109,.14); }
.data-breadcrumb {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid rgba(90, 64, 66, .35);
  color: #8f94a3;
  font-size: 12px;
}
.data-breadcrumb a { color: #bdc1c6; }
.data-breadcrumb a:hover { color: #ff4d6d; }
.data-breadcrumb strong { color: #fff; font-weight: 600; }
.data-breadcrumb small { margin-left: auto; color: #8f94a3; }
.data-content { padding-top: 42px; padding-bottom: 72px; }
.data-status-panel {
  min-height: auto;
  margin-bottom: 24px;
  padding: 12px 15px;
  border: 1px solid rgba(169,137,139,.18);
  border-left: 3px solid #ff4d6d;
  border-radius: 2px;
  background: rgba(24,27,37,.72);
  color: #bdc1c6;
}
.data-status-panel .ct-status-row { gap: 8px 14px; }
.data-section {
  position: relative;
  margin-bottom: 26px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(169,137,139,.18);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.018), transparent 45%),
    rgba(24,27,37,.88);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}
.data-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 2px;
  background: #ff4d6d;
  content: "";
}
.data-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.data-section h2 { color: #fff; font-family: "Hanken Grotesk", sans-serif; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 600; }
.data-section-head p { color: #8f94a3; font-size: 13px; }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.data-grid .data-section { margin-bottom: 0; }
.ct-block { min-height: 48px; }
.ct-block[aria-busy="true"] { opacity: .62; }

.ct-stat-grid, .ct-stat-list, .ct-video-strip, .ct-bonus-tabs, .ct-filter-summary, .ct-predictor-context {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.ct-stat-grid .ct-card, .ct-stat-list .ct-card { min-height: 88px; }
.ct-card span { display: block; margin-bottom: 6px; color: #8f94a3; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.ct-card strong { display: block; font-size: 19px; }
.ct-chip-list { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 8px; }
.ct-chip-list .ct-chip { min-height: 36px; padding: 7px 12px; font-size: 13px; }
.ct-chip-list .ct-chip strong { color: inherit; font-size: inherit; }
.ct-filter-summary, .ct-predictor-context, .ct-health { padding: 14px; border: 1px solid rgba(169,137,139,.18); border-radius: 10px; background: #171a23; color: #c4c6ce; }
.ct-comparison, .ct-empty {
  padding: 14px;
  border: 1px solid rgba(169,137,139,.18);
  border-radius: 10px;
  background: #171a23;
  color: #c4c6ce;
}
.ct-comparison { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ct-comparison strong { color: #e7ba60; }
.ct-empty { color: #8f94a3; }
.ct-bonus-tabs { display: flex; flex-wrap: wrap; }
.ct-bonus-tabs > * { padding: 7px 11px; border-radius: 999px; background: rgba(255,77,109,.1); color: #ff98ab; }
.ct-video-strip { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ct-video { overflow: hidden; border-radius: 10px; background: #0d0e11; }
.ct-video iframe, .ct-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.ct-video a { color: #e7ba60; }

.api-table-wrap { overflow-x: auto; border: 1px solid rgba(169,137,139,.18); border-radius: 10px; scrollbar-gutter: stable; }
.api-table-wrap:focus-visible { outline: 3px solid #ff98ab; outline-offset: 3px; }
.api-table { width: 100%; min-width: 680px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.api-table th { padding: 11px 14px; background: #171a23; color: #8f94a3; font-size: 11px; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.api-table td { padding: 12px 14px; border-top: 1px solid rgba(169,137,139,.12); color: #d9dbe1; font-size: 14px; }
.api-table tbody tr:hover { background: rgba(255,255,255,.025); }

.stats-compact-wrap { overflow-x: auto; border: 1px solid rgba(169,137,139,.18); border-radius: 10px; }
.stats-compact-wrap:focus-visible { outline: 3px solid #ff98ab; outline-offset: 3px; }
.stats-compact-table { width: 100%; min-width: 560px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stats-compact-table th { padding: 10px 11px; background: #171a23; color: #8f94a3; font-size: 10px; letter-spacing: .07em; text-align: right; text-transform: uppercase; }
.stats-compact-table th:first-child { text-align: left; }
.stats-compact-table td { padding: 9px 11px; border-top: 1px solid rgba(169,137,139,.12); color: #d9dbe1; font-size: 13px; text-align: right; white-space: nowrap; }
.stats-compact-table td:first-child { color: #fff; font-weight: 600; text-align: left; }
.stats-compact-table tbody tr:hover { background: rgba(255,255,255,.025); }

.data-swipe-hint {
  display: none;
  margin: 9px 2px 0;
  color: #bdc1c6;
  font-size: 12px;
}
.data-swipe-hint::before { margin-right: 5px; content: "↔"; }

.ct-poll-controls {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 14px;
}
.ct-poll-controls button {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid rgba(255,152,171,.55);
  border-radius: 999px;
  background: rgba(255,77,109,.08);
  color: #ffd6de;
  font-size: 13px;
  font-weight: 600;
}
.ct-poll-controls button:hover,
.ct-poll-controls button[aria-pressed="true"] { background: rgba(255,77,109,.2); }
.ct-poll-controls button:focus-visible { outline: 3px solid #ff98ab; outline-offset: 3px; }

/* Legal pages share the data-page shell but use a calm, readable document layout. */
.legal-hero {
  background: linear-gradient(125deg, #7d1536 0%, #c12867 56%, #5b1838 100%);
}
.legal-hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 64px;
}
.legal-hero h1 {
  max-width: 850px;
  color: #fff;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.legal-hero p { max-width: 720px; margin-top: 18px; color: rgba(255,255,255,.88); font-size: 18px; }
.legal-content { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 80px; }
.legal-launch-gate {
  margin-bottom: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(231,186,96,.5);
  border-left: 4px solid #e7ba60;
  border-radius: 4px;
  background: rgba(231,186,96,.08);
  color: #f3dfb7;
}
.legal-launch-gate strong { display: block; margin-bottom: 5px; color: #fff; font-family: "Hanken Grotesk", sans-serif; font-size: 18px; }
.legal-section { padding: 30px 0; border-bottom: 1px solid rgba(169,137,139,.22); }
.legal-section:first-of-type { padding-top: 10px; }
.legal-section h2 { margin-bottom: 12px; color: #fff; font-family: "Hanken Grotesk", sans-serif; font-size: clamp(1.45rem, 4vw, 2rem); font-weight: 600; }
.legal-section h3 { margin: 22px 0 8px; color: #f0d3d8; font-family: "Hanken Grotesk", sans-serif; font-size: 18px; font-weight: 600; }
.legal-section p + p { margin-top: 12px; }
.legal-section a { color: #ff98ab; text-decoration: underline; text-underline-offset: 3px; }
.legal-section ul { margin: 12px 0 0 22px; list-style: disc; }
.legal-section li + li { margin-top: 7px; }
.legal-placeholder {
  display: inline-block;
  max-width: 100%;
  margin: 3px 0;
  padding: 2px 7px;
  border: 1px dashed rgba(231,186,96,.72);
  border-radius: 3px;
  color: #f3dfb7;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.legal-meta { margin-top: 22px; color: #8f94a3; font-size: 13px; }

.data-footer { padding: 48px 0 28px; }
.data-footer-grid {
  display: grid;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 34px;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(150px, .7fr));
  gap: 48px;
}
.data-footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.data-footer-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 8px; color: #fff; font-family: "Hanken Grotesk", sans-serif; font-size: 19px; font-weight: 700; }
.data-footer-brand img { width: 40px; height: 40px; object-fit: contain; filter: grayscale(1); opacity: .75; }
.data-footer-grid p { max-width: 390px; color: #8f94a3; font-size: 14px; line-height: 1.65; }
.data-footer-grid h2 { margin-bottom: 5px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.data-footer-grid > div > a:not(.data-footer-brand) { color: #8f94a3; font-size: 14px; }
.data-footer-grid > div > a:not(.data-footer-brand):hover { color: #ff4d6d; }
.data-footer-note {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(90,64,66,.48);
  border-radius: 2px;
  background: rgba(255,255,255,.018);
}
.data-footer-note strong { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 50%; background: #383943; color: #fff; font-size: 12px; }
.data-footer-note p { color: #8f94a3; font-size: 12px; line-height: 1.55; }

@media (max-width: 1040px) and (min-width: 768px) {
  .data-page header nav { gap: 12px; }
  .data-page header nav a { font-size: 11px; }
  .data-page header [aria-label^="Sprache"] { display: none; }
}

@media (max-width: 820px) {
  .data-page-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-grid { grid-template-columns: 1fr; }
  .data-hero { min-height: 400px; }
  .data-hero::before { inset: 0; opacity: .32; }
  .data-hero::after { background: linear-gradient(90deg, rgba(125,21,54,.97), rgba(125,21,54,.82) 70%, rgba(37,19,27,.58)); }
  .data-hero-inner { width: min(100% - 40px, 1120px); min-height: 400px; padding-right: 20%; }
  .data-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .data-page-links { grid-template-columns: 1fr; }
  .data-page-links a { min-height: 112px; }
  .data-hero { min-height: 420px; }
  .data-hero-inner { width: min(100% - 32px, 1120px); min-height: 420px; padding-right: 0; }
  .data-content { width: min(100% - 28px, 1120px); }
  .data-hero h1 { font-size: 42px; }
  .data-hero p { font-size: 16px; }
  .data-breadcrumb { width: min(100% - 32px, 1120px); }
  .data-breadcrumb small { display: none; }
  .data-section { padding: 18px 14px; }
  .data-section-head { align-items: flex-start; flex-direction: column; }
  .data-footer-grid { width: min(100% - 32px, 1120px); grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .data-footer-grid > div:first-child { grid-column: 1 / -1; }
  .data-footer-note { width: min(100% - 32px, 1120px); align-items: flex-start; }
  .data-swipe-hint { display: block; }
  .ct-poll-controls { justify-content: stretch; }
  .ct-poll-controls button { width: 100%; }
  .legal-hero-inner, .legal-content { width: min(100% - 32px, 900px); }
  .legal-hero-inner { padding: 54px 0 48px; }
  .legal-hero h1 { font-size: 32px; }
  .legal-hero p { font-size: 16px; }
}
