/* Gemeinsame Grundlagen aller TonTon-Seiten (Startseite, Impressum, 404).
   Liegt bewusst nicht unter /assets/, weil dort laut _headers 1 Jahr
   „immutable“ gecacht wird – Änderungen hier sollen sofort ankommen. */

:root {
  --cream: #F0EFE2;   /* Pantone 11-0608 TCX Coconut Milk */
  --green: #006E4B;
  --ink: #000;
  --muted: rgba(0,0,0,.62);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Muster-Bänder links und rechts */
.band {
  position: fixed;
  top: 0;
  bottom: 0;
  width: clamp(46px, 7vw, 104px);
  background-image: url("../assets/pattern.png");
  background-image: image-set(url("../assets/pattern.webp") type("image/webp"), url("../assets/pattern.png") type("image/png"));
  background-repeat: repeat-y;
  background-size: 300px auto;
  pointer-events: none;
  z-index: 0;
}
.band.l { left: 0; }
.band.r { right: 0; background-position: -90px -140px; }
@media (prefers-reduced-motion: no-preference) {
  .band { animation: drift 48s linear infinite; }
  .band.r { animation-direction: reverse; }
  @keyframes drift {
    from { background-position: 0 0; }
    to   { background-position: 0 -425px; }
  }
}
@media (max-width: 700px) {
  .band { width: 22px; background-size: 150px auto; }
}

header, main, footer { position: relative; z-index: 1; }

/* Fußzeile */
footer {
  padding: clamp(12px, 2.4vh, 26px) 24px;
  text-align: center;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
footer a { color: inherit; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .sep { margin: 0 0.8em; }
@media (max-width: 480px) {
  footer { padding-left: 38px; padding-right: 38px; line-height: 1.9; }
  footer .sep { display: none; }
  footer a { display: block; }
}

/* Nur für Screenreader sichtbar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
