:root {
  --orange: #f26b1d;
  --orange-dark: #c9520f;
  --ink: #0f1d35;      /* Vereins-Navy aus dem Logo */
  --ink-2: #16294a;
  --ink-3: #21365c;
  --paper: #f5f6f8;
  --paper-2: #ffffff;
  --text: #16213a;
  --muted: #64708a;
  --line: #dfe3ea;
  --win: #1f8a4c;
  --loss: #c62828;
  --radius: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
}
a { color: var(--orange-dark); }
a:hover { color: var(--orange); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.small { font-size: .9rem; color: var(--muted); }
.lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 1.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem 1.25rem;
  background: var(--ink); color: #fff;
}
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.site-nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.site-nav a {
  color: #d9dbe0; text-decoration: none; padding: .4rem .7rem; border-radius: 8px; font-weight: 600; font-size: .95rem;
}
.site-nav a:hover { background: var(--ink-3); color: #fff; }

/* Hero */
.hero {
  background: radial-gradient(120% 90% at 85% 10%, #22406e 0%, var(--ink-2) 40%, var(--ink) 100%);
  color: #fff;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem clamp(2.5rem, 6vw, 4rem);
}
.hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: center; }
.hero-text { min-width: 0; }
.hero-logo { width: clamp(180px, 28vw, 320px); height: auto; justify-self: end; filter: drop-shadow(0 12px 30px rgba(0,0,0,.35)); }
.hero-inner .next-game { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .hero { padding-top: 2rem; padding-bottom: 2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-logo { justify-self: center; width: 150px; order: -1; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
  .hero h1 { font-size: 2.4rem; }
  .hero-sub { font-size: 1.05rem; margin-bottom: 1.25rem; }
  .hero-actions { margin-bottom: 1.5rem; }
  .hero-actions .btn { flex: 1 1 auto; text-align: center; }
}
.hero-kicker { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin-bottom: .75rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); font-weight: 900; margin-bottom: 1rem; }
.hero-sub { font-size: 1.15rem; color: #cfd2d8; max-width: 640px; margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn {
  display: inline-block; padding: .75rem 1.3rem; border-radius: 999px; font-weight: 700; text-decoration: none;
  color: #fff; border: 2px solid #ffffff55;
}
.btn:hover { border-color: #fff; color: #fff; }
.btn-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.next-game {
  display: grid; gap: .2rem;
  background: #ffffff12; border: 1px solid #ffffff22; border-left: 4px solid var(--orange);
  border-radius: var(--radius); padding: 1rem 1.25rem;
}
.next-game .next-label { color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.next-game strong { font-size: 1.25rem; }
.next-game span:last-child { color: #cfd2d8; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) 1.25rem; }
.section + .section { border-top: 1px solid var(--line); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.card time { display: block; color: var(--orange-dark); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; margin: 1.25rem 0 2rem; }
.facts div { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; display: grid; gap: .15rem; }
.facts strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.prose { max-width: 720px; }

.roster-wrap { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: .5rem 1.25rem 1rem; }
.roster-coach { margin: 0; padding: .75rem 0; border-bottom: 2px solid var(--orange); font-weight: 700; }
.roster-coach .role { display: inline-block; margin-right: .6rem; padding: .15rem .55rem; border-radius: 999px; background: var(--orange); color: #fff; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.roster { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 2rem; }
.roster li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.roster li::before { content: "▸"; color: var(--orange); margin-right: .5rem; font-size: .8rem; }

/* Spielplan */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.section-head h2, .section-head h3 { margin: 0; }
.section-head:first-child { margin-top: 0; margin-bottom: 1.25rem; }
.btn-small { padding: .45rem .95rem; font-size: .9rem; color: var(--ink); border-color: var(--ink); }
.btn-small:hover { background: var(--ink); color: #fff; }
.cal-links { margin-left: .5rem; }
.cal-links a { margin-right: .5rem; font-weight: 600; white-space: nowrap; }
.next-cal a { color: #fff; }
.next-cal a:hover { color: var(--orange); }
.games { display: grid; gap: .6rem; margin: 1rem 0 1rem; }
.game {
  display: grid; grid-template-columns: 200px 1fr auto; grid-template-areas: "when teams result" "when where result";
  gap: .15rem 1.25rem; align-items: center;
  background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--line);
  border-radius: var(--radius); padding: .85rem 1.1rem;
}
.game.home { border-left-color: var(--orange); }
.game.next { background: #fff4ec; border-color: var(--orange); box-shadow: 0 0 0 3px #f26b1d22; }
.game.played { opacity: .85; }
.game-when { grid-area: when; display: grid; line-height: 1.3; }
.game-day { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.game-date { font-weight: 700; }
.game-time { color: var(--muted); font-size: .95rem; }
.game-teams { grid-area: teams; font-size: 1.05rem; }
.game-teams .us { font-weight: 800; }
.game-teams .vs { color: var(--muted); margin: 0 .35rem; }
.game-where { grid-area: where; color: var(--muted); font-size: .9rem; }
.game-result { grid-area: result; display: flex; align-items: center; gap: .6rem; justify-self: end; }
.score { font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.badge { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: .25rem .6rem; border-radius: 999px; background: var(--orange); color: #fff; white-space: nowrap; }
.game.win .badge { background: var(--win); }
.game.loss .badge { background: var(--loss); }
.game.draw .badge { background: var(--muted); }
.game.pending .badge { background: var(--muted); }

@media (max-width: 640px) {
  .game { grid-template-columns: 1fr; grid-template-areas: "when" "teams" "where" "result"; gap: .25rem; }
  .game-result { justify-self: start; margin-top: .25rem; }
}

/* Footer */
.site-footer {
  background: var(--ink); color: #cfd2d8; padding: 2.5rem 1.25rem; margin-top: 2rem;
  display: grid; gap: 1.25rem; font-size: .95rem;
}
.site-footer > * { max-width: var(--max); margin: 0 auto; width: 100%; }
.footer-row { display: flex; gap: 1.5rem; align-items: center; }
.footer-logo { width: 90px; height: auto; flex: none; opacity: .9; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }

/* Blog */
.site-nav a.active { background: var(--ink-3); color: #fff; }
.post-card { display: flex; flex-direction: column; }
.post-card h3 a { color: inherit; text-decoration: none; }
.post-card h3 a:hover { color: var(--orange-dark); }
.post-card p { flex: 1; }
.post-card .more { font-weight: 700; text-decoration: none; }
.post-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; margin-bottom: .9rem; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; }
.page-narrow { max-width: 760px; }
.back { display: inline-block; margin-bottom: 1.5rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--orange-dark); }
.post-head time { display: block; color: var(--orange-dark); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.post-hero { display: block; width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0 1.5rem; }
.post-body { font-size: 1.1rem; }
.post-body img { max-width: 100%; height: auto; border-radius: 8px; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-weight: 600; }
.post-nav a { text-decoration: none; }
.post-footer-links { margin-top: 1.5rem; }

/* Historie */
.page h2 { margin-top: 2.5rem; }
.timeline { list-style: none; padding: 0; margin: 1rem 0 0; border-left: 3px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: .75rem; padding: .6rem 0 .6rem 1.25rem; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 1.05rem; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); border: 3px solid var(--paper); }
.tl-year { font-weight: 800; color: var(--ink); white-space: nowrap; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; display: block; }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: .4rem; }
.season-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.season-links a { display: inline-block; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem; text-decoration: none; font-weight: 600; }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: .1rem; } }

/* Instagram & Teamfoto */
.nav-ig { display: inline-flex; align-items: center; gap: .35rem; }
.ig-icon { vertical-align: -3px; }
.btn .ig-icon { margin-right: .3rem; }
.team-photo { margin: 0 0 1.5rem; }
.team-photo img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.team-photo figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }

/* Mobiles Menü */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .site-header { padding: .6rem 1rem; position: sticky; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin: -4px -6px -4px 0;
    background: none; border: 0; border-radius: 8px; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; gap: 0;
    background: var(--ink); border-top: 1px solid #ffffff1a; padding: .5rem 0 .75rem;
    box-shadow: 0 12px 24px rgba(0,0,0,.35);
  }
  .site-header.open .site-nav { display: flex; }
  .site-nav a { padding: .85rem 1.25rem; border-radius: 0; font-size: 1.05rem; }
  .site-nav a + a { border-top: 1px solid #ffffff0f; }
  .site-nav a.active { background: var(--ink-3); }
  .nav-ig { color: var(--orange) !important; }
}
@media (max-width: 520px) {
  .section { padding-left: 1rem; padding-right: 1rem; }
  .section-head .btn-small { width: 100%; text-align: center; }
  .footer-row { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .footer-logo { width: 64px; }
  .cards { gap: .75rem; }
  .card { padding: 1rem 1.1rem; }
  .facts { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .facts div { padding: .7rem .8rem; }
  .game { padding: .75rem .9rem; }
  .cal-links { display: block; margin: .25rem 0 0; }
  .cal-links a { display: inline-block; padding: .35rem .6rem; margin: .2rem .3rem .2rem 0; border: 1px solid var(--line); border-radius: 999px; background: var(--paper-2); text-decoration: none; }
  .roster { grid-template-columns: 1fr; }
  .roster-wrap { padding: .25rem 1rem .75rem; }
  .post-card { padding: 1rem 1.1rem; }
  .gallery { grid-template-columns: 1fr; }
}

/* Hallen-Links */
.game-where .halle { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }
.game-where .halle:hover { color: var(--orange-dark); }
.next-game .halle { color: #cfd2d8; text-decoration: underline dotted; text-underline-offset: 3px; }
.next-game .halle:hover { color: var(--orange); }

/* Kalender-Abo */
.abo { margin: 1rem 0 .5rem; }
.abo h4 { margin: 0 0 .4rem; font-size: 1.05rem; }
.abo-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.abo code { display: inline-block; margin: .3rem 0; padding: .25rem .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; font-size: .85rem; word-break: break-all; }
.abo .btn-small { cursor: pointer; font-family: inherit; }
