* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero .tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    opacity: 0.95;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
    max-width: 700px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: white;
    color: #1e3a8a;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
    transform: translateY(-3px);
}

.section {
    padding: 60px 20px;
}

.section-alt {
    background: #f8fafc;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 40px;
    color: #1e3a8a;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #3b82f6;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #1e3a8a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 15px;
    color: #1e3a8a;
}

.feature-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.info-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #3b82f6;
}

.info-item strong {
    display: block;
    color: #1e3a8a;
    margin-bottom: 8px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item span {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: #333;
}

.contact-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    text-align: center;
}

.contact-section h2 {
    color: white;
    margin-bottom: 30px;
}

.contact-info {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin: 20px auto;
    max-width: 600px;
    padding: 0 15px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    transition: border-color 0.3s ease;
}

.contact-info a:hover {
    border-color: white;
}

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

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
    gap: 30px;
}

.stat-item {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #3b82f6;
    display: block;
}

.stat-label {
    color: #64748b;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-top: 10px;
}

footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: 1.8;
}

footer a:hover {
    border-color: #94a3b8 !important;
}

/* Mobile optimiert - Erweitert */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px 40px;
        min-height: 400px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 15px 25px;
    }
    
    .section {
        padding: 40px 15px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stat-item {
        width: 100%;
        max-width: 300px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    footer nav {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px 30px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero .tagline {
        font-size: 1rem;
    }
    
    .section {
        padding: 30px 15px;
    }
    
    .section-title {
        margin-bottom: 25px;
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .contact-info {
        font-size: 0.95rem;
        padding: 0 10px;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .section {
        padding: 25px 10px;
    }
}

/* Accessibility */
.btn:focus,
.contact-info a:focus {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero {
        background: #1e3a8a;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .btn {
        display: none;
    }
}

/* Legal Pages Styling */
.legal-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px 20px;
}

.legal-page h1 {
    color: #1e3a8a;
    margin-bottom: 30px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.legal-page h2 {
    color: #1e3a8a;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.legal-page h3 {
    color: #1e3a8a;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

.legal-page h4 {
    color: #1e3a8a;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.legal-page p, .legal-page ul {
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.legal-page ul {
    margin-left: 20px;
    margin-top: 10px;
}

.legal-page a {
    color: #3b82f6;
    text-decoration: none;
    border-bottom: 1px solid #3b82f6;
}

.legal-page a:hover {
    border-bottom: 2px solid #3b82f6;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.version-info {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 0.9rem;
    color: #64748b;
}