/* ============================================================
   Home components — onlineslotsechtgeld.com prototype
   Uses tokens.css (colour) + system.css (scale). No external deps.
   ============================================================ */

.btn--sm { font-size: var(--fs-14); padding: var(--s-12) var(--s-24); }
.site-header .btn--sm { padding: var(--s-8) var(--s-24); }

/* --- Compliance bar --- */
.compliance {
  background: var(--panel); color: var(--panel-ink);
  font-size: var(--fs-12); font-weight: 400;
  border-bottom: 1px solid var(--line);
}
.compliance__row { display: flex; justify-content: space-between; gap: var(--s-16);
  padding-block: var(--s-8); flex-wrap: wrap; }
.compliance a { color: var(--nav-gold); font-weight: 700; }
.compliance a:hover { text-decoration: underline; }

/* --- Header --- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20; }
.site-header__row { display: flex; align-items: center; gap: var(--s-32);
  padding-block: var(--s-16); }
.brand { display: inline-flex; align-items: center; gap: var(--s-8); }
.brand__mark { flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: var(--lh-heading); }
.brand__text strong { font-family: var(--font-display); font-size: var(--fs-16);
  letter-spacing: .04em; color: var(--ink); }
.brand__text small { font-size: var(--fs-10); letter-spacing: .18em;
  text-transform: uppercase; color: var(--sub); }

/* Hamburger — primary nav trigger (push sidebar on ALL viewports, per casinos.video design) */
.navburger { display: inline-flex; flex-direction: column; justify-content: center; gap: var(--s-4);
  width: 2.5rem; height: 2.5rem; padding: 0 var(--s-8); background: var(--hero);
  border: 1px solid var(--line); border-radius: var(--s-8); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease; }
.navburger .bar { display: block; height: 2px; width: 80%; margin: 0 auto; background: var(--ink); border-radius: 2px;
  transition: background-color .2s ease, transform .25s ease, opacity .2s ease; }
.navburger:hover { background: var(--hero);
  border-color: color-mix(in srgb, var(--nav-gold) 40%, transparent); }
.navburger:hover .bar { background: var(--nav-gold); }
/* open — morph the burger into an ✕ (it also closes the drawer). Bars are 2px tall, s-4 (4px) gap
   → 6px centre-to-centre, so top/bottom translate ±6px to meet the middle line, middle fades out. */
body.nav-open .navburger .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .navburger .bar:nth-child(2) { opacity: 0; }
body.nav-open .navburger .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* X state = "close" → red button with white bars (overrides the green :hover via higher specificity) */
body.nav-open .navburger { background: var(--negative); border-color: var(--negative); }
body.nav-open .navburger .bar { background: #fff; }
body.nav-open .navburger:hover { background: color-mix(in srgb, var(--negative) 85%, #000);
  border-color: color-mix(in srgb, var(--negative) 85%, #000); }

.site-header__actions { display: flex; align-items: center; gap: var(--s-16); }

/* Search trigger — hidden on desktop/laptop (inline field is shown there); revealed ≤1023px (tablet block).
   Matches the navburger/theme-toggle chrome so the actions row stays visually consistent. */
.hsearch-toggle { display: none; flex: none; width: 2.5rem; height: 2.5rem; padding: 0;
  align-items: center; justify-content: center; background: var(--hero);
  border: 1px solid var(--line); border-radius: var(--s-8); color: var(--ink); cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.hsearch-toggle:hover { border-color: color-mix(in srgb, var(--nav-gold) 40%, transparent); color: var(--nav-gold); }
.hsearch-toggle__ico { display: block; }
.hsearch-toggle__ico--close { display: none; }
/* revealed state → red ✕ (echoes the open navburger), so the icon reads as "close search" */
body.hsearch-open .hsearch-toggle { background: var(--negative); border-color: var(--negative); color: var(--on-primary); }
body.hsearch-open .hsearch-toggle:hover { background: color-mix(in srgb, var(--negative) 85%, #000);
  border-color: color-mix(in srgb, var(--negative) 85%, #000); }
body.hsearch-open .hsearch-toggle__ico--open { display: none; }
body.hsearch-open .hsearch-toggle__ico--close { display: block; }
.hsearch-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Header search + dropdown panel --- */
.hsearch { position: relative; flex: 1 1 auto; max-width: 35rem; margin-inline: auto; }
.hsearch__form { display: flex; align-items: center; gap: var(--s-8); background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: var(--s-4) var(--s-4) var(--s-4) var(--s-20);
  transition: border-color .2s ease; }
.hsearch__form:focus-within { border-color: var(--nav-gold); }
.hsearch__field { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: inherit;
  font-size: var(--fs-16); color: var(--ink); padding: var(--s-8) 0; outline: none; }
.hsearch__field::placeholder { color: var(--sub); }
.hsearch__btn { position: relative; flex: none; width: 2.5rem; height: 2.5rem; border-radius: var(--radius-pill); border: 0;
  cursor: pointer; background: var(--ink); color: var(--surface); display: flex; align-items: center; justify-content: center;
  transition: background-color .15s ease, color .15s ease; }
.hsearch__btn:hover { background: var(--primary); color: #fff; }
.hsearch__ico { display: block; }
/* inline clear (×) — appears only when the field has text; hides the native cancel to avoid a double-× */
.hsearch__clear { flex: none; width: 2rem; height: 2rem; border: 0; background: transparent; cursor: pointer;
  color: var(--negative); display: grid; place-content: center;
  transition: color .25s ease; }
.hsearch__clear:hover { color: var(--ink); }
.hsearch__clear[hidden] { display: none; } /* class display must not beat the hidden attribute */
.hsearch__field::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.hsearch__panel { position: absolute; top: calc(100% + var(--s-8)); left: 0; right: 0; z-index: 30;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;   /* clip the inner scrollbar to the rounded corners */
  opacity: 0; visibility: hidden; transform: translateY(-.5rem);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease; }
.hsearch.is-open .hsearch__panel { opacity: 1; visibility: visible; transform: translateY(0); }
.hsearch__label { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .1em;
  color: var(--sub); font-weight: 700; margin: 0 0 var(--s-12); }
.hsearch__chips + .hsearch__label { margin-top: var(--s-20); }
.hsearch__chips { display: flex; flex-wrap: wrap; gap: var(--s-8); }
.hsearch__chips a { font-size: var(--fs-14); font-weight: 600; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: var(--s-8) var(--s-16); background: var(--bg);
  transition: all .25s ease; }
.hsearch__chips a:hover { border-color: var(--nav-gold); color: var(--nav-gold); background-color: var(--hero); }
.hsearch__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8); }
/* dark logo tile — same treatment as the home rcard casino logos (light/white wordmarks on --panel);
   the casino name stays as text fallback if a logo file is missing */
.hsearch__logo { display: grid; place-content: center; text-align: center; font-family: var(--font-display);
  font-weight: 700; font-size: var(--fs-14); color: var(--panel-ink); padding: var(--s-12) var(--s-16); border-radius: var(--s-8);
  border: 1px solid var(--line); background: var(--panel); transition: filter .25s ease; }
.hsearch__logo img { width: 100%; max-height: 2.5rem; height: auto; object-fit: contain; }
.hsearch__logo:hover { filter: brightness(1.1); }
/* "Anzeige" disclosure on the sponsored casino row */
.hsearch__label--ad { display: flex; align-items: center; gap: var(--s-8); }
.hsearch__ad { font-size: var(--fs-10); letter-spacing: .03em; font-weight: 600; color: var(--sub);
  border: 1px solid var(--line); border-radius: var(--radius-xs); padding: var(--s-2) var(--s-8); }

/* Cap the panel height so long result lists scroll rather than overflow the viewport.
   Scroll lives on the inner wrapper so the panel's rounded corners clip the scrollbar. */
.hsearch__scroll { max-height: min(72vh, 34rem); overflow-y: auto; padding: var(--s-20); --sb-color: var(--nav-gold); }

/* --- Typeahead results (JS-populated) --- */
.hsearch__results .hsearch__label { margin-top: var(--s-16); }
.hsearch__results .hsearch__label:first-child { margin-top: 0; }
.hsearch__opt { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-12);
  padding: var(--s-8) var(--s-12); text-decoration: none; color: var(--ink);
  border-left: 3px solid transparent; background: transparent; transition: background-color .25s ease; }
.hsearch__opt:hover, .hsearch__opt.is-active { background: var(--bg); }
.hsearch__opt--slot { border-left-color: var(--primary); }
.hsearch__opt--casino { border-left-color: var(--accent); }
.hsearch__opt--ratgeber { border-left-color: var(--nav-gold); }
.hsearch__opt--seite { border-left-color: var(--sub); }
.hsearch__opt-t { font-weight: 600; font-size: var(--fs-16); min-width: 0; }
.hsearch__opt-s { font-size: var(--fs-12); color: var(--sub); flex: none; }
.hsearch__hl { background: transparent; color: var(--primary); font-weight: 700; }
.hsearch__all { display: block; margin-top: var(--s-16); padding-top: var(--s-12);
  border-top: 1px solid var(--line); font-size: var(--fs-14); font-weight: 700; color: var(--accent); text-decoration: none; }
/* underline hugs only the label text (not the arrow); draws in from the left on hover, retracts to the
   right on leave (same as .section-head__link). Text is inline-block so the line fits it, while the <a>
   stays block for the full-width top divider. */
.hsearch__all-t { position: relative; display: inline-block; }
.hsearch__all-t::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform .3s ease; }
.hsearch__all:hover .hsearch__all-t::after { transform-origin: left center; transform: scaleX(1); }
.hsearch__none p { font-size: var(--fs-16); line-height: var(--lh-lead); margin: 0 0 var(--s-16); color: var(--sub); }
/* Focus rings on interactive panel items (house pattern) */
.hsearch__chips a:focus-visible, .hsearch__logo:focus-visible, .hsearch__opt:focus-visible,
.hsearch__all:focus-visible, .hsearch__clear:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-toggle { display: inline-flex; gap: var(--s-4); background: var(--hero);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: var(--s-4); cursor: pointer; font: inherit; font-size: var(--fs-14); }
.theme-toggle span { display: grid; place-content: center; width: 2rem; height: 1.75rem;
  border-radius: var(--radius-pill); color: var(--sub); }
.theme-toggle span svg { display: block; }
[data-theme="light"] .theme-toggle [data-theme-light],
[data-theme="dark"]  .theme-toggle [data-theme-dark] { background: var(--accent); color: #fff; }

/* --- Flex sidebar: collapses to width 0; opening it SHRINKS .page-shell (content re-centres in .container, no literal push) --- */
:root { --sidenav-w: 21rem; --header-h: 85px; }
.layout { display: flex; align-items: flex-start; }
.page-shell { flex: 1 1 auto; min-width: 0; }
/* .sidenav itself is the sticky element (offset below the sticky header). It must NOT be
   nested under any overflow:hidden ancestor — .layout/.page-shell/body are all overflow:visible.
   overflow:hidden lives HERE (on the sticky element itself, fine) for the width-collapse. */
.sidenav { position: sticky; top: var(--header-h); align-self: flex-start;
  flex: 0 0 auto; width: 0; height: calc(100vh - var(--header-h)); overflow: hidden;
  transition: width .28s cubic-bezier(.4,0,.2,1); }
body.nav-open .sidenav { width: var(--sidenav-w); }
.sidenav__inner { width: var(--sidenav-w); height: 100%; overflow-y: auto;
  background: var(--surface); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; }
.sidenav__nav { padding: var(--s-12); padding-bottom: var(--s-32); }
.sidenav__group { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .1em;
  color: var(--kicker-main); font-weight: 700; margin: 0 0 var(--s-4); padding: 0 var(--s-12); }
/* thin divider above every group except the first — matches the Figma nav container */
.sidenav__group + *,
.sidenav__group:first-child { margin-top: 0; }
.sidenav__group:not(:first-child) { margin-top: var(--s-16); padding-top: var(--s-16);
  border-top: 1px solid var(--line); }
.sidenav__nav a { display: flex; align-items: center; gap: var(--s-12); margin: var(--s-2) 0;
  padding: var(--s-8) var(--s-12); border-radius: var(--s-8); border: 1px solid transparent;
  color: var(--ink); font-weight: 600; font-size: var(--fs-16); line-height: 1.25; text-decoration: none;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.sidenav__ico { flex: none; display: grid; place-content: center; width: 1.5rem; height: 1.5rem;
  color: var(--sub); transition: color .18s ease; }
.sidenav__label { min-width: 0; }
.sidenav__nav a:hover { background: var(--hero); color: var(--nav-gold);
  border-color: color-mix(in srgb, var(--nav-gold) 40%, transparent); }
.sidenav__nav a:hover .sidenav__ico { color: currentColor; }
/* current page — soft tinted pill (violet accent in light, gold in dark); icon follows the text colour */
.sidenav__nav a[aria-current="page"] { color: var(--accent); font-weight: 700;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent); }
.sidenav__nav a[aria-current="page"] .sidenav__ico { color: currentColor; }
[data-theme="dark"] .sidenav__nav a[aria-current="page"] { color: var(--nav-gold);
  border: 1px solid var(--nav-gold); background: var(--hero); }

/* Desktop/Laptop (≥1024px) keep the flex-shrink model above; the scrim never shows. */
.nav-scrim { display: none; }

/* --- ≤1695px: the drawer becomes a fixed left overlay. The flex-shrink/push model only
   works WITHOUT squeezing the container below its 85rem design width when there is room for
   BOTH: viewport ≥ 85rem container + 21rem sidebar = 106rem (1696px). Below 1696 the push
   would shrink page-shell under 1360 → desktop CSS (media queries are VIEWPORT-based, they
   don't see the shrunk container) renders in too little space → overflow/ugly wrapping.
   So: push only ≥1696px (justified custom breakpoint, see tokens.css); overlay everywhere below.
   Scrim dims + click-closes; body scroll-locks; the drawer scrolls internally. --- */
@media (max-width: 105.9375rem) {
  .sidenav {
    position: fixed; top: var(--drawer-top, var(--header-h)); left: 0; z-index: 60;
    width: var(--sidenav-w); max-width: calc(100vw - var(--s-56));
    height: calc(100dvh - var(--drawer-top, var(--header-h)));
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  }
  body.nav-open .sidenav { width: var(--sidenav-w); transform: translateX(0);
    box-shadow: var(--shadow-alt); }

  .nav-scrim { display: block; position: fixed; inset: var(--drawer-top, var(--header-h)) 0 0; z-index: 55;
    background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease; }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

  /* lock page scroll while the overlay is open — the drawer scrolls internally (.sidenav__inner) */
  body.nav-open { overflow: hidden; }
}

/* --- Hero --- */
.hero {
  position: relative;
  width: 100%; margin: 0 auto;
  background: linear-gradient(90deg, var(--hero), var(--bg));
  padding-block: var(--s-96); }
/* Animated section rule-lines — attach to any section: a hairline draws left→right when the element
   scrolls into view (home.js arms every .anim-line-* element via the shared --line-scale var).
   .anim-line-bottom = bottom edge · .anim-line-top = top edge · .anim-line-both = both at once.
   Easing = easeInOutCubic (gentle start + gentle stop). CSS default scaleX(1) so no-JS / reduced-motion
   just shows the full 1px line(s). */
.anim-line-top, .anim-line-bottom, .anim-line-both { position: relative; }
.anim-line-bottom::after, .anim-line-both::after,
.anim-line-top::before,  .anim-line-both::before {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: var(--line);
  transform-origin: left center;
  transition: transform 2s cubic-bezier(0.65, 0, 0.35, 1); }
/* each edge has its OWN scale var so home.js can trigger it independently (top on entry, bottom when
   the section's bottom actually scrolls into view — no early-firing on tall sections). */
.anim-line-bottom::after, .anim-line-both::after { bottom: 0; transform: scaleX(var(--ls-bottom, 1)); }
.anim-line-top::before,  .anim-line-both::before { top: 0; transform: scaleX(var(--ls-top, 1)); }
.line-no-anim::before, .line-no-anim::after { transition: none; }   /* home.js: commit the 0 start without a flash */

/* decorative Figma line — inline stroked path that DRAWS along its own path on scroll-in (stroke-dashoffset,
   so the loop is drawn in path order, not revealed by a vertical wipe). Shares --line-scale (armed by home.js). */
.deco-line { width: 100%; }
.deco-line__svg { display: block; width: 100%; height: auto; }
.deco-line__path {
  fill: none; stroke: url(#deco-line-grad); stroke-width: 1;
  stroke-dasharray: 100;
  stroke-dashoffset: calc((1 - var(--line-scale, 1)) * 100);   /* 1→fully drawn (0), 0→hidden (100) */
  transition: stroke-dashoffset 2s cubic-bezier(0.65, 0, 0.35, 1); }
.line-no-anim .deco-line__path { transition: none; }
/* hero content paints ABOVE the animated motif backdrop (.oseg-hhero, z-index:0) */
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-32) var(--s-64); align-items: center; }
.hero__copy .lead { margin-block: var(--s-20) var(--s-28); }
.hero .accent { color: var(--accent); }
.hero__cta { display: flex; gap: var(--s-16); flex-wrap: wrap; }
.hero__trust { list-style: none; margin: var(--s-32) 0 0; padding: 0;
  display: flex; gap: var(--s-4) var(--s-24); flex-wrap: wrap; font-size: var(--fs-14); color: var(--sub); }
.hero__trust strong { color: var(--ink); }

/* Playable-game placeholder */
.hero__game { text-align: center; }
.game-frame { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 50% 0%, #2e241d 0%, #120f0c 70%);
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  display: grid; place-content: center; gap: var(--s-24); }
.game-frame__reels { display: flex; gap: var(--s-12); }
.game-frame__reels span { width: 3rem; height: 4rem; display: grid; place-content: center;
  font-size: var(--fs-28); color: var(--star);
  background: rgba(255,255,255,.05); border: 1px solid rgba(241,186,75,.35);
  border-radius: var(--s-8); }
.game-frame__play { position: relative; width: 4rem; height: 4rem; border-radius: var(--radius-pill);
  border: 0; cursor: pointer; background: var(--primary); color: #fff; justify-self: center;
  display: grid; place-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.game-frame__play:hover { filter: brightness(1.08); }
.game-frame__label { position: absolute; bottom: var(--s-12); left: 0; right: 0;
  font-family: var(--font-display); font-size: var(--fs-14); color: #f5ead6; letter-spacing: .04em; }
.game-frame__note { margin-top: var(--s-12); font-size: var(--fs-12); color: var(--sub); }

/* --- Section heads --- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-32); margin-bottom: var(--s-32); }
.section-head--center { justify-content: center; text-align: center; }
.section-head__link {
  position: relative;
  display: inline-block;
  padding-right: 2rem;
  color: var(--nav-gold);
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.section-head__link::after {
  content: '\2192';
  position: absolute;
  top: 0;
  right: 0;
  width: 1.5rem;
  height: auto;
  font: inherit;
}
.section-head__link::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 2rem;
  left: 0;
  width: auto;
  height: 2px;
  background-color: var(--nav-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s ease;
}
.section-head__link:hover::before {
  transform-origin: left center;
  transform: scaleX(1);
}
/* intro now lives INSIDE the section-head text div (below the h2); section-head's own margin-bottom
   handles the gap to the grid, so the intro carries only a top gap (link aligns to its last line via flex-end). */
.section-intro { color: var(--sub); font-size: var(--fs-lead); margin: var(--s-12) 0 0; max-width: 60rem; }

/* --- Section 3: full-bleed poster carousel "Beliebte Slots" ---
   Infinite auto-play marquee driven by home.js (transform-based, no scrollbar). The row
   bleeds off BOTH edges; slot-carousel/viewport clip the overflow. Grab to move freely;
   horizontal wheel scrolls it. Pauses on hover. */
.slot-carousel { overflow: hidden; }
.carousel { position: relative; }
.carousel__viewport {
  overflow: hidden;
  cursor: grab; user-select: none; -webkit-user-select: none;
  touch-action: pan-y;                   /* let vertical page-scroll through; we drive X */
}
.carousel__viewport.is-dragging { cursor: grabbing; }
.carousel__track {
  display: flex; gap: var(--s-24); width: max-content; list-style: none; margin: 0;
  padding-block: var(--s-8) var(--s-16);
  will-change: transform;
}
.carousel__item { flex: 0 0 auto; width: 20rem; }

/* poster tile (placeholder gradient art until Slotslaunch box-art) */
.poster { position: relative; display: block; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); }
.poster__art { position: relative; display: block; aspect-ratio: 3 / 2;
  background: linear-gradient(155deg, var(--pg1), var(--pg2)); }
.poster--own         { --pg1: #00A56A; --pg2: #0C7A52; }
.poster--merkur      { --pg1: #E0A93A; --pg2: #B4611F; }
.poster--novoline    { --pg1: #8A5FC9; --pg2: #3B2E6E; }
.poster--netent      { --pg1: #2FA3A0; --pg2: #14595E; }
.poster--microgaming { --pg1: #C9557F; --pg2: #6E2E4E; }
/* placeholder box-art watermark = big faint slot monogram (until real Slotslaunch art) */
.poster__glyph { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 800; font-size: 7rem; line-height: 1;
  color: rgba(255,255,255,.16); }
.poster__badge { position: absolute; top: var(--s-12); left: var(--s-12); z-index: 2;
  font-size: var(--fs-10); font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  background: var(--hero); color: var(--ink); padding: var(--s-4) var(--s-12); border-radius: var(--radius-pill);
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.1); }
/* hover / focus pill overlay */
.poster__hover { position: absolute; inset: 0; display: grid; place-content: center;
  background: rgba(18,15,12,.45); opacity: 0; transition: opacity .2s ease; }
.poster__pill { background: var(--primary); color: #fff; font-weight: 700; font-size: var(--fs-14);
  padding: var(--s-12) var(--s-20); border-radius: var(--radius-pill);
  transform: translateY(6px); transition: transform .2s ease; }
.poster:hover .poster__hover, .poster:focus-visible .poster__hover { opacity: 1; }
.poster:hover .poster__pill, .poster:focus-visible .poster__pill { transform: none; }

.poster__meta { padding: var(--s-12) var(--s-4) 0; }
.poster__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-16); color: var(--ink); }
.poster__name span { color: var(--sub); font-weight: 500; font-size: var(--fs-12); }
/* segmented volatility bar */
.vola { display: flex; align-items: center; gap: var(--s-8); margin-top: var(--s-8); }
.vola__label { font-size: var(--fs-10); text-transform: uppercase; letter-spacing: .08em; color: var(--sub); }
.vola__bar { display: inline-flex; gap: 3px; }
.vola__bar i { width: 12px; height: 6px; border-radius: 2px; background: var(--line); }
.vola__bar i.is-on { background: var(--star); }
.vola__val { font-size: var(--fs-12); font-weight: 700; color: var(--ink); margin-left: auto; }

/* --- Section 4: slot-led ranked mini-review cards (primary conversion) --- */
:root { interpolate-size: allow-keywords; } /* lets height animate to/from `auto` (accordion) */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-16); }

.rcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: none; padding: var(--s-24);
  transition: box-shadow .25s ease, transform .25s ease; }
.rcard:hover { box-shadow: var(--shadow); transform: translateY(-0.25rem); } /* flat by default, lifts on hover */
/* hover border-draw: gold stroke traces the rounded outline (matches the Hersteller cards). No
   overflow:hidden here, so inset 1px + rx = card radius − 4px keeps the corners clean at any height. */
/* .rcard__trace (hover gold perimeter draw) removed per Martin. */
/* rank | thumb | id+bullets | dual CTA */
.rcard__top { display: grid; grid-template-columns: 13rem minmax(0, 1fr) auto;
  gap: var(--s-24); align-items: center; }

.rcard__rank {
    position: absolute;
    top: calc(var(--s-8) * -1);
    left: calc(var(--s-8) * -1);
    width: var(--s-32);
    height: var(--s-32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nav-gold);
    border-radius: 50%;
    color: var(--on-primary);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--fs-12);
    text-align: center;
}
.rcard__thumb { position: relative; width: 13rem; aspect-ratio: 3 / 2; border: 1px solid var(--line); border-radius: var(--s-8);
  overflow: hidden; background: linear-gradient(155deg, var(--pg1, var(--accent)), var(--pg2, var(--primary))); }
.rcard__glyph { position: absolute; inset: 0; display: grid; place-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-32);
  color: rgba(255, 255, 255, .22); }

.rcard__main { min-width: 0; }
.rcard__provider { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .08em;
  color: var(--sub); margin: 0 0 var(--s-2); }
.rcard__name { font-size: var(--fs-20); margin: 0; align-self: center; }
/* editorial verdict = the reason this slot ranks here (collapsed row) */
.rcard__verdict { font-size: var(--fs-14); color: var(--ink); line-height: var(--lh-lead); margin: var(--s-8) 0 var(--s-12); }
/* compare strip = the three keys players weigh across slots (RTP · Volatilität · Max. Gewinn) */
.rcard__compare { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 2fr 2fr; gap: var(--s-8) var(--s-24); }
.rcard__compare li { min-width: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.rcard__compare li > span { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .05em; color: var(--sub); }
.rcard__compare li > strong { display: inline-flex; align-items: center; gap: var(--s-8); font-size: var(--fs-16); color: var(--ink); }
/* "für wen?" fit chip beside the name */
.rcard__fit { display: inline-flex; align-items: center; padding: var(--s-4) var(--s-16); border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: var(--fs-12); font-weight: 600; }

.rcard__cta { display: flex; flex-direction: column; gap: var(--s-8); align-items: stretch; min-width: 12rem; }
.rcard__cta .btn { padding: var(--s-12) var(--s-24); font-size: var(--fs-16); white-space: nowrap; }

/* expandable Quick-Facts + contextual casino */
.rcard__more { border-top: 1px solid var(--line); margin-top: var(--s-20); padding-top: var(--s-16); }
.rcard__more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: var(--s-8);
  font-weight: 700; color: var(--primary); font-size: var(--fs-14); transition: color .25s ease; }
.rcard__more summary:hover { color: var(--accent); }
.rcard__more summary::-webkit-details-marker { display: none; }
.rcard__more summary::before { content: "＋"; color: var(--sign-closed); font-size: var(--fs-16); line-height: 1; transition: color .25s ease; }
.rcard__more summary:hover::before { color: var(--accent); }
.rcard__more[open] summary::before { content: "－"; color: var(--sign-open); }
.rcard__more[open] summary { color: var(--accent); } /* open state = violet (closed stays green) */
/* Smooth open/close: animate the details content box height (evergreen ::details-content +
   interpolate-size). Older engines that lack it just open instantly — graceful fallback. */
.rcard__more::details-content { block-size: 0; overflow: hidden;
  transition: block-size .32s ease, content-visibility .32s allow-discrete; }
.rcard__more[open]::details-content { block-size: auto; }
.rcard__detail { padding-top: var(--s-20); display: grid; gap: var(--s-20); }

/* detail-only specs (RTP/Volatilität/Max.Gewinn live in the collapsed compare strip, never repeated here):
   Walzen·Linien / Einsatz / Thema each 1fr, Feature the wider 4th column */
.rcard__specs { display: grid; grid-template-columns: repeat(3, 1fr) 2fr; gap: var(--s-16) var(--s-24); margin: 0; }
.rcard__specs > div { display: flex; flex-direction: column; gap: var(--s-4); }
.rcard__specs-wide { }

/* honest Pro/Contra (2 pros + 1 con) — the con is the trust signal, kept substantive */
.rcard__proscons { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-8); }
.rcard__proscons li { position: relative; padding-left: var(--s-24); font-size: var(--fs-14); line-height: var(--lh-lead); color: var(--sub); }
.rcard__proscons li::before { position: absolute; left: 0; top: -.02em; font-weight: 800; }
.rcard__proscons .is-pro::before { content: "\2713"; color: var(--positive); }
.rcard__proscons .is-con::before { content: "\2717"; color: var(--negative); }
.rcard__specs dt { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .06em; color: var(--sub); }
.rcard__specs dd { margin: 0; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: var(--s-8); }
.rcard__specs-wide dd { font-weight: 600; color: var(--sub); }

.rcard__casino { background: var(--bg); border: 1px solid var(--line); border-radius: var(--s-12); padding: var(--s-20) var(--s-24); }
.rcard__casino-label { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: .06em;
  color: var(--sub); margin: 0 0 var(--s-12); }
.rcard__casino-row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-16); align-items: center; }
.rcard__casino-logo { display: grid; place-content: center; align-self: stretch; width: 10.5rem; max-width: 100%; height: 100%; padding: 0 var(--s-8);
  border-radius: var(--s-8); border: 1px solid var(--line); background: var(--panel); color: var(--panel-ink);
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-14); text-align: center; }
.rcard__casino-logo img { width: 100%; max-height: 3.75rem; height: auto; object-fit: contain; }
.rcard__casino-cta { display: flex; flex-direction: column; gap: var(--s-8); align-items: stretch; }
.rcard__casino-cta .btn { white-space: nowrap; }
.rcard__casino-name { font-weight: 700; color: var(--ink); margin: 0; }
.rcard__casino-bonus { font-size: var(--fs-14); font-weight: 600; color: var(--sub); margin: 0; }
.rcard__casino-why { position: relative; padding-left: var(--s-16); font-size: var(--fs-12); color: var(--sub); margin: var(--s-4) 0 0; }
.rcard__casino-why::before { content: "\2713"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

/* editorial score — pill sits beside the slot name (★ + value) */
.rcard__name-row { display: flex; align-items: stretch; gap: var(--s-12); flex-wrap: wrap; margin: 0 0 var(--s-8); }
.rcard__score { flex: none; display: inline-flex; align-items: baseline; gap: .15em;
  background: var(--hero); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: var(--s-2) var(--s-12); font-family: var(--font-display); }
.rcard__score-star { align-self: center; color: var(--star); font-size: var(--fs-14); line-height: 1; }
.rcard__score strong { font-weight: 800; font-size: var(--fs-16); color: var(--nav-gold); }
.rcard__score small { font-size: var(--fs-12); color: var(--sub); }
.rcard__cta-note { font-size: var(--fs-12); color: var(--sub); text-align: center; }

/* score breakdown inside the expanded panel */
.rcard__scorecard { display: flex; align-items: center; gap: var(--s-24); flex-wrap: wrap;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-m); padding: var(--s-20) var(--s-24); }
.rcard__score-overall { flex: none; display: flex; align-items: center; gap: var(--s-16); }
.rcard__score-ring { position: relative; flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1; }
/* animated gold progress-ring (draws on scorecard reveal via home.js; solid full ring for reduced-motion) */
.rcard__score-ring-svg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.rcard__ring-track { fill: none; stroke: color-mix(in srgb, var(--nav-gold) 20%, transparent); stroke-width: 4; }
.rcard__ring-bar { fill: none; stroke: var(--nav-gold); stroke-width: 4; stroke-linecap: round; }
.rcard__score-ring strong { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-24); color: var(--ink); }
.rcard__score-ring small { position: relative; z-index: 1; display: block; margin-top: 2px; font-size: var(--fs-12); color: var(--sub); }
.rcard__score-overall-label { margin: 0 0 var(--s-4); font-size: var(--fs-12); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: var(--sub); line-height: 1.15; }
.rcard__score-stars { color: var(--star); font-size: var(--fs-14); letter-spacing: .15em; }
.rcard__score-stars .ocr-hstars { font-size: var(--fs-14); } /* now the shared animated star widget (ocr_hstars) */
.rcard__score-bars { flex: 1 1 0; min-width: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-24);
  border-left: 1px solid var(--line); padding-left: var(--s-24); }
.rcard__score-bar-top { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-8); margin-bottom: var(--s-8); }
.rcard__score-bar-top span { font-size: var(--fs-14); color: var(--sub); }
.rcard__score-bar-top b { font-family: var(--font-display); font-size: var(--fs-16); color: var(--ink); font-variant-numeric: tabular-nums; }
.rcard__score-bar-track { display: block; height: 4px; border-radius: var(--radius-pill); background: var(--line); overflow: hidden; }
.rcard__score-bar-track i { display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent)); } /* same gradient as the §5 RTP bars; width tweened by JS */
.rcard__scorecard-cta { flex: none; }
.rcard__scorecard-link { position: relative; display: inline-block; justify-self: start; padding-right: 1.5rem;
  font-size: var(--fs-14); font-weight: 700; color: var(--accent); text-decoration: none; }
.rcard__scorecard-link::after { content: '\2192'; position: absolute; top: 0; right: 0; width: 1rem; height: auto; font: inherit; }
.rcard__scorecard-link::before { content: ''; position: absolute; bottom: 0; right: 1.5rem; left: 0; width: auto; height: 2px;
  background-color: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform 0.3s ease; }
.rcard__scorecard-link:hover::before { transform-origin: left center; transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .rcard__score-bar-track i { transition: none; } }

.rcard__casino-terms { font-size: var(--fs-12); color: var(--sub); margin: var(--s-4) 0 0; opacity: .85; }

@media (max-width: 63.9375rem) {
  .rcard__cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; margin-top: 0; }
  .rcard__cta .btn { flex: 1; }
  .rcard__cta-note { width: 100%; } /* wrap onto its own line under the buttons (no h-overflow) */
  .rcard__specs { grid-template-columns: repeat(2, 1fr); }
  .rcard__casino-logo { justify-self: center; }
  .rcard__scorecard { display: grid; align-items: flex-start; }
  .rcard__score-bars { border-left: 0; padding-left: 0; }
}

/* --- Section 5: slots by provider (data-browse grid; RTP bar + vola dots à la slotexplorer) --- */
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-24); }

.scard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease; }
.scard:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-alt); }

/* thumb reuses the poster--{prov} gradient vars (--pg1/--pg2) */
.scard__thumb { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden;
  background: linear-gradient(155deg, var(--pg1, var(--accent)), var(--pg2, var(--primary))); }
.scard__badge { position: absolute; top: var(--s-12); left: var(--s-12); z-index: 2;
  font-size: var(--fs-10); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(18, 15, 12, .38); color: #fff; padding: var(--s-4) var(--s-8);
  border-radius: var(--radius-pill); backdrop-filter: blur(2px); }
.scard__glyph { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: 1;
  color: rgba(255, 255, 255, .18); }
/* gold corner badge for progressive-jackpot titles (top-right; provider badge sits top-left) */
.scard__jackpot { position: absolute; top: var(--s-12); right: var(--s-12); z-index: 2;
  font-size: var(--fs-10); font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #241a06; background: linear-gradient(135deg, #F1BA4B, var(--star));
  padding: var(--s-4) var(--s-8); border-radius: var(--radius-pill);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28); }
.scard__jackpot::before { content: "\1F3C6"; margin-right: .3em; } /* 🏆 */

.scard__body { padding: var(--s-16); display: flex; flex-direction: column; gap: var(--s-12); flex: 1 1 auto; }
.scard__name { font-size: var(--fs-20); margin: 0; }

/* visible RTP bar (fill width set inline in PHP from an 85–99 % band) */
.scard__rtp { display: grid; gap: var(--s-4); }
.scard__rtp-top { display: flex; align-items: baseline; justify-content: space-between; font-size: var(--fs-14); }
.scard__rtp-top span { color: var(--sub); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-12); }
.scard__rtp-top strong { color: var(--ink); font-family: var(--font-display); }
.scard__rtp-bar { display: block; height: 8px; border-radius: var(--radius-pill);
  background: var(--line); overflow: hidden; }
.scard__rtp-bar i { display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1s cubic-bezier(.65, 0, .35, 1); } /* fill slides 0→value on enter (home.js); even easeInOut so the 0-start is visible */
@media (prefers-reduced-motion: reduce) { .scard__rtp-bar i { transition: none; } }

/* Max. Gewinn line — same label/value rhythm as the RTP top row */
.scard__maxwin { display: flex; align-items: baseline; justify-content: space-between; margin: 0; }
.scard__maxwin span { color: var(--sub); text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-12); }
.scard__maxwin strong { color: var(--ink); font-family: var(--font-display); font-size: var(--fs-14); }
.scard__maxwin.is-jackpot strong { color: var(--nav-gold); }

.scard__cta { margin-top: auto; width: 100%; text-align: center; }

/* --- Section 6: provider showcase row (game-count cards → hub pillars) — 4 equal cards --- */
.providers { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-24); }
.provider-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: var(--s-28) var(--s-24); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-8);
  transition: box-shadow .25s ease, transform .25s ease; }
.provider-card:hover { transform: translateY(-0.25rem); box-shadow: var(--shadow-alt); }
/* hover border-draw: gold stroke traces the rounded outline (matches the Rechtslage cards) */
.provider-card__trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.provider-card__trace rect { x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); rx: var(--radius-m); ry: var(--radius-m);
  fill: none; stroke: var(--nav-gold); stroke-width: 2px; stroke-dasharray: 100; stroke-dashoffset: -100;
  transition: stroke-dashoffset 0.6s ease; } /* -100 → 0 draws counter-clockwise: left ↓ · bottom → · right ↑ */
.provider-card:hover .provider-card__trace rect { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .provider-card__trace rect { transition: none; } }
/* monogram chip in the provider gradient (poster--{prov} supplies --pg1/--pg2) */
.provider-card__mark { display: grid; place-content: center; width: 3.25rem; height: 3.25rem;
  border-radius: var(--radius-m); color: #fff; font-family: var(--font-display); font-weight: 800;
  font-size: var(--fs-24); background: linear-gradient(155deg, var(--pg1, var(--accent)), var(--pg2, var(--primary)));
  margin-bottom: var(--s-4); }
.provider-card__name { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-20); color: var(--ink); }
.provider-card__count { font-size: var(--fs-14); color: var(--sub); }
.provider-card__count strong { display: block; font-family: var(--font-display); font-weight: 800;
  font-size: var(--fs-40); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.provider-card__desc { font-size: var(--fs-16); line-height: var(--lh-lead); color: var(--sub); padding: 0 var(--s-36); }
.provider-card__link { position: relative; display: inline-block; padding-right: 1.5rem;
  margin-top: var(--s-8); font-weight: 700; font-size: var(--fs-14); color: var(--primary);
  transition: color 0.3s ease; }
.provider-card__link::after { content: '\2192'; position: absolute; top: 0; right: 0; width: 1rem; height: auto; font: inherit; }
.provider-card__link::before { content: ''; position: absolute; bottom: 0; right: 1.5rem; left: 0; width: auto; height: 2px;
  background-color: currentColor; transform: scaleX(0); transform-origin: right center; transition: transform 0.3s ease; }
.provider-card:hover .provider-card__link { color: var(--nav-gold); }
.provider-card:hover .provider-card__link::before { transform-origin: left center; transform: scaleX(1); }

/* --- Section 7: catalog CTA band (→ /spielautomaten/) with a decorative filter preview --- */
.catalog-cta { padding-top: var(--s-32); }
.catalog-band { background: var(--panel); color: var(--panel-ink); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow); padding: var(--s-48);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-64); align-items: center; }
.catalog-band .eyebrow { color: var(--nav-gold); }
.catalog-band h2 { color: var(--panel-ink); margin-bottom: var(--s-16); }
.catalog-band h2 + p { color: var(--panel-ink); opacity: .8; margin-bottom: var(--s-24); }
.catalog-band__note { color: var(--panel-ink); opacity: .6; font-size: var(--fs-14); margin: var(--s-16) 0 0; }

/* mini "Top-Slots" leaderboard teaser (light inset card; rows link to slot reviews) */
.topslots { background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--radius-m); padding: var(--s-20); }
.topslots__head { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-16);
  color: var(--ink); margin: 0 0 var(--s-4); }
.topslots__list { list-style: none; margin: 0; padding: 0; }
.topslots__list li + li { border-top: 1px solid var(--line); }
.topslots__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s-16);
  padding: var(--s-12); text-decoration: none; transition: background-color .15s ease; }
.topslots__row:hover { background: var(--hero); }
.topslots__list li:first-child .topslots__row { border-top-left-radius: var(--radius-m); border-top-right-radius: var(--radius-m); }
.topslots__list li:last-child .topslots__row { border-bottom-left-radius: var(--radius-m); border-bottom-right-radius: var(--radius-m); }
.topslots__rank { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-16);
  color: var(--nav-gold); font-variant-numeric: tabular-nums; }
.topslots__info { min-width: 0; display: flex; flex-direction: column; }
.topslots__name { font-weight: 700; color: var(--ink); }
.topslots__prov { font-size: var(--fs-12); color: var(--sub); }
.topslots__rtp { font-size: var(--fs-14); font-weight: 700; color: var(--ink); white-space: nowrap; text-align: right; }
.topslots__rtp small { display: block; font-size: var(--fs-10); font-weight: 500; color: var(--sub);
  text-transform: uppercase; letter-spacing: .08em; }

/* --- Steps / timeline (panel) --- */
.steps { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-56); align-items: center; }
.steps__text { color: var(--panel-ink); opacity: .8; margin-block: var(--s-16) var(--s-28); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-24); }
.timeline li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-20); align-items: start; position: relative; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 1.25rem; top: 3rem; bottom: -1.5rem;
  border-left: 2px dashed rgba(255,255,255,.25); }
.timeline__num { width: 2.5rem; height: 2.5rem; border-radius: var(--radius-pill);
  display: grid; place-content: center; font-family: var(--font-display); font-weight: 800;
  color: #fff; background: var(--accent); }
.timeline h3 { color: var(--panel-ink); font-size: var(--fs-20); margin-bottom: var(--s-4); }
.timeline p { color: var(--panel-ink); opacity: .78; font-size: var(--fs-16); }

/* --- Ratgeber teaser --- */
.ratgeber-teaser { display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-32); flex-wrap: wrap; }
.ratgeber-teaser__links { display: flex; gap: var(--s-12); flex-wrap: wrap; }
.ratgeber-teaser__links a { padding: var(--s-12) var(--s-20); border: 1px solid var(--line);
  border-radius: var(--radius-pill); font-weight: 600; font-size: var(--fs-14); background: var(--surface); }
.ratgeber-teaser__links a:hover { border-color: var(--nav-gold); color: var(--nav-gold); }

/* --- FAQ --- */
.faq-section { background: var(--hero); }
.faq { max-width: 60rem; margin: 0 auto; }  /* matches .container--narrow reading width, site-wide */
.faq .section-head { display: block; text-align: center; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: box-shadow .25s ease; }
.faq-item + .faq-item { margin-top: var(--s-8); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item[open] summary { color: var(--accent); }  /* active question → violet (h3 inherits) */
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--ink);
  padding: var(--s-16) var(--s-24); list-style: none; display: flex; justify-content: space-between; gap: var(--s-16);
  transition: color .25s ease; }
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font: inherit; margin: 0; color: inherit; } /* Gate 19: question is an h3, styled as summary */
.faq-item summary::after { content: "＋"; color: var(--sign-closed); font-weight: 700; flex: none; }
.faq-item[open] summary::after { content: "－"; color: var(--sign-open); }
/* smooth open/close (same technique as §4; interpolate-size is enabled on :root) */
.faq-item::details-content { block-size: 0; overflow: hidden;
  transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-item__body { color: var(--sub); font-size: var(--fs-16); padding: 0 var(--s-24) var(--s-16); }
.faq-item__body a { color: var(--primary); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid transparent; transition: color .25s ease, border-color .25s ease; }
.faq-item__body a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* --- Footer --- */
.site-footer { background: var(--footer-bg); color: var(--panel-ink); padding-block: var(--s-64) var(--s-32); }
.site-footer.anim-line-top::before { background: rgba(255, 255, 255, .1); }  /* footer line: subtle light-on-dark, not the global --line */
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-32); }
.site-footer h2 { color: var(--panel-ink); font-size: var(--fs-14); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: var(--s-16); opacity: .7; font-weight: 700; }
.site-footer a { display: block; color: var(--panel-ink); opacity: .8; max-width: fit-content; padding-block: var(--s-4); font-size: var(--fs-16); transition: color 0.3s ease; }
.site-footer a:hover { opacity: 1; color: var(--nav-gold); }
.site-footer__brand > p { color: var(--panel-ink); opacity: .7; font-size: var(--fs-14); margin-top: var(--s-12); }
.site-footer__brand .brand__text strong, .site-footer__brand .brand__text small { color: var(--panel-ink); }
/* responsible-gambling / licence compliance block (DE) */
.site-footer__compliance { margin-top: var(--s-20); display: grid; gap: var(--s-12); }
.fc-row { display: flex; align-items: center; gap: var(--s-16); }
.fc-badge { flex: none; display: inline-grid; place-content: center; width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-pill); background: var(--nav-gold); color: #241a06;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-14); }
.fc-logo { display: inline-flex; padding: 0; opacity: .9; }        /* white logo on the dark footer */
.fc-logo:hover { opacity: 1; }
.fc-logo img { height: 40px; width: auto; }        /* BIÖG */
.site-footer__compliance p { font-size: var(--fs-12); margin: 0; line-height: 1.5; }
/* dim the text via a span (NOT the p) so the phone link stays full-opacity —
   a parent's opacity caps every child, but this span only wraps the text. */
.site-footer__compliance p span { color: var(--panel-ink); opacity: .7; }
.site-footer__compliance a { display: inline; color: var(--nav-gold); opacity: 1; }
.site-footer__compliance a:hover { color: var(--panel-ink); }
/* GGL logo framed as a verification statement — NOT a seal we hold */
.fc-ggl { display: flex; align-items: center; gap: var(--s-12); }
.fc-ggl img { height: 30px; width: auto; }
.fc-ggl span { color: var(--panel-ink); opacity: .7; font-size: var(--fs-12); line-height: var(--lh-lead); }
.site-footer__disclosure { margin-top: var(--s-48); padding-top: var(--s-24);
  border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__disclosure p { margin: 0; font-size: var(--fs-14); color: var(--panel-ink); }
.site-footer__disclosure p span { opacity: .7; } /* dim the text; link stays full-opacity (opacity on parent would cap it) */
.site-footer__disclosure a { display: inline; color: var(--nav-gold); opacity: 1; } /* override .site-footer a display:block + opacity:.8 */
.site-footer__disclosure a:hover { color: var(--panel-ink); }
.site-footer__legal-links a { white-space: nowrap; }
.site-footer__legal { display: flex; align-items: center; justify-content: space-between; gap: var(--s-8) var(--s-16); flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: var(--s-24); padding-top: var(--s-24);
  font-size: var(--fs-12); }
.site-footer__legal > span:first-child { opacity: .7; } /* dim only the copyright line, not the links */
.site-footer__legal a { display: inline; color: var(--nav-gold); font-size: var(--fs-14); opacity: 1; }
.site-footer__legal a:hover { color: var(--panel-ink); }

/* Long German compound words (e.g. "Glücksspielstaatsvertrag") must break/hyphenate rather than
   force horizontal overflow on narrow viewports. Only breaks when a word can't otherwise fit. */
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }

/* Trust eyebrow: "Geprüft · [Monat] [Jahr]" rendered as a pill (violet dot + normal-case text);
   the trailing " · Unabhängiger Vergleich" stays as the plain uppercase eyebrow. */
.eyebrow-pill { display: inline-flex; align-items: center; gap: var(--s-8); vertical-align: middle;
  margin-right: var(--s-8); padding: var(--s-8) var(--s-16); border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink); font-weight: 600; text-transform: none; letter-spacing: normal; }
.eyebrow-pill__dot { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }

/* --- E-E-A-T band: "So testen wir" (intro + numbered criteria) --- */
.trust-section { background: var(--hero); }
.trust-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-48); align-items: center; }
.trust-band__intro h2 { margin: 0 0 var(--s-16); }
.trust-band__intro h2 + p { color: var(--sub); margin: 0 0 var(--s-20); } /* only the body paragraph, not the eyebrow */
.trust-criteria { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-24); }
.trust-criteria__item { display: grid; grid-template-columns: auto 1fr; gap: var(--s-16); align-items: start; }
.trust-criteria__num { display: grid; place-content: center; width: var(--s-36); height: var(--s-36);
  border-radius: var(--radius-pill); background: var(--primary); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-16); }
.trust-criteria__title { font-weight: 700; color: var(--ink); margin: 0 0 var(--s-4); }
.trust-criteria__desc { font-size: var(--fs-14); color: var(--sub); line-height: var(--lh-lead); margin: 0; }

/* --- Rechtslage/GlüStV band: unique DE prose + 5 rule cards --- */
.rules-section { padding-bottom: var(--s-32); }
.rules-grid { list-style: none; margin: 0 0 var(--s-24); padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-16); }
.rules-grid__item { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: var(--s-20); border-top: 3px solid var(--nav-gold);
  transition: box-shadow .25s ease, transform .25s ease; }
.rules-grid__item:hover { box-shadow: var(--shadow); transform: translateY(-0.25rem); }
/* hover border-draw: a gold stroke TRACES the rounded outline (SVG rect via CSS geometry → correct
   rounded corners, no distortion; the static gold top border stays, the trace completes the rest). */
.rules-grid__trace { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.rules-grid__trace rect { x: 0px; y: 0px; width: calc(100% - 0px); height: calc(100% - 0px); rx: var(--radius-s); ry: var(--radius-s);
  fill: none; stroke: var(--nav-gold); stroke-width: 1px; stroke-dasharray: 100; stroke-dashoffset: -100;
  transition: stroke-dashoffset 0.6s ease; } /* -100 → 0 draws counter-clockwise: left ↓ · bottom → · right ↑ */
.rules-grid__item:hover .rules-grid__trace rect { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .rules-grid__trace rect { transition: none; } }
.rules-grid__title { font-family: var(--font-display); font-weight: 800;
  color: var(--ink); margin: 0 0 var(--s-8); }
.rules-grid__desc { font-size: var(--fs-14); color: var(--sub); line-height: var(--lh-lead); margin: 0; }
.rules-note { font-size: var(--fs-14); color: var(--sub); line-height: var(--lh-body); margin: 0; max-width: 60rem; }
.rules-note a { color: var(--accent); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid transparent; transition: color .25s ease, border-color .25s ease; }
.rules-note a:hover { color: var(--primary); border-bottom-color: currentColor; }

/* --- Responsive --- */
@media (max-width: 63.9375rem) {
  .trust-band { grid-template-columns: 1fr; gap: var(--s-32); }
  .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-block: var(--s-64); }
  .hero__grid, .steps { grid-template-columns: 1fr; gap: var(--s-40); }
  /* single-column now → let both grid items shrink with the track (grid items default to
     min-width:auto = content min, which kept the column from collapsing below the teaser board's
     intrinsic width → horizontal page overflow on the narrowest phones). */
  .hero__copy, .hero__game { min-width: 0; }
  .reviews { grid-template-columns: 1fr; }
  /* tablet-only compare strip (phone block ≤767 below re-sets this → this stays 768–1023) */
  .rcard__compare { grid-template-columns: 1.5fr 3fr 2fr; gap: var(--s-8) var(--s-16); }
  .slots-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-16); }
  .providers { grid-template-columns: repeat(2, 1fr); gap: var(--s-16); }
  .catalog-band { grid-template-columns: 1fr; gap: var(--s-32); padding: var(--s-32); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: var(--s-16); } /* stack heading + CTA from tablet down */

  /* --- Header search collapses behind an icon (≤1023) ---
     The always-visible inline field is the space-hog in the cramped tablet header, so we pull it out
     of the row entirely and reveal it on demand as a full-width bar dropped under the header (overlay,
     no layout shift). Same .hsearch element → all of home.js's typeahead logic is reused verbatim. */
  .hsearch-toggle { display: inline-flex; }
  .site-header__row { gap: var(--s-16); }
  /* the inline search no longer fills the row (it's a fixed reveal-bar now) → push the actions group
     to the right edge so the header reads brand … actions instead of clustering left. */
  .site-header__actions { margin-left: auto; }
  .hsearch {
    position: fixed; top: var(--drawer-top, var(--header-h)); left: 0; right: 0; z-index: 40;
    max-width: none; margin: 0; padding: var(--s-16) var(--s-24);
    background: var(--surface);
    opacity: 0; visibility: hidden; transform: translateY(-.5rem);
    /* visibility flips instantly on OPEN (delay 0) so the field is focusable at once; on CLOSE it holds
       visible for the .2s fade-out then hides (delay .2s). opacity/transform animate both ways. */
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  body.hsearch-open .hsearch { opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s; }
  /* results hang flush off the bar (no gap); square top corners, but keep the default full border all
     around (the bar has no border-bottom/shadow now, so the panel's own border is the frame). */
  .hsearch__panel { top: 100%;
    border-top-left-radius: 0; border-top-right-radius: 0; }
  /* page scroll is locked, so the dropdown must fit the space left UNDER the bar; otherwise on a short
     viewport a long list runs off-screen with nothing to scroll. Cap the inner scroll to that space
     (≈bar height + a little bottom breathing room subtracted) so the list scrolls with a visible bar. */
  .hsearch__scroll { max-height: calc(100dvh - var(--drawer-top, var(--header-h)) - 6rem); }
  /* lock page scroll while the search overlay is open (same model as the nav drawer) */
  body.hsearch-open { overflow: hidden; }
}
@media (max-width: 47.9375rem) {
  /* Header collapse — desktop row didn't fit phones (caused ~340px horizontal overflow).
     Keep burger + logo mark + wordmark + search + theme toggle; drop only the Top-Casinos CTA
     (that CTA lives in the hero and the sidebar nav). The wordmark is hidden at a custom
     narrower breakpoint below (added on request). */
  .site-header__row { gap: var(--s-12); }
  .site-header__actions { flex-direction: row-reverse; }
  /* .hsearch is already a fixed reveal-bar with a viewport-fitted dropdown (see the ≤1023 tablet block). */
  .site-header__actions .btn { display: none; }
  /* review card: stack thumb over the copy */
  .rcard__top { display: flex; flex-direction: column; align-items: stretch; }
  .rcard__thumb { width: 100%; }
  /* scorecard: stack the overall badge above the sub-score bars */
  .rcard__scorecard { flex-direction: column; align-items: stretch; }
  .rcard__score-bars { grid-template-columns: 1fr; gap: var(--s-16);
    border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: var(--s-16); }
  .rcard__casino-row { grid-template-columns: 1fr; text-align: center; } /* 1-col only on phone; tablet keeps the multi-col row */
  .rcard__casino-label { text-align: center; }
  /* row is centred here → drop the check's absolute hanging-indent (it would sit far left of the
     centred text) and let it flow inline right before the text so the two centre together. */
  .rcard__casino-why { padding-left: 0; }
  .rcard__casino-why::before { position: static; margin-right: var(--s-8); }
  .rcard__casino-bonus { font-size: var(--fs-16); }
  .rcard__compare { gap: var(--s-8) var(--s-16); grid-template-columns: 1.2fr 2.5fr 1fr; }
  .rcard__verdict { margin: var(--s-12) 0; }
  /* footer: 3-col nav with the brand block spanning the full top row */
  .site-footer { padding-top: var(--s-48); }
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid .site-footer__brand { grid-column: 1 / -1; }
  .site-footer a { overflow-wrap: break-word; hyphens: auto; }
}
/* Narrow phones (≤460px): the HEADER wordmark no longer fits beside the logo mark + actions — drop
   it here. Scoped to the header so the FOOTER brand keeps its wordmark at every resolution. */
@media (max-width: 28.75rem) {
  .site-header .brand__text { display: none; }
  /* the nav drawer goes edge-to-edge — override the width token (both states read var(--sidenav-w));
     use % not vw so the scrollbar gutter isn't counted, and lift the base max-width cap. */
  .sidenav { --sidenav-w: 100%; max-width: 100%; }
  /* hero CTA + review card go full-width / stacked on the narrowest phones */
  .hero__cta .btn { width: 100%; }
  .rcard__cta { flex-direction: column; margin-top: 0; }
  /* compare list reflows to 2 cols; the 2nd item spans full width and drops last (order:1 → after
     the two default-order:0 items, so they pair on the top row and it sits full-width below). */
  .rcard__compare { grid-template-columns: repeat(2, 1fr); }
  .rcard__compare li:nth-child(2) { grid-column: 1 / -1; order: 1; }
  .rcard__specs { grid-template-columns: minmax(0, 1fr); }
  /* top-slots leaderboard goes edge-to-edge on the narrowest phones (drop the card's side padding
     + the first row's top rounding so it sits flush) */
  .topslots { padding-left: 0; padding-right: 0; padding-bottom: 0; }
  .topslots__head { padding: 0 var(--s-12); margin: 0 0 var(--s-8); }
  .topslots__list li:first-child .topslots__row { border-top-left-radius: 0; border-top-right-radius: 0; }
  /* footer: 3 cols get cramped on the narrowest phones — stack each link group on its own full row */
  .site-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 47.9375rem) {
  .section { padding-block: var(--s-48); }
  .trust-criteria { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: 1fr; }
  .providers { grid-template-columns: 1fr; }
  .catalog-band { padding: var(--s-24); }
  .hero { padding-block: var(--s-64) var(--s-48); }
  .section-head > div { max-width: 100%; min-width: 0; } /* let long headings wrap, not force overflow */
  .compliance__row { display: grid; grid-template-columns: minmax(0, 1fr) 4rem; align-items: center; gap: var(--s-4) var(--s-24); }
}

/* Responsive fixes 2026-07-16 — laptop↓ (≤1359px, standard scale) */
@media (max-width: 84.9375rem) {
  .provider-card__desc { padding: 0; }
  .provider-card__link { margin-top: auto; }
}

/* Laptop-ONLY range (1024–1359): scoped with a min so it can't clobber the tablet/phone gaps set below
   1024 (this file's tablet block precedes the laptop block, so a bare max-width rule would win at ≤1023). */
@media (min-width: 64rem) and (max-width: 84.9375rem) {
  .site-header__row { gap: var(--s-24); }
  .rcard__top { grid-template-columns: 12rem minmax(0, 1fr) auto; }
  .rcard__thumb { width: 12rem; }
}
