html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background-color: #F4E1E0;
    color: #0E1627;
}

main {
    flex: 1;
}

header {
    padding: 2.5em 1.25em;
    background-color: #0E1627;
    text-align: center;
}

.logo img {
    width: 5em;
    margin-bottom: 0.625em;
}

nav {
    margin-top: 0.625em;
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 0.625em;
    list-style: none;
    font-family: Didot, serif;
    background: transparent;
    padding: 0;
}

.navigation a {
    padding: 0.75em 1.25em;
    color: #F4E1E0;
    text-decoration: none;
    border-radius: 1.25em;
    transition: background 0.3s;
}

.navigation a:hover,
#akt_tab {
    background-color: #BD8E89;
    color: #0E1627;
}

.site-footer {
    background-color: #0E1627;
    color: #F4E1E0;
    text-align: center;
    padding: 3.75em 1.25em;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25em;
    margin-bottom: 2.5em;
}

.footer-logo img {
    width: 5em;
}

.footer-logo p {
    margin: 0.625em 0 0;
    color: #E5C5C1;
    font-size: 1rem;
}

.footer-info p {
    margin: 0.3125em 0;
    font-size: 0.95rem;
}

.footer-info a {
    color: #BD8E89;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-info a:hover {
    color: #E5C5C1;
}

.footer-bottom {
    border-top: 0.0625em solid #7F6269;
    padding-top: 1.25em;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: #E5C5C1;
}

section {
    padding: 3.75em 1.25em;
    text-align: center;
}

.fade-in {
    opacity: 1;
    transform: none;
    transition: all 0.6s ease-out;
}

.animation {
    position: relative;
    height: 25em;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #E5C5C1;
}

.slideshow {
    display: flex;
    gap: 0.9375em;
    animation: slideShow 95s linear infinite;
    width: max-content;
}

.slideshow img {
    width: 15.625em;
    height: 21.875em;
    object-fit: cover;
    border-radius: 0.625em;
    box-shadow: 0 0.25em 0.5em rgba(0,0,0,0.3);
    opacity: 0.8;
    transition: transform 0.5s;
    position: relative;
    z-index: 1;
}

.slideshow img:hover {
    transform: scale(1.05);
    opacity: 1;
    z-index: 2;
}

@keyframes slideShow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.überlagerung-text {
    position: absolute;
    z-index: 10;
    color: #0E1627;
    font-family: Didot, serif;
    text-align: center;
    text-shadow: 0.25em 0.25em 0.375em #7f6269;
}

.überlagerung-text h1 {
    font-size: 3rem;
    margin: 0;
}

.überlagerung-text a.button {
    margin-top: 1.25em;
    display: inline-block;
    padding: 0.75em 1.75em;
    border-radius: 1.25em;
    background-color: rgba(14, 22, 39, 0.7);
    color: #F4E1E0;
    text-decoration: none;
    transition: background 0.3s;
}

.überlagerung-text a.button:hover {
    background: #BD8E89;
    color: #FFF;
}

h1 {
    text-align: center;
    color: #0E1627;
    font-family: Didot, serif;
}

ol {
    max-width: 37.5em;
    margin: 2rem auto;
    padding-left: 1.5rem;
    counter-reset: reiseziel;
}

ol li {
    background: white;
    margin-bottom: 1rem;
    padding: 1rem;
    border-left: 0.3125em solid #7F6269;
    border-radius: 0.375em;
    list-style: none;
    position: relative;
    font-family: Didot, serif;
}

ol li::before {
    counter-increment: reiseziel;
    content: counter(reiseziel) ".";
    position: absolute;
    left: -1.5rem;
    top: 1rem;
    font-weight: bold;
    color: #7F6269;
}

.ziel-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: #7F6269;
    font-family: Didot, serif;
}

.ziel-beschreibung {
    font-size: 0.95rem;
    color: #7F6269;
    font-family: Didot, serif;
}

ol li:hover {
    transform: scale(1.03);
    background-color: #E5C5C1;
}

.tagline {
    background: #7F6269;
    color: #F4E1E0;
    font-family: Didot, serif;
}

.tagline .quote {
    font-size: 2rem;
    margin-bottom: 0.625em;
    font-style: italic;
}

.fade-in {
    opacity: 0;
    transform: translateY(1.875em);
    transition: all 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.countdown-section {
    text-align: center;
    padding: 3.75em 1.25em;
    background-color: #F4E1E0;
    color: #7F6269;
    font-family: Didot, serif;
}

.countdown-title {
    font-size: 2.25rem;
    margin-bottom: 1.875em;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 1.875em;
    font-size: 1.75rem;
}

#countdown div {
    background: #E5C5C1;
    padding: 1.25em;
    border-radius: 0.75em;
    box-shadow: 0 0.25em 0.625em rgba(127, 98, 105, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#countdown div:hover {
    transform: scale(1.05);
    box-shadow: 0 0.75em 1.563em rgba(127, 98, 105, 0.5);
}

#countdown span {
    display: block;
    font-size: 2.25rem;
    font-weight: bold;
    color: #0E1627;
}

#countdown small {
    font-size: 0.875rem;
    color: #7F6269;
}

@media (max-width: 600px) {
    #countdown {
        flex-direction: column;
        gap: 1.25em;
    }
}
