* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    background-color: #000;
}

/* Hintergrund-Video */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg-video {
    width: 180vw;
    height: 180vh;
    position: absolute;
    top: -40vh;
    left: -40vw;
    object-fit: cover;
    transform: rotate(-45deg);
    filter: blur(8px) brightness(0.6);
}

/* Navigationsleiste */
.navbar {
    background-color: #222222;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-btn {
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-btn .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn.open .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.open .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    user-select: none;
    cursor: pointer;
}

.nav-center {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-input {
    width: 100%;
    padding: 8px 15px;
    border-radius: 20px;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
}

.search-input::placeholder {
    color: #bbb;
}

/* Lautstärke-Steuerung */
.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sound-btn {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.volume-slider {
    width: 70px;
    height: 4px;
    accent-color: white;
    cursor: pointer;
}

.icon-link, .profile-icon {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: calc(100vh - 60px);
    background-color: #222222;
    transition: left 0.3s ease;
    z-index: 999;
}

.sidebar.active {
    left: 0;
}

.sidebar ul {
    list-style: none;
    padding: 20px;
}

.sidebar ul li {
    margin-bottom: 15px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.sidebar ul li a:hover {
    background-color: #333;
}

/* Haupt-Inhaltsbereich */
.page-content {
    flex: 1;
    padding-top: 70px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    min-height: calc(100vh - 110px);
}

/* Titel-Bereich */
.main-title {
    text-decoration: underline;
    text-align: center;
    font-size: 2.2rem;
    margin-top: 10px;
    margin-bottom: 5px;
}

.section-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ddd;
}

/* Bild-Container zentriert */
.map-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}

.map-image {
    max-width: 900px;
    width: 85%;
    height: auto;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

/* Geschichte Button Styling */
.history-btn-container {
    text-align: center;
    margin-top: 35px;
    margin-bottom: 20px;
}

.history-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #2563eb, #7c3aed); /* Modernes Blau zu Violett */
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.25s ease;
}

.history-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
}

/* Footer unten fixiert */
footer {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #ccc;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 10;
}

/* ==========================================
   RESPONSIVE DESIGN (TABLETS & HANDYS)
   ========================================== */

/* Tablets (bis 1024px) */
@media (max-width: 1024px) {
    .nav-center {
        max-width: 250px;
    }

    .map-image {
        width: 92%;
        max-height: 48vh;
    }
}

/* Smartphones (bis 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 10px;
    }

    .nav-center {
        display: none;
    }

    .volume-slider {
        width: 45px;
    }

    .page-content {
        padding-top: 65px;
        justify-content: flex-start;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }

    .map-image {
        width: 100%;
        max-height: 40vh;
    }

    .history-btn-container {
        margin-top: 25px;
    }

    .history-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    footer {
        padding: 10px 15px;
        font-size: 10px;
    }
}

/* Sehr kleine Handys (bis 400px) */
@media (max-width: 400px) {
    .logo {
        height: 32px;
    }

    .volume-container {
        gap: 4px;
    }

    .main-title {
        font-size: 1.4rem;
    }
}