/* =============================================================================
   PHYSIOPARK MG · DATENSCHUTZ (/datenschutz) — Seiten-CSS
   Datei:   ppw-datenschutz.css  Version: 0.1.1
   System:  gebrückt auf ppw-base.css (globale --ppw-* Tokens, Hardcode-
            Fallbacks eingebaut)
   Scope:   alles unter .privacy-page gekapselt. Kein JavaScript nötig.

   CHANGELOG (neueste zuerst · historische Einträge NIE umschreiben)
   --------------------------------------------------------------------------
   0.1.1 · 2026-07-20
     - Nach GF-Feedback: Styles für Inhaltsverzeichnis (.privacy-toc) und
       Fakten-Pills (.privacy-facts) entfernt. GF hält die Seite bewusst
       minimal, nur Hero plus Section-Cards.
   0.1.0 · 2026-07-20
     - Erste versionierte Ablage im Workspace. Ausgangslage: Alt-Design
       mit abweichendem Petrol (#4b7c7c) und flacher Optik.
     - MODERNISIERUNG (von GF freigegeben): Komplett ins ppw-Design-
       System überführt. Hero-Panel, Inhaltsverzeichnis als Chip-Grid,
       jede Ziffer als Card mit Akzentleiste, Markenfarbe #0f5c63 über
       --ppw-brand, konsistente Typo/Abstände/Schatten mit allen anderen
       Seiten. Rechtstext unverändert (siehe pp-datenschutz.html).
     - Tokens wertetreu auf --ppw-* gebrückt, lokale Tokens entfernt.
     - HTML-Seite: pp-datenschutz.html 0.1.0 (Section-IDs für die
       Anker des Inhaltsverzeichnisses).

   ARBEITSREGELN (wie üblich)
     - KEINE Textänderung am Rechtstext. Niemals.
     - Farben über Tokens statt Hardcodes.
     - Jede Änderung: Version hochziehen + hier loggen.
   ============================================================================= */

.privacy-page *,
.privacy-page *::before,
.privacy-page *::after {
  box-sizing: border-box;
}

.privacy-page {
  /* Gebrückt auf ppw-base.css, Fallback = bisheriger Systemwert */
  --font-family: var(--ppw-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);

  --bg: var(--ppw-surface-alt, #eef4f5);
  --surface: var(--ppw-surface, #ffffff);
  --surface-soft: var(--ppw-bg-alt, #f6fafa);
  --surface-tint: #f1f7f7;                 /* lokal */

  --text: #0e2329;                         /* lokal */
  --muted: #3a5258;                        /* lokal */
  --muted-soft: #5a737a;                   /* lokal */

  --primary: var(--ppw-brand, #0f5c63);
  --primary-deep: var(--ppw-brand-deep, #0a464c);
  --primary-hover: var(--ppw-brand-hover, #0b494f);
  --primary-soft: var(--ppw-brand-soft, #e3eff0);

  --border: var(--ppw-border, #d4e1e3);
  --border-soft: #e5edee;                  /* lokal */

  --shadow-sm: var(--ppw-shadow-sm, 0 4px 12px rgba(7, 24, 28, 0.06));
  --shadow: var(--ppw-shadow-md, 0 14px 32px rgba(7, 24, 28, 0.10));

  --radius: 16px;
  --radius-card: 14px;
  --ui-radius-pill: 12px;

  --heading-main: var(--ppw-heading, #0c2731);
  --heading-sub: #123c46;                  /* lokal */

  font-family: var(--font-family);
  color: var(--text);
  padding: 28px 14px 44px;
  background:
    radial-gradient(1100px 480px at 4% 0%, rgba(15, 92, 99, 0.10), transparent 72%),
    radial-gradient(820px 360px at 100% 8%, rgba(15, 92, 99, 0.06), transparent 72%),
    linear-gradient(180deg, #f9fcfc 0%, var(--bg) 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.privacy-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-page [id^="sec-"] {
  scroll-margin-top: 110px;
}

/* ============================================================
   PANELS (Hero, TOC, Sections teilen sich die Basis)
   ============================================================ */
.privacy-panel,
.privacy-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

/* ============================================================
   HERO
   ============================================================ */
.privacy-head {
  text-align: center;
  padding: 36px 26px 30px;
}

.privacy-head h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 850;
  color: var(--heading-main);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.privacy-head h1::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 200px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--primary) 20%, var(--primary) 80%, transparent);
}

.privacy-intro {
  margin: 0 auto;
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
  font-weight: 500;
}

/* ============================================================
   SECTIONS (jede Ziffer = Card)
   ============================================================ */
.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-section {
  padding: 26px 24px 24px;
  overflow: hidden;
}

/* Akzentleiste links, konsistent zu allen anderen Seiten */
.privacy-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0.7;
}

.privacy-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.7rem);
  line-height: 1.2;
  font-weight: 850;
  color: var(--heading-main);
  letter-spacing: -0.015em;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.privacy-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 160px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary) 70%, transparent);
}

.privacy-section h3 {
  margin: 16px 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--heading-sub);
  letter-spacing: -0.005em;
}

.privacy-section p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 500;
}

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

.privacy-section ul {
  margin: 0 0 10px;
  padding-left: 22px;
}

.privacy-section ul li {
  margin-bottom: 6px;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 500;
}

.privacy-section ul li::marker {
  color: var(--primary);
}

.privacy-section strong {
  color: var(--heading-sub);
  font-weight: 800;
}

/* LINKS */
.privacy-section a {
  color: var(--primary) !important;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.privacy-section a:hover {
  color: var(--primary-deep) !important;
}

.privacy-section a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .privacy-page {
    padding: 22px 12px 36px;
  }

  .privacy-container {
    gap: 16px;
  }

  .privacy-head {
    padding: 26px 18px 22px;
  }

  .privacy-head h1 {
    font-size: 1.85rem;
  }

  .privacy-intro {
    font-size: 1.02rem;
  }

  .privacy-section {
    padding: 22px 16px 20px;
  }

  .privacy-section h2 {
    font-size: 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .privacy-section a {
    transition: none !important;
  }
}
