/**
 * Reifen Aktuell Theme CSS
 * Version: 1.0.0
 * 
 * Inhaltsverzeichnis:
 * 1. CSS Custom Properties (Variablen)
 * 2. Reset & Base Styles
 * 3. Typography
 * 4. Layout Utilities
 * 5. Components: Buttons
 * 6. Components: Cards
 * 7. Header & Navigation
 * 8. Hero Section
 * 9. Stats Section
 * 10. About Section
 * 11. Features Section
 * 12. Partners Section
 * 13. CTA Section
 * 14. Footer
 * 15. Scroll to Top
 * 16. Animations
 * 17. Responsive Breakpoints
 */

/* =============================================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================================= */
:root {
    /* Brand Colors - Reifen Aktuell */
    --primary-900: #2d0a14;
    --primary-800: #3f0f23;
    --primary-700: #451725;
    --primary-600: #5a1e30;
    --primary-500: #692938;
    --primary-400: #7a3346;
    --primary-300: #9d5a6a;
    --primary-200: #c4949f;
    --primary-100: #e8d4d8;
    --primary-50: #faf5f6;
    
    /* Neutral / Background */
    --cream-900: #3d3630;
    --cream-800: #5c534b;
    --cream-700: #7a7067;
    --cream-600: #998e83;
    --cream-500: #b8ab9f;
    --cream-400: #d1c7bc;
    --cream-300: #e3dbd2;
    --cream-200: #f0ebe5;
    --cream-100: #f7f2ed;
    --cream-50: #fdfcfa;
    
    /* Semantic Colors */
    --success: #059669;
    --warning: #d97706;
    --error: #dc2626;
    --info: #0284c7;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    
    /* Spacing Scale */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */
    
    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* =============================================================================
   2. RESET & BASE STYLES
   ============================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--cream-900);
    background-color: var(--cream-100);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Background Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/bg_content.jpg') center/cover no-repeat;
    opacity: 0.35;
    pointer-events: none;
    z-index: -1;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

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

a:hover {
    color: var(--primary-700);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

::selection {
    background-color: var(--primary-500);
    color: white;
}

/* Focus States - Accessibility */
:focus-visible {
    outline: 3px solid var(--primary-300);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--primary-700);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    z-index: 9999;
    font-weight: 500;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
    color: white;
}

/* =============================================================================
   3. TYPOGRAPHY
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    color: var(--primary-700);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.875rem;
}

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

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.125rem;
    color: var(--cream-700);
    line-height: 1.8;
}

.signature {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-style: italic;
    color: var(--primary-600);
    margin-top: var(--space-lg);
}

/* =============================================================================
   4. LAYOUT UTILITIES
   ============================================================================= */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.container-narrow {
    max-width: var(--container-narrow);
}

.section {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
}

.section-sm {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

/* Background utilities */
.bg-white {
    background-color: white;
}

.bg-cream {
    background-color: var(--cream-100);
}

.bg-cream-dark {
    background-color: var(--cream-200);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
    color: white;
}

.bg-primary-dark {
    background-color: var(--primary-800);
    color: white;
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* =============================================================================
   5. COMPONENTS: BUTTONS
   ============================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

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

.btn-primary:hover {
    background-color: var(--primary-700);
    border-color: var(--primary-700);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-600);
    border-color: var(--primary-400);
}

.btn-secondary:hover {
    background-color: var(--primary-500);
    border-color: var(--primary-500);
    color: white;
}

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

.btn-white:hover {
    background-color: var(--cream-100);
    border-color: var(--cream-100);
    color: var(--primary-800);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

/* =============================================================================
   6. COMPONENTS: CARDS
   ============================================================================= */
.card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.card-header {
    background: var(--primary-500);
    color: white;
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    font-size: 1.0625rem;
}

.card-body {
    padding: var(--space-xl);
}

.card-footer {
    padding: var(--space-md) var(--space-lg);
    background: var(--cream-100);
    border-top: 1px solid var(--cream-200);
}

/* =============================================================================
   7. HEADER & NAVIGATION
   ============================================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--cream-100);
    box-shadow: var(--shadow-sm);
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-800);
    color: white;
    font-size: 0.8125rem;
    padding: var(--space-sm) 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.top-bar-contact {
    display: flex;
    gap: var(--space-lg);
}

.top-bar-contact a {
    color: var(--primary-100);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    transition: color var(--transition-fast);
}

.top-bar-contact a:hover {
    color: white;
}

.top-bar-contact svg {
    width: 14px;
    height: 14px;
}

.top-bar-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--primary-200);
}

/* Main Header */
.header-main {
    padding: var(--space-md) 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-700);
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--cream-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Desktop Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    display: block;
    padding: 0.75rem 1.125rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: white;
    background-color: var(--primary-500);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--primary-700);
    color: white;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background-color: var(--primary-500);
    border: none;
    padding: var(--space-sm);
    border-radius: 6px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    margin: 5px 0;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--cream-100);
    z-index: 999;
    padding: 5rem var(--space-lg) var(--space-lg);
    flex-direction: column;
    gap: var(--space-sm);
    overflow-y: auto;
}

.mobile-nav.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.mobile-nav .nav-link {
    text-align: center;
    padding: var(--space-md);
    font-size: 1rem;
}

.mobile-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background-color: var(--primary-500);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--transition-fast);
}

.mobile-close:hover {
    background-color: var(--primary-700);
}

/* Header Border */
.header-border {
    height: 5px;
    background-color: var(--primary-800);
}

/* =============================================================================
   8. HERO SECTION
   ============================================================================= */
.hero {
    padding: var(--space-3xl) 0 var(--space-4xl);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content h1 {
    margin-bottom: var(--space-lg);
}

.hero-content h1 span {
    display: block;
    color: var(--cream-600);
    font-weight: 500;
    font-size: 0.65em;
}

.hero-content .lead {
    margin-bottom: var(--space-xl);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--cream-300);
}

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

.trust-badge-icon {
    width: 44px;
    height: 44px;
    background-color: var(--primary-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    flex-shrink: 0;
}

.trust-badge-icon svg {
    width: 22px;
    height: 22px;
}

.trust-badge-text {
    font-size: 0.875rem;
}

.trust-badge-text strong {
    display: block;
    color: var(--primary-700);
}

/* Hero Card (Shops) */
.hero-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-xl);
}

.hero-card-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.hero-card-title h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.hero-card-title p {
    color: var(--cream-600);
    font-size: 0.9375rem;
    margin: 0;
}

.shop-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.shop-link {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background-color: var(--cream-50);
    border: 2px solid var(--cream-200);
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.shop-link:hover {
    border-color: var(--primary-400);
    background-color: var(--primary-50);
    transform: translateX(4px);
}

.shop-link-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-500);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shop-link-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.shop-link-content {
    flex: 1;
}

.shop-link-title {
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: 2px;
}

.shop-link-desc {
    font-size: 0.875rem;
    color: var(--cream-600);
}

.shop-link-arrow {
    color: var(--primary-400);
    opacity: 0;
    transform: translateX(-8px);
    transition: all var(--transition-fast);
}

.shop-link:hover .shop-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

.shop-link-arrow svg {
    width: 24px;
    height: 24px;
}

/* =============================================================================
   9. STATS SECTION
   ============================================================================= */
.stats {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
    color: white;
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-md);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================================================
   10. ABOUT SECTION
   ============================================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.about-content h2 {
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--cream-700);
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-500);
    color: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-badge-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================================================
   11. FEATURES SECTION
   ============================================================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h3 {
    margin-bottom: var(--space-sm);
}

.feature-card p {
    color: var(--cream-600);
    font-size: 0.9375rem;
    margin: 0;
}

/* =============================================================================
   12. PARTNERS SECTION
   ============================================================================= */
.brands-section {
    text-align: center;
}

.brands-section h2 {
    margin-bottom: var(--space-2xl);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.partner-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--cream-200);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
}

.partner-card:hover {
    border-color: var(--primary-400);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.partner-name {
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: var(--space-xs);
}

.partner-desc {
    font-size: 0.8125rem;
    color: var(--cream-600);
    margin: 0;
}

/* =============================================================================
   13. CTA SECTION
   ============================================================================= */
.cta-section {
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-md);
}

.cta-section p {
    color: var(--primary-200);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* =============================================================================
   14. FOOTER
   ============================================================================= */
.footer {
    background-color: var(--primary-800);
    color: white;
    margin-top: var(--space-4xl);
}

.footer-tracks {
    height: 40px;
    background: url('../images/wheeltracks.png') repeat-x center;
    opacity: 0.3;
}

.footer-main {
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer h4 {
    color: white;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    color: var(--primary-200);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--primary-200);
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: white;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--primary-200);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--primary-300);
}

.footer-bottom a {
    color: var(--primary-300);
}

.footer-bottom a:hover {
    color: white;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

/* =============================================================================
   15. SCROLL TO TOP
   ============================================================================= */
.scroll-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background-color: var(--primary-500);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: var(--primary-700);
    transform: translateY(-4px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}

/* =============================================================================
   16. ANIMATIONS
   ============================================================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children animations */
.stagger > *:nth-child(1) { transition-delay: 0.1s; }
.stagger > *:nth-child(2) { transition-delay: 0.2s; }
.stagger > *:nth-child(3) { transition-delay: 0.3s; }
.stagger > *:nth-child(4) { transition-delay: 0.4s; }
.stagger > *:nth-child(5) { transition-delay: 0.5s; }
.stagger > *:nth-child(6) { transition-delay: 0.6s; }

/* =============================================================================
   17. RESPONSIVE BREAKPOINTS
   ============================================================================= */

/* Tablet & smaller desktop */
@media (max-width: 1024px) {
    .nav-main {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-badge {
        bottom: -15px;
        right: 15px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

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

/* Mobile */
@media (max-width: 640px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
        --space-4xl: 3rem;
    }

    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }

    .top-bar-contact {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .top-bar-meta {
        display: none;
    }

    .logo img {
        height: 50px;
    }

    .logo-name {
        font-size: 1.25rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }

    .trust-badges {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .scroll-top {
        bottom: var(--space-md);
        right: var(--space-md);
        width: 44px;
        height: 44px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .scroll-top,
    .mobile-nav {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    body::before {
        display: none;
    }

    .section {
        padding: 1rem 0;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}
/* =============================================================================
   CONTENT PAGES FIX - Zentrierung für Unterseiten
   Wie im ursprünglichen Design: max-width 1200px, zentriert
   ============================================================================= */

/* Content Container für alle Unterseiten */
main#main {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 3rem 2rem;
}

/* Überschriften */
main#main h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.25rem;
    color: #451725;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

main#main h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    color: #692938;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

main#main h3 {
    font-size: 1.25rem;
    color: #692938;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* Absätze */
main#main p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #3d3630;
}

/* Listen */
main#main ul,
main#main ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

main#main li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Tabellen */
main#main table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

main#main table th,
main#main table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e3dbd2;
}

main#main table th {
    background: #f7f2ed;
    font-weight: 600;
    color: #692938;
}

main#main table tr:hover {
    background: #fdfcfa;
}

/* Horizontale Linie */
main#main hr {
    border: none;
    border-top: 2px solid #e3dbd2;
    margin: 2rem 0;
}

/* Links */
main#main a:not(.btn):not(.nav-link) {
    color: #692938;
    text-decoration: underline;
    text-decoration-color: #c4949f;
    text-underline-offset: 2px;
}

main#main a:not(.btn):not(.nav-link):hover {
    color: #451725;
    text-decoration-color: #692938;
}

/* Strong/Bold */
main#main strong {
    font-weight: 600;
    color: #2d2420;
}

/* Responsive */
@media (max-width: 768px) {
    main#main {
        padding: 2rem 1rem;
    }
    
    main#main h1 {
        font-size: 1.75rem;
    }
    
    main#main h2 {
        font-size: 1.25rem;
    }
}