/* =============================================================================
   SITE.CSS – Mühlentor Bernau
   Gemeinsame Styles für alle Seiten (index, impressum, datenschutz).
   Ladereihenfolge: nach bootstrap.min.css und paper-kit.css,
                    vor seitenspezifischen Stylesheets.
   ============================================================================= */


/* ── Layout-Hilfklassen ───────────────────────────────────────────────────── */

.container-narrow {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Einheitliche Standardabstände für helle Abschnitte */
.section.section-white {
    padding: 6rem 0;
}


/* ── Abschnitts-Typografie (Eyebrow / Titel / Untertitel) ─────────────────── */

.sg-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #7a7a7a;
    text-align: center;
    margin: 0 0 1rem;
}

.sg-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1.15;
    text-align: center;
    margin: 0 0 2.5rem; /* Standard; legal.css überschreibt auf 1.2rem */
    color: #111;
}

.sg-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem; /* Standard; legal.css überschreibt auf 3rem */
}

.muted {
    color: #999;
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    text-align: center;
    margin: 3rem 0 0;
}


/* ── Footer ───────────────────────────────────────────────────────────────── */

.site-footer {
    background: #1a1a1a;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.8rem 24px 2.2rem;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: .02em;
}

.footer-brand:hover {
    color: #ddd;
    text-decoration: none;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    font-size: .88rem;
    font-weight: 400;
    color: rgba(255, 255, 255, .6);
    text-decoration: none;
    transition: color .2s;
}

.footer-nav a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, .1);
    margin: 1.8rem 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .8rem;
}

.footer-copy {
    font-size: .82rem;
    color: rgba(255, 255, 255, .4);
    line-height: 1.6;
}

.footer-credit {
    font-size: .78rem;
    color: rgba(255, 255, 255, .3);
}

.footer-credit a {
    color: rgba(255, 255, 255, .5);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color .2s;
}

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


/* ── Footer & Container – Responsive ─────────────────────────────────────── */

@media (max-width: 767.98px) {
    .container-narrow {
        padding: 0 16px;
    }

    .section.section-white {
        padding: 4rem 0;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-inner {
        padding: 2.2rem 20px 1.8rem;
    }
}


/* ── Hero-Header & Navbar-Lesbarkeit ─────────────────────────────────────── */

.page-header .filter {
    background: rgba(0, 0, 0, .45) !important; /* bessere Lesbarkeit über Bild */
}

.navbar.navbar-transparent .navbar-brand,
.navbar.navbar-transparent .navbar-nav .nav-link {
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}


/* ── Einheitlicher Primär-Button (Brand: Schwarz) ────────────────────────── */

.btn.btn-primary {
    background: #111 !important;
    border-color: #111 !important;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: #333 !important;
    border-color: #333 !important;
}


/* ── Anker-Offset für fixe Navbar (bessere Sprungziele) ──────────────────── */

.main [id] {
    scroll-margin-top: 84px;
}

@media (max-width: 991.98px) {
    .main [id] {
        scroll-margin-top: 96px;
    }
}
