/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #1a1f3a;
    --accent-gold: #f59e0b;
    --accent-orange: #f97316;
    --accent-red: #ef4444;
    --success-green: #22c55e;
    --text-white: #ffffff;
    --text-light: #e5e7eb;
    --text-gray: #9ca3af;
    --bg-gradient-start: #0f172a;
    --bg-gradient-end: #1e293b;
    --card-dark: #1e293b;
    --border-color: #334155;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-light);
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero-Bereich - Vollbild mit Animation */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 120px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    margin-bottom: 24px;
    display: inline-block;
    padding: 12px 32px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 32px;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    text-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    margin-bottom: 48px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
    opacity: 0.9;
    font-weight: 400;
}

.hero-subtitle strong {
    color: var(--accent-gold);
    font-weight: 600;
}

/* CTA Button - Modern mit Glow-Effekt */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
    color: var(--primary-dark);
    padding: 20px 56px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 
        0 10px 30px rgba(245, 158, 11, 0.4),
        0 0 0 0 rgba(245, 158, 11, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(245, 158, 11, 0.5),
        0 0 0 8px rgba(245, 158, 11, 0.1);
}

.cta-button:active {
    transform: translateY(-2px) scale(1);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Sektionen mit modernem Design */
section {
    padding: 100px 20px;
    position: relative;
}

.retrospect {
    background: var(--secondary-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.outlook {
    background: linear-gradient(180deg, var(--secondary-dark) 0%, var(--primary-dark) 100%);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-white);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    border-radius: 2px;
}

/* Aktien-Grid - Card-Design */
.stocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.stock-item {
    background: linear-gradient(135deg, var(--card-dark) 0%, rgba(30, 41, 59, 0.8) 100%);
    padding: 32px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stock-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transition: left 0.5s;
}

.stock-item:hover::before {
    left: 100%;
}

.stock-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(245, 158, 11, 0.2);
}

.stock-name {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-white);
    z-index: 1;
    position: relative;
}

.stock-gain {
    font-weight: 800;
    font-size: 1.5rem;
    z-index: 1;
    position: relative;
}

.stock-gain.positive {
    background: linear-gradient(135deg, var(--success-green) 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Berechnungs-Box - Premium Design */
.calculation-box {
    background: linear-gradient(135deg, var(--card-dark) 0%, rgba(30, 41, 59, 0.9) 100%);
    padding: 48px;
    border-radius: 24px;
    margin-bottom: 48px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.calculation-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
}

.calculation-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text-white);
}

.calculation-list {
    list-style: none;
    margin-bottom: 32px;
    font-size: 1.125rem;
    color: var(--text-gray);
}

.calculation-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.calculation-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

.calculation-list strong {
    color: var(--text-white);
    font-weight: 700;
}

.calculation-results {
    border-top: 2px solid var(--border-color);
    padding-top: 32px;
    display: grid;
    gap: 20px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(15, 23, 42, 0.7);
    border-color: var(--accent-gold);
}

.result-label {
    color: var(--text-gray);
    font-size: 1.125rem;
}

.result-value {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
}

.result-value.positive {
    background: linear-gradient(135deg, var(--success-green) 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Zitate - Modernes Design */
.quote {
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-light);
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-left: 4px solid var(--accent-gold);
    border-radius: 16px;
    max-width: 900px;
    margin: 48px auto;
    border: 1px solid rgba(245, 158, 11, 0.2);
    position: relative;
}

.quote.highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(249, 115, 22, 0.2) 100%);
    border-left-color: var(--accent-orange);
    border-color: rgba(245, 158, 11, 0.4);
    font-weight: 500;
    font-size: 1.5rem;
    padding: 48px;
}

/* Ausblick */
.outlook-text {
    font-size: 1.25rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 32px;
    color: var(--text-light);
    line-height: 1.9;
}

.outlook-text strong {
    color: var(--accent-gold);
    font-weight: 700;
}

.outlook-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto 48px;
    font-size: 1.25rem;
}

.outlook-list li {
    padding: 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--accent-gold);
    font-weight: 600;
    text-align: center;
}

.outlook .cta-button {
    display: block;
    margin: 48px auto 0;
    max-width: 500px;
    text-align: center;
}

/* Formular-Bereich - Premium Design */
.form-section {
    background: 
        radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    padding: 120px 20px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.form-section .section-title {
    color: var(--text-white);
    margin-bottom: 24px;
}

.form-intro {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 60px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-intro strong {
    color: var(--accent-gold);
    font-weight: 700;
}

.registration-form {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--card-dark) 0%, rgba(30, 41, 59, 0.95) 100%);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    position: relative;
}

.registration-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    border-radius: 24px 24px 0 0;
}

.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    font-size: 1.125rem;
    background: rgba(15, 23, 42, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
    color: var(--text-white);
}

.form-group input::placeholder {
    color: var(--text-gray);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.form-group input:invalid:not(:placeholder-shown) {
    border-color: var(--accent-red);
}

.form-submit {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 24px;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 24px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--text-gray);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.disclaimer {
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--text-gray);
}

.disclaimer strong {
    color: var(--text-light);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 80px 20px 60px;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
    
    .stocks-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .calculation-box {
        padding: 32px 24px;
    }
    
    .result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .registration-form {
        padding: 40px 24px;
    }
    
    .cta-button {
        padding: 18px 40px;
        font-size: 1rem;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .quote {
        padding: 24px;
        font-size: 1.125rem;
    }
    
    .quote.highlight {
        font-size: 1.25rem;
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px 40px;
    }
    
    section {
        padding: 40px 20px;
    }
    
    .form-section {
        padding: 80px 20px;
    }
    
    .calculation-box {
        padding: 24px 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animationen */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(245, 158, 11, 0.6);
    }
}

.stock-item,
.calculation-box,
.quote {
    animation: fadeInUp 0.8s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}
