/* dabei.fan: Schriften (lokal, keine Google-Server) und Grundlagen für alle Seiten */

@font-face {
  font-family: 'Archivo';
  src: url('fonts/archivo-latin-wdth-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #f3f3ef;
  color: #141414;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

a { color: #141414; }
a:hover { color: #5e5e5a; }

:focus-visible {
  outline: 3px solid #ff5a1f;
  outline-offset: 3px;
}

@keyframes dabei-band { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.dabei-band-track { animation: dabei-band 38s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .dabei-band-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* Warteliste */
.wl-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
}
.wl-consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: #ff5a1f;
}
.wl-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.wl-status {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  min-height: 1.4em;
}
.wl-status[data-kind='ok'] { color: #0b7a3e; }
.wl-dark .wl-status[data-kind='ok'] { color: #7ee2a8; }
.wl-status[data-kind='err'] { color: #c8102e; }
.wl-dark .wl-status[data-kind='err'] { color: #ff8a8a; }
.wl-dark .wl-consent a { color: #f3f3ef; }
button[type='submit'] { cursor: pointer; }
button[type='submit'][disabled] { opacity: 0.6; cursor: wait; }

/* Rechtliche Seiten */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 24px 96px;
  box-sizing: border-box;
  line-height: 1.6;
  font-size: 16px;
  overflow-wrap: break-word;
  hyphens: auto;
}
.legal-head {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.wordmark {
  text-decoration: none;
  color: #141414;
  display: inline-flex;
  align-items: baseline;
  font-family: Archivo, Inter, sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.wordmark i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a1f;
  margin-left: 2px;
}
.legal h1 {
  font-family: Archivo, Inter, sans-serif;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(36px, 7vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 32px 0 8px;
}
.legal h2 {
  font-family: Archivo, Inter, sans-serif;
  font-stretch: 112%;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 40px 0 8px;
}
.legal h3 { font-size: 17px; margin: 24px 0 4px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 20px; }
.legal .stand { color: #5e5e5a; font-size: 14px; margin-bottom: 32px; }
.legal .box {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 20px;
  margin: 16px 0;
}
.legal-foot {
  border-top: 1px solid #dcdcd6;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #5e5e5a;
}

/* Auf dem Handy: Stempel kleiner und an den Rand, damit er die Box-Tickets nicht verdeckt */
@media (max-width: 640px) {
  .hero-stamp {
    left: -6px !important;
    top: -8px !important;
    transform: rotate(-12deg) scale(0.62) !important;
    transform-origin: top left;
  }
}
