/* ═══════════════════════════════════════════════════════════
   legal.css – gemeinsames Stylesheet für /impressum, /datenschutz, /agb
   Diese drei Seiten waren früher Overlays in der index.html. Damit sie
   eigene URLs bekommen, sind sie jetzt eigenständige Dokumente und teilen
   sich diese Datei. Sie ist bewusst schlank: nur Schriften, Tokens, Reset
   und die ds-*-Bausteine – kein Landingpage-Ballast.
═══════════════════════════════════════════════════════════ */

/* ─── SCHRIFTEN ─────────────────────────────────────────── */
/* latin-ext steht bewusst separat: ae/oe/ue/ss liegen im latin-Bereich,
   die zweite Datei laedt also nur bei echten Sonderzeichen. */
@font-face {
  font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(fonts/oswald-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url(fonts/oswald-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ─── TOKENS ────────────────────────────────────────────── */
:root {
  --gold:        #C9963A;
  --gold-bright: #FFD055;
  --gold-dark:   #8B6914;
  --gold-glow:   rgba(201,150,58,.30);
  --black:       #080808;
  --black-s:     #0F0F0F;
  --black-c:     #141414;
  --black-b:     #222222;
  --white:       #F4F3EE;
  --muted:       #9A9890;
  --fd: 'Anton', 'Arial Narrow', sans-serif;
  --fb: 'Inter', system-ui, sans-serif;
  --mw: 1200px;
  --r:  18px;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--fb); font-weight: 400; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─── SEITENGERÜST ──────────────────────────────────────── */
.legal-bar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8,8,8,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.legal-logo {
  font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--white);
}
.legal-logo span { color: var(--gold-bright); }
.legal-back {
  background: none; border: 1px solid rgba(255,255,255,.15); color: var(--muted);
  font-family: 'Inter', sans-serif; font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; padding: 8px 20px; border-radius: 4px;
  cursor: pointer; transition: border-color .2s, color .2s; white-space: nowrap;
}
.legal-back:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

.legal-head { max-width: 860px; margin: 0 auto; padding: 60px 40px 40px; }
.legal-tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-bright);
  background: rgba(201,150,58,.1); border: 1px solid rgba(201,150,58,.3);
  border-radius: 4px; padding: 5px 14px; margin-bottom: 24px;
}
.legal-head h1 {
  font-family: 'Oswald', sans-serif; font-size: clamp(2rem,5vw,3.2rem);
  font-weight: 700; text-transform: uppercase; color: var(--white);
  line-height: 1.1; margin-bottom: 16px;
}
.legal-head h1 em { color: var(--gold-bright); font-style: italic; }
.legal-head > p { color: var(--muted); font-size: .9rem; }
.legal-rule { height: 1px; background: rgba(255,255,255,.07); max-width: 860px; margin: 0 auto; }
.legal-body { max-width: 860px; margin: 0 auto; padding: 40px 40px 100px; }
.legal-foot { border-top: 1px solid rgba(255,255,255,.07); padding: 24px 40px; text-align: center; }
.legal-foot p { font-size: .75rem; color: #444; letter-spacing: .05em; }
.legal-foot a { color: var(--muted); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.legal-foot a:hover { color: var(--gold-bright); border-bottom-color: var(--gold-bright); }
.legal-nav { margin-top: 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-size: .75rem; }

/* ─── INHALTSBAUSTEINE ──────────────────────────────────── */
.ds-sec { margin-bottom:52px; scroll-margin-top:80px; }
.ds-hd { display:flex;align-items:center;gap:14px;margin-bottom:20px; }
.ds-num { font-family:'Oswald',sans-serif;font-size:.7rem;font-weight:700;color:var(--gold-bright);background:rgba(201,150,58,.1);border:1px solid rgba(201,150,58,.3);border-radius:4px;padding:3px 10px;letter-spacing:.12em;flex-shrink:0; }
.ds-sec h2 { font-family:'Oswald',sans-serif;font-size:1.1rem;font-weight:700;color:var(--white);letter-spacing:.04em;text-transform:uppercase; }
.ds-sec p { color:#c8c8c8;font-size:.9rem;line-height:1.85;margin-bottom:12px; }
.ds-sec ul { list-style:none;padding:0; }
.ds-sec ul li { color:#c8c8c8;font-size:.9rem;line-height:1.85;padding-left:18px;position:relative;margin-bottom:8px; }
.ds-sec ul li::before { content:'▸';color:var(--gold-bright);position:absolute;left:0;font-size:.7rem;top:4px; }
.ds-sec a { color:var(--gold-bright);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s; }
.ds-sec a:hover { border-bottom-color:var(--gold-bright); }
.ds-card { background:var(--black-c);border:1px solid rgba(255,255,255,.07);border-radius:var(--r);padding:24px 28px;margin:16px 0; }
.ds-card h3 { font-family:'Oswald',sans-serif;font-size:.8rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-bright);margin-bottom:12px; }
.ds-card p,.ds-card li { font-size:.88rem;color:#b8b8b8;margin-bottom:8px; }
.ds-provider { background:var(--black-c);border:1px solid rgba(255,255,255,.07);border-radius:8px;padding:18px 22px;display:grid;grid-template-columns:160px 1fr;gap:12px;margin-bottom:10px; }
.ds-provider-name { font-weight:700;font-size:.85rem;color:var(--white); }
.ds-provider-sub { font-size:.78rem;color:var(--muted);margin-top:3px; }
.ds-provider-detail { font-size:.82rem;color:#c0c0c0;line-height:1.7; }
.ds-highlight { background:linear-gradient(135deg,rgba(201,150,58,.1),rgba(201,150,58,.04));border:1px solid rgba(201,150,58,.25);border-radius:var(--r);padding:20px 24px;margin:16px 0; }
.ds-highlight p { color:#d4b800 !important;font-size:.88rem; }
.ds-contact { background:var(--black-c);border:1px solid rgba(255,255,255,.07);border-top:3px solid var(--gold-bright);border-radius:var(--r);padding:28px 32px;margin-top:20px; }
.ds-contact h3 { font-family:'Oswald',sans-serif;font-size:1rem;font-weight:700;color:var(--white);margin-bottom:16px;text-transform:uppercase;letter-spacing:.06em; }
.ds-contact p { font-size:.88rem;color:#b8b8b8;margin-bottom:6px; }
@media(max-width:600px){.ds-provider{grid-template-columns:1fr;}#legal-overlay .sticky-bar{padding:14px 20px;}#legal-overlay>div:nth-child(2){padding:40px 20px 20px;}#legal-overlay .ds-content{padding:24px 20px 80px;}}

@media (max-width: 700px) {
  .legal-bar { padding: 14px 20px; }
  .legal-head { padding: 40px 22px 28px; }
  .legal-body { padding: 30px 22px 70px; }
  .ds-provider { grid-template-columns: 1fr; gap: 6px; }
}
