/*
 * CASINA CASINO - DESIGN SYSTEM
 * Premium nocturnal corrida: dark basalt, crimson silk, gold embroidery.
 * Single fixed dark theme - no switcher.
 * Fonts: Cinzel (display) + Manrope (body)
 */

/* ============================================
   CSS VARIABLES - Design tokens
   Warm near-black basalt with oxblood undertone
   ============================================ */
:root {
    --background: #140f12;
    --foreground: #f5efe4;
    --card: #231a20;
    --card-foreground: #f5efe4;
    --popover: #1c1419;
    --popover-foreground: #f5efe4;
    --primary: #e2b13c;
    --primary-foreground: #1c1210;
    --secondary: #9e1f32;
    --secondary-foreground: #faf5ec;
    --muted: #2c2126;
    --muted-foreground: #c9bfb2;
    --accent: #7e1a2a;
    --accent-foreground: #faf5ec;
    --destructive: #c23934;
    --destructive-foreground: #faf5ec;
    --border: #6e5a43;
    --input: #1e161b;
    --ring: #f2c14e;

    --header-height: 64px;
    --max-width: 1180px;
    --font-display: "Cinzel", serif;
    --font-body: "Manrope", sans-serif;
}

.dark {
    --background: #140f12;
    --foreground: #f5efe4;
    --card: #231a20;
    --card-foreground: #f5efe4;
    --popover: #1c1419;
    --popover-foreground: #f5efe4;
    --primary: #e2b13c;
    --primary-foreground: #1c1210;
    --secondary: #9e1f32;
    --secondary-foreground: #faf5ec;
    --muted: #2c2126;
    --muted-foreground: #c9bfb2;
    --accent: #7e1a2a;
    --accent-foreground: #faf5ec;
    --destructive: #c23934;
    --destructive-foreground: #faf5ec;
    --border: #6e5a43;
    --input: #1e161b;
    --ring: #f2c14e;
}

/* ============================================
   BASE RESET & TYPOGRAPHY
   Mobile-first: 16px body, 1.58 line-height
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.58;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em 0;
    font-family: var(--font-display);
    color: var(--foreground);
    line-height: 1.2;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
}

h2 {
    font-size: 26px;
    font-weight: 600;
}

h3 {
    font-size: 21px;
    font-weight: 500;
    line-height: 1.3;
}

h4 {
    font-size: 18px;
    font-weight: 600;
}

p {
    margin: 0 0 1em 0;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

img {
    display: block;
}

button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
}

section {
    overflow: clip;
}

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

:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   LAYOUT CONTAINERS
   1180px max-width for text and cards
   Section rhythm: 64px mobile, 96px desktop
   ============================================ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section {
    padding: 64px 0;
}

@media (min-width: 1024px) {
    .section {
        padding: 96px 0;
    }
}

.section--alt {
    background: var(--popover);
}

.section__header {
    margin-bottom: 40px;
    max-width: 68ch;
}

.section__content {
    margin-top: 40px;
}

/* ============================================
   SKIP LINK - Accessibility
   ============================================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 12px 24px;
    z-index: 10000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 0 0 8px 0;
    transition: top 200ms ease-out;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   HEADER & NAVIGATION
   Sticky compact header with brand, nav, actions
   Mobile/tablet: hamburger opens full-height drawer
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

@media (min-width: 768px) {
    .header-inner {
        padding: 0 32px;
    }
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--foreground);
    flex-shrink: 0;
}

.site-brand:hover {
    text-decoration: none;
}

.brand-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.site-brand__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--foreground);
}

/* Primary nav - hidden on mobile/tablet, drawer when open */
.primary-nav {
    display: none;
}

.primary-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    z-index: 999;
    overflow-y: auto;
    padding: 24px 20px;
    gap: 24px;
}

.primary-nav.is-open .nav-list {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0;
}

.primary-nav.is-open .nav-list li {
    border-bottom: 1px solid var(--border);
}

.primary-nav.is-open .nav-list a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 0;
    color: var(--foreground);
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
}

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

.primary-nav.is-open .nav-actions .btn {
    width: 100%;
    justify-content: center;
}

/* Hamburger toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: transform 180ms ease-out, opacity 180ms ease-out;
    margin: 0 auto;
}

.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);
}

/* Desktop navigation */
@media (min-width: 1024px) {
    .primary-nav {
        display: flex;
        align-items: center;
        gap: 32px;
        position: static;
        flex-direction: row;
        padding: 0;
        background: none;
        overflow: visible;
    }

    .primary-nav.is-open {
        position: static;
        flex-direction: row;
        padding: 0;
        background: none;
        overflow: visible;
    }

    .nav-list {
        display: flex;
        gap: 28px;
        list-style: none;
    }

    .nav-list a {
        color: var(--muted-foreground);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: color 180ms ease-out;
    }

    .nav-list a:hover {
        color: var(--primary);
        text-decoration: none;
    }

    .nav-actions {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .menu-toggle {
        display: none;
    }
}

/* ============================================
   FOOTER
   4 columns desktop, stacked on mobile
   Contains internal links, legal, payments, sitemap
   ============================================ */
.site-footer {
    background: var(--popover);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    margin-top: auto;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

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

@media (min-width: 1024px) {
    .footer-inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    color: var(--muted-foreground);
    font-size: 14px;
    line-height: 1.5;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 180ms ease-out;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: none;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payment-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-foreground);
    min-height: 32px;
}

.footer-copy {
    margin-top: 20px;
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   BUTTONS
   Gold primary with shine sweep, ghost secondary
   Min 44px touch height, 180ms transitions
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: background 180ms ease-out, box-shadow 180ms ease-out,
                transform 180ms ease-out, border-color 180ms ease-out,
                color 180ms ease-out;
    min-height: 44px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    text-decoration: none;
}

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

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    transition: left 600ms ease-out;
    pointer-events: none;
}

.btn-primary:hover {
    background: #f2c14e;
    box-shadow: 0 0 24px rgba(226, 177, 60, 0.35);
    transform: translateY(-1px);
}

.btn-primary:hover::before {
    left: 150%;
}

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

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

/* ============================================
   HERO SECTIONS
   Full-bleed dark hero with radial arena glow,
   diagonal muleta slash at -12 degrees
   ============================================ */
.hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: clip;
    padding: 64px 0;
}

@media (min-width: 768px) {
    .hero {
        min-height: 600px;
    }
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(20, 15, 18, 0.92) 0%, rgba(20, 15, 18, 0.7) 50%, rgba(20, 15, 18, 0.95) 100%);
    z-index: 1;
}

.hero__slash {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary) 30%, var(--primary) 70%, transparent);
    transform: rotate(-12deg);
    transform-origin: center;
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

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

.hero__title {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--foreground);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 20ch;
}

@media (min-width: 768px) {
    .hero__title {
        font-size: 46px;
    }
}

.hero__subtitle {
    color: var(--muted-foreground);
    font-size: 17px;
    line-height: 1.58;
    margin-bottom: 32px;
    max-width: 50ch;
}

.hero__cta {
    margin-top: 32px;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

/* ============================================
   SECTION HEADINGS
   Eyebrow labels, Cinzel headings, Manrope subtitles
   ============================================ */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-heading {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.2;
    margin-bottom: 16px;
}

@media (min-width: 1024px) {
    .section-heading {
        font-size: 34px;
    }
}

.section-subtitle {
    color: var(--muted-foreground);
    font-size: 17px;
    line-height: 1.58;
    margin-bottom: 40px;
    max-width: 68ch;
}

/* ============================================
   INFO CARDS
   Charcoal-plum surface, smoky bronze border
   Diagonal crimson slash on corner, lifts on hover
   ============================================ */
.info-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

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

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

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

.info-card-grid--5 {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent);
}

.info-card-grid--5 .info-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

@media (min-width: 1024px) {
    .info-card-grid--5 {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .info-card-grid--5 .info-card {
        flex: none;
    }
}

.info-card {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out,
                border-color 200ms ease-out;
    min-width: 0;
}

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

.info-card__slash {
    position: absolute;
    top: 20px;
    right: -30px;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: rotate(-12deg);
    transform-origin: center;
    opacity: 0.5;
    transition: opacity 200ms ease-out;
    pointer-events: none;
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(226, 177, 60, 0.12);
}

.info-card:hover .info-card__slash {
    opacity: 1;
}

.info-card__media {
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
}

.info-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card__icon {
    margin-bottom: 16px;
    color: var(--primary);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card__icon svg {
    width: 100%;
    height: 100%;
}

.info-card__icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.info-card__title {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 12px;
    line-height: 1.3;
}

.info-card__number {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.1;
}

.info-card__desc {
    color: var(--muted-foreground);
    line-height: 1.58;
    font-size: 16px;
    margin: 0;
}

.info-card__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 16px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.info-card__link:hover {
    text-decoration: underline;
}

/* ============================================
   CTA BANNER
   Full-bleed dark band, radial arena glow,
   diagonal muleta slash, gold button
   ============================================ */
.cta-banner {
    position: relative;
    padding: 64px 0;
    text-align: center;
    overflow: clip;
    background: var(--background);
}

.cta-banner__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    max-width: 100%;
    background: radial-gradient(circle, rgba(158, 31, 50, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner__slash {
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--secondary), var(--primary), transparent);
    transform: rotate(-12deg);
    transform-origin: center;
    pointer-events: none;
    opacity: 0.4;
}

.cta-banner__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-banner__headline {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 16px;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .cta-banner__headline {
        font-size: 40px;
    }
}

.cta-banner__subtext {
    color: var(--muted-foreground);
    font-size: 17px;
    line-height: 1.58;
    margin-bottom: 32px;
}

.cta-banner__micro {
    margin-top: 20px;
    font-size: 13px;
    color: var(--muted-foreground);
}

/* ============================================
   FAQ ACCORDION
   Native <details> with styled horn icon
   Crimson slash on left of open row
   ============================================ */
.faq-accordion {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: border-color 200ms ease-out;
}

.faq-item[open] {
    border-color: var(--secondary);
}

.faq-item[open]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--secondary);
    z-index: 1;
}

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

@media (min-width: 1024px) {
    .faq-item__question {
        padding: 28px;
    }
}

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

.faq-item__question {
    list-style: none;
}

.faq-item__icon {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 200ms ease-out;
}

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

.faq-item__answer {
    padding: 0 20px 20px;
    color: var(--muted-foreground);
    line-height: 1.58;
    font-size: 16px;
}

@media (min-width: 1024px) {
    .faq-item__answer {
        padding: 0 28px 28px;
    }
}

.faq-item__answer p {
    margin: 0;
}

/* ============================================
   SPLIT LAYOUT
   Two-column text + media, reverses on --reverse
   ============================================ */
.split-layout {
    display: grid;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

.split-layout__media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.split-layout__media img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .split-layout--reverse .split-layout__text {
        order: 2;
    }
}

/* ============================================
   GAME GRID
   Thumbnail grid with zoom on hover
   ============================================ */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

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

.game-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--card);
    aspect-ratio: 3 / 4;
}

.game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 200ms ease-out;
}

.game-thumb:hover img {
    transform: scale(1.04);
}

.game-thumb__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(transparent, rgba(20, 15, 18, 0.9));
    color: var(--foreground);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 200ms ease-out;
}

.game-thumb:hover .game-thumb__label {
    opacity: 1;
}

/* ============================================
   ENGAGEMENT PATTERNS
   TL;DR box, callout, stat highlight, pull quote, badge
   ============================================ */
.tldr-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
}

.tldr-box__title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.callout {
    background: rgba(158, 31, 50, 0.1);
    border: 1px solid var(--secondary);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 32px 0;
}

.callout__title {
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 8px;
}

.stat-highlight {
    text-align: center;
    padding: 24px;
}

.stat-highlight__number {
    font-family: var(--font-body);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-highlight__label {
    margin-top: 8px;
    color: var(--muted-foreground);
    font-size: 15px;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

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

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

.pull-quote {
    border-left: 3px solid var(--primary);
    padding: 20px 0 20px 32px;
    margin: 40px 0;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--foreground);
}

.pull-quote__cite {
    display: block;
    margin-top: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--muted-foreground);
    font-style: normal;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    background: var(--muted);
    color: var(--muted-foreground);
    border: 1px solid var(--border);
}

.badge--gold {
    background: rgba(226, 177, 60, 0.15);
    color: var(--primary);
    border-color: var(--primary);
}

.badge--crimson {
    background: rgba(158, 31, 50, 0.15);
    color: var(--secondary);
    border-color: var(--secondary);
}

/* ============================================
   TIME TRACK
   Mini timeline bar for processing-time cards
   Gradient crimson-to-gold fill on muted track
   ============================================ */
.time-track {
    height: 6px;
    background: var(--muted);
    border-radius: 100px;
    overflow: hidden;
    margin: 4px 0 16px;
}

.time-track__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 100px;
}

/* ============================================
   TRUST BADGES & PAYMENT ROW
   Horizontal arrangement of logos and trust signals
   ============================================ */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
}

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

.payment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.payment-row__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted-foreground);
    background: var(--card);
}

/* ============================================
   TABLES
   Scrollable wrapper, styled data tables
   ============================================ */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 15px;
}

.data-table th {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary);
    background: var(--card);
}

.data-table td {
    color: var(--muted-foreground);
}

.data-table tr:hover td {
    color: var(--foreground);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

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

.comparison-table th {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--primary);
}

.comparison-table .col-highlight {
    background: rgba(226, 177, 60, 0.08);
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}

/* ============================================
   PROSE CONTENT
   Styled content blocks for SEO text
   Max 68ch line length, Manrope body
   ============================================ */
.prose {
    max-width: 68ch;
}

.prose > * + * {
    margin-top: 1em;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--foreground);
    margin-top: 2em;
    margin-bottom: 0.6em;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .prose h2 {
        font-size: 34px;
    }
}

.prose h3 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 500;
    color: var(--foreground);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.3;
}

@media (min-width: 1024px) {
    .prose h3 {
        font-size: 26px;
    }
}

.prose p {
    color: var(--muted-foreground);
    line-height: 1.58;
    font-size: 16px;
}

@media (min-width: 1024px) {
    .prose p {
        font-size: 17px;
    }
}

.prose a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

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

.prose strong {
    color: var(--foreground);
    font-weight: 700;
}

.prose ul, .prose ol {
    padding-left: 1.5em;
    color: var(--muted-foreground);
}

.prose li {
    margin-bottom: 0.5em;
    line-height: 1.58;
}

/* ============================================
   SITEMAP LIST
   Styled page list for Seitenübersicht
   Ivory links, gold hover, crimson slash marker
   ============================================ */
.sitemap-list {
    list-style: none;
    padding-left: 0;
}

.sitemap-list__item {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 200ms ease-out, border-color 200ms ease-out,
                box-shadow 200ms ease-out;
}

@media (min-width: 1024px) {
    .sitemap-list__item {
        padding: 28px;
    }
}

.sitemap-list__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary), var(--primary));
    border-radius: 12px 0 0 12px;
    opacity: 0.7;
}

.sitemap-list__item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(226, 177, 60, 0.12);
}

.sitemap-list__item h3 {
    margin-bottom: 8px;
}

.sitemap-list__item h3 a {
    color: var(--foreground);
    text-decoration: none;
    transition: color 180ms ease-out;
}

.sitemap-list__item h3 a:hover {
    color: var(--primary);
    text-decoration: none;
}

.sitemap-list__item p {
    margin: 0;
    max-width: 68ch;
}

/* ============================================
   ANIMATIONS
   Scroll-triggered fade-up with stagger
   Reduced-motion users get instant states
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

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

.animate-on-scroll:nth-child(2) {
    transition-delay: 60ms;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 120ms;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 180ms;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--primary);
}

.text-crimson {
    color: var(--secondary);
}

.number-fact {
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--primary);
}

.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;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

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

/* ============================================
   OVERFLOW SAFETY
   Prevent horizontal scroll on all viewports
   ============================================ */
[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%;
}

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