/* --- GRUNDEINSTELLUNGEN --- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #555;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    font-weight: 400;
    color: #111;
}

/* --- HEADER & NAVIGATION --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #F6F5F6;
    border-bottom: 1px solid #eee;
}

.logo-link img {
    height: 90px;
    width: auto;
    display: block;
}

header nav a {
    margin-left: 25px;
    font-weight: 500;
    color: #111;
    transition: color 0.2s;
}

header nav a:hover {
    color: #007bff;
}

/* --- ALLGEMEINE LAYOUTS --- */
.split-section { display: flex; min-height: 80vh; }
.text-content, .image-content { width: 50%; display: flex; flex-direction: column; justify-content: center; padding: 5%; box-sizing: border-box; }
.split-section.reverse { flex-direction: row-reverse; }
.button { background: #007bff; color: #fff; padding: 12px 25px; border-radius: 5px; font-weight: 500; display: inline-block; align-self: flex-start; transition: background-color 0.2s; }
.button:hover { background-color: #0056b3; }

/* --- HOMEPAGE SEKTIONEN --- */
.hero { background-color: #003f70; color: #ffffff; text-align: center; padding: 100px 20px; }
.hero h1 { font-size: 48px; margin: 0 0 10px 0; color: #ffffff; }
.hero p { font-size: 20px; margin: 0; }

/* Hier werden die Hintergrundbilder zugewiesen */
.image-content {
    background-size: cover;
    background-position: center;
    min-height: 500px; /* <-- HIER IST DIE KORREKTUR */
}
.placeholder-image-1 {
    background-image: url('Bilder/Hafen.jpg');
}
.placeholder-image-2 {
    background-image: url('Bilder/Staubsaugen.jpg');
}
.placeholder-image-3 {
    background-image: url('Bilder/Kontakt.jpg');
}


.split-section:first-of-type .text-content {
    background-color: #F6F5F6;
}

.text-content h1 { font-size: 48px; font-weight: 700; margin-bottom: 20px; }
.text-content h2 { font-size: 36px; font-weight: 700; margin-bottom: 20px; }
.text-content h3 { font-size: 22px; font-weight: 500; margin-bottom: 20px; }
.text-content p  { font-size: 16px; line-height: 1.7; margin-bottom: 30px; }
.intro-banner { background: #111; color: #fff; text-align: center; padding: 50px 5%; }
.intro-banner h2 { margin-top: 0; color: #fff; }
.intro-features { display: flex; justify-content: center; gap: 40px; font-size: 20px; font-weight: 500; }
.service-list .service-item { margin-bottom: 30px; }
.service-list .service-item h3 { font-size: 20px; margin-bottom: 5px; }
.service-list .service-item p { font-size: 15px; line-height: 1.6; margin-bottom: 0; }
.text-content.dark-bg { background: #111; color: #fff; }
.text-content.dark-bg h2, .text-content.dark-bg h3 { color: #fff; }

/* --- UNTERSEITEN (Impressum, Kontakt) --- */
.page-background { background-color: #c1d7e5; padding: 80px 5%; }
.content-card { background-color: #ffffff; max-width: 900px; margin: 0 auto; padding: 50px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); box-sizing: border-box; }
.content-card h1 { text-align: center; margin-top: 0; margin-bottom: 40px; }
.impressum-content p { line-height: 1.8; margin-bottom: 20px; }
.impressum-content strong { font-weight: 700; color: #111; }
.icon-placeholder { margin-right: 10px; color: #007bff; }
.contact-card { display: flex; gap: 50px; background-color: #ffffff; max-width: 1100px; margin: 0 auto; padding: 50px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); box-sizing: border-box; }
.contact-form-wrapper { width: 60%; }
.contact-info-wrapper { width: 40%; }
.contact-info-wrapper p { line-height: 1.8; }
.contact-info-wrapper strong { font-weight: 700; color: #111; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input[type="text"], .form-group input[type="email"], .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 16px; box-sizing: border-box; }
.checkbox-group { display: flex; align-items: flex-start; gap: 15px; }
.checkbox-group input[type="checkbox"] { margin-top: 5px; width: 18px; height: 18px; }
.checkbox-group label { font-size: 14px; font-weight: 400; }
.form-notice { font-size: 13px; color: #888; }
.button-outline { width: 100%; padding: 15px; text-align: center; background-color: transparent; color: #007bff; border: 2px solid #007bff; border-radius: 5px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.button-outline:hover { background-color: #007bff; color: #fff; }

/* --- FOOTER --- */
footer { background: #111; color: #fff; text-align: center; padding: 40px 5%; }
.footer-logo { margin-bottom: 30px; }
.footer-logo a img { height: 100px; width: auto; }
.footer-links { margin-bottom: 20px; }
.footer-links a { margin: 0 15px; color: #fff; }
.copyright { font-size: 14px; color: #888; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .split-section { flex-direction: column; min-height: 0; }
    .split-section.reverse { flex-direction: column; }
    .text-content, .image-content { width: 100%; }
    .contact-card { flex-direction: column; }
    .contact-form-wrapper, .contact-info-wrapper { width: 100%; }
}
@media (max-width: 768px) {
    .image-content { display: none; }
    header { flex-direction: column; gap: 15px; }
    header nav a { margin: 0 10px; }
    .leistungen-grid { grid-template-columns: 1fr; }
    .text-content h1, .hero h1 { font-size: 36px; }
    .text-content h2, .intro-banner h2 { font-size: 28px; }
    .intro-features { flex-direction: column; gap: 15px; }
}