/* Datenschutzhinweis des Campus. Eigenes Stylesheet statt eines Anbaus an
   styles.css: Die Seite ist reiner Fliesstext ohne Engine, und jede Aenderung
   an styles.css zoege ein Hochzaehlen von ENGINE_VERSION nach sich. */

:root {
  color-scheme: light;
  --navy: #1d3661;
  --navy-2: #274875;
  --cyan: #3ba9d3;
  --lime: #afca05;
  --ink: #17223a;
  --muted: #5f6c7e;
  --line: #d8e0e9;
  --soft: #f3f6f9;
  --surface: #fff;
  --focus: #087ca7;
  --shadow: 0 12px 32px rgba(29, 54, 97, .09);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #eaf0f5; }
body { margin: 0; min-width: 320px; min-height: 100dvh; font-size: 16px; line-height: 1.6; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; background: #fff; color: var(--navy); padding: 12px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* --- Kopfzeile: dieselbe Anmutung wie die Arbeitskarte -------------------- */
.ds-topbar {
  min-height: 88px;
  padding: 12px max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--navy);
  color: #fff;
  border-bottom: 4px solid var(--lime);
}
.ds-brand { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.ds-brand img { width: 154px; height: auto; padding: 4px 6px; border-radius: 4px; background: #fff; }
.ds-brand span { padding-left: 12px; border-left: 1px solid rgba(255,255,255,.35); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.ds-back { margin-left: auto; display: grid; place-items: center; min-height: 44px; padding: 0 4px; color: #fff; font-weight: 700; text-underline-offset: 4px; }

/* --- Textspalte ----------------------------------------------------------- */
.ds-shell { width: min(760px, 100%); margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-right)) calc(64px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
.ds-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 20px; }

.ds-card h1 { margin: 0 0 4px; font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.2; color: var(--navy); }
.ds-stand { margin: 0 0 20px; color: var(--muted); font-size: .85rem; }
.ds-card h2 { margin: 32px 0 8px; font-size: 1.1rem; line-height: 1.3; color: var(--navy); }
.ds-card h2:first-of-type { margin-top: 24px; }
.ds-card h3 { margin: 20px 0 6px; font-size: .98rem; color: var(--navy-2); }
.ds-card p, .ds-card li { margin: 0 0 12px; }
.ds-card ul { margin: 0 0 12px; padding-left: 22px; }
.ds-card li { margin-bottom: 6px; }
.ds-card a { color: var(--focus); text-underline-offset: 3px; }
.ds-card dl { margin: 0 0 12px; }
.ds-card dt { font-weight: 700; margin-top: 12px; }
.ds-card dd { margin: 2px 0 0; }

/* Zusammenfassung ganz oben: Wer nur wissen will, was passiert, liest nur
   diesen Kasten. Der Rest ist der vollstaendige Text. */
.ds-kurz { margin: 0 0 8px; padding: 16px 18px; background: var(--soft); border-left: 4px solid var(--cyan); border-radius: 0 12px 12px 0; }
.ds-kurz p:last-child { margin-bottom: 0; }

/* Tabellen scrollen auf dem Telefon in ihrem eigenen Rahmen, statt die
   ganze Seite breit zu machen. */
.ds-tabelle { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 12px; }
.ds-tabelle table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ds-tabelle th, .ds-tabelle td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ds-tabelle th { background: var(--soft); color: var(--navy); font-weight: 700; white-space: nowrap; }
.ds-tabelle tr:last-child th, .ds-tabelle tr:last-child td { border-bottom: 0; }

.ds-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ds-footer a { display: inline-grid; place-items: center; min-height: 44px; color: var(--focus); font-weight: 700; }

/* Auf dem Telefon ist die Kopfzeile schmal, und "Zurueck zum Campus" brach
   dort dreizeilig um. Das Ziel ist aus dem Logo daneben ohnehin klar. */
.ds-back { white-space: nowrap; }
@media (max-width: 520px) {
  .ds-topbar { gap: 12px; padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
  .ds-brand img { width: 120px; }
  .ds-brand span { display: none; }
  .ds-back-lang { display: none; }
}
