/* Privacy Notice (/privacy/). Nav comes from /assets/style.css; the footer
   rules mirror kontakt/index.php, which keeps them inline. Kept in a file so
   the hash-pinned CSP needs no new style-src entry. */

.pv-body { background: var(--bg); }
.pv-main { padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2.5rem) 0; }

/* ---- Hero ------------------------------------------------------------- */
.pv-hero { max-width: 1120px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.pv-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.pv-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.pv-title { font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -0.035em; line-height: 1.04; font-weight: 600; margin: 0; max-width: 16ch; text-wrap: balance; }
.pv-accent { color: var(--accent); }
.pv-lede { margin: 1.25rem 0 0; color: var(--text-soft); font-size: clamp(16px, 1.6vw, 18.5px); line-height: 1.6; max-width: 62ch; }
.pv-lede strong { color: var(--text); }

.pv-meta { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pv-meta li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: 13px; color: var(--text); }
.pv-meta-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }

.pv-provider { margin-top: 2rem; display: grid; grid-template-columns: 1fr; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 760px) { .pv-provider { grid-template-columns: 1fr 1.3fr; } }
.pv-provider-col { padding: 1.35rem 1.5rem; }
.pv-provider-col + .pv-provider-col { border-top: 1px solid var(--border); background: var(--accent-softer); }
@media (min-width: 760px) { .pv-provider-col + .pv-provider-col { border-top: 0; border-left: 1px solid var(--border); } }
.pv-provider address { font-style: normal; font-size: 15px; line-height: 1.55; color: var(--text); }
.pv-provider p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }
.pv-provider .pv-provider-ids { margin-top: 0.75rem; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); line-height: 1.7; }

.pv-card-k { display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.6rem; }

/* ---- Layout ----------------------------------------------------------- */
.pv-layout { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1000px) { .pv-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 4rem; } }

/* ---- Table of contents ------------------------------------------------ */
.pv-toc-wrap { min-width: 0; }
@media (min-width: 1000px) { .pv-toc-wrap { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 116px); overflow-y: auto; scrollbar-width: thin; } }
.pv-toc { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.pv-toc summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1rem; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.pv-toc summary::-webkit-details-marker { display: none; }
.pv-toc summary::after { content: ""; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 160ms; }
.pv-toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
@media (min-width: 1000px) {
  .pv-toc { border: 0; background: transparent; }
  .pv-toc summary { padding: 0 0 0.75rem; pointer-events: none; }
  .pv-toc summary::after { display: none; }
}
.pv-toc ol { list-style: none; margin: 0; padding: 0 0.5rem 0.75rem; counter-reset: pvtoc; }
@media (min-width: 1000px) { .pv-toc ol { padding: 0; border-left: 1px solid var(--border); } }
.pv-toc li { counter-increment: pvtoc; }
.pv-toc a { display: flex; gap: 0.6rem; padding: 0.32rem 0.6rem; font-size: 13px; line-height: 1.4; color: var(--text-muted); text-decoration: none; border-radius: 6px; transition: color 140ms, background 140ms; }
@media (min-width: 1000px) { .pv-toc a { margin-left: -1px; border-left: 2px solid transparent; border-radius: 0; padding-left: 0.9rem; } }
.pv-toc a::before { content: counter(pvtoc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); padding-top: 1px; flex-shrink: 0; }
.pv-toc a:hover { color: var(--text); }
.pv-toc a.is-active { color: var(--accent); font-weight: 500; }
@media (min-width: 1000px) { .pv-toc a.is-active { border-left-color: var(--accent); } }
.pv-toc a.is-active::before { color: var(--accent); }

/* ---- Document --------------------------------------------------------- */
.pv-doc { min-width: 0; max-width: 720px; font-size: 16px; line-height: 1.7; color: var(--text-soft); }
.pv-doc section { padding: 2.25rem 0; border-top: 1px solid var(--border); }
.pv-doc section:first-child { border-top: 0; padding-top: 0; }
.pv-doc h2 { display: flex; align-items: baseline; gap: 0.85rem; margin: 0 0 1.1rem; font-size: clamp(22px, 2.4vw, 27px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; color: var(--text); scroll-margin-top: 100px; }
.pv-num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--accent); padding: 0.15rem 0.45rem; border-radius: 6px; background: var(--accent-softer); transform: translateY(-3px); flex-shrink: 0; }
.pv-doc h3 { margin: 1.75rem 0 0.6rem; font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.pv-doc p { margin: 0 0 0.9rem; }
.pv-doc p:last-child { margin-bottom: 0; }
.pv-doc strong { color: var(--text); font-weight: 600; }
.pv-doc a { color: var(--accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); text-underline-offset: 3px; }
.pv-doc a:hover { text-decoration-color: currentColor; }
.pv-doc code { font-family: var(--font-mono); font-size: 0.86em; padding: 0.1em 0.4em; border-radius: 5px; background: var(--bg-2); color: var(--text); border: 1px solid var(--border); white-space: nowrap; }

.pv-emph { font-size: 17px; color: var(--text); font-weight: 500; }
.pv-note { padding: 0.9rem 1.1rem; border-left: 3px solid var(--accent); background: var(--accent-softer); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text); }

/* Short version */
.pv-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.6rem; }
@media (min-width: 640px) { .pv-checks { grid-template-columns: 1fr 1fr; } }
.pv-checks li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); font-size: 14.5px; line-height: 1.55; color: var(--text); }
.pv-checks svg { flex-shrink: 0; margin-top: 1px; padding: 3px; box-sizing: content-box; border-radius: 50%; color: #047857; background: color-mix(in srgb, #059669 13%, transparent); }

/* What the apps do not do */
.pv-nots { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.pv-nots li { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.8rem 1.1rem; font-size: 15px; line-height: 1.55; color: var(--text); }
.pv-nots li + li { border-top: 1px solid var(--border); }
.pv-nots svg { flex-shrink: 0; margin-top: 2px; padding: 3px; box-sizing: content-box; border-radius: 50%; color: #B91C1C; background: color-mix(in srgb, #DC2626 10%, transparent); }

/* Platform / location pairs */
.pv-platforms { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin: 1.25rem 0; }
@media (min-width: 640px) { .pv-platforms { grid-template-columns: 1fr 1fr; } }
.pv-platform { padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); font-size: 15px; line-height: 1.6; }
.pv-platform .pv-card-k { color: var(--accent); }
.pv-platform p { margin: 0 0 0.6rem; }

/* Permissions */
.pv-perms { margin: 1.25rem 0; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
.pv-perms > div { display: grid; grid-template-columns: 1fr; gap: 0.2rem; padding: 0.9rem 1.1rem; }
@media (min-width: 640px) { .pv-perms > div { grid-template-columns: 190px 1fr; gap: 1rem; } }
.pv-perms > div + div { border-top: 1px solid var(--border); }
.pv-perms dt { font-weight: 600; color: var(--text); font-size: 14.5px; }
.pv-perms dd { margin: 0; font-size: 15px; line-height: 1.6; }

/* Retention table */
.pv-table-wrap { margin: 1.5rem 0 0; }
.pv-table-wrap figcaption { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.6rem; }
.pv-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; font-size: 14.5px; line-height: 1.5; }
.pv-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); background: var(--surface-2); padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); }
.pv-table td { padding: 0.75rem 1rem; color: var(--text); vertical-align: top; }
.pv-table td:last-child { color: var(--text-soft); }
.pv-table tr + tr td { border-top: 1px solid var(--border); }
@media (max-width: 520px) {
  .pv-table thead { display: none; }
  .pv-table tr { display: block; padding: 0.7rem 1rem; }
  .pv-table tr + tr { border-top: 1px solid var(--border); }
  .pv-table td { display: block; padding: 0; border: 0 !important; }
  .pv-table td:last-child { font-size: 13.5px; margin-top: 0.15rem; }
}

/* Supervisory authorities link */
.pv-doc .pv-link-card a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); text-decoration: none; font-weight: 500; transition: border-color 160ms; }
.pv-doc .pv-link-card a:hover { border-color: var(--accent); }

/* Contact */
.pv-contact { display: grid; grid-template-columns: 1fr; margin-bottom: 1.1rem; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); overflow: hidden; }
@media (min-width: 640px) { .pv-contact { grid-template-columns: 1fr 1.3fr; } }
.pv-contact address { font-style: normal; padding: 1.2rem 1.3rem; color: var(--text); line-height: 1.6; }
.pv-contact dl { margin: 0; padding: 1.2rem 1.3rem; background: var(--accent-softer); border-top: 1px solid var(--border); display: grid; gap: 0.85rem; }
@media (min-width: 640px) { .pv-contact dl { border-top: 0; border-left: 1px solid var(--border); } }
.pv-contact dt { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.pv-contact dd { margin: 0.15rem 0 0; font-size: 16px; font-weight: 500; }

.pv-back { margin: 0; padding: 1.5rem 0 0; border-top: 1px solid var(--border); font-size: 14px; }
.pv-doc .pv-back a { text-decoration: none; }

/* ---- Footer (mirror of kontakt/index.php) ----------------------------- */
.site-footer { position: relative; z-index: 2; margin-top: 4rem; padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 2rem; border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2rem; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; } }
.site-footer .footer-brand { max-width: 280px; }
.site-footer .footer-logo { height: 26px; width: auto; display: block; margin-bottom: 0.85rem; }
.site-footer .footer-tagline { margin: 0; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.site-footer .footer-cols { display: contents; }
@media (max-width: 719px) { .site-footer .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; } }
.site-footer .footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint, var(--text-muted)); margin: 0 0 0.85rem; font-family: var(--font-mono); }
.site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.site-footer .footer-col a { color: var(--text); font-size: 13.5px; text-decoration: none; transition: color 160ms; }
.site-footer .footer-col a:hover { color: var(--accent); }
.site-footer .footer-bottom { max-width: 1320px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--border) 60%, transparent); display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.75rem; font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 0.02em; }
.site-footer .footer-copy { margin: 0; }
.site-footer .footer-copy a { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, currentColor 30%, transparent); }
.site-footer .footer-legal { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.85em; }
.site-footer .footer-legal a { color: var(--text-muted); text-decoration: none; transition: color 160ms; }
.site-footer .footer-legal a:hover, .site-footer .footer-legal a[aria-current] { color: var(--accent); }
.site-footer .footer-spacer { flex: 1; }

@media print {
  .nav, .mobile-drawer, .mobile-drawer-backdrop, .pv-toc-wrap, .site-footer, .pv-back { display: none !important; }
  body { padding-top: 0; }
  .pv-layout { display: block; }
  .pv-doc { max-width: none; }
  .pv-doc section { break-inside: avoid-page; }
}
