/* =========================================================
   Impressum & Datenschutz – gleiche Farben und Schriften wie index.html
   (bewusst ohne Tailwind: schlichte Textseiten, ein Stylesheet für beide)
   ========================================================= */
:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --ink: #17140F;
  --copy: #3A342D;
  --muted: #625A51;
  --line: #ECE5DA;
  --line-strong: #D9CFC1;
  --peach-strong: #F8C9AE;
  --placeholder: #FFE27A;     /* gelbe Markierung für Platzhalter */

  --font-head: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 1px 2px rgb(23 20 15 / .04), 0 12px 32px -14px rgb(23 20 15 / .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--copy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--peach-strong); color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 768px) { .wrap { padding-inline: 2rem; } }

/* ---------- Header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
@media (min-width: 768px) { .site-header { padding-block: 1.75rem; } }

.brand { display: inline-flex; align-items: center; gap: .625rem; border-radius: 1rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 2.5rem; height: 2.5rem; transition: rotate .3s var(--ease); }
.brand:hover svg { rotate: -6deg; }
.brand span { font-family: var(--font-head); font-size: 1.125rem; font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 640px) {
  .brand svg { width: 2.75rem; height: 2.75rem; }
  .brand span { font-size: 1.25rem; }
}

.site-nav { display: flex; align-items: center; gap: .5rem; }
.btn-ghost {
  display: none;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 1rem;
  border-radius: 999px;
  background: rgb(255 255 255 / .7);
  box-shadow: 0 0 0 1px rgb(23 20 15 / .1);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.btn-ghost:hover { background: var(--surface); box-shadow: 0 0 0 1px rgb(23 20 15 / .2); }
@media (min-width: 768px) { .btn-ghost { display: inline-flex; } }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.75rem;
  padding-inline: 1rem;
  border-radius: 999px;
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(180deg, #3a342d 0%, var(--ink) 52%, #0c0a07 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 0 -1px 0 rgb(0 0 0 / .45), 0 1px 2px rgb(23 20 15 / .3), 0 16px 28px -16px rgb(23 20 15 / .75);
  transition: translate .35s var(--ease), scale .2s ease;
}
.btn-primary:hover { translate: 0 -2px; }
.btn-primary:active { translate: 0 0; scale: .98; }
.btn-primary svg { display: none; width: 1.3rem; height: .95rem; flex-shrink: 0; }
@media (min-width: 640px) {
  .btn-primary { padding-inline: 1.25rem; font-size: .95rem; }
  .btn-primary svg { display: block; }
}

/* ---------- Inhalt ---------- */
.legal { padding-block: .5rem 3.5rem; }
@media (min-width: 768px) { .legal { padding-block: 1.5rem 5rem; } }

.legal-card {
  max-width: 48rem;
  margin-inline: auto;
  padding: 1.5rem 1.25rem 2rem;
  border-radius: 2rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft), 0 0 0 1px rgb(23 20 15 / .05);
}
@media (min-width: 640px) { .legal-card { padding: 2.5rem; } }
@media (min-width: 768px) { .legal-card { padding: 3.5rem; border-radius: 2.75rem; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem .875rem;
  border-radius: 999px;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgb(23 20 15 / .1);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.legal h1 {
  margin: 1.25rem 0 0;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  text-wrap: balance;
}
.it { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.1em; letter-spacing: -.005em; }
.legal .intro { margin-top: 1rem; color: var(--muted); font-size: 1.125rem; }

.legal h2 {
  margin: 2.5rem 0 .5rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
  text-wrap: balance;
}
@media (min-width: 768px) { .legal h2 { font-size: 1.625rem; } }
.legal h3 { margin: 1.5rem 0 .25rem; color: var(--ink); font-family: var(--font-head); font-size: 1.125rem; font-weight: 700; }

.legal p, .legal li { text-wrap: pretty; }
.legal p { margin: .75rem 0 0; }
.legal ul { margin: .75rem 0 0; padding-left: 1.25rem; }
.legal li + li { margin-top: .35rem; }
.legal li::marker { color: var(--muted); }
.legal strong { color: var(--ink); font-weight: 600; }

.legal a {
  border-radius: .25rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgb(23 20 15 / .3);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.legal a:hover { text-decoration-color: var(--ink); }

/* Platzhalter: gelb, damit sie beim Ausfüllen sofort auffallen */
mark {
  padding: .05em .3em;
  border-radius: .3em;
  background: var(--placeholder);
  color: var(--ink);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Kontaktangaben als Liste */
.facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: .15rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: var(--bg);
}
.facts dt { color: var(--ink); font-weight: 600; }
.facts dd { margin: 0; }
.facts dd + dt { margin-top: .6rem; }
@media (min-width: 560px) {
  .facts { grid-template-columns: max-content 1fr; gap: .6rem 1.75rem; padding: 1.5rem 1.75rem; }
  .facts dd + dt { margin-top: 0; }
}

/* Optionaler Abschnitt (z. B. CRM): gestrichelt umrandet, bis entschieden ist */
.optional-block { margin-top: 2.5rem; padding: 0 1.25rem 1.25rem; border: 2px dashed var(--line-strong); border-radius: 1.25rem; }
.optional-block h2 { margin-top: 1.25rem; }

.stand { margin-top: 2.5rem !important; padding-top: 1.25rem; border-top: 1px dashed var(--line-strong); color: var(--muted); font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 2.5rem; color: var(--muted); font-size: .875rem; }
@media (min-width: 768px) { .site-footer { padding-block: 3rem; } }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; } }
.footer-brand { display: inline-flex; align-items: center; gap: .625rem; margin: 0; }
.footer-brand svg { width: 2.25rem; height: 2.25rem; }
.footer-brand span { color: var(--ink); font-weight: 600; }
.footer-nav ul { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-block; padding: .5rem; border-radius: .375rem; color: inherit; text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.footer-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.footer-note { margin: 1.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: center; }
@media (min-width: 768px) { .footer-note { text-align: left; } }
.footer-note a { border-radius: .375rem; color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgb(23 20 15 / .3); text-underline-offset: 4px; }
.footer-note a:hover { text-decoration-color: var(--ink); }
