body{
    margin:0;
    background:#000;
    overflow:hidden;
    font-family:Arial, Helvetica, sans-serif;
}

/* Bühne */
#stage{
    position:relative;
    width:100vw;
    height:100vh;
    overflow:hidden;
}

/* Hintergrund */
#garage-bg{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            rgba(0,0,0,0.35),
            rgba(0,0,0,0.65)
        ),
        url("/assets/img/garage.png");

    background-size:cover;
    background-position:center center;

    z-index:0;

    transform:scale(1.0);
}

/* zusätzliches Overlay */
#dark-overlay{
    position:absolute;
    inset:0;

    background:
        radial-gradient(
            circle at center,
            rgba(0,0,0,0) 0%,
            rgba(0,0,0,0.35) 60%,
            rgba(0,0,0,0.75) 100%
        );

    z-index:1;
}

/* Titel */
.title{
    position:absolute;
    top:40px;
    width:100%;

    text-align:center;

    color:#ff7a00;
    font-size:52px;
    letter-spacing:4px;
    font-weight:bold;

    z-index:20;

    text-shadow:
        0 0 10px rgba(255,122,0,0.4),
        0 0 30px rgba(255,122,0,0.2);
}

.subtitle{
    position:absolute;
    top:105px;
    width:100%;

    text-align:center;

    color:#aaa;
    font-size:18px;
    letter-spacing:2px;

    z-index:20;
}

/* Fahrzeug */
#car{
    position:absolute;

    width:800px;
    left:60%;
    top:75%;
    transform:scale(1.2);
    transform:translate(-65%,-65%);
 
    z-index:5;

    filter:
        drop-shadow(0 20px 30px rgba(0,0,0,0.6));
}

/* Spiegelung */
#reflection{
    position:absolute;

    width:900px;

    left:50%;
    top:72%;

    transform:
        translateX(-50%)
        scaleY(-1);

    opacity:0.18;

    filter:
        blur(8px)
        brightness(0.7);

    z-index:2;

    transition:opacity 2s;
}

#reflection.active{
    opacity:0.35;
}

/* Canvas */
canvas{
    position:absolute;
    inset:0;

    z-index:10;

    transition:opacity 2s;
}

/* Marker */
.marker{
    position:absolute;

    width:10px;
    height:10px;

    border-radius:50%;

    background:#00eaff;

    z-index:30;

    transform:translate(-50%,-50%);

    box-shadow:
        0 0 10px #00eaff,
        0 0 20px rgba(0,234,255,0.6);

    animation:pulse 1.5s infinite;

    opacity:0;
    visibility:hidden;
}

@keyframes pulse{

    0%{
        transform:translate(-50%,-50%) scale(1);
    }

    50%{
        transform:translate(-50%,-50%) scale(1.6);
    }

    100%{
        transform:translate(-50%,-50%) scale(1);
    }
}

/* HUD */
.hud{
    position:absolute;

    z-index:40;

    pointer-events:none;

    opacity:0;

    color:#00eaff;

    font-family:monospace;

    transition:
        opacity 0.25s,
        transform 0.25s;
         pointer-events:none;
}

/* HUD Linien */
.line-h,
.line-v{
    position:absolute;

    background:#00eaff;

    box-shadow:
        0 0 8px rgba(0,234,255,0.7);
}

.line-h{
    height:2px;
}

.line-v{
    width:2px;
}

/* HUD Box */
.hud .box{
    position:absolute;

    width:210px;

    padding:14px;

    border:
        1px solid rgba(0,234,255,0.5);

    background:
        rgba(0,0,0,0.55);

    backdrop-filter:blur(8px);

    box-shadow:
        0 0 20px rgba(0,234,255,0.12);
          pointer-events:auto;
    cursor:pointer;
}
.hud .box a{
    color:#00eaff;
    text-decoration:none;
}

.hud .box a:visited{
    color:#7ff6ff;   /* helleres Cyan statt Lila */
}

.hud .box a:hover{
    color:#ffffff;
    text-shadow:0 0 10px #00eaff;
}
/* HUD Titel */
.hud-title{
    margin-bottom:12px;

    color:#8fefff;

    font-size:12px;
    letter-spacing:2px;

    opacity:0.8;
}

/* HUD Zeilen */
.hud-row{
    display:flex;
    align-items:center;

    gap:10px;

    margin-bottom:8px;
}

/* Icon */
.hud-icon{
    width:24px;

    color:#00eaff;

    font-size:18px;

    text-align:center;
}

/* Text */
.hud-text{
    font-size:15px;
    color:#dffcff;
}

/* Werkstatt Hotspots */
.hotspot{
    position:absolute;

    width:170px;

    padding:14px;

    border:
        1px solid rgba(255,255,255,0.15);

    background:
        rgba(0,0,0,0.35);

    backdrop-filter:blur(4px);

    color:#fff;

    z-index:25;

    cursor:pointer;

    transition:
        transform 0.3s,
        box-shadow 0.3s,
        border-color 0.3s;
}

/* Hover */
.hotspot:hover{

    transform:scale(1.04);

    border-color:
        rgba(0,234,255,0.5);

    box-shadow:
        0 0 25px rgba(0,234,255,0.2);
}

/* Label */
.hotspot-label{

    font-size:14px;

    line-height:1.6;

    letter-spacing:1px;
}
.hotspot-label a{
    color:#00eaff;
    text-decoration:none;
}

.hotspot-label a:visited{
    color:#7ff6ff;   /* helleres Cyan statt Lila */
}

.hotspot-label a:hover{
    color:#ffffff;
    text-shadow:0 0 10px #00eaff;
}
/* Werkbank */
.workbench{
    left:6%;
    bottom:38%;
}

/* Deutschlandkarte */
.map{
 right:22%;
    top:25%;
}
/*Termine */
.termine{
    left:22%;
    top:25%;
}

/* Forum */
.forum{
    left:52%;
    top:25%;
}

/* Shop */
.shop{
    right:40%;
    bottom:50%;
}

/* aktiver Zustand */
.hotspot.active{

    border-color:
        rgba(0,234,255,0.8);

    box-shadow:
        0 0 35px rgba(0,234,255,0.3);
}

/* Unterer schwarzer Fade */
#stage::after{

    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:100%;
    height:220px;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0),
            rgba(0,0,0,1)
        );

    z-index:12;

    pointer-events:none;
}
/* MOBILE MENU */

#menuToggle{
    position:fixed;
    top:20px;
    right:20px;
    z-index:9999;

    width:55px;
    height:55px;

    border:none;
    border-radius:12px;

    background:rgba(0,0,0,0.7);
    color:#00eaff;

    font-size:32px;
    cursor:pointer;

    display:none;

    backdrop-filter:blur(10px);

    box-shadow:0 0 20px rgba(0,234,255,0.4);
}

#mobileMenu{
    position:fixed;
    top:0;
    right:-320px;

    width:280px;
    height:100vh;

    background:rgba(0,0,0,0.95);

    display:flex;
    flex-direction:column;

    padding-top:100px;

    transition:right 0.4s ease;

    z-index:9998;
}

#mobileMenu.active{
    right:0;
}

#mobileMenu a{

    color:#00eaff;
    text-decoration:none;

    padding:22px 30px;

    font-size:24px;

    border-bottom:1px solid rgba(255,255,255,0.08);
}

#mobileMenu a:hover{
    background:rgba(0,234,255,0.1);
}
/* TABLET */
@media(max-width:1100px){

    #car{
        width:700px;
    }

    .hud .box{
        width:150px;
        font-size:12px;
    }

}

/* HANDY */
@media(max-width:768px){

    #car{
        width:95vw;
    }

    .title{
        font-size:34px;
        top:20px;
    }

    .subtitle{
        top:70px;
        font-size:14px;
    }

    /* HUD ausblenden */
    .hud{
        display:none !important;
    }

    .marker{
        display:none !important;
    }

    /* mobile menu sichtbar */
    #menuToggle{
        display:block;
    }

}
/* OVERLAY */

/* MAP WRAPPER */
#mapOverlay{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,0.88);

    z-index:99999;

    display:none;

    justify-content:center;
    align-items:center;

    backdrop-filter:blur(8px);
}

/* AKTIV */
#mapOverlay.active{
    display:flex;
}

/* WRAPPER */
#mapContainer{

    position:relative;

    width:90vw;
    max-width:1200px;
}

/* KARTE */
#clubMap{

    width:100%;
    display:block;

    border:2px solid rgba(255,255,255,0.1);

    box-shadow:
        0 0 60px rgba(0,234,255,0.25);
}

/* PIN LAYER */
#mapPins{

    position:absolute;

    inset:0;

    z-index:10;

    pointer-events:none;
}

/* PIN */
.mapPin{

    position:absolute;

    width:22px;
    height:22px;

    border-radius:50%;

    background:#ff3b3b;

    transform:translate(-50%,-50%);

    box-shadow:
        0 0 12px red,
        0 0 25px red;

    cursor:pointer;

    pointer-events:auto;

    transition:0.2s;
}

.mapPin:hover{

    transform:
        translate(-50%,-50%)
        scale(1.2);
}



/* CLOSE */

#mapClose{

    position:absolute;
    top:30px;
    right:40px;

    font-size:42px;
    color:#00eaff;

    cursor:pointer;

}

/* PINS */


.mapPin:hover{

    transform:translate(-50%,-50%) scale(1.3);

}

/* TOOLTIP */

.pinLabel{

    position:absolute;

    top:-40px;
    left:30px;

    background:rgba(0,0,0,0.85);

    border:1px solid #00eaff;

    color:#00eaff;

    padding:10px 14px;

    font-size:14px;

    white-space:nowrap;

    display:none;
}

.mapPin:hover .pinLabel{
    display:block;
}
