/* Gemeinsames Aussehen für Impressum und Datenschutzerklärung.
   Verwendet dieselben Farben, Schriften und Bausteine wie die Startseite. */

:root {
  --bg: #f7f4ee;
  --ink: #18160f;
  --ink2: #3a3730;
  --muted: #9a948a;
  --accent: #0087b8;
  --accent-light: #d6f0f8;
  --border: #e2ddd5;
  --white: #fefcf8;
  --nav-h: 88px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Epilogue', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white);
  padding: 10px 18px; border-radius: 8px; font-size: 14px; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  padding: 0 56px;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(247,244,238,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 16px rgba(24,22,15,0.07); }

.logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { display: block; height: 52px; width: auto; }

.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-back {
  font-size: 13px; font-weight: 500; color: var(--ink2);
  text-decoration: none; transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-back span { transition: transform 0.2s; display: inline-block; }
.nav-back:hover { color: var(--accent); }
.nav-back:hover span { transform: translateX(-4px); }

.btn {
  display: inline-block; padding: 10px 22px; border-radius: 100px;
  font-size: 13px; font-weight: 600; text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  background: var(--ink); color: var(--white);
  font-family: 'Epilogue', sans-serif;
}
.btn:hover { background: var(--accent); transform: translateY(-1px); }

/* ── KOPFBEREICH ── */
.page-head {
  padding: calc(var(--nav-h) + 72px) 56px 56px;
  border-bottom: 1px solid var(--border);
}
.page-head-inner { max-width: 820px; margin: 0 auto; }
.s-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.page-head h1 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(36px, 5vw, 60px); line-height: 1.06;
  letter-spacing: -0.025em;
}
.page-head h1 em { font-style: italic; color: var(--accent); }
.sub { margin-top: 14px; color: var(--ink2); font-size: 15px; max-width: 620px; }

/* ── INHALT ── */
/* Breite = 820px Textspalte + 2 x 56px Innenabstand, damit die Überschriften
   exakt unter der Überschrift im Kopfbereich beginnen */
main { max-width: 932px; margin: 0 auto; padding: 56px 56px 96px; }

h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: 26px; line-height: 1.2; letter-spacing: -0.015em;
  margin: 48px 0 14px;
  display: flex; align-items: center; gap: 12px;
}
h2::before {
  content: ''; width: 22px; height: 2px;
  background: var(--accent); border-radius: 2px; flex-shrink: 0;
}
main > h2:first-child { margin-top: 0; }

h3 { font-size: 16px; font-weight: 600; margin: 22px 0 8px; }

p, li { font-size: 15.5px; color: var(--ink2); margin-bottom: 10px; }
p:last-child, li:last-child { margin-bottom: 0; }
strong { color: var(--ink); font-weight: 600; }

ul { padding-left: 22px; margin: 6px 0 4px; }
li::marker { color: var(--accent); }

a.inline { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(0,135,184,0.3); }
a.inline:hover { border-bottom-color: var(--accent); }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
}

.box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 30px;
}

/* Hervorgehobener erster Block */
.box-lead {
  background: var(--accent-light);
  border-color: rgba(0,135,184,0.22);
  margin-bottom: 8px;
}
.box-lead p { color: var(--ink2); }

/* Zeile aus Bezeichnung und Wert */
.data-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 9px 0; border-bottom: 1px solid var(--border); }
.data-row:last-child { border-bottom: none; padding-bottom: 0; }
.data-row:first-child { padding-top: 0; }
.data-row dt { font-weight: 600; color: var(--ink); font-size: 15.5px; min-width: 210px; }
.data-row dd { color: var(--ink2); font-size: 15.5px; }

/* Noch offene Angaben */
.placeholder {
  background: #fff3cd; color: #7a5c00;
  padding: 2px 9px; border-radius: 100px;
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
}

/* ── FOOTER ── */
footer {
  background: #0f0d08;
  padding: 28px 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
footer .logo-img { height: 34px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12px; color: rgba(255,255,255,0.28);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }
.footer-links a[aria-current="page"] { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 880px) {
  :root { --nav-h: 72px; }
  nav { padding: 0 20px; }
  .logo-img { height: 40px; }
  .nav-right { gap: 14px; }
  .nav-back { display: none; }

  .page-head { padding: calc(var(--nav-h) + 44px) 20px 40px; }
  main { padding: 40px 20px 72px; }
  .box { padding: 22px 20px; border-radius: 14px; }
  .data-row dt { min-width: 0; width: 100%; }

  footer { flex-direction: column; gap: 16px; padding: 26px 20px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
