:root {
    --primary-green: #86B953;       /* Hauptgrün für Akzente */
    --hover-green: #74a03a;          /* Hover-Grün für Schaltflächen */
    --light-grey: #f4f4f9;          /* Heller Grauton für den Hintergrund */
    --dark-grey: #333;              /* Dunkelgrau für Texte */
    --neutral-grey: #eaeaea;        /* Neutraler Grauton für Trennlinien */
    --white: #ffffff;               /* Weiß für Kontraste */
    --medium-grey: #666;            /* Grauton für Navigation */
    --alert-success: #d4edda;       /* Erfolgsmeldung (optional, wenn benötigt) */
    --alert-error: #f8d7da;         /* Fehlermeldung (optional, wenn benötigt) */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Stellt sicher, dass html und body den gesamten Bildschirm ausfüllen */
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Verhindert horizontalen Scrollen */
}

.floating-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    font-size: 24px;
    color: #333;
    transition: background 0.3s;
    opacity: 1;
    visibility: visible;
}

.floating-button:hover {
    background: rgba(255, 255, 255, 1);
}

.up {
    bottom: 80px; /* Abstand zwischen den Buttons */
}



/* ==========================================
HEADER-Stile
========================================== */

.header {
    background-color: var(--white);
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--neutral-grey);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    margin: 0;
    padding: 0;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-green);
    margin: 0;
}

.logo p {
    font-size: 0.8rem;
    margin: -0.5rem 0 0 0;
    letter-spacing: 1px;
    color: var(--medium-grey);
}

/* Navigation Styling */
nav {
    
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline;
}

nav a {
    text-decoration: none;
    letter-spacing: 1px;
    color: var(--medium-grey);
    font-size: 1rem;
    margin: 1rem;
    transition: transform 0.5s;
}

nav a:hover {
    color: var(--hover-green);
    font-size: 1.2rem;
}
    

/* Spezifisches Styling für das Kontakt-Element */
#nav-contact {
    border: 1px solid black;
    padding: 5px 10px;
}

#nav-contact:hover {
    border-color: var(--hover-green);
}

/* Standard Navigation für große Bildschirme */
nav {
    display: flex; /* Immer anzeigen für große Bildschirme */
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links {
    display: flex;
    gap: 20px;
    position: fixed; /* Fixe Positionierung */
    top: 50%; /* Vertikale Mitte */
    left: 50%; /* Horizontale Mitte */
    transform: translate(-50%, -50%); /* Zentrierung */
    background-color: var(--white);
    width: 80%; /* Breite anpassen */
    max-width: 400px; /* Maximalbreite */
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Über anderen Elementen */
    display: none; /* Standardmäßig ausblenden */
}

.nav-links.active {
    display: flex; /* Anzeigen, wenn aktiv */
}

.burger {
    display: flex; /* Immer anzeigen */
    flex-direction: column;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dunkler Hintergrund */
    backdrop-filter: blur(5px); /* Verschwommen */
    display: none; /* Standardmäßig ausblenden */
    z-index: 999; /* Sicherstellen, dass es über dem Inhalt liegt */
}
.line {
    height: 3px;
    width: 30px;
    background-color: var(--medium-grey);
    margin: 4px 0;
}

/* Anpassung für mobile Ansicht */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Standardmäßig ausblenden */
    }
    .nav-links.active {
        display: flex; /* Anzeigen, wenn aktiv */
    }
}



.close-button {
    font-size: 2rem;
    cursor: pointer;
    color: var(--medium-grey);
    position: absolute;
    top: 1rem;
    right: 1rem;
    transition: color 0.3s;
}

.close-button:hover {
    color: var(--hover-green);
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dunkler Hintergrund */
    backdrop-filter: blur(5px); /* Verschwommen */
    display: none; /* Standardmäßig ausblenden */
    z-index: 999; /* Sicherstellen, dass es über dem Inhalt liegt */
}

.nav-links.active + .overlay {
    display: block; /* Overlay anzeigen, wenn das Menü aktiv ist */
}


body {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

section {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2vw; /* 2rem */
    width: 100%;
}

/* Hero-Section Styling */
.hero {
    width: 100%;
    height: 100vh;
    background-image: url('hero-background.jpg'); /* Platzhalter für dynamisches Bild */
    background-size: cover; /* Bild bedeckt den gesamten Bereich */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

/* Glassmorphismus-Effekt im Textbereich */
.hero .glass {
    background: rgba(255, 255, 255, 0.45); /* Halbtransparenter, weißer Hintergrund */
    border-radius: 1.5vw; /* 15px */
    backdrop-filter: blur(10px); /* Weichzeichner-Effekt */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0.4vw 3vw rgba(0, 0, 0, 0.1); /* Weicher Schatten */
    border: 0.1vw solid rgba(255, 255, 255, 0.3); /* Halbtransparenter Rand */
    padding: 3vw; /* 3rem */
    max-width: 80%;
}

.hero h1 {
    font-size: clamp(2vw, 5vw, 3vw); /* Dynamische Schriftgröße */
    color: var(--dark-grey);
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero p {
    color: var(--medium-grey);
    font-size: clamp(1vw, 3vw, 1.5vw); /* Dynamische Schriftgröße */
    margin-bottom: 2rem;
}

.hero .cta-button {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 1vw 2vw; /* 1rem 2rem */
    border: none;
    border-radius: 0.5vw; /* 5px */
    font-size: clamp(1vw, 3vw, 1.5vw); /* Dynamische Schriftgröße */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero .cta-button:hover {
    background-color: var(--hover-green);
}

/* Zusätzliche Abschnitte zum Scrollen */
.section {
    background-color: var(--light-grey);
    color: var(--dark-grey);
}

.section h2 {
    font-size: 3vw; /* Dynamische Schriftgröße */
}

.services {
    width: 100%;
    height: 100vh;
    background-image: url('service-background.jpg'); /* Platzhalter für dynamisches Bild */
    background-size: cover; /* Bild bedeckt den gesamten Bereich */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat;
    padding: 4vw 2vw; /* 4rem 2rem */
    text-align: center;
    display: flex;
    flex-direction: column;
}

.services h2 {
    font-size: clamp(2vw, 5vw, 3vw); /* Dynamische Schriftgröße */
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.service-container {
    display: flex;
    justify-content: space-between;
    gap: 2vw; /* Abstand zwischen den Boxen */
}

.service-card {
    background: rgba(255, 255, 255, 0.55); /* Halbtransparenter, weißer Hintergrund */
    border-radius: 1.5vw; /* 15px */
    backdrop-filter: blur(10px); /* Weichzeichner-Effekt */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0.4vw 3vw rgba(0, 0, 0, 0.1); /* Weicher Schatten */
    border: 0.1vw solid rgba(255, 255, 255, 0.3); /* Halbtransparenter Rand */
    padding: 3vw; /* 3rem */
    max-width: 80%;
    flex: 1; /* Flexbox sorgt dafür, dass die Cards gleichmäßig verteilt werden */
}

.service-card h3 {
    font-size: clamp(1.5vw, 4vw, 2vw); /* Dynamische Schriftgröße */
    color: var(--dark-grey);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style-type: none; /* Keine Aufzählungszeichen */
    padding: 0; /* Kein Padding */
}

.service-card li {
    font-size: clamp(1vw, 2.5vw, 1.2vw); /* Dynamische Schriftgröße für die Liste */
    color: var(--medium-grey);
    margin: 0.5rem 0; /* Abstand zwischen den Listenelementen */
}

.about {
    width: 100%;
    height: 100vh;
    background-image: url('about-background.jpg'); /* Platzhalter für dynamisches Bild */
    background-size: cover; /* Bild bedeckt den gesamten Bereich */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat;
    padding: 4vw 2vw; /* 4rem 2rem */
    color: var(--dark-grey); /* Textfarbe */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

.about-content {
    background: rgba(255, 255, 255, 0.45); /* Halbtransparenter, weißer Hintergrund */
    border-radius: 1.5vw; /* 15px */
    backdrop-filter: blur(10px); /* Weichzeichner-Effekt */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0.4vw 3vw rgba(0, 0, 0, 0.1); /* Weicher Schatten */
    border: 0.1vw solid rgba(255, 255, 255, 0.3); /* Halbtransparenter Rand */
    padding: 3vw; /* 3rem */
    max-width: 80%;
}

.about h2 {
    font-size: clamp(2vw, 5vw, 3vw); /* Dynamische Schriftgröße */
    color: var(--dark-grey); /* Akzentfarbe */
    margin-bottom: 1.5rem; /* Abstand */
}

.about p {
    font-size: clamp(1vw, 2.5vw, 1.2vw); /* Dynamische Schriftgröße */
    margin: 1rem 0; /* Abstand zwischen den Absätzen */
}

.about .cta-button {
    background-color: var(--primary-green); /* Hintergrundfarbe des Buttons */
    color: var(--white); /* Textfarbe */
    padding: 0.75vw 1.5vw; /* 0.75rem 1.5rem */
    border: none;
    border-radius: 0.5vw; /* 5px */
    font-size: clamp(1vw, 2.5vw, 1.2vw); /* Dynamische Schriftgröße */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.about .cta-button:hover {
    background-color: var(--hover-green);
}

/* Kontaktformular Styling */
.contact-section {
    width: 100%;
    height: 100vh;
    background-image: url('contact-backgound.jpg'); /* Platzhalter für dynamisches Bild */
    background-size: cover; /* Bild bedeckt den gesamten Bereich */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    padding: 4vw 2vw; /* 4rem 2rem */
    background-color: var(--light-grey);
    text-align: center;
}

.contact-section h2 {
    font-size: clamp(2vw, 5vw, 3vw); /* Dynamische Schriftgröße */
    color: var(--primary-green);
    margin-bottom: 2rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 1.5vw; /* 15px */
    backdrop-filter: blur(10px);
    box-shadow: 0 0.4vw 3vw rgba(0, 0, 0, 0.1);
    padding: 3vw; /* 3rem */
    max-width: 60vw; /* 600px */
    margin: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1vw; /* 1rem */
    margin-bottom: 1vw; /* 1rem */
    border: 0.1vw solid var(--neutral-grey); /* 1px */
    border-radius: 0.5vw; /* 5px */
    font-size: 1vw; /* 1rem */
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--hover-green);
    outline: none; /* Verhindert den Standard-Umriss */
}

.contact-form button {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 1vw; /* 1rem */
    border: none;
    border-radius: 0.5vw; /* 5px */
    font-size: 1vw; /* 1rem */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--hover-green);
}
