/* Extracted from views/datenschutz.php */
.dse-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.dse-hero {
    position: relative;
    padding: 30px 32px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 30px;
    overflow: hidden;
}

.dse-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-light));
}

.dse-hero h1 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0 0 6px 0;
}

.dse-hero .dse-subtitle {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
}

.dse-hero .dse-last-updated {
    color: var(--text-muted);
    font-size: 0.72rem;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* TOC */
.dse-toc {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px 25px;
    margin-bottom: 25px;
}

.dse-toc h3 {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 14px 0;
}

.dse-toc ol {
    margin: 0;
    padding: 0 0 0 22px;
    list-style: decimal;
}

.dse-toc li {
    margin-bottom: 6px;
}

.dse-toc a {
    color: #2196f3;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: color 0.2s;
}

.dse-toc a:hover {
    color: #64b5f6;
    text-decoration: underline;
}

/* Sections */
.dse-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    margin-bottom: 18px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.dse-section:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.dse-section-header {
    padding: 16px 22px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.dse-section-header:hover {
    background: rgba(33, 150, 243, 0.05);
}

.dse-section-num {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    color: #2196f3;
    letter-spacing: 1px;
    background: rgba(33,150,243,0.1);
    padding: 4px 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

.dse-section-title {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex: 1;
}

.dse-section-chevron {
    color: var(--text-muted);
    transition: transform 0.25s;
    flex-shrink: 0;
}

.dse-section.open .dse-section-chevron {
    transform: rotate(180deg);
}

.dse-section-body {
    padding: 22px 25px;
    display: none;
}

.dse-section.open .dse-section-body {
    display: block;
}

.dse-section-body p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0 0 14px 0;
}

.dse-section-body p:last-child {
    margin-bottom: 0;
}

.dse-section-body ul, .dse-section-body ol {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0 0 14px 0;
    padding-left: 22px;
}

.dse-section-body li {
    margin-bottom: 6px;
}

.dse-section-body strong {
    color: #fff;
}

.dse-section-body h4 {
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 18px 0 10px 0;
}

.dse-section-body h4:first-child {
    margin-top: 0;
}

/* Data Table */
.dse-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
}

.dse-data-table th {
    background: var(--bg-elevated);
    padding: 10px 14px;
    text-align: left;
    color: var(--text-muted);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-color);
}

.dse-data-table td {
    padding: 10px 14px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dse-data-table tr:last-child td {
    border-bottom: none;
}

/* Info Box */
.dse-info-box {
    background: rgba(33, 150, 243, 0.08);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 14px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.dse-info-box.warning {
    background: rgba(255, 152, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.2);
}

.dse-info-box-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.dse-info-box-text {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.6;
}

/* Contact Card */
.dse-contact-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 18px 22px;
    margin-top: 14px;
}

.dse-contact-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dse-contact-row:last-child {
    border-bottom: none;
}

.dse-contact-label {
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dse-contact-value {
    color: #fff;
    font-size: 0.85rem;
}

/* Back to top */
.dse-back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: #2196f3;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transition: all 0.3s;
    z-index: 100;
}

.dse-back-top.visible {
    opacity: 1;
}

.dse-back-top:hover {
    background: #2196f3;
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 600px) {
    .dse-hero h1 { font-size: 1rem; letter-spacing: 2px; }
    .dse-section-header { flex-wrap: wrap; }
}

/* Privacy Acceptance Banner */
.dse-accept-banner {
    background: linear-gradient(145deg, rgba(33,150,243,0.12), rgba(33,150,243,0.05));
    border: 2px solid rgba(33,150,243,0.4);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dse-accept-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9800, #f44336, #ff9800);
    animation: dseAcceptPulse 2s ease-in-out infinite;
}

@keyframes dseAcceptPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.dse-accept-banner h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    color: #fff;
    letter-spacing: 3px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.dse-accept-banner p {
    color: var(--text-secondary, #aaa);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.dse-accept-banner .dse-accept-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #4CAF50 0%, #2e7d32 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.dse-accept-banner .dse-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(76,175,80,0.4);
}

.dse-accept-banner .dse-accept-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.dse-accepted-info {
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.3);
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: #a5d6a7;
}
