/* Calisthenics KOH – statische Version. Kein Build-Schritt nötig. */

:root {
  --background: #101410;
  --panel: #1a211b;
  --panel-light: #232c24;
  --accent: #c4f36b;
  --accent-hover: #d3f79a;
  --ink: #17200e;
  --foreground: #f3f4ed;
  --muted: #aeb9ac;
  --line: #3b493b;
  --warning: #ffbdaf;
  --radius: 0.75rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 7rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.06; }
p { margin: 0; }
a { color: inherit; }
img, svg, iframe { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.shell { width: 100%; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .shell { padding: 0 2rem; } }
@media (min-width: 1024px) { .shell { padding: 0 3rem; } }

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 0.5rem; top: 0.5rem; z-index: 50; background: var(--accent); color: var(--ink); padding: 0.5rem 0.75rem; }

/* Kopfbereich */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgb(16 20 16 / 95%); }
.site-header .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.logo { font-size: 1.125rem; font-weight: 900; letter-spacing: -0.025em; text-transform: uppercase; text-decoration: none; }
.logo span, .accent { color: var(--accent); }
.main-nav { order: 3; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; width: 100%; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.main-nav a, .footer-nav a { text-decoration: none; padding: 0.25rem 0; }
.main-nav a:hover, .footer-nav a:hover { color: var(--accent); }
.header-cta { display: none; border-radius: 0.375rem; background: var(--accent); color: var(--ink); padding: 0.5rem 0.75rem; font-size: 0.75rem; font-weight: 800; text-decoration: none; }
@media (min-width: 360px) { .header-cta { display: inline-block; } }
@media (min-width: 640px) {
  .site-header .shell { padding-top: 1rem; padding-bottom: 1rem; }
  .logo { font-size: 1.25rem; }
  .main-nav { order: 0; width: auto; gap: 0.25rem 1.5rem; font-size: 0.875rem; }
}

.setup-banner { background: #3a2a1f; color: var(--warning); padding: 0.5rem 1rem; text-align: center; font-size: 0.875rem; }

/* Abschnitte */
.section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .section { padding-top: 5.5rem; padding-bottom: 5.5rem; } }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgb(26 33 27 / 30%); }
.eyebrow { margin-bottom: 1rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.section-heading { font-size: 2.25rem; font-weight: 900; letter-spacing: -0.025em; }
@media (min-width: 640px) { .section-heading { font-size: 3rem; } }
.lead { margin-top: 1rem; max-width: 36rem; line-height: 1.75; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.two-col { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 1.25rem; }
@media (min-width: 640px) { .card { padding: 2rem; } }
.card h3 { font-size: 1.5rem; font-weight: 800; }
.card > * + * { margin-top: 1rem; }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 86% 38%, #40552d, transparent 56%), linear-gradient(120deg, #101410 28%, #1d291c);
}
.hero::after {
  content: "KOH"; position: absolute; z-index: -1; right: -0.05em; bottom: -0.29em;
  color: rgb(196 243 107 / 5%); font-size: clamp(11rem, 31vw, 27rem); font-weight: 900; letter-spacing: -0.09em; line-height: 1; pointer-events: none;
}
.hero .shell { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 640px) { .hero .shell { padding-top: 7rem; padding-bottom: 7rem; } }
@media (min-width: 1024px) { .hero .shell { padding-top: 8rem; padding-bottom: 8rem; } }
.hero h1 { max-width: 64rem; font-size: clamp(2.1rem, 7vw, 6.4rem); font-weight: 900; letter-spacing: -0.055em; text-transform: uppercase; }
.hero .lead { margin-top: 1.5rem; max-width: 32rem; }
@media (min-width: 640px) { .hero .lead { font-size: 1.125rem; } }
.actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Buttons */
.button {
  display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; gap: 0.5rem;
  border: 1px solid var(--line); border-radius: 0.375rem; background: transparent; color: var(--foreground);
  padding: 0.75rem 1.25rem; font: inherit; font-size: 0.875rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer;
}
.button:hover { border-color: var(--accent); }
.button-primary { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.button-primary:hover { background: var(--accent-hover); }
.button-block { width: 100%; }
.button-small { min-height: 2.25rem; padding: 0.375rem 0.75rem; font-size: 0.8125rem; }

/* Projekt-Kacheln */
.facts { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--accent); }
.fact p { margin-top: 0.5rem; color: var(--muted); font-size: 0.9375rem; }

/* Petition */
.petition-frame { width: 100%; min-height: 36rem; border: 0; border-radius: 0.5rem; background: #fff; }
.consent-box { border: 1px dashed var(--line); border-radius: 0.5rem; padding: 1rem; font-size: 0.875rem; color: var(--muted); }
.consent-box .button { margin-top: 0.75rem; }

/* Spenden */
.pay-options { display: grid; gap: 1rem; }
@media (min-width: 640px) and (max-width: 1023px) { .pay-options { grid-template-columns: 1fr 1fr; } }
.bank { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.5rem 1rem; font-size: 0.9375rem; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; overflow-wrap: anywhere; font-weight: 600; }
.copy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.copy-status { font-size: 0.8125rem; color: var(--accent); }

/* Kontakt */
.contact-box { display: flex; flex-direction: column; gap: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #293725; padding: 1.5rem; }
@media (min-width: 640px) { .contact-box { padding: 2.25rem; } }
@media (min-width: 1024px) { .contact-box { flex-direction: row; align-items: center; justify-content: space-between; } }
.contact-box .button { flex-shrink: 0; }

/* Fußbereich */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .shell { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.875rem; color: var(--muted); }

/* Rechtliche Seiten */
.legal { max-width: 48rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 640px) { .legal { padding-top: 5rem; padding-bottom: 5rem; } }
.legal h2 { margin: 2.25rem 0 0.75rem; font-size: 1.5rem; font-weight: 700; }
.legal p, .legal li { margin: 0.5rem 0; line-height: 1.75; color: var(--muted); }
.legal ul { padding-left: 1.25rem; }
.legal dl { margin: 0; }
.legal dt { margin-top: 1rem; font-weight: 700; }
.legal dd { margin: 0; color: var(--muted); white-space: pre-line; }
.legal a, .text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
