/**
 * 3W Medical GmbH - Corporate Design
 * Responsive CSS für alle Landingpages
 * 
 * Farbschema basierend auf Logo:
 * - Primär Blau: #0077b6, #00a8e8
 * - Akzent Grün: #2e8b57, #3cb371
 * - Neutral: #1a1a2e, #16213e, #f8f9fa
 */

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Hauptfarben */
    --primary-blue: #0077b6;
    --primary-blue-dark: #005f8a;
    --primary-blue-light: #00a8e8;
    --accent-green: #2e8b57;
    --accent-green-light: #3cb371;
    
    /* Hintergründe */
    --bg-dark: #1a1a2e;
    --bg-darker: #16213e;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    
    /* Text */
    --text-dark: #1a1a2e;
    --text-medium: #4a5568;
    --text-light: #718096;
    --text-white: #ffffff;
    
    /* Gradient */
    --gradient-hero: linear-gradient(135deg, #0077b6 0%, #00a8e8 50%, #2e8b57 100%);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    
    /* Schatten */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    
    /* Abstände */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Schriften */
    --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', sans-serif;
    
    /* Rundungen */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-blue-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.container-narrow {
    max-width: 900px;
}

.section {
    padding: var(--space-xl) 0;
}

.section-light {
    background: var(--bg-white);
}

.section-gray {
    background: var(--bg-light);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-link {
    font-weight: 500;
    color: var(--text-medium);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: rgba(0, 119, 182, 0.08);
}

.nav-link.active {
    color: var(--primary-blue);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-hero);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.45);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-outline:hover {
    background: var(--text-white);
    color: var(--primary-blue);
}

.btn-login {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-login:hover {
    background: var(--primary-blue);
    color: var(--text-white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 70px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: var(--space-md);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

.hero-lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-lg);
    max-width: 600px;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,119,182,0.1), rgba(46,139,87,0.1));
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    margin-bottom: var(--space-md);
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.tag {
    display: inline-block;
    background: rgba(0,119,182,0.1);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
}

/* ============================================
   INFO SECTIONS
   ============================================ */
.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.info-section.reverse {
    direction: rtl;
}

.info-section.reverse > * {
    direction: ltr;
}

.info-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: var(--space-md);
}

.info-content p {
    color: var(--text-medium);
    margin-bottom: var(--space-md);
}

.info-list {
    list-style: none;
    margin-bottom: var(--space-md);
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-medium);
}

.info-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: var(--accent-green);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.info-visual {
    position: relative;
}

.info-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   STATS
   ============================================ */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    text-align: center;
}

.stat-item {
    padding: var(--space-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.stat-label {
    color: var(--text-medium);
    font-size: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--gradient-hero);
    padding: var(--space-xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-white);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: var(--space-sm);
    /* Logo behält Originalfarben */
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--space-xs);
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-blue-light);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: var(--text-white);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .info-section {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .info-section.reverse {
        direction: ltr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-xs);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: calc(70px + var(--space-xl)) 0 var(--space-xl);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-group .btn {
        width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 3rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-lead {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: var(--space-md);
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================
   PAGE-SPECIFIC: REISEMEDIZIN
   ============================================ */
.hero-reise {
    background: linear-gradient(135deg, #00a8e8 0%, #0077b6 50%, #005f8a 100%);
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 10px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--text-white);
    margin-right: var(--space-xs);
    margin-bottom: var(--space-xs);
}

/* ============================================
   PAGE-SPECIFIC: GESUNDHEITSZEUGNIS
   ============================================ */
.hero-gesund {
    background: linear-gradient(135deg, #2e8b57 0%, #3cb371 50%, #0077b6 100%);
}

.legal-notice {
    background: rgba(0,119,182,0.05);
    border-left: 4px solid var(--primary-blue);
    padding: var(--space-md);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-md) 0;
}

.legal-notice p {
    margin: 0;
    color: var(--text-medium);
}

.price-highlight {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-light));
    color: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
}

.price-highlight .price {
    font-size: 2.5rem;
    font-weight: 700;
}
