/* Global Styles */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    height: 100%;
}

/* Container */
.container {
    max-width: 1200px; /* Maximale Breite für den Container */
    margin: 0 auto;    /* Zentriert den Container */
    padding: 0 30px;   /* Mehr Padding auf den Seiten für mehr Abstand */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    padding: 1rem 0;
    background: white;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
}

.navbar .container {
    display: flex;
    justify-content: space-between; /* Logo links und Navigation rechts */
    align-items: center; /* Vertikale Ausrichtung */
}

/* Logo */
.navbar .logo {
    display: flex;
    justify-content: flex-start; /* Logo nach links */
}

.navbar .logo img {
    width: 80%;
    /*max-width: 150px;*/
    height: 200px;
    align-self: center; /* Logo vertikal zentrieren */
    margin-left: 20px; /* Mehr Abstand nach links */
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem; /* Mehr Abstand zwischen den Links */
    margin-right: 20px; /* Mehr Abstand nach rechts für die Navigation */
    align-items: center; /* Links vertikal zentrieren */
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #ffcc00;
}

/* Navigation Toggle Button */
.nav-toggle {
    display: none;
    color: #333;
    font-size: 2rem;
    cursor: pointer;
}

/* Navbar Scroll */
#navbar {
    background: white;
    transition: background-color 0.3s ease; /* Sanfter Übergang */
}

#navbar.scrolled {
    background: white; /* Hintergrundfarbe bei Scrollen */
}


/* Hero Section for Desktop */
#hero {
    background-image: url('../images/hero_desktop.jpg'); /* Desktop-Bild */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    margin-top: 3.5rem;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Abdunklung nur für das Bild */
    z-index: 1; /* Bild im Hintergrund bleibt dunkler */
}

/* Inhalt des Hero-Bereichs */
.hero-content {
    z-index: 2; /* Höherer z-index, damit der Text nicht abgedunkelt wird */
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white; /* Stelle sicher, dass der Text weiß bleibt */
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white; /* Stelle sicher, dass der Text weiß bleibt */
}

.hero-buttons .btn-primary,
.hero-buttons .btn-whatsapp {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0.5rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #ffcc00;
    color: black;
}

.btn-primary:hover {
    background-color: #e6b800;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 1); /* Kompletter schwarzer Hintergrund */
        width: 100vw; /* Volle Breite des Viewports */
        height: 100vh; /* Volle Höhe des Viewports */
        text-align: center;
        justify-content: center; /* Links vertikal zentrieren */
        z-index: 999;
        margin: 0; /* Keine Margins */
        padding: 0; /* Keine Paddings */
        overflow: hidden; /* Kein Scrollen ermöglichen */
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links li a {
        font-size: 1.5rem; /* Größere Schriftgröße */
        color: white; /* Weißer Text */
        text-decoration: none; /* Keine Unterstreichung */
        transition: color 0.3s ease;
    }

    .nav-links li a:hover {
        color: #ffcc00; /* Hover-Effekt */
    }

    .nav-links li hr {
        width: 50%; /* Breite der Linie */
        border: 0.5px solid #fff; /* Weiße, dünne Linie */
        margin: 0.5rem auto; /* Zentriert mit etwas Abstand */
    }

    .nav-toggle {
        display: block;
        z-index: 1000;
        position: center;
        top: 20px;
        right: 20px; /* Icon rechts oben */
    }

    .nav-toggle.active i {
        content: "\f00d"; /* Schließen-Symbol (X) */
        font-family: FontAwesome;
    }

    .nav-links.active {
        display: flex;
    }

    /* Logo links und Icon rechts auf Smartphones */
    .navbar .container {
        justify-content: space-between;
    }

    /* Hero Section for Smartphones */
    #hero {
        background-image: url('../images/hero_mobil.jpg'); /* Bild für Smartphones */
        background-size: cover;
        background-position: center;
        background-attachment: scroll; /* Kein Parallax-Effekt auf Mobilgeräten */
    }

    .hero-content h1 {
        font-size: 2rem; /* Kleinere Schriftgröße für Smartphones */
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-whatsapp {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Über uns Section */
#about {
    padding: 3rem 0; /* Abstand für die Sektion */
    background-color: #f4f4f4; /* Leichter grauer Hintergrund */
}

.about-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem; /* Abstand zwischen den beiden Spalten */
    max-width: 1100px; /* Maximale Breite des Containers */
    margin: 0 auto; /* Zentriert den Inhalt */
    flex-wrap: wrap; /* Ermöglicht Umbruch auf kleinen Bildschirmen */
}

.about-content, .service-areas {
    flex: 1; /* Beide Spalten sollen gleiche Breite haben */
    max-width: 50%; /* Maximale Breite für die einzelnen Spalten */
}

.about-content {
    text-align: left; /* Text links ausrichten */
}

.service-areas {
    text-align: left;
}

.about-content h2, .service-areas h2 {
    font-size: 1.8rem; /* Kleinere Überschrift */
    margin-bottom: 1rem; /* Weniger Abstand unter der Überschrift */
    color: #333;
}

.about-content p, .service-areas p {
    font-size: 1rem; /* Standard-Schriftgröße */
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.2rem; /* Weniger Abstand zwischen den Textblöcken */
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .about-flex {
        flex-direction: column; /* Bereiche untereinander anzeigen auf kleinen Bildschirmen */
        text-align: center; /* Text zentriert auf mobilen Geräten */
    }

    .about-content, .service-areas {
        max-width: 100%; /* Volle Breite auf kleinen Bildschirmen */
        text-align: center; /* Text in der Mitte ausrichten */
    }

    .about-content h2, .service-areas h2 {
        font-size: 1.6rem; /* Noch kleinere Überschrift auf kleinen Bildschirmen */
    }
}

/* Leistungen Section */
#services {
    padding: 4rem 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: #f9f9f9;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: #ffcc00;
    margin-bottom: 1rem;
}

.service-item h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    word-wrap: break-word;
    white-space: normal;
}

.service-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item h3 {
        font-size: 1.2rem; /* Kleinere Schriftgröße für Smartphones */
    }
}

/* Extras Section */
#extras {
    padding: 4rem 0;
    background-color: #f3f4f6; /* Leicht grauer Hintergrund für Abwechslung */
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Flexibles Grid für responsive Darstellung */
    gap: 2rem; /* Abstand zwischen den Grid-Items */
}

.extra-item {
    background-color: #ffffff;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Tiefe */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animation für Hover-Effekt */
}

.extra-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Stärkerer Schatten bei Hover */
}

.extra-icon {
    font-size: 3rem;
    color: #25D366; /* Grüne Akzentfarbe, die modern und vertrauensvoll wirkt */
    margin-bottom: 1rem;
}

.extra-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.extra-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .extras-grid {
        grid-template-columns: 1fr; /* Volle Breite auf kleineren Bildschirmen */
    }

    .extra-item {
        padding: 1.5rem;
    }

    .extra-icon {
        font-size: 2.5rem;
    }

    .extra-item h3 {
        font-size: 1.3rem;
    }

    .extra-item p {
        font-size: 0.95rem;
    }
}

/* Warum uns wählen Section */
#why-choose-us {
    padding: 4rem 0;
    background-color: #fff; /* Weißer Hintergrund für Minimalismus */
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.reasons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Abstand zwischen den Gründen */
}

.reason {
    display: flex;
    align-items: flex-start; /* Text startet auf gleicher Höhe wie Icon */
    gap: 1.5rem; /* Abstand zwischen Icon und Text */
    border-left: 4px solid #ffcc00; /* Gelbe Linie für visuelle Abtrennung */
    padding-left: 1.5rem; /* Abstand nach der Linie */
}

.reason i {
    margin: auto 0;
    font-size: 2.5rem;
    color: #25D366; /* Grüne Icons für Vertrauen und Umweltfreundlichkeit */
}

.reason-text h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.reason-text p {
    font-size: 1rem;
    color: #666;
}

/* Responsive Anpassungen */
@media (min-width: 768px) {
    .reasons-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .reason {
        flex: 1 1 calc(50% - 2rem); /* Zwei Spalten auf größeren Bildschirmen */
        align-items: center; /* Zentriert die Icons und Texte vertikal */
    }

    .reason i {
        font-size: 3rem;
    }

    .reason-text h3 {
        font-size: 1.5rem;
    }
}

/* So funktioniert’s Section */
.process-section {
    background-image: url('../images/process.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    padding: 5rem 0;
}

.process-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Abdunkelung des Hintergrundbildes */
}

.process-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffcc00; /* Gelbe Farbe für den Titel */
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.step h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffcc00;
}

.step p {
    font-size: 1.2rem;
}

.step:hover {
    transform: translateY(-10px); /* Leichter Hover-Effekt */
}

/* Responsive Anpassungen */
@media (min-width: 768px) {
    .process-steps {
        flex-direction: row;
        justify-content: space-between;
    }

    .step {
        flex: 1;
        margin: 0 1rem;
    }
}

@media (max-width: 767px) {
    .process-steps {
        flex-direction: column;
    }

    .step h3 {
        font-size: 1.5rem;
    }

    .step p {
        font-size: 1rem;
    }
}

/* Kontakt Section */
.contact-section {
    padding: 4rem 1rem;
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start;
    width: 100%;
}

.contact-form, .contact-info {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Formular Styles */
.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #ffcc00;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #e6b800;
}

/* Kontaktinfos Styles */
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-info ul li i {
    font-size: 2rem;
    color: #25D366;
    margin-right: 1rem;
    text-align: center;
    width: 3rem;
}

.contact-info ul li div {
    display: flex;
    flex-direction: column;
}

.contact-info ul li span {
    font-weight: bold;
}

.contact-info a {
    color: #333;
    text-decoration: none;
}

.contact-info a:hover {
    color: #ffcc00;
}

.whatsapp-btn {
    margin-top: 1.5rem;
    text-align: center;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-whatsapp i {
    margin-right: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}

/* Responsive Design */
@media (min-width: 768px) {
    .contact-content {
        flex-direction: row;
        gap: 2rem;
    }

    .contact-form, .contact-info {
        width: 48%;
    }

    h2 {
        font-size: 1.8rem;
    }

    .form-group input, .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    .contact-info ul li {
        font-size: 1.2rem;
    }

    .btn-primary, .btn-whatsapp {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding: 4rem 1.5rem;
    }

    .contact-form, .contact-info {
        padding: 1rem;
    }

    .contact-info ul li i {
        font-size: 1.5rem;
        width: 2rem;
    }

    .contact-info ul li div {
        font-size: 1rem;
    }

    .whatsapp-btn {
        margin-top: 1rem;
    }

    .btn-whatsapp {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Footer Section */
.footer-section {
    background-color: #222;
    color: white;
    padding: 3rem 0; /* Mehr Platz nach oben und unten */
    text-align: center;
    margin-bottom: 3rem; /* Platz nach unten */
}

.footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
}

.footer-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Footer Content: Navigation and Legal Links */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem; /* Mehr Platz zwischen den Links und Social Icons */
}

.footer-nav,
.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-nav a,
.footer-legal a {
    color: #bbb; /* Standardfarbe der Links auf Grau ändern */
    text-decoration: none; /* Entfernt Unterstreichung */
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: #ffcc00; /* Hover-Effekt auf Gelb */
}

.footer-nav a:active,
.footer-legal a:active {
    color: #ffcc00; /* Keine blaue Farbe beim Klicken */
}

/* Social Media Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-size: 1.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    background-color: #ffcc00;
    color: white;
}

/* Copyright */
.footer-copyright {
    font-size: 0.9rem;
    color: #777;
    margin-top: 2rem; /* Mehr Platz nach unten */
}

.footer-copyright p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .footer-nav,
    .footer-legal {
        justify-content: center;
        gap: 1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

.notification {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
}

.notification.success {
    background-color: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.notification.error {
    background-color: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}
