@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/playfair-display-latin-600-normal.woff2') format('woff2'); }

:root {
  --legal-ink: #171325;
  --legal-muted: #6d6879;
  --legal-paper: #fbfaf8;
  --legal-violet: #6740d6;
  --legal-line: rgba(23, 19, 37, 0.1);
  color: var(--legal-ink);
  background: var(--legal-paper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-padding-top: 112px;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; line-height: 1.75; }
a { color: inherit; }
:is(a, button, summary):focus-visible { outline: 3px solid #7c4dff; outline-offset: 5px; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 16px; padding: 10px 18px; border-radius: 999px; background: var(--legal-ink); color: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.legal-nav {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px max(36px, calc((100% - 1240px) / 2));
  border-bottom: 1px solid var(--legal-line);
  background: rgba(251, 250, 248, 0.94);
  backdrop-filter: blur(22px) saturate(140%);
}
.brand { display: inline-flex; flex: 0 0 auto; width: 174px; text-decoration: none; }
.brand img { display: block; width: 100%; height: auto; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-home { color: #625d6d; font-size: 0.91rem; font-weight: 700; text-decoration: none; }
.nav-home:hover { color: var(--legal-ink); }
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 11px 23px;
  border: 1px solid var(--legal-line);
  border-radius: 999px;
  background: #fff;
  color: var(--legal-ink);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.button-link.primary { border-color: transparent; background: linear-gradient(105deg, #ff875c, #f447a6 52%, #8c58ff); color: #fff; box-shadow: 0 10px 26px rgba(230, 75, 148, 0.24); }
.button-link:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(47, 36, 74, 0.12); }

.legal-hero {
  position: relative;
  padding: clamp(48px, 6vw, 80px) 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 90% 12%, rgba(255, 135, 92, 0.14), transparent 36%),
    radial-gradient(ellipse at 0% 100%, rgba(124, 77, 255, 0.1), transparent 45%),
    #f3f0fb;
}
.legal-hero::after { content: ''; position: absolute; z-index: -1; right: max(24px, calc((100% - 1320px) / 2)); top: 8%; width: 250px; height: 90%; background: url('/landing/botanical-branch.webp') center / contain no-repeat; opacity: 0.18; pointer-events: none; }
.legal-hero-inner, .legal-layout, .legal-footer-inner { width: min(1240px, calc(100% - 72px)); margin: 0 auto; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; color: var(--legal-muted); font-size: 0.82rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.kicker { margin: 0 0 16px; color: var(--legal-violet); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
h1 { max-width: 1060px; margin: 0; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.5rem, 5.5vw, 5.6rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.045em; overflow-wrap: anywhere; hyphens: auto; }
.legal-subtitle { max-width: 700px; margin: 24px 0 0; color: var(--legal-muted); font-size: 1.08rem; line-height: 1.7; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; padding: 56px 0 80px; }
.legal-sidebar { position: sticky; top: 112px; }
.sidebar-label { margin: 0 0 16px; color: var(--legal-muted); font-size: 0.73rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.legal-pages { display: grid; gap: 6px; }
.legal-pages a { padding: 12px 16px; border-radius: 14px; color: #625d6d; font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.legal-pages a:hover { background: #f2eeff; }
.legal-pages a[aria-current='page'] { background: #f2eeff; color: var(--legal-violet); }
.sidebar-contact { margin-top: 28px; padding: 22px 16px 0; border-top: 1px solid var(--legal-line); color: var(--legal-muted); font-size: 0.85rem; }
.sidebar-contact p { margin-bottom: 6px; }
.sidebar-contact a { color: var(--legal-violet); text-underline-offset: 4px; }
article { min-width: 0; padding: clamp(24px, 4vw, 48px); border: 1px solid rgba(58, 42, 90, 0.08); border-radius: 32px; background: #fff; box-shadow: 0 24px 60px rgba(47, 36, 74, 0.06); overflow-wrap: anywhere; }
article > :first-child { margin-top: 0; }
article > :last-child { margin-bottom: 0; }
h2 { margin: 40px 0 14px; color: var(--legal-ink); font-size: 1.35rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.025em; }
h3 { margin: 24px 0 10px; font-size: 1.05rem; line-height: 1.4; }
p { margin: 0 0 18px; }
ul, ol { margin: 0 0 20px; padding-left: 1.3rem; }
li + li { margin-top: 8px; }
li::marker { color: var(--legal-violet); }
strong { font-weight: 700; }
article a { color: var(--legal-violet); text-underline-offset: 4px; }
article .button-link { color: var(--legal-ink); }
article .button-link.primary { color: #fff; }
.meta { display: inline-flex; margin-bottom: 28px; padding: 6px 13px; border-radius: 999px; background: #f6f3fc; color: var(--legal-muted); font-size: 0.8rem; font-weight: 600; }
.legal-lead { font-size: 1.12rem; }
.legal-callout { margin: 24px 0; padding: 22px 24px; border-left: 3px solid #7c4dff; border-radius: 0 18px 18px 0; background: #f6f3fc; }
.legal-callout p:last-child { margin-bottom: 0; }
.feature-list { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; counter-reset: app-step; }
.feature-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 16px; margin: 0; padding: 20px; border: 1px solid var(--legal-line); border-radius: 20px; counter-increment: app-step; }
.feature-list li::before { content: '0' counter(app-step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f2eeff; color: var(--legal-violet); font-size: 0.78rem; font-weight: 700; }
.feature-list strong { display: block; margin-bottom: 4px; }
.feature-list p { margin: 0; color: var(--legal-muted); font-size: 0.92rem; }
.table-wrap { width: 100%; margin: 22px 0 28px; overflow-x: auto; border: 1px solid var(--legal-line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; line-height: 1.6; }
th, td { padding: 16px; border-bottom: 1px solid var(--legal-line); text-align: left; vertical-align: top; }
th { background: #f6f3fc; font-weight: 700; }
th:first-child { width: 28%; }
tr:last-child td { border-bottom: 0; }
.link-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--legal-line); }
.legal-footer { padding: 40px 0; background: var(--legal-ink); color: #fff; }
.legal-footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.legal-footer .brand { filter: brightness(1.18) saturate(1.08); }
.legal-footer p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.65); font-size: 0.88rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 20px; font-size: 0.85rem; }
.footer-links a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1000px) {
  .legal-layout { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 760px) {
  .legal-nav { min-height: 74px; padding: 14px 24px; gap: 16px; }
  .brand { width: 150px; }
  .nav-actions { gap: 16px; }
  .nav-home { display: none; }
  .legal-hero-inner, .legal-layout, .legal-footer-inner { width: calc(100% - 48px); }
  .legal-hero::after { right: -100px; opacity: 0.1; }
  .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 0 48px; }
  .legal-sidebar { position: static; }
  .legal-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .legal-pages a { padding: 12px; font-size: 0.82rem; }
  .sidebar-contact { display: none; }
  .sidebar-label { margin-bottom: 10px; }
  article { border-radius: 24px; }
  .legal-footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-content: flex-start; }
  .link-grid .button-link { width: 100%; }
  table, thead, tbody, tr, th, td { display: block; min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  tr { padding: 8px 0; border-bottom: 1px solid var(--legal-line); }
  tr:last-child { border-bottom: 0; }
  td { padding: 10px 16px; border-bottom: 0; }
  td::before { display: block; margin-bottom: 4px; color: var(--legal-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
  td:nth-child(1)::before { content: 'Datenkategorie'; }
  td:nth-child(2)::before { content: 'Zweck'; }
  td:nth-child(3)::before { content: 'Speicherort / Empfänger'; }
}
@media (max-width: 520px) {
  .legal-nav { padding-inline: 16px; }
  .brand { width: 132px; }
  .nav-actions .button-link { min-height: 44px; padding: 10px 16px; font-size: 0.85rem; }
  .legal-hero-inner, .legal-layout, .legal-footer-inner { width: calc(100% - 32px); }
  .legal-hero { padding: 36px 0 44px; }
  .breadcrumb { margin-bottom: 24px; }
  h1 { font-size: clamp(2.15rem, 9vw, 3rem); }
  .legal-subtitle { font-size: 1rem; }
  h2 { font-size: 1.2rem; }
  article { padding: 24px 20px; }
  .feature-list li { gap: 12px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .button-link { transition: none; }
  .button-link:hover { transform: none; }
}
