/* RC Ehrenfeld 1976 e.V. – Stylesheet */

@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Anton"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/anton-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blau: #1B3FA0;
  --navy: #0B1B4A;
  --gelb: #F5D90A;
  --grund: #F3F6FC;
  --hell: #DCE5F7;
  --linie: #C9D3EE;
  --text-2: #4A5578;
  --weiss: #FFFFFF;
  --display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--navy); font-family: var(--body); font-size: 18px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1; text-transform: uppercase; }
h2 { font-size: clamp(40px, 5.5vw, 68px); }
h3 { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
strong { font-weight: 600; }
table { border-collapse: collapse; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--weiss); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 40px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; }
.stand { font-family: var(--cond); font-weight: 600; font-size: 17px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); }
.eyebrow { font-family: var(--cond); font-weight: 700; font-size: 17px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blau); }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.muted { color: var(--text-2); }
.small { font-size: 15px; color: var(--text-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; text-decoration: none; font-family: var(--cond); font-weight: 700; font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase; }
.btn-primary { background: var(--blau); color: var(--weiss); }
.btn-outline { border: 2px solid var(--navy); color: var(--navy); }
.btn-gelb { background: var(--gelb); color: var(--navy); }
.btn-sm { min-height: 48px; padding: 0 24px; font-size: 18px; }
.btn:hover { filter: brightness(1.08); }
.link { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: underline; padding: 6px 0; }

/* Kopfzeile */
.header { position: relative; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 72px; width: auto; }
.brand span { font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-family: var(--cond); font-weight: 600; font-size: 19px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--blau); }
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 19px; }
.nav .btn:hover { color: var(--weiss); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 52px; height: 52px; border: 2px solid var(--navy); background: transparent; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; stroke: var(--navy); fill: none; stroke-width: 2.5; stroke-linecap: round; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .burger { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 56px; padding-bottom: 96px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-text .eyebrow { font-size: 20px; }
.hero h1 { font-size: clamp(60px, 9.5vw, 132px); line-height: 0.96; letter-spacing: 0.005em; }
.hero h1 .akzent { color: var(--blau); }
.hero p { max-width: 520px; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }
.hero-matte { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.matte { position: relative; width: 100%; max-width: 480px; }
.matte svg { display: block; width: 100%; height: auto; }
.matte img { position: absolute; left: 50%; top: 50%; width: 44%; transform: translate(-50%, -50%); }

/* Aktuelles */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.news { display: flex; flex-direction: column; background: var(--weiss); border: 2px solid var(--navy); }
.news img, .news .bild-platz { width: 100%; height: 220px; object-fit: cover; }
.news .bild-platz { display: flex; align-items: center; justify-content: center; background: var(--hell); color: var(--text-2); text-align: center; padding: 20px; }
.news-body { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 32px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; }
.tag { padding: 4px 10px; color: var(--weiss); background: var(--blau); }
.tag-bericht { background: var(--navy); }
.tag-verein { background: var(--gelb); color: var(--navy); }
.news h3 { font-size: 30px; line-height: 1.1; }
.news .link { align-self: flex-start; }

/* Training */
.training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.karte { background: var(--weiss); border: 2px solid var(--navy); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.karte h3 { font-size: 32px; }
.zeiten { display: flex; flex-direction: column; gap: 14px; }
.zeit { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--navy); }
.zeit strong { font-size: 20px; }

/* Verein */
.verein { background: var(--navy); color: var(--grund); }
.verein .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; padding-top: 96px; padding-bottom: 96px; }
.jahr { flex: 1 1 280px; min-width: 0; }
.jahr .zahl { font-family: var(--display); font-size: clamp(110px, 18vw, 240px); line-height: 0.9; color: var(--gelb); }
.jahr .sub { font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: 0.14em; text-transform: uppercase; padding-top: 12px; }
.verein-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.verein-text p:first-of-type { font-size: 20px; }
.verein .muted { color: var(--linie); }
.verein-grid { flex: 1 1 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; padding-top: 32px; }
.verein-karte { border: 1px solid #4A5CA0; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.verein-karte h3 { font-size: 26px; letter-spacing: 0.06em; color: var(--gelb); }
.erfolg { display: flex; flex-direction: column; gap: 4px; }
.erfolg span:first-child { font-family: var(--display); font-size: 26px; }
.rolle { color: var(--linie); }

/* Kämpfe */
.naechster { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 48px; background: var(--navy); color: var(--grund); padding: 36px 40px; }
.naechster-datum { display: flex; flex-direction: column; gap: 6px; }
.naechster .eyebrow { color: var(--gelb); }
.naechster .datum { font-family: var(--display); font-size: 40px; line-height: 1; }
.naechster .info { color: var(--linie); }
.paarung { flex: 1 1 320px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-family: var(--cond); font-weight: 700; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; text-transform: uppercase; }
.paarung .vs { font-family: var(--display); color: var(--gelb); font-size: 0.8em; }
.letzter { display: flex; flex-direction: column; gap: 24px; }
.letzter-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; border-top: 3px solid var(--navy); padding-top: 24px; }
.letzter-head .titel { font-family: var(--cond); font-weight: 700; font-size: clamp(24px, 3vw, 34px); line-height: 1.1; text-transform: uppercase; }
.ergebnis { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-size: 56px; line-height: 1; }
.ergebnis .heim { color: var(--blau); }
.ergebnis .trenner { color: var(--text-2); font-size: 36px; }
.scroll { overflow-x: auto; }
.kaempfe { width: 100%; min-width: 640px; font-size: 17px; }
.kaempfe thead tr { font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); text-align: left; }
.kaempfe th { padding: 10px 12px; border-bottom: 2px solid var(--navy); font-weight: 700; }
.kaempfe td { padding: 12px; }
.kaempfe th:first-child, .kaempfe td:first-child { padding-left: 0; }
.kaempfe th:last-child, .kaempfe td:last-child { padding-right: 0; text-align: right; }
.kaempfe tbody tr { border-bottom: 1px solid var(--linie); }
.kaempfe tbody tr:nth-child(even) { background: var(--weiss); }
.kaempfe tbody tr:last-child { border-bottom: 2px solid var(--navy); }
.kaempfe .klasse { white-space: nowrap; color: var(--text-2); }
.kaempfe .sieg { font-weight: 600; }
.kaempfe .pkt { font-weight: 600; white-space: nowrap; }
.weitere { display: flex; flex-direction: column; gap: 14px; }
.weitere-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px 32px; }
.weitere-grid div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.weitere-grid span:last-child { font-weight: 600; white-space: nowrap; }

/* Tabelle */
.tabelle { background: var(--hell); }
.tabelle .section { gap: 32px; }
.tabelle-box { overflow-x: auto; background: var(--weiss); border: 2px solid var(--navy); }
.liga { width: 100%; min-width: 620px; font-size: 18px; }
.liga thead tr { background: var(--navy); color: var(--grund); font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; }
.liga th { padding: 14px 10px; font-weight: 700; }
.liga td { padding: 13px 10px; }
.liga th:first-child, .liga td:first-child { padding-left: 20px; text-align: right; width: 40px; }
.liga th:last-child, .liga td:last-child { padding-right: 20px; }
.liga .c { text-align: center; }
.liga .r { text-align: right; white-space: nowrap; }
.liga .pl { font-family: var(--display); font-size: 20px; }
.liga .team { font-weight: 600; }
.liga .wert { color: var(--text-2); }
.liga .pkt { font-weight: 600; }
.liga tbody tr { border-bottom: 1px solid var(--linie); }
.liga tbody tr:last-child { border-bottom: 0; }
.liga tr.rce { background: var(--gelb); }
.liga tr.rce td { font-weight: 600; }
.liga tr.rce .team { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.liga tr.rce .team img { height: 28px; width: auto; }
.tabelle-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }

/* Mitmachen */
.mitmachen { background: var(--blau); color: var(--weiss); }
.mitmachen .section { gap: 48px; }
.mitmachen .intro p { font-size: 20px; }
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px; }
.schritt { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--weiss); padding-top: 20px; }
.schritt .nr { font-family: var(--display); font-size: 48px; line-height: 1; }
.schritt h3 { font-size: 28px; }

/* Sponsoren */
.sponsoren .section { padding-bottom: 24px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.sponsor { display: flex; align-items: center; justify-content: center; min-height: 120px; padding: 20px; background: var(--weiss); border: 2px solid var(--navy); color: var(--text-2); text-align: center; }
.sponsor a { display: block; }
.sponsor img { max-height: 100px; width: auto; }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px; }
.kontakt-block { display: flex; flex-direction: column; gap: 6px; }
.kontakt-block .label { font-family: var(--cond); font-weight: 700; font-size: 18px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blau); }
.kontakt-block a { text-decoration: underline; }
.insta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; }
.insta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }

/* Fußzeile */
.footer { background: var(--navy); color: var(--grund); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; padding-top: 48px; padding-bottom: 48px; font-size: 16px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .name { font-family: var(--cond); font-weight: 700; font-size: 22px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-brand span:not(.name) { color: var(--linie); }
.footer-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 32px; }
.footer-links a { padding: 10px 0; }

/* Unterseiten */
.seite { max-width: 820px; margin: 0 auto; padding: 48px 32px 96px; display: flex; flex-direction: column; gap: 40px; }
.seite h1 { font-size: clamp(44px, 6vw, 72px); }
.seite section { display: flex; flex-direction: column; gap: 10px; }
.seite h2 { font-family: var(--cond); font-weight: 700; font-size: 26px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blau); }
.seite a { text-decoration: underline; }
.footer-klein .wrap { padding-top: 32px; padding-bottom: 32px; }

/* Handy */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .section { padding-top: 64px; padding-bottom: 64px; gap: 32px; }
  .brand img { height: 56px; }
  .brand span { font-size: 18px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 50; flex-direction: column; align-items: stretch; gap: 0; background: var(--weiss); border-top: 3px solid var(--navy); border-bottom: 3px solid var(--navy); padding: 8px 20px 20px; }
  .nav.offen { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--linie); }
  .nav .btn { margin-top: 16px; border-bottom: 0; }
  .hero .wrap { padding-top: 32px; padding-bottom: 64px; gap: 32px; }
  .hero-matte { order: -1; }
  .matte { max-width: 260px; }
  .naechster { padding: 28px 24px; }
  .ergebnis { font-size: 48px; }
  .karte, .verein-karte, .news-body { padding: 24px; }
  .seite { padding: 32px 20px 64px; }
}

@media print {
  .nav, .nav-toggle, .hero-actions, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
