/* ============================================================
   datenschutz.css — Datenschutzerklärung & Impressum
   ============================================================ */

html { scroll-behavior: smooth; }

/* ── HERO BACKGROUND ── */
.ds-hero-bg {
  background: linear-gradient(155deg, #0D0D0D 0%, rgba(0,255,136,.04) 55%, #0D0D0D 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture */
.ds-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(255,255,255,.016) 47px, rgba(255,255,255,.016) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(255,255,255,.016) 47px, rgba(255,255,255,.016) 48px);
  pointer-events: none;
}

/* Radial glow behind heading */
.ds-hero-bg::after {
  content: '';
  position: absolute;
  top: -30%;
  left: -5%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(0,255,136,.07) 0%, transparent 65%);
  pointer-events: none;
}

/* ── HERO CONTENT ── */
.ds-hero {
  max-width: 880px;
  margin: 0 auto;
  padding-top: 16px;
  position: relative;
  z-index: 1;
}

.ds-hero h1 {
  font-family: var(--font-h);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 14px;
}

.ds-hero .ds-meta {
  font-size: 12px;
  color: var(--grey);
  font-family: var(--font-b);
  margin-bottom: 0;
}

.ds-hero .ds-meta span {
  color: var(--green);
  font-weight: 600;
}

/* Quick-tags row in hero */
.ds-quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.ds-qtag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 5px 13px;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.ds-qtag-green {
  background: rgba(0,255,136,.08);
  border: 1px solid rgba(0,255,136,.25);
  color: var(--green);
}

.ds-qtag-muted {
  background: var(--dark3);
  border: 1px solid var(--border);
  color: var(--grey);
}

/* ── TABLE OF CONTENTS ── */
.ds-toc {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
}

.ds-toc-label {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  color: var(--grey);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ds-toc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.ds-toc-link {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-b);
  font-size: 12px;
  color: var(--grey);
  padding: 7px 10px;
  border-radius: 7px;
  text-decoration: none;
  transition: color .15s, background .15s;
  line-height: 1.3;
  border-bottom: none !important;
}

.ds-toc-link:hover {
  color: var(--white);
  background: var(--dark3);
  border-bottom: none !important;
}

.ds-toc-link .tl-num {
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-h);
}

/* ── CONTENT WRAPPER ── */
.ds-content {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── SECTION BLOCKS ── */
.ds-block {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: 14px;
  padding: 28px 32px;
  transition: border-left-color .25s, background .25s;
  scroll-margin-top: 76px;
}

.ds-block:hover {
  border-left-color: rgba(0,255,136,.3);
  background: #282828;
}

.ds-block-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

/* Rounded-square number badge */
.ds-block-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(0,255,136,.07);
  border: 1px solid rgba(0,255,136,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 800;
  color: var(--green);
}

.ds-block h2 {
  font-family: var(--font-h);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}

/* ── PROSE ── */
.ds-block p {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.8;
  font-family: var(--font-b);
  font-weight: 300;
  margin-bottom: 14px;
}

.ds-block p:last-child { margin-bottom: 0; }

.ds-block strong {
  color: var(--white);
  font-weight: 600;
}

/* Links inside blocks */
.ds-block a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,255,136,.2);
  transition: border-color .15s;
}

.ds-block a:hover {
  border-bottom-color: rgba(0,255,136,.65);
}

/* Address links: no underline */
.ds-address a {
  border-bottom: none !important;
}

.ds-address a:hover { opacity: .75; }

/* ── ADDRESS CARD ── */
.ds-address {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  font-size: 13px;
  color: var(--grey-light);
  line-height: 1.8;
  font-family: var(--font-b);
  margin-bottom: 14px;
}

.ds-address strong {
  color: var(--white);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

/* ── LISTS ── */
.ds-list {
  list-style: none;
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ds-list li {
  font-size: 13px;
  color: var(--grey-light);
  font-family: var(--font-b);
  font-weight: 300;
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.ds-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: rgba(0,255,136,.55);
  font-weight: 700;
}

/* Check variant for positive feature lists */
.ds-list.ds-check li::before {
  content: '✓';
  color: var(--green);
  font-size: 11px;
  top: 1px;
}

/* ── RIGHTS GRID ── */
.ds-rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.ds-right-item {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 18px;
  transition: border-color .2s;
}

.ds-right-item:hover { border-color: rgba(0,255,136,.28); }

.ds-right-art {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.8px;
  margin-bottom: 4px;
  opacity: .75;
}

.ds-right-item h4 {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: -0.2px;
}

.ds-right-item p {
  font-size: 12px;
  color: var(--grey);
  line-height: 1.55;
  margin-bottom: 0 !important;
}

/* ── STATUS / INFO BANNER ── */
.ds-status {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0,255,136,.06);
  border: 1px solid rgba(0,255,136,.18);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 18px;
}

/* ── CONTACT CTA BOX ── */
.ds-contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(130deg, var(--dark2), rgba(0,255,136,.04));
  border: 1px solid rgba(0,255,136,.15);
  border-radius: 10px;
  padding: 16px 22px;
  margin-top: 18px;
}

.ds-contact-cta p {
  margin-bottom: 0 !important;
  font-size: 13px !important;
  color: var(--grey) !important;
}

.ds-contact-cta a.ds-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: #000 !important;
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none;
  border-bottom: none !important;
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: opacity .15s, box-shadow .2s;
  box-shadow: 0 0 12px rgba(0,255,136,.3);
  flex-shrink: 0;
}

.ds-contact-cta a.ds-cta-btn:hover {
  opacity: .88;
  border-bottom: none !important;
  box-shadow: 0 0 22px rgba(0,255,136,.6);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .ds-toc-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .ds-hero h1 { font-size: 38px; letter-spacing: -1.5px; }
  .ds-block { padding: 22px 20px; border-left-width: 2px; }
  .ds-rights-grid { grid-template-columns: 1fr; }
  .ds-toc-grid { grid-template-columns: repeat(2, 1fr); }
  .ds-contact-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 440px) {
  .ds-hero h1 { font-size: 30px; letter-spacing: -1px; }
  .ds-toc-grid { grid-template-columns: 1fr; }
  .ds-quick-tags { gap: 6px; }
}
