:root {
    --bg-dark: #050505;
    --accent: #6366f1;
}

body {
    background-color: var(--bg-dark);
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
}

/* LOGO & HEADER */
.logo-header {
    /* Größe wird nun via Tailwind (h-20 etc.) gesteuert */
    transform: translateY(0);
    transition: transform 0.5s ease, height 0.5s ease;
}

@media (min-width: 768px) {
    .logo-header {
        transform: translateY(-10%);
    }
}

.logo-footer {
    height: 70px; 
    width: auto;
    margin-bottom: 10px;
    display: inline-block;
}

.custom-header {
    height: 120px !important;
    overflow: visible !important; 
}

/* EFFECTS */
.glass {
    background: rgba(255, 255, 255, 0.02);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-gradient {
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
}

.hover-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
}

.text-glow {
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

/* MODALS */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    transform: translateX(-150%) rotate(-10deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateX(0) rotate(0deg);
}

/* UTILS */
#canvas-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

button, input, select, textarea {
    -webkit-appearance: none;
    appearance: none;
}

/* MOBILE */
@media (max-width: 768px) {
    .custom-header { height: 95px !important; }
    .modal-content { max-height: 85vh; }
    .logo-footer { height: 100px !important; margin-top: -20px; }
}