/* CTLG Phase 78 - Rechtliche Seiten */

.page-legal {
    background:
        radial-gradient(circle at 0 0, rgba(150,22,18,.18), transparent 32%),
        radial-gradient(circle at 100% 0, rgba(234,176,50,.13), transparent 34%),
        #030303;
}

.legal-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 5vw, 70px);
    border: 1px solid rgba(234,176,50,.28);
    border-radius: 34px;
    background:
        linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.64)),
        radial-gradient(circle at 100% 0, rgba(234,176,50,.16), transparent 36%),
        url('../img/hero3.png') center/cover no-repeat;
    box-shadow: 0 32px 100px rgba(0,0,0,.42);
}

.legal-hero::after {
    content: "CTLG";
    position: absolute;
    right: clamp(18px, 4vw, 70px);
    bottom: -18px;
    color: rgba(255,255,255,.035);
    font-size: clamp(86px, 16vw, 220px);
    font-weight: 1000;
    line-height: .8;
    pointer-events: none;
}

.legal-hero h1 {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 6vw, 96px);
    line-height: .9;
    text-transform: uppercase;
    letter-spacing: -.055em;
}

.legal-hero p {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 20px 0 0;
    color: #e7e7e7;
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.5;
}

.legal-content {
    margin-top: 24px;
    padding: clamp(26px, 4vw, 54px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background:
        radial-gradient(circle at 100% 0, rgba(234,176,50,.08), transparent 38%),
        linear-gradient(180deg, rgba(18,20,22,.96), rgba(5,6,8,.96));
    color: #ededed;
    box-shadow: 0 28px 88px rgba(0,0,0,.30);
}

.legal-content h2 {
    margin: 1.3em 0 .55em;
    color: #fff;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

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

.legal-content h3 {
    margin: 1.1em 0 .45em;
    color: #ffd56d;
    font-size: clamp(21px, 2vw, 30px);
}

.legal-content p,
.legal-content li {
    color: #d9d9d9;
    font-size: clamp(16px, 1.05vw, 19px);
    line-height: 1.7;
}

.legal-content a {
    color: #ffd56d;
    text-decoration: underline;
    text-underline-offset: 4px;
    word-break: break-word;
}

.legal-content ul {
    padding-left: 1.15em;
}

.legal-card {
    margin: 22px 0;
    padding: 22px;
    border: 1px solid rgba(234,176,50,.20);
    border-radius: 22px;
    background: rgba(234,176,50,.06);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.legal-meta span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(0,0,0,.34);
    color: #eee;
    font-size: 12px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.legal-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.legal-footer-actions a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 18px;
    border: 1px solid rgba(234,176,50,.30);
    border-radius: 16px;
    background: rgba(255,255,255,.04);
    color: #fff;
    font-weight: 1000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.legal-footer-actions a:hover {
    color: #ffd56d;
    border-color: rgba(234,176,50,.75);
}

.footer-bottom a {
    color: rgba(255,255,255,.74);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #ffd56d;
}

@media (max-width: 720px) {
    .legal-shell {
        width: 100%;
    }

    .legal-hero {
        padding: 24px;
        border-radius: 26px;
    }

    .legal-hero h1 {
        font-size: clamp(38px, 13vw, 58px);
    }

    .legal-hero p {
        font-size: 17px;
    }

    .legal-content {
        padding: 22px;
        border-radius: 24px;
    }

    .legal-footer-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .legal-footer-actions a {
        width: 100%;
    }
}
