/* Notfallkarte-Landing: Ergänzungen zu events-landing.css */

.nk-hero-media {
    position: relative;
    margin: 0;
    padding: 0;
    cursor: default;
    line-height: 0;
    outline: none;
}

.notfallkarte-subpage .events-hero-photo-frame {
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.nk-hero-media:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 6px;
}

.nk-hero-media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.nk-hero-media:hover .nk-hero-media-overlay,
.nk-hero-media:focus .nk-hero-media-overlay {
    background: rgba(15, 23, 42, 0.22);
}

.nk-hero-media-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #553cdf;
    font-size: 22px;
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.nk-hero-media:hover .nk-hero-media-icon,
.nk-hero-media:focus .nk-hero-media-icon {
    opacity: 1;
    transform: scale(1);
}

.nk-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.nk-pricing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.events-hero-banner .nk-hero-note {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    line-height: 1.55;
    margin: 20px 0 0;
    max-width: 38em;
}

.bundle-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.bundle-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.28;
    color: var(--card-secondary);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: none;
    /* Gleiche Startlinie für Fliesstext in allen vier Karten (bis zu zwei Titelzeilen) */
    min-height: calc(2 * 1.28em);
}

.bundle-card p {
    margin: 0;
    flex: 1 1 auto;
    overflow-wrap: break-word;
    hyphens: auto;
}

#bundle .card-grid.four {
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}

.bundle-card i {
    font-size: 24px;
    color: var(--card-primary);
    margin-bottom: 16px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 22px;
    text-align: left;
    vertical-align: top;
}

.comparison-table thead {
    background: #f1f5ff;
}

.comparison-table th {
    font-size: 16px;
    color: var(--card-secondary);
    font-weight: 700;
}

.comparison-table td {
    border-top: 1px solid #e2e8f0;
    font-size: 15px;
    color: #475569;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 0;
    display: grid;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-light);
    border-radius: 16px;
    padding: 14px 18px;
    font-weight: 500;
    color: var(--card-secondary);
}

.feature-list li i {
    color: var(--card-primary);
}

.testimonial-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px;
    position: relative;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: -12px;
    left: 24px;
    font-size: 64px;
    color: rgba(85, 60, 223, 0.15);
}

.testimonial-card p {
    margin: 0 0 18px;
    color: #334155;
    font-size: 17px;
}

.testimonial-card span {
    font-weight: 600;
    color: var(--card-secondary);
}

.cta-banner {
    background: linear-gradient(135deg, rgba(85, 60, 223, 0.12), rgba(205, 214, 255, 0.35));
    border-radius: 24px;
    padding: 28px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(85, 60, 223, 0.18);
}

.cta-banner p {
    margin: 0;
    font-size: 17px;
    color: var(--card-secondary);
}

.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    animation: nkFadeIn 0.3s ease;
}

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

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

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    animation: nkZoomIn 0.3s ease;
}

@keyframes nkZoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.image-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.image-modal-caption {
    position: absolute;
    bottom: -48px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 12px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.image-modal-caption i {
    color: var(--card-primary);
}

@media (max-width: 600px) {
    .image-modal-close {
        top: -40px;
        right: -10px;
    }

    .image-modal-caption {
        bottom: -40px;
        font-size: 14px;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}
