/* Shared look of the secondary pages (Lebenslauf, Impressum, Datenschutz): a sheet of the site's paper on the dark wood of the home page.
   One fixed palette like the home page; prints as a clean A4 sheet. */
:root {
  --night: #0e0c0a;
  --gold: #d6b47a;
  --gold-hi: #f2dcae;
  --mist: #d9d0c1;
  --mist-2: #9a8f7f;
  --paper: #ebe3d3;
  --paper-2: #e0d6c2;
  --ink: #2b241c;
  --ink-2: #6b5f50;
  --rule: rgba(43, 36, 28, 0.18);
  --accent: #7a5a2c;
  --f-display: "Cormorant Garamond", Garamond, Georgia, serif;
  --f-body: "EB Garamond", Garamond, Georgia, serif;
  --f-sign: "Mrs Saint Delafield", "Snell Roundhand", cursive;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; background: radial-gradient(ellipse at 50% 0%, #1e1914, var(--night) 70%) fixed, var(--night); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.4rem; max-width: 60rem; margin: 0 auto; padding: calc(1.1rem + env(safe-area-inset-top, 0px)) var(--gutter) 1.1rem; color: var(--mist); font-size: 0.9rem; }
.bar a { text-decoration: none; color: var(--gold-hi); }
.bar a b { font: 500 1.05rem/1 var(--f-display); letter-spacing: 0.14em; text-transform: uppercase; }
.bar-right { display: flex; align-items: center; gap: 1.1rem; }
.lang { display: flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--mist-2); }
.lang button { background: none; border: 0; color: inherit; letter-spacing: inherit; cursor: pointer; padding: 0.3rem 0.1rem; }
.lang button[aria-pressed="true"] { color: var(--gold-hi); }
.print { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.95rem; border: 1px solid rgba(239, 229, 211, 0.5); background: none; color: var(--mist); font-size: 0.85rem; cursor: pointer; text-decoration: none; }
.print:hover { background: rgba(239, 229, 211, 0.08); }

.sheet {
  max-width: 60rem; margin: 0 auto calc(3rem + env(safe-area-inset-bottom, 0px)); padding: clamp(1.6rem, 5vw, 3.6rem) clamp(1.2rem, 5vw, 3.8rem);
  background-color: var(--paper); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(160, 130, 90, 0.1), transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(150, 120, 80, 0.12), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .26 0 0 0 0 .18 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 640px) { .sheet { margin-inline: 0; } }
.sheet h1 { margin: 0; font: italic 400 clamp(2.4rem, 5vw, 3.4rem)/1.05 var(--f-display); text-wrap: balance; }
.sheet h2 { margin: 2.2rem 0 0.8rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--ink); font: 400 0.74rem/1.4 var(--f-body); letter-spacing: 0.32em; text-transform: uppercase; color: var(--ink-2); }
.sheet h3 { margin: 1.4rem 0 0.4rem; font: italic 500 1.25rem/1.25 var(--f-display); }
.sheet p, .sheet li { max-width: 40rem; }
.sheet .note { font-size: 0.9rem; color: var(--ink-2); }
.ph { background: rgba(122, 90, 44, 0.12); padding: 0 0.2em; border-radius: 2px; }

@media print {
  @page { size: A4; margin: 16mm 16mm 18mm; }
  html, body { background: #fff !important; }
  body { font-size: 10.5pt; }
  .bar, .no-print { display: none !important; }
  .sheet { max-width: none; margin: 0; padding: 0; box-shadow: none; background: #fff; }
  .sheet h2 { break-after: avoid; }
  a { text-decoration: none; }
}
