/* ============================================
   CSS VARIABLES & THEMES
   ============================================ */
:root {
    /* Light Theme (Default) */
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --text: #1A1A1A;
    --text-secondary: #6E6E73;
    --border: #EBEBEB;
    --accent: #2D4F38;
    --accent-light: #3C8040;
    --positive: #3C8040;
    --negative: #D63C3C;
    --shadow: rgba(0, 0, 0, 0.06);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    --shadow-strong: rgba(0, 0, 0, 0.15);
    --tooltip-bg: #1A1A1A;
    --tooltip-text: #FFFFFF;
    
    /* Layout */
    --max-width: 1200px;
    --page-padding: 24px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 44px;
    --radius-full: 50px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --background: #000000;
        --surface: #1C1C1E;
        --text: #F2F2F7;
        --text-secondary: #8E8E93;
        --border: #38383A;
        --accent: #7FB88F;
        --accent-light: #66BB6A;
        --positive: #66BB6A;
        --negative: #EF5350;
        --shadow: rgba(0, 0, 0, 0.2);
        --shadow-medium: rgba(0, 0, 0, 0.35);
        --shadow-strong: rgba(0, 0, 0, 0.5);
        --tooltip-bg: #F2F2F7;
        --tooltip-text: #1A1A1A;
    }
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.85;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-serif {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--page-padding);
}

main {
    flex: 1;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    padding: 14px 0;
    position: sticky;
    top: 0;
    background: var(--background);
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

@supports (backdrop-filter: blur(16px)) {
    .header {
        background: color-mix(in srgb, var(--background) 80%, transparent);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    box-shadow: 0 2px 8px var(--shadow);
    padding: 0px;
    background: var(--surface);
    object-fit: contain;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
}

.nav-link { 
    font-weight: 600; 
    font-size: 0.9rem; 
    color: var(--text); 
}

/* ============================================
   HEADER INDICATORS (Index Only)
   ============================================ */
.header-indicators {
    display: none;
    align-items: center;
    gap: 8px;
}

@media (min-width: 800px) {
    .header-indicators {
        display: flex;
    }
}

.header-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-indicator:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.header-indicator-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.header-indicator-score {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.header-indicator-trend {
    display: flex;
    align-items: center;
}

.header-indicator-trend svg {
    width: 12px;
    height: 12px;
}

/* World Pulse Badge */
.world-pulse {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px var(--shadow);
    flex-shrink: 0;
}

.world-pulse-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-pulse-globe {
    font-size: 1.1rem;
    line-height: 1;
}

.world-pulse-dot {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: var(--positive);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.world-pulse-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.world-pulse-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.world-pulse-score {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.world-pulse-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.world-pulse-trend {
    display: flex;
    align-items: center;
}

.world-pulse-trend svg {
    width: 12px;
    height: 12px;
}

.trend-up { color: var(--positive); fill: var(--positive); }
.trend-down { color: var(--negative); fill: var(--negative); }
.trend-stable { color: var(--text-secondary); fill: var(--text-secondary); }

/* Mobile: Kompakter */
@media (max-width: 400px) {
    .world-pulse {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .world-pulse-label {
        display: none;
    }
    
    .world-pulse-number {
        font-size: 1rem;
    }
}

/* ============================================
   TOOLTIP SYSTEM
   ============================================ */
[data-tooltip] {
    position: relative;
    cursor: default;
}

[data-tooltip]::before,
[data-tooltip]::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 9999;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    top: calc(100% + 10px);
    background: var(--tooltip-bg);
    color: var(--tooltip-text);
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.45;
    text-align: center;
    width: max-content;
    max-width: 220px;
    box-shadow: 0 6px 20px var(--shadow-strong);
}

[data-tooltip]::before {
    content: '';
    top: calc(100% + 4px);
    border: 6px solid transparent;
    border-bottom-color: var(--tooltip-bg);
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

[data-tooltip]:hover::after {
    transform: translateX(-50%) translateY(2px);
}

@media (max-width: 480px) {
    [data-tooltip]::before,
    [data-tooltip]::after {
        display: none;
    }
}

/* ============================================
   HERO SECTION (Index)
   ============================================ */
.hero {
    padding: 48px 0 64px;
}

.hero-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

@media (min-width: 900px) {
    .hero {
        padding: 64px 0 80px;
    }
    
    .hero-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 64px;
    }
    
    .hero-content {
        flex: 1;
        max-width: 480px;
    }
    
    .hero-mockup {
        flex: 0 0 auto;
    }
}

@media (min-width: 1100px) {
    .hero-layout {
        gap: 80px;
    }
    
    .hero-content {
        max-width: 520px;
    }
}

.hero-content {
    text-align: center;
}

@media (min-width: 900px) {
    .hero-content {
        text-align: left;
    }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--positive);
    border-radius: 50%;
}

.hero-headline {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-subline {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 440px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

@media (min-width: 900px) {
    .hero-subline {
        margin: 0 0 36px;
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

@media (min-width: 900px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.hero-btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.hero-btn-primary:hover {
    box-shadow: 0 6px 24px var(--shadow-strong);
}

.hero-btn-secondary {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.hero-btn-secondary:hover {
    box-shadow: 0 4px 12px var(--shadow);
}

.hero-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ============================================
   VIRTUAL APP MOCKUP
   ============================================ */
.hero-mockup {
    display: flex;
    justify-content: center;
}

.app-mockup {
    width: 100%;
    max-width: 300px;
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 10px;
    box-shadow: 
        0 0 0 1px var(--border),
        0 25px 80px var(--shadow-strong),
        0 10px 32px var(--shadow-medium);
}

@media (min-width: 900px) {
    .app-mockup {
        max-width: 340px;
        padding: 12px;
    }
}

.app-screen {
    background: var(--background);
    border-radius: calc(var(--radius-xl) - 6px);
    overflow: hidden;
}

@media (min-width: 900px) {
    .app-screen {
        border-radius: calc(var(--radius-xl) - 8px);
    }
}

.app-header {
    padding: 16px 14px 8px;
}

@media (min-width: 900px) {
    .app-header {
        padding: 18px 16px 10px;
    }
}

.app-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

@media (min-width: 900px) {
    .app-title {
        font-size: 1.55rem;
    }
}

.app-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

@media (min-width: 900px) {
    .app-subtitle {
        font-size: 0.75rem;
    }
}

/* Mockup Indicators */
.indicators-row {
    display: flex;
    gap: 6px;
    padding: 6px 14px 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.indicators-row::-webkit-scrollbar {
    display: none;
}

@media (min-width: 900px) {
    .indicators-row {
        padding: 8px 16px 14px;
        gap: 8px;
    }
}

.indicator-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .indicator-pill {
        padding: 7px 12px;
        gap: 6px;
    }
}

.indicator-icon {
    font-size: 0.85rem;
    line-height: 1;
}

@media (min-width: 900px) {
    .indicator-icon {
        font-size: 0.95rem;
    }
}

.indicator-score {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

@media (min-width: 900px) {
    .indicator-score {
        font-size: 0.85rem;
    }
}

.indicator-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
}

.indicator-trend svg {
    width: 12px;
    height: 12px;
}

@media (min-width: 900px) {
    .indicator-trend {
        width: 16px;
        height: 16px;
    }
    
    .indicator-trend svg {
        width: 14px;
        height: 14px;
    }
}

/* Mockup News Card */
.news-card-mockup {
    margin: 0 10px 14px;
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
}

@media (min-width: 900px) {
    .news-card-mockup {
        margin: 0 12px 16px;
    }
}

.news-image-mockup {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--border);
}

.news-content-mockup {
    padding: 12px 14px 14px;
}

@media (min-width: 900px) {
    .news-content-mockup {
        padding: 14px 16px 16px;
    }
}

.news-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (min-width: 900px) {
    .news-badge {
        font-size: 0.65rem;
        padding: 5px 10px;
        margin-bottom: 10px;
    }
}

.news-title-mockup {
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 900px) {
    .news-title-mockup {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }
}

.news-date-mockup {
    font-size: 0.68rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

@media (min-width: 900px) {
    .news-date-mockup {
        font-size: 0.72rem;
    }
}

/* Loading State */
.news-card-mockup.loading .news-image-mockup {
    background: linear-gradient(
        90deg,
        var(--border) 0%,
        var(--surface) 50%,
        var(--border) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton {
    background: var(--border);
    border-radius: 6px;
}

.skeleton-badge {
    width: 80px;
    height: 20px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 14px;
    margin-bottom: 6px;
}

.skeleton-title:last-of-type {
    width: 65%;
}

.skeleton-date {
    width: 70px;
    height: 10px;
    margin-top: 8px;
}

.skeleton-indicator {
    width: 68px;
    height: 28px;
    border-radius: var(--radius-full);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 72px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.features-header {
    text-align: center;
    margin-bottom: 48px;
}

.features-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--text);
    margin-bottom: 12px;
}

.features-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--background);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px var(--shadow);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   GAMES SECTION (NEW)
   ============================================ */
.games-section {
    padding: 72px 0;
    /* Ein sanfter Übergang: Wir nutzen background (hellgrau/schwarz), 
       da die vorherige Sektion surface (weiß/dunkelgrau) war. */
    background: var(--background); 
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.game-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 8px; /* Inner padding for the "card inside card" look */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow-medium);
    border-color: var(--accent);
}

.game-icon-wrapper {
    background: var(--background);
    border-radius: calc(var(--radius-lg) - 6px);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 3.5rem;
}

/* Optional: Subtle colored backgrounds for icons based on theme */
.game-card:nth-child(1) .game-icon-wrapper { background: linear-gradient(135deg, rgba(255, 159, 67, 0.1), rgba(255, 159, 67, 0.05)); }
.game-card:nth-child(2) .game-icon-wrapper { background: linear-gradient(135deg, rgba(84, 160, 255, 0.1), rgba(84, 160, 255, 0.05)); }
.game-card:nth-child(3) .game-icon-wrapper { background: linear-gradient(135deg, rgba(95, 39, 205, 0.1), rgba(95, 39, 205, 0.05)); }

.game-content {
    padding: 0 16px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-content .feature-title {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.game-content .feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   WIDGET SHOWCASE SECTION
   ============================================ */
.widget-showcase {
    padding: 64px 0;
    background: var(--background);
    /* Subtle gradient to highlight the section */
    background: linear-gradient(to bottom, var(--surface) 0%, var(--background) 100%);
}

.widget-showcase-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    text-align: center;
}

@media (min-width: 900px) {
    .widget-showcase-inner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    
    .widget-text {
        max-width: 400px;
    }
}

.widget-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text);
    margin: 16px 0 12px;
    line-height: 1.2;
}

.widget-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Visuals Container */
.widget-visuals {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
}

/* Base Widget Mockup Style */
.widget-mock {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.widget-content {
    background: #1F2937; /* Dark BG wie in deinem NewsWidget.tsx */
    box-shadow: 0 10px 30px var(--shadow-strong);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.widget-mock:hover .widget-content {
    transform: translateY(-5px) scale(1.02);
}

.widget-platform-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* iOS Specifics (Square) */
.widget-ios .widget-content {
    width: 140px;
    height: 140px;
    border-radius: 22px; /* iOS Squircle approximation */
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Android Specifics (Wide) */
.widget-android .widget-content {
    width: 280px;
    height: 140px;
    border-radius: 22px; /* Dein app.json sagt 16-24px ist üblich */
    padding: 0;
    display: flex;
    align-items: center;
}

/* Widget Internals (Fake UI) */
.widget-header-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.widget-dot {
    width: 6px;
    height: 6px;
    background-color: #4ADE80; /* Dein Grün aus dem Code */
    border-radius: 50%;
}

.widget-brand {
    font-size: 8px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.5px;
}

.widget-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skeleton-text {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

/* Android Flex Layout Mockup */
.widget-flex {
    display: flex;
    width: 100%;
    height: 100%;
}

.widget-img-placeholder {
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    opacity: 0.8;
}

.widget-info {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    text-align: center;
}

.cta-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
}

.cta-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--text);
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px var(--shadow-medium);
}

.cta-btn:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px var(--shadow-strong);
}

.cta-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* ============================================
   LEGAL PAGES CONTENT
   ============================================ */
.legal-page { 
    padding: 60px 0 100px; 
}

.legal-content { 
    max-width: 720px; 
    margin: 0 auto; 
}

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.2;
}

.meta-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    display: block;
}

.legal-content h2 {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.legal-content ul {
    margin-bottom: 24px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

.legal-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin: 24px 0;
}

.disclaimer-box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin-top: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 36px 0;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent);
    opacity: 1;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
}

.footer-copy a {
    color: var(--text-secondary);
    font-weight: 500;
}

.footer-copy a:hover {
    color: var(--accent);
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 10px 40px var(--shadow-strong);
    z-index: 9999;
    display: none;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@supports (backdrop-filter: blur(16px)) {
    .cookie-banner {
        background: color-mix(in srgb, var(--surface) 90%, transparent);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
}

@media (min-width: 600px) {
    .cookie-banner {
        right: auto;
        left: 24px;
        bottom: 24px;
    }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.cookie-title {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-links {
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.cookie-links a {
    color: var(--text-secondary);
    text-decoration: underline;
    margin-right: 12px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

@media (min-width: 400px) {
    .cookie-buttons {
        flex-direction: row;
    }
}

.cookie-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
}

.cookie-btn-accept {
    background: var(--accent);
    color: white;
}

.cookie-btn-accept:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.cookie-btn-reject:hover {
    background: var(--border);
}

/* Kleiner Button im Footer */
.cookie-settings-trigger {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}
.cookie-settings-trigger:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE FINE-TUNING
   ============================================ */
@media (max-width: 480px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-group {
        width: auto;
    }
    
    .hero {
        padding: 32px 0 48px;
    }
    
    .app-mockup {
        max-width: 280px;
        padding: 8px;
    }
    
    .features {
        padding: 48px 0;
    }
    
    .cta-section {
        padding: 56px 0;
    }
}

@media (min-width: 1200px) {
    .hero-layout {
        gap: 100px;
    }
}