/*
 * ALAWIN CASINO - Design System
 * Dunkles orientalisches Abenteuer-Theme mit Gold-, Violett- und Türkis-Neon.
 */

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --background: #0b0624;
    --background-2: #150b36;
    --background-3: #1d0f47;
    --surface: rgba(24, 14, 62, 0.72);
    --surface-strong: rgba(18, 10, 48, 0.92);
    --surface-soft: rgba(31, 18, 78, 0.55);
    --surface-glass: rgba(28, 16, 66, 0.5);

    --text: #f3eefa;
    --text-soft: #d8cfee;
    --text-muted: #b9acdc;
    --heading: #ffe7a8;

    --gold: #f6c85a;
    --gold-strong: #ffd97a;
    --gold-dark: #c9861a;
    --turquoise: #3ee6d6;
    --turquoise-soft: #7ef0e6;
    --violet: #9a68ff;
    --violet-soft: #c7a7ff;
    --magenta: #e063ff;
    --green: #49df9b;
    --red: #ff7f7f;

    --primary: var(--gold);
    --primary-foreground: #a06dcc;
    --secondary: var(--turquoise);
    --secondary-foreground: #0f9387;
    --accent: var(--violet);
    --accent-foreground: #f6efff;

    --border: rgba(255, 228, 160, 0.22);
    --border-strong: rgba(255, 228, 160, 0.4);
    --border-turquoise: rgba(62, 230, 214, 0.35);
    --shadow-lg: 0 24px 60px rgba(5, 2, 20, 0.55);
    --shadow-md: 0 14px 34px rgba(5, 2, 20, 0.42);
    --glow-gold: 0 0 0 1px rgba(255, 220, 140, 0.55), 0 0 24px rgba(255, 205, 100, 0.4), 0 0 60px rgba(62, 230, 214, 0.18);
    --glow-violet: 0 0 24px rgba(154, 104, 255, 0.35);
    --glow-turquoise: 0 0 24px rgba(62, 230, 214, 0.3);

    --container: 72rem;
    --space-2xs: 0.375rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4.5rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.9rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;

    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
    --font-display: "Sora", "Inter", "Segoe UI", sans-serif;
    --line-body: 1.7;
    --line-heading: 1.18;
}

/* ============================================
   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;
}

details {
    height: fit-content;
}

:where(p, li, blockquote, figcaption, dd, .prose, .seo-text, article)
  a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

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

section {
    overflow: clip;
}

/* ============================================
   BASE - Typografie & Hintergrund
   ============================================ */
html {
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(1100px 520px at 12% -10%, rgba(154, 104, 255, 0.24), transparent 60%),
        radial-gradient(900px 480px at 88% -6%, rgba(62, 230, 214, 0.16), transparent 60%),
        radial-gradient(1200px 800px at 50% 115%, rgba(255, 200, 90, 0.1), transparent 65%),
        linear-gradient(180deg, #0a0522 0%, #0e0730 48%, #0a0522 100%);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: var(--line-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(60% 38% at 0% 12%, rgba(62, 230, 214, 0.1), transparent 70%),
        radial-gradient(52% 40% at 100% 10%, rgba(224, 99, 255, 0.12), transparent 70%),
        repeating-linear-gradient(115deg, rgba(255, 230, 160, 0.024) 0 2px, transparent 2px 26px);
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: auto 0 0 0;
    height: 34vh;
    z-index: -1;
    background: linear-gradient(180deg, transparent, rgba(11, 6, 36, 0.9));
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--heading);
    line-height: var(--line-heading);
    margin: 0 0 var(--space-md);
    text-wrap: balance;
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(2rem, calc(4.4vw + 1.05rem), 3.6rem);
}

h2 {
    font-size: clamp(1.5rem, calc(2.3vw + 0.9rem), 2.45rem);
}

h3 {
    font-size: clamp(1.15rem, calc(1.3vw + 0.75rem), 1.55rem);
}

h4 {
    font-size: 1.08rem;
}

p {
    margin: 0 0 var(--space-md);
}

a {
    color: var(--turquoise-soft);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

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

ul, ol {
    margin: 0 0 var(--space-md);
    padding-left: 1.35rem;
}

li {
    margin-bottom: var(--space-2xs);
}

strong {
    color: var(--gold-strong);
}

small {
    font-size: 0.875rem;
}

img {
    display: block;
}

figure {
    margin: 0;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3.4vw, 2rem);
}

.prose,
.seo-text {
    max-width: 72ch;
}

.visually-hidden,
.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: 1rem;
    top: 0.5rem;
    z-index: 1100;
    transform: translateY(-160%);
    background: var(--gold);
    color: var(--primary-foreground);
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
}

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

:focus-visible {
    outline: 3px solid var(--turquoise);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================
   HEADER - Marke, Navigation, Aktionen
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 6, 36, 0.94);
    border-bottom: 1px solid rgba(255, 220, 140, 0.14);
    box-shadow: 0 10px 30px rgba(5, 2, 20, 0.35);
}

@media (min-width: 1024px) {
    .site-header {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        background: rgba(11, 6, 36, 0.78);
    }
}

.site-header__inner {
    width: 100%;
    max-width: 88rem;
    margin: 0 auto;
    padding: 0.7rem clamp(0.9rem, 2.6vw, 1.75rem);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.site-brand {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: var(--heading);
    text-decoration: none;
    line-height: 1.02;
    flex-shrink: 0;
}

.site-brand__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.3rem, calc(0.6vw + 1.15rem), 1.85rem);
    letter-spacing: 0.01em;
    background: linear-gradient(100deg, #ffe9ad 10%, #f6c85a 45%, #ff9d4d 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 26px rgba(246, 200, 90, 0.25);
}

.site-brand__subline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--turquoise);
    text-shadow: 0 0 14px rgba(62, 230, 214, 0.55);
}

.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    z-index: 1001;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--turquoise));
    transition: transform 0.25s ease, opacity 0.25s 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);
}

.primary-nav {
    display: none;
}

.primary-nav.is-open {
    display: block;
    position: fixed;
    top: 67px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: linear-gradient(180deg, #0d0730 0%, #150b3a 100%);
    border-top: 1px solid var(--border);
    overflow-y: auto;
    padding: var(--space-xl) clamp(1rem, 4vw, 2rem);
}

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

.primary-nav__list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 228, 160, 0.14);
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    background: rgba(31, 18, 78, 0.42);
}

.primary-nav__list a:hover,
.primary-nav__list a:focus-visible {
    color: var(--heading);
    border-color: var(--border-strong);
    background: rgba(51, 29, 110, 0.62);
}

.primary-nav__mobile-actions {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.site-header__actions {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    margin-left: auto;
    flex-shrink: 0;
}

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

    .primary-nav {
        display: block;
        position: static;
        margin-left: clamp(1rem, 3vw, 2.5rem);
    }

    .primary-nav__list {
        flex-direction: row;
        align-items: center;
        gap: clamp(0.25rem, 1vw, 0.75rem);
    }

    .primary-nav__list a {
        min-height: 44px;
        padding: 0.5rem 0.85rem;
        border: 0;
        background: transparent;
        border-radius: var(--radius-sm);
        white-space: nowrap;
    }

    .primary-nav__list a:hover,
    .primary-nav__list a:focus-visible {
        background: rgba(154, 104, 255, 0.14);
    }

    .primary-nav__mobile-actions {
        display: none;
    }

    .site-header__actions {
        display: flex;
    }
}

/* ============================================
   BUTTONS - Goldener Pfeil-CTA & Outline
   ============================================ */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xs);
    min-height: 48px;
    padding: 0.72rem 1.35rem;
    border-radius: 0.95rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    text-align: center;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0);
}

.button--primary {
    color: var(--primary-foreground);
    background: linear-gradient(135deg, #ffe9a8 0%, #f6c85a 46%, #ff9d4d 100%);
    box-shadow: var(--glow-gold);
    border-color: rgba(255, 236, 170, 0.75);
}

.button--primary:hover {
    color: var(--primary-foreground);
    box-shadow: 0 0 0 1px rgba(255, 220, 140, 0.8), 0 0 30px rgba(255, 205, 100, 0.55), 0 0 70px rgba(62, 230, 214, 0.25);
}

.button--outline {
    color: var(--turquoise-soft);
    background: rgba(24, 14, 62, 0.55);
    border-color: var(--border-turquoise);
}

.button--outline:hover {
    color: var(--heading);
    border-color: var(--border-strong);
    background: rgba(51, 29, 110, 0.72);
}

.button--ghost {
    color: var(--violet-soft);
    background: transparent;
    border-color: rgba(154, 104, 255, 0.45);
}

.button--ghost:hover {
    color: var(--accent-foreground);
    background: rgba(154, 104, 255, 0.2);
}

.button--compact {
    min-height: 42px;
    padding: 0.5rem 1rem;
    font-size: 0.92rem;
}

.button--large {
    min-height: 56px;
    padding: 0.9rem 1.9rem;
    font-size: 1.08rem;
}

/* ============================================
   HERO - Integrierter Vordergrund-Artwork-Bereich
   ============================================ */
.hero {
    position: relative;
    padding: clamp(2.4rem, 6vw, 4.5rem) 0 clamp(2.2rem, 5vw, 4rem);
    background:
        radial-gradient(52rem 30rem at 78% 18%, rgba(62, 230, 214, 0.2), transparent 62%),
        radial-gradient(44rem 30rem at 12% 8%, rgba(154, 104, 255, 0.24), transparent 62%),
        linear-gradient(180deg, rgba(21, 11, 54, 0.35), rgba(11, 6, 36, 0));
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 224, 150, 0.65), rgba(62, 230, 214, 0.5), transparent);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}

.hero__content {
    max-width: 62ch;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    margin: 0 0 var(--space-sm);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--border-turquoise);
    color: var(--turquoise-soft);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(62, 230, 214, 0.08);
    text-shadow: 0 0 12px rgba(62, 230, 214, 0.5);
}

.hero__lead {
    font-size: clamp(1.03rem, calc(0.4vw + 0.98rem), 1.18rem);
    color: var(--text-soft);
    max-width: 58ch;
}

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

.hero__art {
    position: relative;
    display: grid;
    place-items: end center;
    min-height: 280px;
}

.hero__art::before {
    content: "";
    position: absolute;
    inset: 8% 6%;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, rgba(154, 104, 255, 0.26), transparent 72%),
        radial-gradient(closest-side, rgba(62, 230, 214, 0.18), transparent 78%);
    filter: blur(2px);
}

.hero__art::after {
    content: "";
    position: absolute;
    inset: 14% 12%;
    border: 1px solid rgba(62, 230, 214, 0.32);
    border-radius: 50%;
    box-shadow: inset 0 0 46px rgba(62, 230, 214, 0.18), 0 0 46px rgba(154, 104, 255, 0.22);
}

.hero__art img {
    position: relative;
    z-index: 1;
    width: min(100%, 34rem);
    max-height: clamp(300px, 52vw, 540px);
    object-fit: contain;
    filter: drop-shadow(0 26px 46px rgba(4, 2, 16, 0.65)) drop-shadow(0 0 34px rgba(62, 230, 214, 0.16));
}

@media (min-width: 1024px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .hero__art {
        min-height: 430px;
    }
}

/* ============================================
   SECTIONS - Rhythmus, Split-Layouts
   ============================================ */
.section {
    position: relative;
    padding: clamp(2.6rem, 6vw, 4.8rem) 0;
}

.section--alt {
    background: linear-gradient(180deg, rgba(31, 18, 78, 0.4), rgba(21, 11, 54, 0.16));
    border-top: 1px solid rgba(255, 228, 160, 0.1);
    border-bottom: 1px solid rgba(255, 228, 160, 0.1);
}

.section__head {
    max-width: 76ch;
    margin-bottom: clamp(1.4rem, 3.4vw, 2.2rem);
}

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

.split {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.6rem);
    align-items: center;
}

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

    .split--media-first > .split__media {
        order: -1;
    }
}

.split__media {
    position: relative;
    display: grid;
    place-items: center;
}

.split__media img {
    width: min(100%, 32rem);
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(4, 2, 16, 0.55)) drop-shadow(0 0 26px rgba(154, 104, 255, 0.16));
}

/* ============================================
   GRIDS - Kartenraster (ausgewogene Zeilen)
   ============================================ */
.grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

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

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

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

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

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

/* ============================================
   CARDS - Oberflächen, Feature- & Kategorie-Karten
   ============================================ */
.card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(31, 18, 78, 0.66), rgba(18, 10, 48, 0.78));
    padding: clamp(1.1rem, 2.4vw, 1.6rem);
    box-shadow: var(--shadow-md);
}

.card--featured {
    border-color: var(--border-strong);
    background:
        radial-gradient(26rem 14rem at 20% 0%, rgba(255, 205, 100, 0.12), transparent 65%),
        linear-gradient(180deg, rgba(38, 22, 92, 0.74), rgba(20, 11, 54, 0.84));
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 224, 150, 0.16);
}

.feature-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(31, 18, 78, 0.62), rgba(18, 10, 48, 0.8));
    padding: clamp(1.1rem, 2.4vw, 1.5rem);
    box-shadow: var(--shadow-md);
}

.feature-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: var(--space-sm);
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(closest-side, rgba(255, 205, 100, 0.22), rgba(154, 104, 255, 0.12)),
        rgba(24, 14, 62, 0.8);
    color: var(--gold-strong);
    font-size: 1.4rem;
    box-shadow: var(--glow-turquoise);
}

.feature-card__title {
    margin-bottom: var(--space-xs);
    font-size: 1.12rem;
}

.feature-card__text {
    margin-bottom: var(--space-sm);
    color: var(--text-soft);
}

.feature-card__link {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.category-tile {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(31, 18, 78, 0.66), rgba(16, 9, 44, 0.9));
    box-shadow: var(--shadow-md);
}

.category-tile__media {
    aspect-ratio: 20 / 13;
    background:
        radial-gradient(60% 60% at 50% 40%, rgba(62, 230, 214, 0.16), transparent 70%),
        linear-gradient(180deg, rgba(24, 14, 62, 0.4), rgba(11, 6, 36, 0.9));
}

.category-tile__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tile__body {
    display: grid;
    gap: var(--space-sm);
    justify-items: start;
    padding: clamp(1.1rem, 2.6vw, 1.6rem);
}

.category-tile__title {
    margin: 0;
}

.category-tile__text {
    margin: 0;
    color: var(--text-soft);
}

/* ============================================
   STAT / TLDR / CALLOUT / QUOTE - Engagement-Blöcke
   ============================================ */
.stat-block {
    min-width: 0;
    display: grid;
    gap: var(--space-2xs);
    justify-items: start;
    padding: clamp(1rem, 2.2vw, 1.4rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(14rem 8rem at 18% 0%, rgba(255, 205, 100, 0.14), transparent 68%),
        linear-gradient(180deg, rgba(31, 18, 78, 0.68), rgba(18, 10, 48, 0.82));
    box-shadow: var(--shadow-md);
}

.stat-block__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.9rem, calc(2vw + 1.2rem), 2.7rem);
    line-height: 1.05;
    background: linear-gradient(100deg, #ffe9ad, #f6c85a 55%, #ff9d4d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-block__label {
    font-weight: 700;
    color: var(--text);
}

.stat-block__note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.tldr-box {
    border: 1px solid var(--border-turquoise);
    border-left: 4px solid var(--turquoise);
    border-radius: var(--radius-md);
    background:
        radial-gradient(30rem 12rem at 12% 0%, rgba(62, 230, 214, 0.1), transparent 70%),
        rgba(24, 14, 62, 0.72);
    padding: clamp(1rem, 2.4vw, 1.4rem);
    margin: 0 0 var(--space-lg);
}

.tldr-box__title {
    margin: 0 0 var(--space-xs);
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--turquoise-soft);
    letter-spacing: 0.02em;
}

.tldr-box__content :last-child {
    margin-bottom: 0;
}

.callout-box {
    border-radius: var(--radius-md);
    padding: clamp(1rem, 2.4vw, 1.4rem);
    margin: var(--space-lg) 0;
    border: 1px solid var(--border);
    background: rgba(24, 14, 62, 0.7);
}

.callout-box--tip {
    border-left: 4px solid var(--green);
}

.callout-box--warning {
    border-left: 4px solid var(--gold);
    background:
        radial-gradient(26rem 12rem at 10% 0%, rgba(255, 205, 100, 0.12), transparent 70%),
        rgba(24, 14, 62, 0.7);
}

.callout-box__title {
    margin: 0 0 var(--space-xs);
    font-weight: 800;
    color: var(--heading);
}

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

.pull-quote {
    margin: var(--space-xl) 0;
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background:
        radial-gradient(28rem 16rem at 84% 0%, rgba(154, 104, 255, 0.16), transparent 70%),
        linear-gradient(180deg, rgba(31, 18, 78, 0.7), rgba(18, 10, 48, 0.86));
    box-shadow: var(--glow-violet);
}

.pull-quote__text {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, calc(1vw + 1rem), 1.65rem);
    line-height: 1.4;
    color: var(--heading);
}

.pull-quote__cite {
    margin-top: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   FAQ / DETAILS - Native Akkordeons
   ============================================ */
.faq-group {
    display: grid;
    gap: var(--space-sm);
    align-items: start;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(31, 18, 78, 0.6), rgba(18, 10, 48, 0.78));
    overflow: hidden;
}

.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    min-height: 52px;
    padding: 0.85rem 1.05rem;
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    color: var(--text);
}

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

.faq-item__question::after {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__question::after {
    transform: rotate(225deg);
}

.faq-item__question:hover {
    color: var(--heading);
}

.faq-item__answer {
    padding: 0 1.05rem 1.05rem;
    color: var(--text-soft);
}

.faq-item__answer :last-child {
    margin-bottom: 0;
}

/* ============================================
   PAYMENT PILLS / TRUST BADGES
   ============================================ */
.payment-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.payment-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(24, 14, 62, 0.7);
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.88rem;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-md);
    list-style: none;
    margin: var(--space-md) 0;
    padding: 0;
}

.trust-badges li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    min-height: 40px;
    margin: 0;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-muted);
    background: rgba(18, 10, 48, 0.7);
    font-weight: 600;
    font-size: 0.9rem;
}

.trust-badges li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--turquoise), var(--gold));
    box-shadow: 0 0 10px rgba(62, 230, 214, 0.6);
}

/* ============================================
   TABLES - Vergleichs- und Regel-Tabellen
   ============================================ */
.table-wrapper {
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    margin: var(--space-lg) 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(18, 10, 48, 0.7);
}

.table-wrapper table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.96rem;
}

.table-wrapper th,
.table-wrapper td {
    padding: 0.8rem 0.95rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 228, 160, 0.12);
    vertical-align: top;
}

.table-wrapper thead th {
    font-family: var(--font-display);
    color: var(--heading);
    background: rgba(51, 29, 110, 0.55);
}

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

.table-wrapper .is-recommended {
    background: linear-gradient(180deg, rgba(255, 205, 100, 0.16), rgba(255, 205, 100, 0.06));
    color: var(--gold-strong);
    font-weight: 700;
}

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

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs) var(--space-sm);
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin: 0;
    color: var(--text-muted);
}

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

.breadcrumb a {
    color: var(--text-soft);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.breadcrumb [aria-current="page"] {
    color: var(--heading);
    font-weight: 700;
}

/* ============================================
   FINAL CTA - Abschlussband
   ============================================ */
.final-cta {
    position: relative;
    padding: clamp(2.8rem, 7vw, 5.5rem) 0;
    background:
        radial-gradient(46rem 26rem at 80% 20%, rgba(62, 230, 214, 0.16), transparent 65%),
        radial-gradient(40rem 24rem at 14% 10%, rgba(255, 205, 100, 0.14), transparent 62%),
        linear-gradient(180deg, rgba(29, 15, 71, 0.72), rgba(13, 7, 38, 0.96));
    border-top: 1px solid rgba(255, 224, 150, 0.22);
    border-bottom: 1px solid rgba(255, 224, 150, 0.22);
}

.final-cta__inner {
    display: grid;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}

.final-cta__media img {
    width: min(100%, 30rem);
    margin-inline: auto;
    object-fit: contain;
    filter: drop-shadow(0 22px 42px rgba(4, 2, 16, 0.6));
}

.final-cta__content {
    max-width: 60ch;
}

.final-cta__content p {
    color: var(--text-soft);
}

.final-cta__note {
    margin-top: var(--space-sm);
    font-size: 0.92rem;
    color: var(--text-muted);
}

@media (min-width: 1024px) {
    .final-cta__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    }
}

/* ============================================
   FOOTER - Links, Prüfpunkte, 18+
   ============================================ */
.site-footer {
    position: relative;
    padding: clamp(2.2rem, 5vw, 3.4rem) 0 var(--space-xl);
    background:
        radial-gradient(50rem 20rem at 50% 0%, rgba(154, 104, 255, 0.12), transparent 70%),
        linear-gradient(180deg, #0c0728, #08041c);
}

.site-footer__ornament {
    height: 3px;
    margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
    background: linear-gradient(90deg, transparent, rgba(255, 224, 150, 0.7), rgba(62, 230, 214, 0.55), transparent);
}

.site-footer__grid {
    display: grid;
    gap: var(--space-xl);
}

.site-footer__brand-block p,
.site-footer__info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.site-footer__nav h2,
.site-footer__info h2 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
}

.site-footer__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-xs);
}

.site-footer__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    color: var(--text-soft);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

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

.site-footer__info .payment-pills {
    margin-bottom: var(--space-md);
}

.site-footer__legal {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 228, 160, 0.12);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.site-footer__legal p {
    margin-bottom: var(--space-xs);
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: var(--space-sm);
    border: 2px solid var(--red);
    border-radius: 50%;
    color: var(--red);
    font-family: var(--font-display);
    font-weight: 800;
    box-shadow: 0 0 18px rgba(255, 127, 127, 0.3);
}

@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.2fr 0.8fr 1fr;
    }
}

/* ============================================
   SCROLL-REVEAL - Nur per JS aktivierte Enhancement
   ============================================ */
.js-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .js-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================
   MICRO-DECOR - Orientalische Goldlinien
   ============================================ */
.gold-divider {
    height: 3px;
    margin: 0 auto;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 224, 150, 0.75), rgba(62, 230, 214, 0.5), transparent);
}

/* ============================================
   SITEMAP LIST - Verzeichnis der Seiten
   ============================================ */
.sitemap-list {
    display: grid;
    gap: var(--space-lg);
}

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

.sitemap-list__item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sitemap-list__item h3 {
    margin: 0;
    font-size: 1.15rem;
}

.sitemap-list__item h3 a {
    color: var(--heading);
    text-decoration: none;
    transition: color 0.18s ease;
}

.sitemap-list__item h3 a:hover {
    color: var(--gold-strong);
}

.sitemap-list__item p {
    margin: 0;
    color: var(--text-soft);
    flex-grow: 1;
}

.sitemap-list__url {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--turquoise);
    letter-spacing: 0.02em;
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--border-turquoise);
    border-radius: var(--radius-sm);
    background: rgba(62, 230, 214, 0.06);
    align-self: flex-start;
}
