:root {
  --primary: #1d4e89;
  --on-primary: #ffffff;
  --bg: #ffffff;
  --surface: #f2f4f7;
  --text: #1a1a1a;
  --muted: #4a4a4a;
}
.theme-blau { --primary: #1d4e89; }
.theme-gruen { --primary: #2d6a4f; }
.theme-rot { --primary: #9d2235; }
.theme-sand { --primary: #7a5c2e; --surface: #f6f1e7; }

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 1.125rem/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--primary); }
:focus-visible { outline: 3px solid #ffb703; outline-offset: 2px; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 0.5rem; top: 0.5rem; background: #fff; padding: 0.5rem; z-index: 10; }

.banner { margin: 0; padding: 0.5rem 1rem; text-align: center; font-weight: 600; }
.banner.preview { background: #ffb703; color: #1a1a1a; }
.banner.offline { background: #333; color: #fff; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: var(--on-primary);
}
.top a { color: inherit; text-decoration: none; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; }
.brand img { height: 2.5rem; width: auto; background: #fff; border-radius: 0.25rem; }
.lang {
  border: 2px solid currentColor;
  border-radius: 0.5rem;
  padding: 0.5rem 0.9rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.finder { padding: 0.75rem 1rem; background: var(--surface); }
.finder label { display: block; font-size: 0.95rem; color: var(--muted); margin-bottom: 0.25rem; }
.finder .row { display: flex; gap: 0.5rem; }
.finder input {
  flex: 1;
  min-width: 0;
  min-height: 3rem;
  font: inherit;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--muted);
  border-radius: 0.5rem;
}

button {
  font: inherit;
  font-weight: 600;
  min-height: 3rem;
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--on-primary);
  cursor: pointer;
}

main { max-width: 44rem; margin: 0 auto; padding: 1rem; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0.5rem 0 0.75rem; }
h2 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.cards a {
  display: block;
  padding: 1rem;
  min-height: 3.5rem;
  background: var(--surface);
  border-radius: 0.6rem;
  color: var(--text);
  text-decoration: none;
  border-left: 0.4rem solid var(--primary);
}
.number { color: var(--muted); font-size: 0.95rem; margin: 0; }
.cards .number { margin-right: 0.5rem; }

.notice {
  background: var(--surface);
  border-left: 0.4rem solid #ffb703;
  padding: 0.6rem 0.8rem;
  margin: 0.75rem 0;
}

.hero, .gallery img { display: block; width: 100%; height: auto; border-radius: 0.6rem; }
.gallery { display: grid; gap: 0.75rem; margin: 1rem 0; }

.player { margin: 1rem 0; }
.player .start { width: 100%; min-height: 4rem; font-size: 1.3rem; margin-bottom: 0.6rem; }
.player audio { width: 100%; }
details { margin-top: 0.6rem; }
summary { cursor: pointer; min-height: 2.75rem; display: flex; align-items: center; font-weight: 600; }

.credits { font-size: 0.85rem; color: var(--muted); }

.back { display: inline-block; padding: 0.75rem 0; }

.bottom {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 1.25rem 1rem 2rem;
  border-top: 1px solid var(--surface);
}
.bottom a { padding: 0.5rem; }
