/* Souterrain 16 – shared styles. System fonts only, no external requests. */
:root {
  --paper: #f5f1ea;
  --ink: #26221e;
  --muted: #776d63;
  --line: #d9d0c3;
  --accent: #8a6a4a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--serif);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.caps {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* ---------- Startseite ---------- */
.a-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem 1rem 2rem;
  text-align: center;
}
.a-page main { flex: 1; width: 100%; max-width: 30rem; }
.lang-nav { display: flex; justify-content: center; gap: 1.1rem; margin: -1.5rem 0 2.5rem; font-size: 0.6rem; }
.lang-nav a { color: var(--muted); text-decoration: none; }
.lang-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 0.35em; }
.a-brand { margin: 0 0 2.75rem; font-weight: 400; line-height: 1.65; }
.a-brand .name { display: block; font-size: 1.05rem; letter-spacing: 0.42em; padding-left: 0.42em; }
.a-brand .sub { display: block; margin-top: 0.6rem; color: var(--muted); font-size: 0.62rem; }
.a-figure { margin: 0 0 2.75rem; }
.a-figure figcaption { margin-top: 1rem; color: var(--muted); font-size: 0.62rem; }
.a-portrait {
  width: min(17rem, 72vw);
  margin: 0 auto;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: #e8e1d6;
}
.slogan {
  margin: 0 0 1.25rem;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.7rem, 5vw, 2.1rem);
  line-height: 1.25;
}
.a-text { margin: 0 auto 2.5rem; max-width: 26rem; color: #4a433c; }
.rule { width: 2.5rem; height: 1px; margin: 0 auto 2rem; border: 0; background: var(--line); }
.visit { margin: 0 0 1.5rem; font-style: normal; line-height: 1.8; }
.visit .caps { display: block; margin-bottom: 0.6rem; color: var(--muted); }
.route { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--muted); }
.route summary { display: inline-block; cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.route summary::-webkit-details-marker { display: none; }
.route summary::after { content: " ▾"; }
.route[open] summary::after { content: " ▴"; }
.route summary:hover { color: var(--accent); }
.route summary:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.route p { display: flex; justify-content: center; gap: 0.75rem; margin: 1rem 0 0; }
.route p a { padding: 0.7rem 1.1rem; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.route p a:hover { border-color: var(--accent); }

.legal-nav { margin-top: 3.5rem; color: var(--muted); }
.legal-nav a { margin: 0 0.6rem; text-decoration: none; }
.legal-nav a:hover { text-decoration: underline; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 40rem; margin: 0 auto; padding: 3rem 1rem 4rem; }
.legal .back { display: inline-block; margin-bottom: 2.5rem; color: var(--muted); text-decoration: none; }
.legal h1 { margin: 0 0 2rem; font-weight: 400; font-size: 2rem; }
.legal h2 { margin: 2.25rem 0 0.5rem; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.legal p, .legal ul { margin: 0 0 1rem; }
.legal .todo { background: #f3e2b8; padding: 0 0.25em; }
.legal .note { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
