/* Gemeinsame Styles für Impressum + Datenschutz (gleiche Tokens wie index.html) */
html, body { background: #F4F1EA; }
:root {
  --paper: #F4F1EA; --ink: #141414; --tang: #FF9A3C; --mute: #6B6A66;
  --b: 2px solid var(--ink); --gut: clamp(14px, 2.2vw, 28px);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; }
body {
  color: var(--ink); font-family: "Space Mono", ui-monospace, monospace; font-size: 15px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
::selection { background: var(--tang); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tang); outline-offset: 3px; }

.frame { margin: var(--gut); border: var(--b); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.row + .row, main + footer { border-top: var(--b); }
.cell { padding: clamp(16px, 2vw, 28px); min-width: 0; }
.cell + .cell { border-left: var(--b); }
.lab { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Nav */
.nav { grid-template-columns: auto 1fr auto; }
.nav > * { display: flex; align-items: center; gap: 10px; padding: 14px 18px; min-height: 56px; text-decoration: none; }
.nav > * + * { border-left: var(--b); }
.brand { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -.02em; text-transform: uppercase; }
.brand svg { width: 18px; height: 24px; }
.nav .back { font-size: 13px; font-weight: 700; text-transform: uppercase; transition: background .12s, color .12s; }
.nav .back:hover { background: var(--ink); color: var(--paper); }
.nav .here { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--mute); }

/* Kopf */
.title-cell { grid-column: span 9; overflow: hidden; padding-bottom: 0; }
.title {
  font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: 12vw; line-height: .82; letter-spacing: -.065em; white-space: nowrap; margin-left: -.04em;
  display: inline-block; padding-bottom: .06em;
}
.title .t { color: var(--tang); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.fig { grid-column: span 3; background: var(--ink); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.fig .lab { color: var(--tang); }
.fig svg { width: clamp(64px, 6vw, 96px); height: auto; align-self: center; }
.fig small { font-size: 12px; color: rgba(244,241,234,.6); line-height: 1.4; }

/* Hinweis-Leiste für Platzhalter */
.todo { background: var(--tang); padding: 12px 18px; font-size: 13px; font-weight: 700; display: flex; gap: 12px; align-items: center; }
.todo::before { content: "!"; flex: none; width: 24px; height: 24px; display: grid; place-items: center; background: var(--ink); color: var(--tang); font-family: "Space Grotesk", sans-serif; }

/* Inhalt */
.k { grid-column: span 3; }
.k .lab { display: block; }
.k .ref { display: block; margin-top: 6px; font-size: 12px; color: var(--mute); }
.v { grid-column: span 9; max-width: 100%; }
.v > * + * { margin-top: 14px; }
.v h2 { font-family: "Space Grotesk", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1; }
.v p, .v li { max-width: 68ch; }
.v ul { list-style: none; display: grid; gap: 6px; }
.v ul li { padding-left: 22px; position: relative; }
.v ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; background: var(--tang); outline: 2px solid var(--ink); }
.v address { font-style: normal; font-family: "Space Grotesk", sans-serif; font-weight: 500; font-size: clamp(20px, 2vw, 28px); line-height: 1.25; letter-spacing: -.02em; }
.v .opt { border: 2px dashed var(--ink); padding: 14px 16px; }
.v .opt .lab { display: block; margin-bottom: 6px; color: var(--mute); }
.ph { background: var(--tang); outline: 2px dashed var(--ink); outline-offset: -1px; padding: 0 .25em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.v a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.v a:hover { background: var(--tang); }

/* Footer */
footer.row > * { grid-column: span 3; padding: 16px 18px; font-size: 12px; font-weight: 700; text-transform: uppercase; text-decoration: none; }
footer.row > * + * { border-left: var(--b); }
footer a:hover, footer a[aria-current] { background: var(--ink); color: var(--paper); }

@media (max-width: 760px) {
  body { font-size: 14px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav .here { display: none; }
  .title-cell, .fig, .k, .v { grid-column: span 12; }
  .fig { border-left: 0 !important; border-top: var(--b); flex-direction: row; align-items: center; }
  .fig svg { width: 48px; }
  .v { border-left: 0 !important; border-top: 1px dashed var(--ink); padding-top: 14px; }
  .k { padding-bottom: 12px; }
  footer.row > * { grid-column: span 6; }
  footer.row > :nth-child(3) { border-left: 0; }
  footer.row > :nth-child(n+3) { border-top: var(--b); }
}
@media print {
  .frame { margin: 0; } .todo, .fig, .nav .back { display: none; }
}
