/* ===== Grundlegendes Design ===== */
:root {
    --primary: #000000;
    --secondary: #003366;
    --accent: #0073e6;
    --light: #f5f5f5;
    --dark: #001a33;
    --success: #006627;
    --text-color: #222222;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 12px;
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--secondary);
}

h1 { 
    font-size: 2.5rem; 
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
h2 { 
    font-size: 2rem; 
    margin-bottom: 2rem;
    line-height: 1.3;
}
h3 { 
    font-size: 1.5rem; 
    margin-bottom: 1rem;
    line-height: 1.4;
}

p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

a { 
    text-decoration: none; 
    color: var(--secondary);
    transition: var(--transition);
}
a:hover { 
    color: var(--accent); 
    text-decoration: underline;
}

li {list-style: none;}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
    min-height: 48px;
    min-width: 48px;
    text-align: center;
    gap: 8px;
    text-decoration: none !important;
}

.btn-primary {
    background-color: var(--secondary);
    color: #ffffff !important;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: #002244;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light);
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    padding: 1rem 5%;
}

nav img {
    height: 5rem;
}

nav a, nav .nav a, .footer-logo a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.2;
    padding: 12px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

nav .nav a:hover {
    background-color: rgba(255,255,255,0.15);
    text-decoration: none;
    border-radius: 4px;
    text-decoration: none;
}

nav .nav a {
    margin-right: 0.5rem;
}

nav span {
    color: white;
    font-size: 2rem;
    line-height: 1;
}

nav a span, 
.footer-logo a span {
    color: white;
    font-size: 2rem;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    display: inline-block;
}

.footer-logo img {
    height: 2.5rem;
}

/* Desktop Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Dropdown */
.nav .dropdown {
    position: relative;
    display: inline-block;
}

.nav .dropbtn {
    background: none;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-family: inherit;
}

.nav .dropdown-content {
    display: none;
    position: absolute;
    background: var(--secondary);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 20;
    left: 0;
    top: 100%;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.nav .dropdown-content a {
    color: white;
    padding: 14px 16px;
    display: block;
    text-decoration: none;
    font-weight: normal;
    transition: background 0.2s;
    min-height: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav .dropdown-content a:hover {
    background-color: rgba(255,255,255,0.15);
    text-decoration: none;
}

/* Zeigt das Dropdown-Menü bei Hover an */
.nav .dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile Toggle Button */
.mobile-toggle { 
    display: none; 
    cursor: pointer; 
    font-size: 1.8rem;
    padding: 12px;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: white;
    z-index: 1001;
}

/* Hero Section */
.hero {
    background-color: var(--light);
    padding: 8rem 0 5rem;
    margin-top: 1rem; 
}

.hero-flex { 
    display:flex; 
    align-items:center; 
    justify-content:space-between; 
    gap: 60px; 
}

.hero-content {
    max-width: 600px;
    margin: 2rem 0;
}

.hero-content p {
    margin-top: 1rem;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
}

.hero-image-wrapper { 
    flex:1; 
    display:flex; 
    justify-content:center; 
    align-items: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* WhatsApp Button spezifisch */
.wa {
    background-color: #008080;
    border-color: #128C7E;
    color: #ffffff !important;
}

.wa:hover {
    background-color: #0E6E5E;
    border-color: #0E6E5E;
    color: #ffffff !important;
}

.btn-primary.wa a {
    color: #ffffff !important;
    text-decoration: none !important;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sections */
section { 
    padding: 5rem 0; 
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.service-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card h3 { 
    margin-bottom: 1.2rem; 
    color: var(--secondary); 
    font-size: 1.4rem;
}

.service-card p {
    color: #444;
    line-height: 1.6;
}

/* USP Section */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.usp-item {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.usp-item h3 { 
    margin-bottom: 1.2rem; 
    color: var(--secondary);
}

.usp-item p {
    color: #444;
}

/* Process Section */
.process-steps {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.step {
    background-color: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    flex: 1;
    min-width: 250px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    background-color: var(--secondary);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-form {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid #f0f0f0;
}

.form-group { 
    margin-bottom: 1.5rem; 
}

.form-group label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-weight: 600;
    color: var(--secondary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

.form-group ul {
    padding-left: 1.5rem;
}

.form-group li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
    color: #444;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: #fff;
    padding: 4rem 0 2rem;
}

footer p {
    color: #d0d0d0;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 { 
    margin-bottom: 1.5rem; 
    color: #fff; 
    font-size: 1.3rem;
}

.footer-column a { 
    color: #d0d0d0; 
    transition: var(--transition);
    display: block;
    padding: 6px 0;
    min-height: 32px;
    text-decoration: none;
}

.footer-column a:hover { 
    color: #fff; 
    text-decoration: underline;
}

.footer-bottom { 
    text-align: center; 
    font-size: 0.95rem; 
    color: #aaa;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-column ul {
    padding-left: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media(max-width:992px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media(max-width:768px) {
    /* Mobile Toggle Button */
    .mobile-toggle { 
        display: flex; 
    }
    
    /* Mobile Navigation - Standard ausgeblendet */
    .nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        background: var(--secondary);
        width: 100%;
        padding: 1.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        animation: slideDown 0.3s ease-out;
        gap: 0;
    }
    
    /* Mobile Navigation - wenn aktiv */
    .nav.active {
        display: flex;
    }
    
    .nav a {
        width: 100%;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 1.1rem;
        text-align: left;
        margin-right: 0;
        justify-content: flex-start;
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    /* Dropdown in Mobile */
    .nav .dropdown {
        width: 100%;
    }
    
    .nav .dropbtn {
        width: 100%;
        text-align: left;
        padding: 16px 20px;
        justify-content: flex-start;
        background: none;
        border: none;
        color: white;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Dropdown-Content in Mobile */
    .nav .dropdown-content {
        position: static;
        box-shadow: none;
        background: rgba(0,0,0,0.2);
        margin-left: 1rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
        display: none;
        animation: fadeIn 0.3s ease-out;
    }
    
    .nav .dropdown.active .dropdown-content {
        display: block;
    }
    
    .nav .dropdown-content a {
        padding: 14px 20px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    /* Animation für das Einblenden */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    /* Toggle Button States */
    .mobile-toggle.active::after {
        content: '✕';
    }
    
    .mobile-toggle:not(.active)::after {
        content: '☰';
    }
    
    /* Hero Section auf Mobile */
    .hero {
        padding: 4rem 0 3rem;
        margin-top: 70px;
    }
    
    .hero-image-wrapper {
        display: block;
        margin-top: 2rem;
    }
    
    .hero-image {
        max-width: 100%;
        height: auto;
    }
    
    .hero-content {
        margin: 0;
    }
    
    h1 { 
        font-size: 2rem; 
    }
    
    h2 { 
        font-size: 1.7rem; 
    }
    
    h3 { 
        font-size: 1.3rem; 
    }
    
    section { 
        padding: 3rem 0; 
    }
    
    /* Buttons auf Mobile */
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    /* Process Steps auf Mobile */
    .process-steps {
        flex-direction: column;
    }
    
    .step {
        min-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    /* Grids auf Mobile */
    .services-grid,
    .usp-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    /* Verhindert Scrolling wenn Menü offen */
    body.menu-open {
        overflow: hidden;
    }
}

@media(max-width:480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 { 
        font-size: 1.7rem; 
    }
    
    h2 { 
        font-size: 1.5rem; 
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .service-card,
    .usp-item,
    .step,
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    nav {
        padding: 1rem;
    }
    
    nav img {
        height: 3rem;
    }
}