/* Seiteneigenes CSS fuer /datenschutz – ausgelagert aus datenschutz.php,
   wo es als Inline-Block bei jedem Aufruf neu uebertragen wurde. */
/* ── Hero ────────────────────────────────────────────────────────────────── */
.ds-hero {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}
.ds-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(16,185,129,.12) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.ds-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    transition: border-color .2s, box-shadow .2s;
    scroll-margin-top: 90px;
}
.dark .ds-card {
    background: #0f172a;
    border-color: #1e293b;
}
.ds-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    border-color: #cbd5e1;
}
.dark .ds-card:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
    border-color: #334155;
}

/* ── Section icon badge ──────────────────────────────────────────────────── */
.ds-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
.ds-heading {
    font-size: 15px; font-weight: 700;
    color: #1e293b;
}
.dark .ds-heading { color: #e2e8f0; }

.ds-sub {
    font-size: 11px; color: #94a3b8; margin-top: 2px;
}
.dark .ds-sub { color: #475569; }

.ds-text {
    font-size: 14px; line-height: 1.8; color: #475569;
}
.dark .ds-text { color: #64748b; }

.ds-text strong {
    font-weight: 600; color: #334155;
}
.dark .ds-text strong { color: #94a3b8; }

.ds-text a {
    color: #2563eb; text-decoration: none;
}
.ds-text a:hover { text-decoration: underline; }
.dark .ds-text a { color: #60a5fa; }

.ds-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
}
.ds-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px; line-height: 1.65; color: #475569;
}
.dark .ds-list li { color: #64748b; }

.ds-list li::before {
    content: '';
    display: block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    flex-shrink: 0;
    margin-top: 7px;
}

/* ── Info label/value ────────────────────────────────────────────────────── */
.ds-label {
    font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: #94a3b8; margin-bottom: 3px;
}
.dark .ds-label { color: #475569; }
.ds-value {
    font-size: 14px; font-weight: 500; color: #1e293b; line-height: 1.55;
}
.dark .ds-value { color: #e2e8f0; }

/* ── TOC pills ───────────────────────────────────────────────────────────── */
.toc-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 20px;
    font-size: 12px; font-weight: 600;
    color: #64748b; background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
}
.dark .toc-pill {
    color: #94a3b8; background: #1e293b; border-color: #334155;
}
.toc-pill:hover {
    background: #3b82f6; border-color: #3b82f6; color: #fff;
}

/* ── Rights grid ─────────────────────────────────────────────────────────── */
.rights-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px; border-radius: 12px;
    background: #f8fafc; border: 1px solid #e2e8f0;
    transition: border-color .15s;
}
.dark .rights-item {
    background: #1e293b; border-color: #334155;
}
.rights-item:hover { border-color: #93c5fd; }
.dark .rights-item:hover { border-color: #1e40af; }
