/* ============================================
   Detailseiten — Shared Styles
   ============================================ */

/* Nav Logo (same as landing) */
.nav-logo {
    height: 52px;
    width: auto;
}

/* Nav active state */
.nav-links a.active {
    color: var(--primary-light) !important;
}

/* CTA Icon */
.cta-icon {
    width: 60px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 16px rgba(108, 92, 231, 0.3));
}

/* Page Hero (kleiner als Landing) */
.page-hero {
    padding: 140px 24px 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.page-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content Sections */
.detail-section {
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

.detail-section.alt {
    background: rgba(0, 0, 0, 0.15);
}

.detail-container {
    max-width: 1100px;
    margin: 0 auto;
}

.detail-container-sm {
    max-width: 800px;
    margin: 0 auto;
}

/* Text + Bild nebeneinander */
.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row.reverse {
    direction: rtl;
}

.detail-row.reverse > * {
    direction: ltr;
}

.detail-text h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.detail-text p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.detail-text ul {
    list-style: none;
    margin-top: 20px;
}

.detail-text ul li {
    padding: 8px 0;
    color: var(--text);
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.detail-text ul li .icon {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Visual Box (ersetzt Bilder) */
.detail-visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.detail-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.visual-icon {
    font-size: 5rem;
    opacity: 0.6;
}

/* Feature Highlight Cards (grössere Version) */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.highlight-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.highlight-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.highlight-card .h-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(108, 92, 231, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.highlight-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.highlight-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Ablauf Timeline */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-num {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    box-shadow: 0 0 24px rgba(108, 92, 231, 0.2);
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
}

.timeline-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.timeline-content .timeline-detail {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-content .timeline-detail strong {
    color: var(--text);
}

/* Pakete Detail */
.paket-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 40px;
    margin-bottom: 32px;
    transition: var(--transition);
}

.paket-detail.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(108, 92, 231, 0.12);
}

.paket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.paket-header h2 {
    font-size: 1.6rem;
}

.paket-price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-bright);
}

.paket-price-tag span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.paket-badge {
    display: inline-block;
    padding: 4px 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-left: 12px;
}

.paket-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.paket-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.paket-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
}

.paket-feature .check {
    color: var(--success);
    font-weight: 700;
}

.paket-feature.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.paket-feature.disabled .check {
    color: var(--text-muted);
}

.paket-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.paket-ideal {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Showcase Detail (grösser) */
.showcase-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.showcase-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.showcase-detail-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.showcase-detail-preview {
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
}

.showcase-detail-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.showcase-detail-body .sd-hero {
    height: 45%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.showcase-detail-body .sd-row {
    display: flex;
    gap: 10px;
    flex: 1;
}

.showcase-detail-body .sd-block {
    flex: 1;
    border-radius: 6px;
    opacity: 0.7;
}

.showcase-detail-info {
    padding: 24px;
}

.showcase-detail-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.showcase-detail-info .tag {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--primary-light);
    margin-right: 6px;
    margin-bottom: 10px;
}

.showcase-detail-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .detail-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .detail-row.reverse {
        direction: ltr;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }

    .paket-features {
        grid-template-columns: 1fr;
    }

    .showcase-detail-grid {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 120px 24px 40px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .timeline-num {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 1.1rem;
    }

    .timeline::before {
        left: 24px;
    }

    .paket-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
