:root {
    --bg: #060c1a;
    --surface: #0c1425;
    --surface2: #111d33;
    --border: rgba(59, 130, 246, 0.12);
    --border2: rgba(59, 130, 246, 0.22);
    --blue: #3b82f6;
    --blue-dim: rgba(59, 130, 246, 0.10);
    --text: #e2eaf6;
    --muted: #6b82a0;
    --font: 'DM Sans', system-ui, sans-serif;
    --mono: 'DM Mono', monospace;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    width: 100%;
}

/* Header */
.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 h3 {
    font-size: 16px;
    font-weight: 600;
    color: #93c5fd;
    margin: 20px 0 10px;
}

.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;
}

.legal-section a {
    color: #60a5fa;
    text-decoration: underline;
}

.legal-section a:hover {
    color: #93c5fd;
}

.legal-section ul {
    list-style: none;
    margin: 12px 0 16px 4px;
}

.legal-section li {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.legal-section li::before {
    content: '•';
    color: var(--blue);
    position: absolute;
    left: 0;
}

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;
}

.highlight.warn {
    background: rgba(245, 158, 11, .07);
    border-color: rgba(245, 158, 11, .25);
}

.highlight.warn p {
    color: #fcd34d !important;
}

.highlight.green {
    background: rgba(34, 197, 94, .07);
    border-color: rgba(34, 197, 94, .2);
}

.highlight.green p {
    color: #86efac !important;
}

/* Frist-Anzeige */
.deadline-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.deadline-item {
    text-align: center;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 28px;
    min-width: 140px;
}

.deadline-item .num {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}

.deadline-item .lbl {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-family: var(--mono);
}

/* Musterformular */
.form-box {
    background: var(--surface2);
    border: 1px solid var(--border2);
    border-radius: 16px;
    padding: 28px;
    margin: 20px 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
}

.form-box .form-title {
    font-size: 13px;
    font-weight: 600;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: var(--mono);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(59, 130, 246, .12);
}

.form-box p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.form-box p:last-child {
    margin-bottom: 0;
}

.form-box strong {
    color: var(--text);
}

.form-box .field {
    display: inline-block;
    border-bottom: 1px dashed rgba(59, 130, 246, .4);
    min-width: 200px;
    color: rgba(59, 130, 246, .5);
    font-style: italic;
    font-size: 13px;
}

/* 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;
}

.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;
}

.contact-card .value a:hover {
    text-decoration: underline;
}

/* Footer */
.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;
    }

    .deadline-box {
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .legal-card {
        padding: 20px 14px;
    }

    .deadline-item {
        min-width: 100px;
        padding: 16px 20px;
    }
}

@media print {
    .legal-card {
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}