/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f4f4f4;
    line-height: 1.6;
    max-width: 100%; /* Maximale Breite der Seite */
    margin: 0 auto; /* Zentriert den Inhalt */
    grid-template-rows: auto auto auto; /* Abschnitte in Reihen */
}

.main-container {
    max-width: 75%; /* Maximale Breite der Seite */
    margin: 0 auto; /* Zentriert den Container */
    position: relative;
}

/* Navigation */
.header, .footer {
    position: sticky;
    width: 100%;
    height: 60px; /* Feste Höhe des Headers */
    background: #333;
    z-index: 1000;
}

.header {
    top: 0;
    display: flex;
    align-items: center; /* Vertikale Ausrichtung */
    justify-content: space-between; /* Platzhalter für Logo und Navigation */
    padding: 0 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Fixierte Fußzeile */
.footer {
    bottom: 0;
    color: white;
    padding: 0.05rem 1rem;
    text-align: center;
    z-index: 1000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links {
    display: flex; /* Standardmäßig alle Links sichtbar */
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links li {
    display: inline-block;
}

.nav-link:hover {
    color: #00bcd4;
}

.hamburger-menu {
    display: none; /* Standardmäßig ausgeblendet */
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 1001;
    height: 60px; /* Gleiche Höhe wie der Header */
    align-items: center; /* Vertikale Zentrierung */
    justify-content: center; /* Horizontale Zentrierung */
    padding: 0;
}

/* Logo Styling */
.logo-container {
    flex: 0 0 auto; /* Behält die Breite des Logos */
    display: flex;
    align-items: center;
}

.logo-container img {
    width: 50px;
    height: 50px;
    margin-top: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 50%;
    object-fit: contain; /* Verhindert Verzerrungen */
}

.logo-container img:hover {
    transform: scale(1.1); /* Leichter Zoom-Effekt beim Hover */
}

/* Abschnitte auf Vollbildhöhe */
.section {
    padding-top: 30px; /* Platz für die fixierte Kopfzeile */
    padding-bottom: 50px; /* Platz für die fixierte Fußzeile */
    align-items: center;
    justify-content: center; /* centers the content */
    text-align: center;
    scroll-snap-align: start;
    padding: 0 1rem;
    width: 100%;
    margin-bottom: 20px;
}

.color-divider-right, .color-divider-left {
    height: 2.5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    opacity: 0.7;
    padding: 0 1rem;
}

.color-divider-right{
    background: linear-gradient(to right, white, #555); /* Farbverlauf */
}

.color-divider-left {
    background: linear-gradient(to left, white, #555); /* Farbverlauf */
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.primary-btn {
    background-color: #007BFF;
    color: #fff;
}

.secondary-btn {
    background-color: #6C757D;
    color: #fff;
}

@media (max-width: 768px) {
    .main-container {
        width: 100%;
        margin: 0;
    }

    .header, .footer{
        border-radius: 0px;
        width: 100%;
    }

    .navigation {
        flex-direction: column; /* Vertikale Ausrichtung */
        position: relative;
    }

    .hamburger-menu {
        display: flex; /* Hamburger-Icon sichtbar */
        right: 0;
    }

    .nav-links {
        display: none; /* Links standardmäßig versteckt */
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 60px; /* Unterhalb des Headers */
        right: 0;
        background: #333;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex; /* Links sichtbar, wenn aktiv */
    }

    .nav-link {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .full-height {
        height: 100vh;
        scroll-snap-align: start; /* Abschnitte springen sanft */
    }
}
