/* EntrepreneurIQ - Main Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0f0f1e;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-white: #ffffff;
    --text-light: #b4b4b4;
    --text-gray: #8a8a8a;
    --accent-lime: #00ff88;
    --accent-purple: #667eea;
    --accent-blue: #00c6ff;
    --accent-orange: #ff6b35;
    --select-bg: #1a1a2e;
    --select-hover: #2a2a3e;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
    /* Body ist KEIN Flex - Screens managen sich selbst */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo span {
    color: var(--accent-lime);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--accent-lime);
}

.nav-link.active {
    color: var(--accent-lime);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Screen Control - Simple & Functional */
.screen {
    display: none; /* Alle versteckt per Default */
}

#home {
    display: block; /* Nur Home sichtbar initial */
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-lime);
    border: 2px solid var(--accent-lime);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Test Cards */
.test-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.test-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.test-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-lime));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.test-card:hover {
    transform: translateY(-10px);
}

.test-card:hover::before {
    opacity: 0.3;
}

.test-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.test-price {
    font-size: 1.2rem;
    color: var(--accent-lime);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.test-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.test-features li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.test-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-lime);
    font-weight: bold;
}

/* About Section */
.about-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-lime);
}

.about-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-block {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.about-block h3 {
    color: var(--accent-purple);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-block ul {
    list-style: none;
    padding: 0;
}

.about-block li {
    padding: 0.5rem 0;
    color: var(--text-light);
    padding-left: 1.5rem;
    position: relative;
}

.about-block li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-lime);
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    background: var(--select-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-purple);
    background: var(--select-hover);
}

.form-group select option {
    background: var(--select-bg);
    color: white;
    padding: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    color: var(--text-light);
    font-size: 0.95rem;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--accent-purple);
    text-decoration: none;
}

.checkbox-group label a:hover {
    color: var(--accent-lime);
}

/* Progress Bar */
.progress-container {
    margin-bottom: 3rem;
}

.progress-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-lime));
    transition: width 0.5s ease;
    border-radius: 10px;
}

.progress-text {
    margin-top: 1rem;
    text-align: center;
    color: var(--text-light);
}

/* Questions */
.question-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.question-text {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.answer-option {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.answer-option::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transition: left 0.5s;
}

.answer-option:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(5px);
}

.answer-option:hover::before {
    left: 100%;
}

.answer-option.selected {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--accent-lime);
    transform: translateX(10px);
}

/* Results */
.results-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.score-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(102, 126, 234, 0.1) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.score-display {
    font-size: 5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 2rem 0;
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 2rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dimension-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dimension-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dimension-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.dimension-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-lime);
}

.dimension-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.dimension-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

/* Analysis */
.analysis-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.analysis-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-lime);
}

.analysis-text {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.strength-item {
    padding: 1rem;
    background: rgba(0, 255, 136, 0.1);
    border-left: 4px solid var(--accent-lime);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.improvement-item {
    padding: 1rem;
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--accent-orange);
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: rgba(15, 15, 30, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
    /* margin-top removed - handled by flexbox */
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.2rem;
    color: var(--accent-lime);
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-link:hover {
    color: var(--accent-lime);
}

.footer-copyright {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 30, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    display: none;
    z-index: 1001;
    animation: slideUp 0.5s ease;
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-text {
    flex: 1;
    color: var(--text-light);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-btn-accept {
    background: var(--accent-lime);
    color: var(--bg-dark);
}

.cookie-btn-accept:hover {
    background: #00cc70;
}

/* Legal Pages */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    /* Wächst um Footer nach unten zu drücken */
    flex: 1 0 auto;
}

.legal-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-content h1 {
    color: var(--accent-lime);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.legal-content h2 {
    color: var(--accent-purple);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .test-cards {
        grid-template-columns: 1fr;
    }
    
    .score-display {
        font-size: 3rem;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 30, 0.98);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
    }
}

/* Admin Tabs Styling */
.admin-tab.active {
    color: var(--accent-lime) !important;
    border-bottom: 3px solid var(--accent-lime) !important;
}

.admin-tab:hover {
    color: var(--text-white) !important;
}

/* ==================== */
/* Question Timer (EAA) */
/* ==================== */

.question-timer {
    position: fixed;
    top: 100px;
    right: 30px;
    font-size: 28px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 12px 24px;
    border-radius: 12px;
    border: 2px solid #10b981;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.question-timer.timer-warning {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.question-timer.timer-danger {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    animation: timerPulse 0.8s ease-in-out infinite;
}

@keyframes timerPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Timer */
@media (max-width: 768px) {
    .question-timer {
        top: 80px;
        right: 15px;
        font-size: 20px;
        padding: 8px 16px;
    }
}
