/* ============================================================
   30bet Casino - Design System
   Einheitliches Dark-Theme (kein Theme-Switcher laut Brief).
   Fonts: Space Grotesk (Headlines), Outfit (Fließtext)
   Signatur: Bonus-Regen (goldene Partikel) auf Hero/CTA
   ============================================================ */

:root {
    --background: #0A0E1A;
    --foreground: #EAF1FC;
    --card: #121A2E;
    --card-foreground: #EAF1FC;
    --popover: #0D1424;
    --popover-foreground: #EAF1FC;
    --primary: #498bf7;
    --primary-foreground: #06101F;
    --secondary: #1B2540;
    --secondary-foreground: #EAF1FC;
    --muted: #26324E;
    --muted-foreground: #A5B4D4;
    --accent: #FF7A1A;
    --accent-foreground: #140B04;
    --destructive: #F43F5E;
    --destructive-foreground: #1A060B;
    --border: #33466F;
    --input: #101A30;
    --ring: #FFC44D;

    /* Erweiterte Marken-Tokens */
    --gold: #FFC44D;
    --gold-deep: #F5A623;
    --link: #7FB0FF;
    --link-hover: #A8C9FF;
    --success: #34D399;
    --surface-glow: rgba(255, 122, 26, 0.18);
    --blue-glow: rgba(59, 130, 246, 0.22);

    /* Typografie */
    --font-head: "Space Grotesk", sans-serif;
    --font-body: "Outfit", sans-serif;

    /* Abstände (8px-Raster) */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3.5rem;
    --space-8: 6rem;

    /* Layout */
    --container: 1200px;
    --container-narrow: 800px;
    --radius: 16px;
    --radius-sm: 10px;
    --topbar-h: 40px;
    --bar-h: 68px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 250ms;
}

/* ============================================
   OVERFLOW PREVENTION - Safety Net
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

img, video, iframe, embed, object, svg {
    max-width: 100%;
    height: auto;
}

[class*="grid"] > *,
[class*="flex"] > * {
    min-width: 0;
}

pre, code, .code-block, [class*="code"] {
    max-width: 100%;
    overflow-x: auto;
}

pre code,
.code-block code {
    display: block;
    min-width: 0;
}

.table-wrapper,
[class*="table-"] {
    max-width: 100%;
    overflow-x: auto;
}

p, li, td, th {
    overflow-wrap: break-word;
}

input, textarea, select {
    max-width: 100%;
}

section {
    overflow: clip;
}

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

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 300;
    min-width: 320px;
}

/* Dezente Navy-Vignette auf dem Grund */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(900px 500px at 85% -5%, rgba(59, 130, 246, 0.10), transparent 60%),
        radial-gradient(700px 420px at 10% 110%, rgba(255, 122, 26, 0.07), transparent 60%);
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

/* ============================================
   TYPOGRAFIE
   H1 52/30px, H2 38/26px, H3 26/20px, H4 20/18px
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--foreground);
    margin: 0 0 var(--space-2);
}

h1 { font-size: 30px; font-weight: 700; }
h2 { font-size: 26px; font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 500; }

@media (min-width: 768px) {
    h1 { font-size: 52px; }
    h2 { font-size: 38px; }
    h3 { font-size: 26px; }
    h4 { font-size: 20px; }
}

p {
    margin: 0 0 var(--space-2);
    max-width: 68ch;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color var(--dur) var(--ease);
}

a:hover {
    color: var(--link-hover);
}

/* Eyebrow-Label über Sektionsüberschriften */
.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: var(--space-1);
}

/* Große Gradient-Zahlen (100%, 300 €, 50 Free Spins) */
.gradient-num,
.gradient-text {
    font-family: var(--font-head);
    background: linear-gradient(120deg, var(--gold) 10%, var(--accent) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================
   LAYOUT-HELFER
   .container - zentrierte Inhaltsbreite
   .section   - vertikaler Sektionsabstand
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

@media (min-width: 768px) {
    .container { padding-inline: 32px; }
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding-block: var(--space-6);
    position: relative;
}

@media (min-width: 768px) {
    .section { padding-block: var(--space-8); }
}

.section--alt {
    background: linear-gradient(180deg, transparent, rgba(18, 26, 46, 0.55) 18%, rgba(18, 26, 46, 0.55) 82%, transparent);
}

.section__head {
    max-width: 720px;
    margin-bottom: var(--space-4);
}

.section__head--center {
    margin-inline: auto;
    text-align: center;
}

.section__head p {
    color: var(--muted-foreground);
}

/* Prosa-Container für SEO-Texte */
.prose p { color: var(--muted-foreground); }
.prose strong { color: var(--foreground); font-weight: 500; }
.prose ul, .prose ol {
    color: var(--muted-foreground);
    padding-left: 1.25rem;
    margin: 0 0 var(--space-2);
}
.prose li { margin-bottom: var(--space-1); }

/* ============================================
   BUTTONS
   .btn--gold  - primärer Gold-CTA (Registrieren)
   .btn--ghost - sekundärer Login-Button
   .btn--blue  - neutrale Links als Button (z. B. /bonus.html)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 26px;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
                filter var(--dur) var(--ease), background var(--dur) var(--ease);
    text-align: center;
}

.btn--gold {
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-deep) 55%, var(--accent) 100%);
    color: var(--accent-foreground);
    box-shadow: 0 6px 24px rgba(255, 170, 40, 0.35);
}

.btn--gold:hover {
    filter: brightness(1.1);
    color: var(--accent-foreground);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(255, 170, 40, 0.5);
}

.btn--ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--foreground);
}

.btn--ghost:hover {
    border-color: var(--primary);
    color: var(--foreground);
    box-shadow: 0 0 0 3px var(--blue-glow);
}

.btn--blue {
    background: linear-gradient(120deg, #2B66D8, var(--primary));
    color: #F2F7FF;
    box-shadow: 0 6px 22px var(--blue-glow);
}

.btn--blue:hover {
    filter: brightness(1.12);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.btn--xl {
    min-height: 56px;
    padding: 16px 40px;
    font-size: 18px;
}

.btn--pulse {
    animation: cta-halo 2.4s ease-in-out infinite;
}

@keyframes cta-halo {
    0%, 100% { box-shadow: 0 6px 24px rgba(255, 170, 40, 0.35), 0 0 0 0 rgba(255, 196, 77, 0.45); }
    50% { box-shadow: 0 6px 24px rgba(255, 170, 40, 0.45), 0 0 0 14px rgba(255, 196, 77, 0); }
}

/* ============================================
   HEADER
   Sticky: Topbar (Cashback-Hinweis) + Bar
   ============================================ */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    z-index: 1200;
    border-radius: 0 0 10px 0;
}

.skip-link:focus {
    left: 0;
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.92);
}

@media (min-width: 901px) {
    .site-header {
        background: rgba(10, 14, 26, 0.72);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }
}

.topbar {
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.14), rgba(255, 122, 26, 0.12));
    border-bottom: 1px solid rgba(51, 70, 111, 0.5);
    padding-inline: 16px;
}

.topbar__text {
    margin: 0;
    font-size: 13px;
    color: var(--muted-foreground);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    text-align: center;
}

.topbar__dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.8); }
}

.header-bar {
    height: var(--bar-h);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.site-brand__mark {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    color: var(--accent-foreground);
    background: linear-gradient(135deg, var(--gold), var(--accent));
    border-radius: 10px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(255, 170, 40, 0.35);
}

.site-brand__text {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

.site-brand__suffix {
    color: var(--primary);
    font-weight: 500;
    margin-left: 6px;
}

/* Burger-Button */
.nav-toggle {
    margin-left: auto;
    width: 48px;
    height: 48px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--foreground);
    border-radius: 2px;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer (unter 900px): versteckt, solide, fixed */
.main-nav {
    display: none;
    position: fixed;
    top: calc(var(--topbar-h) + var(--bar-h));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    padding: var(--space-3) 20px var(--space-4);
}

.main-nav.is-open {
    display: block;
}

.nav-list {
    list-style: none;
    margin: 0 0 var(--space-3);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}

.nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 18px;
    color: var(--foreground);
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--dur) var(--ease);
}

.nav-link:hover {
    color: var(--foreground);
    background: var(--card);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-actions .btn {
    width: 100%;
}

/* Desktop-Navigation */
@media (min-width: 901px) {
    .nav-toggle { display: none; }

    .main-nav {
        display: flex;
        position: static;
        background: transparent;
        overflow: visible;
        padding: 0;
        align-items: center;
        flex: 1;
        gap: var(--space-3);
        z-index: auto;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex: 1;
        margin: 0;
        gap: 4px;
    }

    .nav-link {
        font-size: 16px;
        padding: 10px 14px;
    }

    .nav-actions {
        flex-direction: row;
        gap: 10px;
    }

    .nav-actions .btn {
        width: auto;
        min-height: 44px;
        padding: 10px 22px;
    }
}

/* ============================================
   HERO
   Vollflächig, Modell rechts, Bonus links,
   Bonus-Regen-Layer dahinter
   ============================================ */
.hero {
    position: relative;
    background:
        radial-gradient(1000px 520px at 78% 12%, rgba(59, 130, 246, 0.18), transparent 62%),
        radial-gradient(760px 460px at 12% 96%, rgba(255, 122, 26, 0.14), transparent 60%),
        linear-gradient(180deg, #0C1224 0%, var(--background) 100%);
    overflow: clip;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: var(--space-4);
    padding-block: var(--space-6);
}

@media (min-width: 901px) {
    .hero__inner {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: center;
        padding-block: var(--space-8);
        gap: var(--space-6);
    }
}

.hero__content { max-width: 620px; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(255, 196, 77, 0.4);
    border-radius: 999px;
    padding: 7px 16px;
    margin-bottom: var(--space-2);
    background: rgba(255, 196, 77, 0.08);
}

.hero__title { margin-bottom: var(--space-2); }

.hero__text {
    color: var(--muted-foreground);
    font-size: 18px;
    margin-bottom: var(--space-3);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: var(--space-2);
}

.hero__micro {
    font-size: 14px;
    color: var(--muted-foreground);
    margin: 0;
}

.hero__media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 122, 26, 0.35);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--surface-glow);
}

.hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, transparent 55%, rgba(10, 14, 26, 0.55));
    pointer-events: none;
}

.hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

/* ============================================
   BONUS-REGEN
   Goldene Münzpartikel + Glow-Orbs, driftet nach unten
   ============================================ */
.bonus-rain {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.rain-coin {
    position: absolute;
    top: -24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #FFE9AE, var(--gold) 55%, var(--accent));
    box-shadow: 0 0 12px rgba(255, 196, 77, 0.65);
    opacity: 0.75;
    animation: coin-fall linear infinite;
}

.rain-coin:nth-child(1)  { left: 6%;  animation-duration: 9s;   animation-delay: 0s;   width: 10px; height: 10px; }
.rain-coin:nth-child(2)  { left: 14%; animation-duration: 12s;  animation-delay: 2.2s; }
.rain-coin:nth-child(3)  { left: 24%; animation-duration: 8s;   animation-delay: 1.1s; width: 8px;  height: 8px; }
.rain-coin:nth-child(4)  { left: 33%; animation-duration: 13s;  animation-delay: 3.4s; }
.rain-coin:nth-child(5)  { left: 42%; animation-duration: 10s;  animation-delay: 0.6s; width: 12px; height: 12px; }
.rain-coin:nth-child(6)  { left: 51%; animation-duration: 11s;  animation-delay: 4.1s; width: 9px;  height: 9px; }
.rain-coin:nth-child(7)  { left: 60%; animation-duration: 9.5s; animation-delay: 1.8s; }
.rain-coin:nth-child(8)  { left: 68%; animation-duration: 12.5s;animation-delay: 0.3s; width: 8px;  height: 8px; }
.rain-coin:nth-child(9)  { left: 76%; animation-duration: 8.5s; animation-delay: 2.9s; width: 12px; height: 12px; }
.rain-coin:nth-child(10) { left: 84%; animation-duration: 11.5s;animation-delay: 5s;   width: 10px; height: 10px; }
.rain-coin:nth-child(11) { left: 91%; animation-duration: 10.5s;animation-delay: 1.4s; }
.rain-coin:nth-child(12) { left: 96%; animation-duration: 13.5s;animation-delay: 3.8s; width: 8px;  height: 8px; }

@keyframes coin-fall {
    0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
    8%   { opacity: 0.8; }
    92%  { opacity: 0.7; }
    100% { transform: translate3d(-30px, 112vh, 0) rotate(340deg); opacity: 0; }
}

/* Schwebende Goldmünze auf dem Hero-Media */
.hero__coin {
    position: absolute;
    right: 6%;
    bottom: 8%;
    width: clamp(72px, 14vw, 130px);
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 0 18px rgba(255, 196, 77, 0.55));
    animation: coin-float 5s ease-in-out infinite;
}

@keyframes coin-float {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-16px) rotate(5deg); }
}

/* Zweispaltiges Layout (z. B. Cashback-Highlight) */
.two-col {
    display: grid;
    gap: var(--space-3);
    align-items: center;
}

@media (min-width: 901px) {
    .two-col {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        gap: var(--space-6);
    }
}

/* Logo-Strip mit Bildern statt Text */
.logo-strip__item img {
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

/* Zahlungs-Icons (transparente Icons, Rim-Light-Hover) */
.pay-icons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: var(--space-3) 0;
}

@media (min-width: 768px) {
    .pay-icons { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.pay-icons__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 12px;
    background: var(--card);
    border: 1px solid rgba(51, 70, 111, 0.55);
    border-radius: var(--radius-sm);
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.pay-icons__item:hover {
    transform: scale(1.03);
    box-shadow: 0 0 22px var(--surface-glow);
    border-color: rgba(255, 122, 26, 0.5);
}

.pay-icons__item img {
    height: 26px;
    width: auto;
    object-fit: contain;
}

/* ============================================
   CTA-BANNER (Komponente cta_banner)
   Deep-Blue → Dark-Orange Gradient, Gold-Button
   ============================================ */
.cta-banner {
    position: relative;
    background:
        radial-gradient(800px 400px at 20% 0%, rgba(59, 130, 246, 0.28), transparent 60%),
        radial-gradient(800px 420px at 85% 100%, rgba(255, 122, 26, 0.3), transparent 62%),
        linear-gradient(135deg, #0D1B3E 0%, #231228 55%, #2E1508 100%);
    overflow: clip;
    padding-block: var(--space-6);
}

@media (min-width: 768px) {
    .cta-banner { padding-block: var(--space-8); }
}

.cta-banner__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.cta-banner__glow--one {
    width: 340px; height: 340px;
    background: rgba(59, 130, 246, 0.25);
    top: -120px; left: -80px;
}

.cta-banner__glow--two {
    width: 380px; height: 380px;
    background: rgba(255, 122, 26, 0.22);
    bottom: -150px; right: -90px;
}

.cta-banner__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
}

.cta-banner__headline {
    color: #F4F8FF;
    margin-bottom: var(--space-2);
}

.cta-banner__text {
    color: var(--muted-foreground);
    margin-inline: auto;
    margin-bottom: var(--space-3);
}

.cta-banner__btn {
    animation: cta-halo 2.4s ease-in-out infinite;
    width: 100%;
    max-width: 420px;
}

@media (min-width: 640px) {
    .cta-banner__btn { width: auto; }
}

.cta-banner__micro {
    margin: var(--space-2) 0 0;
    font-size: 14px;
    color: var(--muted-foreground);
}

/* ============================================
   STAT-BLOCK (Komponente stat_block)
   Gold-Gradient-Zahlen, 2-Spalten mobil, Reihe desktop
   ============================================ */
.stat-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    padding: var(--space-4) var(--space-2);
    border-radius: var(--radius);
    background: radial-gradient(600px 260px at 50% 0%, rgba(27, 37, 64, 0.85), rgba(18, 26, 46, 0.35));
    border: 1px solid rgba(51, 70, 111, 0.45);
    text-align: center;
}

@media (min-width: 768px) {
    .stat-row {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: var(--space-4);
        padding: var(--space-4);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-num {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 60px);
    line-height: 1;
    background: linear-gradient(120deg, var(--gold) 10%, var(--accent) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
}

.stat-note {
    margin: var(--space-2) 0 0;
    font-size: 14px;
    color: var(--muted-foreground);
    text-align: center;
}

/* ============================================
   INFO-CARD (Komponente info_card) + GRIDS
   Midnight-Slate Karten, Hover-Lift + Gradient-Border
   ============================================ */
.card-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card-grid--2 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.info-card {
    position: relative;
    min-width: 0;
    background: var(--card);
    border: 1px solid rgba(51, 70, 111, 0.55);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

@media (min-width: 768px) {
    .info-card { padding: 32px; }
}

.info-card:hover {
    transform: scale(1.02);
    border-color: transparent;
    background:
        linear-gradient(var(--card), var(--card)) padding-box,
        linear-gradient(135deg, rgba(255, 196, 77, 0.7), rgba(255, 122, 26, 0.7)) border-box;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 30px var(--surface-glow);
}

.info-card__media {
    margin: -8px -8px 6px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 122, 26, 0.3);
    box-shadow: 0 0 24px var(--surface-glow);
}

.info-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.info-card__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 18px;
    color: var(--gold);
    border-radius: 14px;
    background: var(--secondary);
    border: 1px solid rgba(255, 196, 77, 0.35);
    box-shadow: 0 0 20px var(--surface-glow);
}

.info-card__title {
    margin: 0;
    font-size: 19px;
}

@media (min-width: 768px) {
    .info-card__title { font-size: 22px; }
}

.info-card__text {
    margin: 0;
    color: var(--muted-foreground);
    font-size: 16px;
}

.info-card__link {
    margin-top: auto;
    font-weight: 500;
    color: var(--link);
    position: relative;
    align-self: flex-start;
    padding-bottom: 2px;
}

.info-card__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%) scaleX(0);
    transition: transform var(--dur) var(--ease);
}

.info-card__link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Logo-/Icon-Streifen (Provider, Zahlungsmethoden) */
.logo-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 768px) {
    .logo-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.logo-strip__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 76px;
    padding: 14px;
    background: var(--card);
    border: 1px solid rgba(51, 70, 111, 0.55);
    border-radius: var(--radius-sm);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    color: var(--muted-foreground);
    text-align: center;
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), color 220ms var(--ease);
}

.logo-strip__item:hover {
    transform: scale(1.03);
    color: var(--foreground);
    box-shadow: 0 0 26px var(--surface-glow);
    border-color: rgba(255, 122, 26, 0.5);
}

/* ============================================
   FAQ-ACCORDION (Komponente faq_accordion)
   Native details/summary, Chevron rotiert
   ============================================ */
.faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--card);
    border: 1px solid rgba(51, 70, 111, 0.55);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.faq-item[open] {
    border-color: transparent;
    background:
        linear-gradient(var(--card), var(--card)) padding-box,
        linear-gradient(135deg, rgba(255, 196, 77, 0.65), rgba(255, 122, 26, 0.65)) border-box;
    box-shadow: 0 0 24px var(--surface-glow);
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 48px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 17px;
    color: var(--foreground);
    user-select: none;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__chevron {
    flex: none;
    color: var(--primary);
    transition: transform 300ms var(--ease);
}

.faq-item[open] .faq-item__chevron {
    transform: rotate(180deg);
}

.faq-item__answer {
    padding: 0 20px 18px;
    animation: faq-open 300ms var(--ease);
}

.faq-item__answer p {
    margin: 0;
    color: var(--muted-foreground);
}

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

/* ============================================
   ENGAGEMENT-MUSTER
   .tldr, .callout, .pull-quote, .trust-row, Tabellen
   ============================================ */
.tldr {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(18, 26, 46, 0.9));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: var(--radius);
    padding: var(--space-3);
    margin-bottom: var(--space-4);
}

.tldr__title {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin: 0 0 10px;
}

.tldr ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--muted-foreground);
}

.tldr li { margin-bottom: 6px; }
.tldr strong { color: var(--foreground); font-weight: 500; }

.callout {
    border-left: 4px solid var(--accent);
    background: rgba(255, 122, 26, 0.08);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 18px 22px;
    margin: var(--space-3) 0;
}

.callout p { margin: 0; color: var(--muted-foreground); }
.callout strong { color: var(--gold); font-weight: 600; }

.pull-quote {
    font-family: var(--font-head);
    font-style: italic;
    font-size: 24px;
    line-height: 1.4;
    color: var(--foreground);
    border-left: 4px solid var(--accent);
    box-shadow: -8px 0 24px -12px var(--surface-glow);
    padding: 8px 0 8px 24px;
    margin: var(--space-4) 0;
}

.pull-quote cite {
    display: block;
    margin-top: 12px;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 14px;
    color: var(--muted-foreground);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: var(--space-3) 0;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
}

.trust-badge--success {
    border-color: rgba(52, 211, 153, 0.5);
    color: var(--success);
}

/* Vergleichs-/Promo-Tabellen */
.table-wrapper {
    border: 1px solid rgba(51, 70, 111, 0.55);
    border-radius: var(--radius);
    overflow-x: auto;
    background: var(--card);
}

.promo-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.promo-table th,
.promo-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(51, 70, 111, 0.4);
    font-size: 15px;
}

.promo-table thead th {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--secondary);
}

.promo-table tbody tr:last-child td { border-bottom: none; }
.promo-table tbody tr:hover { background: rgba(59, 130, 246, 0.06); }

.promo-table .code {
    font-family: var(--font-head);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--link);
    white-space: nowrap;
}

.promo-table .highlight {
    color: var(--gold);
    font-weight: 600;
}

/* ============================================
   SCROLL-REVEAL
   Sektionen sliden 24px hoch, gestaffelt
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   FOOTER
   4 Spalten: Marke, Seiten, Zahlungen, Rechtliches
   ============================================ */
.site-footer {
    position: relative;
    z-index: 1;
    background: var(--popover);
    border-top: 1px solid rgba(51, 70, 111, 0.5);
    padding-top: var(--space-6);
}

.footer-grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1.4fr 1.2fr; gap: var(--space-3); }
}

.footer-brand {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 10px;
}

.footer-heading {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin: 0 0 14px;
}

.footer-text {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 12px;
}

.footer-text--small { font-size: 13px; }

.footer-badges {
    display: flex;
    gap: 10px;
    margin: 0 0 12px;
}

.licence-badge,
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    padding: 6px 12px;
}

.licence-badge {
    color: var(--link);
    border: 1px solid rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.1);
}

.age-badge {
    color: #FFD9DB;
    border: 1px solid rgba(244, 63, 94, 0.55);
    background: rgba(244, 63, 94, 0.12);
    min-width: 42px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--muted-foreground);
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.footer-links a:hover { color: var(--link-hover); }

.pay-chips {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pay-chip {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-foreground);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
}

.footer-bottom {
    margin-top: var(--space-4);
    padding-block: var(--space-3);
    border-top: 1px solid rgba(51, 70, 111, 0.4);
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--muted-foreground);
    text-align: center;
}

/* ============================================
   DEVICE-MEDIA (transparente Smartphone-Mockups)
   Freischwebend mit Glow, ohne Kartenrahmen
   ============================================ */
.device-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-media img {
    width: min(300px, 68%);
    height: auto;
    filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 34px var(--surface-glow));
    animation: coin-float 6s ease-in-out infinite;
}

/* ============================================
   REDUCED MOTION
   Bonus-Regen & Puls-Animationen deaktivieren
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .rain-coin,
    .cta-banner__btn,
    .btn--pulse,
    .topbar__dot,
    .hero__coin,
    .device-media img {
        animation: none !important;
    }

    .rain-coin { display: none; }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* a11y-autofix: link-in-text-block */
/* axe link-in-text-block: inline links inside body copy must be
   distinguishable without relying on color. Scope to text containers so
   nav/button/card links (already visually distinct) keep their styling. */
:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
