/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Allgemeine Stile */
html, body {
    height: 100%; /* Gesamte Höhe einnehmen */
    margin: 0; /* Kein Standard-Rand */
    display: flex;
    flex-direction: column; /* Vertikale Anordnung: Header, Content, Footer */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #486A71;
    /*color: #EFE5DC;*/
}

header {
    background-color: #2F2F2F; /* Dunkler Header */
    color: #EFE5DC; /* Heller Text */
    padding: 7px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container img {
    max-height: 100px;
}

/* Navigation im Header */
.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.header-nav ul li {
    display: inline-block;
}

.header-nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.header-nav ul li a:hover {
    background-color: #555;
}

/* Dynamischer Content-Bereich */
.content-container {
    flex: 1; /* Flexibler Bereich, der den restlichen Platz einnimmt */
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 7px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Wrapper für die gesamte Seite */
.page-wrapper {
    width: 90%; /* Breite des Inhalts, 90% des Viewports */
    max-width: 800px; /* Gleiche maximale Breite wie das Akkordeon */
    margin: 20px auto; /* Zentriert den Inhalt */
    padding: 10px;
    background-color: #f8f4ec; /* Heller Hintergrund passend zum Wüstenthema */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Dezenter Schatten für Eleganz */
}

.responsive-image {
    width: 100%; /* Bild passt sich der Breite des Containers an */
    max-width: 800px; /* Maximale Breite des Akkordeons */
    height: auto; /* Proportionen des Bildes beibehalten */
    display: block; /* Entfernt zusätzliche Lücken durch inline-Bild-Darstellung */
    margin: 20px auto; /* Zentriert das Bild mit Abstand */
}

/* Akkordeon */
.accordion {
    width: 100%; /* Nimmt die volle Breite des Wrappers ein */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.2s ease;
}

.accordion-item:hover {
    transform: translateY(-5px);
}

.accordion-header {
    background-color: #E7A833; /* Sandiger Beige-Ton */
    color: #fff;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #C5B47F; /* Dunklerer Beige-Ton */
}

/* Standard-Icon für geschlossen */
.accordion-header::after {
    content: '▼';
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Icon für geöffneten Zustand */
.accordion-header.open::after {
    content: '▲';
    transform: rotate(180deg); /* Optional: Animation */
}

/* Hover-Effekt: Ein dunklerer Beige-Ton, wenn der Benutzer darüber fährt */
.accordion-header:hover {
    background-color: #C5B47F; /* Dunklerer Beige-Ton für den Hover-Effekt */
}

.accordion-content {
    display: none;
    padding: 20px;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    border: 1px solid #ddd;
    border-top: none; /* Keine Doppellinie zwischen Header und Inhalt */
}

/* Footer */
footer {
    background-color: #2F2F2F;
    color: #EFE5DC;
    padding: 7px 0;
    text-align: center;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.Copyright p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.footer-nav ul li {
    display: inline-block;
}

.footer-nav ul li a {
    text-decoration: none;
    color: #EFE5DC;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.footer-nav ul li a:hover {
    background-color: #555;
}

/* Responsives Design */
@media (max-width: 768px) {
    .header-container,
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .header-nav ul,
    .footer-nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .content-container {
        padding: 15px;
    }
}
