body[data-landing-section="kontaktformular-mail"] .hero .container {
    align-items: start;
}

body[data-landing-section="kontaktformular-mail"] .hero-content {
    align-self: center;
}

.diagnostic-card {
    padding: clamp(1.1rem, 2.8vw, 1.55rem);
    border: 1px solid rgba(16, 42, 67, 0.13);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 20px 48px rgba(16, 42, 67, 0.13);
}

.diagnostic-kicker,
.diagnostic-result-kicker {
    margin: 0 0 0.45rem;
    color: #0b7866;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.diagnostic-card h2 {
    margin: 0;
    color: #102a43;
    font-size: clamp(1.35rem, 2.6vw, 1.85rem);
    line-height: 1.16;
}

.diagnostic-intro {
    margin: 0.55rem 0 0.9rem;
    color: #486581;
    line-height: 1.45;
}

.diagnostic-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.diagnostic-choices button {
    min-height: 82px;
    padding: 0.72rem;
    border: 1px solid rgba(23, 71, 200, 0.22);
    border-radius: 12px;
    color: #102a43;
    background: #f7f9ff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.diagnostic-choices button:hover,
.diagnostic-choices button:focus-visible {
    border-color: #1747c8;
    background: #eef3ff;
    box-shadow: 0 8px 22px rgba(23, 71, 200, 0.13);
    outline: 3px solid rgba(23, 71, 200, 0.18);
    outline-offset: 2px;
    transform: translateY(-1px);
}

.diagnostic-choices button[aria-pressed="true"] {
    border-color: #0b7866;
    background: #edf9f5;
}

.diagnostic-choices button:disabled {
    color: #627d98;
    cursor: default;
    opacity: 0.72;
}

.diagnostic-choices strong,
.diagnostic-choices span {
    display: block;
}

.diagnostic-choices strong {
    margin-bottom: 0.18rem;
    font-size: 0.94rem;
    line-height: 1.25;
}

.diagnostic-choices span {
    color: #486581;
    font-size: 0.82rem;
    line-height: 1.3;
}

.diagnostic-result {
    padding: 1rem;
    border: 1px solid rgba(15, 138, 115, 0.24);
    border-radius: 12px;
    background: #f0faf7;
}

.diagnostic-result:focus {
    outline: 3px solid rgba(15, 138, 115, 0.2);
    outline-offset: 3px;
}

.diagnostic-result h3 {
    margin: 0 0 0.55rem;
    color: #102a43;
    font-size: 1.2rem;
    line-height: 1.25;
}

.diagnostic-result p {
    margin: 0;
    color: #334e68;
    line-height: 1.5;
}

.diagnostic-result .diagnostic-result-next {
    margin-top: 0.65rem;
    font-weight: 650;
}

.diagnostic-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.9rem;
}

.diagnostic-actions .cta-button {
    flex: 1 1 250px;
    min-height: 48px;
    text-align: center;
}

.diagnostic-reset {
    min-height: 44px;
    padding: 0.55rem 0.2rem;
    border: 0;
    border-bottom: 1px solid currentColor;
    color: #1747c8;
    background: transparent;
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.diagnostic-reset:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(23, 71, 200, 0.18);
    outline-offset: 3px;
}

.diagnostic-privacy,
.diagnostic-noscript {
    margin: 0.8rem 0 0;
    color: #627d98;
    font-size: 0.76rem;
    line-height: 1.42;
}

.diagnostic-trust {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: -0.4rem;
}

.diagnostic-trust span {
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(16, 42, 67, 0.1);
    border-radius: 10px;
    color: #486581;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    line-height: 1.45;
}

.diagnostic-trust strong {
    color: #102a43;
}

@media (max-width: 980px) {
    body[data-landing-section="kontaktformular-mail"] .hero .container {
        gap: 1.15rem;
    }

    .diagnostic-trust {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    body[data-landing-section="kontaktformular-mail"] .hero {
        padding-top: 68px;
    }

    body[data-landing-section="kontaktformular-mail"] .hero-title {
        font-size: clamp(2rem, 9.4vw, 2.65rem);
        line-height: 1.02;
    }

    body[data-landing-section="kontaktformular-mail"] .hero-subtitle {
        margin-bottom: 0;
    }

    .diagnostic-card {
        padding: 0.75rem;
        border-radius: 13px;
    }

    .diagnostic-kicker {
        display: none;
    }

    .diagnostic-card h2 {
        font-size: 1.25rem;
    }

    .diagnostic-intro {
        margin: 0.4rem 0 0.65rem;
        font-size: 0.9rem;
    }

    .diagnostic-choices {
        gap: 0.5rem;
    }

    .diagnostic-choices button {
        min-height: 66px;
        padding: 0.48rem;
    }

    .diagnostic-choices strong {
        font-size: 0.86rem;
    }

    .diagnostic-choices span {
        font-size: 0.75rem;
    }

    .diagnostic-trust {
        grid-template-columns: 1fr;
    }

    .diagnostic-trust span:last-child {
        display: none;
    }
}

@media (max-width: 360px) {
    .diagnostic-choices {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .diagnostic-choices button {
        transition: none;
    }
}
