body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #f4f4f9;
}

.topbar {
    background-color: white;
    color: #333;
    overflow: visible; /* Sicherstellen, dass das Dropdown-Menü nicht abgeschnitten wird */
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000; /* Sicherstellen, dass die Topbar über anderen Elementen liegt */
    padding: 10px 20px;

    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between; /* Verteilte Anordnung von Elementen */
    align-items: center; /* Vertikal zentrieren */
}


.container {
    margin-top: 80px;
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.accordion-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.accordion-button {
    background: #62866c;
    color: white;
    padding: 30px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    font-size: 22px;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.accordion-button:hover {
    background: #577b5e;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.accordion-button.active {
    background: #495d4f;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #f9f9f9;
    padding: 0 20px 20px;
}

.accordion-content p {
    margin: 20px 0;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.footer {
    background-color: #333;
    color: white;
    padding: 5px;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.footer a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #ddd;
}

@media (max-width: 768px) {
    .topbar-title {
        display: none;
    }

    .accordion-button {
        font-size: 1.2em;
    }

    .accordion-content p {
        font-size: 1em;
        line-height: 1.6;
    }

    .footer {
        font-size: 0.9em;
    }
}

.desktop-only {
    display: none;
}

@media (min-width: 769px) {
    .desktop-only {
        display: block;
    }
}