* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f4f4f1;
  color: #202020;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
.hero {
  width: 100%;
  background: #111;
  overflow: hidden;
}
.hero img {
  display: block;
  width: 100%;
  height: auto;
}
main {
  max-width: 1050px;
  margin: 0 auto;
  padding: 42px 22px 70px;
}
section {
  background: white;
  margin: 0 0 28px;
  padding: 34px;
  border: 1px solid #d7d7d2;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
h1, h2 {
  color: #1c1c1c;
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-top: 0; }
h2 { font-size: 1.7rem; }
a { color: #164d24; font-weight: 700; }
.motto {
  margin: 34px 0 22px;
  padding: 18px;
  border-top: 3px solid #222;
  border-bottom: 3px solid #222;
  text-align: center;
  font-size: 1.1rem;
}
.notice {
  margin-top: 32px;
  padding: 18px;
  background: #f0f0ed;
  border-left: 5px solid #222;
  font-size: .92rem;
}
.placeholder {
  min-height: 180px;
  display: grid;
  place-items: center;
  background: #ecece8;
  border: 1px dashed #aaa;
  color: #666;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px;
  background: #202020;
  color: white;
  font-size: .9rem;
}
footer a { color: white; }
@media (max-width: 650px) {
  section { padding: 24px 20px; }
  main { padding: 22px 12px 45px; }
  footer { flex-direction: column; }
}

/* Schwarze Linien und dezentes Vereinswasserzeichen. */
body { background: #fff; color: #161616; font-size: 1rem; }
.hero { border-bottom: 5px solid #000; }
section { position: relative; isolation: isolate; border: 0; border-bottom: 3px solid #000; box-shadow: none; }
section::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/vereinssymbol.png") center / min(75%, 540px) auto repeat-y; opacity: .045; pointer-events: none; }
h1, h2 { border-bottom: 2px solid #000; padding-bottom: 18px; }
a { color: #000; }
footer { border-top: 4px solid #000; }
.gallery-stage { height: min(72vh, 650px); min-height: 300px; background: #f1f1f1; border: 2px solid #000; }
.gallery-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-controls { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding-top: 16px; }
button { font: inherit; color: #000; background: #fff; border: 2px solid #000; padding: 8px 16px; min-height: 44px; cursor: pointer; }
button:hover { background: #e9e9e9; }
:focus-visible { outline: 3px solid #246ac5; outline-offset: 4px; }
@media (max-width: 650px) { .gallery-stage { height: 480px; max-height: 70vh; } .gallery-controls { gap: 8px; } button { padding: 8px 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@font-face { font-family: "Nunito"; src: url("assets/fonts/Nunito.ttf") format("truetype"); font-weight: 200 1000; font-style: normal; font-display: swap; }
body { font-family: "Nunito", "Avenir Next", "Segoe UI", sans-serif; font-size: 1.0625rem; line-height: 1.75; }
h1, h2 { font-weight: 800; letter-spacing: -.025em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
strong, a { font-weight: 800; }
button { font-weight: 700; }

.rules-action { margin: 26px 0 32px; text-align: center; }
.bone-button { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 88px; width: 16rem; max-width: 100%; padding: 25px 56px; color: #000; text-decoration: none; line-height: 1.3; font-weight: 900; }
.bone-shape { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.bone-shape path { fill: #fff; stroke: #000; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.bone-button span { position: relative; }
.bone-button:hover .bone-shape path, .bone-button:focus-visible .bone-shape path { fill: #000; }
.bone-button:hover, .bone-button:focus-visible { color: #fff; }
.bone-button:active .bone-shape path { fill: #333; }

/* Trainingsquiz im Vereinsdesign */
.training-quiz header { margin-bottom: 24px; }
.training-quiz header h2 { margin-top: 0; }
.training-quiz .intro { color: #222; }
.training-quiz .card { border-top: 2px solid #000; padding: 24px 0; margin: 0; background: transparent; }
.training-quiz .card:focus { outline: none; }
.training-quiz .step { font-size: .9rem; font-weight: 800; margin-bottom: 12px; }
.training-quiz progress { display: block; width: 100%; height: 8px; accent-color: #000; margin-bottom: 26px; }
.training-quiz progress::-webkit-progress-bar { background: #e5e5e5; }
.training-quiz progress::-webkit-progress-value { background: #000; }
.training-quiz fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.training-quiz legend { font-size: 1.35rem; line-height: 1.4; font-weight: 800; margin-bottom: 18px; }
.training-quiz .option { display: flex; align-items: flex-start; gap: 12px; padding: 16px; margin: 12px 0; border: 2px solid #000; background: rgba(255,255,255,.8); cursor: pointer; }
.training-quiz .option:hover { background: #f0f0f0; }
.training-quiz .option:has(input:checked) { background: #000; color: #fff; }
.training-quiz input { width: 22px; height: 22px; flex-shrink: 0; margin: 4px 0 0; accent-color: #000; }
.training-quiz .nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.training-quiz button.primary, .training-quiz .link { background: #000; color: #fff; }
.training-quiz button.primary:hover, .training-quiz .link:hover { background: #333; }
.training-quiz button:disabled { opacity: .4; cursor: default; }
.training-quiz .link { display: inline-block; border: 2px solid #000; padding: 10px 16px; text-decoration: none; font-weight: 800; }
.training-quiz .result { border-top: 1px solid #000; padding-top: 20px; margin-top: 24px; }
.training-quiz .result h3 { font-size: 1.4rem; line-height: 1.4; overflow-wrap: break-word; }
.training-quiz .pdf-links { display: flex; flex-wrap: wrap; gap: 12px; }
.training-quiz .tag, .training-quiz .small, .training-quiz .quiz-footer { font-size: .875rem; }
.training-quiz .closing, .training-quiz .tag { font-weight: 800; }
.training-quiz .quiz-footer { border-top: 2px solid #000; margin-top: 12px; padding-top: 20px; }
.training-quiz details summary { cursor: pointer; font-weight: 800; }
.training-quiz li { margin-bottom: 8px; }
@media (max-width: 650px) { .training-quiz .option { padding: 12px; gap: 10px; } .training-quiz legend { font-size: 1.2rem; } }
