/* Unterseiten (Impressum, Datenschutz, 404) im Stil der Startseite „Fleischerpapier mit Titelbild“.
   Werte wie in entwuerfe/titelbild/index.html. */
:root {
  color-scheme: light dark;
  --papier: #FFFFFF;
  --papier-schatten: #F1EEEA;
  --stempel: #B3122B;
  --stempel-tief: #8A0D20;
  --stempel-hauch: #F6DADD;
  --tinte: #1C1A19;
  --tinte-weich: #57514D;
  --stempel-schrift: "Anton", "Arial Narrow", sans-serif;
  --text: "Atkinson Hyperlegible Next", Verdana, sans-serif;
  --max: 72rem;
  --rand: clamp(1rem, 4vw, 3rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scrollbar-color: var(--stempel) var(--papier-schatten); }
body { margin: 0; background: var(--papier); color: var(--tinte); font-family: var(--text); font-size: 1.1875rem; line-height: 1.55; display: flex; flex-direction: column; min-height: 100svh; }
main { flex: 1; }
::selection { background: var(--stempel); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--stempel); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.breite { max-width: var(--max); margin-inline: auto; padding-inline: var(--rand); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; background: var(--papier); border-bottom: 3px solid var(--stempel); }
.kopf-innen { display: flex; align-items: center; gap: 1.5rem; padding-block: 0.7rem; }
.marke { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.marke-logo { height: 3.6rem; width: auto; flex: none; }
.marke-name { font-family: var(--stempel-schrift); text-transform: uppercase; font-size: 1.7rem; color: var(--stempel); line-height: 1; }
.marke-zusatz { display: block; font-size: 0.875rem; color: var(--tinte-weich); line-height: 1.25; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:hover { color: var(--stempel); }
.kopf-tel { font-family: var(--stempel-schrift); font-size: 1.3rem; letter-spacing: 0.02em; text-decoration: none; color: #fff; background: var(--stempel); padding: 0.45rem 0.9rem; border-radius: 3px; white-space: nowrap; }
.kopf-tel:hover { background: var(--stempel-tief); }

/* Seiteninhalt */
.seite { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.seite-titel { font-family: var(--stempel-schrift); text-transform: uppercase; letter-spacing: 0.01em; color: var(--stempel); font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 0.95; }
.seite-lead { margin-top: 1rem; font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--tinte-weich); max-width: 52ch; }
.prosa { max-width: 46rem; margin-top: clamp(2rem, 4vw, 3rem); }
.prosa h2 { font-family: var(--stempel-schrift); text-transform: uppercase; font-size: 1.6rem; letter-spacing: 0.01em; margin: 2.4rem 0 0.7rem; padding-top: 1.2rem; border-top: 2px solid var(--stempel-hauch); }
.prosa h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prosa p + p { margin-top: 0.8rem; }
.rechts-liste { margin: 0; }
.rechts-liste div { display: grid; grid-template-columns: minmax(10rem, 15rem) 1fr; gap: 0.2rem 1.5rem; padding: 0.5rem 0; border-bottom: 1px dashed var(--tinte-weich); }
.rechts-liste dt { font-weight: 700; }
.rechts-liste dd { margin: 0; overflow-wrap: anywhere; }
.offen { background: var(--stempel-hauch); padding: 0 0.3rem; border-radius: 2px; }

.knopf { display: inline-block; background: var(--stempel); color: #fff; font-weight: 700; text-decoration: none; padding: 0.95rem 1.4rem; border-radius: 4px; }
.knopf:hover { background: var(--stempel-tief); }
.knopf-rand { background: transparent; color: var(--stempel); box-shadow: inset 0 0 0 2px var(--stempel); }
.knopf-rand:hover { background: var(--stempel-hauch); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

/* Fuß */
.fuss { background: var(--stempel); color: #fff; padding-block: 2.4rem 2.8rem; }
.fuss-innen { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 2rem; }
.fuss-marke { font-family: var(--stempel-schrift); text-transform: uppercase; font-size: 1.8rem; }
.fuss nav { margin-left: auto; display: flex; gap: 1.2rem; }
.handy-anruf { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .kopf-tel { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 1.125rem; padding-bottom: 4rem; }
  .kopf-tel, .marke-zusatz { display: none; }
  .marke-logo { height: 3rem; }
  .rechts-liste div { grid-template-columns: 1fr; }
  .fuss nav { margin-left: 0; }
  .handy-anruf { display: block; position: fixed; inset: auto 0 0 0; z-index: 15; background: var(--stempel); color: #fff; text-align: center; font-weight: 700; text-decoration: none; padding: 1rem; box-shadow: 0 -6px 18px -8px rgb(0 0 0 / 0.4); }
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #1A1817;
    --papier-schatten: #242120;
    --stempel: #F2596D;
    --stempel-tief: #FF7A8B;
    --stempel-hauch: #3A1C21;
    --tinte: #F2EEE9;
    --tinte-weich: #BDB5AD;
  }
  .fuss, .knopf, .kopf-tel, .handy-anruf { background: #B3122B; }
  .knopf:hover, .kopf-tel:hover { background: #8A0D20; }
  .knopf-rand { background: transparent; }

  ::selection { background: #B3122B; color: #fff; }
}
