/* =========================================================
   PAGES.CSS – Ergänzungen für Unterseiten (legal / datenschutz)
   und Footer-Links. Nutzt bewusst nur "inherit"/"currentColor",
   damit es zu deinem bestehenden style.css passt.
========================================================= */

/* ---------- Footer-Links ---------- */
.footer-bottom a {
    color: inherit;
    text-decoration: none;
    letter-spacing: inherit;
    transition: opacity 0.2s ease, text-shadow 0.2s ease;
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-shadow: 0 0 8px currentColor;
}

/* ---------- Links in Rechtstexten ---------- */
.legal-panel a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-panel a:hover {
    text-shadow: 0 0 8px currentColor;
}

/* ---------- "Zurück"-Button im Header der Unterseiten ---------- */
.header-time .button.small {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
    white-space: nowrap;
}

/* ---------- Unterseiten: etwas Luft, damit der Inhalt
   nicht direkt unter dem Header klebt ---------- */
main.content > .section:first-child {
    padding-top: 2rem;
}

/* ---------- Lange URLs im Datenschutztext umbrechen ---------- */
.legal-panel p {
    overflow-wrap: anywhere;
}

/* ---------- Footer auf kleinen Bildschirmen ---------- */
@media (max-width: 700px) {
    .footer-bottom {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
        justify-content: center;
        text-align: center;
    }
}
