/* choreothek.eu – eine Datei, keine fremden Schriften, hell und dunkel nach Systemeinstellung */
:root {
  --brand: #0F6E56;
  --brand-soft: #9FE1CB;
  --bg: #ffffff;
  --bg-alt: #f3f7f5;
  --text: #1c2622;
  --muted: #5a6863;
  --line: #dbe5e1;
  --link: #0b5c47;
  --note-bg: #fff8e1;
  --note-line: #e7c65a;
  --radius: 10px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111715;
    --bg-alt: #18211e;
    --text: #e4ece9;
    --muted: #9aaba5;
    --line: #2a3632;
    --link: #7fd6b9;
    --note-bg: #2a2512;
    --note-line: #8a7426;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--link); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 2.1rem; margin: 0 0 .5em; }
h2 { font-size: 1.5rem; margin: 2em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
code, kbd {
  font: .9em ui-monospace, Consolas, monospace;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 .3em;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Kopf */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-header nav a { color: var(--text); text-decoration: none; padding: 6px 10px; border-radius: 6px; }
.site-header nav a:hover { background: var(--bg-alt); }
.site-header nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
.site-header nav a.nav-download { background: var(--brand); color: #fff; font-weight: 600; }
.site-header nav a.nav-download:hover { filter: brightness(1.1); background: var(--brand); }

main { padding: 32px 0 64px; }

/* Startseite */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; padding: 24px 0 8px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); }
.hero img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 8px 28px rgb(0 0 0 / .12); }
.button {
  display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 8px; margin: 8px 12px 8px 0;
}
.button:hover { filter: brightness(1.1); }
.button.secondary { background: transparent; color: var(--link); border: 1px solid var(--line); }
.small { font-size: .9rem; color: var(--muted); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 16px 0; }
.card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; }

.shot { margin: 24px 0; }
.shot img { border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.shot figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* Anleitung */
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; }
.toc ol { margin: 6px 0 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; }
.guide section { border-top: 1px solid var(--line); margin-top: 32px; }
.steps li { margin: 6px 0; }
.note { background: var(--note-bg); border-left: 4px solid var(--note-line); border-radius: 6px; padding: 10px 16px; margin: 16px 0; }
.note p { margin: .3em 0; }

/* Bildplatz für Fotos, die noch fehlen */
.placeholder {
  border: 2px dashed var(--note-line); border-radius: var(--radius); background: var(--note-bg);
  padding: 16px 20px; margin: 16px 0; font-size: .95rem;
}
.placeholder strong { display: block; }

table { border-collapse: collapse; width: 100%; margin: 12px 0; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
th { background: var(--bg-alt); }
.table-scroll { overflow-x: auto; }

/* Fuß */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 24px 0; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .fine { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  /* Kopf bricht auf dem Handy in zwei Zeilen um – nicht mitscrollen, sonst verdeckt er die Sprungziele */
  .site-header { position: static; }
  html { scroll-padding-top: 12px; }
  h1 { font-size: 1.7rem; }
  .hero { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
}
