/* style.css – finale Version 30.11.2025 – brutal clean & dark + Card-Overlays */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none !important;
       -moz-user-select: none !important;
        -ms-user-select: none !important;
            user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}
html, body {
    height: 100%;
    background: #000;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Canvas Vapor */
#vapor-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header > * { pointer-events: all; }
.logo {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}
.hamburger span {
    display: block;
    width: 36px;
    height: 3px;
    background: #fff;
    margin: 8px 0;
    transition: 0.4s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(9px,9px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(10px,-10px); }

.fullscreen-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}
.fullscreen-menu.active { opacity: 1; visibility: visible; }
.fullscreen-menu ul { list-style: none; text-align: center; }
.fullscreen-menu li { margin: 28px 0; }
.fullscreen-menu a {
    color: #fff;
    font-size: 56px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: -1px;
    transition: color 0.3s;
}
.fullscreen-menu a:hover { color: #888; }
.close-btn {
    position: absolute;
    top: 40px; right: 50px;
    background: none;
    border: none;
    color: #fff;
    font-size: 80px;
    cursor: pointer;
    line-height: 1;
}

/* Layout & Content */
main, footer { position: relative; z-index: 4; }

#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
}
.hero-content h1 {
    font-size: 120px;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 40px rgba(255,255,255,0.5);
    margin-bottom: 20px;
    line-height: 1.1;
}
.hero-content .subtitle {
    font-size: 48px;
    font-weight: 400;
    display: block;
    margin: 20px 0 40px;
    opacity: 0.9;
}
.hero-content p {
    font-size: 28px;
    max-width: 1000px;
    margin: 0 auto 50px;
    opacity: 0.9;
}
.btn {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 18px 48px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: 0.4s;
}
.btn:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-4px);
}

.section { padding: 140px 40px; min-height: 80vh; }
.container { max-width: 1200px; margin: 0 auto; }
h2 {
    font-size: 64px;
    text-align: center;
    margin-bottom: 80px;
    color: #fff;
}

/* Leistungen Grid + Overlay */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}
.card {
    position: relative;
    background: rgba(255,255,255,0.05);
    padding: 60px 30px;
    text-align: center;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    overflow: hidden;
    cursor: pointer;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.card:hover,
.card.active {
    transform: translateY(-16px);
    background: rgba(255,255,255,0.1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

/* ========================================
   CARD ICONS – für i UND svg (Font Awesome)
======================================== */
.card i,
.card svg.svg-inline--fa {
    font-size: 120px;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 30px currentColor);
}

/* Entwicklungskarten */
.dev-card i,
.dev-card svg.svg-inline--fa { 
    color: #00ffcc; 
}

/* Service-Karten */
.service-card i,
.service-card svg.svg-inline--fa { 
    color: #60a5fa; 
}

/* Karten-Titel */
.card h3 {
    font-size: 28px;
    color: #fff;
    transition: font-size 0.4s ease;
}
.card:hover h3,
.card.active h3 {
    font-size: 22px;
}

/* Overlay */
.card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,10,25,0.97);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(20px);
}
.card:hover .overlay,
.card.active .overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Overlay-Text */
.overlay-content h4 {
    font-size: 26px;
    color: #00ffcc;
    margin-bottom: 16px;
}
.overlay-content p {
    font-size: 17px;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 100px 40px;
    text-align: center;
    color: #888;
    font-size: 18px;
}
footer a { color: #60a5fa; text-decoration: underline; }

/* Bottom Gradient */
.bottom-gradient {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%; height: 900px;
    background: linear-gradient(to top, rgba(30,30,50,0.95) 0%, rgba(20,20,40,0.7) 30%, rgba(10,10,20,0.3) 60%, transparent 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.8s ease;
    z-index: 3;
}
.bottom-gradient.visible { opacity: 1; }

/* Legal-Seiten */
main.legal { padding-top: 140px; }
main.legal .container { padding: 0 20px; }
main.legal h2 { font-size: 36px; margin: 48px 0 24px; text-align: left; }
main.legal ul { margin-left: 2em; padding-left: 1.5em; list-style-type: disc; }
main.legal ul li { margin-bottom: 0.5em; }
main.legal a[href^="mailto"] { color: #e0e0e0 !important; text-decoration: none; }
main.legal a[href^="mailto"]:hover { color: #60a5fa !important; }

/* Footer Links */
footer p:last-child a { color: #888 !important; text-decoration: underline; }
footer p:last-child a:hover { color: #60a5fa !important; }
#kontakt a[href^="mailto"] { color: #e0e0e0 !important; text-decoration: none; }
#kontakt a[href^="mailto"]:hover { color: #60a5fa !important; }

/* ========================================
   Wienold-IT Office – Hero Section
======================================== */
.office-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.office-parallax {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.office-bg {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: url('office-preview2.png') center center / cover no-repeat;
    filter: brightness(0.5) contrast(1.2);
    will-change: transform;
}

.office-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    color: #fff;
}

.office-content h2 {
    font-size: 96px;
    font-weight: 900;
    margin-bottom: 16px;
    text-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.office-subtitle {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 24px;
    opacity: 0.9;
}

.office-text {
    font-size: 24px;
    max-width: 800px;
    margin-bottom: 60px;
    opacity: 0.9;
    line-height: 1.7;
}

.platform-icons {
    display: flex;
    gap: 32px;
    font-size: 48px;
    justify-content: flex-start;
    margin: 40px 0;
}

.platform-icons i,
.platform-icons svg.svg-inline--fa {
    color: rgba(255,255,255,0.6);
    transition: all 0.4s;
    width: 48px;
    height: 48px;
}

.platform-icons i:hover,
.platform-icons svg.svg-inline--fa:hover {
    color: #00ffcc;
    transform: translateY(-8px);
}

.coming-soon {
    font-size: 28px;
    font-weight: 600;
    color: #00ffcc;
    text-shadow: 0 0 20px #00ffcc;
}

/* ========================================
   RESPONSIVE – 1024px
======================================== */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 90px; }
    .hero-content .subtitle { font-size: 36px; }
    .hero-content p { font-size: 22px; }

    /* Cards – 1024px */
    .card {
        min-height: 280px;
        padding: 50px 25px;
    }
    .card i,
    .card svg.svg-inline--fa { 
        font-size: 100px;
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    .card h3 { font-size: 26px; }

    /* Office Section – 1024px */
    .office-content h2 { font-size: 72px; }
    .office-subtitle { font-size: 30px; }
    .office-text { font-size: 20px; }
    .platform-icons { font-size: 42px; gap: 28px; }
    .platform-icons i,
    .platform-icons svg.svg-inline--fa {
        width: 42px;
        height: 42px;
    }
    .coming-soon { font-size: 24px; }
}

/* ========================================
   RESPONSIVE – 768px
======================================== */
@media (max-width: 768px) {
    .header { padding: 15px 20px; }
    .logo { font-size: 24px; }
    #hero { padding-top: 140px; }
    .hero-content h1 { font-size: 54px; }
    .hero-content .subtitle { font-size: 24px; }
    .hero-content p { font-size: 16px; }
    .fullscreen-menu a { font-size: 42px; }
    .close-btn { top: 20px; right: 20px; font-size: 60px; }
    h2 { font-size: 48px; }
    .section { padding: 100px 20px; }

    /* Cards – 768px */
    .card {
        min-height: 260px;
        padding: 45px 20px;
    }
    .card i,
    .card svg.svg-inline--fa { 
        font-size: 88px;
        width: 88px;
        height: 88px;
        margin-bottom: 20px;
    }
    .card h3 { font-size: 24px; }

    .overlay-content h4 { font-size: 24px; }
    .overlay-content p { font-size: 16px; }
    main.legal h2 { font-size: 32px !important; margin: 40px 0 20px; }
    main.legal .container { padding: 0 24px !important; }

    /* Office Section – 768px */
    .office-content { padding: 0 24px; }
    .office-content h2 { font-size: 48px; margin-bottom: 12px; }
    .office-subtitle { font-size: 22px; margin-bottom: 16px; }
    .office-text { font-size: 16px; margin-bottom: 40px; }
    .platform-icons { font-size: 36px; gap: 20px; }
    .platform-icons i,
    .platform-icons svg.svg-inline--fa {
        width: 36px;
        height: 36px;
    }
    .coming-soon { font-size: 20px; }
}

/* ========================================
   RESPONSIVE – 480px
======================================== */
@media (max-width: 480px) {
    #hero { padding-top: 120px; }
    .hero-content h1 { font-size: 46px; }
    .hero-content .subtitle { font-size: 20px; }
    main.legal { padding-top: 120px; }
    main.legal h2 { font-size: 28px !important; }
    .logo { font-size: 22px; }

    /* Cards – 480px */
    .grid {
        gap: 30px;
    }
    .card {
        min-height: 220px;
        padding: 40px 20px;
    }
    .card i,
    .card svg.svg-inline--fa { 
        font-size: 72px;
        width: 72px;
        height: 72px;
        margin-bottom: 16px;
    }
    .card h3 { font-size: 22px; }
    .card:hover h3,
    .card.active h3 {
        font-size: 20px;
    }

    .overlay-content h4 { font-size: 22px; }
    .overlay-content p { font-size: 15px; }

    /* Office Section – 480px */
    .office-content { padding: 0 16px; }
    .office-content h2 { font-size: 36px; margin-bottom: 10px; }
    .office-subtitle { font-size: 18px; margin-bottom: 12px; }
    .office-text { font-size: 14px; margin-bottom: 30px; line-height: 1.6; }
    .platform-icons { font-size: 28px; gap: 16px; flex-wrap: wrap; }
    .platform-icons i,
    .platform-icons svg.svg-inline--fa {
        width: 28px;
        height: 28px;
    }
    .coming-soon { font-size: 16px; }
}
