/* =========================================================
   DIGITALWEBSTUDIO – RESPONSIVE MASTER CSS
   Grundlage:
   - vorhandene style.css
   - Darstellung der Webseite aus DigitalWebStudio.pdf
   Ziel:
   Monitor + Menüelemente bleiben als EIN zusammenhängendes
   Element proportional auf PC, Tablet und Smartphone.
   ========================================================= */

/* =========================================================
   1. RESET
   ========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    background: #050811;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;

    overflow: hidden;
}

/* =========================================================
   2. HINTERGRUND
   ========================================================= */
#bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background:
    linear-gradient(
        rgba(0, 0, 0, 0.35),
        rgba(0, 0, 0, 0.35)
    ),
   url("../img/bg-max-1920-1080.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


#bg::after {
    content: "";

    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.45)
        );

    pointer-events: none;
}

/* =========================================================
   3. HAUPTFLÄCHE
   ========================================================= */
#wrapper {
    position: relative;

    width: 100%;
    height: 100dvh;
    min-height: 100vh;

    z-index: 5;

    display: flex;
    justify-content: center;
    align-items: flex-end;

    overflow: hidden;
}

/* =========================================================
   4. MONITOR – MASTER POSITIONIERUNG
   ---------------------------------------------------------
   WICHTIG:
   Der Monitor wird nur EINMAL horizontal zentriert.
   Seine Größe wird proportional zur Bildschirmbreite
   bestimmt. Dadurch müssen keine unterschiedlichen
   left/top-Werte für einzelne Geräte gepflegt werden.
   ========================================================= */
.hologram-container {
    position: absolute;

    left: 50%;
    bottom: 0;

    width: clamp(330px, 50vw, 960px);

    height: auto;

    margin: 0;
    padding: 0;

    transform: translateX(-50%);

    transform-origin: bottom center;

    z-index: 6;
}

/* Das Monitorbild selbst darf niemals verzerrt werden. */
.monitor-img {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    filter:
        drop-shadow(
            0 0 15px
            rgba(0, 210, 255, 0.20)
        );
}

/* =========================================================
   5. DESKTOP / MOBILE BILDER
   ========================================================= */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: block !important;
}

/* =========================================================
   6. MENÜ – GEMEINSAMES KOORDINATENSYSTEM
   ---------------------------------------------------------
   Die Klickbereiche liegen relativ zum Monitor.
   Dadurch bewegen sie sich automatisch zusammen mit
   dem Monitor und müssen nicht für jedes Gerät neu
   berechnet werden.
   ========================================================= */
.tech-click-zone {
    position: absolute;

    cursor: pointer;

    text-align: center;
    text-decoration: none;

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

    padding: 12px;

    z-index: 10;
}

.tech-label {
    display: inline-block;

    white-space: nowrap;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 12px;

    color: #00ffff;

    letter-spacing: 2px;

    text-transform: uppercase;

    font-weight: bold;

    text-shadow:
        0 0 6px
        rgba(0, 255, 255, 0.8);

    transition:
        color 0.25s ease,
        text-shadow 0.25s ease,
        transform 0.25s ease;
}

.tech-click-zone:hover .tech-label {
    color: #ffffff;

    text-shadow:
        0 0 15px rgba(0, 255, 255, 1),
        0 0 25px rgba(0, 255, 255, 0.8);

    transform: scale(1.04);
}

/* ==================================================================================================================
   7. MENÜ-POSITIONEN
   ---------------------------------------------------------
   Die Werte beziehen sich auf die Fläche des Monitors,
   NICHT auf den gesamten Bildschirm.
   ========================================================= */

/* DATA.DESIGN // CORE */
.zone-webdesign {
    left: 20%;
    top: 45%;
}

/* SYSTEM.ARCADE // READY */
.zone-spiele {
    left: 22%;
    top: 80%;
}

/* ARCHIVE.PROJECTS // LIVE */
.zone-kreationen {
    left: 51%;
    top: 65%;
}

/* DAILY.HELPERS // HELP */
.zone-helfer {
    left: 80%;
    top: 43%;
}

/* SECURE.COMMS // CONNECT */
.zone-kontakt {
    left: 80%;
    top: 79%;
}




/* ==================================================================================================================
   8. SMARTPHONE – HOCHFORMAT
   ---------------------------------------------------------
   Der Monitor wird wie im Webseiten-PDF als kompakte,
   zentrierte Einheit unten gehalten.
   ========================================================= */
@media (max-width: 767px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .hologram-container {
        left: 50%;
        bottom: 1.5vh;

        /*
         * Auf Smartphones wird die Monitorbreite
         * hauptsächlich durch die Bildschirmbreite
         * bestimmt.
         */
        width: min(86vw, 390px);

        transform: translateX(-50%);
    }

    .tech-click-zone {
        padding: 9px;
    }

    .tech-label {
       font-size: clamp(10px, 3vw, 12px);

        letter-spacing: 1.5px;
    }

    /*
     * Die Menüpositionen bleiben proportional. ========================================================= =========================================================
     * Nur die horizontale Lage wird leicht an die
     * Darstellung im Hochformat angepasst.
     */
    .zone-webdesign {
        left: 28%;
        top: 33%;
    }

    .zone-spiele {
        left: 30%;
        top: 50%;
    }

    .zone-kreationen {
        left: 33%;
        top: 73%;
    }
    
     .zone-helfer {
        left: 72%;
        top: 36%;
    }

    .zone-kontakt {
        left: 72%;
        top: 60%;
    }
    

    
}

/* ========================================================= ========================================================= =========================================================
   9. SEHR KLEINE HANDYS
   ========================================================= */
@media (max-width: 380px) {

    .hologram-container {
        width: 88vw;
        bottom: 1vh;
    }

    .tech-click-zone {
        padding: 7px;
    }

    .tech-label {
        font-size: 8px;
        letter-spacing: 1.2px;
    }
}

/* =========================================================
   10. TABLET
   ========================================================= */
@media (min-width: 768px) and (max-width: 1199px) {

    .hologram-container {
        width: min(58vw, 760px);
        bottom: 0;
    }

    .tech-label {
        font-size: 10px;
    }
}

/* =========================================================
   11. NORMALER PC / LAPTOP
   ========================================================= */
@media (min-width: 1200px) {

    .hologram-container {
        width: min(50vw, 960px);
        bottom: 0;
    }
}

/* =========================================================
   12. SEHR BREITE MONITORE
   ========================================================= */
@media (min-width: 1800px) {

    .hologram-container {
        width: min(48vw, 1100px);
    }
}

/* =========================================================
   13. POP-UP OVERLAY
   ========================================================= */
.popup-overlay {
    display: none;

    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

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

    z-index: 1000;

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

    padding: 20px;
}

.popup-content {
    width: 100%;
    max-width: 90%;
    max-height: 85vh;

    padding: 30px;

    display: flex;
    flex-direction: column;

    background: rgba(11, 16, 28, 0.75);

    border: 2px solid #00ffff;
    border-radius: 12px;

    box-shadow:
        0 0 35px
        rgba(0, 255, 255, 0.25);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.popup-close {
    align-self: flex-end;

    color: #ff9900;

    cursor: pointer;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-weight: bold;
    font-size: 13px;

    letter-spacing: 1px;

    margin-bottom: 20px;

    transition: color 0.2s;
}

.popup-close:hover {
    color: #ff0055;
}

.popup-scroll-text {
    overflow-y: auto;
    padding-right: 15px;
}

.popup-scroll-text::-webkit-scrollbar {
    width: 6px;
}

.popup-scroll-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}

.popup-scroll-text::-webkit-scrollbar-thumb {
    background: #00ffff;
    border-radius: 3px;
}

/* =========================================================
   14. POP-UP TYPOGRAFIE
   ========================================================= */
.popup-content h2 {
    font-family:
        "Courier New",
        Courier,
        monospace;

    color: #00ffff;

    text-shadow:
        0 0 10px
        rgba(0, 255, 255, 0.5);

    margin-bottom: 20px;

    font-size: 14px;

    letter-spacing: 2px;

    text-transform: uppercase;

    border-bottom:
        1px solid
        rgba(0, 255, 255, 0.2);

    padding-bottom: 10px;
}

.popup-scroll-text h1 {
    font-family:
        "Courier New",
        Courier,
        monospace;

    color: #ffffff;

    font-size: 18px;

    margin-top: 15px;
    margin-bottom: 15px;

    letter-spacing: 1px;
}

.popup-scroll-text h3 {
    font-family:
        "Courier New",
        Courier,
        monospace;

    color: #ff9900;

    text-shadow:
        0 0 8px
        rgba(255, 153, 0, 0.3);

    font-size: 16px;

    margin-top: 25px;
    margin-bottom: 12px;

    letter-spacing: 1px;
}

.popup-scroll-text p {
    color: #cbd5e1;

    font-size: 15px;

    line-height: 1.6;

    margin-bottom: 16px;
}

.popup-scroll-text ul {
    margin-left: 18px;
    margin-bottom: 20px;

    color: #cbd5e1;
}

.popup-scroll-text li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* =========================================================
   15. POP-UP LINKS
   ========================================================= */
.popup-scroll-text a {
    position: relative;

    color: #00ffff;

    text-decoration: none;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-weight: bold;

    padding-bottom: 2px;

    transition:
        color 0.25s ease-in-out;
}

.popup-scroll-text a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: #ff9900;

    transform:
        scaleX(0);

    transform-origin:
        bottom right;

    transition:
        transform 0.25s ease-out;
}

.popup-scroll-text a:hover {
    color: #ff9900;

    text-shadow:
        0 0 8px
        rgba(255, 153, 0, 0.6);
}

.popup-scroll-text a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* =========================================================
   16. IMPRESSUM / DATENSCHUTZ
   ========================================================= */
.legal-top-right {
    position: fixed;

    top: 15px;
    right: 20px;

    z-index: 100;

    font-family:
        "Courier New",
        Courier,
        monospace;

    font-size: 11px;

    letter-spacing: 1px;
}

.legal-top-right a {
    display: inline-block;
    background-color: #006688;
    color:  #FFFFFF;
       

    text-decoration: none;

    transition:
        all 0.2s ease-in-out;
}

.legal-divider {
    color:
        rgba(255, 255, 255, 0.2);

    margin: 0 6px;
}

.legal-top-right a:hover {
    color: #ffffff;

    text-shadow:
        0 0 8px
        rgba(0, 255, 255, 1);

    transform: scale(1.03);
}

@media (max-width: 480px) {

    .legal-top-right {
        top: 10px;
        right: 10px;

        font-size: 9px;
    }
}

/* =========================================================
   17. SEO
   ========================================================= */
.seo-hidden {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    border: 0;
}
