/* css/style.css */

:root {
    --bg-color: #ffffff;
    --text-brand-dark: #0f172a;
    --text-brand-light: #475569;
    --brand-blue: #2563eb;
    --deep-blue: #1d4ed8;
    --glow-blue: rgba(37, 99, 235, 0.25);
    --card-bg: #f8fafc;
    --border-color: #e2e8f0;
    --radius: 16px;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body { 
    font-family: 'Outfit', sans-serif, system-ui; 
    background-color: var(--bg-color); 
    color: var(--text-brand-dark); 
    line-height: 1.6; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

/* Header & Navigation */
.main-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 1.25rem 5%; 
    border-bottom: 1px solid var(--border-color); 
    position: sticky; 
    top: 0; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(8px); 
    z-index: 1000; 
}

.logo-link { 
    display: flex; 
    align-items: center; 
    text-decoration: none; 
}

.logo-img { 
    height: 120px; 
    width: auto; 
}

.main-nav ul { 
    display: flex; 
    list-style: none; 
    gap: 2rem; 
    align-items: center; 
}

/* Normale Navigationslinks (ohne Buttons) */
.main-nav a:not(.btn) { 
    text-decoration: none; 
    color: var(--text-brand-dark); 
    font-weight: 500; 
    transition: color 0.2s; 
}

.main-nav a:not(.btn):hover { 
    color: var(--brand-blue); 
}

/* Buttons */
.btn { 
    background: linear-gradient(135deg, var(--brand-blue), var(--deep-blue)); 
    color: white;
    padding: 0.75rem 1.75rem; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: 600; 
    box-shadow: 0 4px 20px var(--glow-blue); 
    transition: transform 0.2s, box-shadow 0.2s; 
    display: inline-block; 
}

.btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4); 
    color: white;
}

.btn-outline { 
    background: transparent; 
    color: var(--brand-blue); 
    border: 2px solid var(--brand-blue); 
    box-shadow: none; 
}

.btn-outline:hover { 
    background: var(--brand-blue); 
    color: white; 
}

/* Hero Section */
.hero { 
    padding: 5rem 0; 
}

.hero-grid { 
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    gap: 4rem; 
    align-items: center; 
}

.hero h1 { 
    font-size: 3.2rem; 
    line-height: 1.15; 
    margin-bottom: 1.5rem; 
    color: var(--text-brand-dark); 
}

.hero h1 span { 
    color: var(--brand-blue); 
    text-shadow: 0 0 25px var(--glow-blue); 
}

.hero p.lead { 
    font-size: 1.2rem; 
    color: var(--text-brand-light); 
    margin-bottom: 2rem; 
}

.hero-card { 
    background: var(--card-bg); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
    padding: 2.5rem; 
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.03); 
    position: relative; 
}

.hero-card h3 { 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
    color: var(--deep-blue); 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

/* Layout Sections & Cards */
.section-padding { 
    padding: 5rem 0; 
}

.section-title { 
    font-size: 2.5rem; 
    margin-bottom: 1.5rem; 
    text-align: center; 
}

.section-subtitle { 
    font-size: 1.15rem; 
    color: var(--text-brand-light); 
    max-width: 800px; 
    text-align: center; 
    margin: 0 auto 3rem auto; 
}

.card-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.card { 
    background: white; 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
    padding: 2.5rem; 
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.02); 
    transition: transform 0.2s; 
}

.card:hover { 
    transform: translateY(-4px); 
}

.card h3 { 
    font-size: 1.25rem; 
    margin-bottom: 1rem; 
    color: var(--deep-blue); 
}

.card p { 
    color: var(--text-brand-light); 
}

.bg-card-bg { 
    background-color: var(--card-bg); 
}

/* Footer */
.main-footer { 
    background: #0f172a; 
    color: white; 
    padding: 3rem 0; 
    text-align: center; 
    font-size: 0.95rem; 
}

.main-footer p { 
    color: #94a3b8; 
    margin-top: 0.5rem; 
}

.main-footer a { 
    color: #94a3b8; 
    text-decoration: none; 
    margin: 0 12px; 
    transition: color 0.2s; 
}

.main-footer a:hover { 
    color: white; 
}

/* Mobile Toggle Button (Desktop: versteckt) */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-brand-dark);
    cursor: pointer;
    padding: 4px;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .logo-img {
        height: 42px;
    }
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    .hero h1 { 
        font-size: 2.5rem; 
    }
    
    /* Hamburger-Icon einblenden */
    .mobile-toggle {
        display: block;
    }
    
    /* Mobile Navigation (versteckt, bis .active gesetzt wird) */
    .main-nav { 
        display: none; 
        position: absolute;
        top: 100%; /* Direkt unter dem Header */
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        padding: 1.5rem 5%;
    }
    
    /* Einblenden, wenn Button geklickt wurde */
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    /* Den Button auf 100% Breite ziehen für bessere Klickbarkeit */
    .main-nav a.btn {
        display: block;
        text-align: center;
        width: 100%;
    }
}