/* =========================================================
   EFC – Freunde des Frankfurter Fußballs
   Design-System v2: BOLD. SCHWARZ. ROT. WEISS.
   Kreativagentur-Energie statt Vereinsarchiv.
   ========================================================= */

:root {
  --bg: #0a0a0c;            /* Tiefschwarz (matcht 3D-Logo-Szene) */
  --panel: #131316;
  --panel-2: #1b1b20;
  --red: #e2001a;           /* exakter Logo-Rotton */
  --red-dark: #b00014;
  --white: #ffffff;
  --paper: #f5f4f2;         /* warmes Weiß für helle Flächen */
  --grey-300: #d4d4d8;
  --grey-500: #8b8b94;
  --grey-700: #3f3f46;

  /* Status-Farben Kartentool */
  --st-assigned: #6b6b74;
  --st-internal: #ffb400;
  --st-external: #e2001a;
  --st-taken: #17b26a;

  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--red); color: var(--white); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Display-Typo ---------- */
.d1, .d2, .d3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin: 0;
}
.d1 { font-size: clamp(3rem, 9vw, 8rem); }
.d2 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
.d3 { font-size: clamp(1.5rem, 3.4vw, 2.4rem); }
.red { color: var(--red); }

/* Outline-Text (nur Kontur) */
.outline {
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.14);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--grey-500);
}
.kicker::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--red);
}
/* In Sektions-/Seitenköpfen als eigene Zeile mit Abstand zur Headline */
.section-head .kicker,
.page-hero .kicker,
.hero-copy .kicker {
  display: flex;
  width: fit-content;
  margin-bottom: 20px;
}

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
}
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .7s cubic-bezier(.2,.65,.25,1), transform .7s cubic-bezier(.2,.65,.25,1);
}
.reveal.d1x { transition-delay: .08s; }
.reveal.d2x { transition-delay: .16s; }
.reveal.d3x { transition-delay: .24s; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(10,10,12,0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; transition: transform .3s; }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.brand-text span {
  font-size: 0.6rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.intern-link {
  margin-left: 10px;
  background: var(--red);
  color: var(--white);
}
.nav a.intern-link::after { display: none; }
.nav a.intern-link:hover { background: var(--white); color: var(--bg); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 1.7rem;
  cursor: pointer;
  padding: 4px 8px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 72% 42%, rgba(226,0,26,0.14), transparent 70%),
    var(--bg);
  padding-top: var(--nav-h);
}
.hero-bg-word {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(14rem, 42vw, 40rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.05);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(16px, 4vw, 60px);
  flex: 1;
}
.hero-copy h1 { margin: 18px 0 22px; }
.hero-sub {
  max-width: 46ch;
  color: var(--grey-300);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  margin: 0 0 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* 3D-Logo (gekapselt als iframe, Ränder weich maskiert) */
.hero-coin {
  position: relative;
  justify-self: center;
  width: clamp(280px, 34vw, 540px);
  aspect-ratio: 1;
}
.hero-coin::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, rgba(226,0,26,0.18), transparent 62%);
  pointer-events: none;
}
.hero-coin iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 74%);
  mask-image: radial-gradient(circle, #000 52%, transparent 74%);
}
.coin-hint {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--grey-500);
  white-space: nowrap;
  pointer-events: none;
}

/* Marquee-Laufband */
.marquee {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: var(--bg);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  width: max-content;
  animation: mq 26s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  padding-right: 3rem;
  color: var(--white);
}
.marquee span b { color: var(--red); font-weight: 400; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; position: relative; }
.section-head { margin-bottom: clamp(30px, 5vw, 56px); }
.section-head .sub {
  color: var(--grey-500);
  max-width: 60ch;
  margin: 14px 0 0;
}

/* Helle Sektion */
.section.light {
  background: var(--paper);
  color: var(--bg);
}
.section.light .outline { -webkit-text-stroke-color: rgba(10,10,12,0.12); }
.section.light .section-head .sub { color: var(--grey-700); }

/* ---------- Spielplan ---------- */
.matches { display: flex; flex-direction: column; }

/* Featured: nächstes Spiel groß */
.match-feature {
  position: relative;
  background: var(--bg);
  color: var(--white);
  padding: clamp(26px, 4vw, 48px);
  margin-bottom: clamp(24px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 40px;
  align-items: end;
  overflow: hidden;
}
.match-feature::after {
  content: "NEXT";
  position: absolute;
  top: -0.18em; right: -0.06em;
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 11rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.09);
  pointer-events: none;
}
.match-feature .f-label {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 14px;
}
.match-feature .f-teams {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 5vw, 4rem);
  line-height: 0.95;
}
.match-feature .f-teams .opp { color: var(--white); }
.match-feature .f-teams .pre { color: var(--grey-500); font-size: 0.5em; display: block; margin-bottom: 6px; }
.match-feature .f-meta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 0.9rem;
  color: var(--grey-300);
}
.match-feature .f-meta b { color: var(--white); }
.match-feature .f-meet {
  text-align: right;
  border-left: 3px solid var(--red);
  padding-left: 22px;
}
.match-feature .f-meet .t {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1;
}
.match-feature .f-meet .l {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--grey-500);
  display: block;
  margin-bottom: 6px;
}
.match-feature .f-meet .loc { font-size: 0.82rem; color: var(--grey-300); margin-top: 4px; }

/* Listen-Reihen */
.match-row {
  display: grid;
  grid-template-columns: 110px minmax(0,1fr) auto;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  padding: clamp(16px, 2.4vw, 26px) clamp(12px, 2vw, 26px);
  border-top: 1px solid rgba(10,10,12,0.14);
  color: var(--bg);
  position: relative;
  transition: background .25s, color .25s, transform .25s, padding-left .25s;
  cursor: default;
}
.matches .match-row:last-child { border-bottom: 1px solid rgba(10,10,12,0.14); }
.match-row:hover {
  background: var(--bg);
  color: var(--white);
  padding-left: clamp(20px, 2.6vw, 38px);
}
.match-row .m-date {
  font-family: var(--font-display);
  line-height: 0.9;
}
.match-row .m-day { font-size: clamp(2rem, 4vw, 3.2rem); display: block; }
.match-row .m-mon {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--red);
}
.match-row .m-opp {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  line-height: 1;
}
.match-row .m-meta {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: var(--grey-500);
}
.match-row:hover .m-meta { color: var(--grey-300); }
.match-row .m-meet {
  text-align: right;
  font-size: 0.8rem;
  color: var(--grey-500);
  line-height: 1.5;
  white-space: nowrap;
}
.match-row .m-meet b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--red);
  letter-spacing: 0.04em;
}
.match-row:hover .m-meet { color: var(--grey-300); }

/* ---------- Statement / Über uns ---------- */
.statements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  counter-reset: stmt;
}
.statement { position: relative; padding-top: 20px; }
.statement::before {
  counter-increment: stmt;
  content: "0" counter(stmt);
  position: absolute;
  top: -0.35em; left: -0.04em;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.12);
  pointer-events: none;
}
.statement h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin: 34px 0 10px;
  position: relative;
}
.statement h3::after {
  content: "";
  display: block;
  width: 44px; height: 3px;
  background: var(--red);
  margin-top: 12px;
}
.statement p { color: var(--grey-300); margin: 0; font-size: 0.95rem; }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--panel);
  cursor: pointer;
}
.gallery figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 26px 14px 12px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(10,10,12,0.85));
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.gallery figure:hover figcaption { opacity: 1; transform: none; }
.gallery figure .zoom-ico {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,12,0.55);
  color: var(--white);
  font-size: 1rem;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.gallery figure:hover .zoom-ico { opacity: 1; }
.gallery figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.65,.25,1), filter .5s;
}
.gallery figure:hover img { transform: scale(1.07); filter: contrast(1.06); }
.gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(226,0,26,0.55));
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.gallery figure:hover::after { opacity: 1; }
.gallery .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--grey-700);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  background:
    repeating-linear-gradient(-45deg, var(--panel) 0 14px, var(--panel-2) 14px 28px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover { background: var(--white); border-color: var(--white); color: var(--bg); }
.btn:active { transform: scale(0.97); }
.btn.secondary { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn.secondary:hover { border-color: var(--white); background: var(--white); color: var(--bg); }
.btn.ghost { background: transparent; border-color: rgba(10,10,12,0.3); color: inherit; }
.btn.ghost:hover { border-color: var(--bg); background: var(--bg); color: var(--white); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.sm { padding: 8px 14px; font-size: 0.7rem; }

/* Auf dunklem Grund */
.section:not(.light) .btn.ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.section:not(.light) .btn.ghost:hover { background: var(--white); color: var(--bg); border-color: var(--white); }

/* ---------- Mini-Hero (Unterseiten) ---------- */
.page-hero {
  padding: calc(var(--nav-h) + clamp(50px, 9vw, 110px)) 0 clamp(36px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}
.page-hero .hero-bg-word { top: 58%; font-size: clamp(9rem, 30vw, 24rem); }
.page-hero .sub { color: var(--grey-500); max-width: 60ch; margin: 16px 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: clamp(50px, 8vw, 90px) 0 34px;
  overflow: hidden;
}
.footer-word {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 13rem);
  line-height: 0.85;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,0.1);
  user-select: none;
  white-space: nowrap;
  transition: -webkit-text-stroke-color .4s;
}
.site-footer:hover .footer-word { -webkit-text-stroke-color: rgba(226,0,26,0.55); }
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(26px, 5vw, 50px);
  font-size: 0.78rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.footer-row a { color: var(--white); }
.footer-row a:hover { color: var(--red); }

/* ---------- Login-Gate ---------- */
.gate-wrap {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 30px) var(--pad) 60px;
  position: relative;
  overflow: hidden;
}
.gate {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 4px solid var(--red);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}
.gate img { width: 84px; margin: 0 auto 18px; }
.gate h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.7rem;
  margin: 0 0 8px;
}
.gate p { color: var(--grey-500); margin: 0 0 20px; font-size: 0.88rem; }
.gate input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  margin-bottom: 12px;
}
.gate input:focus { outline: 2px solid var(--red); border-color: var(--red); }
.gate .error { color: var(--st-internal); font-size: 0.85rem; min-height: 20px; margin-bottom: 6px; }
.gate .btn { width: 100%; }

/* ---------- Interner Bereich: Kartentool ---------- */
.tool-section { padding-bottom: clamp(70px, 10vw, 120px); }
.intern-bar {
  background: var(--bg);
  color: var(--white);
  padding: 16px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  border-left: 4px solid var(--red);
}
.intern-bar .who { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; }
.intern-bar .who strong { color: var(--red); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin: 0 0 22px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; display: inline-block; }
.dot.assigned { background: var(--st-assigned); }
.dot.internal { background: var(--st-internal); }
.dot.external { background: var(--st-external); }
.dot.taken { background: var(--st-taken); }

.game-block {
  background: var(--white);
  border: 1px solid rgba(10,10,12,0.14);
  margin-bottom: 14px;
  overflow: hidden;
}
.game-head {
  padding: 18px 22px;
  background: var(--bg);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  transition: background .2s;
}
.game-head:hover { background: var(--panel-2); }
.game-head .g-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.03em;
}
.game-head .g-title .home { color: var(--red); }
.game-head .g-info { font-size: 0.78rem; color: var(--grey-500); margin-top: 4px; }
.game-head .g-count { font-size: 0.8rem; color: var(--grey-500); }
.game-head .chip {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-left: 8px;
  vertical-align: middle;
  font-family: var(--font-body);
}
.chip.free { background: var(--st-internal); color: var(--bg); }
.chip.ext { background: var(--st-external); color: var(--white); }
.chip.ok { background: var(--st-taken); color: var(--white); }

.tickets {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  background: var(--paper);
}
.ticket {
  background: var(--white);
  border: 1px solid rgba(10,10,12,0.1);
  border-left: 4px solid var(--st-assigned);
  padding: 12px 14px;
  font-size: 0.84rem;
  color: var(--bg);
  transition: transform .15s, box-shadow .15s;
}
.ticket:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(10,10,12,0.12); }
.ticket.internal { border-left-color: var(--st-internal); }
.ticket.external { border-left-color: var(--st-external); }
.ticket.taken { border-left-color: var(--st-taken); }
.ticket .t-no {
  font-size: 0.62rem;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
/* Besitzer der Karte – bleibt gleich, egal wer am Ende hingeht.
   Deshalb steht er oben und faellt farblich auf. */
.ticket .t-owner {
  font-size: 0.78rem;
  margin-top: 4px;
  color: var(--grey-700);
}
.ticket .t-owner strong {
  color: var(--red);
  font-weight: 700;
}
.ticket .t-owner.nobody { font-style: italic; color: var(--grey-500); }
.ticket .t-holder {
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 6px;
}
.ticket .t-status { font-size: 0.72rem; margin-top: 3px; color: var(--grey-700); }
/* Weg der Karte: Zulosung → wer sie danach übernommen hat */
.ticket .t-chain {
  font-size: 0.72rem;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--grey-300);
  color: var(--grey-700);
  line-height: 1.5;
  word-break: break-word;
}
.ticket .t-chain strong { color: var(--bg); }
.ticket .t-actions { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,10,12,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--white);
  color: var(--bg);
  border-top: 4px solid var(--red);
  padding: 28px;
  width: 100%;
  max-width: 400px;
}
.modal h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.4rem;
  margin: 0 0 14px;
}
.modal label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey-700);
  margin: 12px 0 6px;
}
.modal select, .modal input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(10,10,12,0.25);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--bg);
}
.modal select:focus, .modal input:focus { outline: 2px solid var(--red); }
.modal .modal-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ---------- Hinweise ---------- */
.notice {
  border: 1px solid var(--st-internal);
  border-left-width: 4px;
  background: rgba(255,180,0,0.08);
  padding: 14px 18px;
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.notice.info {
  border-color: var(--grey-500);
  background: rgba(139,139,148,0.1);
}
.section.light .notice { color: var(--bg); }

/* ---------- Lade-Status ---------- */
.state-msg {
  padding: 40px 20px;
  text-align: center;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
}
.spinner {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 3px solid rgba(139,139,148,0.3);
  border-top-color: var(--red);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-coin { order: -1; width: clamp(240px, 56vw, 340px); margin-top: 8px; }
  .hero { text-align: left; }
  .match-feature { grid-template-columns: 1fr; align-items: start; }
  .match-feature .f-meet { text-align: left; border-left: none; border-top: 3px solid var(--red); padding: 14px 0 0; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(10,10,12,0.97);
    backdrop-filter: blur(14px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px var(--pad) 22px;
    gap: 2px;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; font-size: 0.95rem; }
  .nav a.intern-link { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-toggle { display: block; }

  .match-row { grid-template-columns: 74px minmax(0,1fr); }
  .match-row .m-meet {
    grid-column: 1 / -1;
    text-align: left;
    white-space: normal;
    display: flex;
    gap: 10px;
    align-items: baseline;
    flex-wrap: wrap;
  }
  .match-row .m-meet b { display: inline; }
}

/* ---------- Lightbox (Foto groß) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8,8,10,0.95);
  padding: clamp(12px, 4vw, 48px);
}
.lightbox.open { display: flex; }
.lightbox .lb-stage {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox img {
  max-width: min(94vw, 1400px);
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox .lb-caption {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  font-size: 1rem;
  text-align: center;
}
.lightbox .lb-caption .lb-count { color: var(--grey-500); margin-left: 12px; font-size: 0.85rem; }
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  user-select: none;
}
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-prev { left: clamp(8px, 2vw, 28px); }
.lb-next { right: clamp(8px, 2vw, 28px); }
.lb-close {
  position: absolute;
  top: clamp(10px, 2vw, 26px);
  right: clamp(10px, 2vw, 26px);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  z-index: 2;
}
.lb-close:hover { background: var(--red); border-color: var(--red); }
@media (max-width: 720px) {
  .lightbox img { max-height: 70vh; }
  .lb-btn { width: 44px; height: 44px; font-size: 1.3rem; }
}

/* =========================================================
   Rechtstexte (Impressum, Datenschutz)
   ========================================================= */
.legal {
  max-width: 760px;
}
.legal h2 {
  font-family: "Anton", "Arial Narrow", Impact, sans-serif;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: .02em;
  text-transform: uppercase;
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 2px solid var(--grey-200, #e5e5e5);
}
.legal h2:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: 0;
}
.legal h3 {
  font-size: 1rem;
  margin: 22px 0 6px;
}
.legal p,
.legal li {
  line-height: 1.7;
  color: var(--grey-700, #3a3a3a);
}
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.legal .adr {
  font-style: normal;
  line-height: 1.7;
  margin: 0 0 14px;
}
.legal .adr strong { display: block; }
