@font-face {
  font-family: 'Charter';
  src: url('/assets/fonts/XCharter-Roman.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Charter';
  src: url('/assets/fonts/XCharter-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Charter';
  src: url('/assets/fonts/XCharter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1c2530;
  --ink-soft: #5b6572;
  --linie: #e4e6e9;
  --akzent: #2a6f78;
  --akzent-hell: #eaf2f2;
  --papier: #fcfcfa;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--ink);
  font-family: 'Charter', Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  line-height: 1.75;
}
.blatt {
  max-width: 33rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 5.5rem) 1.5rem clamp(3rem, 6vw, 4.5rem);
}
h1 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.375rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0 0 2.25rem;
}
p { margin: 0 0 1.35rem; }
p.gruss { color: var(--ink-soft); }
a { color: var(--akzent); }
a:hover { color: var(--ink); }

hr.linie {
  border: 0;
  border-top: 1px solid var(--linie);
  margin: 2.75rem 0 2rem;
}

/* Verweisliste */
ul.wege {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
ul.wege li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--linie);
  font-size: 1rem;
  line-height: 1.6;
}
ul.wege li:last-child { border-bottom: 0; }
ul.wege a { font-weight: 600; }
ul.wege span { color: var(--ink-soft); }

/* Fußbereich */
.fuss {
  font-size: 0.875rem;
  color: var(--ink-soft);
  margin: 0;
}
.fuss a { margin-right: 1.1rem; color: var(--ink-soft); }
.sprachen { margin-top: 0.6rem; }
.sprachen a[aria-current="true"] {
  color: var(--ink); font-weight: 700; text-decoration: none;
}

/* Sprachhinweis */
#langbar {
  display: none;
  background: var(--akzent-hell);
  border-bottom: 1px solid #d3e3e3;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.9375rem;
}
#langbar.show { display: block; }
#langbar .innen {
  max-width: 33rem; margin: 0 auto; padding: 0.6rem 1.5rem;
  display: flex; gap: 1rem; align-items: center;
  justify-content: space-between;
}
#langbar a { color: var(--akzent); font-weight: 600; }
#langbar button {
  border: 0; background: none; cursor: pointer;
  color: var(--ink-soft); font-size: 1.25rem; line-height: 1;
  padding: 0 0.25rem;
}

/* Sprachweiche auf der Wurzel */
.weiche ul { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.weiche li { margin-bottom: 0.7rem; }
.weiche a { font-size: 1.125rem; font-weight: 600; }
