:root {
    --bg-color: #020202;
    --text-main: #ffffff;
    --text-muted: #999999;
    --accent-red: #ff1a1a; 
    --accent-red-hover: #d60000;
    --accent-glow-strong: rgba(255, 26, 26, 0.4);
    --card-bg: rgba(30, 30, 30, 0.8);
    --border-color: rgba(255, 26, 26, 0.3);
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Global Reset & No-Select Policy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Verhindert Textauswahl überall */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    /* Verhindert Drag & Drop von Bildern */
    -webkit-user-drag: none;
}

html, body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-stack);
    /* Scrollen komplett deaktivieren */
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: fixed; /* Fixiert den Viewport (Hardcore No-Scroll) */
    /* Verhindert Touch-Scroll Gesten auf Mobile */
    touch-action: none; 
}

/* --- 3D INTRO ANIMATION --- */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeOutOverlay 0.5s ease-out 2.5s forwards;
}

.cube-container {
    width: 100px;
    height: 100px;
    perspective: 800px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: spinCube 2.5s ease-in-out forwards;
}

.face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 26, 26, 0.1);
    border: 2px solid var(--accent-red);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 26, 26, 0.5) inset;
}

.front  { transform: rotateY(0deg) translateZ(50px); }
.back   { transform: rotateY(180deg) translateZ(50px); }
.right  { transform: rotateY(90deg) translateZ(50px); }
.left   { transform: rotateY(-90deg) translateZ(50px); }
.top    { transform: rotateX(90deg) translateZ(50px); }
.bottom { transform: rotateX(-90deg) translateZ(50px); }

@keyframes spinCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

@keyframes fadeOutOverlay {
    to { opacity: 0; visibility: hidden; }
}

/* --- MAIN SITE CONTENT --- */
.main-site-content {
    opacity: 0;
    animation: fadeInContent 0.8s ease-out 2.8s forwards;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

@keyframes fadeInContent {
    to { opacity: 1; }
}

/* Hintergrund Grid Effekt */
.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 26, 26, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 26, 26, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

/* Glow-Effekte */
.glow-effect {
    position: absolute;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent-glow-strong) 0%, rgba(0,0,0,0) 60%);
    filter: blur(100px);
    z-index: -1;
    opacity: 0.7; 
    mix-blend-mode: screen; 
    pointer-events: none;
}

.glow-top {
    top: -30%;
    left: -10%;
    animation: pulseGlowAccent 8s infinite alternate ease-in-out;
}

.glow-bottom {
    bottom: -30%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 26, 26, 0.3) 0%, rgba(0,0,0,0) 60%);
    animation: pulseGlowAccent 12s infinite alternate-reverse ease-in-out;
}

/* Header */
header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2rem 3rem;
    flex-shrink: 0; /* Header darf nicht schrumpfen */
}

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    cursor: default; /* Zeigt normalen Mauszeiger statt Textauswahl */
}

.logo-icon {
    color: var(--accent-red);
    filter: drop-shadow(0 0 10px var(--accent-red));
}

/* Main Content Area */
.container {
    flex: 1; /* Nimmt den restlichen Platz ein */
    display: flex;
    justify-content: center;
    align-items: center; /* Zentriert alles vertikal */
    text-align: center;
    padding: 0 20px;
    width: 100%;
    height: 100%; /* Wichtig für vertikale Zentrierung */
}

.content-wrapper {
    width: 100%; 
    max-width: 1400px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 5rem;
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.text-gradient {
    background: linear-gradient(180deg, #ffffff 30%, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
}

/* --- SUBDOMAIN VISUALIZER --- */

.domain-visualizer-prominent {
    margin: 0 auto 3rem auto;
    width: 100%; 
    display: flex;
    justify-content: center;
}

.visualizer-card-static {
    background: linear-gradient(135deg, rgba(40,40,40,0.9), rgba(20,20,20,0.9));
    border: 2px solid var(--accent-red);
    padding: 2rem 3rem;
    border-radius: 12px;
    
    /* Inline Flex damit es mit dem Inhalt wächst */
    display: inline-flex; 
    flex-direction: row; 
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap; 
    white-space: nowrap; 
    
    /* Maximale Breite setzen, aber dem Inhalt erlauben kleiner zu sein */
    width: auto;
    max-width: 90%;
    
    box-shadow: 0 10px 50px rgba(255, 26, 26, 0.2), inset 0 0 20px rgba(255, 26, 26, 0.1);

    /* Smooth transition für Größenänderung beim Tippen */
    transition: all 0.2s ease-out;
}

.icon-container {
    color: var(--accent-red);
    filter: drop-shadow(0 0 5px var(--accent-red));
    flex-shrink: 0;
}

.domain-text-large {
    font-family: 'Courier New', monospace;
    font-size: 2rem; 
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
    overflow: hidden;
    text-overflow: ellipsis;
}

.domain-text-large .highlight {
    color: var(--accent-red);
}

/* Description & CTA */
.description-box {
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Button Update: Pill Shape & No Select */
.cta-button-red {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--accent-red);
    color: white; 
    padding: 18px 40px;
    /* Komplett abgerundete Ecken */
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 26, 26, 0.4);
    cursor: pointer; /* Zeige Pointer nur hier und bei Links */
}

.cta-button-red:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 26, 26, 0.7);
}

/* Footer Update */
footer {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.separator {
    margin: 0 10px;
    color: #444;
}

.legal-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.legal-link:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

/* Keyframe Animations */
@keyframes pulseGlowAccent {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.1); }
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { margin-bottom: 2rem; }
    .domain-visualizer-prominent { margin-bottom: 2rem; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2rem; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .description-box { font-size: 0.9rem; margin-bottom: 2rem; }
    
    .visualizer-card-static { 
        padding: 1rem; 
        gap: 8px;
    }
    
    .domain-text-large { font-size: 1rem; }
    
    .icon-container svg {
        width: 20px;
        height: 20px;
    }
    
    header { padding: 1rem 1.5rem; }
    footer { padding: 1rem; }
    
    .cta-button-red { 
        padding: 14px 30px;
        font-size: 0.9rem;
    }
}