/* =========================================================
   Footer (Bootstrap 5.3.8) – Modern / clean / compact
   ========================================================= */

:root {
    --ah-orange: #ff9800;
    --ah-footer-bg: #151a22;
    --ah-footer-text: rgba(255, 255, 255, .90);
    --ah-footer-muted: rgba(255, 255, 255, .85);
    --ah-footer-border: rgba(255, 255, 255, .14);
}

/* Base */
.ah-footer {
    color: var(--ah-footer-text);
    background: var(--ah-footer-bg);
}

.ah-footer-top {
    padding: 1.05rem 0 .9rem;
    border-top: 3px solid #ffa500;
    background:
        radial-gradient(1200px 500px at 20% 0%, rgba(255, 152, 0, .14), transparent 60%),
        radial-gradient(900px 420px at 100% 20%, rgba(255, 152, 0, .08), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .03), transparent);
}

.ah-footer-bottom {
    padding: .5rem 0;
    border-top: 1px solid var(--ah-footer-border);
    background: rgba(255, 255, 255, .04);
}

.ah-footer a {
    color: var(--ah-footer-text);
    text-decoration: none;
}

.ah-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ah-footer-title {
    margin-bottom: .4rem !important;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .2px;
}

.ah-footer-muted {
    color: var(--ah-footer-muted);
}

/* Brand / Logo */
.ah-footer-brand {
    padding: .35rem .55rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    background: rgba(255, 255, 255, .07);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.ah-footer-brand:hover {
    border-color: rgba(255, 165, 0, .35);
    background: rgba(255, 255, 255, .10);
}

.ah-footer-logo {
    display: block;
    width: auto;
    height: 36px;
}

.ah-footer .ah-footer-logo {
    filter:
        brightness(1.45)
        saturate(1.15)
        drop-shadow(0 10px 22px rgba(252, 198, 98, .18));
}

/* Links */
.ah-footer-links li {
    margin: .12rem 0;
}

.ah-footer-links a {
    color: rgba(255, 255, 255, .86);
}

.ah-footer-links a:hover {
    color: #fff;
}

/* Social pills */
.ah-social__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    font-size: .8rem;
    transition:
        transform .12s ease,
        background-color .12s ease,
        border-color .12s ease;
}

.ah-social__btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 152, 0, .55);
    background: rgba(255, 152, 0, .18);
}

/* Contact list */
.ah-footer-contact li {
    margin: .18rem 0;
}

.ah-footer-contact i {
    width: 18px;
    color: rgba(255, 255, 255, .85);
    text-align: center;
    opacity: .85;
}

.ah-footer-impressum {
    width: 18px;
    height: 18px;
    opacity: .9;
}

/* Badge */
.ah-footer-badge {
    color: rgba(255, 255, 255, .92) !important;
    border: 1px solid rgba(255, 152, 0, .35);
    background: rgba(255, 152, 0, .14) !important;
}

/* Back to top */
#back-top {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
}

#back-top:hover {
    border-color: rgba(255, 152, 0, .45);
    background: rgba(255, 152, 0, .18);
}

/* Legal data */
.ah-legal-data {
    display: grid;
    grid-template-columns: minmax(110px, 38%) minmax(0, 1fr);
    column-gap: 1.25rem;
    row-gap: 1rem;
}

.ah-legal-data dt,
.ah-legal-data dd {
    min-width: 0;
    margin: 0;
}

.ah-legal-data dt {
    font-weight: 700;
}

.ah-legal-data dd {
    overflow-wrap: anywhere;
}

/* Compact spacing and type */
.ah-footer-top .row {
    --bs-gutter-y: .75rem;
}

.ah-footer-links,
.ah-footer-contact {
    font-size: .8rem;
    line-height: 1.2;
}

/* Footer-Schriftgrößen – bewusst in px, damit globale rem-Werte nicht hineinwirken */
.ah-footer .ah-footer-title {
    font-size: 15px !important;
    line-height: 1.2 !important;
}

.ah-footer .ah-footer-links,
.ah-footer .ah-footer-links a,
.ah-footer .ah-footer-contact,
.ah-footer .ah-footer-contact a {
    font-size: 14px !important;
    line-height: 1.28 !important;
}

.ah-footer .ah-footer-muted {
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.ah-footer .ah-footer-bottom,
.ah-footer .ah-footer-bottom .small,
.ah-footer .ah-footer-bottom a {
    font-size: 13px !important;
    line-height: 1.25 !important;
}

.ah-footer .ah-social__btn {
    font-size: 13px !important;
}

@media (max-width: 767.98px) {
    .ah-footer-top {
        padding: .9rem 0;
    }
}

@media (max-width: 575.98px) {
    .ah-footer-top {
        padding: .8rem 0;
    }

    .ah-footer-bottom {
        padding: .45rem 0;
    }

    .ah-legal-data {
        grid-template-columns: 1fr;
        row-gap: .25rem;
    }

    .ah-legal-data dd {
        margin-bottom: .75rem;
    }
}

@media (max-width: 576px) {
    .ah-footer .ah-footer-title {
        font-size: 14px !important;
    }

    .ah-footer .ah-footer-links,
    .ah-footer .ah-footer-links a,
    .ah-footer .ah-footer-contact,
    .ah-footer .ah-footer-contact a,
    .ah-footer .ah-footer-muted {
        font-size: 13px !important;
    }

    .ah-footer .ah-footer-bottom,
    .ah-footer .ah-footer-bottom .small,
    .ah-footer .ah-footer-bottom a {
        font-size: 12px !important;
    }
}

.ah-footer .ah-footer-title {
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.ah-footer .ah-footer-links,
.ah-footer .ah-footer-links a,
.ah-footer .ah-footer-contact,
.ah-footer .ah-footer-contact a {
    font-size: 11px !important;
    line-height: 1.3 !important;
}

.ah-footer .ah-footer-muted {
    font-size: 11px !important;
    line-height: 1.3 !important;
}

.ah-footer .ah-footer-bottom,
.ah-footer .ah-footer-bottom .small,
.ah-footer .ah-footer-bottom a {
    font-size: 11px !important;
}