:root {
  --bg: #eef4e4;
  --surface: #ffffff;
  --text: #0c2517;
  --accent: #0e9a4f;
  --orange: #ff5a1f;
  --pitch: #08743b;
  --slant: -12deg;
  --cut: 12%;
  --heading: 'Avenir Next Condensed', 'Franklin Gothic Medium', 'Arial Narrow', 'Arial Black', sans-serif;
  --body: Optima, Candara, 'Gill Sans', 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 clamp(1rem, .94rem + .25vw, 1.18rem)/1.7 var(--body); }
.page { min-width: 0; }
main { counter-reset: section; }
::selection { background: var(--orange); color: var(--text); }
a { color: var(--pitch); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 3px; }
a, button { -webkit-tap-highlight-color: #ff5a1f40; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; box-shadow: 0 0 0 2px var(--text); }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
figure, p, ul, ol, dl, blockquote { margin: 0 0 1.4em; }
h1, h2, h3, h4, h5, h6 { min-width: 0; max-width: 100%; margin: 0 0 .65em; font-family: var(--heading); font-weight: 900; line-height: 1.08; overflow-wrap: normal; word-break: normal; hyphens: manual; }
h1, h2, h3 { text-transform: uppercase; }
h1, h2 { font-style: italic; }
h1 { font-size: clamp(2.4rem, 4.3vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 2.8vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2.2rem); }
h4, h5, h6 { font-size: 1.25rem; }
strong { font-weight: 750; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid #0c251740; margin: 2.5rem 0; }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: .4em; }
blockquote { border-left: 5px solid var(--orange); padding: 1rem 1.5rem; font-style: italic; }
code, pre { font-family: ui-monospace, monospace; font-size: .9em; }
pre { overflow: auto; padding: 1rem; background: white; }
table { border-collapse: collapse; width: 100%; margin-block: 2rem; font-size: .95em; }
th, td { padding: .7rem; text-align: left; border-bottom: 1px solid #0c251740; }
th { background: var(--text); color: white; }
input, select, textarea, button { max-width: 100%; min-height: 44px; font: inherit; border: 1px solid var(--pitch); border-radius: 2px; padding: .5rem .8rem; }
.wrap { width: min(1380px, calc(100% - clamp(2.5rem, 7vw, 8rem))); margin-inline: auto; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100; padding: .7rem 1.2rem; background: white; color: var(--text); transform: translateY(-180%); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--text); color: white; border-bottom: 4px solid var(--accent); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 104px; padding-block: 1.2rem; }
.brand { position: relative; isolation: isolate; flex-shrink: 0; padding: .35rem 1.2rem; color: white; font: italic 900 clamp(1.7rem, 2.3vw, 2.3rem)/1.3 var(--heading); text-transform: uppercase; text-decoration: none; letter-spacing: -.04em; }
.brand::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--slant)); background: var(--pitch); border-right: 6px solid var(--accent); }
.site-nav ul, .footer-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem 1.5rem; list-style: none; padding: 0; margin: 0; }
.site-nav li, .footer-nav li { margin: 0; }
.site-nav a { display: flex; align-items: center; position: relative; min-height: 44px; color: white; font: 750 .83rem/1.3 var(--body); text-transform: uppercase; letter-spacing: .07em; text-decoration: none; }
.site-nav a::after { content: ''; position: absolute; inset: auto 0 0; height: 4px; background: var(--orange); transform: skewX(var(--slant)) scaleX(0); transform-origin: left; transition: transform .18s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current='page']::after { transform: skewX(var(--slant)) scaleX(1); }
body:has(.prose-figure img[src$='liga.jpg']) .site-nav a[href='ligensystem.html']::after,
body:has(.prose-figure img[src$='jugend.jpg']) .site-nav a[href='jugendfussball.html']::after,
body:has(.prose-figure img[src$='ehrenamt.jpg']) .site-nav a[href='ehrenamt.html']::after,
body:has(.prose-figure img[src$='training.jpg']) .site-nav a[href='verletzungspraevention.html']::after,
body:has(.prose-figure img[src$='platz.jpg']) .site-nav a[href='platz-ausruestung.html']::after { transform: skewX(var(--slant)) scaleX(1); }
.hero { position: relative; isolation: isolate; background: var(--accent); color: white; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(102deg, #08743b 0 70px, #08703a 70px 140px); clip-path: polygon(0 0, 77% 0, 58% 100%, 0 100%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(3rem, 6vw, 6rem); }
.hero-text { min-width: 0; position: relative; z-index: 1; }
.eyebrow { display: table; position: relative; isolation: isolate; margin-bottom: 1.7rem; padding: .45rem 1rem; font-size: .8rem; line-height: 1.5; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.eyebrow::before { content: ''; position: absolute; inset: 0; background: var(--orange); transform: skewX(var(--slant)); z-index: -1; }
.hero h1 { position: relative; isolation: isolate; font-size: clamp(2.8rem, 5.3vw, 6.5rem); line-height: .99; letter-spacing: -.045em; margin-bottom: .4em; }
.hero h1::before { content: ''; position: absolute; left: -.06em; top: -.015em; width: 100%; height: 1em; background: var(--orange); transform: skewX(var(--slant)); z-index: -1; }
.hero h1::first-line { color: var(--text); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.4rem); line-height: 1.65; }
.hero .lead { margin-bottom: 1.2rem; }
.hero-text > p:not(.eyebrow):not(.lead) { font-size: .98rem; line-height: 1.7; }
.hero-actions { margin-top: 2rem; }
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.6rem; font-size: .92rem; font-weight: 800; line-height: 1.4; text-decoration: none; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--surface); transform: skewX(var(--slant)); transition: background .18s ease; }
.btn-primary { color: var(--text); }
.btn-primary::before { background: var(--orange); }
.btn:hover::before { background: var(--bg); }
.hero-media { margin: 0; height: clamp(430px, 52vw, 790px); clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); background: var(--text); }
.hero-media img { width: 100%; height: 100%; object-position: 54% center; }
.section { position: relative; padding-block: clamp(4rem, 7vw, 7.5rem); counter-increment: section; }
.section-title { position: relative; isolation: isolate; padding-left: 1.6rem; max-width: 26ch; font-size: clamp(2rem, 3.4vw, 3.6rem); margin-bottom: 1.2rem; }
.section-title::before { content: ''; position: absolute; top: .08em; bottom: .06em; width: .55rem; left: .1rem; background: var(--orange); transform: skewX(var(--slant)); }
.section-title::after { content: counter(section, decimal-leading-zero); position: absolute; top: -.4em; right: -.04em; z-index: -1; color: #0c251710; font-size: clamp(5.5rem, 10vw, 10rem); line-height: 1; font-style: italic; letter-spacing: -.07em; pointer-events: none; }
.section-intro { max-width: 80ch; font-size: 1.06em; }
.section > .wrap > p { max-width: 80ch; }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-block: 2.6rem; }
.card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 280px; padding: clamp(1.5rem, 2.5vw, 2.6rem); border-left: 6px solid var(--accent); background: white; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 28px, 100% 100%, 0 100%); transition: transform .2s ease, border-color .2s ease; }
.card:first-child { grid-column: span 2; }
.card:first-child .card-title { font-size: clamp(2rem, 3.5vw, 3.8rem); }
.card:hover, .card:focus-within { transform: translateY(-5px); border-left-color: var(--orange); }
.card-title { margin-bottom: .6em; }
.card-text { max-width: 48ch; margin-bottom: 1.5rem; }
.card-link { display: inline-flex; gap: 1rem; align-items: center; min-height: 44px; padding: .6rem 1rem; background: var(--orange); color: var(--text); border-radius: 2px; font-weight: 800; font-size: .86rem; text-decoration: none; line-height: 1.4; }
.card .card-link { margin-top: auto; }
.card-link::after { content: ''; flex: 0 0 1rem; width: 1rem; height: .8rem; background: currentColor; clip-path: polygon(0 40%, 65% 40%, 42% 9%, 55% 0, 100% 50%, 55% 100%, 42% 91%, 65% 60%, 0 60%); transition: transform .18s ease; }
.card-link:hover::after { transform: translateX(3px); }
.section-feature, .section-partners { background: var(--text); color: var(--bg); padding-block: clamp(5rem, 8vw, 8rem); clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%); }
.section-feature .section-title, .section-partners .section-title { color: white; }
.section-feature .section-title::after, .section-partners .section-title::after { color: #eef4e417; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.split-text, .split-media { min-width: 0; }
.split-text > p:first-of-type::first-line { color: white; font-weight: 700; }
.split-media { margin: 0; clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%); }
.split-media img { width: 100%; min-height: 440px; aspect-ratio: 4 / 5; }
.fact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 1rem; padding: 0; list-style: none; margin-block: 2rem; }
.fact { margin: 0; padding: 1.5rem; background: var(--text); color: white; border-top: 5px solid var(--orange); font-variant-numeric: tabular-nums; }
.fact strong, .fact dt { display: block; color: var(--orange); font: italic 900 2.8rem/1.1 var(--heading); }
.fact dd { margin: .6rem 0 0; }
.partner-list { list-style: none; padding: 0; margin: 3rem 0 0; counter-reset: player; }
.partner { position: relative; counter-increment: player; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 3rem; padding: 2rem 0 2rem 6.5rem; margin: 0; border-top: 1px dashed #eef4e455; }
.partner::before { content: counter(player, decimal-leading-zero); position: absolute; top: 1.6rem; left: .1rem; font: italic 900 3.7rem/1 var(--heading); color: var(--orange); -webkit-text-stroke: 1px var(--orange); }
@supports (-webkit-text-stroke: 1px orange) { .partner::before { color: transparent; } }
.partner-link { align-self: start; min-width: 0; min-height: 44px; color: #eef4e4; font-family: ui-monospace, 'Courier New', monospace; font-size: clamp(.94rem, 1.25vw, 1.12rem); overflow-wrap: anywhere; line-height: 1.55; }
.partner-phrase { grid-column: 1; margin: .5rem 0 0; color: var(--orange); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.partner-desc { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: var(--bg); font-size: .97rem; }
.article { padding-bottom: clamp(4rem, 7vw, 7rem); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding-block: 1rem; font-size: .75rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.page-header { position: relative; isolation: isolate; padding: clamp(2rem, 4vw, 4rem) 0 clamp(3rem, 5vw, 5rem); margin-bottom: clamp(2.5rem, 5vw, 5rem); color: white; }
.page-header::before { content: ''; position: absolute; inset: 0 calc((min(1380px, 100vw - clamp(2.5rem, 7vw, 8rem)) - 100vw) / 2); z-index: -1; background: var(--pitch); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%); }
.page-header h1 { max-width: 27ch; letter-spacing: -.025em; }
.page-header .lead { max-width: 76ch; margin-bottom: 0; }
.prose { max-width: 68ch; margin-inline: auto; padding-left: clamp(1.1rem, 3vw, 2.7rem); border-left: 2px solid var(--orange); overflow-wrap: anywhere; }
.prose h2 { position: relative; color: var(--pitch); font-size: clamp(1.65rem, 2.5vw, 2.35rem); margin-top: 2em; padding-left: 1rem; }
.prose h2::before { content: ''; position: absolute; left: -.2rem; top: .32em; width: .55rem; height: .55rem; background: var(--orange); transform: skewX(var(--slant)); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose li::marker { color: var(--pitch); font-weight: 800; }
.prose-figure { position: relative; margin: 0 0 2.5rem; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 45px), calc(100% - 60px) 100%, 0 100%); }
.prose-figure img { width: 100%; aspect-ratio: 3 / 2; }
.prose-figure::after { content: ''; position: absolute; bottom: 0; left: 1.5rem; width: 4rem; height: .7rem; background: var(--orange); transform: skewX(var(--slant)); }
figcaption { padding: .8rem; font-size: .85rem; }
.note { position: relative; padding: clamp(1.2rem, 3vw, 2rem); border: 2px solid var(--orange); background: white; margin-block: 2rem; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.note::after { content: ''; position: absolute; top: 0; right: 0; width: 20px; height: 20px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.note p:last-child { margin-bottom: 0; }
.site-footer { padding-block: 4.5rem 2.5rem; background: var(--text); color: var(--bg); clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 100%); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; }
.footer-note { max-width: 62ch; font-size: .92rem; margin: 0; }
.footer-nav { flex-shrink: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: white; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; }
@media (min-width: 1500px) { .hero h1 { font-size: 6.5rem; } }
@media (max-width: 1100px) {
  .header-inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .site-nav ul { gap: .25rem 1.3rem; }
  .hero-inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 5.4vw, 4.7rem); }
  .footer-inner { flex-direction: column; gap: 1.2rem; }
  .partner { column-gap: 1.5rem; }
}
@media (max-width: 760px) {
  :root { --slant: -6deg; --cut: 6%; }
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { padding-block: 1rem .7rem; }
  .site-nav ul { gap: .1rem 1.15rem; }
  .site-nav a { font-size: .75rem; letter-spacing: .035em; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 2.6rem 2rem; }
  .hero::before { clip-path: polygon(0 0, 100% 0, 100% 82%, 0 90%); }
  .hero h1 { max-width: 17ch; font-size: clamp(2.7rem, 8.4vw, 4.7rem); }
  .hero-media { height: auto; aspect-ratio: 4 / 3; clip-path: polygon(0 6%, 100% 0, 100% 94%, 0 100%); }
  .hero-text > p { max-width: 60ch; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .card { padding: 1.4rem; min-height: 260px; }
  .card:first-child { min-height: 230px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .split-media img { min-height: 0; max-height: 480px; aspect-ratio: 4 / 3; }
  .section-title { max-width: 23ch; }
  .partner { grid-template-columns: minmax(0, 1fr); padding-left: 4.3rem; }
  .partner::before { font-size: 2.8rem; }
  .partner-phrase { grid-column: 1; }
  .partner-desc { grid-column: 1; grid-row: auto; margin-top: 1rem; }
  .page-header::before { left: -1.25rem; right: -1.25rem; }
  .page-header h1 { font-size: clamp(2.1rem, 6.3vw, 3.3rem); }
  .prose { padding-left: 1.1rem; }
  .footer-nav { flex-shrink: 1; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: clamp(2rem, 9vw, 2.4rem); }
}
@media (max-width: 480px) {
  .page-header h1 { font-size: clamp(1.25rem, 5.5vw, 1.65rem); }
}
@media (max-width: 460px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .card:first-child { grid-column: auto; }
  .card { min-height: 0; padding: 1.6rem; }
  .card-title, .card:first-child .card-title { font-size: 2rem; }
  .card-text { margin-bottom: 1.2rem; }
  .section-title::after { right: 0; }
  .partner { padding-left: 3.5rem; }
  .partner::before { font-size: 2.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .card:focus-within { transform: none; }
}
@media print {
  body { background: white; color: #0c2517; }
  .site-header, .site-footer, .skip-link, .hero-actions { display: none; }
  .wrap { width: 100%; }
  .page-header { color: #0c2517; padding: 0; }
  .page-header::before { display: none; }
  .prose { max-width: none; }
  .prose-figure { max-width: 65%; }
  h2, h3 { break-after: avoid; }
  figure, .note { break-inside: avoid; }
}
.page-home .hero { border-bottom: 6px solid var(--orange); }
.page-sub .article { min-height: 65vh; }
