.shop-status,
.recovery-page {
    box-sizing: border-box;
    color: #243746;
    line-height: 1.6;
}


/* =========================================================
   WICHTIGER BETRIEBSSTATUS
   ========================================================= */

.shop-status {
    --status-blue: #0079bc;
    --status-blue-dark: #004467;
    --status-blue-light: #e9f5fb;

    clear: both;
    position: relative;

    margin: 0 0 24px;

    border: 1px solid #a9cfdf;
    border-left: 6px solid var(--status-blue);
    border-radius: 8px;

    background: #fff;

    box-shadow:
        0 5px 16px rgba(0, 68, 103, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04);

    overflow: hidden;
}


/* Oberer, besonders wichtiger Bereich */

.shop-status-bar {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;

    gap: 8px 14px;

    padding: 16px 18px;

    background: linear-gradient(
        135deg,
        #e5f4fb 0%,
        #f4fafc 100%
    );
}


/* Ausrufezeichen */

.shop-status-bar::before {
    content: "!";

    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    background: var(--status-blue);
    color: #fff;

    font-size: 21px;
    line-height: 1;
    font-weight: 800;

    box-shadow: 0 2px 7px rgba(0, 121, 188, 0.25);
}


/* Hauptmeldung */

.shop-status-bar > strong {
    color: #17394c;

    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
}


/* Link */

.shop-status a,
.recovery-page a {
    color: #004467;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.shop-status-bar > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;

    white-space: nowrap;
    text-decoration: none;
}

.shop-status-bar > a::after {
    content: "→";

    font-size: 17px;

    transition: transform 0.15s ease;
}

.shop-status-bar > a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.shop-status-bar > a:hover::after {
    transform: translateX(3px);
}


/* =========================================================
   AUFKLAPPBARER INFORMATIONSBEREICH
   ========================================================= */

.shop-status details {
    border-top: 1px solid #c5dce7;
    background: #fff;
}


/* Eigenen Browser-Pfeil entfernen */

.shop-status summary {
    position: relative;

    display: block;

    cursor: pointer;

    padding: 11px 48px 11px 18px;

    color: #004467;
    background: #fafcfd;

    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;

    list-style: none;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.shop-status summary::-webkit-details-marker {
    display: none;
}


/* Eigener Pfeil */

.shop-status summary::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 20px;

    width: 8px;
    height: 8px;

    border-right: 2px solid #52788c;
    border-bottom: 2px solid #52788c;

    transform:
        translateY(-65%)
        rotate(45deg);

    transition: transform 0.2s ease;
}

.shop-status details[open] summary::after {
    transform:
        translateY(-35%)
        rotate(225deg);
}

.shop-status summary:hover {
    color: #003653;
    background: #f1f8fb;
}


/* Inhalt */

.shop-status-body {
    padding: 5px 18px 18px;

    background: #fff;
}

.shop-status-body p {
    max-width: 1100px;

    margin: 8px 0 12px;
}

.shop-status-body p:first-child {
    margin-top: 6px;
}

.shop-status-body strong {
    color: #1c3d50;
}


/* Button "Hinweis schließen" */

.shop-status button {
    margin-top: 4px;

    border: 1px solid #7ba9bf;
    border-radius: 5px;

    padding: 8px 12px;

    color: #004467;
    background: #fff;

    cursor: pointer;

    font: inherit;
    font-size: 13px;
    font-weight: 600;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.shop-status button:hover {
    color: #003653;
    background: #eef7fb;
    border-color: #4f91b0;
}

.shop-status [hidden] {
    display: none !important;
}


/* Tastaturbedienung */

.shop-status :focus-visible,
.recovery-page a:focus-visible {
    outline: 3px solid #0079bc;
    outline-offset: 3px;
}


/* =========================================================
   INFORMATION / WIEDERANLAUF-SEITE
   ========================================================= */

.recovery-page {
    margin: 0 auto 30px;
}

.recovery-page .recovery-hero {
    padding: 28px;

    background: #004467;
    border-radius: 8px;

    color: #fff;
}

#MainContent .recovery-page h1 {
    color: #fff;

    line-height: 1.25;

    margin: 8px 0 16px;

    font-size: clamp(25px, 4vw, 38px);
}

.recovery-page .recovery-hero p {
    margin: 8px 0;
}

.recovery-page .recovery-date {
    font-size: 13px;
}

.recovery-page section {
    margin: 26px 0;
}

.recovery-page h2 {
    color: #004467;
    line-height: 1.3;
}

.recovery-page .recovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.recovery-page .recovery-card {
    padding: 20px;

    background: #f0f6fa;

    border: 1px solid #cbdce6;
    border-radius: 6px;
}

.recovery-page .recovery-card h2 {
    margin-top: 0;
}

.recovery-page details {
    padding: 14px 0;

    border-bottom: 1px solid #cbdce6;
}

.recovery-page summary {
    cursor: pointer;

    font-weight: bold;

    color: #004467;
}

.recovery-page li {
    margin: 8px 0;
}

.recovery-page .recovery-media-grid {
    max-width: 600px;
}

.recovery-page .recovery-media-grid figure {
    min-width: 0;

    margin: 0;
}

.recovery-page .recovery-media-grid img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 1 / 1;
    object-fit: contain;

    background: #12232e;

    border-radius: 6px;
}

.recovery-page .recovery-media-grid figcaption {
    margin-top: 8px;

    font-size: 14px;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 700px) {

    .shop-status {
        border-left-width: 5px;
    }

    .shop-status-bar {
        grid-template-columns: 34px minmax(0, 1fr);

        gap: 8px 11px;

        padding: 14px;
    }

    .shop-status-bar::before {
        width: 32px;
        height: 32px;

        font-size: 19px;
    }

    .shop-status-bar > strong {
        font-size: 16px;
    }

    .shop-status-bar > a {
        grid-column: 2;

        white-space: normal;
    }

    .shop-status summary {
        padding:
            10px
            42px
            10px
            14px;
    }

    .shop-status summary::after {
        right: 16px;
    }

    .shop-status-body {
        padding:
            3px
            14px
            14px;
    }

    .recovery-page .recovery-grid {
        grid-template-columns: 1fr;
    }

    .recovery-page .recovery-hero {
        padding: 20px;
    }
}


/* =========================================================
   DRUCK
   ========================================================= */

@media print {

    .shop-status {
        display: none;
    }
}