:root{
  --bg:#0B0B0E; --surface:#14141A; --surface-2:#1B1B22; --line:#2A2A34;
  --paper:#F5F3EC; --muted:#9A9AA7;
  --gold:#F1B317; --gold-deep:#C8871B; --red:#E2242C;
  --grad-gold:linear-gradient(100deg,#FFD65A 0%,#F1B317 42%,#C8871B 100%);
  --slant:clamp(22px,3vw,46px); --tint:#15151C;
  --disp:"Saira Condensed",sans-serif; --body:"Archivo",sans-serif; --mono:"Space Mono",monospace;
  --maxw:1200px;
  color-scheme:dark;
}
*{box-sizing:border-box;}
html,body{margin:0;}
body{background:var(--bg);color:var(--paper);font-family:var(--body);line-height:1.6;-webkit-font-smoothing:antialiased;
  background-image:radial-gradient(1200px 600px at 80% -10%,rgba(241,179,23,.10),transparent 60%);}
.wrap{width:min(100% - 40px,var(--maxw));margin-inline:auto;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{font-family:var(--disp);text-transform:uppercase;line-height:.9;margin:0;letter-spacing:.01em;font-weight:900;}
.eyebrow{font-family:var(--mono);font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);}
section{position:relative;}

/* Header */
header{position:sticky;top:0;z-index:30;background:#0B0B0E;}
.bar{display:flex;align-items:center;gap:16px;height:88px;}
.brand{display:flex;align-items:center;gap:14px;}
.brand img{height:64px;filter:invert(1);}
.brand b{font-family:var(--disp);font-weight:900;font-size:1.7rem;letter-spacing:.02em;text-transform:uppercase;white-space:nowrap;}
.brand b span{color:var(--gold);}
nav{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap;}
nav a{font-family:var(--disp);font-weight:700;text-transform:uppercase;font-size:1.02rem;letter-spacing:.04em;padding:8px 12px;color:var(--muted);border-radius:6px;}
nav a:hover,nav a.on{color:var(--paper);}
nav a.on{color:var(--bg);background:var(--grad-gold);}
.burger{display:none;margin-left:auto;width:48px;height:44px;border:1px solid var(--line);border-radius:8px;background:transparent;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;}
.burger span{display:block;width:22px;height:2px;background:var(--paper);transition:transform .2s,opacity .2s;}
header.open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
header.open .burger span:nth-child(2){opacity:0;}
header.open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

/* Hero: cinematic scroll morph (boy -> lion). Default = static final frame
   (doubles as the instant first paint AND the reduced-motion/no-JS hero);
   hero-seq.js adds body.scrub-on to pin the hero and scrub the sequence.
   The canvas overlays the static frame once frame 1 is drawn — the brief
   lion -> boy swap at load reads as the emblem "coming alive". */
.hero{position:relative;min-height:min(90vh,780px);display:flex;align-items:flex-end;overflow:hidden;}
.hero-static{position:absolute;inset:0;z-index:0;background:#0B0B0E url('/assets/img/hero-seq/fallback.webp?v=3') center 30%/cover no-repeat;}
.hero-seq{position:absolute;inset:0;z-index:0;width:100%;height:100%;display:none;}
body.scrub-on .hero-seq{display:block;}
body.scrub-on .hero-scrub{height:220vh;}
body.scrub-on .hero-scrub .hero{position:sticky;top:0;min-height:0;height:100vh;height:100svh;}
/* copy choreography (driven by --fade from hero-seq.js): hidden until the
   lion resolves at the end of the scrub; static (non-scrub) hero keeps it.
   html.scrub-pre hides it from first paint (inline pre-gate in index.cfm) */
html.scrub-pre .hero .content,
body.scrub-on .hero .content{opacity:var(--fade,0);}
body.scrub-on .copy-hidden .content{pointer-events:none;}
/* scroll hint at the bottom of the pinned hero: visible from first paint
   (html.scrub-pre, same gate as the hidden copy), fades out over the first
   ~7% of the scrub (--seq). Reduced motion: the global rule drops the
   animation, the hint just sits there statically. */
.scroll-hint{display:none;position:absolute;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:3;
  transform:translateX(-50%);pointer-events:none;opacity:calc(1 - var(--seq,0) * 14);transition:opacity .2s linear;}
html.scrub-pre .scroll-hint,body.scrub-on .scroll-hint{display:block;}
.scroll-hint-in{display:flex;flex-direction:column;align-items:center;gap:12px;}
.scroll-hint-t{font-family:var(--mono);font-weight:700;font-size:.74rem;letter-spacing:.3em;text-transform:uppercase;color:var(--paper);padding-left:.3em;
  text-shadow:0 1px 10px rgba(0,0,0,.8);}
.scroll-hint-l{position:relative;width:2px;height:52px;border-radius:2px;background:rgba(245,243,236,.32);overflow:hidden;}
.scroll-hint-l::after{content:"";position:absolute;left:0;top:0;width:2px;height:20px;border-radius:2px;background:var(--gold);
  box-shadow:0 0 8px var(--gold);animation:hintDrop 1.8s cubic-bezier(.6,0,.3,1) infinite;}
@keyframes hintDrop{0%{transform:translateY(-20px);}65%,100%{transform:translateY(52px);}}
.scrim{position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(92deg,rgba(9,9,12,.84) 0%,rgba(9,9,12,.58) 42%,rgba(9,9,12,.22) 78%,rgba(9,9,12,.38) 100%),
    linear-gradient(0deg,var(--bg) 1.5%,rgba(9,9,12,0) 42%);}
/* Mobile: am Ende des Morphs steht der Titel direkt vor dem hellen Löwen-Mark.
   Die Abdunklung ist an die Copy-Einblendung gekoppelt (--fade, hero-seq.js):
   Morph läuft ungetrübt, erst mit dem Titel dunkelt das Bild dahinter ab.
   Statischer Hero (kein Scrub): --fade fehlt -> Fallback 1 = permanent aktiv. */
@media(max-width:900px){
  .scrim::after{content:"";position:absolute;inset:0;
    background:rgb(9 9 12 / calc(.45 * var(--fade, 1)));}
}
.content{position:relative;z-index:2;width:100%;padding-bottom:92px;padding-top:44px;}
.hero-inner{max-width:640px;}
.kicker{display:inline-flex;align-items:center;gap:10px;margin-bottom:18px;flex-wrap:wrap;}
.pill{font-family:var(--mono);font-size:.68rem;letter-spacing:.2em;background:rgba(20,20,26,.6);border:1px solid var(--line);color:var(--paper);padding:6px 10px;border-radius:999px;backdrop-filter:blur(4px);}
h1{font-size:clamp(2.4rem,5.4vw,4.3rem);text-shadow:0 2px 30px rgba(0,0,0,.45);}
h1 .out{color:transparent;-webkit-text-stroke:2px var(--gold);}
h1 em{font-style:normal;color:var(--gold);}
/* Intro und CTA-Zeile sind derselbe Fliesstext (Client 2026-08-30) — nur die
   Abstaende unterscheiden sie, Groesse/Gewicht/Farbe bleiben identisch. */
.lede,.cta-line{max-width:54ch;color:#dcdce3;font-size:1.1rem;text-shadow:0 1px 12px rgba(0,0,0,.5);}
.lede{margin:18px 0 14px;}
.cta-line{margin:0 0 24px;}
.cta{display:flex;gap:14px;flex-wrap:wrap;}
.btn{font-family:var(--disp);font-weight:800;text-transform:uppercase;letter-spacing:.05em;font-size:1.05rem;padding:14px 26px;border-radius:8px;display:inline-flex;align-items:center;gap:10px;border:1px solid transparent;transition:transform .12s ease;cursor:pointer;}
.btn:hover{transform:translateY(-2px);}
.btn-gold{background:var(--grad-gold);color:#181200;box-shadow:0 10px 30px -12px rgba(241,179,23,.6);}
.btn-ghost{border-color:rgba(245,243,236,.4);color:var(--paper);background:rgba(20,20,26,.35);backdrop-filter:blur(4px);}

/* Scoreboard fixtures */
.board-wrap{margin-top:56px;position:relative;z-index:8;}
.board{background:linear-gradient(180deg,var(--surface),var(--surface-2));border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 40px 80px -40px rgba(0,0,0,.8);}
.board-top{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--line);background:#101015;}
.board-top .t{font-family:var(--disp);font-weight:800;text-transform:uppercase;letter-spacing:.06em;font-size:1.1rem;}
.live{font-family:var(--mono);font-size:.66rem;letter-spacing:.18em;color:var(--red);border:1px solid rgba(226,36,44,.4);padding:4px 8px;border-radius:999px;display:inline-flex;gap:7px;align-items:center;}
.live::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--red);box-shadow:0 0 0 0 rgba(226,36,44,.6);animation:pulse 1.8s infinite;}
@keyframes pulse{70%{box-shadow:0 0 0 8px rgba(226,36,44,0);}100%{box-shadow:0 0 0 0 rgba(226,36,44,0);}}
.live.is-static{color:var(--muted);border-color:var(--line);}
.live.is-static::before{display:none;}
.row.done{opacity:.45;}
.row.next .code{box-shadow:0 0 0 2px rgba(241,179,23,.45);}
.row.next .vs{color:var(--gold);}
.hd.hd-cols{display:grid;grid-template-columns:56px 1fr auto;gap:14px;}
.hd.hd-cols span:last-child{text-align:right;}
.hd{display:flex;justify-content:space-between;padding:12px 18px 6px;color:var(--gold);font-family:var(--mono);font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;}
.row{display:grid;grid-template-columns:56px 1fr auto;gap:14px;align-items:center;padding:10px 18px;border-top:1px solid rgba(255,255,255,.04);}
.row .time{font-family:var(--mono);font-size:.9rem;color:var(--muted);}
.row .match{display:flex;align-items:center;gap:10px;font-weight:600;}
.code{font-family:var(--mono);font-weight:700;background:var(--grad-gold);color:#181200;font-size:.72rem;padding:3px 7px;border-radius:5px;letter-spacing:.04em;}
.vs{color:var(--muted);font-family:var(--mono);font-size:.78rem;}
/* optionale Heimturnier-Angaben: nur gesetzt, wenn im Admin gepflegt */
.row .match .clock{font-family:var(--mono);font-size:.78rem;color:var(--muted);}
.row .match .opp{color:var(--muted);font-weight:500;}
.board-foot{padding:14px 18px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#101015;}
.board-foot a{font-family:var(--disp);font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--gold);}

/* Section shell */
.sec{padding:104px 0 32px;}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px;}
.sec-head h1,.sec-head h2{font-size:clamp(2.2rem,5vw,3.6rem);}
.sec-head h1{text-shadow:none;}

/* Teams */
.tgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.team{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px 18px;min-height:130px;display:flex;flex-direction:column;justify-content:space-between;transition:border-color .15s,transform .15s;}
.team:hover{border-color:var(--gold);}
.team .k{font-family:var(--mono);font-size:.66rem;letter-spacing:.14em;color:var(--gold);}
.team .nm{font-family:var(--disp);font-weight:800;text-transform:uppercase;font-size:1.5rem;margin-top:auto;}
.team .yr{color:var(--muted);font-size:.85rem;}
.team .go{margin-top:10px;font-family:var(--mono);font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);transition:color .15s;}
/* Teamfoto auf den Kacheln der Teams-Uebersicht. Der Verlauf kommt inline
   aus teams.cfm mit, hier stehen nur Groesse und Ausrichtung. Karten ohne
   Foto behalten exakt das bisherige Aussehen, und die Startseite nutzt
   .team bewusst ohne diesen Modifier. */
.team--photo{min-height:230px;background-size:cover;background-position:center 25%;background-repeat:no-repeat;}
.team--photo .yr,.team--photo .go{color:#cfcdc6;}
.team:hover .go{color:var(--gold);}

/* Team group (overview page) */
.team-group{margin-bottom:52px;}
.team-group:last-child{margin-bottom:0;}
.group-head{display:flex;align-items:baseline;gap:14px;margin:0 0 20px;padding-bottom:14px;border-bottom:1px solid var(--line);}
.group-head h2{font-size:clamp(1.9rem,4vw,2.8rem);}
.group-head .count{font-family:var(--mono);font-size:.72rem;letter-spacing:.16em;color:var(--muted);text-transform:uppercase;margin-left:auto;}

/* Team detail page */
.team-hero{padding:56px 0 8px;}
.crumbs{font-family:var(--mono);font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:22px;}
.crumbs a{color:var(--gold);}
.team-hero h1{font-size:clamp(2.6rem,6vw,4.6rem);}
.team-hero .grp{margin-bottom:14px;}
.team-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:34px 0 8px;}
.fact{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px 18px;}
.fact .l{font-family:var(--mono);font-size:.64rem;letter-spacing:.16em;text-transform:uppercase;color:var(--gold);}
.fact .v{margin-top:8px;font-size:1.05rem;color:var(--paper);}
.team-lede{max-width:60ch;color:#dcdce3;font-size:1.1rem;margin:8px 0 0;}
.team-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px;}

/* News: first row 2 (featured, wider), second row 3 (compact) */
.nrow{display:grid;gap:16px;}
.nrow.two{grid-template-columns:1fr 1fr;margin-bottom:16px;}
.nrow.three{grid-template-columns:repeat(3,1fr);}
.news{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;transition:border-color .15s,transform .15s;}
.news:hover{border-color:var(--gold);}
.news .thumb{height:200px;background-color:#101015;background-size:cover;background-position:center;position:relative;border-bottom:1px solid var(--line);}
.news .thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(11,11,14,.5),transparent 55%);}
.news .body{padding:18px 18px 22px;display:flex;flex-direction:column;gap:8px;flex:1;}
.news .meta{display:flex;gap:10px;align-items:center;font-family:var(--mono);font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);}
.news .cat{color:#181200;background:var(--grad-gold);padding:3px 7px;border-radius:5px;font-weight:700;}
.news h3{font-family:var(--disp);font-weight:800;text-transform:uppercase;font-size:1.7rem;line-height:.95;}
.news p{color:var(--muted);font-size:.92rem;margin:0;}
.news .more{margin-top:auto;font-family:var(--disp);font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:var(--gold);font-size:.95rem;}
.news.compact h3{font-size:1.25rem;}

/* Sponsors */
.sponsors{padding:104px 0 40px;margin-top:40px;}
.spon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.spon{display:flex;align-items:center;justify-content:center;min-height:134px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:20px 30px;overflow:hidden;transition:border-color .15s,transform .15s,box-shadow .15s;}
.spon:hover{border-color:var(--gold);box-shadow:0 20px 40px -24px rgba(0,0,0,.7);}
.spon img{width:100%;height:84px;object-fit:contain;}
.spon img.smaller{transform:scale(.7);}
.spon img.big{transform:scale(1.55);}
.spon img.bigger{transform:scale(2.05);}

footer{color:var(--muted);}
footer .wrap{display:flex;gap:20px;align-items:center;flex-wrap:wrap;}
footer img{height:40px;filter:invert(1);}
footer a{color:var(--gold);}

/* Home hero starts at the very top of the page: pull it under the header,
   which stays transparent until scrolled (hero behind it is near-black) */
body.homehero .hero-scrub{margin-top:-88px;}
body.homehero header{transition:background .28s ease;}
body.homehero header:not(.scrolled):not(.open){background:transparent;}

/* Dominant logo: big & overflowing the slim header — home hero only, shrinks on scroll */
.brand img{transition:height .28s ease, transform .28s ease;}
@media(min-width:901px){
  body.homehero header:not(.scrolled):not(.open) .brand img{height:180px;transform:translateY(66px);}
}
@media(max-width:900px){
  body.homehero header:not(.scrolled):not(.open) .brand img{height:124px;transform:translateY(30px);}
  body.homehero header:not(.scrolled):not(.open) .brand b{display:none;}
}
@media(max-width:900px){
  /* clear the big overflowing logo: push hero text below where it hangs */
  .content{padding-top:80px;}
  .tgrid{grid-template-columns:repeat(2,1fr);}
  .team-facts{grid-template-columns:1fr;}
  .nrow.two,.nrow.three{grid-template-columns:1fr;}
  .spon-grid{grid-template-columns:repeat(2,1fr);}
  .burger{display:flex;}
  .bar{position:relative;z-index:30;}
  nav{position:fixed;inset:88px 0 0 0;z-index:20;margin:0;background:#0B0B0E;flex-direction:column;flex-wrap:nowrap;overflow-y:auto;justify-content:center;gap:0;padding:20px 26px calc(40px + env(safe-area-inset-bottom));display:none;}
  header.open nav{display:flex;}
  nav a{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:18px 4px;font-size:1.6rem;color:var(--paper);border-radius:0;border-bottom:1px solid rgba(255,255,255,.07);}
  nav a:last-child{border-bottom:none;}
  nav a::after{content:"";width:12px;height:2px;background:var(--line);transition:width .2s,background .2s;}
  nav a:hover::after,nav a.on::after{width:30px;background:var(--grad-gold);}
  nav a.on{background:transparent;color:var(--gold);}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;}}
a:focus-visible,.btn:focus-visible{outline:3px solid var(--gold);outline-offset:3px;}

/* Scroll reveal (classes added by reveal.js; content stays visible without it) */
.rv{opacity:0;transform:translateY(16px);transition:opacity .6s ease,transform .6s ease;transition-delay:var(--rvd,0s);}
.rv.in{opacity:1;transform:none;}
/* matchday pulse only lights up once the board is on screen */
.board-wrap.rv:not(.in) .live::before{animation:none;}
/* gold line draws in under section eyebrows */
.sec-head .eyebrow{position:relative;display:inline-block;padding-bottom:6px;}
.sec-head .eyebrow::after{content:"";position:absolute;left:0;bottom:0;height:2px;width:100%;background:var(--grad-gold);transform-origin:left;transition:transform .7s ease .2s;}
/* hidden-until-revealed only when reveal.js runs — visible by default (no-JS/reduced-motion) */
.sec-head.rv:not(.in) .eyebrow::after{transform:scaleX(0);}

/* Bildergalerie: Startseite mosaic (first tile = 2x2 hero) + detail grid */
.mosaic{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:150px;grid-auto-flow:dense;gap:14px;}
.mosaic a{position:relative;display:block;border-radius:12px;overflow:hidden;border:1px solid var(--line);background-size:cover;background-position:center;transition:border-color .15s,transform .15s;}
.mosaic a:hover{border-color:var(--gold);transform:translateY(-2px);}
.mosaic a:first-child{grid-column:span 2;grid-row:span 2;}
.gal-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px;}
.gal-grid a{position:relative;display:block;height:220px;border-radius:12px;overflow:hidden;border:1px solid var(--line);background-size:cover;background-position:center;transition:border-color .15s,transform .15s;}
.gal-grid a:hover{border-color:var(--gold);transform:translateY(-2px);}
.gal-grid .cap{position:absolute;left:0;right:0;bottom:0;padding:10px 12px;font-family:var(--mono);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--paper);background:linear-gradient(0deg,rgba(11,11,14,.85),transparent);}
.gal-strip{grid-template-columns:repeat(4,1fr);max-width:720px;margin-top:14px;}
.gal-strip a{height:110px;}
@media(max-width:900px){
  .mosaic{grid-template-columns:repeat(2,1fr);grid-auto-rows:130px;}
  .gal-grid{grid-template-columns:repeat(2,1fr);}
  .gal-strip{grid-template-columns:repeat(2,1fr);}
}

/* Lightbox overlay (grids marked data-lightbox, galerie detail) */
.lb{position:fixed;inset:0;z-index:80;background:rgba(11,11,14,.94);display:flex;align-items:center;justify-content:center;}
.lb figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:10px;max-width:min(92vw,1500px);}
.lb img{max-width:100%;max-height:84vh;border-radius:10px;}
.lb figcaption{font-family:var(--mono);font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--paper);min-height:1em;}
.lb button{position:fixed;background:none;border:0;color:var(--paper);cursor:pointer;font-size:2.6rem;line-height:1;padding:14px;opacity:.75;transition:opacity .15s;}
.lb button:hover,.lb button:focus-visible{opacity:1;}
.lb .lb-close{top:8px;right:12px;}
.lb .lb-prev{left:4px;top:50%;transform:translateY(-50%);font-size:3.2rem;}
.lb .lb-next{right:4px;top:50%;transform:translateY(-50%);font-size:3.2rem;}
@media (prefers-reduced-motion: no-preference){
  .lb{animation:lbfade .18s ease;}
  @keyframes lbfade{from{opacity:0}to{opacity:1}}
}

/* Mobile polish: stacked section heads, compact team list */
@media(max-width:700px){
  .sec-head{flex-direction:column;align-items:flex-start;gap:16px;}
  .sec-head h1,.sec-head h2{font-size:clamp(1.9rem,8vw,2.6rem);}
  .sec-head .btn{padding:11px 18px;font-size:.95rem;}
  /* section CTA moves to the end of the section, bottom-right */
  .sec{padding-bottom:92px;}
  .sec .sec-head .btn{position:absolute;right:0;bottom:28px;}
  .sponsors{padding-bottom:100px;}
  .sponsors .sec-head .btn{position:absolute;right:20px;bottom:32px;}
  /* keep the absolute CTA anchored to the section, not the animating head */
  .sec-head.rv{transform:none;}
}
/* short mobile screens: compact hero copy so it clears the overflowing logo */
@media(max-width:900px) and (max-height:740px){
  .content{padding-top:170px;padding-bottom:48px;}
  h1{font-size:clamp(1.9rem,6.5vw,2.5rem);}
  .lede,.cta-line{font-size:.98rem;}
  .lede{margin:12px 0 10px;}
  .cta-line{margin-bottom:16px;}
}
@media(max-width:560px){
  /* Heimturniere board: drop the Ort column (always Allmend), tighten rows;
     the gold "Nächstes Heimturnier" tag becomes a second line when present */
  .board-top{flex-wrap:wrap;gap:8px;}
  .hd.hd-cols{grid-template-columns:44px 1fr;gap:10px;}
  .hd.hd-cols span:last-child{display:none;}
  .row{grid-template-columns:44px 1fr;grid-template-areas:"time match" "time vs";gap:2px 10px;padding:10px 14px;}
  .row .time{grid-area:time;}
  .row .match{grid-area:match;flex-wrap:wrap;gap:6px 8px;}
  .row .vs{display:none;}
  .row.next .vs{display:block;grid-area:vs;text-align:left;font-size:.7rem;}
  .board-foot{flex-wrap:wrap;gap:8px;}
  .tgrid{grid-template-columns:1fr;gap:10px;}
  .team{min-height:0;padding:14px 16px;display:grid;grid-template-columns:1fr auto;grid-template-areas:"k go" "nm go" "yr go";align-items:center;column-gap:12px;}
  .team .k{grid-area:k;}
  .team .nm{grid-area:nm;font-size:1.35rem;margin-top:2px;}
  .team .yr{grid-area:yr;}
  .team .go{grid-area:go;margin-top:0;white-space:nowrap;}
  .team--photo{min-height:150px;align-items:end;padding:16px;}
}

/* ── Sponsor tiers ─────────────────────────────────────────── */
.spon-tier-label{font-family:var(--mono,monospace);font-size:.72rem;letter-spacing:.18em;text-transform:uppercase;color:var(--gold,#c9a24b);margin:26px 0 10px;}
.spon-tiers .spon-tier-label:first-child{margin-top:0;}
.spon-grid--haupt{grid-template-columns:1fr;}
.spon-grid--haupt .spon{min-height:170px;}
.spon-grid--haupt .spon img{height:64px;max-width:260px;}
@media (max-width:640px){.spon-grid--haupt .spon img{height:48px;}}

/* ── News archive + detail ─────────────────────────────────── */
.news-archive{display:flex;flex-direction:column;gap:14px;}
.newsrow{display:flex;gap:18px;background:var(--surface,#141412);border:1px solid var(--line,#26251f);border-radius:10px;padding:18px;text-decoration:none;}
.newsrow:hover{border-color:var(--gold,#c9a24b);}
.newsrow .thumb{flex:0 0 220px;border-radius:8px;background-size:cover;background-position:center;min-height:140px;}
.newsrow .nbody{display:flex;flex-direction:column;gap:6px;min-width:0;}
.newsrow b{font-size:1.15rem;}
.newsrow.featured b{font-size:1.45rem;}
.newsrow .teaser{color:var(--muted,#9b988c);line-height:1.5;}
.news-img{display:block;width:100%;max-width:720px;max-height:480px;object-fit:cover;border-radius:10px;margin:18px 0;}
.team-img{display:block;width:100%;max-width:720px;max-height:480px;object-fit:cover;border-radius:10px;margin:18px 0;}
.news-body{max-width:720px;}
.news-body p{line-height:1.65;margin:0 0 14px;}

/* Links inside editor-written text (RichTextService). The global rule is
   a{color:inherit;text-decoration:none} — without this they are invisible. */
.rtx-link{color:var(--gold);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;}
.rtx-link:hover{color:#FFD65A;text-decoration-thickness:2px;}
@media (max-width:640px){.newsrow{flex-direction:column;}.newsrow .thumb{flex-basis:160px;}}

/* ── Verein / Vorstand ─────────────────────────────────────── */
.vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;}
.member{background:var(--surface,#141412);border:1px solid var(--line,#26251f);border-radius:10px;padding:20px;display:flex;flex-direction:column;gap:6px;align-items:flex-start;}
.member .pic{width:84px;height:84px;border-radius:50%;background-size:cover;background-position:center;margin-bottom:8px;}
.member .pic-ini{display:flex;align-items:center;justify-content:center;background:var(--gold,#c9a24b);color:#111;font-weight:800;font-size:1.5rem;letter-spacing:.04em;}
.member .role{color:var(--muted,#9b988c);font-size:.92rem;}
.member .mail{font-size:.85rem;word-break:break-all;}
.docs-line{margin-top:26px;color:var(--muted,#9b988c);}

/* ── Trainings ─────────────────────────────────────────────── */
.tday{margin-bottom:26px;}
.tday h2{font-size:1.2rem;margin:0 0 10px;color:var(--gold,#c9a24b);}
.trows{display:flex;flex-direction:column;gap:8px;}
.trow{display:flex;gap:18px;align-items:baseline;background:var(--surface,#141412);border:1px solid var(--line,#26251f);border-radius:8px;padding:12px 16px;text-decoration:none;}
.trow:hover{border-color:var(--gold,#c9a24b);}
.trow .ttime{font-family:var(--mono,monospace);font-size:.92rem;min-width:120px;}
.trow .tloc{margin-left:auto;color:var(--muted,#9b988c);font-size:.88rem;}
.tmissing{margin-top:20px;color:var(--muted,#9b988c);line-height:1.7;}
/* ── Sponsoren page / Partner box ──────────────────────────── */
.spon-page{margin-bottom:30px;}
.partner-box{background:var(--surface,#141412);border:1px solid var(--gold,#c9a24b);border-radius:10px;padding:26px;max-width:560px;}
.partner-box p{margin:10px 0 16px;line-height:1.6;}
/* ── Shop ──────────────────────────────────────────────────── */
.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px;}
.shop-card{background:var(--surface,#141412);border:1px solid var(--line,#26251f);border-radius:10px;padding:16px;display:flex;flex-direction:column;gap:8px;}
.shop-card .ph{display:block;aspect-ratio:1/1.1;border-radius:8px;background:#fff center/contain no-repeat;background-size:contain;}
.shop-card .ph-none{display:flex;align-items:center;justify-content:center;background:var(--surface-2,#1b1a17);}
.shop-card .desc{color:var(--muted,#9b988c);font-size:.9rem;}
.shop-card .meta{margin-top:auto;font-size:.92rem;}
.shop-note{margin-top:22px;color:var(--muted,#9b988c);}
/* ── Public forms ──────────────────────────────────────────── */
.pubform{max-width:560px;display:flex;flex-direction:column;gap:14px;}
.pubform .ff label{display:block;font-weight:600;font-size:.9rem;margin-bottom:4px;}
.pubform input[type=text],.pubform input[type=email],.pubform input[type=date],
.pubform select,.pubform textarea{width:100%;padding:10px 12px;border:1px solid var(--line,#26251f);border-radius:8px;background:var(--surface,#141412);color:inherit;font:inherit;}
.pubform select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23F1B317' stroke-width='2'/></svg>");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px;cursor:pointer;}
.pubform ::placeholder{color:var(--muted);opacity:.65;}
.pubform .ff-err input,.pubform .ff-err textarea{border-color:#b3261e;}
.pubform .fe{color:#e0655c;font-size:.85rem;}
.pubform .fe-hint{font-weight:400;color:var(--muted,#9b988c);font-size:.8rem;}
.hp-wrap{position:absolute;left:-9999px;top:-9999px;}
.form-ok{background:var(--surface,#141412);border:1px solid var(--gold,#c9a24b);border-radius:10px;padding:26px;max-width:560px;}
.form-err{background:#2a1210;border:1px solid #b3261e;border-radius:8px;padding:12px 16px;color:#e0655c;max-width:560px;}
.mitglied-box{margin-top:34px;background:var(--surface,#141412);border:1px solid var(--line,#26251f);border-radius:10px;padding:24px;max-width:560px;}
.mitglied-box p{margin:8px 0 14px;line-height:1.6;}
.consent-row{display:flex;gap:10px;align-items:flex-start;font-size:.92rem;line-height:1.5;}
.consent-row input{margin-top:3px;width:auto;}
.sig-wrap{border:1px dashed var(--gold,#c9a24b);border-radius:8px;background:#fff;}
#sig-pad{display:block;width:100%;height:160px;touch-action:none;border-radius:8px;}
.sig-tools{display:flex;justify-content:flex-end;margin-top:6px;}

/* ── Schnittkante: slanted full-bleed section bands + jersey double seam ──
   Uniform slant (rises to the right, like the jersey seam). Each band pulls
   itself up by --slant so its cut top overlaps the previous section; the
   seam = red band + thin gold hairline along the diagonal edge.
   Zigzag variant later: give individual bands .band--alt (mirrored paths). */
.band{position:relative;background:var(--bg);clip-path:polygon(0 var(--slant),100% 0,100% 100%,0 100%);margin-top:calc(-1 * var(--slant));}
.band::before,.band::after{content:"";position:absolute;top:0;left:0;right:0;height:calc(var(--slant) + 30px);pointer-events:none;}
/* tapered seam: wide on the left, thinning to the right (gold 8px→1.5px, red 20px→5px) */
.band::before{background:var(--gold);clip-path:polygon(0 var(--slant),100% 0,100% 1.5px,0 calc(var(--slant) + 8px));}
.band::after{background:var(--red);clip-path:polygon(0 calc(var(--slant) + 8px),100% 1.5px,100% 6.5px,0 calc(var(--slant) + 28px));}
.band--tint{background:var(--tint);--surface:#1B1B22;--surface-2:#22222A;--line:#32323E;}
.band--alt{clip-path:polygon(0 0,100% var(--slant),100% 100%,0 100%);}
.band--alt::before{clip-path:polygon(0 0,100% var(--slant),100% calc(var(--slant) + 8px),0 1.5px);}
.band--alt::after{clip-path:polygon(0 1.5px,100% calc(var(--slant) + 8px),100% calc(var(--slant) + 28px),0 6.5px);}
.sec.band{padding-top:calc(104px + var(--slant));padding-bottom:calc(32px + var(--slant));}
.sponsors.band{margin-top:calc(40px - var(--slant));padding-top:calc(104px + var(--slant));padding-bottom:calc(40px + var(--slant));}
footer.band{background:var(--tint);margin-top:calc(70px - var(--slant));padding:calc(34px + var(--slant)) 0 calc(56px + env(safe-area-inset-bottom));}
@media(max-width:700px){
  .sec.band{padding-bottom:calc(92px + var(--slant));}
  .sponsors.band{padding-bottom:calc(100px + var(--slant));}
}
