/* ==================================================
   VDC – 404 FEHLERSEITE
   ================================================== */

.vdc-error404 {
    --error404-green: #13803e;
    --error404-background: #f0f1f1;
    --error404-text: #222222;
    --error404-border: #d9d9d9;
    --error404-pad: 70px;

    width: 100%;
    min-height: 65vh;
    background-color: var(--error404-background);
    border-top: 4px solid var(--error404-green);
    padding: 60px var(--error404-pad) 70px;
    box-sizing: border-box;
    color: var(--error404-text);
}

.vdc-error404 *,
.vdc-error404 *::before,
.vdc-error404 *::after {
    box-sizing: border-box;
}


/* ==================================================
   CONTAINER
   ================================================== */

.vdc-error404-container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}


/* ==================================================
   404 – ÜBERSCHRIFT UND BESCHREIBUNG
   ================================================== */

.vdc-error404-intro {
    text-align: center;
}

.vdc-error404-number {
    font-size: 96px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--error404-green);
    margin-bottom: 20px;
}

.vdc-error404-intro h1 {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--error404-text);
    margin: 0 0 25px;
}

.vdc-error404-intro p {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.7;
    color: #555555;
    max-width: 1000px;
    margin: 0 auto;
}


/* ==================================================
   TRENNLINIE
   ================================================== */

.vdc-error404-divider {
    width: 100%;
    height: 1px;
    border: 0;
    background-color: #cccccc;
    margin: 35px 0;
}


/* ==================================================
   DYNAMISCHE SEITENEMPFEHLUNG
   ================================================== */

.vdc-error404-suggestion {
    text-align: center;
    margin-bottom: 55px;
}

.vdc-error404-suggestion h2 {
    font-size: 27px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--error404-text);
    margin: 0 0 20px;
}


/* Grüner Empfehlungsbutton */

.vdc-error404-suggestion a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: var(--error404-green);
    color: #ffffff;
    padding: 19px 25px;
    margin: 5px;
    border-radius: 10px;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease,
                transform 0.2s ease;
}

.vdc-error404-suggestion a:hover {
    background-color: #0d6530;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}


/* ==================================================
   WEITERE INTERESSANTE SEITEN
   ================================================== */

.vdc-error404-navigation h2 {
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--error404-text);
    margin: 0 0 25px;
}

.vdc-error404-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


/* Navigationskacheln */

.vdc-error404-grid a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 76px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid var(--error404-border);
    border-radius: 8px;
    color: var(--error404-text);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: background-color 0.2s ease,
                border-color 0.2s ease,
                transform 0.2s ease;
}

.vdc-error404-grid a:hover {
    background-color: #f5faf6;
    border-color: var(--error404-green);
    color: var(--error404-green);
    text-decoration: none;
    transform: translateY(-2px);
}


/* Grüne Pfeile */

.vdc-error404-arrow {
    flex-shrink: 0;
    color: var(--error404-green);
    font-size: 23px;
    transition: transform 0.2s ease;
}

.vdc-error404-grid a:hover .vdc-error404-arrow {
    transform: translateX(4px);
}


/* ==================================================
   TASTATURBEDIENUNG
   ================================================== */

.vdc-error404 a:focus-visible {
    outline: 3px solid var(--error404-green);
    outline-offset: 4px;
}


/* ==================================================
   RESPONSIVE – KLEINERE DESKTOP-BILDSCHIRME
   ================================================== */

@media (max-width: 1400px) {

    .vdc-error404 {
        --error404-pad: 40px;
    }

}


/* ==================================================
   RESPONSIVE – TABLET
   ================================================== */

@media (max-width: 991px) {

    .vdc-error404 {
        padding: 45px var(--error404-pad) 55px;
    }

    .vdc-error404-number {
        font-size: 80px;
    }

    .vdc-error404-intro h1 {
        font-size: 30px;
    }

    .vdc-error404-intro p {
        font-size: 19px;
    }

    .vdc-error404-suggestion h2 {
        font-size: 24px;
    }

}


/* ==================================================
   RESPONSIVE – KLEINERE TABLETS
   ================================================== */

@media (max-width: 768px) {

    .vdc-error404 {
        --error404-pad: 20px;
    }

}


/* ==================================================
   RESPONSIVE – SMARTPHONE
   ================================================== */

@media (max-width: 600px) {

    .vdc-error404 {
        padding: 35px var(--error404-pad) 45px;
    }

    .vdc-error404-number {
        font-size: 72px;
    }

    .vdc-error404-intro h1 {
        font-size: 27px;
    }

    .vdc-error404-intro p {
        font-size: 17px;
        line-height: 1.6;
    }

    .vdc-error404-divider {
        margin: 25px 0;
    }

    .vdc-error404-suggestion {
        margin-bottom: 35px;
    }

    .vdc-error404-suggestion h2 {
        font-size: 21px;
    }

    .vdc-error404-suggestion a {
        width: 100%;
        font-size: 17px;
        padding: 16px;
        margin: 5px 0;
    }

    .vdc-error404-navigation h2 {
        font-size: 21px;
    }

    .vdc-error404-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vdc-error404-grid a {
        font-size: 17px;
        min-height: 62px;
        padding: 16px;
    }

}


/* ==================================================
   REDUZIERTE ANIMATIONEN
   ================================================== */

@media (prefers-reduced-motion: reduce) {

    .vdc-error404 a,
    .vdc-error404-arrow {
        transition: none;
        transform: none !important;
    }

}