/* ============================================
   MARTIN CASINO - Noir 1930s Design System
   Detective parrot. Rain. Venetian blinds. Neon.
   ============================================ */

:root {
    /* Single dark noir theme - no light variant per brief */
    --background: #0a0e1a;       /* midnight indigo */
    --surface: #131826;          /* card surface */
    --surface-2: #1a2032;        /* elevated surface */
    --foreground: #f5ede0;       /* bone white */
    --muted: #1f2433;
    --muted-foreground: #a6adbf; /* >=4.5:1 on --background */
    --border: #2a3142;
    --border-strong: #3a4358;

    --primary: #2563eb;          /* cobalt neon */
    --primary-foreground: #ffffff;
    --primary-glow: rgba(37, 99, 235, 0.45);

    --secondary: #fb923c;        /* tangerine neon */
    --secondary-foreground: #0a0e1a;
    --secondary-glow: rgba(251, 146, 60, 0.55);

    --accent: #22d3ee;           /* luminous cyan rain reflection */
    --accent-foreground: #0a0e1a;

    --destructive: #f43f5e;
    --destructive-foreground: #000000;

    /* Typography */
    --font-display: "Limelight", "Georgia", serif;
    --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;

    /* Spacing rhythm (8px base) */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 40px;
    --space-2xl: 64px;
    --space-3xl: 96px;

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;

    /* Motion */
    --ease-noir: cubic-bezier(0.2, 0.8, 0.2, 1);
    --dur: 280ms;

    --container: 1200px;
    --header-h: 72px;
}

/* ============================================
   BASE RESET & OVERFLOW SAFETY
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.noir-body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(ellipse at top, rgba(37, 99, 235, 0.08), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(251, 146, 60, 0.05), transparent 55%);
}

img, video, iframe, 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 { overflow-wrap: break-word; }
input, textarea, select { max-width: 100%; }
section { overflow: clip; }

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--secondary);
    color: var(--secondary-foreground);
    padding: 12px 20px;
    font-weight: 700;
    z-index: 9999;
    text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ============================================
   TYPOGRAPHY - Limelight headings, Inter Tight body
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--foreground);
    line-height: 1.15;
    letter-spacing: 0.04em;
    margin: 0 0 var(--space-md);
    font-weight: 400;
}
h1 { font-size: clamp(30px, 5.5vw, 44px); }
h2 { font-size: clamp(24px, 4vw, 34px); }
h3 { font-size: clamp(20px, 2.4vw, 24px); }
h4 { font-size: 18px; }

p { margin: 0 0 var(--space-md); }
small { font-size: 14px; color: var(--muted-foreground); }

a {
    color: var(--accent);
    text-decoration-color: rgba(34, 211, 238, 0.4);
    text-underline-offset: 3px;
    transition: color var(--dur) var(--ease-noir);
}
a:hover { color: var(--secondary); }

.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }

/* Pull quote - case-file annotation */
blockquote, .pull-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(20px, 3vw, 26px);
    line-height: 1.4;
    color: var(--foreground);
    border-left: 3px solid var(--secondary);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-xl) 0;
    background: linear-gradient(90deg, rgba(251, 146, 60, 0.06), transparent);
}
blockquote cite, .pull-quote cite {
    display: block;
    font-family: var(--font-body);
    font-style: normal;
    font-size: 14px;
    color: var(--muted-foreground);
    margin-top: var(--space-sm);
}

/* ============================================
   LAYOUT - Containers, sections
   ============================================ */
.container-noir, .container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}
.max-w-1200 { max-width: var(--container); }

section.page-section,
.page-section {
    padding: var(--space-2xl) 0;
}
@media (min-width: 1024px) {
    .page-section { padding: var(--space-3xl) 0; }
}

/* Venetian blind shadow overlay - applies as ::before on sections that want it */
.blind-stripes {
    position: relative;
}
.blind-stripes::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        110deg,
        transparent 0,
        transparent 28px,
        rgba(0, 0, 0, 0.35) 28px,
        rgba(0, 0, 0, 0.35) 32px
    );
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.blind-stripes > * { position: relative; z-index: 1; }

/* Rain overlay - body-fixed decorative layer */
.rain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        repeating-linear-gradient(
            96deg,
            transparent 0,
            transparent 6px,
            rgba(173, 200, 230, 0.025) 6px,
            rgba(173, 200, 230, 0.025) 7px
        );
    mix-blend-mode: screen;
    opacity: 0.6;
}

/* Neon-blue parrot section marker */
.parrot-marker {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: var(--space-sm);
    vertical-align: middle;
    background: var(--primary);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 2c-3 0-5 2-6 4-2 0-4 2-4 4 0 1 1 2 2 2v1c0 4 3 7 7 7 1 0 2-1 2-2v-3c2-1 3-3 3-5 0-1 1-2 1-3 0-3-2-5-5-5zm-1 6a1 1 0 110 2 1 1 0 010-2z'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 2c-3 0-5 2-6 4-2 0-4 2-4 4 0 1 1 2 2 2v1c0 4 3 7 7 7 1 0 2-1 2-2v-3c2-1 3-3 3-5 0-1 1-2 1-3 0-3-2-5-5-5zm-1 6a1 1 0 110 2 1 1 0 010-2z'/></svg>") center/contain no-repeat;
    filter: drop-shadow(0 0 6px var(--primary-glow));
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.88);
    border-bottom: 1px solid var(--border);
    min-height: var(--header-h);
}
@media (min-width: 768px) {
    .site-header { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
}

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

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.06em;
    flex-shrink: 0;
}
.site-brand .logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #1e3a8a);
    padding: 4px;
    box-shadow: 0 0 14px var(--primary-glow);
}
.brand-text em {
    font-style: normal;
    color: var(--secondary);
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--space-lg);
}
.nav-list a {
    color: var(--foreground);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 8px 4px;
    border-bottom: 2px solid transparent;
    transition: color var(--dur) var(--ease-noir), border-color var(--dur) var(--ease-noir);
}
.nav-list a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.nav-actions {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--foreground);
    transition: transform var(--dur) var(--ease-noir), opacity var(--dur);
}
.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);
}

/* Mobile nav */
@media (max-width: 1023px) {
    .menu-toggle { display: flex; }
    .primary-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--background);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: var(--space-xl) var(--space-lg);
        overflow-y: auto;
        z-index: 999;
        border-top: 1px solid var(--border);
    }
    .primary-nav.is-open { display: flex; }
    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .nav-list li { border-bottom: 1px solid var(--border); }
    .nav-list a {
        display: flex;
        align-items: center;
        min-height: 56px;
        font-size: 18px;
    }
    .nav-actions {
        margin-top: var(--space-lg);
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
        width: 100%;
    }
    .nav-actions .btn { width: 100%; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    min-height: 48px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform var(--dur) var(--ease-noir), box-shadow var(--dur) var(--ease-noir), background var(--dur) var(--ease-noir);
    white-space: nowrap;
}
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 13px; }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 17px; }

.btn-neon {
    background: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: 0 0 0 1px var(--secondary), 0 6px 20px -8px var(--secondary-glow);
}
.btn-neon:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px var(--secondary), 0 12px 30px -6px var(--secondary-glow), 0 0 20px var(--secondary-glow);
}
.btn-neon:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-ghost {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border-strong);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary-foreground);
    background: rgba(37, 99, 235, 0.15);
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: 0 6px 20px -8px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -6px var(--primary-glow), 0 0 20px var(--primary-glow);
}

/* ============================================
   INFO CARDS - universal pattern
   ============================================ */
.info-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}
@media (min-width: 768px) {
    .info-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .info-card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .info-card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.info-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
    transition: transform var(--dur) var(--ease-noir), border-color var(--dur) var(--ease-noir), box-shadow var(--dur) var(--ease-noir);
}
.info-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        110deg, transparent 0, transparent 40px,
        rgba(0, 0, 0, 0.25) 40px, rgba(0, 0, 0, 0.25) 44px
    );
    opacity: 0.18;
    pointer-events: none;
}
.info-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary);
    box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.7), 0 0 24px -6px var(--secondary-glow);
}
.info-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--muted);
}
.info-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 600ms var(--ease-noir);
}
.info-card:hover .info-card-media img { transform: scale(1.04); }
.info-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 2px;
    z-index: 2;
    text-transform: uppercase;
}
.blind-sweep {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        110deg, transparent 0, transparent 30px,
        rgba(0, 0, 0, 0.5) 30px, rgba(0, 0, 0, 0.5) 34px
    );
    transform: translateX(-100%);
    transition: transform 700ms var(--ease-noir);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}
.info-card:hover .blind-sweep { transform: translateX(100%); }

.info-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) { .info-card-body { padding: 28px; } }

.info-card-meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}
.info-card-title {
    font-family: var(--font-display);
    color: var(--primary-foreground);
    margin: 0;
    font-size: 22px;
    letter-spacing: 0.04em;
    line-height: 1.2;
}
.info-card-title { color: #93c5fd; } /* cobalt readable on indigo */
.info-card-desc {
    color: var(--foreground);
    font-size: 15px;
    margin: 0;
    flex: 1;
}
.info-card-link {
    margin-top: auto;
    align-self: flex-start;
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-decoration: none;
}
.info-card-link:hover { color: var(--accent); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    position: relative;
    background: linear-gradient(180deg, #060912, #0a0e1a 60%, #060912);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    overflow: hidden;
}
@media (min-width: 1024px) { .cta-banner { padding: var(--space-3xl) var(--space-lg); } }
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        110deg, transparent 0, transparent 36px,
        rgba(0, 0, 0, 0.45) 36px, rgba(0, 0, 0, 0.45) 40px
    );
    opacity: 0.4;
    pointer-events: none;
}
.cta-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        96deg, transparent 0, transparent 5px,
        rgba(173, 200, 230, 0.05) 5px, rgba(173, 200, 230, 0.05) 6px
    );
    pointer-events: none;
    mix-blend-mode: screen;
}
.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}
.cta-banner-headline {
    font-family: var(--font-display);
    color: var(--foreground);
    letter-spacing: 0.06em;
    font-size: clamp(26px, 4.5vw, 40px);
    margin-bottom: var(--space-md);
}
.cta-banner-sub {
    color: var(--muted-foreground);
    font-size: 17px;
    margin-bottom: var(--space-xl);
}
.cta-banner-note {
    margin-top: var(--space-md);
    font-size: 13px;
    color: var(--muted-foreground);
    letter-spacing: 0.05em;
}
.cta-banner .parrot-marker {
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
}
@media (min-width: 768px) { .faq-accordion { padding: var(--space-lg); } }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 20px 4px;
    color: #93c5fd;
    font-family: var(--font-display);
    font-size: 17px;
    letter-spacing: 0.04em;
    min-height: 48px;
    transition: color var(--dur) var(--ease-noir);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary:hover { color: var(--secondary); }
.faq-icon {
    color: var(--secondary);
    font-family: var(--font-body);
    font-size: 24px;
    line-height: 1;
    transition: transform var(--dur) var(--ease-noir);
    flex-shrink: 0;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a {
    padding: 0 4px 20px;
    border-left: 2px solid var(--secondary);
    margin-left: 4px;
    padding-left: var(--space-md);
    color: var(--foreground);
    animation: faqOpen 280ms var(--ease-noir);
}
.faq-a p { margin: 0; }
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   STAT HIGHLIGHT
   ============================================ */
.stat-highlight {
    position: relative;
    background: linear-gradient(180deg, #060912, #0a0e1a);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-2xl) var(--space-lg);
    overflow: hidden;
}
.stat-highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        110deg, transparent 0, transparent 32px,
        rgba(0, 0, 0, 0.4) 32px, rgba(0, 0, 0, 0.4) 36px
    );
    opacity: 0.3;
    pointer-events: none;
}
.stat-highlight-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    text-align: center;
}
@media (min-width: 640px) {
    .stat-highlight-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl); }
}
@media (min-width: 1024px) {
    .stat-highlight-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat-highlight-inner .stat-block + .stat-block { border-left: 1px solid var(--border); padding-left: var(--space-lg); }
}
.stat-block { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.stat-number {
    font-family: var(--font-display);
    color: var(--secondary);
    font-size: clamp(36px, 6vw, 56px);
    line-height: 1;
    letter-spacing: 0.04em;
    text-shadow: 0 0 24px var(--secondary-glow);
}
.stat-label {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--foreground);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.stat-source { font-size: 12px; color: var(--muted-foreground); }

/* ============================================
   ENGAGEMENT & CRO PATTERNS
   ============================================ */
.summary-box, .tldr-box {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
    border: 1px solid rgba(37, 99, 235, 0.35);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}
.summary-box h3, .tldr-box h3 {
    font-family: var(--font-display);
    color: #93c5fd;
    font-size: 18px;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.06em;
}

.callout {
    background: rgba(251, 146, 60, 0.08);
    border-left: 4px solid var(--secondary);
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-lg) 0;
    border-radius: var(--radius-sm);
}
.callout strong { color: var(--secondary); }

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    padding: var(--space-lg) 0;
    opacity: 0.85;
}
.trust-row .trust-badge {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--muted-foreground);
}

/* Comparison table */
.table-wrapper { max-width: 100%; overflow-x: auto; margin: var(--space-lg) 0; }
.table-wrapper:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
table.compare {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    font-size: 15px;
}
table.compare th, table.compare td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
table.compare thead th {
    background: #060912;
    color: var(--accent);
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
}
table.compare tbody tr:hover { background: rgba(37, 99, 235, 0.04); }
table.compare .col-recommended {
    background: rgba(251, 146, 60, 0.06);
    border-left: 2px solid var(--secondary);
    border-right: 2px solid var(--secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #060912;
    border-top: 1px solid var(--border);
    color: var(--foreground);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    margin-top: var(--space-3xl);
    position: relative;
    z-index: 2;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}
@media (min-width: 768px) {
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: var(--space-md);
    color: var(--foreground);
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.06em;
}
.footer-brand-row .logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #1e3a8a);
    padding: 4px;
}
.footer-tagline { color: var(--muted-foreground); font-size: 14px; font-style: italic; }
.footer-license { font-size: 13px; color: var(--muted-foreground); }
.footer-age { font-size: 13px; color: var(--muted-foreground); display: flex; align-items: center; gap: 8px; }
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--destructive);
    color: var(--destructive-foreground);
    font-weight: 700;
    border-radius: 50%;
    font-size: 12px;
}
.footer-heading {
    font-family: var(--font-display);
    color: #93c5fd;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a {
    color: var(--foreground);
    text-decoration: none;
    font-size: 15px;
    transition: color var(--dur) var(--ease-noir);
}
.footer-links a:hover { color: var(--secondary); }
.payment-row {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--muted-foreground);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.1em;
    min-width: 56px;
}
.footer-bottom {
    max-width: var(--container);
    margin: var(--space-xl) auto 0;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted-foreground);
    text-align: center;
}

/* ============================================
   HERO - cinematic full-bleed
   ============================================ */
.hero-noir {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: var(--space-2xl) var(--space-lg);
    background: radial-gradient(ellipse at 70% 40%, rgba(37, 99, 235, 0.25), transparent 55%), #060912;
    border-bottom: 1px solid var(--border);
}
.hero-noir::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        110deg, transparent 0, transparent 60px,
        rgba(0, 0, 0, 0.5) 60px, rgba(0, 0, 0, 0.5) 68px
    );
    opacity: 0.45;
    pointer-events: none;
}
.hero-noir::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        96deg, transparent 0, transparent 4px,
        rgba(173, 200, 230, 0.04) 4px, rgba(173, 200, 230, 0.04) 5px
    );
    pointer-events: none;
    mix-blend-mode: screen;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-inner { grid-template-columns: 1.1fr 1fr; gap: var(--space-3xl); }
}
.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.28em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    border-left: 2px solid var(--secondary);
    padding-left: 12px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(34px, 7vw, 64px);
    line-height: 1.05;
    letter-spacing: 0.04em;
    color: var(--foreground);
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}
.hero-title .accent { color: var(--secondary); }
.hero-sub {
    font-size: 18px;
    color: var(--muted-foreground);
    max-width: 540px;
    margin-bottom: var(--space-xl);
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}
.hero-meta {
    margin-top: var(--space-xl);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    color: var(--muted-foreground);
    font-size: 13px;
    letter-spacing: 0.05em;
}
.hero-meta strong { color: var(--secondary); font-family: var(--font-display); font-size: 18px; }
.hero-media {
    position: relative;
    aspect-ratio: 4 / 5;
    max-width: 480px;
    margin: 0 auto;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px var(--primary-glow);
    border: 1px solid var(--border-strong);
}
.hero-media::before {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px solid rgba(251, 146, 60, 0.25);
    border-radius: calc(var(--radius-lg) + 6px);
    pointer-events: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms var(--ease-noir), transform 600ms var(--ease-noir);
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* ============================================
   UTILITIES
   ============================================ */
.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;
}
.section-head { text-align: center; margin-bottom: var(--space-2xl); }
.section-head h2 { margin-bottom: var(--space-md); }
.section-head p { color: var(--muted-foreground); max-width: 640px; margin: 0 auto; font-size: 17px; }

.prose { max-width: 75ch; }
.prose p { margin-bottom: var(--space-md); }
.prose a { color: var(--secondary); text-decoration: underline; text-decoration-color: rgba(251, 146, 60, 0.5); }
.prose a:hover { color: var(--accent); }

/* ============================================
   SITEMAP / SEITENÜBERSICHT
   ============================================ */
.sitemap-hero {
    position: relative;
    padding: var(--space-2xl) var(--space-lg);
    background: radial-gradient(ellipse at 80% 20%, rgba(37, 99, 235, 0.22), transparent 55%), #060912;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.sitemap-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}
@media (min-width: 768px) {
    .sitemap-hero-inner { grid-template-columns: 1.4fr 1fr; }
}
.sitemap-hero-media {
    max-width: 320px;
    margin: 0 auto;
}
.sitemap-hero-media img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.9), 0 0 40px -15px var(--primary-glow);
}

.case-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}
@media (min-width: 768px) {
    .case-file-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.case-file-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform var(--dur) var(--ease-noir), border-color var(--dur) var(--ease-noir), box-shadow var(--dur) var(--ease-noir);
}
@media (min-width: 768px) { .case-file-card { padding: 28px; } }
.case-file-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        110deg, transparent 0, transparent 38px,
        rgba(0, 0, 0, 0.22) 38px, rgba(0, 0, 0, 0.22) 42px
    );
    opacity: 0.15;
    pointer-events: none;
    border-radius: inherit;
}
.case-file-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    border-left-color: var(--secondary);
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.7), 0 0 18px -8px var(--secondary-glow);
}
.case-file-head { position: relative; z-index: 1; }
.case-file-meta {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 8px;
}
.case-file-title {
    font-family: var(--font-display);
    color: #93c5fd;
    font-size: 20px;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.25;
}
.case-file-title a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color var(--dur) var(--ease-noir), border-color var(--dur) var(--ease-noir);
}
.case-file-title a:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}
.case-file-desc {
    color: var(--foreground);
    font-size: 15px;
    margin: 0;
    position: relative;
    z-index: 1;
}