/* ===============================
   Data Dialog 404-Seite
   Modernes Fehlerseiten-Layout 2026
   baut auf start.css / dd-* Grundklassen auf
   =============================== */
/* Wichtig: alte Slider-/Wrapper-Effekte für die moderne 404-Seite neutralisieren */
body.stretched #wrapper {
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
}

#slider.dd-error-hero {
    top: 0 !important;
    margin: 0 !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    clear: both;
}

.dd-error-hero {
    position: relative;
    overflow: hidden;
    padding: 92px 0 76px;
    background:
            radial-gradient(circle at 86% 18%, rgba(4, 162, 125, .18), transparent 34%),
            radial-gradient(circle at 5% 86%, rgba(23, 74, 124, .07), transparent 28%),
            linear-gradient(135deg, #ffffff 0%, #eef6fb 54%, #e7f5f2 100%);
}

.dd-error-hero:before {
    content: '';
    position: absolute;
    left: -140px;
    bottom: -190px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: rgba(23, 74, 124, .07);
    pointer-events: none;
}

.dd-error-hero:after {
    content: '';
    position: absolute;
    right: -120px;
    top: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(4, 162, 125, .08);
    pointer-events: none;
}

.dd-error-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .92fr);
    gap: 54px;
    align-items: center;
}

.dd-error-eyebrow {
    margin-bottom: 16px;
}

.dd-error-code {
    color: rgba(13, 47, 82, .08);
    font-size: clamp(86px, 14vw, 178px);
    line-height: .82;
    font-weight: 900;
    letter-spacing: -.08em;
    margin: 0 0 18px;
}

.dd-error-copy h1 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #102235;
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -.035em;
}

.dd-error-lead {
    max-width: 760px;
    margin: 0;
    color: #405166;
    font-size: 20px;
    line-height: 1.85;
}

.dd-error-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 30px 0 24px;
}

.dd-error-trust {
    margin-top: 4px;
}

.dd-error-card {
    position: relative;
}

.dd-error-card:before {
    content: '';
    position: absolute;
    inset: 28px -18px -18px 42px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(4, 162, 125, .16), rgba(23, 74, 124, .08));
    transform: rotate(-2deg);
}

.dd-error-card-inner {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, .92);
    border: 1px solid var(--dd-border, #dce8ef);
    border-radius: 30px;
    box-shadow: var(--dd-shadow, 0 18px 45px rgba(13, 47, 82, .13));
    backdrop-filter: blur(10px);
}

.dd-error-card-top {
    height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    background: linear-gradient(135deg, #0b4a58 0%, #075f67 48%, #04a27d 100%);
}

.dd-error-card-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .58);
}

.dd-error-card-body {
    padding: 26px;
}

.dd-error-status {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 22px;
    background:
            radial-gradient(circle at 92% 20%, rgba(4, 162, 125, .10), transparent 36%),
            #f8fbfd;
    border: 1px solid #e2ebf3;
    margin-bottom: 16px;
}

.dd-error-status-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dd-green-dark, #088666);
    background: rgba(4, 162, 125, .10);
    font-size: 25px;
}

.dd-error-status strong {
    display: block;
    color: #102235;
    font-size: 18px;
    line-height: 1.28;
    margin-bottom: 4px;
}

.dd-error-status span {
    display: block;
    color: #405166;
    font-size: 15px;
    line-height: 1.5;
}

.dd-error-suggestions {
    display: grid;
    gap: 12px;
}

.dd-error-suggestions a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 15px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e2ebf3;
    color: #102235 !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dd-error-suggestions a:hover {
    transform: translateY(-2px);
    border-color: rgba(4, 162, 125, .35);
    box-shadow: 0 10px 26px rgba(13, 47, 82, .08);
}

.dd-error-suggestions i {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dd-green-dark, #088666);
    background: rgba(4, 162, 125, .10);
    font-size: 22px;
}

.dd-error-suggestions strong {
    display: block;
    color: #102235;
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 3px;
}

.dd-error-suggestions small {
    display: block;
    color: #526477;
    font-size: 14px;
    line-height: 1.4;
}

.dd-error-help {
    padding-top: 72px;
}

.dd-error-link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.dd-error-link-card {
    display: block;
    height: 100%;
    padding: 25px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--dd-border, #dce8ef);
    box-shadow: 0 10px 30px rgba(13, 47, 82, .06);
    color: inherit !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dd-error-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(4, 162, 125, .34);
    box-shadow: 0 18px 42px rgba(13, 47, 82, .10);
}

.dd-error-link-card h3 {
    margin: 0 0 8px;
    color: #102235;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

.dd-error-link-card p {
    margin: 0;
    color: var(--dd-muted, #474948);
    line-height: 1.75;
}



.dd-error-cta {
    background:
            radial-gradient(circle at 8% 35%, rgba(4, 162, 125, .11), transparent 26%),
            #fff;
}

@media (max-width: 1199px) {
    .dd-error-link-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .dd-error-hero {
        padding: 68px 0 58px;
    }

    .dd-error-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .dd-error-card:before {
        display: none;
    }

    .dd-error-code {
        font-size: 96px;
        letter-spacing: -.06em;
    }

    .dd-error-copy h1 {
        font-size: 38px;
    }

    .dd-error-lead {
        font-size: 18px;
        line-height: 1.75;
    }
}

@media (max-width: 767px) {
    .dd-error-link-grid {
        grid-template-columns: 1fr;
    }

    .dd-error-card-body {
        padding: 20px;
    }

    .dd-error-status,
    .dd-error-suggestions a {
        grid-template-columns: 1fr;
    }

    .dd-error-status-icon,
    .dd-error-suggestions i {
        margin-bottom: 2px;
    }
}

@media (max-width: 480px) {
    .dd-error-actions .dd-btn {
        width: 100%;
    }

    .dd-error-copy h1 {
        font-size: 32px;
    }
}