/* usk-gneis.com – Flyer-Stil laut uskgneis/DESIGN.md
   (schwarz/rote Streifen, Körnung, Bebas-Headlines, Pinselstrich, Karten mit roter Oberkante) */

@font-face { font-family: "Bebas Neue"; src: url("fonts/bebas-neue-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 400; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Barlow"; font-weight: 600; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-display: swap; }

:root {
  --red: #d0102b;
  --red-dark: #a00c20;
  --stripe-red: #6e0a15;
  --stripe-black: #0c0c0c;
  --ink: #1f1f1f;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --ok: #1e7b3a;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 60' preserveAspectRatio='none'%3E%3Cpath d='M6 14 C40 6 90 9 140 7 S260 4 330 8 S392 6 396 12 L392 22 399 30 391 38 397 47 C360 54 300 51 240 53 S120 56 60 52 S12 55 4 49 L9 40 1 31 8 22 Z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Barlow", system-ui, sans-serif; font-size: 16px; line-height: 1.5; color: var(--ink);
  background-color: var(--stripe-black);
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55) 60%, rgba(0,0,0,.8)),
    var(--grain),
    repeating-linear-gradient(90deg, var(--stripe-black) 0 9vw, var(--stripe-red) 9vw 18vw);
  background-attachment: fixed, scroll, fixed;
}
img { max-width: 100%; height: auto; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ── Kopfleiste ─────────────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(12,12,12,.94); border-bottom: 4px solid var(--red);
  backdrop-filter: blur(6px); }
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.brand:hover { color: #fff; }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: "Bebas Neue", Impact, sans-serif; font-size: 28px; letter-spacing: .03em; line-height: 1; padding-top: 3px; }
.mainnav { display: flex; gap: 4px; }
.mainnav a { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 17px;
  color: #eee; text-decoration: none; padding: 8px 10px; border-bottom: 3px solid transparent; }
.mainnav a:hover { color: #fff; border-bottom-color: #555; }
.mainnav a.active { color: #fff; border-bottom-color: var(--red); }
.navtoggle, .burger { display: none; }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { color: #fff; position: relative; overflow: hidden; }
.hero-in { position: relative; padding: 48px 16px 56px; }
.hero-page .hero-in { padding: 40px 16px 36px; }
.hero-logo { position: absolute; right: 16px; top: 32px; width: clamp(110px, 22vw, 230px); height: auto;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.6)); }
.kicker { font-family: "Barlow Condensed"; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  font-size: clamp(16px, 2.2vw, 22px); margin: 0 0 18px; padding-bottom: 12px; position: relative; display: inline-block; }
.kicker::after { content: ""; position: absolute; left: 0; bottom: 0; width: 140px; max-width: 100%; height: 4px; background: var(--red); }
.hero-title { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; text-transform: uppercase;
  font-size: clamp(64px, 13vw, 150px); line-height: .88; margin: 0; letter-spacing: .01em; color: #f1f1f1;
  background: var(--grain), linear-gradient(#f4f4f4, #dcdcdc); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 18px rgba(0,0,0,.5));
  /* Hintergrund (= Textfarbe) muss bis über die Umlaut-Punkte reichen, sonst fehlen sie bei line-height .88 */
  padding-top: .2em; margin-top: -.2em; }
.hero-home .hero-title { max-width: calc(100% - clamp(110px, 22vw, 230px) + 40px); }
.hero-page .hero-title { font-size: clamp(54px, 10vw, 112px); }
.hero-sub { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  font-size: clamp(18px, 2.6vw, 26px); margin: 18px 0 26px; color: #ddd; }
.hero-page .hero-sub { margin-bottom: 0; }
.usp { list-style: none; margin: 0 0 30px; padding: 0; max-width: 620px; }
.usp li { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 2px solid var(--red); }
.usp li:last-child { border-bottom: 0; }
.usp .ico { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--red); color: var(--red);
  display: grid; place-items: center; background: rgba(0,0,0,.35); }
.usp svg { width: 24px; height: 24px; }
.usp b { display: block; font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; font-size: 20px; letter-spacing: .03em; }
.usp small { color: #aaa; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.brush-btn { display: inline-block; font-family: "Bebas Neue", Impact, sans-serif; font-size: 30px; letter-spacing: .04em; line-height: 1;
  color: #fff; background: var(--red); padding: 18px 46px 15px; text-decoration: none;
  -webkit-mask: var(--brush) center / 100% 100% no-repeat; mask: var(--brush) center / 100% 100% no-repeat;
  transition: transform .15s ease, background .15s ease; }
.brush-btn:hover { color: #fff; background: var(--red-dark); transform: translateY(-1px) rotate(-.4deg); }
.btn { display: inline-block; font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  font-size: 17px; color: #fff; background: var(--red); border: 2px solid var(--red); border-radius: 2px; padding: 9px 18px;
  text-decoration: none; cursor: pointer; }
.btn:hover { color: #fff; background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--red); }
.btn.ghost:hover { background: var(--red); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ── Inhalt ─────────────────────────────────────────────────────────── */
.main { padding-bottom: 30px; }
.card { background: #fff; border-radius: 4px; box-shadow: 0 18px 40px rgba(0,0,0,.45); border-top: 6px solid var(--red);
  padding: 26px 28px; margin: 0 0 22px; }
.display { font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: .02em;
  text-transform: uppercase; margin: 0 0 16px; }
.display small { font-family: "Barlow Condensed"; font-weight: 600; font-size: 18px; color: var(--muted); letter-spacing: .03em; margin-left: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.grid-2 { margin-bottom: 22px; }
.grid-2 > .card { margin-bottom: 0; }
.lead { font-size: 18px; }
.more-link { margin: 14px 0 0; font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.more-link a { text-decoration: none; margin-right: 14px; }
.more-row { margin: 16px 0 0; }
.source { color: #aaa; font-size: 14px; }
.source a { color: #ff8a9a; }

.section-dark { margin: 0 0 22px; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.bar { background: #0c0c0c; color: #fff; font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 30px;
  letter-spacing: .03em; text-transform: uppercase; padding: 14px 20px 10px; border-bottom: 4px solid var(--red); margin: 0; }
.team-chips { list-style: none; margin: 0; padding: 16px 20px 20px; background: rgba(12,12,12,.85); display: flex; flex-wrap: wrap; gap: 10px; }
.team-chips a { display: block; font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: 18px; color: #fff; text-decoration: none; border: 2px solid var(--red); padding: 6px 14px; border-radius: 2px; }
.team-chips a:hover { background: var(--red); color: #fff; }

/* Tabs (Verein, Mannschaften) */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.tabs a { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 17px;
  color: #fff; text-decoration: none; padding: 7px 14px; border: 2px solid rgba(255,255,255,.35); border-radius: 2px; background: rgba(0,0,0,.4); }
.tabs a:hover { border-color: var(--red); color: #fff; }
.tabs a.active { background: var(--red); border-color: var(--red); }

/* ── Spiele & Termine ───────────────────────────────────────────────── */
.games { list-style: none; margin: 0; padding: 0; }
.game { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.game:last-child { border-bottom: 0; }
.game-date { flex: none; width: 54px; text-align: center; background: #0c0c0c; color: #fff; padding: 6px 0 4px; border-bottom: 3px solid var(--red); }
.game-date b { display: block; font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; font-size: 14px; color: #bbb; line-height: 1.1; }
.game-date span { font-family: "Bebas Neue"; font-size: 24px; line-height: 1; letter-spacing: .02em; }
.game-body { flex: 1; min-width: 0; }
.game-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 13px; color: var(--muted);
  text-transform: uppercase; letter-spacing: .03em; font-family: "Barlow Condensed"; font-weight: 600; }
.tag { background: var(--red); color: #fff; padding: 0 6px; text-decoration: none; font-weight: 700; }
.tag:hover { color: #fff; background: var(--red-dark); }
.home-flag { color: var(--red); }
.game-teams { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; margin-top: 4px; }
.side { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; line-height: 1.2; min-width: 0; }
.side:last-child { flex-direction: row-reverse; text-align: right; }
.side.own { color: #000; font-weight: 700; }
.score { font-family: "Bebas Neue"; font-size: 26px; line-height: 1; letter-spacing: .02em; white-space: nowrap; text-align: center; }
.is-cancelled .score { font-family: "Barlow Condensed"; font-size: 15px; text-transform: uppercase; color: var(--red); }
.is-cancelled .side { text-decoration: line-through; color: var(--muted); }
.game-ort { font-size: 13px; color: var(--muted); margin-top: 2px; }
.game-link { flex: none; width: 22px; text-align: center; font-size: 26px; text-decoration: none; color: #bbb; }
.game-link:hover { color: var(--red); }

/* TeamUp-Kalender (eingebettet) */
.calendar-card { padding: 0; overflow: hidden; }
.calendar-card .btn-row { padding: 16px 20px 20px; margin: 0; }
.teamup { display: block; width: 100%; height: 75vh; min-height: 560px; border: 0; }

/* ── Aktuell (News) & Aktionsbalken ───────────────────────────────── */
.promo-bar { display: block; background: var(--red); color: #fff; text-decoration: none; text-align: center;
  font-family: "Barlow Condensed"; font-weight: 600; letter-spacing: .03em; font-size: 16px; padding: 8px 16px; }
.promo-bar b { text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; background: #0c0c0c; padding: 1px 8px; }
.promo-bar:hover { color: #fff; background: var(--red-dark); }
.news { display: flex; gap: 28px; align-items: flex-start; }
.news-img { flex: 0 0 34%; max-width: 360px; display: block; }
.news-img img { display: block; width: 100%; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.news-body { flex: 1; min-width: 0; }
.news-kicker { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--red); margin: 0 0 6px; }
.display.big { font-size: clamp(44px, 8vw, 72px); color: var(--red); margin-bottom: 8px; }
.news-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.news-points li { display: flex; gap: 12px; align-items: flex-start; background: #f6f6f6; padding: 10px 14px; border-left: 4px solid var(--red); }
.news-points .step-no { font-size: 38px; }
.code-box { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: #0c0c0c; color: #fff;
  padding: 10px 16px; border-bottom: 4px solid var(--red); margin: 0 0 18px; }
.code-label { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #bbb; font-size: 15px; }
.code-box code { font-family: "Bebas Neue", Impact, sans-serif; font-size: 34px; letter-spacing: .08em; line-height: 1; user-select: all; }
.code-copy { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 15px;
  background: var(--red); color: #fff; border: 0; border-radius: 2px; padding: 6px 12px; cursor: pointer; }
.code-copy:hover { background: var(--red-dark); }
.tip { margin-top: 18px; padding: 14px 16px; background: #f6f6f6; border-left: 4px solid var(--red); }
.tip p { margin-top: 0; }
.tip .code-box { margin-bottom: 10px; }

/* ── Mannschaften ───────────────────────────────────────────────────── */
.team-grid { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.team-card { display: block; background: #fff; border-top: 6px solid var(--red); border-radius: 4px; overflow: hidden; color: var(--ink);
  text-decoration: none; box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: transform .15s ease; height: 100%; }
.team-card { transition: transform .18s ease, box-shadow .18s ease; }
.team-card:hover, .team-card:focus-visible { transform: translateY(-6px); color: var(--ink);
  box-shadow: 0 26px 50px rgba(0,0,0,.6), 0 0 0 3px var(--red); outline: none; }
.team-photo img { transition: transform .35s ease; }
.team-card:hover .team-photo img, .team-card:focus-visible .team-photo img { transform: scale(1.05); }
.team-info b::after { content: " ›"; color: var(--red); opacity: 0; transition: opacity .18s ease, margin .18s ease; margin-left: -4px; }
.team-card:hover .team-info b::after, .team-card:focus-visible .team-info b::after { opacity: 1; margin-left: 2px; }
@media (prefers-reduced-motion: reduce) {
  .team-card, .team-photo img { transition: none; }
  .team-card:hover, .team-card:hover .team-photo img { transform: none; }
}
.team-photo { aspect-ratio: 600 / 315; background: #0c0c0c; display: grid; place-items: center; overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo img.ph { width: auto; height: 70%; object-fit: contain; opacity: .9; }
.team-info { padding: 12px 16px 16px; }
.team-info b { display: block; font-family: "Bebas Neue"; font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.team-info small { display: block; font-size: 14px; margin-top: 2px; }
.team-photo-big { padding: 0; overflow: hidden; }
.team-photo-big img { display: block; width: 100%; }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.people li { display: flex; gap: 14px; align-items: center; }
.people img, .avatar { flex: none; width: 56px; height: 70px; object-fit: cover; background: #eee; }
.avatar { display: grid; place-items: center; background: #0c0c0c; color: #fff; font-family: "Bebas Neue"; font-size: 32px; border-bottom: 3px solid var(--red); }
.people b { display: block; font-weight: 600; }
.people small { display: block; font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--red); font-size: 14px; }
.people .contact { display: flex; flex-wrap: wrap; gap: 0 12px; font-size: 14px; }

/* ── Infos ──────────────────────────────────────────────────────────── */
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list .card { display: flex; gap: 22px; align-items: flex-start; }
.step-no { flex: none; font-family: "Bebas Neue"; font-size: 64px; line-height: .85; color: var(--red); }
.info-list p { max-width: 640px; }

/* ── Verein ─────────────────────────────────────────────────────────── */
.prose h3 { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 19px; margin: 22px 0 6px; }
.prose h3:first-child { margin-top: 0; }
.prose p { max-width: 760px; }
.board { margin: 0; }
.board dl { margin: 0; }
.board dt { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; color: var(--red); }
.board dd { margin: 0 0 14px; font-size: 18px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.club figure { margin: 0; }
.club-photos { display: grid; gap: 18px; }
.club-photos img { display: block; width: 100%; border-bottom: 6px solid var(--red); }
.club figcaption { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: 15px; color: var(--muted); margin-top: 6px; }
.club-logo { display: block; width: 100%; max-width: 380px; height: auto; background: #0c0c0c; margin: 0 0 18px; }

/* ── Sponsoren ──────────────────────────────────────────────────────── */
.sponsor-grid { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.sponsor-grid.small { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.sponsor-grid li { border: 1px solid var(--line); border-bottom: 3px solid var(--red); background: #fff; }
.sponsor-grid a { display: block; height: 100%; color: var(--ink); text-decoration: none; }
.sponsor-grid img { display: block; width: 100%; aspect-ratio: 300 / 250; object-fit: contain; padding: 10px; }
.sponsor-grid span { display: block; padding: 0 10px 10px; font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; font-size: 15px; text-align: center; }
.sponsor-grid.small span { display: none; }
.sponsor-grid a:hover { box-shadow: inset 0 0 0 2px var(--red); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.site-foot { color: #bbb; padding: 34px 0 50px; background: rgba(0,0,0,.6); border-top: 4px solid var(--red); font-size: 15px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-title { font-family: "Barlow Condensed"; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; font-size: 18px; margin: 0 0 6px; }
.foot-cols p { margin-top: 0; }
.site-foot a { color: #ff8a9a; }
.foot-meta { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #333; font-size: 13px; color: #888; }

/* ── Mobil ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; cursor: pointer; }
  .burger span { display: block; height: 3px; background: #fff; border-radius: 1px; }
  .mainnav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: #0c0c0c; border-bottom: 4px solid var(--red); padding: 6px 16px 14px; }
  .navtoggle:checked ~ .mainnav { display: flex; }
  .mainnav a { font-size: 22px; padding: 10px 0; border-bottom: 1px solid #222; }
  .mainnav a.active { color: var(--red); border-bottom-color: #222; }
  .topbar-in { position: relative; }
}
@media (max-width: 760px) {
  body { background-attachment: scroll; background-image:
    linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.6) 50%, rgba(0,0,0,.8)), var(--grain),
    repeating-linear-gradient(90deg, var(--stripe-black) 0 15vw, var(--stripe-red) 15vw 30vw); }
  .hero-in { padding: 30px 16px 40px; }
  .hero-page .hero-in { padding: 28px 16px 26px; }
  .hero-logo { top: 22px; }
  .hero-home .hero-title { max-width: 100%; margin-top: calc(8px - .2em); }
  .hero-home .kicker { max-width: calc(100% - 120px); }
  .grid-2 { grid-template-columns: 1fr; }
  .card { padding: 20px 16px; }
  .display { font-size: 34px; }
  .brush-btn { font-size: 26px; padding: 16px 36px 13px; }
  .foot-cols { grid-template-columns: 1fr; }
  /* Spielzeile: Heim und Gast untereinander, Ergebnis/Uhrzeit rechts */
  .game-teams { grid-template-columns: 1fr auto; grid-template-areas: "h s" "a s"; gap: 4px 12px; }
  .game-teams .side:first-child { grid-area: h; }
  .game-teams .side:last-child { grid-area: a; flex-direction: row; text-align: left; }
  .game-teams .score { grid-area: s; }
  .side { font-size: 15px; }
    .score { font-size: 24px; }
  .game-date { width: 52px; }
  .game-date span { font-size: 20px; }
  .game { gap: 12px; }
  .teamup { height: 80vh; min-height: 480px; }
  .info-list .card { flex-direction: column; gap: 6px; }
  .step-no { font-size: 48px; }
  .news { flex-direction: column; gap: 16px; }
  .news-img { max-width: 100%; flex-basis: auto; }
  .code-box code { font-size: 28px; }
}
