/* ===================================================================
   HERZENSWERK V2.0 – LANDINGPAGE STILE
   Pfad: static/css/landing.css
   ================================================================== */

.landing-body {
    margin: 0;
    padding: 0;
    font-family: inherit;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

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

/* 1. Header & Navigation */
.landing-header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

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

.brand-title {
    font-size: 1.35em;
    font-weight: 800;
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sprach-Dropdown im Header */
.landing-lang-wrapper {
    display: inline-flex;
    align-items: center;
}

.landing-lang-select {
    padding: 7px 10px;
    font-size: 0.88em;
    font-weight: bold;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.landing-lang-select:hover,
.landing-lang-select:focus {
    border-color: var(--primary-color);
}

/* Login-Button (Primärfarbe) */
.nav-login-btn {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.88em;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.2s ease, transform 0.1s ease;
}

.nav-login-btn:hover {
    opacity: 0.92;
}

/* 2. Hero Section */
.hero-section {
    background: linear-gradient(135deg, #102a43 0%, #1a365d 40%, #2b6cb0 100%);
    color: #ffffff;
    padding: 45px 0 50px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.hero-content {
    max-width: 1050px;
}

.hero-title {
    font-size: 2.1em;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 10px 0;
    color: #ffffff;
    line-height: 1.25;
}

.hero-subtitle {
    font-size: 1.05em;
    opacity: 0.92;
    line-height: 1.5;
    margin: 0 0 25px 0;
    color: #ffffff;
    max-width: 900px;
}

.hero-bottom-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero-cta {
    background: var(--color-orange);
    color: #ffffff;
    font-size: 0.95em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 3px 8px rgba(221, 107, 32, 0.35);
    transition: background 0.2s, transform 0.2s;
}

.btn-hero-cta:hover {
    background: #c05621;
    transform: translateY(-1px);
}

/* Kompakte Token-Form */
.token-inline-form {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 6px 4px 12px;
    border-radius: 6px;
    gap: 8px;
    backdrop-filter: blur(4px);
}

.token-label {
    font-size: 0.85em;
    font-weight: bold;
    color: #ffffff;
}

.token-inline-form input {
    background: #ffffff;
    border: 1px solid transparent;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    width: 150px;
    color: #2d3748;
}

.token-inline-form input:focus {
    outline: none;
    border-color: var(--color-orange);
}

.btn-token-submit {
    background: #ffffff;
    color: #1a365d;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-token-submit:hover {
    background: #edf2f7;
}

/* 3. Intro Section */
.intro-section {
    padding: 50px 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.intro-text h2 {
    font-size: 1.6em;
    color: var(--text-main);
    margin: 0 0 14px 0;
}

.intro-text p {
    font-size: 0.95em;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.intro-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.intro-feature {
    background: var(--box-bg);
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.intro-feature strong {
    color: var(--primary-color);
    font-size: 0.92em;
}

.intro-feature span {
    color: var(--text-muted);
    font-size: 0.85em;
}

/* 4. Steps Section */
.steps-section {
    padding: 60px 0;
}

.section-heading {
    text-align: center;
    font-size: 1.7em;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 8px 0;
}

.section-subtext {
    text-align: center;
    color: var(--text-muted);
    margin: 0 0 35px 0;
    font-size: 0.95em;
}

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

.step-card {
    background: var(--card-bg);
    padding: 26px 22px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: -14px;
    left: 18px;
    background: var(--primary-color);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85em;
}

.step-card h3 {
    margin: 8px 0 6px 0;
    font-size: 1.1em;
    color: var(--primary-color);
}

.step-card p {
    margin: 0;
    font-size: 0.88em;
    color: var(--text-muted);
    line-height: 1.5;
}

/* 5. Modules Showcase */
.modules-section {
    padding: 20px 0 70px 0;
}

.landing-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.landing-module-card {
    background: var(--card-bg);
    padding: 22px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.landing-module-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.module-icon {
    font-size: 1.8em;
    margin-bottom: 6px;
}

.landing-module-card h3 {
    margin: 4px 0 10px 0;
    font-size: 1.15em;
}

.module-desc {
    font-size: 0.88em;
    color: var(--text-muted);
    margin: 0 0 16px 0;
    line-height: 1.45;
}

.module-card-bottom a.btn {
    width: 100%;
    color: #ffffff !important;
    text-decoration: none;
    padding: 9px 16px;
    font-weight: 700;
    font-size: 0.9em;
    border-radius: 6px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

/* 6. Footer */
.landing-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    font-size: 0.85em;
    color: var(--text-muted);
}

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

.footer-left strong {
    color: var(--text-main);
}

.footer-copy {
    margin-top: 4px;
    font-size: 0.9em;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

/* ===================================================================
   RESPONSIVE OPTIMIERUNGEN FÜR MOBILGERÄTE (< 768px)
   ================================================================== */
@media (max-width: 768px) {
    .hero-bottom-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .btn-hero-cta {
        text-align: center;
    }

    .token-inline-form {
        justify-content: space-between;
    }

    .token-inline-form input {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .landing-modules-grid {
        grid-template-columns: 1fr;
    }

    /* Mobil nur Icon im Login-Button anzeigen */
    .nav-login-btn {
        padding: 7px 10px !important;
        font-size: 1.05em !important;
    }

    .nav-login-btn .nav-login-text {
        display: none !important;
    }
}
