@font-face {
    font-family: "Norman";
    src: url("../fonts/Norman-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --cream: #f7f3e8;
    --paper: #fffdf7;
    --ink: #262820;
    --muted: #67695e;
    --sage: #aab58a;
    --sage-dark: #65704e;
    --line: #ddd8c9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.legal-page {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 28%, rgba(170,181,138,.16), transparent 24rem),
        radial-gradient(circle at 93% 70%, rgba(170,181,138,.13), transparent 26rem),
        var(--cream);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.legal-header {
    position: relative;
    height: 245px;
    padding: 37px 5vw 90px;
    overflow: hidden;
    text-align: center;
    background: var(--sage);
    border-radius: 0 0 32px 32px;
}

.legal-header::before,
.legal-header::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
}

.legal-header::before { width: 290px; height: 290px; left: -115px; top: -155px; }
.legal-header::after { width: 420px; height: 420px; right: -190px; bottom: -330px; }

.legal-header a { position: relative; z-index: 1; display: inline-block; }
.legal-header img { display: block; width: min(230px, 58vw); height: auto; }

.legal-content {
    position: relative;
    width: min(920px, calc(100% - 36px));
    margin: -67px auto 80px;
    padding: clamp(38px, 7vw, 82px);
    background: rgba(255,253,247,.98);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 24px;
    box-shadow: 0 24px 75px rgba(49,55,35,.13);
}

.legal-content::before {
    content: "";
    position: absolute;
    top: 25px;
    right: 28px;
    width: 52px;
    height: 52px;
    background: url("../img/AchenSeeHeimat_badge.svg") center / contain no-repeat;
    opacity: .24;
}

.legal-kicker {
    margin: 0 0 15px;
    color: var(--sage-dark);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.legal-content h1 {
    max-width: 100%;
    margin: 0 0 clamp(42px, 7vw, 72px);
    font-family: "Norman", Georgia, serif;
    font-size: clamp(3.25rem, 9vw, 6.8rem);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: .9;
    overflow-wrap: anywhere;
}

.legal-content section {
    position: relative;
    padding: 38px 0 32px 28px;
    border-top: 1px solid var(--line);
}

.legal-content section::before {
    content: "";
    position: absolute;
    top: 45px;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--sage);
    border-radius: 50%;
}

.legal-content h2 {
    margin: 0 0 15px;
    color: var(--sage-dark);
    font-family: "Norman", Georgia, serif;
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    font-weight: 400;
    line-height: 1.05;
}

.legal-content p { margin: 0 0 17px; color: #45463f; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content strong { color: var(--ink); }

.legal-content a {
    color: var(--sage-dark);
    text-decoration-color: rgba(101,112,78,.45);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    transition: color .2s ease, text-decoration-color .2s ease;
}

.legal-content a:hover { color: var(--ink); text-decoration-color: var(--ink); }

.legal-note {
    margin-top: 38px !important;
    padding: 20px 24px;
    color: var(--muted) !important;
    background: rgba(170,181,138,.14);
    border-radius: 12px;
    font-size: .82rem;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.legal-nav a {
    min-width: 138px;
    padding: 11px 22px;
    color: var(--ink);
    background: var(--sage);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease;
}

.legal-nav a:hover { color: var(--ink); background: #bbc59d; transform: translateY(-2px); }

@media (max-width: 600px) {
    body.legal-page { font-size: 15px; }
    .legal-header { height: 195px; padding-top: 28px; border-radius: 0 0 22px 22px; }
    .legal-content { width: calc(100% - 24px); margin-top: -48px; margin-bottom: 35px; padding: 34px 23px; border-radius: 18px; }
    .legal-content::before { top: 18px; right: 18px; width: 38px; height: 38px; }
    .legal-content h1 { padding-right: 12px; font-size: clamp(2.65rem, 14vw, 4rem); }
    .legal-content section { padding: 30px 0 25px 20px; }
    .legal-content section::before { top: 37px; }
    .legal-nav { flex-direction: column; }
    .legal-nav a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .legal-content a { transition: none; }
}
