/* =========================================================
   Bauernschloss – Custom Styles (bereinigt & stabil)
   ========================================================= */

/* --- Basis / Mobile-Stabilität --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    background: transparent;
    position: relative;
}

/* Globaler Seiten-Hintergrundverlauf */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        180deg,
        #e9e3d7 0%,
        #d9dec3 25%,
        #c8cfb1 55%,
        #b3be98 100%
    );
}

/* --- Variables --- */
:root {
    --green: #4f6039;
    --brown: #4a2419;
    --content-max: 1140px;

    /* fehlte bisher, wird aber im CSS genutzt */
    --accent-brown: var(--brown);
    --text-brown: var(--brown);

    /* dunkler Akzent (z.B. linke Border / Spendenkonto) */
    --accent-deep: rgba(0, 0, 0, 0.18);
}

/* --- Global images: reduce layout shift a bit --- */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------------------
   HEADER / MASTHEAD (NUR EINMAL!)
------------------------------------------------ */

/* Hinweis: Wenn dein Bild nur umbenannt wurde, passe hier ggf. den Dateinamen an. */
header.masthead {
    background-image: url("../img/bauernschloss_haus_background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
    height: 100vh;
    position: relative;

    color: #f4f1eb;
    text-align: center;
}

/* Titel weiter unten auf der Wiese */
header.masthead .container {
    position: relative;
    z-index: 2;
    padding-top: 48vh;
    padding-bottom: 5vh;
    color: #f4f1eb;
}

header.masthead::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* Typografie Titel + Untertitel */
header.masthead h1,
header.masthead h2 {
    font-family: "Didact Gothic", "Work Sans", sans-serif;
    font-weight: 300;
    color: #f4f1eb;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
    letter-spacing: 0.08em;
}

header.masthead h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

header.masthead h2 {
    font-size: 1.45rem;
    opacity: 0.95;
}

@media (min-width: 992px) {
    header.masthead h1.mx-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ---------------------------------------------
   NAVIGATION
--------------------------------------------- */

#mainNav {
    z-index: 1030;
    background-color: rgba(79, 96, 57, 0.85) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

@media (min-width: 992px) {
    #mainNav.navbar-shrink {
        background-color: var(--green) !important;
    }
}

#mainNav .navbar-brand {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.brand-light {
    font-weight: 300;
    opacity: 0.9;
}

#mainNav .nav-link {
    color: #f8f4ee !important;
    position: relative;
    padding-bottom: 0.35rem;
    text-decoration: none !important;
}

/* Hamburger */
.navbar-light .navbar-toggler {
    border-color: rgba(242, 231, 213, 0.8);
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(242,231,213,0.95)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav .navbar-toggler {
    padding: 0.3rem 0.55rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(242, 231, 213, 0.7);
    background-color: transparent;
}

#mainNav .navbar-toggler:focus,
#mainNav .navbar-toggler:active {
    outline: none;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    #mainNav {
        padding-right: 0.75rem;
        padding-left: 1rem;
    }
    #mainNav .navbar-toggler {
        margin-right: 0.25rem;
        margin-top: 0.1rem;
    }
}

/* ===== Variante B: ::after komplett AUS (verhindert Doppelstrich) ===== */
#mainNav .nav-link::after {
    content: none !important;
}

/* ===== Variante B: Indicator ===== */
@media (min-width: 992px) {
    #mainNav .navbar-nav {
        position: relative;
    }

    #mainNav .nav-indicator {
        position: absolute;
        height: 3px;
        border-radius: 999px;
        background: #f2e7d5;
        opacity: 0;
        left: 0;
        top: 0;
        width: 0;
        transform: translateZ(0);
        pointer-events: none;
        transition:
            left 0.18s ease-out,
            width 0.18s ease-out,
            top 0.18s ease-out,
            opacity 0.18s ease-out;
    }

    /* optional: beim Hover etwas „snappier“ */
    #mainNav .navbar-nav:hover .nav-indicator {
        transition-duration: 0.12s;
    }
}

/* Active styling: no bottom borders from template */
#mainNav.navbar-shrink .nav-link.active {
    background-image: none !important;
    border-bottom: 0 !important;
}

.text-black-50 {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ---------------------------------------------
   LEISTUNGEN / PROJECT SECTION
--------------------------------------------- */

.bg-leistungen {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

#leistungen .leistung-row {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    margin-bottom: 2.2rem;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

#leistungen .leistung-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
}

#leistungen .leistung-row > [class*="col-"] {
    padding: 0;
}

@media (min-width: 992px) {
    #leistungen .leistung-row > .col-lg-6 + .col-lg-6 {
        border-left: 1px solid rgba(90, 60, 45, 0.12);
    }

    #leistungen .leistung-row--reverse > .col-lg-6 + .col-lg-6 {
        border-left: 0;
    }

    #leistungen .leistung-row--reverse > .order-lg-first {
        border-right: 1px solid rgba(90, 60, 45, 0.12);
    }
}

/* Reduce layout shift for these image blocks (helps anchor stability) */
.leistung-row img.img-fluid,
.project-gallery img,
.rental-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.bg-leistungen-box {
    position: relative;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none;
    border: 0;
    padding: 2.6rem 2.6rem 2.4rem;
    height: 100%;
}

.bg-leistungen-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--accent-brown),
        rgba(139, 79, 58, 0.25)
    );
    opacity: 0.85;
}

.bg-leistungen-box::after {
    content: "";
    position: absolute;
    right: 1.4rem;
    bottom: 1.2rem;
    width: 120px;
    height: 120px;
    background-image: url("../img/akzent_schloss_dark.png");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
}

.projects-section h1 {
    color: #59352c;
    font-weight: 700;
}

.projects-section .project-text h4 {
    color: #59352c;
    font-weight: 650;
    margin-bottom: 1rem;
}

.projects-section .project-text ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.projects-section .project-text ul li {
    color: #333333;
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

@media (max-width: 991.98px) {
    #leistungen .leistung-row img.img-fluid {
        min-height: 240px;
    }

    #leistungen .leistung-row > .col-lg-6 + .col-lg-6 {
        border-left: none;
        border-top: 1px solid rgba(90, 60, 45, 0.12);
    }

    .bg-leistungen-box {
        padding: 2rem 1.6rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .projects-section .project-text {
        text-align: left !important;
    }
    .projects-section .project-text h4 {
        text-align: center;
    }
    .projects-section .project-text ul {
        padding-left: 1.25rem;
        list-style-position: outside;
    }
}

/* ---------------------------------------------
   KONTAKT / ALLGEMEINES
--------------------------------------------- */

.bg-contact {
    background-color: transparent !important;
}

.intro-text {
    margin-top: 2.5rem !important;
    margin-bottom: 5rem !important;
}

.contact-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2.5rem 3rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    border-top: 4px solid var(--accent-brown);
    color: var(--text-brown);
}

.btn-kontakt {
    background-color: var(--green);
    border-color: var(--green);
    color: #f8f4ee;
    padding: 0.7rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn-kontakt:hover,
.btn-kontakt:focus {
    background-color: #3f4c2d;
    border-color: #3f4c2d;
    color: #ffffff;
}

#kontakt.contact-section {
    padding-bottom: 6rem;
}

@media (max-width: 767.98px) {
    #kontakt.contact-section {
        padding-bottom: 4.5rem;
    }
}

/* ---------------------------------------------
   SPENDEN
--------------------------------------------- */

.donation-section {
    padding: 6rem 0;
}

.donation-card {
    background-color: rgba(245, 240, 231, 0.96);
    border-radius: 16px;
    padding: 2.5rem 2.5rem 3rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    color: var(--text-brown);
}

.donation-card h2 {
    color: var(--text-brown);
    font-weight: 700;
}

.donation-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.donation-card ul {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.donation-card li {
    margin-bottom: 0.35rem;
}

.donation-card .small {
    font-size: 0.65rem;
    opacity: 0.65;
}

.btn-spenden {
    background-color: #c26b3f;
    border-color: #c26b3f;
    color: #ffffff;
    padding: 0.75rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.95rem;

    /* “Depth” wie früher */
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.btn-spenden:hover,
.btn-spenden:focus {
    background-color: #a45632;
    border-color: #a45632;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

@media (max-width: 767.98px) {
    .donation-card {
        padding: 2rem 1.5rem 2.5rem;
    }
}

.spendenkonto {
    background: rgba(255, 255, 255, 0.55);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-deep);
}

.ext-hint {
    font-size: 0.72rem;
    opacity: 0.55;
    margin: 0.5rem 0 1.2rem;
    color: var(--text-brown);
    line-height: 1.2;
}

#spenden {
    position: relative;
}

#spenden::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(79, 96, 57, 0) 0%,
        rgba(79, 96, 57, 0.18) 35%,
        rgba(106, 47, 31, 0.2) 65%,
        rgba(79, 96, 57, 0) 100%
    );
}

.donation-inner {
    max-width: 780px;
    margin: 0 auto;
}

/* ---------------------------------------------
   VERMIETUNG
--------------------------------------------- */

.rental-section.bg-vermietung {
    padding: 6rem 0;
}

.rental-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2.5rem 3rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    color: var(--text-brown);
    border-top: 4px solid var(--accent-deep);
}

.rental-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.rental-card ul {
    margin: 1rem 0 1.5rem;
    padding-left: 1.2rem;
}

.rental-card ul li {
    margin-bottom: 0.35rem;
}

.btn-vermietung {
    background-color: var(--green);
    border-color: var(--green);
    color: #f8f4ee;
    padding: 0.7rem 2.5rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.btn-vermietung:hover,
.btn-vermietung:focus {
    background-color: #3f4c2d;
    border-color: #3f4c2d;
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .rental-card,
    .contact-card {
        padding: 2rem 1.5rem 2.5rem;
    }
}

.btn-wirtschaft {
    background-color: transparent;
    border: 1px solid rgba(79, 96, 57, 0.6);
    color: var(--green);
    padding: 0.45rem 1.5rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-wirtschaft:hover,
.btn-wirtschaft:focus {
    background-color: rgba(79, 96, 57, 0.08);
    border-color: var(--green);
    color: #3a472a;
}

/* Rechtlicher Hinweis – sicher klein */
.rental-card p.legal-hint {
    font-size: 0.62rem !important;
    line-height: 1.35;
    color: #8a8f92 !important;
    max-width: 620px;
    margin: 1.75rem auto 0;
    text-align: center;
    opacity: 0.9;
}

/* --- Neue: 3 kleine Fotos im Vermietungsbereich --- */
.rental-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.75rem;
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
}

.rental-thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    transform: translateZ(0);
}

.rental-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.18s ease;
}

.rental-thumb:hover img,
.rental-thumb:focus img {
    transform: scale(1.03);
}

@media (max-width: 767.98px) {
    .rental-gallery {
        grid-template-columns: 1fr 1fr;
    }
    .rental-thumb img {
        height: 95px;
    }
}

/* ---------------------------------------------
   PROJEKTE
--------------------------------------------- */

.bg-projekte {
    padding: 6rem 0;
}

.section-title {
    color: var(--green);
    font-weight: 700;
    font-size: 2.2rem;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--accent-brown);
}

.project-title {
    color: #59352c;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.project-text {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.6;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 0.75rem;
}

.project-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;

    /* Depth: entspricht dem “alt vs neu” Effekt */
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

@media (max-width: 767.98px) {
    .project-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

.project-donate .btn-spenden.btn-sm {
    padding: 0.55rem 1.75rem;
    font-size: 0.85rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background-color: #c26b3f;
    border-color: #c26b3f;
    color: #fff;
}

.project-donate .btn-spenden.btn-sm:hover {
    background-color: #a45632;
    border-color: #a45632;
    color: #fff;
}

.btn-gallery {
    padding: 0.55rem 1.8rem;
    font-size: 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--green);
    border: 2px solid var(--green);
    background: #ffffff;
    display: inline-block;
    transition: all 0.2s ease;
    margin-top: 1.2rem;
}

.btn-gallery:hover {
    background: var(--green);
    color: #ffffff;
}

.btn-gallery,
.btn-vermietung,
.btn-vermietung-outline {
    margin-bottom: 1rem;
}

/* ---------------------------------------------
   FOOTER (edler, farblich passender)
--------------------------------------------- */

.site-footer {
    position: relative;
    background: linear-gradient(
        180deg,
        rgba(20, 24, 26, 0.92),
        rgba(20, 24, 26, 0.98)
    );
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
}

.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(79, 96, 57, 0.65),
        rgba(194, 107, 63, 0.35),
        rgba(79, 96, 57, 0.65)
    );
    opacity: 0.65;
}

.footer-brand {
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.92);
}

.footer-address {
    margin-top: 0.25rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-meta {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (min-width: 992px) {
    .footer-meta {
        justify-content: flex-start;
    }
}

.footer-dot {
    opacity: 0.45;
    margin: 0 0.15rem;
}

.footer-divider {
    border-color: rgba(242, 231, 213, 0.12);
    opacity: 1;
}

.footer-nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .footer-nav {
        justify-content: flex-end;
    }
}

.footer-sep {
    opacity: 0.35;
}

.footer-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: rgba(242, 231, 213, 0.78);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.footer-link:hover,
.footer-link:focus {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.footer-link:focus-visible {
    outline: 3px solid #f2e7d5;
    outline-offset: 3px;
    border-radius: 6px;
}

.footer-top {
    display: inline-block;
    color: rgba(242, 231, 213, 0.62);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-top:hover,
.footer-top:focus {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.footer-fineprint {
    color: rgba(255, 255, 255, 0.5);
}
.footer-visitors {
    font-size: 0.82rem;
    opacity: 0.7;
}
.footer-member {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(242, 231, 213, 0.08);
    color: rgba(242, 231, 213, 0.9);
    font-weight: 600;
    text-decoration: none;
}

.footer-member:hover,
.footer-member:focus {
    background: rgba(242, 231, 213, 0.16);
    color: #ffffff;
    text-decoration: none;
}
@media (max-width: 576px) {
    .site-footer .footer-divider {
        margin: 1.25rem 0 !important;
    }
}
@media (max-width: 576px) {
    .footer-member {
        width: 100%;
        text-align: center;
        padding: 0.6rem 0.9rem;
        border-radius: 14px; /* weniger extrem als 999px */
    }
}
@media (max-width: 576px) {
    .footer-brand {
        font-size: 1.05rem;
    }
    .footer-address {
        font-size: 0.98rem;
    }
    .footer-meta {
        font-size: 0.86rem;
        gap: 0.4rem;
    }
    .footer-visitors {
        font-size: 0.78rem;
        opacity: 0.65;
    }
    .footer-fineprint {
        font-size: 0.82rem;
        line-height: 1.4;
    }
}
/* ===== Masthead: Mobile wieder sauber mittig ===== */
@media (max-width: 575.98px) {
    /* Bootstrap mx-5 killt die verfügbare Breite -> wrap */
    header.masthead h1.mx-5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* etwas kleinere, responsive Headline -> passt wieder */
    header.masthead h1 {
        font-size: clamp(2.2rem, 9vw, 3.1rem);
        line-height: 1.08;
        letter-spacing: 0.08em;
        max-width: 100%;
    }

    header.masthead h2 {
        font-size: clamp(1.05rem, 4.6vw, 1.35rem);
        line-height: 1.25;
        max-width: 26rem;
        margin-left: auto;
        margin-right: auto;
    }

    /* Textblock wirklich mittig + etwas Luft am Rand */
    header.masthead .mx-auto.text-center {
        width: 100%;
        padding: 0 1rem;
    }

    /* deine 48vh Padding-Positionierung ist für Mobile oft zu viel */
    header.masthead .container {
        padding-top: 40vh;
        padding-bottom: 6vh;
    }
} /* ===== Masthead Background: Mobile sauber zentrieren ===== */
header.masthead {
    background-position: center center;
}

/* iPhone / schmale Viewports */
@media (max-width: 575.98px) {
    header.masthead {
        /* Fokuspunkt etwas nach unten ziehen */
        background-position: center 38% !important;
    }
}
/* =========================================================
   A11Y – Ergänzungen (Fokus, Skip-Link, Reduced Motion)
   ========================================================= */

/* Skip-Link sichtbar bei Fokus */
.skip-link {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    z-index: 2000;
    padding: 0.6rem 0.9rem;
    border-radius: 0.75rem;
    background: #fff;
    color: #111;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.15s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
}

/* Klarer Fokus-Ring (auch auf dunklem Nav) */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
.btn:focus-visible,
.navbar-toggler:focus-visible {
    outline: 3px solid #f2e7d5;
    outline-offset: 3px;
}

/* Nicht auf Outline verzichten */
#mainNav .navbar-toggler:focus,
#mainNav .navbar-toggler:active {
    box-shadow: none;
}

/* Masthead Subtitle als Absatz: optisch wie vorher */
.masthead-subtitle {
    font-family: "Didact Gothic", "Work Sans", sans-serif;
    font-weight: 300;
    color: #f4f1eb;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
    letter-spacing: 0.08em;
    font-size: 1.45rem;
    opacity: 0.95;
    margin-left: auto;
    margin-right: auto;
}

/* prefers-reduced-motion respektieren */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
