/* 1. Global Styles, Variablen & Reset */
:root {
    --color-primary: #0A2540; /* Dunkles Blau (Professionalität) */
    --color-accent: #FF6B00;  /* Kräftiges Orange (CTAs) */
    --color-text: #333333;
    --color-light-bg: #F8F9FA; /* Helles Grau für Hintergründe */
    --color-white: #FFFFFF;
    --font-family: 'Inter', sans-serif;
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

/* 2. Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
}

.section-padding {
    padding: 90px 0;
}

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

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

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

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

/* 3. Typografie */
h1, h2, h3, h4 {
    color: var(--color-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--color-accent);
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* 4. Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: #e05d00; /* Dunkleres Orange */
    color: var(--color-white);
    transform: translateY(-2px);
    text-decoration: none;
}

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

.btn-secondary:hover {
    background-color: #001a2e;
    color: var(--color-white);
    text-decoration: none;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-small:hover {
    background-color: #e05d00;
    color: var(--color-white);
    text-decoration: none;
}


/* 5. Header & Navigation */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Angepasstes Styling für das Bild-Logo */
.logo {
    display: block;
}

.logo img {
    max-height: 60px; /* Steuert die Höhe des Logos. Bei Bedarf anpassen. */
    width: auto;
    display: block; /* Verhindert unerwünschten Abstand unter dem Bild */
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav a {
    color: var(--color-text);
    font-weight: 600;
}

nav a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/* 6. Hero Section */
.hero {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    color: var(--color-white);
}

.subheadline {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* 7. Problem Section */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.problem-card {
    background-color: var(--color-light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-left: 4px solid var(--color-accent);
}

.problem-card h3 {
    font-size: 1.2rem;
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* 8. USP (Warum wir) Section */
.checkmark-list {
    list-style-type: none;
    margin-bottom: 20px;
    padding-left: 0;
}

.checkmark-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.checkmark-list li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* 9. Services Section */
.services-flex {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.service-card {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background-color: var(--color-white);
    border-top: 4px solid var(--color-accent);
    display: flex;
    flex-direction: column;
}

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

.service-card p {
    margin-bottom: 30px;
    flex-grow: 1; /* Stellt sicher, dass der Button unten ausgerichtet ist */
}

/* 10. Lokaler Fokus (Dark Section) */
.bg-dark h2 {
    color: var(--color-white);
}

/* 11. Testimonials */
.testimonial-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    margin-bottom: 20px;
}

.author {
    text-align: right;
    font-weight: 600;
}

/* 12. Footer */
footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #aaa;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--color-white);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}

/* 13. Responsive Design (Mobile) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 60px 0;
    }
    
    /* Mobile Header (Einfach gehalten, stapelt Elemente) */
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }

    .logo img {
        max-height: 50px; /* Logo auf Mobilgeräten etwas kleiner */
    }
    
    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
    
    .hero {
        padding: 80px 0;
    }

    .services-flex {
        flex-direction: column;
    }

    .testimonial-grid {
        flex-direction: column;
    }
    
    h2.text-left {
        text-align: center;
    }
}