/* Reset & Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dunkler Cyberpunk / Matrix Grid Hintergrund */
body.tech-body {
    color: #e0e7ff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    background: #060913;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.15) 0%, transparent 70%),
        linear-gradient(rgba(0, 255, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 204, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

/* Navbar */
.navbar {
    background-color: #030712;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(14, 165, 233, 0.4);
    box-shadow: 0 2px 15px rgba(0, 255, 204, 0.1);
}

.nav-left { display: flex; align-items: center; gap: 20px; }
.menu-btn { width: 28px; height: 18px; display: flex; flex-direction: column; justify-content: space-between; cursor: pointer; z-index: 1001; }
.menu-btn .bar { width: 100%; height: 3px; background-color: #38bdf8; border-radius: 2px; transition: all 0.3s ease; }
.menu-btn.open .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.open .bar:nth-child(2) { opacity: 0; }
.menu-btn.open .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.logo { height: 36px; width: auto; cursor: pointer; }
.nav-center { flex-grow: 1; max-width: 450px; margin: 0 20px; }
.search-input { width: 100%; padding: 9px 18px; border-radius: 20px; border: 1px solid rgba(56, 189, 248, 0.4); outline: none; background-color: #0f172a; color: white; }
.nav-right { display: flex; align-items: center; gap: 15px; }
.icon-link, .profile-icon { display: flex; align-items: center; cursor: pointer; }

/* Sidebar */
.sidebar {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: calc(100vh - 60px);
    background-color: #030712;
    transition: left 0.3s ease;
    z-index: 999;
    border-right: 1px solid rgba(14, 165, 233, 0.3);
}
.sidebar.active { left: 0; }
.sidebar ul { list-style: none; padding: 20px; }
.sidebar ul li { margin-bottom: 15px; }
.sidebar ul li a { color: #94a3b8; text-decoration: none; font-size: 18px; display: block; padding: 8px 12px; border-radius: 6px; }
.sidebar ul li a:hover, .sidebar ul li a.active { background-color: #0f172a; color: #38bdf8; }

/* Page Content */
.page-content {
    flex: 1;
    padding-top: 90px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
}

/* Header & Powered By */
.tech-header-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tech-main-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #00ffcc;
    text-shadow: 0 0 15px rgba(0, 255, 204, 0.6), 0 0 30px rgba(0, 255, 204, 0.2);
}

.powered-by-tech {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(0, 255, 204, 0.4);
    padding: 8px 24px;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.15);
}

.powered-by-tech span {
    font-size: 1rem;
    color: #94a3b8;
    text-transform: lowercase;
    letter-spacing: 1px;
}

.sandam-logo {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

/* Tech Grid Cards */
.tech-grid {
    width: 90%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.tech-card {
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-5px);
}

/* Neon Borders für verschiedene Tech-Karten */
.neon-border-cyan { border: 1px solid #00ffcc; box-shadow: inset 0 0 10px rgba(0, 255, 204, 0.1); }
.neon-border-cyan:hover { box-shadow: 0 0 20px rgba(0, 255, 204, 0.3); }

.neon-border-green { border: 1px solid #10b981; box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.1); }
.neon-border-green:hover { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }

.neon-border-purple { border: 1px solid #a855f7; box-shadow: inset 0 0 10px rgba(168, 85, 247, 0.1); }
.neon-border-purple:hover { box-shadow: 0 0 20px rgba(168, 85, 247, 0.3); }

.neon-border-orange { border: 1px solid #f97316; box-shadow: inset 0 0 10px rgba(249, 115, 22, 0.1); }
.neon-border-orange:hover { box-shadow: 0 0 20px rgba(249, 115, 22, 0.3); }

.neon-border-red { border: 1px solid #ef4444; box-shadow: inset 0 0 10px rgba(239, 68, 68, 0.1); }
.neon-border-red:hover { box-shadow: 0 0 20px rgba(239, 68, 68, 0.3); }

.neon-border-yellow { border: 1px solid #eab308; box-shadow: inset 0 0 10px rgba(234, 179, 8, 0.1); }
.neon-border-yellow:hover { box-shadow: 0 0 20px rgba(234, 179, 8, 0.3); }

.neon-border-pink { border: 1px solid #ec4899; box-shadow: inset 0 0 10px rgba(236, 72, 153, 0.1); }
.neon-border-pink:hover { box-shadow: 0 0 20px rgba(236, 72, 153, 0.35); }

.tech-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tech-card-header h2 {
    font-size: 1.5rem;
    color: #ffffff;
}

.tech-card-header h2 small {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: normal;
}

.tech-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 15px;
}

.fun-fact-box {
    background: rgba(15, 23, 42, 0.9);
    border-left: 3px solid #38bdf8;
    padding: 10px 14px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.fact-icon {
    font-size: 1.2rem;
}

.fun-fact-box p {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.4;
}

.fun-fact-box strong {
    color: #38bdf8;
}

footer {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #64748b;
    background-color: #030712;
    margin-top: auto;
    border-top: 1px solid rgba(14, 165, 233, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tech-main-title { font-size: 2.2rem; }
    .sandam-logo { max-height: 30px; }
    .tech-grid { grid-template-columns: 1fr; }
}

/* 1. Große Monitore / Extra Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* 2. Normale Laptops & Desktop-Monitore */
@media (max-width: 1200px) {
    .page-content {
        width: 95%;
    }
}

/* 3. Tablets (Querformat) & kleinere Laptops */
@media (max-width: 992px) {
    .support-layout {
        grid-template-columns: 1fr; /* Wechsel von 2 auf 1 Spalte */
    }
}

/* 4. Tablets (Hochformat) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 10px;
    }
    
    .sidebar {
        width: 100%; /* Vollbild-Menü auf Mobilgeräten */
    }
}

/* 5. Smartphones */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    .nav-center {
        display: none; /* Suchleiste ausblenden für mehr Platz */
    }

    h1 {
        font-size: 1.5rem;
    }
}