/* =========================================================
   Rot-Schwarze Ansbacher RSA e.V. — Stylesheet
   ========================================================= */

:root {
  --red: #c4161c;
  --red-deep: #8e0f14;
  --black: #0f0e0e;
  --ink: #1a1818;
  --coal: #232020;
  --paper: #f1ece2;
  --paper-2: #e6dfd1;
  --muted: #8a8580;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(15, 14, 14, .14);

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Archivo", system-ui, -apple-system, Segoe UI, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typo helpers ---------- */
.label {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.label--red { color: var(--red); }

.h-xl,
.h-lg,
.h-md {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.005em;
  margin: 0;
}

.h-xl { font-size: clamp(64px, 12vw, 176px); }
.h-lg { font-size: clamp(48px, 7.4vw, 104px); }
.h-md { font-size: clamp(30px, 3.6vw, 44px); line-height: .95; }

.outline {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px currentColor;
}

.red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px 14px;
  border: 2px solid var(--red);
  background: var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: background .2s, color .2s, transform .2s;
}

.btn:hover { background: transparent; color: var(--red); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--black); }

.btn--dark { background: var(--black); border-color: var(--black); }
.btn--dark:hover { background: transparent; color: var(--black); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(15, 14, 14, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.brand:hover img { transform: rotate(-20deg); }

.brand-text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 19px;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.brand-text small {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transition: right .25s;
}

.nav-links a:not(.btn):hover::after { right: 0; }
.nav-links .btn { padding: 11px 16px 10px; font-size: 17px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  margin: 6px 0;
  transition: transform .25s, opacity .25s;
}

@media (max-width: 980px) {
  .nav-toggle { display: block; position: relative; z-index: 2; }

  /* backdrop-filter würde das fixierte Menü auf die Header-Höhe begrenzen */
  .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--black); }

  .nav-links {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    visibility: hidden;
    flex-direction: column;
    justify-content: flex-start;
    gap: 22px;
    /* Menü scrollbar, falls das Handy zu niedrig ist */
    padding: 92px 20px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: var(--black);
    transform: translateY(-100%);
    transition: transform .4s cubic-bezier(.7, 0, .2, 1), visibility 0s .4s;
  }

  .nav-links a { font-size: 34px; }
  .nav-links .btn { font-size: 26px; padding: 16px 26px 14px; }
  /* zentriert, solange Platz ist – sonst oben beginnen und scrollen */
  .nav-links > li:first-child { margin-top: auto; }
  .nav-links > li:last-child { margin-bottom: auto; }

  .nav-open .nav-links { transform: none; visibility: visible; transition-delay: 0s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
}

/* Kleine/niedrige Handys: Menüpunkte kompakter, damit alles inkl. „Mitglied werden“ passt */
@media (max-width: 980px) and (max-height: 900px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 26px; }
  .nav-links .btn { font-size: 21px; padding: 13px 22px 11px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 0;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: grayscale(.25) contrast(1.05);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(15, 14, 14, .55) 0%, rgba(15, 14, 14, .15) 35%, rgba(15, 14, 14, .85) 78%, var(--black) 100%);
}

.hero-inner { width: 100%; padding-bottom: 56px; }

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 22px;
}

.hero-kicker span { display: inline-flex; align-items: center; gap: 8px; }
.hero-kicker span + span::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 10px;
}

.hero h1 { font-size: clamp(52px, 11.5vw, 168px); }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .outline {
  -webkit-text-fill-color: var(--black);
  -webkit-text-stroke: 3px var(--paper);
  paint-order: stroke fill;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-bottom p {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
  color: rgba(241, 236, 226, .85);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-sticker {
  position: absolute;
  right: var(--gutter);
  top: 128px;
  width: clamp(120px, 14vw, 190px);
  border-radius: 50%;
  transform: rotate(9deg);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  animation: wobble 7s ease-in-out infinite;
}

@keyframes wobble {
  0%, 100% { transform: rotate(9deg); }
  50% { transform: rotate(2deg) translateY(-6px); }
}

@media (max-width: 760px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .hero-sticker { display: none; }
}

/* ---------- Hero (Variante 2: Plakat) ---------- */
.hero2 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 128px 0 34px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* rotes Feld rechts, wie eine Fahnenbahn */
.hero2-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 38%;
  z-index: -1;
  background:
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 14px),
    var(--red);
}

.hero2-panel span {
  display: none;
  position: absolute;
  right: clamp(12px, 2vw, 32px);
  bottom: 40px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(64px, 9vw, 150px);
  line-height: .8;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px rgba(15, 14, 14, .55);
}

.hero2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.hero2-title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(64px, 9vw, 140px);
  line-height: .86;
  margin: 0;
}

.hero2-title .line { display: block; }

.hero2-title .outline {
  -webkit-text-fill-color: var(--black);
  -webkit-text-stroke: 2.5px var(--paper);
  paint-order: stroke fill;
}

.hero2-lead {
  margin: 28px 0 32px;
  max-width: 470px;
  font-size: 18px;
  color: rgba(241, 236, 226, .82);
}

.hero2-visual {
  position: relative;
  padding: 28px 0 70px 40px;
}

.hv-main {
  margin: 0;
  position: relative;
  transform: rotate(1.5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
  border: 10px solid var(--paper);
  border-bottom-width: 46px;
  background: var(--paper);
}

.hv-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hv-main figcaption {
  position: absolute;
  right: 4px;
  bottom: -32px;
  color: var(--black);
}

.hv-small {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  margin: 0;
  border: 7px solid var(--paper);
  transform: rotate(-6deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
}

.hv-small { border-bottom-width: 30px; background: var(--paper); }
.hv-small img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.hv-small figcaption { position: absolute; left: 2px; bottom: -23px; color: var(--black); font-size: 10px; }

.hv-sticker {
  position: absolute;
  right: -18px;
  top: -10px;
  width: clamp(96px, 10vw, 150px);
  border-radius: 50%;
  transform: rotate(12deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
  animation: wobble 7s ease-in-out infinite;
}

.hero2-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(36px, 5vw, 64px) 0 0;
  border-top: 1px solid var(--line);
  max-width: 62%;
}

.hero2-facts div { padding: 16px 16px 0 0; }
.hero2-facts dt { color: var(--muted); margin-bottom: 4px; }
.hero2-facts dd {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1.05;
}

/* Aufkleber-Collage rechts im Hero */
.hero-stickers {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1.02;
  margin-left: auto;
}

.st-logo {
  position: absolute;
  top: 2%;
  right: 6%;
  width: 64%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  clip-path: circle(50%);
  transform: rotate(8deg);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .45));
  outline: 9px solid var(--paper);
  outline-offset: -9px;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.st-banner {
  position: absolute;
  left: 0;
  bottom: 9%;
  width: 96%;
  border: 7px solid var(--paper);
  border-radius: 14px;
  transform: rotate(-5deg);
  box-shadow: 0 26px 50px rgba(0, 0, 0, .5);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.hero-stickers:hover .st-logo { transform: rotate(2deg) scale(1.02); }
.hero-stickers:hover .st-banner { transform: rotate(-3deg) translateY(-4px); }

.st-label {
  position: absolute;
  right: 4%;
  bottom: -1%;
  background: var(--black);
  color: var(--paper);
  padding: 10px 14px 9px;
  transform: rotate(3deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  z-index: 2;
}

.hero-stickers .st-label {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: .04em;
  padding: 10px 18px 8px;
}

@media (max-width: 900px) {
  .hero-stickers { margin: 0 auto; width: min(100%, 460px); }
}

/* Header-Button über dem roten Feld absetzen */
.site-header:not(.is-scrolled) .nav-links .btn { background: var(--black); border-color: var(--black); }
.site-header:not(.is-scrolled) .nav-links .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--black); }

@media (max-width: 900px) {
  .hero2 { min-height: 0; padding-top: 112px; }
  .hero2-grid { grid-template-columns: 1fr; }
  .hero2-panel { top: auto; width: 100%; height: 40%; }
  .hero2-panel span { display: none; }
  .hero2-visual { padding: 10px 8px 60px 24px; max-width: 560px; }
  .hv-sticker { right: -4px; width: 88px; }
  .hero2-facts { max-width: none; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: space-between; gap: 0 12px; border-top-color: rgba(15, 14, 14, .3); }
  .hero2-facts dt { color: rgba(15, 14, 14, .65); }
  .hero2-facts dd { color: var(--black); }
}

@media (max-width: 980px) {
  .site-header:not(.is-scrolled) .nav-links .btn { background: var(--red); border-color: var(--red); }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  border-block: 2px solid var(--black);
  transform: rotate(-1.2deg);
  margin: -14px -20px 0;
  position: relative;
  z-index: 3;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}

.ticker span {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  text-transform: uppercase;
  padding: 10px 0 8px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.ticker span::after {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--black);
  transform: rotate(45deg);
  margin: 0 28px;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

.section--paper {
  background: var(--paper);
  color: var(--black);
}

.section--paper .label:not(.label--red) { color: #6d6760; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 24px 48px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head .label { display: block; margin-bottom: 18px; }
.section-head p { margin: 0; }

@media (max-width: 860px) {
  .section-head { grid-template-columns: 1fr; }
}

.num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--red);
}

/* ---------- Verein / About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.about-photos {
  position: relative;
  padding-bottom: 60px;
}

.about-photos .p1 {
  width: 82%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-photos .p2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 8px solid var(--paper);
  border-radius: var(--radius);
  transform: rotate(3deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
}

.about-photos .tape {
  position: absolute;
  left: 8%;
  top: -14px;
  background: var(--red);
  color: #fff;
  padding: 6px 14px 5px;
  transform: rotate(-4deg);
  z-index: 2;
}

.about-copy .lead {
  font-size: clamp(21px, 2.1vw, 26px);
  line-height: 1.4;
  font-weight: 500;
  margin: 26px 0 22px;
}

.about-copy p { color: #3a3633; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
  border-top: 2px solid var(--black);
}

.fact {
  padding: 18px 16px 4px 0;
}

.fact + .fact { padding-left: 16px; border-left: 1px solid var(--line-dark); }

.fact b {
  display: block;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1;
}

.fact span { font-size: 14px; color: #5b5651; line-height: 1.35; display: block; margin-top: 6px; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
}

/* ---------- Jubiläum band ---------- */
.jubi {
  background: var(--red);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.jubi-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 90px);
}

.jubi-big {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(160px, 24vw, 340px);
  line-height: .75;
  color: var(--black);
  letter-spacing: -.03em;
}

.jubi h2 { margin-bottom: 16px; }
.jubi p { max-width: 560px; margin: 0; font-size: 18px; }

@media (max-width: 640px) {
  .jubi-inner { grid-template-columns: 1fr; }
}

/* ---------- Auswärts ---------- */
.away {
  background:
    radial-gradient(1200px 500px at 85% 0%, rgba(196, 22, 28, .18), transparent 60%),
    var(--black);
}

.away-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

@media (max-width: 900px) {
  .away-grid { grid-template-columns: 1fr; }
}

/* Ticket */
.ticket {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  background: var(--paper);
  color: var(--black);
  border-radius: 10px;
  position: relative;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .45));
  transform: rotate(-1deg);
}

.ticket-main { padding: 30px 32px 28px; }

.ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--black);
}

.ticket-match {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(38px, 5vw, 62px);
  line-height: .88;
  margin: 0 0 6px;
}

.ticket-match .vs {
  display: block;
  font-size: .42em;
  color: var(--red);
  margin: 6px 0;
  letter-spacing: .04em;
}

.ticket-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 8px 28px;
  margin-top: 22px;
}

.ticket-meta div { display: flex; flex-direction: column; }
.ticket-meta b { font-family: var(--f-display); font-size: 24px; font-weight: 800; line-height: 1.1; }

.ticket-stub {
  border-left: 2px dashed rgba(15, 14, 14, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--red);
  color: #fff;
  border-radius: 0 10px 10px 0;
}

.ticket-stub::before,
.ticket-stub::after {
  content: "";
  position: absolute;
  left: -13px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--black);
}

.ticket-stub::before { top: -12px; }
.ticket-stub::after { bottom: -12px; }

.ticket-stub span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 520px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket-stub { border-left: 0; border-top: 2px dashed rgba(15, 14, 14, .35); border-radius: 0 0 10px 10px; padding: 14px; }
  .ticket-stub::before, .ticket-stub::after { top: -13px; left: auto; bottom: auto; }
  .ticket-stub::before { left: -12px; }
  .ticket-stub::after { right: -12px; }
  .ticket-stub span { writing-mode: horizontal-tb; transform: none; font-size: 24px; }
  .ticket-meta { grid-template-columns: 1fr 1fr; }
  .ticket-meta .meta-wide { grid-column: 1 / -1; }
}

.away-rules { list-style: none; margin: 0; padding: 0; counter-reset: rule; }

.away-rules li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: rule;
}

.away-rules li:first-child { border-top: 1px solid var(--line); }

.away-rules li::before {
  content: counter(rule, decimal-leading-zero);
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--red);
}

.away-rules h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  margin: 0 0 4px;
  line-height: 1.05;
}

.away-rules p { margin: 0; color: rgba(241, 236, 226, .72); font-size: 16px; }

.away-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Hinweis: keine Ticket-Garantie */
.section-head p.away-note {
  margin-top: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--red);
  background: rgba(196, 22, 28, .1);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  color: rgba(241, 236, 226, .85);
}
.away-note strong { color: var(--paper); }

/* ---------- Spielplan: Heim & Auswärts ---------- */
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .home-grid { grid-template-columns: 1fr; } }

/* Heim-Ticket: dunkel auf hellem Grund, leicht andersherum gedreht */
.ticket--home { background: var(--black); color: var(--paper); transform: rotate(1deg); filter: drop-shadow(0 26px 40px rgba(15, 14, 14, .28)); }
.ticket--home .ticket-top { border-bottom-color: var(--paper); }
.ticket--home .ticket-top .label, .ticket--home .label { color: rgba(241, 236, 226, .6); }
.ticket--home .ticket-top .red { color: var(--red); }
.ticket--home .ticket-stub { border-left-color: rgba(241, 236, 226, .35); }
.ticket--home .ticket-stub::before, .ticket--home .ticket-stub::after { background: var(--paper); }
@media (max-width: 520px) { .ticket--home .ticket-stub { border-top-color: rgba(241, 236, 226, .35); } }

/* Countdown im Ticket */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
  max-width: 420px;
}
.countdown div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px 8px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--paper);
}
.ticket--home .countdown div { background: var(--red); color: #fff; }
.countdown b {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown .label { font-size: 10px; margin-top: 4px; color: inherit !important; opacity: .7; }
.countdown.is-live { display: block; }
.countdown-live {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse { 50% { opacity: .75; } }
.countdown-note { margin: 22px 0 0; font-size: 15px; opacity: .75; max-width: 46ch; }
.next-match > .countdown-note { margin: 0; }

/* Liste der folgenden Spiele */
.fixtures-block { margin-top: 0; }
.away .fixtures-block { margin-top: 48px; }
.fixtures-title { display: block; margin: 0 0 12px; }
.fixtures { list-style: none; margin: 0; padding: 0; }
.fixture {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.fixture:first-child { border-top: 1px solid var(--line); }
.section--paper .fixture { border-color: var(--line-dark); }
.fixture.is-hidden { display: none; }
.fixture b { font-family: var(--f-display); font-weight: 800; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.fixture small { display: block; font-size: 13px; opacity: .65; margin-top: 2px; }
.fx-date b { color: var(--red); }
@media (max-width: 520px) {
  .fixture { grid-template-columns: 1fr; gap: 4px; }
  .fx-date { display: flex; gap: 10px; align-items: baseline; }
  .fx-date small { margin: 0; }
}
.fixtures-more {
  margin-top: 16px;
  padding: 0;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.fixtures-more:hover { color: var(--red); }

/* ---------- Galerie ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 14px;
  border: 1.5px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

.filter:hover { background: var(--paper-2); }
.filter.is-active { background: var(--black); color: var(--paper); }
.filter sup { font-size: 10px; margin-left: 2px; opacity: .6; }

.gallery {
  columns: 4 240px;
  column-gap: 12px;
}

.gallery figure {
  margin: 0 0 12px;
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: zoom-in;
  background: var(--paper-2);
}

.gallery img {
  width: 100%;
  height: auto;
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), filter .4s;
}

.gallery figure:hover img { transform: scale(1.04); }

.gallery figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: var(--black);
  color: var(--paper);
  padding: 5px 9px 4px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s, transform .25s;
}

.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery figure.is-hidden { display: none; }

.gallery-more { text-align: center; margin-top: 36px; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 9, 9, .96);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: min(1400px, 100%);
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius);
}

.lb-btn {
  position: absolute;
  background: none;
  border: 0;
  color: var(--paper);
  cursor: pointer;
  padding: 14px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.lb-btn:hover { color: var(--red); }
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); font-size: 44px; }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); font-size: 44px; }

.lb-caption {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--muted);
}

/* ---------- Fanartikel ---------- */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.merch {
  background: #fff;
  color: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.merch-img {
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.merch-img img {
  max-height: 100%;
  object-fit: contain;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.merch:hover .merch-img img { transform: scale(1.06) rotate(-1.5deg); }

.merch-info {
  border-top: 1px solid var(--line-dark);
  padding: 14px 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.merch-info h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  line-height: 1;
}

@media (max-width: 1000px) { .merch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .merch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.stickers-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: clamp(60px, 8vw, 100px) 0 28px;
}

.stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.stickers img {
  height: 130px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.stickers img:nth-child(odd) { transform: rotate(-3deg); }
.stickers img:nth-child(even) { transform: rotate(2.5deg); }
.stickers img:hover { transform: rotate(0) scale(1.08); z-index: 2; position: relative; }

.stickers img.round { border-radius: 50%; }

@media (max-width: 560px) {
  .stickers img { height: 92px; }
}

.merch-note {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border: 1.5px dashed rgba(241, 236, 226, .3);
  border-radius: var(--radius);
}

.merch-note p { margin: 0; font-size: 18px; }

/* ---------- Vorstand ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.member { position: relative; }

.member-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black);
  position: relative;
  transform-origin: 50% 100%;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

/* Hover: ganzes Foto wird ca. 15 % größer (wächst nach oben, Name bleibt frei) */
@media (hover: hover) {
  .member:hover { z-index: 2; }
  .member:hover .member-photo {
    transform: scale(1.15);
    box-shadow: 0 18px 40px rgba(15, 14, 14, .35);
  }
}
@media (prefers-reduced-motion: reduce) {
  .member-photo { transition: none; }
}

.member-photo .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 96px;
  color: var(--red);
  background:
    repeating-linear-gradient(-45deg, var(--black) 0 22px, #1d1b1b 22px 44px);
}

.member-role {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  padding: 5px 9px 4px;
}

.member h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 28px;
  text-transform: uppercase;
  line-height: .95;
  margin: 16px 0 10px;
}

.member-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.member-links a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4a4541;
}

.member-links a:hover { color: var(--red); }
.member-links svg { width: 15px; height: 15px; flex: none; }

@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .member h3 { font-size: 23px; } }

/* ---------- Mitglied werden ---------- */
.join {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}

.join::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/cover.jpg") center / cover no-repeat;
  mix-blend-mode: multiply;
  opacity: .28;
  filter: grayscale(1);
}

.join .wrap { position: relative; }

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.join h2 .outline { -webkit-text-stroke-color: #fff; }

.join-intro { font-size: 19px; max-width: 520px; margin: 26px 0 32px; }
.join-intro a { color: #fff; overflow-wrap: anywhere; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--black);
  border-radius: var(--radius);
}

.steps li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 26px 28px;
}

.steps li + li { border-top: 1px solid var(--line); }

.steps b {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 54px;
  line-height: .9;
  color: var(--red);
}

.steps h3 {
  margin: 0 0 4px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 25px;
  text-transform: uppercase;
  line-height: 1.05;
}

.steps p { margin: 0; color: rgba(241, 236, 226, .72); font-size: 16px; }

@media (max-width: 860px) { .join-grid { grid-template-columns: 1fr; } }

/* Mitgliedsbeiträge (aufklappbar) */
.fees {
  margin-top: 28px;
  max-width: 560px;
  background: var(--black);
  color: var(--paper);
  border-radius: var(--radius);
}
.fees summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.fees summary::-webkit-details-marker { display: none; }
.fees summary svg { width: 22px; height: 22px; flex: none; color: var(--red); transition: transform .2s; }
.fees[open] summary svg { transform: rotate(180deg); }
.fees summary:hover span { color: #fff; }
.fees summary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: var(--radius); }
.fees-body { padding: 0 22px 22px; border-top: 1px solid var(--line); }
.fees-unit { margin: 16px 0 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: rgba(241, 236, 226, .65); }
.fees-table td small { display: block; font-family: var(--f-body, inherit); font-weight: 400; font-size: 13px; color: rgba(241, 236, 226, .65); margin-top: 2px; }
.fees-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.fees-table th, .fees-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.fees-table th { text-align: left; font-weight: 700; font-size: 17px; }
.fees-table th small { display: block; font-weight: 400; font-size: 14px; color: rgba(241, 236, 226, .65); margin-top: 2px; }
.fees-table td {
  text-align: right;
  white-space: nowrap;
  padding-left: 16px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  color: var(--red);
}
.fees-extra { margin: 16px 0 10px; font-size: 16px; }
.fees-notes { margin: 0; padding-left: 18px; font-size: 14px; color: rgba(241, 236, 226, .72); }
.fees-notes li + li { margin-top: 6px; }

/* ---------- Freunde / Links ---------- */
.friends {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.friend {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.friend:hover { border-color: var(--red); background: rgba(196, 22, 28, .06); }

.friend img { width: 72px; height: 72px; object-fit: contain; }

.friend .ico {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 26px;
}

.friend h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1;
}

.friend p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.friend svg { width: 22px; height: 22px; color: var(--red); transition: transform .2s; }
.friend:hover svg { transform: translate(3px, -3px); }

@media (max-width: 900px) { .friends { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: clamp(64px, 8vw, 110px) 0 28px;
}

.footer-big {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(52px, 10vw, 150px);
  line-height: .85;
  margin: 0 0 clamp(40px, 6vw, 72px);
}

.footer-big a { text-decoration: none; transition: color .2s; display: inline-block; word-break: break-word; }
.footer-big a:hover { color: var(--red); }

.footer-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-cols .label { display: block; color: var(--muted); margin-bottom: 14px; }
.footer-cols p, .footer-cols ul { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.8; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--red); }

.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  color: var(--muted);
}

.footer-legal a { text-decoration: none; margin-left: 20px; }
.footer-legal a:hover { color: var(--paper); }

@media (max-width: 860px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > :first-child { grid-column: 1 / -1; }
}

/* ---------- Unterseite (Impressum) ---------- */
.page-hero {
  padding: 170px 0 60px;
  border-bottom: 1px solid var(--line);
}

.legal {
  max-width: 760px;
  padding-block: 60px 120px;
}

.legal h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
  margin: 48px 0 10px;
  line-height: 1;
}

.legal p { color: rgba(241, 236, 226, .8); }
.legal a { color: var(--red); }

.notice {
  border-left: 4px solid var(--red);
  background: var(--coal);
  padding: 18px 22px;
  margin: 24px 0;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Grain overlay */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* =========================================================
   Animationen & Dynamik
   ========================================================= */

/* Scroll-Fortschritt oben */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--red);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  z-index: 60;
  pointer-events: none;
}

/* Hero: Einstieg */
@keyframes rise {
  from { opacity: 0; transform: translateY(60px) skewY(5deg); }
  to { opacity: 1; transform: none; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes panel-in {
  from { clip-path: inset(0 0 0 100%); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes slap {
  0% { opacity: 0; transform: scale(1.6) rotate(var(--r0)); }
  55% { opacity: 1; transform: scale(.95) rotate(var(--r)); }
  75% { transform: scale(1.02) rotate(var(--r)); }
  100% { opacity: 1; transform: scale(1) rotate(var(--r)); }
}

@keyframes wiggle {
  0%, 86%, 100% { transform: rotate(var(--r)); }
  89% { transform: rotate(calc(var(--r) - 5deg)) scale(1.06); }
  93% { transform: rotate(calc(var(--r) + 4deg)) scale(1.06); }
  96% { transform: rotate(var(--r)); }
}

.hero2-panel { animation: panel-in 1.1s cubic-bezier(.7, 0, .2, 1) .1s backwards; }

.hero2 .hero-kicker { animation: fade-up .7s cubic-bezier(.2, .8, .2, 1) .1s backwards; }
.hero2-title .line { animation: rise .9s cubic-bezier(.2, .8, .2, 1) backwards; transform-origin: 0 100%; }
.hero2-title .line:nth-child(1) { animation-delay: .2s; }
.hero2-title .line:nth-child(2) { animation-delay: .32s; }
.hero2-title .line:nth-child(3) { animation-delay: .44s; }
.hero2-lead { animation: fade-up .8s cubic-bezier(.2, .8, .2, 1) .65s backwards; }
.hero2 .hero-cta { animation: fade-up .8s cubic-bezier(.2, .8, .2, 1) .78s backwards; }
.hero2-facts > div { animation: fade-up .7s cubic-bezier(.2, .8, .2, 1) backwards; }
.hero2-facts > div:nth-child(1) { animation-delay: .95s; }
.hero2-facts > div:nth-child(2) { animation-delay: 1.05s; }
.hero2-facts > div:nth-child(3) { animation-delay: 1.15s; }

/* Aufkleber werden "draufgeklatscht" + reagieren auf die Maus */
.st-logo {
  --r: 8deg; --r0: 28deg;
  transform: translate(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -18px)) rotate(var(--r));
  animation: slap .75s cubic-bezier(.2, .9, .3, 1) .55s backwards;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.st-banner {
  --r: -5deg; --r0: -20deg;
  transform: translate(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 12px)) rotate(var(--r));
  animation: slap .75s cubic-bezier(.2, .9, .3, 1) .85s backwards;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

.hero-stickers:hover .st-logo {
  transform: translate(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -18px)) rotate(2deg) scale(1.03);
}

.hero-stickers:hover .st-banner {
  transform: translate(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * 12px - 6px)) rotate(-3deg);
}

.hero-stickers .st-label {
  --r: 3deg; --r0: 20deg;
  transform: rotate(var(--r));
  animation: slap .6s cubic-bezier(.2, .9, .3, 1) 1.15s backwards, wiggle 5s ease-in-out 3s infinite;
}

/* Buttons: Licht-Wisch beim Hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .6s ease;
}
.btn:hover::after { transform: translateX(120%); }

/* Gestaffelte Reveals */
.team .member.reveal:nth-child(2) { transition-delay: .08s; }
.team .member.reveal:nth-child(3) { transition-delay: .16s; }
.team .member.reveal:nth-child(4) { transition-delay: .24s; }
.team .member.reveal:nth-child(5) { transition-delay: .32s; }

.merch-grid.reveal .merch { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.merch-grid.reveal.is-in .merch { opacity: 1; transform: none; }
.merch-grid.reveal.is-in .merch:nth-child(2) { transition-delay: .08s; }
.merch-grid.reveal.is-in .merch:nth-child(3) { transition-delay: .16s; }
.merch-grid.reveal.is-in .merch:nth-child(4) { transition-delay: .24s; }
.merch-grid.reveal.is-in .merch:nth-child(5) { transition-delay: .32s; }

.stickers.reveal img { opacity: 0; scale: .6; transition: opacity .4s ease, scale .5s cubic-bezier(.3, 1.6, .5, 1), transform .3s; }
.stickers.reveal.is-in img { opacity: 1; scale: 1; }
.stickers.reveal.is-in img:nth-child(2) { transition-delay: .06s; }
.stickers.reveal.is-in img:nth-child(3) { transition-delay: .12s; }
.stickers.reveal.is-in img:nth-child(4) { transition-delay: .18s; }
.stickers.reveal.is-in img:nth-child(5) { transition-delay: .24s; }
.stickers.reveal.is-in img:nth-child(6) { transition-delay: .30s; }
.stickers.reveal.is-in img:nth-child(7) { transition-delay: .36s; }
.stickers.reveal.is-in img:nth-child(8) { transition-delay: .42s; }
.stickers.reveal.is-in img:nth-child(9) { transition-delay: .48s; }

/* Riesige "5" beim Jubiläum */
.jubi-big.reveal { transform: scale(.4) rotate(-20deg); transition: opacity .6s ease, transform 1s cubic-bezier(.3, 1.5, .5, 1); }
.jubi-big.reveal.is-in { transform: none; }

/* Ticker läuft beim Hover langsamer – per JS (js/main.js → Ticker), denn eine geänderte
   animation-duration lässt das Band springen. */

@media (prefers-reduced-motion: reduce) {
  .merch-grid.reveal .merch, .stickers.reveal img { opacity: 1; transform: none; scale: 1; }
  .jubi-big.reveal { transform: none; }
}

/* Rollen-Etikett auf den Vorstandsfotos immer weiß */
.section--paper .member-role.label { color: #fff; }

/* =========================================================
   Kontakt & Formular
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-intro .lead {
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.45;
  margin: 24px 0 36px;
  color: #3a3633;
}

.contact-direct { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--black); }
.contact-direct li { display: flex; flex-direction: column; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.contact-direct .label { margin-bottom: 4px; }
.contact-direct a { text-decoration: none; font-weight: 500; }
.contact-direct a:hover { color: var(--red); }

.contact-form {
  background: var(--black);
  color: var(--paper);
  padding: clamp(24px, 4vw, 44px);
  border-radius: 6px;
  box-shadow: 0 30px 60px rgba(15, 14, 14, .18);
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  border-radius: 6px 6px 0 0;
  background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--black) 40px 80px);
}

.topics { border: 0; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { color: var(--muted); margin-bottom: 12px; padding: 0; }
.topics label { cursor: pointer; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span {
  display: inline-block;
  padding: 9px 14px 8px;
  border: 1.5px solid rgba(241, 236, 226, .3);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .2s, border-color .2s, color .2s;
}
.topics label:hover span { border-color: var(--paper); }
.topics input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.topics input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }

.field label {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 8px;
}

.contact-form i { font-style: normal; color: var(--red); }

.field input,
.field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--paper);
  background: #1c1a1a;
  border: 1.5px solid rgba(241, 236, 226, .16);
  border-radius: 4px;
  padding: 14px 16px;
  transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: #6f6a65; }
.field input:hover, .field textarea:hover { border-color: rgba(241, 236, 226, .32); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #221f1f;
  box-shadow: 0 0 0 4px rgba(196, 22, 28, .25);
}

.field-error {
  display: none;
  color: #ff6b6f;
  font-size: 13px;
  margin-top: 6px;
}

.field.is-invalid input,
.field.is-invalid textarea { border-color: #ff6b6f; }
.field.is-invalid .field-error,
.consent-error.is-visible { display: block; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(241, 236, 226, .75);
  margin: 6px 0 4px;
  cursor: pointer;
}

.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); }
.consent a { color: var(--paper); }
.consent-error { margin: 0 0 4px 34px; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}

.form-hint { color: var(--muted); }

.contact-form .btn[disabled] { opacity: .6; cursor: progress; }

.form-status {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
  animation: fade-up .5s cubic-bezier(.2, .8, .2, 1);
}

.form-status.is-ok { background: rgba(46, 160, 90, .16); border: 1px solid rgba(46, 160, 90, .6); }
.form-status.is-error { background: rgba(255, 107, 111, .12); border: 1px solid rgba(255, 107, 111, .6); }
.form-status a { color: var(--paper); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* Footer ohne große Überschrift */
.footer { padding-top: clamp(56px, 6vw, 80px); }

/* =========================================================
   Aktuelles
   ========================================================= */
.news { background: var(--black); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: #181616;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: border-color .25s, transform .4s cubic-bezier(.2, .8, .2, 1);
}

.news-grid.is-ready .news-card { animation: fade-up .7s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * 90ms) forwards; }
.news-card:hover { border-color: rgba(196, 22, 28, .7); }
.news-card.is-hidden { display: none; }

.news-img { aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.news-card:hover .news-img img { transform: scale(1.05); }

.news-img--logo {
  display: grid;
  place-items: center;
  background: repeating-linear-gradient(-45deg, var(--red) 0 18px, #b11319 18px 36px);
}

.news-img--logo span {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 72px;
  color: var(--black);
  letter-spacing: -.02em;
}

.news-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.news-body time { color: var(--red); margin-bottom: 10px; }

.news-body h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.news-body p {
  margin: 0;
  color: rgba(241, 236, 226, .75);
  font-size: 16px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card.is-open .news-body p { -webkit-line-clamp: unset; display: block; }

.news-toggle {
  align-self: flex-start;
  margin-top: 14px;
  background: none;
  border: 0;
  padding: 0;
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid var(--red);
}

/* Aufmacher: groß über zwei Spalten */
.news-card--lead {
  grid-column: span 3;
  flex-direction: row;
}

.news-card--lead .news-img { aspect-ratio: auto; flex: 0 0 48%; min-height: 320px; }
.news-card--lead .news-body { padding: clamp(24px, 4vw, 48px); justify-content: center; }
.news-card--lead h3 { font-size: clamp(34px, 4.2vw, 56px); line-height: .92; }
.news-card--lead p { font-size: 18px; -webkit-line-clamp: 5; }

.news-more { text-align: center; margin-top: 32px; }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--lead { grid-column: span 2; }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card--lead { grid-column: auto; flex-direction: column; }
  .news-card--lead .news-img { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  .news-card { opacity: 1; transform: none; }
}

/* Login-Link im Menü */
.nav-login { display: inline-flex; align-items: center; gap: 6px; }
.nav-login svg { width: 17px; height: 17px; margin-top: -2px; }

/* Angemeldet: Initialen-Abzeichen + Vorname statt Schloss */
.nav-login.is-member {
  gap: 8px;
  padding: 4px 14px 4px 4px;
  border: 2px solid currentColor;
  border-radius: 999px;
}
.nav-login.is-member::after { display: none; }
.nav-login.is-member:hover { background: var(--paper); border-color: var(--paper); color: var(--black); }
.nav-avatar {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0;
}
/* grüner Punkt = angemeldet */
.nav-avatar::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2fb35a;
  box-shadow: 0 0 0 2px var(--black);
}
.site-header:not(.is-scrolled) .nav-avatar { background: var(--black); }
@media (max-width: 980px) {
  .site-header:not(.is-scrolled) .nav-avatar { background: var(--red); }
  .nav-login.is-member { padding: 6px 22px 6px 6px; }
  .nav-avatar { width: 40px; height: 40px; font-size: 16px; }
}

/* Menü wird mit "Aktuelles" + "Mitglieder" breiter → früher aufs Burger-Menü wechseln */
.nav-links { gap: 22px; }
@media (max-width: 1240px) and (min-width: 981px) {
  .brand-text small { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 16px; }
  .nav-login span:not(.nav-avatar) { display: none; }
  .nav-login.is-member { padding-right: 4px; }
  .nav-links .btn { padding: 10px 12px 9px; font-size: 15px; }
}

/* hidden-Attribut immer respektieren (auch bei .btn, .field …) */
[hidden] { display: none !important; }

/* Rückblicke von Veranstaltungen in "Aktuelles" */
.news-img--gallery { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #0f0e0e; }
.news-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--black);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 10px 6px;
  border-radius: 4px;
}
.news-card--recap .news-body time { color: var(--paper); }
.news-card--recap .news-body time::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
  vertical-align: 1px;
}
.news-gallery-link { margin-top: 10px; }

/* =========================================================
   Rückblick-Detailansicht (Startseite)
   ========================================================= */
.news-card--link { cursor: pointer; }
.news-card--link:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.news-card--link:hover .news-open { border-bottom-color: var(--paper); }
.news-open { display: inline-block; align-self: flex-start; }

.recap-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 9, 9, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(0px, 4vh, 48px) clamp(0px, 3vw, 32px) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s .3s;
}

.recap-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }

.recap-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--black);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  padding: clamp(24px, 4vw, 48px) clamp(18px, 4vw, 48px) 48px;
  transform: translateY(60px);
  transition: transform .5s cubic-bezier(.2, .9, .3, 1);
  outline: none;
}

.recap-overlay.is-open .recap-panel { transform: none; }

.recap-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(15, 14, 14, .9);
  color: var(--paper);
  font-size: 18px;
  cursor: pointer;
  margin: -8px -8px 0 12px;
  transition: background .2s, border-color .2s;
}
.recap-close:hover { background: var(--red); border-color: var(--red); }

.recap-head h2 {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 6vw, 84px);
  line-height: .9;
  margin: 14px 0 12px;
}
.recap-head time { color: var(--muted); }

.recap-hero {
  display: block;
  width: 100%;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
  background: #181616;
}
.recap-hero img { width: 100%; max-height: 70vh; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.recap-hero:hover img { transform: scale(1.02); }

.recap-text {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.6;
  color: rgba(241, 236, 226, .88);
  max-width: 720px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--red);
}

.recap-grid {
  columns: 3 220px;
  column-gap: 10px;
  margin-top: 32px;
}

.recap-tile {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  break-inside: avoid;
  cursor: zoom-in;
  background: #181616;
  animation: fade-up .6s cubic-bezier(.2, .8, .2, 1) var(--d) backwards;
}
.recap-tile img { width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.recap-tile:hover img { transform: scale(1.04); }

.recap-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.recap-foot p { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: 24px; text-transform: uppercase; }

/* Bildansicht liegt über der Detailansicht */
.lightbox { z-index: 110; }

@media (max-width: 640px) {
  .recap-panel { border-radius: 14px 14px 0 0; }
  .recap-grid { columns: 2 140px; }
}

/* Preise bei Fanartikeln */
.merch-info { align-items: center; }
.merch-info .label { display: block; margin-top: 4px; color: #6d6760; }
.merch-price {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 22px;
  color: #fff;
  background: var(--red);
  padding: 6px 9px 4px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1;
}

/* Detailansicht eines Beitrags ohne Galerie: Titelbild nur zeigen (kein Zoom) */
.recap-hero--static { cursor: default; }
.recap-hero--static img { max-height: 420px; object-fit: contain; }
.recap-hero--static:hover img { transform: none; }

/* ---------- Live-Tabelle 2. Bundesliga ---------- */
.table-section {
  background: var(--coal);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.league { max-width: 980px; }
.league-note { margin: 0; opacity: .75; }
.league-bar { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.league-live {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px; border-radius: 99px;
  background: var(--red); color: #fff;
  font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.league-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: live-pulse 1.4s ease-in-out infinite; }
.league-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.league-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.league-table th {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-align: right; padding: 0 10px 10px; border-bottom: 1px solid var(--line);
}
.league-table abbr { text-decoration: none; cursor: help; }
.league-table td { text-align: right; padding: 11px 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.league-table th.lg-team, .league-table td.lg-team { text-align: left; width: 100%; }
.league-table .lg-pos { text-align: left; width: 3.2em; padding-left: 14px; position: relative; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.league-table td.lg-pos::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 2px; }
.league-table tr.z-up td.lg-pos::before { background: #3fa66b; }
.league-table tr.z-rel-up td.lg-pos::before, .league-table tr.z-rel-down td.lg-pos::before { background: #d9a21b; }
.league-table tr.z-down td.lg-pos::before { background: var(--red); }
.lg-name { font-weight: 600; }
.lg-short { display: none; }
.league-table td.lg-pts { font-family: var(--f-display); font-weight: 900; font-size: 20px !important; min-width: 2.4em; }
.lg-live {
  display: inline-block; margin-left: 10px; padding: 1px 8px; border-radius: var(--radius);
  background: rgba(196, 22, 28, .18); color: #ff6b6f;
  font-family: var(--f-mono); font-size: 12px; font-weight: 600; white-space: nowrap; vertical-align: 1px;
}
.lg-live small { font-weight: 400; opacity: .8; }
.league-table tr.is-fcn td { background: var(--red); color: #fff; border-bottom-color: var(--red); }
.league-table tr.is-fcn .lg-pos { color: #fff; }
.league-table tr.is-fcn .lg-live { background: rgba(0, 0, 0, .25); color: #fff; }
.league-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 14px; font-size: 13px; color: var(--muted);
}
.league-foot a { color: inherit; }
.league-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin: 0 6px 0 12px; vertical-align: -1px; }
.league-legend i:first-child { margin-left: 0; }
.league-legend .z-up { background: #3fa66b; }
.league-legend .z-rel { background: #d9a21b; }
.league-legend .z-down { background: var(--red); }
@media (max-width: 640px) {
  .league-table .lg-opt { display: none; }
  .lg-long { display: none; }
  .lg-short { display: inline; }
  .league-table td, .league-table th { padding-left: 6px; padding-right: 6px; }
  .league-table .lg-pos { padding-left: 12px; width: 2.6em; }
  .lg-live { display: block; margin: 3px 0 0; width: fit-content; }
  .lg-live small { display: none; }
}
