/* Schriftart laden */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Share Tech Mono', monospace;
}

body {
    background-color: #050505;
    color: #00ffcc;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Retro-Bildschirm Streifen (Scanlines) */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 100;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    border-bottom: 1px solid #ff00ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

/* --- DAS ZHEKA GLITCH LOGO --- */
.glitch-wrapper {
    position: relative;
}

.glitch {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
    position: relative;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 20px #ff00ff, 0 0 40px #ff00ff;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
}

.glitch::before {
    left: 3px;
    text-shadow: -2px 0 #00ffff;
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -3px;
    text-shadow: -2px 0 #ff00ff;
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 20% 0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); }
    20% { clip-path: inset(30% 0 20% 0); }
    40% { clip-path: inset(70% 0 10% 0); }
    60% { clip-path: inset(20% 0 50% 0); }
    80% { clip-path: inset(50% 0 30% 0); }
    100% { clip-path: inset(5% 0 80% 0); }
}

/* --- NAVIGATION --- */
nav a {
    color: #00ffcc;
    text-decoration: none;
    margin-left: 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s;
}

nav a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* --- HERO BEREICH --- */
.hero {
    height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px dashed #00ffcc;
}

.hero h2 {
    font-size: 2.5rem;
    color: #ff00ff;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

.hero p {
    font-size: 1.2rem;
    color: #a0a0a0;
    line-height: 1.6;
}

.hero strong {
    color: #00ffcc;
}

/* --- CYBERPUNK KARTEN --- */
.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
}

.cyber-card {
    background: #0a0a0a;
    border: 1px solid #00ffcc;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 255, 204, 0.05);
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 20px;
    height: 20px;
    border-top: 3px solid #ff00ff;
    border-left: 3px solid #ff00ff;
    transition: 0.4s ease;
}

.cyber-card::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid #ff00ff;
    border-right: 3px solid #ff00ff;
    transition: 0.4s ease;
}

.cyber-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.3), inset 0 0 15px rgba(0, 255, 204, 0.2);
}

.cyber-card:hover::before,
.cyber-card:hover::after {
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-color: #00ffcc;
}

.card-content h3 {
    color: #ff00ff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card-content p {
    color: #a0a0a0;
    line-height: 1.6;
}

/* --- KONTAKT BUTTON --- */
.contact-section {
    text-align: center;
    padding: 5rem 5%;
    border-bottom: 1px dashed #00ffcc;
}

.glitch-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.5rem;
    color: #050505;
    background-color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #00ffcc;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
    transition: all 0.1s;
    letter-spacing: 2px;
}

.glitch-btn:hover {
    background-color: #050505;
    color: #00ffcc;
    box-shadow: 0 0 40px rgba(0, 255, 204, 0.8);
    animation: button-glitch 0.2s linear infinite;
}

@keyframes button-glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

/* --- DATENSCHUTZ & RECHTLICHES --- */
.legal-section {
    padding: 4rem 5%;
    background-color: #080808;
}

.legal-section h2 {
    color: #a0a0a0;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.legal-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 900px;
}

.legal-text h3 {
    color: #00ffcc;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.legal-text p {
    margin-bottom: 1rem;
}

.legal-text strong {
    color: #a0a0a0;
}

/* --- FOOTER --- */
footer {
    background-color: #050505;
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid #ff00ff;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff00ff;
    text-shadow: 0 0 8px #ff00ff;
}