/* Grundlegende Stile für die gesamte Website */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    background-color: #F7F7F7;
    overflow-x: hidden;
    margin-top: 80px; /* Add top margin equal to the navbar height */
    box-sizing: border-box; /* Ensure padding is included in the width */
    transition: background-image 0.3s ease-in-out;

}

html {
    scroll-behavior: smooth;
}

/* Header-Stile */
header {
    background-color: #000000;
    color: white;
    padding: 20px 0;
    text-align: left;
}

header img {
    max-width: auto;
    height: 50%;
    display: block;
    margin: 0 auto;
}

header h1 {
    font-size: 2em;
    color: #333;
}

/* Full-width image container */
.full-width-image {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    margin-top: 10px;
    margin-bottom: 40px;
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Fullscreen background image */
.fullscreen-bg {
    position: fixed; /* Fixed positioning to stay in place */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure it's behind the content */
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* No repeat */
}

.fullscreen-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation-Stile */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 20px 10px;
    position: fixed;
    width: 100%;
    height: 80px;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

/* Desktop Navigation */
.nav-left, .nav-center, .nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    font-size: 20px;
    text-align: left;
    font-weight: 500;
}

.nav-center {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.nav-link {
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.nav-link.active {
    font-weight: 700;
    color: rgba(0, 0, 0, 1);
}

.nav-link:hover {
    color: rgba(0, 0, 0, 1);
}

.nav-right a {
    margin-left: 10px;
}

.nav-right img {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
}

nav p {
    margin: 0;
    font-weight: bold;
    font-size: 20px;
}

/* Navigation button and dropdown menu styles */
#mobile-nav-button {
    display: none; /* Hidden by default */
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#mobile-nav {
    display: none; /* Hidden by default */
    flex-direction: column;
    gap: 10px;
    padding: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 80px; /* Adjust this value according to your header height */
    right: 10px; /* Position it correctly */
    width: calc(100% - 20px); /* Full width minus padding */
}

/* Mobile Navigation Menu */
/* Burger Menu */
#burger-menu {
    display: none; /* Hidden by default */
    cursor: pointer;
    width: auto;
    height: 40px;
    padding: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
    justify-content: center;
    align-items: center;
    display: flex;
}

.burger-bar {
    width: 100%;
    height: 3px;
    background-color: #000;
    margin: 6px 0;
}

/* Sidebar Menu */
#sidebar-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 80px; /* Below the navbar */
    left: 0;
    width: 100%; /* Adjust as needed */
    height: auto; /* Full height minus navbar height */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 1001; /* Ensure it's above other content */
    box-sizing: border-box;
    overflow-y: auto; /* Allow scrolling if content overflows */
}

#sidebar-menu.open {
    display: flex; /* Change to flex when open */
    flex-direction: column; /* Stack items vertically */
}

#sidebar-menu a {
    padding: 10px 0; /* Add some vertical spacing between items */
    text-decoration: none;
    color: #000;
    font-size: 18px;
}



/* Main-Content-Stile */
main {
    padding: 20px;
}

main h1 {
    font-size: 48px;
    margin-bottom: 10px;
    margin-top: 0;
    color: #333333;
}

main h2 {
    font-size: 24px; /* Smaller than h1 but still prominent */
    margin-top: 0;
    margin-bottom: 20px; /* Space below the subtitle */
    color: #666666; /* A lighter color than the primary heading */
    font-weight: 400; /* Regular weight, not too bold */
    line-height: 1.4; /* Slightly increased line height for readability */
}

/* Standard text style */
p, ul, ol {
    font-size: 16px; /* Comfortable size for readability */
    line-height: 1.6; /* Ensures good readability */
    color: #333333; /* Dark enough for good contrast and readability */
    font-weight: 400; /* Regular weight for body text */
    margin: 0 0 20px; /* Consistent spacing below paragraphs */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* Apple-like system fonts */
}

/* Lists */
ul, ol {
    margin-left: 20px; /* Indent for list items */
}

/* Links */
a {
    color: #007aff; /* Apple blue or a similar accent color */
    text-decoration: none; /* Remove underline by default */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

a:hover, a:focus {
    color: #0051a2; /* Darker shade of the accent color for hover/focus */
    text-decoration: underline; /* Add underline on hover/focus */
}

section {
    scroll-margin-top: 60px;
}

#contact {
    padding: 30px 20px;
    min-height: 20vh;
    background-color: #c0c0c0;
}

#contact h1 {
    margin-bottom: 40px;
}

.section-with-bg {
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin: 20px;
Margin-bottom: 60px;
    padding: 40px;
    opacity: 0;
    min-height: 500px;
    transition: opacity 3s ease-out, background-image 0.3s ease-in-out; /* Ensure smooth transition for background image */

}

.section-with-bg.visible {
    opacity: 1;
}



.intro-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
}

.intro-section h1 {
    font-size: 56px;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 20px;
    color: white;
}

.button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
    background-color: white;
    color: #000;
}

.content-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.text-block {
    flex: 1;
    max-width: 70%;
}

.image-block {
    flex: 1;
    max-width: 25%;
    padding: 20px;
    border-radius: 5px;
}

.html-widget {
    flex: 1;
    max-width: 45%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
}

.responsive-iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border: none;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links a {
    display: inline-block;
}

.social-links img {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.1);
}



/* Footer-Stile */
footer {
    background-color: #000000;
    color: white;
    text-align: center;
    padding: 10px 0;
    bottom: 0;
    width: 100%;
}

Footer p {
Color: white;
}

/* Responsive Design: Media Queries */

/* Tablets and larger devices (768px and above) */
@media screen and (min-width: 768px) {
    
    .nav-left, .nav-center, .nav-right {
        display: flex; /* Ensure the normal navbar is shown */
    }

    #burger-menu, #sidebar-menu, #mobile-nav-button {
        display: none; /* Hide mobile navigation elements */
    }

     .nav-center {
        gap: 30px;
    }

    .intro-section h1 {
        font-size: 64px;
    }

    .button {
        font-size: 20px;
        padding: 18px 36px;
    }

    .text-block {
        max-width: 60%;
    }

    .image-block {
        max-width: 35%;
    }

    .section-with-bg {
        padding: 60px;
    }
}

/* Mobile devices (max-width: 900px) */
@media screen and (max-width: 900px) {
    body {
        margin-top: 60px;
    }

main h1 {
    font-size: 28px;
}

main h2 {
    font-size: 22px; /* Smaller than h1 but still prominent */
}

p, ul, ol {
    font-size: 16px; /* Comfortable size for readability */
}

    .nav-center, .nav-right, .nav-left {
        display: none;
    }

    #burger-menu {
        display: flex;
        position: fixed;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1002;
    }


.intro-section h1 {
    font-size: 40px;
}

.button {
    font-size: 16px;
    padding: 12px 24px;
}

.content-container {
    flex-direction: column;
    align-items: center;
}

.text-block, .image-block {
    max-width: 100%;
    text-align: center;
}

.image-block img {
    width: 100%;
    height: auto;
}

.social-links {
    justify-content: center;
}

.section-with-bg {
    margin-bottom: 10px;
    padding: 30px;
}

footer {
    font-size: 14px;
    padding: 8px 0;
}
}