/*
 * ALAWIN CASINO - DESIGN SYSTEM
 * Dunkles orientalisches Nacht-Thema mit Gold-, Violett- und Türkis-Neon.
 * Festes Einzeltheme (kein Umschalter), mobile-first.
 *
 * Abschnitte:
 *  1. Design Tokens
 *  2. Reset & Overflow-Sicherheit
 *  3. Typografie & Basiselemente
 *  4. Layout-Primitives (container, grids)
 *  5. Buttons
 *  6. Header & Navigation (inkl. mobiler Drawer)
 *  7. Hero-Bereiche
 *  8. Karten (feature, trust, media)
 *  9. Engagement-Patterns (tldr, answer, callout, stat, quote, details)
 * 10. CRO-Patterns (steps, badges, Tabellen, Final-CTA)
 * 11. Footer
 * 12. Icons (CSS-Kunst)
 * 13. Scroll-Reveal & Reduced Motion
 */

/* ============================================
   1. DESIGN TOKENS
   ============================================ */
:root {
    /* Flächen */
    --background: #180531;
    --background-deep: #110327;
    --surface: #260b48;
    --surface-raised: #2f1159;
    --surface-soft: #3b1a6b;

    /* Text */
    --foreground: #f7f1ff;
    --muted-foreground: #cfc3e8;
    --subtle-foreground: #ab9ccb;

    /* Marken-Akzente */
    --gold: #f5c542;
    --gold-strong: #ffcf4d;
    --gold-deep: #d9a412;
    --gold-foreground: #221200;
    --turquoise: #38e1d4;
    --turquoise-deep: #14b8ad;
    --violet: #8a4dff;
    --violet-soft: #b78cff;
    --magenta: #e04fd8;

    /* Status */
    --ok: #3ddc97;
    --pending: #f5c542;
    --na: #9a8bb8;

    /* Linien & Schatten */
    --border: rgba(197, 158, 255, 0.22);
    --border-gold: rgba(245, 197, 66, 0.55);
    --shadow-lg: 0 24px 60px -18px rgba(5, 0, 20, 0.75);
    --glow-gold: 0 10px 34px -8px rgba(245, 197, 66, 0.55);
    --glow-turquoise: 0 8px 30px -10px rgba(56, 225, 212, 0.55);

    /* Typografie */
    --font-body: "Manrope", "Segoe UI", sans-serif;
    --font-display: "Marcellus", "Georgia", serif;

    /* Radien */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Abstände */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2.25rem;
    --space-2xl: 3rem;
    --space-3xl: 4.5rem;

    /* Maße */
    --container: 75rem;
    --header-height: 4.5rem;
    --prose-width: 46rem;
}

/* ============================================
   2. RESET & OVERFLOW-SICHERHEIT
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background-color: var(--background);
    background-image:
        radial-gradient(60rem 32rem at 85% -8%, rgba(138, 77, 255, 0.22), transparent 60%),
        radial-gradient(48rem 28rem at -10% 12%, rgba(56, 225, 212, 0.10), transparent 55%),
        radial-gradient(70rem 40rem at 50% 110%, rgba(224, 79, 216, 0.08), transparent 60%);
    background-attachment: fixed;
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    overflow-x: clip;
}

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

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

pre, code {
    max-width: 100%;
    overflow-x: auto;
}

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

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

section {
    overflow: clip;
}

details {
    height: fit-content;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
    margin-top: 0;
}

/* Prose-Links bleiben auch ohne Farbe erkennbar */
:where(p, li, blockquote, figcaption, dd, .prose, article)
  a:not([class]) {
    color: var(--gold-strong);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

:where(p, li, blockquote, figcaption, dd, .prose, article)
  a:not([class]):hover {
    color: var(--turquoise);
}

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

.skip-link {
    position: absolute;
    left: var(--space-md);
    top: -4rem;
    z-index: 1100;
    padding: var(--space-sm) var(--space-md);
    background: var(--gold);
    color: var(--gold-foreground);
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus-visible {
    top: var(--space-sm);
}

/* ============================================
   3. TYPOGRAFIE & BASISELEMENTE
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.18;
    color: var(--foreground);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.1rem, calc(1.4rem + 3vw), 3.4rem);
    letter-spacing: 0.01em;
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(1.65rem, calc(1.2rem + 1.8vw), 2.4rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.2rem, calc(1rem + 0.8vw), 1.45rem);
    margin-bottom: var(--space-sm);
}

h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
    max-width: var(--prose-width);
}

ul, ol {
    padding-left: 1.3em;
    margin-bottom: var(--space-md);
}

li + li {
    margin-top: 0.4em;
}

strong {
    color: var(--gold-strong);
    font-weight: 700;
}

small {
    font-size: 0.875rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--turquoise);
}

.eyebrow::before {
    content: "";
    width: 1.6rem;
    height: 2px;
    background: linear-gradient(90deg, var(--turquoise), transparent);
    border-radius: 2px;
}

/* ============================================
   4. LAYOUT-PRIMITIVES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
    padding-block: clamp(2.75rem, 6vw, 5rem);
}

.section--tint {
    background: linear-gradient(180deg, rgba(38, 11, 72, 0.55), rgba(24, 5, 49, 0));
}

.section-intro {
    max-width: 52rem;
    margin-bottom: var(--space-xl);
}

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

.section-intro--center .eyebrow {
    justify-content: center;
}

.section-intro--center .eyebrow::before {
    display: none;
}

.section-intro__lead {
    color: var(--muted-foreground);
    font-size: 1.06rem;
}

.section-intro--center .section-intro__lead {
    margin-inline: auto;
}

/* Kartenraster: mobil einspaltig, ab Tablet zwei, ab Desktop drei/vier */
.card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    align-items: start;
}

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

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

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

/* Split-Layout für Text + Artwork innerhalb einer Sektion */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .split {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: var(--space-2xl);
    }

    .split--reverse > .split__media {
        order: -1;
    }
}

/* ============================================
   5. BUTTONS
   ============================================ */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    min-height: 48px;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.button:focus-visible {
    outline: 3px solid var(--turquoise);
    outline-offset: 3px;
}

.button--primary {
    background: linear-gradient(135deg, var(--gold-strong), var(--gold) 55%, var(--gold-deep));
    color: var(--gold-foreground);
    box-shadow: var(--glow-gold);
}

.button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -8px rgba(245, 197, 66, 0.65);
}

.button--outline {
    background: rgba(245, 197, 66, 0.08);
    border-color: var(--border-gold);
    color: var(--gold-strong);
}

.button--outline:hover {
    background: rgba(245, 197, 66, 0.16);
}

.button--ghost {
    background: rgba(56, 225, 212, 0.08);
    border-color: rgba(56, 225, 212, 0.4);
    color: var(--turquoise);
}

.button--ghost:hover {
    background: rgba(56, 225, 212, 0.16);
}

.button--cta {
    padding-inline: 2rem;
}

.button--xl {
    min-height: 56px;
    padding: 1rem 2.4rem;
    font-size: 1.1rem;
}

/* ============================================
   6. HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    background: var(--background-deep);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(0.75rem, 3vw, 2rem);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* Burger-Button */
.menu-toggle {
    position: relative;
    z-index: 1001;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    background: rgba(138, 77, 255, 0.12);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold-strong);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

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

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

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

/* Brand */
.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    min-width: 0;
}

.site-brand__mark {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), transparent 45%),
        linear-gradient(140deg, var(--violet), #5b21b6 70%);
    border: 1px solid rgba(197, 158, 255, 0.5);
    color: var(--gold-strong);
    font-family: var(--font-display);
    font-size: 1.35rem;
    box-shadow: 0 6px 18px -6px rgba(138, 77, 255, 0.7);
}

.site-brand__wording {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.site-brand__name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--gold-strong);
    letter-spacing: 0.02em;
}

.site-brand__descriptor {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--muted-foreground);
}

/* Header-Aktionen (Utility: Login/Registrieren) */
.site-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.site-header__actions .button {
    min-height: 42px;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
}

@media (max-width: 479px) {
    .site-header__actions .header-register {
        padding-inline: 0.8rem;
    }

    .site-header__actions .header-login {
        padding-inline: 0.7rem;
    }
}

/* Primäre Navigation: mobil als Drawer */
.primary-nav {
    display: none;
}

.primary-nav.is-open {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--background-deep);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    padding: var(--space-lg) clamp(1rem, 5vw, 2rem) var(--space-2xl);
}

.primary-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
}

.primary-nav__link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--foreground);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
}

.primary-nav__link:hover {
    background: rgba(138, 77, 255, 0.14);
    border-color: var(--border);
}

.primary-nav__link.is-active {
    color: var(--gold-strong);
    background: rgba(245, 197, 66, 0.1);
    border-color: var(--border-gold);
}

@media (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .primary-nav {
        display: block;
        margin-left: var(--space-lg);
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 0.25rem;
    }

    .primary-nav__link {
        min-height: 44px;
        padding: 0.4rem 0.85rem;
    }

    .site-header__actions .button {
        padding-inline: 1.25rem;
    }
}

/* ============================================
   7. HERO-BEREICHE
   ============================================ */
.page-hero {
    position: relative;
    padding-block: clamp(2.5rem, 6vw, 4.5rem);
    background:
        radial-gradient(42rem 26rem at 80% 10%, rgba(138, 77, 255, 0.28), transparent 62%),
        radial-gradient(30rem 20rem at 12% 85%, rgba(56, 225, 212, 0.12), transparent 60%),
        linear-gradient(160deg, #24104a 0%, var(--background) 70%);
    border-bottom: 1px solid var(--border);
}

.page-hero__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 12% 30%, rgba(245, 197, 66, 0.7), transparent 60%),
        radial-gradient(2px 2px at 28% 12%, rgba(255, 255, 255, 0.55), transparent 60%),
        radial-gradient(2px 2px at 46% 24%, rgba(56, 225, 212, 0.6), transparent 60%),
        radial-gradient(2px 2px at 64% 8%, rgba(255, 255, 255, 0.45), transparent 60%),
        radial-gradient(2px 2px at 78% 32%, rgba(245, 197, 66, 0.5), transparent 60%),
        radial-gradient(2px 2px at 90% 16%, rgba(183, 140, 255, 0.7), transparent 60%),
        radial-gradient(1.6px 1.6px at 36% 60%, rgba(255, 255, 255, 0.4), transparent 60%),
        radial-gradient(1.6px 1.6px at 58% 74%, rgba(56, 225, 212, 0.5), transparent 60%),
        radial-gradient(1.6px 1.6px at 84% 62%, rgba(255, 255, 255, 0.4), transparent 60%);
}

.page-hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

.page-hero__lead {
    font-size: 1.1rem;
    color: var(--muted-foreground);
}

.page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.page-hero__art {
    position: relative;
    display: flex;
    justify-content: center;
}

.page-hero__art img {
    width: min(100%, 26rem);
    filter: drop-shadow(0 26px 44px rgba(5, 0, 24, 0.65)) drop-shadow(0 0 34px rgba(138, 77, 255, 0.3));
}

@media (min-width: 1024px) {
    .page-hero__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: var(--space-2xl);
    }

    .page-hero__art img {
        width: min(100%, 32rem);
    }
}

/* Kompakte Hero-Variante für Unterseiten */
.page-hero--compact {
    padding-block: clamp(2rem, 4.5vw, 3.25rem);
}

/* ============================================
   8. KARTEN
   ============================================ */
.feature-card,
.trust-card {
    min-width: 0;
    padding: var(--space-lg);
    background: linear-gradient(160deg, var(--surface-raised), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.feature-card__icon,
.trust-card__icon {
    display: inline-grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-sm);
    background: rgba(56, 225, 212, 0.1);
    border: 1px solid rgba(56, 225, 212, 0.35);
    box-shadow: var(--glow-turquoise);
}

.feature-card h3,
.trust-card h3 {
    margin-bottom: 0.4rem;
}

.feature-card p,
.trust-card p {
    margin-bottom: 0;
    color: var(--muted-foreground);
    font-size: 0.95rem;
}

/* Vertrauenskarte mit Goldkante (erste Karte im Kurzcheck) */
.trust-card--gold {
    border-color: var(--border-gold);
}

.trust-card--gold .trust-card__icon {
    background: rgba(245, 197, 66, 0.12);
    border-color: var(--border-gold);
    box-shadow: var(--glow-gold);
}

/* Gerahmte Medien */
.media-card,
.framed-image {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-gold);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.media-card {
    margin-bottom: var(--space-lg);
    background: var(--surface);
}

.media-card img,
.framed-image {
    display: block;
    width: 100%;
    object-fit: cover;
}

.media-card figcaption {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
    color: var(--muted-foreground);
    border-top: 1px solid var(--border);
}

/* ============================================
   9. ENGAGEMENT-PATTERNS
   ============================================ */

/* TL;DR-Box */
.tldr-box {
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    background: linear-gradient(150deg, rgba(56, 225, 212, 0.1), rgba(138, 77, 255, 0.12));
    border: 1px solid rgba(56, 225, 212, 0.35);
    border-radius: var(--radius-md);
}

.tldr-box__title {
    margin-bottom: var(--space-sm);
    font-weight: 800;
    color: var(--turquoise);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.tldr-box__list {
    margin-bottom: 0;
}

/* Antwortkapsel */
.answer-box {
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    background: rgba(245, 197, 66, 0.08);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.answer-box__title {
    margin-bottom: 0.25rem;
    font-weight: 800;
    color: var(--gold-strong);
}

.answer-box p:last-child {
    margin-bottom: 0;
}

/* Callout-Varianten */
.callout {
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
}

.callout__title {
    margin-bottom: 0.3rem;
    font-weight: 800;
}

.callout p:last-child {
    margin-bottom: 0;
}

.callout--note {
    border-left: 4px solid var(--violet-soft);
}

.callout--note .callout__title {
    color: var(--violet-soft);
}

.callout--tip {
    border-left: 4px solid var(--turquoise);
    background: rgba(56, 225, 212, 0.07);
}

.callout--tip .callout__title {
    color: var(--turquoise);
}

.callout--warning {
    border-left: 4px solid var(--gold);
    background: rgba(245, 197, 66, 0.08);
}

.callout--warning .callout__title {
    color: var(--gold-strong);
}

/* Stat-Highlight */
.stat-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: var(--space-lg);
    background: linear-gradient(160deg, var(--surface-raised), var(--surface));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    text-align: center;
}

.stat-highlight__value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1;
    color: var(--gold-strong);
    text-shadow: 0 0 24px rgba(245, 197, 66, 0.45);
}

.stat-highlight__label {
    font-weight: 700;
    color: var(--foreground);
}

.stat-highlight__source {
    font-size: 0.82rem;
    color: var(--muted-foreground);
}

/* Pull-Quote */
.pull-quote {
    margin: var(--space-xl) 0;
    padding: var(--space-lg) var(--space-xl);
    border-left: 4px solid var(--magenta);
    background: rgba(224, 79, 216, 0.07);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.pull-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    line-height: 1.4;
    color: var(--foreground);
}

.pull-quote cite {
    font-style: normal;
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

/* Details/Summary-Accordion */
.details-item {
    background: linear-gradient(160deg, var(--surface-raised), var(--surface));
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.details-item + .details-item {
    margin-top: var(--space-sm);
}

.details-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: var(--space-md) 3.2rem var(--space-md) var(--space-lg);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.details-item summary::-webkit-details-marker {
    display: none;
}

.details-item summary::after {
    content: "";
    position: absolute;
    right: var(--space-lg);
    top: 50%;
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid var(--gold-strong);
    border-bottom: 2px solid var(--gold-strong);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}

.details-item[open] summary::after {
    transform: translateY(-30%) rotate(225deg);
}

.details-item summary:focus-visible {
    outline: 3px solid var(--turquoise);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.details-item__body {
    padding: 0 var(--space-lg) var(--space-md);
    color: var(--muted-foreground);
}

.details-item__body p:last-child {
    margin-bottom: 0;
}

/* ============================================
   10. CRO-PATTERNS
   ============================================ */

/* Prozesskette */
.steps-flow {
    list-style: none;
    margin: 0 0 var(--space-xl);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    counter-reset: step;
}

.steps-flow__step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-lg);
    background: linear-gradient(160deg, var(--surface-raised), var(--surface));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    text-align: center;
}

.steps-flow__icon {
    display: inline-grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: var(--radius-sm);
    background: rgba(56, 225, 212, 0.1);
    border: 1px solid rgba(56, 225, 212, 0.4);
    box-shadow: var(--glow-turquoise);
}

.steps-flow__label {
    font-weight: 800;
    font-size: 1.05rem;
}

.steps-flow__text {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

@media (min-width: 768px) {
    .steps-flow {
        flex-direction: row;
        align-items: stretch;
    }

    .steps-flow__step {
        flex: 1 1 0;
        justify-content: flex-start;
    }

    .steps-flow__step + .steps-flow__step::before {
        content: "";
        position: absolute;
        left: calc(-1 * var(--space-md));
        top: 50%;
        width: var(--space-md);
        height: 2px;
        background: linear-gradient(90deg, var(--turquoise), var(--gold));
        transform: translateY(-50%);
    }
}

/* Badge-Reihe */
.badge-row {
    list-style: none;
    margin: 0 0 var(--space-lg);
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.badge-row__item {
    padding: 0.45rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: rgba(38, 11, 72, 0.7);
    color: var(--muted-foreground);
    font-size: 0.88rem;
    font-weight: 600;
}

/* Status-Liste (belegt / zu prüfen / nicht bestätigt) */
.status-list {
    list-style: none;
    margin: 0 0 var(--space-lg);
    padding: 0;
}

.status-list__item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: var(--space-sm) var(--space-md) var(--space-sm) 2.6rem;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.status-list__item::before {
    content: "";
    position: absolute;
    left: var(--space-md);
    top: 1.05rem;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: var(--pending);
    box-shadow: 0 0 10px rgba(245, 197, 66, 0.6);
}

.status-list__item--ok::before {
    background: var(--ok);
    box-shadow: 0 0 10px rgba(61, 220, 151, 0.6);
}

.status-list__item--na::before {
    background: var(--na);
    box-shadow: none;
}

.status-list__label {
    font-weight: 700;
}

.status-list__text {
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

/* Vergleichstabelle */
.table-wrapper {
    max-width: 100%;
    overflow-x: auto;
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
}

.table-wrapper:focus-visible {
    outline: 3px solid var(--turquoise);
    outline-offset: 2px;
}

.comparison-table {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.comparison-table caption {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    font-weight: 700;
    color: var(--muted-foreground);
    border-bottom: 1px solid var(--border);
}

.comparison-table th,
.comparison-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border);
}

.comparison-table thead th {
    background: var(--surface-raised);
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--gold-strong);
    white-space: nowrap;
}

.comparison-table tbody th {
    font-weight: 700;
    color: var(--foreground);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.comparison-table .is-highlight {
    background: rgba(245, 197, 66, 0.09);
    box-shadow: inset 2px 0 0 var(--gold), inset -2px 0 0 var(--gold);
}

.comparison-table thead .is-highlight {
    color: var(--gold-strong);
}

/* Finales CTA-Band */
.final-cta {
    position: relative;
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background:
        radial-gradient(36rem 20rem at 50% 0%, rgba(138, 77, 255, 0.35), transparent 65%),
        radial-gradient(26rem 16rem at 88% 100%, rgba(245, 197, 66, 0.14), transparent 60%),
        linear-gradient(170deg, #2b0f56, var(--background-deep));
    border-top: 1px solid var(--border-gold);
}

.final-cta__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(2px 2px at 18% 26%, rgba(245, 197, 66, 0.7), transparent 60%),
        radial-gradient(2px 2px at 34% 70%, rgba(255, 255, 255, 0.5), transparent 60%),
        radial-gradient(2px 2px at 62% 18%, rgba(56, 225, 212, 0.6), transparent 60%),
        radial-gradient(2px 2px at 80% 58%, rgba(245, 197, 66, 0.55), transparent 60%),
        radial-gradient(2px 2px at 92% 30%, rgba(183, 140, 255, 0.7), transparent 60%);
}

.final-cta__inner {
    position: relative;
    text-align: center;
    max-width: 44rem;
}

.final-cta__inner h2 {
    margin-bottom: var(--space-sm);
}

.final-cta__text {
    margin-inline: auto;
    color: var(--muted-foreground);
}

.final-cta__note {
    margin: var(--space-md) auto 0;
    font-size: 0.85rem;
    color: var(--subtle-foreground);
}

/* Brotkrume */
.breadcrumb {
    margin-bottom: var(--space-lg);
}

.breadcrumb__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.88rem;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted-foreground);
}

.breadcrumb__item + .breadcrumb__item::before {
    content: "›";
    color: var(--gold);
}

.breadcrumb__item a {
    color: var(--turquoise);
    text-decoration: none;
}

.breadcrumb__item a:hover {
    text-decoration: underline;
}

/* ============================================
   11. FOOTER
   ============================================ */
.site-footer {
    position: relative;
    background: var(--background-deep);
    border-top: 1px solid var(--border-gold);
    padding-top: var(--space-2xl);
}

.site-footer__glow {
    position: absolute;
    inset: 0 0 auto;
    height: 14rem;
    pointer-events: none;
    background: radial-gradient(50rem 12rem at 50% 0%, rgba(138, 77, 255, 0.18), transparent 70%);
}

.site-footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    padding-bottom: var(--space-2xl);
}

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

@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1.3fr 0.8fr 1fr;
        gap: var(--space-2xl);
    }
}

.site-brand--footer {
    margin-bottom: var(--space-md);
}

.site-footer__brand-column p {
    color: var(--muted-foreground);
    font-size: 0.92rem;
    max-width: 26rem;
}

.site-footer h2 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-strong);
    margin-bottom: var(--space-md);
}

.site-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.site-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 600;
}

.site-footer__nav a:hover {
    color: var(--gold-strong);
}

.payment-marks {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.payment-mark {
    display: inline-grid;
    place-items: center;
    min-width: 2.6rem;
    height: 2.6rem;
    padding-inline: 0.5rem;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.05rem;
    border: 1px solid var(--border);
    background: var(--surface-raised);
}

.payment-mark--btc {
    color: #f7931a;
    border-color: rgba(247, 147, 26, 0.5);
}

.payment-mark--eth {
    color: #9fb6ff;
    border-color: rgba(159, 182, 255, 0.5);
}

.payment-mark--usdt {
    color: #4dd0b8;
    border-color: rgba(77, 208, 184, 0.5);
}

.payment-mark--age {
    color: var(--gold-strong);
    border-color: var(--border-gold);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.site-footer__license {
    font-size: 0.85rem;
    color: var(--muted-foreground);
    max-width: 26rem;
}

.site-footer__bottom {
    position: relative;
    padding-block: var(--space-lg);
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

@media (min-width: 768px) {
    .site-footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--space-lg);
    }
}

.site-footer__bottom p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--subtle-foreground);
}

/* ============================================
   12. ICONS (reine CSS-Kunst, Neon-Stil)
   ============================================ */
.feature-card__icon::before,
.trust-card__icon::before,
.steps-flow__icon::before {
    content: "";
    width: 1.5rem;
    height: 1.5rem;
    background: currentColor;
    color: var(--turquoise);
}

.trust-card--gold .trust-card__icon::before {
    color: var(--gold-strong);
}

/* Lampe */
.icon--lamp::before {
    background: currentColor;
    clip-path: polygon(8% 62%, 42% 62%, 50% 46%, 58% 62%, 92% 62%, 86% 78%, 56% 78%, 56% 88%, 44% 88%, 44% 78%, 14% 78%);
    border-radius: 40%;
}

/* Karten / Spiele */
.icon--cards::before {
    clip-path: polygon(15% 10%, 85% 10%, 85% 70%, 55% 90%, 15% 90%);
}

/* Münzen / Krypto */
.icon--coins::before {
    border-radius: 50%;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
}

/* Schild / Lizenz */
.icon--shield::before {
    clip-path: polygon(50% 0%, 95% 18%, 95% 55%, 50% 100%, 5% 55%, 5% 18%);
}

/* 18+ Kreis */
.icon--age::before {
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
}

/* Wallet */
.icon--wallet::before {
    clip-path: polygon(5% 22%, 95% 22%, 95% 88%, 5% 88%, 5% 22%, 20% 6%, 80% 6%, 80% 14%, 20% 14%);
}

/* Bonus-Prozent */
.icon--percent::before {
    clip-path: polygon(30% 8%, 42% 8%, 70% 92%, 58% 92%, 30% 8%, 8% 22%, 8% 42%, 28% 42%, 28% 22%, 72% 58%, 72% 78%, 92% 78%, 92% 58%);
}

/* Krone / VIP */
.icon--crown::before {
    clip-path: polygon(6% 88%, 94% 88%, 94% 34%, 68% 58%, 50% 12%, 32% 58%, 6% 34%);
}

/* Geschenk / Bonus */
.icon--gift::before {
    clip-path: polygon(12% 34%, 88% 34%, 88% 92%, 12% 92%, 12% 34%, 44% 34%, 30% 8%, 42% 4%, 50% 22%, 58% 4%, 70% 8%, 56% 34%);
}

/* Roulette / Live */
.icon--roulette::before {
    border-radius: 50%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%, 50% 0%, 50% 34%, 66% 50%, 50% 66%, 34% 50%);
}

/* Blitz / Schnelligkeit */
.icon--bolt::before {
    clip-path: polygon(58% 0%, 18% 58%, 44% 58%, 38% 100%, 82% 38%, 54% 38%);
}

/* Lupe / Prüfung */
.icon--search::before {
    clip-path: polygon(40% 4%, 62% 4%, 76% 18%, 76% 40%, 62% 54%, 40% 54%, 26% 40%, 26% 18%, 40% 4%, 62% 54%, 92% 84%, 84% 92%, 54% 62%);
}

/* ============================================
   13. SCROLL-REVEAL & REDUCED MOTION
   Nur JS-gesetzte .js-Klasse aktiviert den Startzustand.
   ============================================ */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
}

/* ============================================
   14. STARTSEITE: Galerie, Flush-Medien, Final-CTA-Split
   ============================================ */
.media-card--flush {
    margin-bottom: 0;
}

.game-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
    .game-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-lg);
    }
}

.final-cta__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .final-cta__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        gap: var(--space-2xl);
    }
}

.final-cta__inner--split {
    text-align: left;
    margin: 0;
}

.final-cta__inner--split .final-cta__text,
.final-cta__inner--split .final-cta__note {
    margin-inline: 0;
}

.final-cta__art {
    display: flex;
    justify-content: center;
}

.final-cta__art img {
    width: min(100%, 30rem);
    filter: drop-shadow(0 24px 44px rgba(5, 0, 24, 0.65)) drop-shadow(0 0 30px rgba(138, 77, 255, 0.3));
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
