html, body {
    height: 100%; /* Seite nimmt die volle Höhe des Viewports ein */
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: white;
    color: #333;
    max-width: 1600px;
    margin: 0 auto; /* Zentriert den Container horizontal */
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f9;
}

.content {
    flex: 1;
}

h1 {
    text-transform: uppercase;
    font-size: 1.8rem;
    margin: 20px 0;
    color: #833C0C;
    text-align: left;
}

.logo {
    width: 80px;
}

.headline .text-highlight {
    font-size: 1.8rem;
    font-weight: bold;
    color: #77AE2E;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    background-color: #fff;
    border-bottom: 2px solid #833C0C;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0; /* Kein Abstand nach unten */
}


.navbar-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.menu-toggle {
    position: absolute;
    right: 2rem; /* Abstand vom rechten Rand */
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.navbar-menu li {
    margin-left: 20px;
    white-space: nowrap; /* Verhindert Zeilenumbrüche in den Links */
}

.nav-link {
    display: inline-block;
    color: #833C0C;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    background-color: #833C0C;
    color: white;
}

@media (max-width: 1000px) {
    .navbar {
        position: sticky;
        top: 0px;
        backdrop-filter: blur (24px);
    }
    
    .menu-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #833C0C;
        z-index: 1000;
        margin: 0;
    }

    .nav-link {
        display: block;
        padding: 12px;
        margin: 0px;
        text-align: left;
        color: #333;
        font-size: 1rem;
        border-bottom: 1px solid #ddd; /* Trennlinien zwischen den Links */
        border-radius: 0px;
    }

    .nav-link:hover,
    .nav-link:focus {
        background-color: #833C0C;
        color: white;
    }


    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        margin: 0 0;
        text-align: left;
    }
	
    h1 {
        font-size: 20px;
    }

    .headline .text-highlight {
        font-size: 20px;
    } 
	
	.logo {
        width: 60px;
    }
    
}

/* Padding und Abstand*/
.padding {
    padding: 20px 60px;
    margin: 0 auto;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .padding {
        padding: 20px 40px;
    }
}

.container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.right-column {
    width: 60%;
    line-height: 1.6;
}

.right-column a {
    text-decoration: none;
    color: #0056b3;
}

.right-column a:hover {
    text-decoration: underline;
}

.left-column {
    width: 40%;
    line-height: 1.6;
}

.font {
    font-size: 1.2rem;
}

.container h2 {
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: left; 
        text-align: left; 
    }

    .right-column, 
    .left-column {
        width: 100%; /* Beide Spalten nehmen die gesamte Breite ein */
    }
}


.maps-container {
    margin: 20px;
    display: flex;
    justify-content: space-between;
}


.maps-right {
    margin-left: 16px;
    width: 30%;
}

.maps-frame {
    border: 0;
    height: 350px;
    width: 70%;
}

.text-container {
    background-color: #dedede;
    padding: 8px;
    font-weight: 600;
}

.maps-container h2 {
    margin: 5px;
}

.img-eingang {
    width: 90%;
    object-fit: cover;
    object-position: 50% 25%;
    display: block;
    height: 280px;
    margin-top: 5px;
}

hr {
    display: none; /* Standardmäßig ausblenden */
}

@media screen and (max-width: 768px) {
    .maps-container {
        flex-direction: column;
    }

    .maps-right {
        width: 98%;
        margin-left: 0;
        margin-top: 20px;
    }

    .maps-frame{
        width: 100%;
    }

    .img-eingang {
        margin-left: 20px;
    }

    .maps-container h2 {
        margin-left: 20px;
    }

    hr {
        display: block;
        border: none;
        height: 1px;
        background-color: rgb(216, 210, 210);
        width: 98%; /* Breite anpassen */
        margin-top: 0px;
        margin-bottom: 15px;
        margin-left: 0px;
      }
}


.footer {
    background-color: #68320d;
    color: #d1d5db;
    padding: 20px 40px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-section {
    flex: 1 1 200px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #9ca3af;
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

.footer-bottom a {
    color: #d1d5db;
    text-decoration: none;
}

#equam-image {
    width: 130px;
    margin-top: 15px;
}

#medix-image {
    width: 130px;
    margin-top: 5px;
    margin-bottom: 15px;
}
