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

body {
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    overflow-x: hidden;
    background: #000;
    margin: 0;
    padding: 0;
    overscroll-behavior-y: none;
}

/* Hide all content during initial loading */
body.loading-active .scroll-container,
body.loading-active .content-area {
    opacity: 0;
    visibility: hidden;
}

/* Show content when loaded with fade-in animation */
body.loaded .scroll-container,
body.loaded .content-area {
    opacity: 1;
    visibility: visible;
    animation: fadeInContent 0.8s ease-out;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.black-mask-rect {
    z-index: 15;
}

/* Loading Widget */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease-out;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .loading-spinner {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }

    .loading-text {
        font-size: 16px;
    }
}

.scroll-container {
    height: 479vh; /* Fallback for older browsers */
    height: 479svh; /* Small viewport height - accounts for mobile address bar */
    position: relative;
}

.hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    background: #000;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.video-background.fade-out {
    opacity: 0;
}

.video-highres {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.video-highres.fade-in {
    opacity: 1;
}

.video-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.white-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(34px, 6vw, 60px);
    font-weight: 900;
    letter-spacing: 0.05em;
    color: #fff;
    z-index: 10002;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    /* Transition removed - JavaScript controls all animations to prevent jitter */
}

/* Reduce letter-spacing on narrow screens to prevent overflow */
@media (max-width: 450px) {
    .white-text {
        letter-spacing: 0.02em;
    }
}

.glass-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: transparent;
    z-index: 12;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hamburger {
    position: fixed;
    top: 25px;
    left: 30px;
    width: 40px;
    height: 30px;
    z-index: 201;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    margin-bottom: 7px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span:last-child {
    margin-bottom: 0;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100vh;
    height: 100svh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 200;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 40px 40px 40px;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar nav a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.sidebar nav a:hover {
    transform: translateX(10px);
}

/* Section-specific colors matching progress dots */
.sidebar nav a[href="#home"]:hover {
    color: rgba(255, 255, 255, 1);
    border-bottom: 2px solid rgba(255, 255, 255, 1);
}

.sidebar nav a[href="#worlds"]:hover {
    color: rgba(173, 216, 230, 1);
    border-bottom: 2px solid rgba(173, 216, 230, 1);
}

.sidebar nav a[href="#about"]:hover {
    color: rgba(255, 180, 120, 1);
    border-bottom: 2px solid rgba(255, 180, 120, 1);
}

.sidebar nav a[href="#media"]:hover {
    color: rgba(255, 120, 120, 1);
    border-bottom: 2px solid rgba(255, 120, 120, 1);
}

.sidebar nav a[href="#team"]:hover {
    color: rgba(120, 255, 120, 1);
    border-bottom: 2px solid rgba(120, 255, 120, 1);
}

.sidebar nav a[href="#impressum"]:hover {
    color: rgba(200, 150, 255, 1);
    border-bottom: 2px solid rgba(200, 150, 255, 1);
}

.cards-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
}

.cards-container.active {
    visibility: visible;
    opacity: 1;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    background: rgba(20, 20, 20, 0.85);
    padding: 0;
    border-radius: 20px;
    position: absolute;
    max-width: 420px;
    width: 85%;
    /* top position now set dynamically via JavaScript */
    left: 50%;
    transform: translate(-50%, -50%) translateX(-150%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 
        0 0 15px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(173, 216, 235, 0.2),
        0 0 45px rgba(255, 255, 255, 0.15);
    animation: heroCardGlow 4s ease-in-out infinite;
}

@keyframes heroCardGlow {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(255, 255, 255, 0.3),
            0 0 30px rgba(173, 216, 235, 0.2),
            0 0 45px rgba(255, 255, 255, 0.15);
    }
    25% {
        box-shadow: 
            0 0 18px rgba(173, 216, 235, 0.35),
            0 0 35px rgba(255, 255, 255, 0.25),
            0 0 50px rgba(173, 216, 235, 0.2);
    }
    50% {
        box-shadow: 
            0 0 20px rgba(255, 255, 255, 0.35),
            0 0 40px rgba(173, 216, 235, 0.25),
            0 0 55px rgba(255, 255, 255, 0.2);
    }
    75% {
        box-shadow: 
            0 0 18px rgba(173, 216, 235, 0.35),
            0 0 35px rgba(255, 255, 255, 0.25),
            0 0 50px rgba(173, 216, 235, 0.2);
    }
}

.card.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.card.slide-out {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
}

.card.slide-reset {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
    transition: none; /* Instant reset to left, no animation */
}

/* Directional animations */
.card.slide-out-to-left {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
}

.card.slide-in-from-right {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.card.slide-reset-right {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
    transition: none; /* Instant reset to right, no animation */
}

.card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    flex-shrink: 0;
}

.card-content {
    width: 100%;
    padding: 28px;
}

.card-content h3 {
    font-size: clamp(20px, 4.5vw, 28px);
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.card-content p {
    font-size: clamp(14px, 2.8vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-family: Arial, sans-serif;
    font-weight: normal;
}

/* New intermediate breakpoints for smooth scaling */

@media (min-width: 769px) {
    .card {
        max-width: 420px;
        /* top position set dynamically via JavaScript */
    }
}

@media (min-width: 700px) and (max-width: 768px) {
    .card {
        max-width: 390px;
        /* top position set dynamically via JavaScript */
    }

    .card-image {
        height: 145px;
    }

    .card-content {
        padding: 26px;
    }
}

@media (min-width: 550px) and (max-width: 699px) {
    .card {
        max-width: 360px;
        /* top position set dynamically via JavaScript */
    }

    .card-image {
        height: 130px;
    }

    .card-content {
        padding: 24px;
    }
}

@media (min-width: 401px) and (max-width: 549px) {
    .card {
        max-width: 310px;
        /* top position set dynamically via JavaScript */
    }

    .card-image {
        height: 125px;
    }

    .card-content {
        padding: 22px;
    }
}

@media (max-width: 768px) {
    .card {
        max-width: 340px;
        /* top position set dynamically via JavaScript */
    }

    .card-image {
        height: 140px;
    }

    .card-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .card {
        max-width: 300px;
    }

    .card-image {
        height: 120px;
    }

    .card-content {
        padding: 20px;
    }

    .card-content h3 {
        font-size: clamp(18px, 5vw, 22px);
    }

    .card-content p {
        font-size: clamp(13px, 3.5vw, 16px);
    }

    .team-card {
        /* top position set dynamically via JavaScript */
        max-width: 360px;
        width: 94%;
        padding: 28px 22px;
    }

    .team-portrait {
        width: 90px;
        height: 90px;
    }
}

.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.scroll-indicator.visible {
    opacity: 1;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: fadeInOut 2s ease-in-out infinite;
}

.scroll-indicator:hover .scroll-arrow {
    border-color: rgba(255, 255, 255, 1);
    animation: bounceDown 1s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: rotate(45deg) translateY(5px);
        opacity: 1;
    }
}

@keyframes bounceUp {
    0%, 100% {
        transform: rotate(-135deg) translateY(0);
        opacity: 0.6;
    }
    50% {
        transform: rotate(-135deg) translateY(-5px);
        opacity: 1;
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

/* Hero Scroll Hint Arrows */
.hero-scroll-hint {
    position: fixed;
    z-index: 14;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    pointer-events: none;
}

.hero-scroll-hint.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Center arrow (below cards) - shown on large screens */
.hero-scroll-hint-center {
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

/* Right arrow (beside TRACES text) - shown on small screens */
.hero-scroll-hint-right {
    top: 10%;
    right: 15%;
    transform: translate(50%, -50%);
}

.hero-scroll-hint .scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: fadeInOut 2s ease-in-out infinite;
}

.hero-scroll-hint:hover .scroll-arrow {
    border-color: rgba(255, 255, 255, 1);
    animation: bounceDown 1s ease-in-out infinite;
}

/* Hide/show based on screen size */
@media (min-width: 769px) {
    /* Large screens: show center arrow, hide side arrows */
    .hero-scroll-hint-center {
        display: block;
    }
    .hero-scroll-hint-left,
    .hero-scroll-hint-right {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Small screens: show right arrow only, hide center arrow */
    .hero-scroll-hint-center {
        display: none;
    }
    .hero-scroll-hint-right {
        display: block;
        /* Position in upper right corner, same line as hamburger menu */
        top: 25px;
        right: 30px;
        transform: none;
    }

    /* Make chevrons 70% smaller on small screens */
    .hero-scroll-hint .scroll-arrow {
        width: 21px;
        height: 21px;
        border-right-width: 1.4px;
        border-bottom-width: 1.4px;
    }
}

/* Navbar Navigation Chevron */
.navbar-nav-chevron {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 15;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    pointer-events: none;
}

.navbar-nav-chevron.visible {
    opacity: 1;
    pointer-events: auto;
}

.navbar-nav-chevron .scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
    animation: fadeInOut 2s ease-in-out infinite;
    -webkit-transition: -webkit-transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms;
    transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms;
    -webkit-transform-origin: center;
    transform-origin: center;
    will-change: transform;
}

.navbar-nav-chevron:hover .scroll-arrow {
    border-color: rgba(255, 255, 255, 1);
    animation: bounceDown 1s ease-in-out infinite;
}

.navbar-nav-chevron.rotate-up .scroll-arrow {
    transform: rotate(-135deg);  /* Point upward */
}

.navbar-nav-chevron.rotate-up:hover .scroll-arrow {
    border-color: rgba(255, 255, 255, 1);
    animation: bounceUp 1s ease-in-out infinite;  /* Use upward bounce animation */
}

/* Card Navigation Arrows */
.card-nav-arrows {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 30;
}

/* Hero arrows specifically - hidden by default, shown in carousel zone */
#heroArrows {
    position: fixed; /* Fixed to viewport, not scrolling */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease; /* Smooth opacity fade */
}

#heroArrows.active {
    visibility: visible;
    opacity: 1;
}

.card-nav-arrow {
    position: absolute;
    top: 60%; /* Align with new card vertical positions */
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.2s ease;
    opacity: 1;
    z-index: 100;
}

.card-nav-arrow:hover {
    transform: translateY(-50%) scale(1.15);
}

.card-nav-arrow:hover .nav-chevron {
    border-color: rgba(255, 255, 255, 1);
}

/* Default positioning (hero section - 420px cards, top: 60%) */
.card-nav-arrow-left {
    left: calc(50% - 210px - 60px - 30px); /* card-half + arrow + gap */
}

.card-nav-arrow-right {
    right: calc(50% - 210px - 60px - 30px); /* symmetric */
}

/* Worlds section arrows */
#worldsArrowLeft {
    left: calc(50% - 200px - 60px - 30px);
    /* top position set dynamically via JavaScript to match card center */
}

#worldsArrowRight {
    right: calc(50% - 200px - 60px - 30px);
    /* top position set dynamically via JavaScript to match card center */
}

/* Hero section arrows - strong shadow for video background visibility */
#heroArrowLeft,
#heroArrowRight {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8))
            drop-shadow(0 0 4px rgba(0, 0, 0, 0.9));
}

/* Worlds section arrows - progressive alignment removed (now dynamic) */
@media (min-width: 700px) and (max-width: 768px) {
    #worldsArrowLeft, #worldsArrowRight {
        /* top position set dynamically via JavaScript */
    }
}

@media (min-width: 550px) and (max-width: 699px) {
    #worldsArrowLeft, #worldsArrowRight {
        /* top position set dynamically via JavaScript */
    }
}

/* About section arrows */
#aboutArrowLeft {
    left: calc(50% - 175px - 60px - 30px);
    /* top position set dynamically via JavaScript to match card center */
}

#aboutArrowRight {
    right: calc(50% - 175px - 60px - 30px);
    /* top position set dynamically via JavaScript to match card center */
}

/* About section arrows - alignment removed (now dynamic) */
@media (min-width: 550px) and (max-width: 699px) {
    #aboutArrowLeft, #aboutArrowRight {
        /* top position set dynamically via JavaScript */
    }
}

/* Media section arrows */
#mediaArrowLeft {
    left: calc(50% - 175px - 60px - 30px);
    /* top position set dynamically via JavaScript to match card center */
}

#mediaArrowRight {
    right: calc(50% - 175px - 60px - 30px);
    /* top position set dynamically via JavaScript to match card center */
}

/* Media section arrows - alignment removed (now dynamic) */
@media (min-width: 550px) and (max-width: 699px) {
    #mediaArrowLeft, #mediaArrowRight {
        /* top position set dynamically via JavaScript */
    }
}

/* Team section arrows */
#teamArrowLeft {
    left: calc(50% - 260px - 60px - 40px); /* larger gap for larger cards */
    /* top position set dynamically via JavaScript to match card center */
}

#teamArrowRight {
    right: calc(50% - 260px - 60px - 40px);
    /* top position set dynamically via JavaScript to match card center */
}

/* Team section arrows - alignment removed (now dynamic) */
@media (min-width: 550px) and (max-width: 699px) {
    #teamArrowLeft, #teamArrowRight {
        /* top position set dynamically via JavaScript */
    }
}

/* Navigation chevron - matching scroll hint style */
.nav-chevron {
    width: 30px;
    height: 30px;
    border-right: 2.5px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2.5px solid rgba(255, 255, 255, 0.7);
    transform: rotate(-45deg); /* Point right by default */
    transition: border-color 0.2s ease;
}

/* Left arrow: rotate to point left */
.card-nav-arrow-left .nav-chevron {
    transform: rotate(135deg);
}

/* Directional motion hints */
.card-nav-arrow-left:hover .nav-chevron {
    animation: slideLeft 0.6s ease-in-out infinite;
}

.card-nav-arrow-right:hover .nav-chevron {
    animation: slideRight 0.6s ease-in-out infinite;
}

@keyframes slideLeft {
    0%, 100% { transform: rotate(135deg) translateX(0); }
    50% { transform: rotate(135deg) translateX(-4px); }
}

@keyframes slideRight {
    0%, 100% { transform: rotate(-45deg) translateX(0); }
    50% { transform: rotate(-45deg) translateX(4px); }
}

/* Keyboard focus states for accessibility */
.card-nav-arrow:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
}

.card-nav-arrow:focus .nav-chevron {
    border-color: rgba(255, 255, 255, 1);
}

.card-nav-arrow:focus:not(:focus-visible) {
    outline: none;
}

.card-nav-arrow:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
}

/* Remove mobile tap highlight and accidental blue backgrounds on touch devices for arrow and menu link elements
   while preserving keyboard focus-visible styles for accessibility. */
.card-nav-arrow,
.card-nav-arrow .nav-chevron,
.scroll-arrow,
.scroll-indicator,
.hero-scroll-hint,
.hero-scroll-hint-center,
.hero-scroll-hint .scroll-arrow,
.navbar-nav-chevron,
.navbar-nav-chevron .scroll-arrow,
.sidebar nav a {
    -webkit-tap-highlight-color: transparent; /* iOS/Chrome mobile */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Do NOT reset background-color here for .sidebar or .hamburger to avoid hiding visual elements */
}

/* Ensure active/tap states do not show default background color */
.card-nav-arrow:active,
.scroll-arrow:active,
.scroll-indicator:active,
.hero-scroll-hint:active,
.hero-scroll-hint-center:active,
.navbar-nav-chevron:active,
.sidebar nav a:active,
.card-nav-arrow:focus:not(:focus-visible),
.scroll-arrow:focus:not(:focus-visible),
.scroll-indicator:focus:not(:focus-visible),
.sidebar nav a:focus:not(:focus-visible) {
    background-color: transparent !important;
    outline: none !important;
}

/* Keep hamburger visuals intact but still disable tap highlight */
.hamburger,
.hamburger span {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .card-nav-arrow-left:hover svg,
    .card-nav-arrow-right:hover svg {
        animation: none;
    }
}

/* Mobile: Position arrows at bottom, side by side with dynamic positioning */
@media (max-width: 768px) {
    .card-nav-arrow {
        top: auto;
        bottom: clamp(30px, 5vh, 45px); /* Dynamic positioning that scales with viewport height */
        transform: none; /* Remove translateY */
        width: 36px;
        height: 36px;
    }

    .card-nav-arrow:hover {
        transform: scale(1.15); /* Only scale on mobile, no translateY */
    }

    .card-nav-arrow-left {
        left: calc(50% - 60px - 10px); /* Center, with 20px gap between arrows */
    }

    .card-nav-arrow-right {
        right: calc(50% - 60px - 10px); /* Symmetric */
    }

    /* Override all section-specific positioning on mobile */
    #worldsArrowLeft, #aboutArrowLeft, #mediaArrowLeft, #teamArrowLeft, #heroArrowLeft {
        left: calc(50% - 60px - 10px);
        top: auto;
        bottom: clamp(30px, 5vh, 45px);
    }

    #worldsArrowRight, #aboutArrowRight, #mediaArrowRight, #teamArrowRight, #heroArrowRight {
        right: calc(50% - 60px - 10px);
        top: auto;
        bottom: clamp(30px, 5vh, 45px);
    }

    .nav-chevron {
        width: 26px;
        height: 26px;
        border-right-width: 2px;
        border-bottom-width: 2px;
    }
}

.progress-indicator {
    position: fixed;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -50%);
    margin-left: 0;
    z-index: 50;
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.progress-indicator.visible {
    opacity: 1;
    pointer-events: auto;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.progress-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.6);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.progress-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.progress-home {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-home.active {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    transform: scale(1.6);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.progress-home:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

/* Mobile responsive positioning for progress indicator - Progressive scaling */

@media (min-width: 769px) {
    .progress-indicator {
        top: 20%;
        gap: 15px;
    }
}

@media (min-width: 700px) and (max-width: 768px) {
    .progress-indicator {
        margin-left: 0;
        top: 21%;
        gap: 14px;
    }
}

@media (min-width: 550px) and (max-width: 699px) {
    .progress-indicator {
        margin-left: 0;
        top: 23%;
        gap: 13px;
    }

    .progress-dot,
    .progress-home {
        width: 8px;
        height: 8px;
    }
}

@media (min-width: 401px) and (max-width: 549px) {
    .progress-indicator {
        margin-left: 0;
        top: 25%;
        gap: 11px;
    }

    .progress-dot,
    .progress-home {
        width: 7px;
        height: 7px;
    }

    .progress-home {
        border-width: 1.8px;
    }
}

@media (max-width: 768px) {
    .progress-indicator {
        margin-left: 0;
        top: 16%; /* Reduced from 22% to create ~6% gap with white-text at 10% */
    }
}

@media (max-width: 480px) {
    .progress-indicator {
        margin-left: 0;
        top: 17%; /* Reduced from 24% to maintain proportional gap */
    }
}

@media (max-width: 400px) {
    .progress-indicator {
        margin-left: 0;
        top: 18%; /* Reduced from 26% to maintain proportional gap */
        gap: 10px;
    }

    .progress-dot,
    .progress-home {
        width: 6px;
        height: 6px;
    }

    .progress-home {
        border-width: 1.5px;
    }
}

.content-area {
    position: relative;
    margin-top: -98vh;  /* Pull up content-area to appear earlier in viewport */
    margin-top: -98svh;
    background: rgba(20, 20, 20, 0.001);
    z-index: 5;
    color: #fff;
}

/* WORLDS Section Styles */
.worlds-section {
    position: relative;
    height: 120vh;
    height: 120svh;
    overflow: visible;
}

.worlds-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0; /* Initial state for JS fade-in */
}

.worlds-title-container {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 3vw, 30px);
    z-index: 10;
}

.worlds-title-center {
    font-size: clamp(32px, 7vw, 64px);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #fff;
    white-space: nowrap;
}

.worlds-progress {
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 1;
    pointer-events: auto;
}

.worlds-cards-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    z-index: 20;
}

.worlds-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0;
    border-radius: 20px;
    position: absolute;
    width: 400px;
    height: 400px;
    aspect-ratio: 1 / 1;
    /* top position now set dynamically via JavaScript */
    left: 50%;
    transform: translate(-50%, -50%) translateX(-150%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    box-sizing: border-box;
    pointer-events: auto;
    overflow: hidden;
}

.worlds-card.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.worlds-card.slide-out {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
}

.worlds-card.slide-reset {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
    transition: none; /* Instant reset to left, no animation */
}

/* Directional animations */
.worlds-card.slide-out-to-left {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
}

.worlds-card.slide-in-from-right {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.worlds-card.slide-reset-right {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
    transition: none; /* Instant reset to right, no animation */
}

.worlds-card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.worlds-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

/* Card 1 - FLOW: Ocean wave light blue glow */
.worlds-card[data-worlds-card="1"] {
    box-shadow: 0 0 20px rgba(135, 206, 250, 0.4), 
                0 0 40px rgba(135, 206, 250, 0.2);
    animation: oceanWave 4s ease-in-out infinite;
}

@keyframes oceanWave {
    0%, 100% {
        box-shadow: 0 0 20px rgba(135, 206, 250, 0.4), 
                    0 0 40px rgba(135, 206, 250, 0.2),
                    0 0 60px rgba(135, 206, 250, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(135, 206, 250, 0.6), 
                    0 0 50px rgba(135, 206, 250, 0.3),
                    0 0 70px rgba(135, 206, 250, 0.15);
    }
}

/* Card 2 - CYCLE: Rotating purple/yellow neon border */
.worlds-card[data-worlds-card="2"] {
    box-shadow: 
        0 0 20px #ff00ff,
        0 0 40px #ffff00,
        0 0 60px #ff00ff;
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    0% {
        box-shadow: 
            0 0 20px #ff00ff,
            0 0 40px #ffff00,
            0 0 60px #ff00ff;
    }
    25% {
        box-shadow: 
            0 0 20px #ffff00,
            0 0 40px #ff00ff,
            0 0 60px #ffff00;
    }
    50% {
        box-shadow: 
            0 0 20px #ff00ff,
            0 0 40px #ffff00,
            0 0 60px #ff00ff;
    }
    75% {
        box-shadow: 
            0 0 20px #ffff00,
            0 0 40px #ff00ff,
            0 0 60px #ffff00;
    }
    100% {
        box-shadow: 
            0 0 20px #ff00ff,
            0 0 40px #ffff00,
            0 0 60px #ff00ff;
    }
}

/* Card 3 - BEAT: Smooth pulsating white border */
.worlds-card[data-worlds-card="3"] {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6),
                0 0 40px rgba(255, 255, 255, 0.3);
    animation: smoothPulse 2s ease-in-out infinite;
}

@keyframes smoothPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
                    0 0 30px rgba(255, 255, 255, 0.25),
                    0 0 45px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 35px rgba(255, 255, 255, 1),
                    0 0 60px rgba(255, 255, 255, 0.6),
                    0 0 90px rgba(255, 255, 255, 0.3);
    }
}

/* Fullscreen World Overlay */
.world-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100svh;
    background: #000;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease-out;
}

.world-fullscreen.active {
    opacity: 1;
    pointer-events: auto;
}

.world-fullscreen-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
}

.world-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.world-back-button {
    position: fixed;
    top: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
}

.world-back-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* Make cards clickable */
.worlds-card {
    cursor: pointer;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.worlds-card:hover {
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.worlds-card.slide-in:hover {
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.worlds-card-enter-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    z-index: 4;
    opacity: 0.8;
    transition: all 0.3s ease;
    pointer-events: none;
}

.worlds-card:hover .worlds-card-enter-hint {
    opacity: 1;
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .worlds-card-enter-hint {
        font-size: 10px;
        padding: 6px 12px;
        bottom: 15px;
    }
}

/* Zoom animation states */
.worlds-card.zooming {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    width: 90vw !important;
    max-width: 1200px !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    transform: translate(-50%, -50%) !important;
    z-index: 999 !important;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.worlds-card.zooming .worlds-card-content {
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

@media (max-width: 768px) {
    .world-back-button {
        top: 20px;
        left: 20px;
        font-size: 14px;
        padding: 12px 24px;
    }

    .world-fullscreen-content {
        width: 95vw;
    }
}

.worlds-card-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.worlds-card-content h3 {
    font-size: clamp(32px, 6vw, 48px);
    color: #fff;
    margin-bottom: 0;
    line-height: 1.2;
    letter-spacing: 0.15em;
    font-weight: 900;
}

.worlds-card-content p {
    font-size: clamp(14px, 2.8vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-family: Arial, sans-serif;
    font-weight: normal;
}

/* Worlds cards - Progressive sizing */
@media (min-width: 769px) {
    .worlds-card {
        width: 400px;
        height: 400px;
        /* top position set dynamically via JavaScript */
    }
}

@media (min-width: 700px) and (max-width: 768px) {
    .worlds-card {
        width: 380px;
        height: 380px;
        /* top position set dynamically via JavaScript */
    }

    .worlds-card-content {
        padding: 28px;
        gap: 18px;
    }
}

@media (min-width: 550px) and (max-width: 699px) {
    .worlds-card {
        width: 350px;
        height: 350px;
        /* top position set dynamically via JavaScript */
    }

    .worlds-card-content {
        padding: 26px;
        gap: 16px;
    }

    .worlds-title-center {
        font-size: clamp(28px, 6vw, 56px);
    }
}

@media (max-width: 768px) {
    .worlds-card {
        width: 320px;
        height: 320px;
        /* top position set dynamically via JavaScript */
    }

    .worlds-card-content {
        padding: 25px;
        gap: 15px;
    }
}

@media (max-width: 550px) {
    .worlds-title-center {
        font-size: clamp(28px, 6vw, 48px);
    }

    .worlds-title-container {
        gap: 18px;
    }
}

.worlds-progress {
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 1;
    pointer-events: auto;
}

.worlds-progress.visible {
    opacity: 1;
    pointer-events: auto;
}

.worlds-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(173, 216, 230, 0.3);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.worlds-dot.active {
    background: rgba(173, 216, 230, 1);
    transform: scale(1.6);
    box-shadow: 0 0 12px rgba(173, 216, 230, 0.6);
}

.worlds-dot:hover {
    background: rgba(173, 216, 230, 0.6);
    transform: scale(1.2);
}

/* ABOUT Section Styles */
.about-section {
    position: relative;
    height: 120vh;
    height: 120svh;
    overflow: visible;
}

.about-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0; /* Initial state for JS fade-in */
}

.about-title-container {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 3vw, 30px);
    z-index: 10;
}

.about-title-center {
    font-size: clamp(32px, 7vw, 64px);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #fff;
    white-space: nowrap;
}

.about-progress {
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 1;
    pointer-events: auto;
}

.about-cards-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    z-index: 20;
}

.about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 25px;
    border-radius: 20px;
    position: absolute;
    max-width: 350px;
    width: 85%;
    /* top position now set dynamically via JavaScript */
    left: 50%;
    transform: translate(-50%, -50%) translateX(-150%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    box-sizing: border-box;
    pointer-events: auto;
}

.about-card.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.about-card.slide-out {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
}

.about-card.slide-reset {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
    transition: none; /* Instant reset to left, no animation */
}

/* Directional animations */
.about-card.slide-out-to-left {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
}

.about-card.slide-in-from-right {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.about-card.slide-reset-right {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
    transition: none; /* Instant reset to right, no animation */
}

.about-card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.about-card-content h3 {
    font-size: clamp(18px, 4vw, 24px);
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.about-card-content p {
    font-size: clamp(13px, 2.5vw, 16px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, sans-serif;
    font-weight: normal;
}

/* Expandable Card with Banner */
.about-card-expandable {
    flex-direction: column;
    cursor: pointer;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-card-expandable:hover {
    box-shadow: 
        0 0 25px rgba(255, 180, 120, 0.6),
        0 0 50px rgba(255, 180, 120, 0.4),
        0 0 75px rgba(255, 180, 120, 0.2);
    transform: translate(-50%, -50%) scale(1.03);
}

.about-card-expandable.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.about-card-expandable.slide-in:hover {
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.about-card-banner {
    width: calc(100% + 50px);
    height: 120px;
    border-radius: 20px 20px 0 0;
    margin: -30px -25px 20px -25px;
    background-size: cover;
    background-position: center;
}

/* Responsive banner width tweaks to align edges exactly across breakpoints */
/* Small screens: width = calc(100% + 40px) */
@media (max-width: 769px) {
    .about-card-banner {
        width: calc(100% + 40px);
    }
}

/* Medium screens: width = calc(100% + 45px) */
@media (min-width: 770px) and (max-width: 901px) {
    .about-card-banner {
        width: calc(100% + 45px);
    }
}

.read-more-hint {
    color: rgba(255, 180, 120, 1);
    font-style: italic;
    font-weight: bold;
}

/* Cyan Card Variant */
.about-card-cyan .read-more-hint {
    color: rgba(120, 200, 255, 1);
}

.about-card-cyan:hover {
    box-shadow: 
        0 0 25px rgba(120, 200, 255, 0.6),
        0 0 50px rgba(120, 200, 255, 0.4),
        0 0 75px rgba(120, 200, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.03);
}

/* Purple Card Variant */
.about-card-purple .read-more-hint {
    color: rgba(200, 120, 255, 1);
}

.about-card-purple:hover {
    box-shadow: 
        0 0 25px rgba(200, 120, 255, 0.6),
        0 0 50px rgba(200, 120, 255, 0.4),
        0 0 75px rgba(200, 120, 255, 0.2);
    transform: translate(-50%, -50%) scale(1.03);
}

/* Fullscreen Overlay - Slide from Right */
.about-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-overlay.active {
    display: block;
    transform: translateX(0);
}

.overlay-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-close:hover {
    background: rgba(255, 180, 120, 0.3);
    border-color: rgba(255, 180, 120, 1);
    transform: rotate(90deg) scale(1.1);
}

.overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 80px 20px 80px 20px;
    box-sizing: border-box;
    /* Prevent scroll from affecting address bar */
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.overlay-section {
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.overlay-banner {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    box-sizing: border-box;
    background-size: cover !important;
    background-position: center !important;
    margin-bottom: 30px;
}

.overlay-banner h2 {
    color: #fff;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 900;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    margin: 0;
}

.overlay-text {
    padding: 0 40px;
}

.overlay-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(16px, 2.5vw, 18px);
    line-height: 1.8;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .about-card-banner {
        height: 100px;
    }

    .overlay-banner {
        height: 200px;
        padding: 20px;
    }

    .overlay-text {
        padding: 0 20px;
    }

    .overlay-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

.about-progress {
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 1;
    pointer-events: auto;
}

.about-progress.visible {
    opacity: 1;
    pointer-events: auto;
}

.about-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 180, 120, 0.3);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.about-dot.active {
    background: rgba(255, 180, 120, 1);
    transform: scale(1.6);
    box-shadow: 0 0 12px rgba(255, 180, 120, 0.6);
}

.about-dot:hover {
    background: rgba(255, 180, 120, 0.6);
    transform: scale(1.2);
}

/* About cards - Progressive sizing */
@media (min-width: 700px) and (max-width: 900px) {
    .about-card {
        max-width: 360px; /* Increased from 320px for better tablet utilization */
        padding: 28px 23px;
        gap: 18px;
    }
}

@media (min-width: 550px) and (max-width: 699px) {
    .about-card {
        max-width: 300px;
        padding: 26px 22px;
        gap: 16px;
        top: 52%;
    }

    .about-title-center {
        font-size: clamp(28px, 6vw, 56px);
    }
}

@media (max-width: 768px) {
    .about-card {
        max-width: 280px;
        padding: 25px 20px;
        /* top position set dynamically via JavaScript */
    }

    .about-card-image {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 550px) {
    .about-title-center {
        font-size: clamp(28px, 6vw, 48px);
    }

    .about-title-container {
        gap: 18px;
    }

    .about-card {
        gap: 14px;
    }
}

/* MEDIA Section Styles */
.media-section {
    position: relative;
    height: 120vh;
    height: 120svh;
    overflow: visible;
}

.media-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0; /* Initial state for JS fade-in */
}

.media-title-container {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 3vw, 30px);
    z-index: 10;
}

.media-title-center {
    font-size: clamp(32px, 7vw, 64px);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #fff;
    white-space: nowrap;
}

.media-progress {
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 1;
    pointer-events: auto;
}

.media-cards-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    z-index: 20;
}

.media-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 25px;
    border-radius: 20px;
    position: absolute;
    max-width: 350px;
    width: 85%;
    /* top position now set dynamically via JavaScript */
    left: 50%;
    transform: translate(-50%, -50%) translateX(-150%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    box-sizing: border-box;
    pointer-events: auto;
}

.media-card.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.media-card.slide-out {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
}

.media-card.slide-reset {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
    transition: none !important; /* Instant reset to left, no animation */
}

/* Directional animations */
.media-card.slide-out-to-left {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
}

.media-card.slide-in-from-right {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.media-card.slide-reset-right {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
    transition: none !important; /* Instant reset to right, no animation */
}

.media-card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.media-card-content h3 {
    font-size: clamp(18px, 4vw, 24px);
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.media-card-content p {
    font-size: clamp(13px, 2.5vw, 16px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, sans-serif;
    font-weight: normal;
}

/* YouTube Card Specific Styling */
.media-card.youtube-card {
    cursor: pointer;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, box-shadow 0.3s ease;
}

.media-card.youtube-card:hover {
    box-shadow: 
        0 0 25px rgba(255, 0, 0, 0.6),
        0 0 50px rgba(255, 0, 0, 0.4),
        0 0 75px rgba(255, 0, 0, 0.2);
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.media-card.youtube-card.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.media-card.youtube-card.slide-in:hover {
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

/* LinkedIn Card Specific Styling */
.media-card.linkedin-card {
    cursor: pointer;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, box-shadow 0.3s ease;
}

.media-card.linkedin-card:hover {
    box-shadow: 
        0 0 25px rgba(10, 102, 194, 0.6),
        0 0 50px rgba(10, 102, 194, 0.4),
        0 0 75px rgba(10, 102, 194, 0.2);
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.media-card.linkedin-card.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.media-card.linkedin-card.slide-in:hover {
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.linkedin-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A66C2;
    border-radius: 15px;
    flex-shrink: 0;
}

.linkedin-logo svg {
    width: 45px;
    height: 45px;
    fill: white;
}

.linkedin-cta {
    display: inline-block;
    background: rgba(10, 102, 194, 0.8);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: clamp(12px, 2.5vw, 14px);
    font-weight: bold;
    margin-top: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.media-card.linkedin-card:hover .linkedin-cta {
    background: rgba(10, 102, 194, 1);
    transform: scale(1.05);
}

/* Instagram Card Specific Styling */
.media-card.instagram-card {
    cursor: pointer;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, box-shadow 0.3s ease;
}

.media-card.instagram-card:hover {
    box-shadow: 
        0 0 25px rgba(225, 48, 108, 0.6),
        0 0 50px rgba(253, 29, 29, 0.4),
        0 0 75px rgba(247, 119, 55, 0.2);
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.media-card.instagram-card.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.media-card.instagram-card.slide-in:hover {
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.instagram-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    border-radius: 15px;
    flex-shrink: 0;
}

.instagram-logo svg {
    width: 45px;
    height: 45px;
    fill: white;
}

.instagram-cta {
    display: inline-block;
    background: linear-gradient(45deg, rgba(245, 133, 41, 0.8), rgba(221, 42, 123, 0.8));
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: clamp(12px, 2.5vw, 14px);
    font-weight: bold;
    margin-top: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.media-card.instagram-card:hover .instagram-cta {
    background: linear-gradient(45deg, rgba(245, 133, 41, 1), rgba(221, 42, 123, 1));
    transform: scale(1.05);
}

/* Facebook Card Specific Styling */
.media-card.facebook-card {
    cursor: pointer;
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, box-shadow 0.3s ease;
}

.media-card.facebook-card:hover {
    box-shadow: 
        0 0 25px rgba(24, 119, 242, 0.6),
        0 0 50px rgba(24, 119, 242, 0.4),
        0 0 75px rgba(24, 119, 242, 0.2);
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.media-card.facebook-card.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.media-card.facebook-card.slide-in:hover {
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.facebook-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1877F2;
    border-radius: 15px;
    flex-shrink: 0;
}

.facebook-logo svg {
    width: 45px;
    height: 45px;
    fill: white;
}

.facebook-cta {
    display: inline-block;
    background: rgba(24, 119, 242, 0.8);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: clamp(12px, 2.5vw, 14px);
    font-weight: bold;
    margin-top: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.media-card.facebook-card:hover .facebook-cta {
    background: rgba(24, 119, 242, 1);
    transform: scale(1.05);
}

.social-handle {
    font-size: clamp(14px, 3vw, 18px);
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Courier New', monospace;
    margin: 10px 0;
    font-weight: bold;
}

.youtube-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FF0000;
    border-radius: 15px;
    flex-shrink: 0;
}

.youtube-logo svg {
    width: 45px;
    height: 45px;
    fill: white;
}

.youtube-cta {
    display: inline-block;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: clamp(12px, 2.5vw, 14px);
    font-weight: bold;
    margin-top: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.media-card.youtube-card:hover .youtube-cta {
    background: rgba(255, 0, 0, 1);
    transform: scale(1.05);
}

.media-progress {
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 1;
    pointer-events: auto;
}

.media-progress.visible {
    opacity: 1;
    pointer-events: auto;
}

.media-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 120, 120, 0.3);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.media-dot.active {
    background: rgba(255, 120, 120, 1);
    transform: scale(1.6);
    box-shadow: 0 0 12px rgba(255, 120, 120, 0.6);
}

.media-dot:hover {
    background: rgba(255, 120, 120, 0.6);
    transform: scale(1.2);
}

/* Media cards - Progressive sizing */
@media (min-width: 700px) and (max-width: 900px) {
    .media-card {
        max-width: 360px; /* Increased from 320px for better tablet utilization */
        padding: 28px 23px;
        gap: 18px;
    }
}

@media (min-width: 550px) and (max-width: 699px) {
    .media-card {
        max-width: 300px;
        padding: 26px 22px;
        gap: 16px;
        top: 52%;
    }

    .media-title-center {
        font-size: clamp(28px, 6vw, 56px);
    }
}

@media (max-width: 768px) {
    .media-card {
        max-width: 280px;
        padding: 25px 20px;
        /* top position set dynamically via JavaScript */
    }

    .media-card-image {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 550px) {
    .media-title-center {
        font-size: clamp(28px, 6vw, 48px);
    }

    .media-title-container {
        gap: 18px;
    }

    .media-card {
        gap: 14px;
    }
}

/* TEAM Section Styles */
.team-section {
    position: relative;
    height: 120vh;
    height: 120svh;
    overflow: visible;
}

.team-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0; /* Initial state for JS fade-in */
}

.team-title-container {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(20px, 3vw, 30px);
    z-index: 10;
}

.team-title-center {
    font-size: clamp(32px, 7vw, 64px);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #fff;
    white-space: nowrap;
}

.team-progress {
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 1;
    pointer-events: auto;
}

.team-cards-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    z-index: 20;
}

.team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 35px 35px;
    border-radius: 20px;
    position: absolute;
    max-width: 520px;
    width: 92%;
    /* top position now set dynamically via JavaScript */
    left: 50%;
    transform: translate(-50%, -50%) translateX(-150%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    box-sizing: border-box;
    pointer-events: auto;
}

.team-card.slide-in {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.team-card.slide-out {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
}

.team-card.slide-reset {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
    transition: none !important; /* Instant reset to left, no animation */
}

/* Directional animations */
.team-card.slide-out-to-left {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(-150%);
}

.team-card.slide-in-from-right {
    opacity: 1;
    transform: translate(-50%, -50%) translateX(0);
}

.team-card.slide-reset-right {
    opacity: 0;
    transform: translate(-50%, -50%) translateX(150%);
    transition: none !important; /* Instant reset to right, no animation */
}

.team-card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.team-card-content h3 {
    font-size: clamp(18px, 4vw, 24px);
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.team-card-content p {
    font-size: clamp(13px, 2.5vw, 16px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, sans-serif;
    font-weight: normal;
}

/* Team Member Card Specific Styling */
.team-card.member-card {
    box-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out, box-shadow 0.3s ease;
}

.team-card.member-card:hover {
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

.team-card.member-card.slide-in:hover {
    transform: translate(-50%, -50%) translateX(0) scale(1.03);
}

/* David Mezey - Green */
.team-card.mezey-card:hover {
    box-shadow: 
        0 0 25px rgba(34, 197, 94, 0.6),
        0 0 50px rgba(34, 197, 94, 0.4),
        0 0 75px rgba(34, 197, 94, 0.2);
}

/* David James - Purple */
.team-card.james-card:hover {
    box-shadow: 
        0 0 25px rgba(168, 85, 247, 0.6),
        0 0 50px rgba(168, 85, 247, 0.4),
        0 0 75px rgba(168, 85, 247, 0.2);
}

/* Patricia Woltmann - Orange */
.team-card.woltmann-card:hover {
    box-shadow: 
        0 0 25px rgba(249, 115, 22, 0.6),
        0 0 50px rgba(249, 115, 22, 0.4),
        0 0 75px rgba(249, 115, 22, 0.2);
}

/* Emma Sullivan - Blue */
.team-card.sullivan-card:hover {
    box-shadow: 
        0 0 25px rgba(59, 130, 246, 0.6),
        0 0 50px rgba(59, 130, 246, 0.4),
        0 0 75px rgba(59, 130, 246, 0.2);
}

.team-portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.team-role {
    font-size: clamp(13px, 2.5vw, 15px);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    line-height: 1.4;
}

.team-motto {
    font-size: clamp(14px, 2.5vw, 16px);
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
    margin: 12px 0;
    line-height: 1.5;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding-left: 12px;
}

.team-contact {
    font-size: clamp(13px, 2.5vw, 15px);
    color: rgba(255, 255, 255, 0.8);
    margin: 8px 0 4px 0;
}

.team-contact a {
    color: rgba(173, 216, 230, 1);
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-contact a:hover {
    color: rgba(255, 255, 255, 1);
}

.team-progress {
    display: flex;
    flex-direction: row;
    gap: 15px;
    opacity: 1;
    pointer-events: auto;
}

.team-progress.visible {
    opacity: 1;
    pointer-events: auto;
}

.team-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(120, 255, 120, 0.3);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.team-dot.active {
    background: rgba(120, 255, 120, 1);
    transform: scale(1.6);
    box-shadow: 0 0 12px rgba(120, 255, 120, 0.6);
}

.team-dot:hover {
    background: rgba(120, 255, 120, 0.6);
    transform: scale(1.2);
}

/* Team cards - Progressive sizing */
@media (min-width: 700px) and (max-width: 900px) {
    .team-card {
        max-width: 460px;
        padding: 30px 28px;
        gap: 18px;
    }

    .team-portrait {
        width: 110px;
        height: 110px;
    }
}

@media (min-width: 550px) and (max-width: 699px) {
    .team-card {
        max-width: 400px;
        padding: 28px 24px;
        gap: 16px;
        top: 56%;
    }

    .team-portrait {
        width: 105px;
        height: 105px;
    }

    .team-title-center {
        font-size: clamp(28px, 6vw, 56px);
    }
}

@media (max-width: 768px) {
    .team-card {
        max-width: 360px; /* Reduced to avoid overlap */
        padding: 25px 20px; /* Reduced padding */
        top: 50%; /* Moved up to avoid bottom arrows */
    }

    .team-card-image {
        width: 80px;
        height: 80px;
    }

    .team-portrait {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 550px) {
    .team-title-center {
        font-size: clamp(28px, 6vw, 48px);
    }

    .team-title-container {
        gap: 18px;
    }
}

/* IMPRESSUM Section Styles */
.impressum-section {
    position: relative;
    height: 200vh;
    height: 200svh;
    overflow: visible;
}

.impressum-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05),
        0 2px 10px rgba(0, 0, 0, 0.3);
}

.impressum-title-container {
    position: absolute;
    top: 12%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.impressum-title-center {
    font-size: clamp(36px, 8vw, 72px);
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #fff;
    white-space: nowrap;
}

.impressum-cards-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    z-index: 20;
}

.impressum-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 25px;
    border-radius: 20px;
    position: absolute;
    max-width: 450px;
    width: 85%;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease-out;
    box-sizing: border-box;
    pointer-events: auto;
}

.impressum-card.visible {
    opacity: 1;
}

.impressum-card-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.impressum-card-content h3 {
    font-size: clamp(18px, 4vw, 24px);
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.2;
}

.impressum-card-content p {
    font-size: clamp(13px, 2.5vw, 16px);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, sans-serif;
    font-weight: normal;
}

@media (max-width: 768px) {
    .impressum-card {
        max-width: 320px;
        padding: 25px 20px;
        top: 54%;
    }

    .impressum-card-image {
        width: 80px;
        height: 80px;
    }
}

/* Navigation Fade Overlay */
.nav-fade-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 300ms ease-in-out;
}

.nav-fade-overlay.active {
    opacity: 1;
}