/* ═══════════════════ Landing Page Styles ═══════════════════ */

/* ── Hero ── */
.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #212529;
}

.hero-subline {
    font-size: 1.15rem;
    color: #495057;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #6c757d;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-placeholder {
    width: 400px;
    height: 280px;
    background: #dee2e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1rem;
    border: 2px dashed #adb5bd;
}

/* ── Buttons ── */
.btn-primary {
    background: #0d6efd;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #0b5ed7;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #0d6efd;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid #0d6efd;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: #0d6efd;
    color: #fff;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.btn-link {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

.btn-link:hover {
    text-decoration: underline;
}

/* ── Products Section ── */
.products {
    padding: 4rem 0;
    background: #fff;
}

.products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #212529;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #212529;
}

.product-card p {
    color: #495057;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.25rem 0;
    color: #495057;
    font-size: 0.95rem;
}

.product-features li::before {
    content: "✓ ";
    color: #198754;
    font-weight: bold;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Trust Section ── */
.trust {
    padding: 4rem 0;
    background: #f8f9fa;
}

.trust h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: #212529;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    padding: 1.5rem;
}

.trust-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.trust-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #212529;
}

.trust-item p {
    color: #6c757d;
    font-size: 0.9rem;
}

/* ── Final CTA ── */
.cta-final {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
    color: #fff;
}

.cta-final h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-final p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-final .btn-outline {
    border-color: #fff;
    color: #fff;
}

.cta-final .btn-outline:hover {
    background: #fff;
    color: #0d6efd;
}

/* ── Product Hero (Area Pages) ── */
.product-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

.product-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-hero .lead {
    font-size: 1.15rem;
    color: #495057;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.product-hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Product Features Detail ── */
.product-features-detail {
    padding: 4rem 0;
}

.product-features-detail h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Neun Funktionskacheln: bewusst 3x3, damit keine einsame Kachel in der letzten Zeile steht */
.features-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
    .features-grid--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .features-grid--three {
        grid-template-columns: 1fr;
    }
}

.feature {
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.feature h3 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.feature p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Verlinkte Funktionskacheln: die ganze Kachel fuehrt zum passenden Handbuch-Schritt */
.feature-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-link:hover,
.feature-link:focus-visible {
    border-color: #0d6efd;
    box-shadow: 0 0.35rem 1rem rgba(13, 110, 253, 0.12);
    transform: translateY(-2px);
}

.feature-more {
    display: inline-block;
    margin-top: 0.75rem;
    color: #0d6efd;
    font-size: 0.875rem;
    font-weight: 600;
}

.feature-badge {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.35rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: #e7f1ff;
    color: #0d6efd;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Pricing ── */
.product-pricing {
    padding: 4rem 0;
    background: #f8f9fa;
}

.product-pricing h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.product-pricing > .container > p {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    background: #fff;
}

.pricing-card--featured {
    border-color: #0d6efd;
    box-shadow: 0 0 0 1px #0d6efd;
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.pricing-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Drei Editionen (Frei · Basis · Pro) */
.pricing-grid--three {
    max-width: 1140px;
}

.pricing-card .pricing-sub {
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    text-align: left;
    font-size: 0.9rem;
}

.pricing-card .pricing-features li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.6rem;
    color: #495057;
    border-top: 1px solid #f1f3f5;
}

.pricing-card .pricing-features li:first-child {
    border-top: 0;
}

.pricing-card .pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #198754;
    font-weight: 700;
}

.product-pricing .pricing-note {
    max-width: 720px;
    margin: 2rem auto 0;
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
}

/* ── Nutzen-Leiste auf der Produktseite ── */
.usp-strip {
    border-bottom: 1px solid #e9ecef;
}

.usp-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.usp-item {
    text-align: center;
}

.usp-item .usp-icon {
    font-size: 1.6rem;
    line-height: 1;
}

.usp-item strong {
    display: block;
    margin: 0.5rem 0 0.15rem;
    font-size: 1rem;
}

.usp-item span {
    display: block;
    color: #6c757d;
    font-size: 0.875rem;
}

/* ── Drei Schritte mit App-Bildern ── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.step-card {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.step-card img {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 1px solid #dee2e6;
}

.step-card .step-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.step-card .step-body p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.step-nr {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0d6efd;
}

/* ── Handbuch ── */
.handbuch-liste {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
}

.handbuch-liste li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.6rem;
    border-top: 1px solid #f1f3f5;
    color: #495057;
}

.handbuch-liste li:first-child {
    border-top: 0;
}

.handbuch-liste li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #198754;
    font-weight: 700;
}

.handbuch-schritt {
    padding: 2.5rem 0;
    border-top: 1px solid #e9ecef;
}

/* Sprungziele aus den Funktionskacheln: etwas Luft nach oben */
.handbuch-schritt,
#weitere-funktionen,
#mahnwesen,
#berichte,
#update,
#daten,
#editionen,
#faq {
    scroll-margin-top: 1.25rem;
}

.handbuch-schritt:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.app-shot {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.07);
}

/* ── Häufige Fragen ── */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
}

.faq-item:first-child {
    border-top: 0;
}

.faq-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.faq-item span {
    font-size: 0.95rem;
}

/* ── Footer ── */
.footer h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.footer a {
    color: #495057;
    text-decoration: none;
}

.footer a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-subline {
        margin: 0 auto 2rem;
    }

    .hero-placeholder {
        width: 100%;
        max-width: 400px;
        height: 200px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}
