/**
 * ================================================================
 * INTIMEON v2 - Main Stylesheet
 * ================================================================
 * Nur Custom Styles - Tailwind via CDN
 * ================================================================
 *
 * TABLE OF CONTENTS:
 * ----------------------------------------------------------------
 * 1.  BASE STYLES           - Grundlegende Schriftarten & Resets
 * 2.  HERO VIDEO            - Netflix Style Video Background
 * 3.  FEATURE CARDS         - Hover Effects & Dark Mode
 * 4.  UNIFIED BUTTONS       - Primary, Secondary, Ghost, Split
 * 5.  BURGER MENU           - Signature Animation
 * 6.  SLIDE-IN NAVIGATION   - App-Style Full-Screen Menu
 * 7.  PRIMARY NAVIGATION    - Single Line Top Bar
 * 8.  MARKTPLATZ GRID       - Service Cards mit Video
 * 9.  BLOG CARDS            - Swiper & Article Cards
 * 10. CONTACT FORM          - Styling mit Background
 * 11. REGISTRATION FORM     - Silicon Valley Background
 * 12. ADAPTIVE CONTRAST     - Dark Section Detection
 * 13. AUTH OVERLAY          - Netflix-Style Login Modal
 * 14. UTILITY CLASSES       - Helpers & Animations
 * ----------------------------------------------------------------
 * Brand Colors:
 *   Red:    #e0001a
 *   Dark:   #131c25
 *   Gray:   #6b7280
 *   Light:  #f8f9fa
 *   Border: #e5e7eb
 * ================================================================
 */

/* ================================================================
   CSS VARIABLES (Brand Colors)
   ================================================================ */

:root {
    --color-primary: #e0001a;
    --color-primary-dark: #b80016;
    --color-primary-light: #ff1a3a;
    --color-dark: #131c25;
    --color-gray: #6b7280;
    --color-light: #f8f9fa;
    --color-border: #e5e7eb;
    --color-white: #ffffff;
}

/* ================================================================
   BASE STYLES
   ================================================================ */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* ================================================================
   HERO VIDEO - Netflix Style
   ================================================================ */

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Netflix-Style Hero Gradient Overlay */
.hero-netflix-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 15, 20, 0.95) 0%,
        rgba(10, 15, 20, 0.7) 35%,
        rgba(10, 15, 20, 0.4) 60%,
        rgba(10, 15, 20, 0.2) 100%
    );
    z-index: 10;
}

.hero-netflix-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, #0a0f14 0%, transparent 100%);
    transition: background 0.3s ease;
}

/* Light Mode: Hero-Gradient - bleibt dunkel und reicht bis zum Grid */
:root[data-theme="light"] .hero-netflix-overlay::after {
    background: linear-gradient(to top, #0a0f14 0%, transparent 100%);
}

/* Hero-Erweiterung: Dunkler Bereich reicht bis kurz vor das Video-Grid */
.on-dark.hero-netflix {
    margin-bottom: 0;
    padding-bottom: 120px; /* Extra Platz für Gradient-Übergang */
}

/* Dunkler Übergangsbereich zwischen Hero und Grid */
.hero-to-grid-transition {
    background: linear-gradient(to bottom, #0a0f14 0%, var(--color-bg, #0a0f14) 100%);
    height: 80px;
    margin-top: -1px; /* Nahtloser Anschluss */
}

:root[data-theme="light"] .hero-to-grid-transition {
    background: linear-gradient(to bottom, #0a0f14 0%, #ffffff 100%);
}

/* Section Always Dark - Unabhängig vom Theme */
.section-always-dark {
    background: #0a0f14;
    color: #ffffff;
}

.on-dark.hero-netflix .hero-video {
    opacity: 0.85;
}

/* Hero Content Netflix Style */
.hero-netflix-content {
    position: relative;
    z-index: 20;
}

.hero-netflix-content h1 {
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-netflix-content p {
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* ================================================================
   FEATURE CARDS
   ================================================================ */

.feature-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(224, 0, 26, 0.25);
}

.dark-block .feature-card:hover {
    box-shadow: 0 8px 32px rgba(224, 0, 26, 0.35);
    border-color: rgba(224, 0, 26, 0.4);
}

/* ================================================================
   UNIFIED BUTTON SYSTEM
   ================================================================
   Konsistentes Button-Design über alle Seiten
   - Einheitliche Farbwelt: Nur ROT (#e0001a) als Akzent
   - Keine Farbverläufe oder Mischfarben
   - Unterscheidung über: Größe, Umrandung, filled/outlined
   ================================================================ */

/* Base Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

/* --------------------------------
   PRIMARY BUTTON (Filled Red)
   -------------------------------- */
.btn-primary {
    background: #e0001a;
    color: #fff;
    border-color: #e0001a;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    border-radius: 8px;
}

.btn-primary:hover {
    background: #c4001a;
    border-color: #c4001a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 0, 26, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(224, 0, 26, 0.2);
}

/* Primary Small */
.btn-primary.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

/* Primary Large */
.btn-primary.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* --------------------------------
   SECONDARY BUTTON (Outlined)
   -------------------------------- */
.btn-secondary {
    background: transparent;
    color: #e0001a;
    border-color: #e0001a;
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    border-radius: 8px;
}

.btn-secondary:hover {
    background: #e0001a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 0, 26, 0.2);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Secondary Small */
.btn-secondary.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
}

/* --------------------------------
   GHOST BUTTON (Minimal)
   -------------------------------- */
.btn-ghost {
    background: transparent;
    color: #e0001a;
    border-color: transparent;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

.btn-ghost:hover {
    background: rgba(224, 0, 26, 0.08);
}

/* --------------------------------
   DARK MODE VARIANTS
   -------------------------------- */
.on-dark .btn-primary {
    /* Primary bleibt gleich auf Dark */
}

.on-dark .btn-secondary {
    color: #fff;
    border-color: #fff;
}

.on-dark .btn-secondary:hover {
    background: #fff;
    color: #e0001a;
    border-color: #fff;
}

.on-dark .btn-ghost {
    color: rgba(255, 255, 255, 0.85);
}

.on-dark .btn-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* --------------------------------
   SPLIT BUTTON (Legacy/Signature)
   Jetzt mit einheitlicher Farbwelt
   -------------------------------- */
.btn-split {
    display: inline-flex;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-split:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(224, 0, 26, 0.22);
}

.btn-split .btn-text {
    padding: 0.75rem 1rem;
    background: #fff;
    color: #131c25;
    border: 1px solid #e0001a;
    border-right: 0;
    font-weight: 600;
    font-size: 0.875rem;
}

.btn-split .btn-icon {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0001a;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-split:hover .btn-text {
    background: #e0001a;
    color: #fff;
    border-color: #e0001a;
}

.btn-split:hover .btn-icon {
    background: #c4001a;
}

/* Dark variant */
.on-dark .btn-split .btn-text {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.on-dark .btn-split:hover .btn-text {
    background: #e0001a;
    border-color: #e0001a;
}

/* ================================================================
   BURGER MENU (Signature Animation)
   ================================================================ */

.header-bar-icon {
    width: 28px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.header-bar-icon span {
    display: block;
    height: 2px;
    background: #fff;
    transition: all 0.3s linear;
    margin-left: auto;
}

.header-bar-icon span:nth-child(1) { width: 20px; }
.header-bar-icon span:nth-child(2) { width: 15px; }
.header-bar-icon span:nth-child(3) { width: 20px; }

/* Hover Animation */
@keyframes qode-draw {
    0%   { width: 0; }
    100% { width: 28px; }
}

.header-bar-icon:hover span {
    animation: qode-draw 0.8s cubic-bezier(0.44, 1.1, 0.53, 0.99) 1 forwards;
}

.header-bar-icon:hover span:nth-child(2) { animation-delay: 0.1s; }
.header-bar-icon:hover span:nth-child(3) { animation-delay: 0.2s; }

/* Scrolled state */
.nav-scrolled .header-bar-icon span {
    background: #131c25;
}

/* Active state (X) */
.header-bar-icon.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    width: 28px;
}

.header-bar-icon.is-active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.header-bar-icon.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    width: 28px;
}

/* ================================================================
   SLIDE-IN NAVIGATION (App-Style Full-Screen)
   ================================================================ */

/* Main Navigation Panel */
.slide-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background: linear-gradient(180deg, #131c25 0%, #1a2634 100%);
    z-index: 9999;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;

    /* Initial hidden state */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);

    /* Smooth cubic-bezier animation */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                visibility 0.5s ease;
}

.slide-nav::-webkit-scrollbar {
    display: none;
}

/* Desktop: Slide from right as panel */
@media (min-width: 768px) {
    .slide-nav {
        width: 420px;
        max-width: 100%;
        transform: translateX(100%);
        background: #fff;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    }
}

/* Open state */
.slide-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (min-width: 768px) {
    .slide-nav.is-open {
        transform: translateX(0);
    }
}

/* Inner container with safe area padding */
.slide-nav-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    padding-top: max(24px, env(safe-area-inset-top));
    padding-bottom: max(32px, env(safe-area-inset-bottom));
}

@media (min-width: 768px) {
    .slide-nav-inner {
        padding: 32px 40px;
    }
}

/* Overlay */
.slide-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.slide-nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* Navigation Header */
.slide-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .slide-nav-header {
        border-bottom-color: rgba(0, 0, 0, 0.08);
    }
}

/* Logo switching for dark/light backgrounds */
.slide-nav-logo-desktop {
    display: none;
}

.slide-nav-logo-mobile {
    display: block;
    height: 32px;
    width: auto;
}

@media (min-width: 768px) {
    .slide-nav-logo-mobile {
        display: none;
    }

    .slide-nav-logo-desktop {
        display: block;
        height: 36px;
        width: auto;
    }
}

/* Close Button - Modern X */
.slide-nav-close {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .slide-nav-close {
        border-color: rgba(0, 0, 0, 0.1);
    }
}

.slide-nav-close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: background 0.3s ease;
}

@media (min-width: 768px) {
    .slide-nav-close span {
        background: #131c25;
    }
}

.slide-nav-close span:first-child { transform: rotate(45deg); }
.slide-nav-close span:last-child  { transform: rotate(-45deg); }

.slide-nav-close:hover {
    background: #e0001a;
    border-color: #e0001a;
    transform: rotate(90deg);
}

.slide-nav-close:hover span {
    background: #fff;
}

/* About Text */
.slide-nav-about {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 32px;
    display: none; /* Hidden on mobile for cleaner look */
}

@media (min-width: 768px) {
    .slide-nav-about {
        display: block;
        color: #6b7280;
    }
}

/* Auth Buttons (Login/Register) - Mobile prominent */
.slide-nav-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;

    /* Stagger animation */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide-nav.is-open .slide-nav-auth {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

@media (min-width: 768px) {
    .slide-nav-auth {
        flex-direction: row;
        gap: 16px;
    }
}

.slide-nav-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 56px; /* Touch-friendly */
}

.slide-nav-auth-btn--primary {
    background: #e0001a;
    color: #fff;
    border: none;
}

.slide-nav-auth-btn--primary:hover {
    background: #c4001a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 0, 26, 0.3);
}

.slide-nav-auth-btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .slide-nav-auth-btn--secondary {
        color: #131c25;
        border-color: rgba(0, 0, 0, 0.15);
    }
}

.slide-nav-auth-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .slide-nav-auth-btn--secondary:hover {
        background: rgba(0, 0, 0, 0.05);
        border-color: rgba(0, 0, 0, 0.3);
    }
}

.slide-nav-auth-btn svg {
    width: 20px;
    height: 20px;
}

/* Navigation Menu */
.slide-nav-menu {
    flex: 1;
    margin-bottom: 32px;
}

.slide-nav-menu a {
    display: flex;
    align-items: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    padding: 20px 0;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;

    /* Stagger animation */
    opacity: 0;
    transform: translateX(-20px);
}

@media (min-width: 768px) {
    .slide-nav-menu a {
        font-size: 1.5rem;
        color: #131c25;
        padding: 18px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
}

/* Staggered entrance animation for menu items */
.slide-nav.is-open .slide-nav-menu a {
    opacity: 1;
    transform: translateX(0);
}

.slide-nav.is-open .slide-nav-menu a:nth-child(1) { transition-delay: 0.1s; }
.slide-nav.is-open .slide-nav-menu a:nth-child(2) { transition-delay: 0.15s; }
.slide-nav.is-open .slide-nav-menu a:nth-child(3) { transition-delay: 0.2s; }
.slide-nav.is-open .slide-nav-menu a:nth-child(4) { transition-delay: 0.25s; }
.slide-nav.is-open .slide-nav-menu a:nth-child(5) { transition-delay: 0.3s; }
.slide-nav.is-open .slide-nav-menu a:nth-child(6) { transition-delay: 0.35s; }

/* Menu item hover arrow */
.slide-nav-menu a::after {
    content: '';
    position: absolute;
    right: 0;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .slide-nav-menu a::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23e0001a' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
    }
}

.slide-nav-menu a:hover::after,
.slide-nav-menu a.active::after {
    opacity: 1;
    transform: translateX(0);
}

.slide-nav-menu a:hover {
    color: #e0001a;
    padding-left: 8px;
}

@media (min-width: 768px) {
    .slide-nav-menu a:hover {
        padding-left: 12px;
    }
}

.slide-nav-menu a.active {
    color: #e0001a;
}

/* ================================
   SLIDE NAV ACCORDION (Mobile)
   ================================ */

.slide-nav-accordion {
    opacity: 0;
    transform: translateX(-20px);
}

.slide-nav.is-open .slide-nav-accordion {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.15s;
}

.slide-nav-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: 1.75rem;
    font-weight: 600;
    color: #fff;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .slide-nav-accordion-trigger {
        font-size: 1.5rem;
        color: #131c25;
        padding: 18px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
}

.slide-nav-accordion-trigger:hover {
    color: #e0001a;
    padding-left: 8px;
}

.slide-nav-accordion-trigger.active {
    color: #e0001a;
}

.slide-nav-accordion-arrow {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.slide-nav-accordion.is-open .slide-nav-accordion-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.slide-nav-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 16px;
}

.slide-nav-accordion.is-open .slide-nav-accordion-content {
    max-height: 400px;
}

.slide-nav-accordion-content a {
    font-size: 1.25rem !important;
    padding: 12px 0 !important;
    opacity: 1 !important;
    transform: none !important;
}

@media (min-width: 768px) {
    .slide-nav-accordion-content a {
        font-size: 1.125rem !important;
        padding: 10px 0 !important;
    }
}

.slide-nav-accordion-content a::before {
    display: none !important;
}

/* Divider line for menu items on mobile */
.slide-nav-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
    .slide-nav-menu a::before {
        display: none;
    }
}

/* Contact Info */
.slide-nav-contact {
    margin-bottom: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .slide-nav-contact {
        border-top-color: rgba(0, 0, 0, 0.08);
    }
}

.slide-nav-contact-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .slide-nav-contact-title {
        color: #9ca3af;
    }
}

.slide-nav-contact-item {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
    align-items: flex-start;
}

.slide-nav-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

.slide-nav-contact-item svg path {
    fill: rgba(255, 255, 255, 0.6);
}

@media (min-width: 768px) {
    .slide-nav-contact-item svg path {
        fill: #9ca3af;
    }
}

.slide-nav-contact-item a,
.slide-nav-contact-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s ease;
}

@media (min-width: 768px) {
    .slide-nav-contact-item a,
    .slide-nav-contact-item span {
        color: #6b7280;
    }
}

.slide-nav-contact-item a:hover {
    color: #e0001a;
}

/* Social Links */
.slide-nav-social {
    padding-top: 16px;
}

.slide-nav-social-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .slide-nav-social-title {
        color: #9ca3af;
    }
}

.slide-nav-social-links {
    display: flex;
    gap: 12px;
}

.slide-nav-social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .slide-nav-social-links a {
        width: 44px;
        height: 44px;
        background: transparent;
        border-color: rgba(0, 0, 0, 0.1);
        color: #6b7280;
    }
}

.slide-nav-social-links a:hover {
    background: #e0001a;
    border-color: #e0001a;
    color: #fff;
    transform: translateY(-3px);
}

/* ================================================================
   MARKTPLATZ GRID
   ================================================================ */

.mb-services {
    padding: 80px 0;
    background: var(--color-bg, #0a0f14);
    transition: background-color 0.3s ease;
}

/* Light Mode: Weißer Hintergrund für Grid */
:root[data-theme="light"] .mb-services {
    background: #ffffff;
}

.mb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mb-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--color-text-subtle, rgba(255, 255, 255, 0.5));
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    margin-bottom: 0.5rem;
}

.mb-hl {
    font-size: 2rem;
    color: var(--color-text, #ffffff);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
}

/* Light/Bold Spans in Marketplace Headlines */
.mb-hl .font-light {
    font-weight: 300;
}

.mb-hl .font-extrabold {
    font-weight: 800;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .mb-hl {
        font-size: 2.5rem;
    }
}

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

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

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

/* Marktplatz Card - Netflix Style */
.mb-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-image: var(--bg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.mb-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Netflix-Style Gradient - von transparent oben zu schwarz unten */
.mb-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.3) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
    transition: opacity 0.3s ease;
}

/* Marktplatz Card Video */
.mb-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Content Box mit Glasmorphismus */
.mb-card__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

/* Glasmorphismus Content-Bereich */
.mb-card__content {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    margin: -8px;
}

.mb-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mb-card__text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Wide Card */
@media (min-width: 768px) {
    .mb-card.wide {
        grid-column: span 2;
    }
}

/* Marktplatz Button */
.mb-btn-split {
    display: inline-flex;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
}

.mb-btn-split:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(224, 0, 26, 0.3);
}

.mb-btn-text {
    padding: 0.625rem 1rem;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 0;
    font-weight: 600;
    font-size: 0.8125rem;
}

.mb-btn-icon {
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0001a;
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.mb-btn-split:hover .mb-btn-text {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.mb-btn-split:hover .mb-btn-icon {
    background: #ff3347;
}

/* ================================================================
   CONTACT FORM
   ================================================================ */

.contact-form-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* Elegant KI Background Image with curved fade */
.contact-form-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--contact-bg);
    background-size: cover;
    background-position: center right;
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 90% 120% at 100% 50%, black 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(ellipse 90% 120% at 100% 50%, black 0%, transparent 60%);
}

.contact-form-card > * {
    position: relative;
    z-index: 1;
}

/* Form Input Styling */
.contact-form-card input,
.contact-form-card textarea {
    border-radius: 6px;
    background: #fafafa;
    transition: all 0.2s ease;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(224, 0, 26, 0.1);
}

/* ================================================================
   UTILITIES
   ================================================================ */

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================================================
   BLOG CARDS (Marktplatz-Style) - Blog-Seite (/blog/)
   Geschlossenes Grid ohne Lücken

   Layout-Strategie für 6 Artikel:
   - 3 Spalten Desktop: 2 Reihen × 3 Spalten = 6 Zellen PERFEKT
   - Featured Card spannt 2 Reihen (wenn Platz)
   - grid-auto-flow: dense füllt automatisch Lücken
   ================================================================ */

.blog-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    grid-auto-flow: dense;
}

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

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

/* Featured Card - vertikal größer (2 Reihen) */
.blog-grid .blog-card.featured {
    grid-row: span 2;
}

/* Kompakte Styles für Grid-Karten */
.blog-grid .blog-card__inner {
    padding: 16px;
}

.blog-grid .blog-card__badge {
    font-size: 0.625rem;
    padding: 0.2rem 0.5rem;
    margin-bottom: 0.5rem;
}

.blog-grid .blog-card__title {
    font-size: 0.9375rem;
    line-height: 1.3;
    -webkit-line-clamp: 2;
}

.blog-grid .blog-card__meta {
    font-size: 0.6875rem;
    gap: 8px;
}

/* Featured Card Titel größer */
.blog-grid .blog-card.featured .blog-card__title {
    font-size: 1.25rem;
    -webkit-line-clamp: 4;
}

.blog-grid .blog-card.featured .blog-card__inner {
    padding: 20px;
}

/* Video-Elemente in kompakten Karten */
.blog-grid .blog-card__video {
    transition: opacity 0.6s ease-out;
}

.blog-grid .blog-card__play-icon {
    width: 28px;
    height: 28px;
    top: 10px;
    right: 10px;
}

/* Blog Card - Netflix Style */
.blog-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Netflix-Style Gradient */
.blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.6) 35%,
        rgba(0, 0, 0, 0.2) 65%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 2;
    transition: background 0.3s ease;
}

.blog-card:hover::before {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(0, 0, 0, 0.7) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

/* Glasmorphismus Content Box */
.blog-card__inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.blog-card__badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 0.75rem;
    align-self: flex-start;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.blog-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.blog-card__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Video Card */
.blog-card--video {
    position: relative;
}

.blog-card__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 1;
}

.blog-card__play-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(224, 0, 26, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: transform 0.3s ease, background 0.3s ease;
}

.blog-card--video:hover .blog-card__play-icon {
    transform: scale(1.1);
    background: rgba(224, 0, 26, 1);
}

.blog-card__play-icon svg {
    width: 14px;
    height: 14px;
    fill: #fff;
    margin-left: 2px;
}

/* Wide Card */
@media (min-width: 768px) {
    .blog-card.wide {
        grid-column: span 2;
        min-height: 420px;
    }

    .blog-card.wide .blog-card__title {
        font-size: 1.5rem;
    }

    .blog-card.wide .blog-card__play-icon {
        width: 40px;
        height: 40px;
    }

    .blog-card.wide .blog-card__play-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ================================================================
   BLOG GRID (Landing Page) - Kompaktes geschlossenes Layout
   ================================================================ */

.blog-grid-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #0a0f14 0%, #131c25 50%, #0a0f14 100%);
}

.blog-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.blog-grid-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.blog-grid-title {
    font-size: 2rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.blog-grid-title .font-light {
    font-weight: 300;
}

.blog-grid-title .font-extrabold {
    font-weight: 800;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .blog-grid-title {
        font-size: 2.5rem;
    }
}

/* HINWEIS: Die primäre .blog-grid Definition ist weiter oben (Zeile ~1160).
   Diese Sektion enthält nur zusätzliche Styles für Landing-Page Grid Elemente.
   Siehe "BLOG CARDS (Marktplatz-Style)" für die Hauptdefinition. */

.blog-grid .blog-card__play-icon svg {
    width: 12px;
    height: 12px;
}

/* Hover-Effekt dezenter */
.blog-grid .blog-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* CTA Button unter Grid */
.blog-grid-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ================================================================
   BLOG SWIPER - Verschmilzt mit Hintergrund (Hero-Style)
   ================================================================ */

.blog-swiper-section {
    padding: 80px 0;
    background: #0a0f14;
    position: relative;
    transition: background-color 0.3s ease;
}

/* Light Mode: Swiper bleibt dunkel für Kontrast */
:root[data-theme="light"] .blog-swiper-section {
    background: #0a0f14;
}

/* Subtiler Gradient-Übergang oben und unten */
.blog-swiper-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(10, 15, 20, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

/* Light Mode: Gradient anpassen für Übergang von weiß zu dunkel */
:root[data-theme="light"] .blog-swiper-section::before {
    background: linear-gradient(to bottom, #ffffff 0%, rgba(10, 15, 20, 0) 100%);
}

.blog-swiper-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(10, 15, 20, 0.9) 0%, transparent 100%);
    pointer-events: none;
}

/* Light Mode: Gradient anpassen für Übergang von dunkel zu alt-bg */
:root[data-theme="light"] .blog-swiper-section::after {
    background: linear-gradient(to top, #f8f9fa 0%, rgba(10, 15, 20, 0) 100%);
}

.blog-swiper-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.blog-swiper-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.blog-swiper-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.blog-swiper-title {
    font-size: 1.75rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.blog-swiper-title .font-light {
    font-weight: 300;
}

.blog-swiper-title .font-extrabold {
    font-weight: 800;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .blog-swiper-title {
        font-size: 2rem;
    }
}

.blog-swiper-nav {
    display: flex;
    gap: 8px;
}

.blog-swiper-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-swiper-btn:hover {
    background: rgba(224, 0, 26, 0.6);
    border-color: rgba(224, 0, 26, 0.8);
    color: #fff;
}

.blog-swiper-btn.swiper-button-disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

/* Swiper Cards - Kompakter, weniger aufdringlich */
.blog-swiper .swiper-slide {
    height: 280px !important;
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.blog-swiper .swiper-slide-active,
.blog-swiper .swiper-slide-next,
.blog-swiper .swiper-slide-prev {
    opacity: 1;
}

.blog-swiper .blog-card {
    display: block;
    height: 100% !important;
    min-height: 100% !important;
    border-radius: 12px;
    overflow: hidden;
}

/* Subtilerer Gradient auf Karten */
.blog-swiper .blog-card::before {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.1) 70%,
        transparent 100%
    );
}

/* Pagination - Minimalistisch */
.blog-swiper .swiper-pagination {
    position: relative;
    margin-top: 20px;
}

.blog-swiper .swiper-pagination-bullet {
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transition: all 0.3s ease;
}

.blog-swiper .swiper-pagination-bullet-active {
    background: #e0001a;
    width: 40px;
}

/* ================================================================
   ARTICLE HERO (Title in Slider)
   ================================================================ */

.article-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    overflow: hidden;
}

.article-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(19, 28, 37, 1) 0%,
        rgba(19, 28, 37, 0.8) 30%,
        rgba(19, 28, 37, 0.3) 60%,
        transparent 100%
    );
}

.article-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 1.5rem;
    z-index: 10;
}

@media (min-width: 768px) {
    .article-hero__content {
        padding: 4rem 3rem;
    }
}

.article-hero__label {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #e0001a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.article-hero__category {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 1rem;
}

.article-hero__title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 800px;
}

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

@media (min-width: 1024px) {
    .article-hero__title {
        font-size: 3rem;
    }
}

.article-hero__subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.article-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.article-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-hero__meta-item .material-icons-outlined {
    font-size: 1.125rem;
}

/* ================================================================
   PRIMARY NAVIGATION (Single Top Bar)
   Contains: Logo | Main Links (Desktop) | Login/User + Burger
   ================================================================ */

.primary-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 12px 20px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .primary-nav {
        padding: 16px 40px;
    }
}

@media (min-width: 1280px) {
    .primary-nav {
        padding: 20px 60px;
    }
}

.primary-nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    gap: 20px;
}

/* Logo - Up to 250px width */
.primary-nav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.primary-nav__logo img {
    width: 160px;
    height: auto;
    transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
    .primary-nav__logo img {
        width: 190px;
    }
}

@media (min-width: 1024px) {
    .primary-nav__logo img {
        width: 220px;
    }
}

/* Main Navigation Links (Desktop Only) */
.primary-nav__links {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
}

@media (min-width: 1024px) {
    .primary-nav__links {
        display: flex;
    }
}

.primary-nav__link {
    padding: 10px 18px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

/* Dark Mode Links */
.nav--dark .primary-nav__link {
    color: rgba(255, 255, 255, 0.85);
}

.nav--dark .primary-nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav--dark .primary-nav__link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

/* Light Mode Links */
.nav--light .primary-nav__link {
    color: #4b5563;
}

.nav--light .primary-nav__link:hover {
    color: #131c25;
    background: rgba(0, 0, 0, 0.04);
}

.nav--light .primary-nav__link.active {
    color: #e0001a;
    background: rgba(224, 0, 26, 0.08);
}

/* Scrolled State Links */
.primary-nav.is-scrolled .primary-nav__link {
    color: #4b5563;
}

.primary-nav.is-scrolled .primary-nav__link:hover {
    color: #131c25;
    background: rgba(0, 0, 0, 0.04);
}

.primary-nav.is-scrolled .primary-nav__link.active {
    color: #e0001a;
    background: rgba(224, 0, 26, 0.08);
}

/* ================================
   DROPDOWN NAVIGATION
   ================================ */

.primary-nav__dropdown {
    position: relative;
}

.primary-nav__dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.primary-nav__dropdown-arrow {
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.primary-nav__dropdown:hover .primary-nav__dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.primary-nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.primary-nav__dropdown:hover .primary-nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.primary-nav__dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.primary-nav__dropdown-item:hover {
    background: #f3f4f6;
}

.primary-nav__dropdown-item span {
    display: flex;
    flex-direction: column;
}

.primary-nav__dropdown-item strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #131c25;
}

.primary-nav__dropdown-item small {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 2px;
}

.primary-nav__dropdown-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    color: #e0001a;
    font-size: 20px;
    flex-shrink: 0;
}

.primary-nav__dropdown-item:hover .primary-nav__dropdown-icon {
    background: #e0001a;
    color: #fff;
}

.primary-nav__dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 8px 16px;
}

/* Logo Variants */
.nav--dark .primary-nav__logo-light { display: none; }
.nav--dark .primary-nav__logo-dark { display: block; }
.nav--light .primary-nav__logo-dark { display: none; }
.nav--light .primary-nav__logo-light { display: block; }

/* Scrolled State - Show light logo */
.primary-nav.is-scrolled .primary-nav__logo-dark { display: none; }
.primary-nav.is-scrolled .primary-nav__logo-light { display: block; }

/* Right Actions */
.primary-nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (min-width: 768px) {
    .primary-nav__actions {
        gap: 16px;
    }
}

/* Login Button */
.primary-nav__login {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

/* Dark Mode Login */
.nav--dark .primary-nav__login {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav--dark .primary-nav__login:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Light Mode Login */
.nav--light .primary-nav__login {
    background: #131c25;
    color: #fff;
    border: 1px solid #131c25;
}

.nav--light .primary-nav__login:hover {
    background: #1f2937;
}

/* Scrolled State Login */
.primary-nav.is-scrolled .primary-nav__login {
    background: #e0001a;
    color: #fff;
    border-color: #e0001a;
}

.primary-nav.is-scrolled .primary-nav__login:hover {
    background: #c4001a;
}

/* Theme Toggle in Navigation - Always Visible */
.primary-nav .theme-toggle {
    width: 36px;
    height: 36px;
}

/* Dark Nav: Toggle ist hell (weiß) */
.nav--dark .theme-toggle {
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.nav--dark .theme-toggle:hover {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* Light Nav: Toggle ist dunkel */
.nav--light .theme-toggle {
    color: rgba(10, 15, 20, 0.7) !important;
    border-color: rgba(10, 15, 20, 0.2) !important;
    background: rgba(10, 15, 20, 0.05) !important;
}

.nav--light .theme-toggle:hover {
    color: #0a0f14 !important;
    border-color: rgba(10, 15, 20, 0.35) !important;
    background: rgba(10, 15, 20, 0.1) !important;
}

/* Scrolled State: Toggle ist dunkel auf weißem Hintergrund - höchste Priorität */
.primary-nav.is-scrolled .theme-toggle {
    color: #131c25 !important;
    border-color: rgba(19, 28, 37, 0.25) !important;
    background: rgba(19, 28, 37, 0.08) !important;
}

.primary-nav.is-scrolled .theme-toggle:hover {
    color: #0a0f14 !important;
    border-color: rgba(10, 15, 20, 0.4) !important;
    background: rgba(10, 15, 20, 0.12) !important;
}

/* User Avatar (Logged In) */
.primary-nav__user {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.nav--dark .primary-nav__user:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav--light .primary-nav__user:hover,
.primary-nav.is-scrolled .primary-nav__user:hover {
    background: rgba(0, 0, 0, 0.05);
}

.primary-nav__avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: #e0001a;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.primary-nav__avatar span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.primary-nav__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: #e0001a;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.primary-nav__username {
    display: none;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (min-width: 640px) {
    .primary-nav__username {
        display: block;
    }
}

.nav--dark .primary-nav__username {
    color: #fff;
}

.nav--light .primary-nav__username,
.primary-nav.is-scrolled .primary-nav__username {
    color: #131c25;
}

/* Burger Button */
.primary-nav__burger {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.nav--dark .primary-nav__burger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav--light .primary-nav__burger:hover,
.primary-nav.is-scrolled .primary-nav__burger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.primary-nav__burger span {
    display: block;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.primary-nav__burger span:nth-child(1) { width: 20px; }
.primary-nav__burger span:nth-child(2) { width: 16px; }
.primary-nav__burger span:nth-child(3) { width: 20px; }

.nav--light .primary-nav__burger span,
.primary-nav.is-scrolled .primary-nav__burger span {
    background: #131c25;
}

/* Burger Active State (X) */
.primary-nav__burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    width: 22px;
}

.primary-nav__burger.is-active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.primary-nav__burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    width: 22px;
}

/* Scrolled State - Add background */
.primary-nav.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Light Mode - Sofort weißer Hintergrund (für Seiten ohne Hero) */
.primary-nav.nav--light {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Secondary Navigation - Removed (merged into Primary Nav) */

/* Burger Hover Animation */
@keyframes burger-draw {
    0%   { width: 8px; }
    100% { width: 20px; }
}

.floating-nav__burger:hover span {
    animation: burger-draw 0.4s cubic-bezier(0.44, 1.1, 0.53, 0.99) forwards;
}

.floating-nav__burger:hover span:nth-child(2) { animation-delay: 0.05s; }
.floating-nav__burger:hover span:nth-child(3) { animation-delay: 0.1s; }

/* Active State (X) */
.floating-nav__burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    width: 20px;
}

.floating-nav__burger.is-active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.floating-nav__burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    width: 20px;
}

/* Hide old navigation when floating nav is present */
body.has-floating-nav #main-nav {
    display: none;
}

/* ================================================================
   LOGGED-IN USER STYLES (Floating Nav)
   ================================================================ */

/* User Container */
.floating-nav__user {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.2s ease;
}

@media (min-width: 640px) {
    .floating-nav__user {
        display: flex;
    }
}

/* Dark Mode User */
.floating-nav--dark .floating-nav__user {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-nav--dark .floating-nav__user:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Light Mode User */
.floating-nav--light .floating-nav__user {
    background: rgba(19, 28, 37, 0.08);
    border: 1px solid rgba(19, 28, 37, 0.1);
}

.floating-nav--light .floating-nav__user:hover {
    background: rgba(19, 28, 37, 0.12);
}

/* Scrolled State User */
.floating-nav.is-scrolled .floating-nav__user {
    background: rgba(224, 0, 26, 0.08);
    border-color: rgba(224, 0, 26, 0.15);
}

.floating-nav.is-scrolled .floating-nav__user:hover {
    background: rgba(224, 0, 26, 0.12);
}

/* Avatar Container */
.floating-nav__avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Avatar with Image */
.floating-nav__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Avatar with Initials */
.floating-nav__avatar span {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Dark Mode Avatar */
.floating-nav--dark .floating-nav__avatar {
    background: rgba(255, 255, 255, 0.2);
}

.floating-nav--dark .floating-nav__avatar span {
    color: #fff;
}

/* Light Mode Avatar */
.floating-nav--light .floating-nav__avatar {
    background: #131c25;
}

.floating-nav--light .floating-nav__avatar span {
    color: #fff;
}

/* Scrolled State Avatar */
.floating-nav.is-scrolled .floating-nav__avatar {
    background: #e0001a;
}

.floating-nav.is-scrolled .floating-nav__avatar span {
    color: #fff;
}

/* Notification Badge */
.floating-nav__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #e0001a;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(224, 0, 26, 0.4);
}

/* Username */
.floating-nav__username {
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Dark Mode Username */
.floating-nav--dark .floating-nav__username {
    color: #fff;
}

/* Light Mode Username */
.floating-nav--light .floating-nav__username {
    color: #131c25;
}

/* Scrolled State Username */
.floating-nav.is-scrolled .floating-nav__username {
    color: #131c25;
}

/* ================================================================
   ADAPTIVE CONTRAST SYSTEM
   ================================================================
   Automatischer Farbwechsel für Navigation auf dunklen Hintergründen
   - Menülinks, Logo, Icons wechseln zu Weiß auf Dark Backgrounds
   - Sanfte Übergänge ohne visuelles Flackern
   ================================================================ */

/* Navigation Contrast Layer - Optionaler Gradient für bessere Lesbarkeit */
.primary-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        transparent 100%
    );
    opacity: 1;
    pointer-events: none;
    z-index: -1;
    transition: opacity 0.4s ease;
}

/* Gradient verschwindet beim Scrollen (weiße Nav) */
.primary-nav.is-scrolled::before {
    opacity: 0;
}

/* Light Mode braucht keinen Gradient */
.primary-nav.nav--light::before {
    opacity: 0;
}

/* ================================================================
   NETFLIX-STYLE LOGIN OVERLAY
   ================================================================
   Modernes, fokussiertes Login-Erlebnis
   - Partieller Abdunklung des Hintergrunds
   - Login-Bereich bleibt hell und klar
   - Weiche Übergänge
   ================================================================ */

/* Overlay Container */
.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    display: none; /* Komplett ausblenden wenn nicht aktiv */
    align-items: center;
    justify-content: center;
    padding: 20px;

    /* Initial hidden */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.auth-overlay.is-active {
    display: flex; /* Nur sichtbar wenn aktiv */
    opacity: 1;
    visibility: visible;
}

/* Netflix-Style Backdrop - Partiell abgedunkelt mit Blur */
.auth-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 20, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;

    /* Vignette-Effekt für Fokussierung */
    background: radial-gradient(
        ellipse at center,
        rgba(10, 15, 20, 0.7) 0%,
        rgba(10, 15, 20, 0.9) 70%,
        rgba(10, 15, 20, 0.95) 100%
    );
}

/* Login Card - Hell und kontrastreich */
.auth-overlay__card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.1);

    /* Entrance Animation */
    transform: translateY(20px) scale(0.98);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-overlay.is-active .auth-overlay__card {
    transform: translateY(0) scale(1);
}

@media (min-width: 768px) {
    .auth-overlay__card {
        padding: 48px;
    }
}

/* Card Header */
.auth-overlay__header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-overlay__logo {
    height: 40px;
    width: auto;
    margin-bottom: 24px;
}

.auth-overlay__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #131c25;
    margin-bottom: 8px;
}

.auth-overlay__subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
}

/* Form Inputs */
.auth-overlay__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-overlay__input-group {
    position: relative;
}

.auth-overlay__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.auth-overlay__input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    color: #131c25;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.auth-overlay__input:focus {
    outline: none;
    border-color: #e0001a;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(224, 0, 26, 0.1);
}

.auth-overlay__input::placeholder {
    color: #9ca3af;
}

/* Submit Button */
.auth-overlay__submit {
    width: 100%;
    padding: 16px;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #e0001a;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-overlay__submit:hover {
    background: #c4001a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(224, 0, 26, 0.3);
}

.auth-overlay__submit:active {
    transform: translateY(0);
}

.auth-overlay__submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Links & Meta */
.auth-overlay__links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.auth-overlay__link {
    font-size: 0.875rem;
    color: #e0001a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-overlay__link:hover {
    color: #c4001a;
    text-decoration: underline;
}

/* Divider */
.auth-overlay__divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #9ca3af;
    font-size: 0.8125rem;
}

.auth-overlay__divider::before,
.auth-overlay__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Social Login Buttons */
.auth-overlay__social {
    display: flex;
    gap: 12px;
}

.auth-overlay__social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-overlay__social-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.auth-overlay__social-btn svg {
    width: 20px;
    height: 20px;
}

/* Close Button */
.auth-overlay__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.auth-overlay__close:hover {
    background: #f3f4f6;
    color: #374151;
}

.auth-overlay__close svg {
    width: 24px;
    height: 24px;
}

/* Error Message */
.auth-overlay__error {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

/* Success Message */
.auth-overlay__success {
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #16a34a;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

/* Loading State */
.auth-overlay__card.is-loading {
    pointer-events: none;
}

.auth-overlay__card.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    z-index: 10;
}

/* Spinner */
.auth-overlay__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #e0001a;
    border-radius: 50%;
    animation: auth-spin 0.8s linear infinite;
    z-index: 11;
}

@keyframes auth-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ================================================================
   HERO NAVIGATION CONTRAST
   ================================================================
   Spezielle Regeln für Navigation über Hero-Slidern
   ================================================================ */

/* Wenn Hero-Slider aktiv ist, Navigation immer weiß */
.has-hero-slider .primary-nav:not(.is-scrolled) .primary-nav__link {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.has-hero-slider .primary-nav:not(.is-scrolled) .primary-nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.has-hero-slider .primary-nav:not(.is-scrolled) .primary-nav__link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* Logo auf Hero immer hell */
.has-hero-slider .primary-nav:not(.is-scrolled) .primary-nav__logo-light {
    display: none !important;
}

.has-hero-slider .primary-nav:not(.is-scrolled) .primary-nav__logo-dark {
    display: block !important;
}

/* Login Button auf Hero */
.has-hero-slider .primary-nav:not(.is-scrolled) .primary-nav__login {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.has-hero-slider .primary-nav:not(.is-scrolled) .primary-nav__login:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Burger Lines auf Hero */
.has-hero-slider .primary-nav:not(.is-scrolled) .primary-nav__burger span {
    background: #fff;
}

/* Username auf Hero */
.has-hero-slider .primary-nav:not(.is-scrolled) .primary-nav__username {
    color: #fff;
}

/* Theme Toggle auf Hero - immer hell/sichtbar */
.has-hero-slider .primary-nav:not(.is-scrolled) .theme-toggle {
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.has-hero-slider .primary-nav:not(.is-scrolled) .theme-toggle:hover {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

/* ================================================================
   TYPOGRAPHY SYSTEM v2.0 (Drumeo-inspired)
   ================================================================
   Kleinere, lesbarere Texte mit klarer Hierarchie
   ================================================================ */

:root {
    /* Typografie-Skala */
    --text-xs: 0.75rem;        /* 12px */
    --text-sm: 0.8125rem;      /* 13px */
    --text-base: 0.9375rem;    /* 15px - Body */
    --text-md: 1rem;           /* 16px */
    --text-lg: 1.125rem;       /* 18px */
    --text-xl: 1.25rem;        /* 20px */
    --text-2xl: 1.5rem;        /* 24px */
    --text-3xl: 1.875rem;      /* 30px */
    --text-4xl: 2.25rem;       /* 36px */
    --text-5xl: 2.75rem;       /* 44px */

    /* Zeilenabstände */
    --leading-tight: 1.2;
    --leading-snug: 1.4;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;
}

/* ================================================================
   ARTICLE INFO WIDGET (Sidebar)
   ================================================================ */

.info-widget {
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
}

.info-widget__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.info-widget__icon {
    width: 18px;
    height: 18px;
    color: #e0001a;
}

.info-widget__title {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(0, 0, 0, 0.6);
}

.info-widget__section {
    margin-bottom: 1.25rem;
}

.info-widget__section:last-child {
    margin-bottom: 0;
}

.info-widget__label {
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 0.35rem;
}

.info-widget__value {
    font-size: var(--text-sm);
    font-weight: 500;
    color: #1a1a1a;
    line-height: var(--leading-snug);
}

/* Reading Time Display */
.reading-time {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reading-time__icon {
    width: 20px;
    height: 20px;
    color: #e0001a;
}

.reading-time__text {
    font-size: var(--text-md);
    font-weight: 600;
    color: #111;
}

/* Progress in Widget */
.reading-progress-widget {
    margin-top: 1rem;
}

.progress-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, #e0001a 0%, #ff4757 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.15s ease-out;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: var(--text-xs);
    color: rgba(0, 0, 0, 0.5);
}

/* Sources List */
.sources-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sources-list li {
    font-size: var(--text-xs);
    color: rgba(0, 0, 0, 0.6);
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    line-height: var(--leading-snug);
}

.sources-list li:last-child {
    border-bottom: none;
}

.sources-list a {
    color: #2563eb;
    text-decoration: none;
}

.sources-list a:hover {
    text-decoration: underline;
}

/* ================================================================
   TRANSPARENCY & ORIGIN BADGES
   Artikel-Herkunft und Qualitätsindikatoren
   ================================================================ */

/* Transparency Badge Container */
.transparency-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

/* Origin Badge (Redaktionell, KI-unterstützt, etc.) */
.transparency-badge__origin {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    background: color-mix(in srgb, var(--badge-color, #10b981) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--badge-color, #10b981) 25%, transparent);
    border-radius: 6px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--badge-color, #10b981);
}

.transparency-badge__origin .material-icons-outlined {
    font-size: 14px;
}

.transparency-badge__label {
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Content Type Badge */
.transparency-badge__type {
    font-size: var(--text-xs);
    font-weight: 500;
    color: rgba(0, 0, 0, 0.5);
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 4px;
}

/* AI Disclosure Badge */
.ai-disclosure {
    margin-top: -0.5rem;
}

.ai-disclosure__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.5rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(14, 165, 233, 0.15);
    border-radius: 5px;
    font-size: 0.6875rem;
    color: #0ea5e9;
}

.ai-disclosure__badge .material-icons-outlined {
    font-size: 13px;
}

/* Content Basis Tags */
.content-basis {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.35rem;
}

.content-basis__tag {
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.2rem 0.45rem;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    color: rgba(0, 0, 0, 0.6);
}

/* ================================================================
   HERO SLIDER TYPOGRAPHY (Headlines) - Drumeo-Style
   Light + ExtraBold Kontrast
   ================================================================ */

.blog-hero-slide__title,
.article-hero__title {
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.025em;
    line-height: var(--leading-tight);
}

/* Drumeo-Style: Light + ExtraBold in Article Hero */
.article-hero__title .font-light {
    font-weight: 300;
    text-transform: none;
}

.article-hero__title .font-extrabold {
    font-weight: 800;
    text-transform: uppercase;
}

/* Artikel Untertitel - Light für Kontrast */
.article-hero__subtitle {
    font-weight: 300;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    opacity: 0.9;
}

/* Blog Hero Excerpt - Light */
.blog-hero-slide__excerpt {
    font-weight: 300;
}

.hero-netflix-content h1 {
    letter-spacing: -0.025em;
}

/* Light/Bold Spans in Hero Headlines */
.hero-netflix-content h1 .font-light,
.article-hero__title .font-light {
    font-weight: 300;
    text-transform: none;
}

.hero-netflix-content h1 .font-extrabold,
.article-hero__title .font-extrabold {
    font-weight: 800;
    text-transform: uppercase;
}

/* ================================================================
   ARTICLE CONTENT TYPOGRAPHY (Smaller, more readable)
   ================================================================ */

.article-content p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: #1a1a1a;
    margin-bottom: 1.25em;
}

.article-content h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: #111;
    letter-spacing: -0.01em;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.article-content h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: #222;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.article-content ul li,
.article-content ol li {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.article-content blockquote p {
    font-size: var(--text-base);
    font-style: italic;
    color: rgba(0, 0, 0, 0.85);
}

/* ================================================================
   ADMIN BUTTON SYSTEM
   ================================================================
   Konsistente Button-Styles fuer Admin-Bereich
   Basierend auf INTIMEON Farbschema:
   - Primary:   #e0001a (Rot)
   - Secondary: #f3f4f6 -> #e0001a auf Hover
   - Danger:    Rot-Akzent fuer destruktive Aktionen
   - Success:   Gruen mit Rot-Harmonie
   ================================================================ */

/* Admin Base Button */
.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
    font-family: inherit;
}

.admin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Admin Primary - Rot */
.admin-btn-primary {
    background: #e0001a;
    color: #fff;
    border-color: #e0001a;
}

.admin-btn-primary:hover:not(:disabled) {
    background: #c4001a;
    border-color: #c4001a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(224, 0, 26, 0.25);
}

/* Admin Secondary - Grau -> Rot bei Hover */
.admin-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border-color: #e5e7eb;
}

.admin-btn-secondary:hover:not(:disabled) {
    background: #e0001a;
    color: #fff;
    border-color: #e0001a;
    transform: translateY(-1px);
}

/* Admin Outline - Transparent mit Rand */
.admin-btn-outline {
    background: transparent;
    color: #374151;
    border-color: #d1d5db;
}

.admin-btn-outline:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #131c25;
}

/* Admin Danger - Fuer destruktive Aktionen */
.admin-btn-danger {
    background: #fff;
    color: #dc2626;
    border-color: #fecaca;
}

.admin-btn-danger:hover:not(:disabled) {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* Admin Success - Gruen harmonisch */
.admin-btn-success {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

.admin-btn-success:hover:not(:disabled) {
    background: #059669;
    border-color: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Admin Warning - Gelb/Orange */
.admin-btn-warning {
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

.admin-btn-warning:hover:not(:disabled) {
    background: #fcd34d;
    color: #78350f;
    border-color: #f59e0b;
}

/* Admin Button Sizes */
.admin-btn-sm {
    padding: 6px 14px;
    font-size: 0.8125rem;
}

.admin-btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* ================================================================
   COOKIE BANNER BUTTON OVERRIDES
   ================================================================ */

.cookie-banner__btn {
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cookie-banner__btn--primary {
    background: #e0001a;
    color: #fff;
    border: none;
}

.cookie-banner__btn--primary:hover {
    background: #c4001a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(224, 0, 26, 0.25);
}

.cookie-banner__btn--secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.cookie-banner__btn--secondary:hover {
    background: #e0001a;
    color: #fff;
    border-color: #e0001a;
    transform: translateY(-1px);
}

.cookie-banner__btn--link {
    background: transparent;
    color: #6b7280;
    border: none;
}

.cookie-banner__btn--link:hover {
    color: #e0001a;
    background: rgba(224, 0, 26, 0.05);
}

/* ================================================================
   ACTION BUTTON OVERRIDES (Tables, Lists)
   ================================================================ */

.action-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 4px;
}

.action-btn:hover {
    background: #e0001a;
    color: #fff;
    border-color: #e0001a;
}

.action-btn--danger {
    color: #dc2626;
    border-color: #fecaca;
}

.action-btn--danger:hover {
    background: #dc2626;
    color: #fff;
    border-color: #dc2626;
}

.action-btn--success {
    color: #059669;
    border-color: #a7f3d0;
}

.action-btn--success:hover {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}

/* ================================================================
   EXPORT BUTTON
   ================================================================ */

.export-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #e0001a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.export-btn:hover {
    background: #c4001a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(224, 0, 26, 0.25);
}

/* ================================================================
   STAT PILLS
   ================================================================ */

.stat-pill {
    padding: 8px 16px;
    background: #fff;
    border-radius: 8px;
    font-size: 0.875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.stat-pill:hover {
    border-color: #e0001a;
    color: #e0001a;
}

.stat-pill.active,
.stat-pill:hover.active {
    background: #e0001a;
    color: #fff;
    border-color: #e0001a;
}

.stat-pill strong {
    color: #e0001a;
}

.stat-pill.active strong,
.stat-pill:hover.active strong {
    color: #fff;
}

/* ================================================================
   BADGE SYSTEM
   ================================================================ */

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.badge-confirmed,
.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-pending,
.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-unsubscribed,
.badge-inactive {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.badge-draft {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-sent,
.badge-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-error,
.badge-danger {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}
