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 für Formular */
.padding-formular {
    padding: 20px 60px;
    max-width: 1600px;
    margin: 0;
}

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

#namename {
    margin-bottom: 10px;
    display: inline-block; /* Inline-Block, damit margin wirkt */
}

#beispiele {
    line-height: 1.6;
    margin-bottom: 60px;
}

.name {
    display: flex;
    gap: 30px; /* Abstand zwischen den Feldern */
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Formularfelder */
.name-field,
.name-field-2,
.name-field-3,
.name-field-4 {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px; /* Mehr Abstand */
}

.name-field label,
.name-field-2 label,
.name-field-3 label,
.name-field-4 label {
    margin-bottom: 10px; /* Abstand zwischen Label und Input */
    font-weight: 500;
}

/* Eingabefelder */
.name-field input,
.name-field-2 input,
.name-field-3 input,
.name-field-4 input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    margin-bottom: 10px;
    transition: border-color 0.3s ease;
}

.name-field input:focus,
.name-field-2 input:focus,
.name-field-3 input:focus,
.name-field-4 input:focus {
    border-color: #833C0C;
    outline: none;
}

/* Formularfelder breitenanpassung */
.name-field {
    width: 30%;
}

.name-field-2 {
    width: 45%;
}

.name-field-3 {
    width: 80%;
}

.name-field-4 {
    width: 100%; /* Weit genug für 'Weitere Medikamente' */
    min-height: 60px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    margin: 20px 0px;
}

.right-column {
    width: 95%;
    text-align: start;
    line-height: 1.6;
    vertical-align: top;
}

.left-column {
    width: 5%;
    text-align: start;
    line-height: 1.6;
    vertical-align: top;
}

.data {
    color: #0056b3;
    text-decoration: none;
}

.data:hover {
    text-decoration: underline;
}

.honeypot {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

/* Schaltflächen */
.padding-formular button {
    padding: 12px 20px;
    background-color: #77AE2E;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.padding-formular button:hover {
    background-color: #8fc24d;
}

/* Media Queries für mobile Optimierungen */
@media (max-width: 768px) {
    .name {
        display: block;
    }

    .name-field,
    .name-field-2,
    .name-field-3 {
        width: 100%;
    }
	
    ::placeholder {
        font-size: 10px;
    }
}


.test {
    margin-bottom: 30px;
    margin-top: 25px;
    line-height: 1.6;
}



.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;
}