/* Beyond Basketball – Design-System
   Keine externen Schriften/Skripte (DSGVO-freundlich). */
:root {
  --orange: #e0610c;
  --orange-dark: #b84d06;
  --orange-soft: #fdeede;
  --navy: #0f1b2d;
  --navy-soft: #1c2d47;
  --cream: #fbf7f1;
  --white: #ffffff;
  --text: #1b2433;
  --muted: #5a6577;
  --line: #e6dfd4;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 45, .10);
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--cream);
  line-height: 1.65; font-size: 1.0625rem; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--orange-dark); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 62ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--orange-dark); margin-bottom: .8rem; display: block; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 241, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand svg { width: 38px; height: 38px; }
.brand small { display: block; font-weight: 600; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: -2px; }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; align-items: center; }
.nav a { display: block; padding: .5rem .8rem; border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .98rem; }
.nav a:hover { background: var(--orange-soft); color: var(--orange-dark); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }
.nav .cta { background: var(--orange); color: #fff; }
.nav .cta:hover { background: var(--orange-dark); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; cursor: pointer; color: var(--navy); }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; transition: .2s; }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); display: none; padding: .8rem 1.25rem 1.2rem; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav a { padding: .8rem 1rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.5rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--orange-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: clamp(4rem, 10vw, 8rem) 0; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 em { font-style: normal; color: #ffa45c; }
.hero .lead { color: #cfd7e6; }
.hero .eyebrow { color: #ffa45c; }
.hero-art { position: absolute; right: -90px; top: 50%; transform: translateY(-50%); width: min(60vw, 640px); opacity: .22; pointer-events: none; }
@media (min-width: 1000px) { .hero-art { opacity: .5; right: -40px; } }

.page-hero { background: var(--navy); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); max-width: 20ch; }
.page-hero .lead { color: #cfd7e6; margin: 0; }
.page-hero .eyebrow { color: #ffa45c; }

/* Sections */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.alt { background: var(--white); }
.dark { background: var(--navy); color: #dfe6f2; }
.dark h2, .dark h3 { color: #fff; }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.grid { display: grid; gap: 1.5rem; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: box-shadow .2s, transform .2s; }
.alt .card { background: var(--cream); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon { width: 52px; height: 52px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card a.more { font-weight: 700; text-decoration: none; display: inline-block; margin-top: .6rem; }
.value { text-align: left; border-left: 4px solid var(--orange); padding: .3rem 0 .3rem 1.1rem; }
.value h3 { margin-bottom: .2em; font-size: 1.15rem; }
.value p { margin: 0; color: var(--muted); font-size: .98rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.quote { font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.4; font-weight: 600; color: var(--navy); border-left: 5px solid var(--orange); padding-left: 1.4rem; margin: 0; }
.dark .quote { color: #fff; }
.panel { background: var(--navy); color: #dfe6f2; border-radius: var(--radius); padding: 2rem; }
.panel h3 { color: #fff; }

.cta-band { background: var(--orange); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* Prosa / Rechtstexte */
.prose { max-width: 74ch; }
.prose h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4em; }
.notice { background: var(--orange-soft); border: 1px solid #f3cfa8; border-radius: var(--radius); padding: 1.1rem 1.3rem; font-size: .96rem; }
.placeholder { background: #fff3a8; padding: 0 .3em; border-radius: 4px; }

/* Steps */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 1rem; align-items: start; }
.steps li::before { content: counter(s); width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.steps h3 { margin: .1rem 0 .2rem; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }

/* Formulare */
form { display: grid; gap: 1.1rem; }
label { font-weight: 700; font-size: .95rem; color: var(--navy); display: block; margin-bottom: .35rem; }
input, select, textarea { width: 100%; font: inherit; padding: .8rem 1rem; border: 1.5px solid #cfc6b8; border-radius: 10px; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--orange-soft); border-color: var(--orange); }
textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.check input { width: auto; margin-top: .3rem; }
.form-note { font-size: .88rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* Spenden-Beträge */
.amounts { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0; }
.amount { padding: .8rem 1.4rem; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; margin: 0; }
.dl dt { font-weight: 700; color: var(--navy); }
.dl dd { margin: 0; }

/* Tags / News */
.tag { display: inline-block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; background: var(--orange-soft); color: var(--orange-dark); padding: .25rem .65rem; border-radius: 999px; margin-bottom: .8rem; }
.news-meta { color: var(--muted); font-size: .9rem; }

/* Footer */
.site-footer { background: var(--navy); color: #b9c4d8; padding: 4rem 0 2rem; font-size: .96rem; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: 0; margin-bottom: .8rem; }
.site-footer a { color: #dfe6f2; text-decoration: none; }
.site-footer a:hover { color: #ffa45c; text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.6fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand small { color: #9eabc4; }
.footer-bottom { border-top: 1px solid #263753; margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band, .hero-art { display: none; } body { background: #fff; } }
