:root {
  --green: #009a3c;        /* Logo-Grün: Akzent, Rahmen, Linien */
  --green-strong: #007a32; /* Buttons und Links auf hellem Grund (AA) */
  --ink: #141414;
  --ink-soft: #3d3d3d;
  --paper: #ffffff;
  --paper-warm: #f4f3ef;
  --line: #dcdad3;
  --max: 1120px;
  --radius: 4px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff;
  padding: .6rem 1rem; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green-strong); margin: 0 0 1rem;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: .75rem; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: .7rem 1.35rem; border-radius: var(--radius); font: inherit; font-weight: 700;
  text-decoration: none; border: 2px solid var(--green-strong); background: var(--green-strong); color: #fff;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer; text-align: center;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: currentColor; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.hero .btn-outline, .dark .btn-outline { color: #fff; border-color: #fff; }
.hero .btn-outline:hover, .dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-small { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
.hero .eyebrow { color: #5fd08a; }
.hero .lead { color: #d9d9d9; }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.hero-media::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 3px solid var(--green); border-radius: var(--radius); z-index: -1; }
.hero-media { z-index: 0; }

/* Sections */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--paper-warm); }
.dark { background: var(--ink); color: #fff; }
.dark .lead, .dark p { color: #e3e3e3; }
.split { display: grid; gap: 2.5rem; align-items: start; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.photo--wide img { aspect-ratio: 16 / 10; object-position: 50% 45%; }

.facts { list-style: none; padding: 0; margin: 1.75rem 0 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts strong { font-weight: 700; }
.facts span { color: var(--ink-soft); }

.checklist { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.75rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .9rem; background: var(--green); border-radius: 2px; }

.note { font-size: .98rem; color: var(--ink-soft); border-left: 4px solid var(--green); padding: .25rem 0 .25rem 1rem; margin-top: 1.5rem; }

.columns { display: grid; gap: 2rem; margin-top: 2.5rem; }
.columns > div { border-top: 3px solid var(--green); padding-top: 1.1rem; }
.columns p { color: var(--ink-soft); font-size: 1rem; }

.unterricht-grid { display: grid; gap: 2.5rem; }
.band-photo { margin: 0 0 2.5rem; }
.band-photo img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); }

/* Contact */
.contact-grid { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.contact-card h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); margin-bottom: .75rem; }
.contact-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.contact-card a { font-weight: 600; word-break: break-word; }
.contact-card p { margin: 0; }

.hint {
  background: var(--paper-warm); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; margin: 0;
}
.hint p:last-child { margin-bottom: 0; }
.hint-title { font-size: 1.2rem; text-transform: none; letter-spacing: 0; }
.hint { max-width: 760px; }

/* Footer */
.site-footer { background: var(--ink); color: #cfcfcf; padding: 2.5rem 0; font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #5fd08a; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.site-footer p { margin: 0; color: #bdbdbd; }

/* Legal pages */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; text-transform: none; letter-spacing: 0; margin-top: 2.2rem; }
.legal h3 { margin-top: 1.4rem; font-size: 1.05rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .35rem; }

/* Breakpoints */
@media (min-width: 640px) {
  .columns { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-row .btn { flex: 0 1 auto; }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .split { grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .split.reverse { grid-template-columns: 1.1fr .9fr; }
  .unterricht-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .contact-grid { grid-template-columns: repeat(4, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr auto auto; }
}
@media (max-width: 520px) {
  .brand img { height: 44px; }
  .nav { gap: .85rem; }
  .nav a { font-size: .9rem; }
  .facts li { grid-template-columns: 1fr; gap: .15rem; }
  .btn-row .btn { width: 100%; }
}
