/* --- Grundlegende Stile & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #005A9C; /* Ein professionelles Blau */
    --secondary-color: #00A3E0; /* Helleres Blau für Akzente */
    --accent-color: #4CAF50; /* Grün für CTAs/Erfolg */
    --text-color: #333333;
    --light-text-color: #ffffff;
    --background-light: #ffffff;
    --background-medium: #f4f7f6; /* Leicht grauer Hintergrund für Abwechslung */
    --border-color: #e0e0e0;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth; /* Für sanftes Scrollen */
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
   
}

h1, h2, h3 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 2rem; }
h3 { font-size: 1.4rem; color: var(--text-color); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* Default display for images */
}

/* --- General Section Padding --- */
section {
    padding: 60px 0;
}

/* --- Site Header Styles --- */
.site-header {
    background-color: var(--background-light); /* White background */
    /* KEEP PADDING MINIMAL FOR NOW, e.g., 5px */
    padding: -50px;
    border-bottom: 1px solid var(--border-color); /* Subtle separator line */
    position: loose;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- Navigation Styles (Adjusted for Site Header) --- */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* This vertically centers items based on the tallest one */
}


/* Logo Container */
.logo {
    /* Reset text styles */
     font-size: inherit; /* Use browser default */
     font-weight: normal;
     color: inherit;
     line-height: normal; /* Use browser default line-height */
     margin: 0; /* Ensure NO margin */
     padding: 0; /* Ensure NO padding */
 }
/* Make the logo link behave correctly */
.logo a {
    display: inline-block; /* Changed back to inline-block */
    line-height: 0; /* Remove space from line height */
    font-size: 0; /* Remove space potentially caused by font size */
    margin: 0; /* Ensure NO margin */
    padding: 0; /* Ensure NO padding */
    vertical-align: middle; /* Align link vertically */
}
/* --- Hero Section Styles (Adjusted) --- */
/* Targets <section class="hero"> */
.hero {
    background: linear-gradient(rgba(0, 90, 156, 0.75), rgba(0, 90, 156, 0.75)), url('images/hero-background.jpg') no-repeat center center/cover;
    /* Ensure you have a 'hero-background.jpg' in your 'images' folder */
    color: var(--light-text-color);
    padding-top: 80px;    /* Push content below sticky header */
    padding-bottom: 100px; /* Bottom padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- CTA Button Styles --- */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #3e8e41; /* Dunkleres Grün */
    text-decoration: none;
}

/* --- Problem Section --- */
.problem-section {
    background-color: var(--background-medium);
}
/* Container for problem icons */
.problem-icons {
    text-align: center;
    margin-top: 2rem;
    font-size: initial; /* Reset font size */
    color: initial; /* Reset color */
}

/* --- Solution Section --- */
.solution-section .grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.solution-section h2 { text-align: left; }
/* Specific style for the main image in this section */
.solution-section .image-content img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.container{
    max-width: 1140px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 auto;
}
/* --- How It Works Section --- */
.how-it-works-section {
     background-color: var(--background-light);
}
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
    margin-top: 3rem;
}
.step {
    padding: 20px;
}
/* Container for step icons */
.step-icon {
    font-size: initial; /* Reset font size */
    color: initial; /* Reset color */
    margin-bottom: 0; /* Rely on img margin */
}

/* --- Benefits Section --- */
.benefits-section {
    background-color: var(--background-medium);
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}
.benefit {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
}
/* Container for benefit icons */
.benefit-icon {
    font-size: initial; /* Reset font size */
    color: initial; /* Reset color */
    margin-bottom: 0; /* Rely on img margin */
}
.benefit h3 {
    margin-bottom: 0.5rem;
}

/* --- Target Audience Section --- */
.target-audience-section ul {
    list-style: none;
    padding-left: 0;
    text-align: center;
    margin-bottom: 1.5rem;
}
.target-audience-section li {
    display: inline-block;
    background-color: var(--background-medium);
    padding: 8px 15px;
    margin: 5px;
    border-radius: 20px;
    font-size: 0.9rem;
}
.target-audience-section p {
    text-align: center;
    font-weight: 600;
}

/* --- Final CTA Section --- */
.cta-final-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
}
.cta-final-section h2 {
    color: var(--light-text-color);
}
.cta-final-section .small-text {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* --- Contact Section --- */
#contact-form {
    max-width: 700px;
    margin: 2rem auto 0;
    background-color: var(--background-medium);
    padding: 30px;
    border-radius: 8px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: var(--body-font);
}
.form-group textarea {
    resize: vertical;
}
.form-group input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: middle;
}
.form-group.privacy-policy label {
    display: inline;
    font-weight: normal;
}
#contact-form button[type="submit"] {
    width: 100%;
    padding: 15px;
}


/* --- Footer --- */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}
/* Container for footer logo */
.footer-logo {
    /* Reset text styles */
    font-size: inherit;
    font-weight: normal;
    color: inherit;
    line-height: 1;
    margin-bottom: 1rem; /* Space below footer logo */
}
.footer-content p {
    margin-bottom: 0.5rem;
}
.footer-nav a {
    color: #ccc;
    margin: 0 10px;
}
.footer-nav a:hover {
    color: var(--light-text-color);
}

/* --- Image Sizing and Styling Specifics --- */

/* Logo Images (Header and Footer) */
/* Applies to the <img> tag with this class */
.logo-img {
    height: 130px; /* <<< KEEPING USER'S DESIRED HEIGHT */
    width: auto;
    display: inline-block; /* Match the container link */
    vertical-align: middle; /* Align image vertically within the link */
    margin: 0; /* Ensure NO margin */
    padding: 0; /* Ensure NO padding */
}


/* Specific Footer Logo Size */
.footer .logo-img {
    height: 60px; /* Adjust Footer Logo Height as desired */
    margin-left: auto; /* Center if needed */
    margin-right: auto; /* Center if needed */
}

/* Problem Section Icons */
.problem-icons img {
    height: 40px; /* Adjust icon size */
    width: auto;
    display: inline-block;
    margin: 0 15px;
    vertical-align: middle;
}

/* How it Works Section Icons */
.step-icon img {
    height: 60px; /* Adjust icon size */
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

/* Benefits Section Icons */
.benefit-icon img {
    height: 55px; /* Adjust icon size */
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .solution-section .grid-layout {
        grid-template-columns: 1fr; /* Stack on Tablets */
    }
    .solution-section .image-content {
        order: -1; /* Image above text */
        margin-bottom: 2rem;
    }
     .solution-section h2 { text-align: center; } /* Center heading when stacked */
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }

    /* Adjust hero padding for mobile */
    .hero { padding-top: 60px; padding-bottom: 80px; }
    /* Adjust general section padding */
    section { padding: 40px 0; }

    .steps-container, .benefits-grid {
        grid-template-columns: 1fr; /* Stack on Mobile */
    }

    /* Adjust main-nav for mobile if needed (e.g., center logo if no other links) */
    .main-nav {
        /* justify-content: center; */ /* Uncomment if logo should be centered */
    }

    .target-audience-section li { display: block; margin: 8px auto; max-width: 300px;}
}

@media (max-width: 480px) {
     h1 { font-size: 1.8rem; }
     h2 { font-size: 1.5rem; }
     .hero-content p { font-size: 1rem; }
     .cta-button { width: 100%; text-align: center; }
     #contact-form { padding: 20px; }

     /* Adjust logo size for very small screens */
     .logo-img { height: 100px; } /* Header logo */
     .footer .logo-img { height: 45px; } /* Footer logo */

     /* Adjust icon sizes for small screens */
     .problem-icons img { height: 30px; margin: 0 10px; }
     .step-icon img { height: 50px; }
     .benefit-icon img { height: 45px; }
}