:root {
    --orange: #f09f42;
    --green: #c1ce4a;
    --brown: #6b3d25;
    --turquoise: #a6d8df;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.3;
}

/* =========================================
   RECHTLICHE SEITEN
   ========================================= */

.legal-page {
    min-height: 100vh;
    padding: 32px 18px 60px;
    background-image:
        linear-gradient(rgba(255,255,255,0.58), rgba(255,255,255,0.58)),
        url("../images/background.png");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: var(--brown);
}

.legal-card {
    width: min(940px, 100%);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 65px);
    background: rgba(255,255,255,0.91);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 28px;
    box-shadow: 0 18px 55px rgba(107,61,37,0.15);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brown);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color .2s ease, transform .2s ease;
}

.back-link:hover {
    color: var(--orange);
    transform: translateX(-2px);
}

.legal-logo {
    display: block;
    width: 155px;
    max-width: 42%;
    margin: 30px auto 28px;
}

.legal-card h1 {
    margin: 0 0 45px;
    text-align: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: .95;
    letter-spacing: 3px;
    color: var(--orange);
}

.legal-text { font-size: 1rem; }

.legal-text p {
    max-width: none;
    margin: 0 0 18px;
    color: var(--brown);
    font-size: 1rem;
    line-height: 1.78;
}

.legal-text h2 {
    margin: 42px 0 15px;
    padding-left: 14px;
    border-left: 5px solid var(--green);
    color: var(--brown);
    font-size: 1.45rem;
    line-height: 1.25;
}

.legal-text h2:first-child { margin-top: 0; }

.legal-text ol,
.legal-text ul {
    margin: 12px 0 24px 26px;
    padding-left: 16px;
    color: var(--brown);
}

.legal-text li {
    margin-bottom: 12px;
    padding-left: 4px;
    line-height: 1.7;
}

.legal-text a {
    color: var(--brown);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--green);
    text-underline-offset: 3px;
}

.legal-text a:hover { color: var(--orange); }

.legal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 42px;
    padding: 13px 22px;
    border-radius: 999px;
    background: var(--orange);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, opacity .2s ease;
}

.legal-button:hover {
    transform: translateY(-2px);
    opacity: .9;
}

@media (max-width: 700px) {
    .legal-page {
        padding: 14px 10px 35px;
        background-attachment: scroll;
    }

    .legal-card {
        padding: 28px 20px 34px;
        border-radius: 20px;
    }

    .legal-logo {
        width: 125px;
        margin: 24px auto;
    }

    .legal-card h1 {
        margin-bottom: 34px;
        font-size: clamp(2.8rem, 15vw, 4.5rem);
    }

    .legal-text p,
    .legal-text li {
        font-size: .94rem;
        line-height: 1.7;
    }

    .legal-text h2 {
        margin-top: 32px;
        font-size: 1.22rem;
    }

    .legal-text ol,
    .legal-text ul {
        margin-left: 18px;
        padding-left: 13px;
    }

    .legal-button {
        width: 100%;
    }
}
