/* ===================================
   WachstumsQuelle - Global Styles
   =================================== */

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

:root {
    --bg-primary: #0a0a0a;
    --bg-surface: #171717;
    --border-color: #262626;
    --accent-primary: #34d399;
    --accent-glow: rgba(16, 185, 129, 0.55);
    --accent-glow-strong: rgba(16, 185, 129, 0.65);
    --text-primary: #ffffff;
    --text-secondary: #d4d4d4;
    --text-meta: #a3a3a3;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 48px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 32px;
    }
}

/* ===================================
   Special Effects
   =================================== */

/* 1. Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary) 0%, #2cc587 100%);
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow);
}

/* 2. Glass-Morphism Effect */
.glass-card {
    background: rgba(23, 23, 23, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 211, 153, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.principle-card {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(52, 211, 153, 0.02) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* 3. Magnetic Button Effect */
.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-magnetic:hover {
    transform: translateY(-2px) scale(1.02);
}

.btn-magnetic.active-magnetic {
    transform: translate(var(--magnetic-x, 0), var(--magnetic-y, 0)) scale(1.05);
}

/* Enhanced Button Glow */
.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px var(--accent-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #2cc587;
    box-shadow: 0 6px 30px var(--accent-glow-strong), 0 0 40px var(--accent-glow);
    transform: translateY(-2px);
}

/* Enhanced Card Glow on Hover */
.problem-item:hover,
.solution-item:hover,
.channel-item:hover {
    box-shadow: 0 8px 24px rgba(52, 211, 153, 0.15), 0 0 30px rgba(52, 211, 153, 0.1);
}

/* ===================================
   Header Navigation
   =================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 0 20px rgba(52, 211, 153, 0.3));
}

.logo-img:hover {
    filter: drop-shadow(0 0 30px rgba(52, 211, 153, 0.5));
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .logo-img {
        height: 38px;
        max-width: 240px;
    }
}

.logo-img:hover {
    opacity: 0.8;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link-cta {
    color: var(--accent-primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(23, 23, 23, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

/* ===================================
   Hero Section
   =================================== */

#hero {
    padding-top: 140px;
    padding-bottom: 100px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-surface) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-subtitle {
    color: var(--accent-primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 700;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 32px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.hero-microcopy {
    color: var(--text-meta);
    font-size: 0.9rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.portrait-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-surface) 0%, #262626 100%);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px var(--accent-glow);
}

.portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .portrait-placeholder {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: #2cc587;
    box-shadow: 0 6px 30px var(--accent-glow-strong);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-submit {
    width: 100%;
    margin-top: 8px;
}

/* ===================================
   Problem Block
   =================================== */

#problem {
    background-color: var(--bg-primary);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.problem-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    transition: var(--transition);
}

.problem-item:hover {
    border-color: rgba(239, 68, 68, 0.4);
    transform: translateY(-4px);
}

.problem-icon {
    color: #ef4444;
    margin-bottom: 16px;
}

.problem-icon svg {
    width: 32px;
    height: 32px;
}

.problem-item p {
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===================================
   Solution Block
   =================================== */

#solution {
    background-color: var(--bg-surface);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.solution-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.solution-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(52, 211, 153, 0.15);
}

.solution-icon {
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.solution-icon svg {
    width: 32px;
    height: 32px;
}

.solution-number {
    color: var(--accent-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    opacity: 0.7;
}

.solution-item p {
    line-height: 1.6;
    font-size: 0.95rem;
}

.solution-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-top: 64px;
}

.principle-card {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(52, 211, 153, 0.02) 100%);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 16px;
    padding: 36px;
}

.principle-card h3 {
    color: var(--accent-primary);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.principle-card p {
    line-height: 1.7;
}

@media (max-width: 768px) {
    .solution-principles {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Process Timeline
   =================================== */

#ablauf {
    background-color: var(--bg-primary);
}

.process-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 39px;
    top: 80px;
    bottom: -48px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-primary) 0%, var(--border-color) 100%);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, #2cc587 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-primary);
    box-shadow: 0 8px 24px var(--accent-glow);
    position: relative;
    z-index: 2;
}

.step-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-content p {
    line-height: 1.7;
}

@media (max-width: 640px) {
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-step:not(:last-child)::after {
        left: 29px;
        top: 60px;
    }
}

/* ===================================
   Proof Section
   =================================== */

#proof {
    background-color: var(--bg-surface);
}

.proof-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.proof-stat {
    margin-bottom: 48px;
}

.stat-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--accent-primary);
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 40px var(--accent-glow);
}

.stat-label {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.proof-text {
    text-align: left;
}

.proof-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.proof-highlight {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.1) 0%, rgba(52, 211, 153, 0.05) 100%);
    border-left: 3px solid var(--accent-primary);
    padding: 20px 24px;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .stat-number {
        font-size: 3.5rem;
    }
}

/* ===================================
   Security Block
   =================================== */

#security {
    background-color: var(--bg-primary);
}

.security-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(52, 211, 153, 0.02) 100%);
    border: 2px solid rgba(52, 211, 153, 0.3);
    border-radius: 16px;
    padding: 48px;
    text-align: center;
}

.security-card h2 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.security-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}

@media (max-width: 640px) {
    .security-card {
        padding: 32px 24px;
    }
}

/* ===================================
   Channels Section
   =================================== */

#kanaele {
    background-color: var(--bg-surface);
}

.channels-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 48px;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.channel-item {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
}

.channel-item:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(52, 211, 153, 0.15);
}

.channel-icon {
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.channel-item h3 {
    font-size: 1rem;
    font-weight: 600;
}

.channel-more {
    background-color: transparent;
    border-style: dashed;
}

/* ===================================
   FAQ Section
   =================================== */

#faq {
    background-color: var(--bg-primary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 28px 24px;
    line-height: 1.7;
    font-size: 1rem;
}

/* ===================================
   Contact Section
   =================================== */

#kontakt {
    background-color: var(--bg-surface);
}

.contact-header {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.contact-intro {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    color: var(--accent-primary);
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(52, 211, 153, 0.05) 100%);
    border: 1px solid var(--accent-primary);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    display: none;
}

.form-success.show {
    display: block;
}

.form-success p {
    color: var(--accent-primary);
    font-weight: 500;
}

.contact-email {
    text-align: center;
    margin-top: 32px;
}

.contact-email p {
    color: var(--text-meta);
}

.contact-email a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-email a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .contact-form {
        grid-template-columns: 1fr;
        padding: 28px 20px;
    }
}

/* ===================================
   Footer
   =================================== */

#footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-links a {
    color: var(--text-meta);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.separator {
    color: var(--border-color);
}

@media (max-width: 640px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================
   Animations
   =================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

/* Staggered animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Initial state for animated elements */
.animate-on-scroll {
    opacity: 0;
}

/* Hover animations */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* Button hover effects */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Logo pulse animation on hover */
.logo-img {
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    animation: pulse 1s ease-in-out infinite;
}

/* ===================================
   Utility Classes
   =================================== */

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}