:root {
  color-scheme: light;
  --ink: #17241d;
  --muted: #5f6b63;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe3dc;
  --brand: #16231c;
  --accent: #e8871e;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 7%, rgba(232, 135, 30, 0.12), transparent 28rem),
    var(--paper);
}

a { color: #a64d12; }
a:hover { color: #71330b; }
a:focus-visible { outline: 3px solid rgba(232, 135, 30, 0.45); outline-offset: 3px; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(20px, 5vw, 72px);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 8px 24px rgba(16, 28, 21, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.brand:hover { color: #fff; }

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 2px solid #fff;
  border-radius: 10px 5px 10px 5px;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i {
  content: "";
  position: absolute;
  display: block;
  background: var(--accent);
  border-radius: 2px;
}

.brand-mark::before { left: 8px; top: 0; bottom: 9px; width: 2px; }
.brand-mark::after { left: 8px; right: 0; bottom: 9px; height: 2px; }
.brand-mark i { left: 17px; top: 10px; right: 0; height: 2px; }

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.back-link::before { content: "←"; margin-right: 8px; }
.back-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

main {
  width: min(780px, calc(100% - 32px));
  margin: clamp(36px, 8vw, 86px) auto 42px;
}

.imprint-card {
  padding: clamp(28px, 6vw, 62px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(30, 46, 36, 0.1);
}

.eyebrow {
  margin: 0 0 8px;
  color: #a64d12;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 66px);
  line-height: 1;
  letter-spacing: -0.045em;
}

section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 14px;
  font-size: 19px;
  letter-spacing: -0.01em;
}

p, address, dl, ul {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

address { font-style: normal; }
address strong { font-size: 18px; }

/* Rechtsseiten mit Fließtext: Absätze und Listen brauchen Abstand
   untereinander, ohne den Abstand zur Überschrift zu verdoppeln. */
section > p + p,
section > p + ul,
section > ul + p,
section > address + p,
section > dl + p,
section > p + dl,
section > p + address { margin-top: 14px; }

ul { padding-left: 22px; }
li + li { margin-top: 5px; }

.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
}

.hint {
  color: var(--muted);
  font-size: 14px;
}

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

dl { display: grid; gap: 15px; }
dl div { display: grid; grid-template-columns: minmax(150px, 0.65fr) 1.35fr; gap: 22px; }
dt { color: var(--muted); font-weight: 700; }
dd { margin: 0; }

.source {
  padding-top: 24px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px 40px;
  text-align: center;
  font-size: 14px;
}

footer span { color: var(--muted); }

@media (max-width: 560px) {
  .site-header { padding-inline: 16px; }
  .brand span:last-child { display: none; }
  .back-link { font-size: 13px; }
  main { margin-top: 24px; }
  .imprint-card { border-radius: 16px; }
  dl div { grid-template-columns: 1fr; gap: 2px; }
}
