@keyframes drift {
    from {
        transform: translate(0, 0)
    }

    to {
        transform: translate(50px, 40px)
    }
}

.wrap {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    width: 100%;
}


.legal-header {
    text-align: center;
    margin-bottom: 48px;
}

.legal-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
    line-height: 1.1;
}

.legal-header p {
    color: var(--muted);
    font-size: 16px;
}

.last-updated {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 16px;
    background: var(--blue-dim);
    border: 1px solid var(--border2);
    border-radius: 100px;
    color: #60a5fa;
    font-size: 13px;
    font-family: var(--mono);
}

/* Card */
.legal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.legal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue), transparent);
    opacity: 0.35;
}

/* Section */
.legal-section {
    margin-bottom: 40px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(59, 130, 246, .1);
}

.section-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--blue-dim);
    border: 1px solid var(--border2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.legal-section p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 14px;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-section strong {
    color: var(--text);
    font-weight: 600;
}

/* FIX 2: "uäline" → "underline" */
.legal-section a {
    color: #60a5fa;
    text-decoration: underline;
}

.legal-section a:hover {
    color: #93c5fd;
}

hr.sep {
    border: none;
    border-top: 1px solid rgba(59, 130, 246, .08);
    margin: 36px 0;
}

/* Highlight */
.highlight {
    background: var(--blue-dim);
    border: 1px solid var(--border2);
    border-radius: 14px;
    padding: 20px 24px;
    margin: 16px 0;
}

.highlight p {
    color: var(--text) !important;
    font-size: 15px !important;
    margin-bottom: 0 !important;
}

.highlight p+p {
    margin-top: 10px !important;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 16px 0;
}

.contact-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    transition: border-color .2s;
}

.contact-card:hover {
    border-color: var(--border2);
}

.contact-card .label {
    font-size: 11px;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: var(--mono);
    margin-bottom: 8px;
}

.contact-card .value {
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
}

.contact-card .value a {
    color: #60a5fa;
    text-decoration: none;
}

/* FIX 3: "uäline" → "underline" */
.contact-card .value a:hover {
    text-decoration: underline;
}

/* Badge Tags */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.badge {
    padding: 5px 14px;
    background: var(--blue-dim);
    border: 1px solid var(--border2);
    border-radius: 100px;
    color: #60a5fa;
    font-size: 12px;
    font-weight: 500;
}

/* Footer Links */
.legal-footer {
    text-align: center;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.legal-footer a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background .15s;
}

.legal-footer a:hover {
    background: var(--blue-dim);
}

.legal-footer .sep-dot {
    color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 24px 16px 60px;
    }

    .legal-card {
        padding: 28px 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .legal-card {
        padding: 20px 14px;
    }
}

@media print {
    body {
        background: white;
        color: black;
    }

    .orb,
    body::before {
        display: none;
    }

    .legal-card {
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}