:root {
    --text-color: #ffffff;
    --bg-color: #000000;
    --accent-color: #ff3366;
    /* Example accent */
    --font-main: 'Oswald', sans-serif;
    --font-sub: 'Arial', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    min-height: 100%;
    /* Allow body to grow with content */
    background-color: var(--bg-color);
    font-family: var(--font-main);
    color: var(--text-color);
    overflow-x: hidden;
    /* overflow-y: auto; Default, but good to know */
}

/* --- Video Background --- */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    /* Visible behind content (z-index: 5) */
    overflow: hidden;
    pointer-events: none;
    /* KEY FIX: Allows scroll/clicks to pass through to body */
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Slight dim by default */
    pointer-events: none;
    transition: background 0.5s ease;
    z-index: 1;
}

/* --- Logo --- */
.logo-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centered initially */
    z-index: 10;
    width: 80%;
    /* Mobile width */
    max-width: 500px;
    transition: all 0.1s ease-out;
    /* JavaScript will handle smoother/complex transitions, CSS for base props */
    pointer-events: none;
    /* Let scroll pass through */
}

#main-logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

/* --- Scroll Content --- */
.scroll-container {
    height: 650vh; /* will be updated.. */
}

.content-section {
    position: fixed;
    /* Fixed in viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    /* Keep flex centering */
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* Hidden initially */
    transition: opacity 0.5s ease;
    padding: 20px;
    pointer-events: none;
    /* Allow scrolling through */
    z-index: 5;
}

.content-section.active {
    opacity: 1;
    pointer-events: auto;
    /* Allow interaction if needed (e.g. links) */
}

/* Spacer is purely logical now, we rely on body scroll height */
.spacer,
.spacer-end {
    display: none;
}

.content-box, .impressum {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 600px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: transform 0.8s ease-out;
}

.content-section.active .content-box {
    transform: translateY(0);
}

@media (min-width:600px)
{
    .impressum
    {
        width: 150%;
        max-width: 900px;
    }
    p.small {
        font-size: 1.0rem;
        line-height: 1.2;
        font-family: var(--font-sub);
    }

    h4 {
        font-size: 2.0rem;
    }
}

@media (max-width:600px)
{
    .impressum
    {
        width: 100%;
        max-width: 600px;
        z-index:50
    }
    p.small {
        font-size: 0.7rem;
        line-height: 1.0;
        font-family: var(--font-sub);
    }

    h4 {
        font-size: 1.0rem;
    }
}

h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    font-size: 1.0rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
}


a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}


/* --- Table Styles --- */
.tour-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    text-align: left;
}

.tour-table th,
.tour-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.tour-table th {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #cccccc;
}

.tour-table td {
    font-size: 1.1rem;
}

/* --- Detailed Desktop Tuning --- */
@media (min-width: 768px) {
    .logo-container {
        width: 50%;
    }

    .content-box {
        padding: 4rem;
    }

    h1 {
        font-size: 5rem;
    }

    h2 {
        font-size: 3.5rem;
    }
}

.chevron-container {
    animation : pulse 2s 3s ease-out infinite;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    text-align: center;
    pointer-events: none;
}

@keyframes fade-slide-up {
  0% {
    opacity: 0;
    transform: translateY(4rem);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.chevron-container img {
  animation: fade-slide-up 1s 1s ease-out forwards;
  opacity: 0;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: none;
  }
  50% {
    opacity: .8;
    transform: scale(.8);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}