/* =========================
   Globales Box-Sizing
========================= */
*, *::before, *::after {
    box-sizing: border-box;
}

/* =========================
   Body & Allgemeine Stile
========================= */
body {
    font-family: "Georgia", serif;
    background: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
    font-size: 18px;
    min-height: 100vh;
}

/* =========================
   Layout-Container
========================= */
main {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 20px;
}

.main-container {
    width: calc(100% - 350px);
    max-width: 900px;
    margin: 0;
    margin-right: 10px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 20px;
    flex: 1;
}

.container-text {
    width: 100%;
}

.indented-content-section {
    margin-left: 20px;
    margin-bottom: 30px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.benefits-list li {
    margin-bottom: 8px;
}

/* =========================
   Header & Navigation
========================= */
header {
    background-color: #222222;
    padding: 0;
    color: #EEEEEE;
}

.nav-bar {
    background-color: transparent;
    width: 100%;
    padding: 5px 0;
}

.container-header {
    background-color: #222222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 10px;
    margin-right: auto;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #EEEEEE;
    margin: 5px auto;
    transition: 0.4s;
}

.header-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.header-buttons li {
    display: inline-block;
    margin: 5px 10px;
}

.header-buttons a {
    color: #EEEEEE;
    text-decoration: none;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

.header-buttons a:hover {
    color: #D6B550;
}

.header-buttons.active {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================
   Logos und Branding
========================= */
.logo-container {
    display: flex;
    align-items: center;
}
.logo-small {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    display: none; /* <-- Hier ausblenden auf Desktop */
}

.logo-large {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    display: inline-block; /* <-- Auf Desktop sichtbar */
}


.header-branding {
    background-color: #ffffff;
    padding: 10px;
}

.header-branding > div {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 200px;
    flex-wrap: wrap;
}

.header-branding h1 {
    color: #D6B550;
    margin: 0;
    font-size: 2em;
    text-align: center;
    flex: 1;
}

/* =========================
   Typografie
========================= */
.magenta-title {
    color: #C2185B;
}

.green-title {
    color: #4CAF50;
}

/* =========================
   Bilder
========================= */
.content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

img.logo-futuro-alliance {
    max-width: 100px;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* =========================
   Footer
========================= */
footer {
    background: #222222;
    color: #EEEEEE;
    padding: 20px 0;
    margin-top: 40px;
}

.container-footer {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-section h3 {
    color: #D6B550;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: #EEEEEE;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #D6B550;
}

.footer-bottom {
    margin-top: 20px;
    text-align: center;
    padding: 10px 20px;
    background-color: #222222;
    border-radius: 10px 10px 0 0;
    color: #EEEEEE;
}

/* =========================
   FUTUROSALUD Alliance Block
========================= */
.futuro-alliance-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    row-gap: 10px;
    margin-top: 15px;
}

.futuro-alliance-col {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

/* =========================
   Responsives Verhalten
========================= */
@media (max-width: 768px) {
    /* Logos umschalten */
    .logo-large {
        display: none;
    }
    .logo-small {
        display: inline-block;
    }

    /* Navigation umschalten */
    .header-buttons {
        display: none;
    }
    .header-buttons.active {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Hamburger Menü anzeigen */
    .hamburger-menu {
        display: block;
    }

    /* Footer anpassen */
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        margin-bottom: 20px;
        text-align: center;
    }

    /* FUTUROSALUD-Block anpassen */
    .futuro-alliance-col {
        align-items: center;
    }

    /* Header Branding anpassen */
    .header-branding div {
        flex-direction: column;
        height: auto;
        gap: 10px;
    }

    .header-branding h1 {
        font-size: 1.3rem;
        line-height: 1.2;
    }
}

@media (max-width: 500px) {
    img.logo-futuro-alliance {
        max-width: 80px;
    }
}
/* =========================
   Popup für Bestätigungsdialog
========================= */
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 8px;
}

.popup-content button {
    margin-top: 10px;
    margin-right: 10px;
    padding: 8px 16px;
    cursor: pointer;
    border: none;
    background-color: #D6B550;
    color: #222222;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.popup-content button:hover {
    background-color: #b39f3b;
}
/* =========================
   Formular Styles
========================= */
form#contactForm {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fafafa;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-size: 1rem;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form#contactForm label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #222;
}

form#contactForm input[type="text"],
form#contactForm input[type="email"],
form#contactForm input[type="tel"],
form#contactForm textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    resize: vertical;
    min-height: 40px;
}

form#contactForm textarea {
    min-height: 100px;
}

form#contactForm input[type="text"]:focus,
form#contactForm input[type="email"]:focus,
form#contactForm input[type="tel"]:focus,
form#contactForm textarea:focus {
    border-color: #D6B550;
    outline: none;
}

/* Terms-Checkbox */
form#contactForm .terms-confirmation {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #444;
}

form#contactForm .terms-confirmation label {
    margin: 0;
}

/* Submit-Button */
form#contactForm button[type="submit"],
#submitButton {
    background-color: #D6B550;
    color: #222222;
    border: none;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

form#contactForm button[type="submit"]:hover,
#submitButton:hover {
    background-color: #b39f3b;
}

