/* Impressum und Datenschutz: ein Blatt Papier auf dem Tisch. Bewusst schlicht,
   ohne die Blätter-Mechanik der Startseite, damit sich der Text einfach lesen lässt. */
@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root { --tinte: #1B2622; --leise: #55615B; --rot: #A3201C; --papier: #F1EEE6; --tisch: #1E302A; --leiste: 3.9rem; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 5rem 1rem 4rem; color: var(--tinte);
  background: var(--tisch) url("assets/stoff.webp") 0 0 / 320px 320px;
  font: 400 1.0625rem/1.6 "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}
::selection { background: var(--rot); color: #F7F4EC; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.kontakt {
  position: fixed; z-index: 10; right: .75rem; top: .6rem;
  display: flex; align-items: center; gap: 1.25rem; min-height: 48px; padding: .32rem .5rem .32rem 1rem;
  background: var(--papier) url("assets/papier.webp") 0 0 / 192px 192px;
  box-shadow: 0 1px 1px hsl(165 30% 6% / .4), 0 10px 22px -8px hsl(165 40% 4% / .6);
  font-size: .92rem; line-height: 1.2;
}
.kontakt p { margin: 0; white-space: nowrap; }
.kontakt__adresse { text-decoration: none; white-space: nowrap; }
.kontakt__adresse:hover { text-decoration: underline; }
.kontakt__nummer { font-weight: 600; font-size: 1.32rem; line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; color: var(--rot); text-decoration: none; padding: .35rem .5rem; }
.kontakt__nummer:hover { text-decoration: underline; }

.blatt {
  width: min(44rem, 100%); margin-inline: auto; padding: clamp(1.75rem, 5vw, 3.75rem);
  background: var(--papier) url("assets/papier.webp") 0 0 / 192px 192px;
  box-shadow: 0 2px 3px hsl(165 40% 4% / .45), 0 22px 46px -6px hsl(165 40% 4% / .6);
}
.zurueck { margin: 0 0 2rem; font-size: .95rem; }
h1, h2 { font-family: "Bodoni Moda", Didot, Georgia, serif; font-weight: 500; font-optical-sizing: none; }
h1 { margin: 0 0 1.5rem; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.2rem); line-height: 1.08; font-variation-settings: "opsz" 26; hyphens: manual; }
h2 { margin: 2.25rem 0 .4rem; font-size: 1.4rem; line-height: 1.2; font-variation-settings: "opsz" 14; }
p { margin: 0 0 .75rem; text-wrap: pretty; max-width: 62ch; }
.vorspann { font-size: 1.15rem; line-height: 1.5; }
mark { background: var(--rot); color: #F7F4EC; padding: .05em .4em; }
.stand { margin-top: 2.25rem; color: var(--leise); font-size: .95rem; }
.querlink { margin: 2.25rem 0 0; padding-top: 1rem; border-top: 1px solid hsl(165 15% 30% / .28); }

@media (max-width: 900px) {
  body { padding: 1rem 1rem calc(var(--leiste) + 1.5rem + env(safe-area-inset-bottom)); }
  .kontakt {
    left: 0; right: 0; top: auto; bottom: 0;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: .75rem; row-gap: .05rem;
    padding: .5rem max(.75rem, env(safe-area-inset-right)) calc(.5rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    font-size: clamp(.75rem, 3.3vw, .88rem); line-height: 1.25;
  }
  .kontakt__zeit { grid-column: 1; grid-row: 1; }
  .kontakt__adresse { grid-column: 1; grid-row: 2; text-decoration: underline; text-underline-offset: .18em; }
  .kontakt__nummer { grid-column: 2; grid-row: 1 / span 2; font-size: clamp(1.22rem, 5.5vw, 1.6rem); min-height: 44px; display: flex; align-items: center; padding-inline: .25rem; }
}
