/* =============================================================================
   LEGAL.CSS – Mühlentor Bernau
   Styles für die rechtlichen Seiten: impressum.html und datenschutz.html.
   Ladereihenfolge: nach site.css.
   ============================================================================= */


/* ── Kleiner Seiten-Header ────────────────────────────────────────────────── */

.page-header.page-header-small .motto h1 {
    font-size: 2.6em;
}

.page-header.page-header-small .motto h3 {
    font-size: 1.3em;
    font-weight: 300;
    opacity: .85;
}


/* ── Inhalts-Abschnitt ────────────────────────────────────────────────────── */

.section-content {
    padding: 5rem 0 4rem;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 60%);
}


/* ── Typografie-Overrides (engere Abstände für Lesefluss) ─────────────────── */

.sg-title {
    margin: 0 0 1.2rem; /* überschreibt site.css-Standard von 2.5rem */
}

.sg-sub {
    margin: 0 auto 3rem; /* überschreibt site.css-Standard von 3.5rem */
}


/* ── Impressum-Block (nur impressum.html) ─────────────────────────────────── */

.imprint-block {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.imprint-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #111;
    margin: 2.5rem 0 .7rem;
}

.imprint-block h2:first-child {
    margin-top: 0;
}

.imprint-block p,
.imprint-block li,
.imprint-block dd,
.imprint-block dt,
.imprint-block address {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2b2b2b;
    margin: 0 0 .5rem;
}

.imprint-block address {
    font-style: normal;
}

.imprint-block dl {
    margin: .6rem 0 0;
}

.imprint-block dt {
    font-weight: 600;
    color: #111;
    display: inline;
}

.imprint-block dt::after {
    content: ": ";
}

.imprint-block dd {
    display: inline;
    margin: 0;
}

.imprint-block dd::after {
    content: "";
    display: block;
    margin-bottom: .3rem;
}

.imprint-block a {
    color: #66615b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.imprint-block a:hover {
    color: #111;
}

.imprint-block hr {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .06);
    margin: 2rem 0;
}


/* ── Datenschutz-Block (nur datenschutz.html) ─────────────────────────────── */

.privacy-block {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.privacy-block h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.3;
    color: #111;
    margin: 2.5rem 0 .7rem;
}

.privacy-block h2:first-child {
    margin-top: 0;
}

.privacy-block p,
.privacy-block li {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2b2b2b;
    margin: 0 0 .5rem;
}

.privacy-block ul {
    padding-left: 1.2rem;
    margin: .4rem 0 .8rem;
}

.privacy-block code {
    background: #f0eeec;
    padding: .15rem .4rem;
    border-radius: 4px;
    font-size: .92rem;
}

.privacy-block a {
    color: #66615b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.privacy-block a:hover {
    color: #111;
}


/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 767.98px) {
    .page-header.page-header-small .motto h1 { font-size: 2em; }
    .page-header.page-header-small .motto h3 { font-size: 1.05em; }
    .section-content { padding: 3rem 0 2.5rem; }
    .sg-title { font-size: 1.5rem !important; }
    .sg-sub { font-size: .95rem; }
    .imprint-block h2 { font-size: 1.05rem; }
    .imprint-block p,
    .imprint-block li,
    .imprint-block dd,
    .imprint-block dt,
    .imprint-block address { font-size: .97rem; }
    .privacy-block h2 { font-size: 1.05rem; }
    .privacy-block p,
    .privacy-block li { font-size: .97rem; }
}

@media (max-width: 480px) {
    .page-header.page-header-small .motto h1 { font-size: 1.7em; }
    .sg-title { font-size: 1.3rem !important; }
}
