:root {
  --bg: #f5f8fb; --card: #ffffff; --text: #14212e; --muted: #5a6b7c;
  --line: #dbe4ec; --accent: #0b6fa4; --accent-ink: #ffffff; --soft: #e7f1f8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e151c; --card: #16212b; --text: #e6edf3; --muted: #9db0c1;
    --line: #263543; --accent: #4fb3e8; --accent-ink: #06202e; --soft: #1b2b38;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
a { color: var(--accent); }
img { display: block; max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.hero { position: relative; min-height: min(72vh, 560px); display: flex; align-items: flex-end; color: #fff;
  background: #0b3d5c url("img/hero.jpg") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,20,32,.15) 0%, rgba(4,20,32,.75) 100%); }
.hero .wrap { position: relative; width: 100%; text-shadow: 0 1px 12px rgba(0,0,0,.55); padding-top: 48px; padding-bottom: 48px; }
.logo { width: clamp(150px, 24vw, 220px); height: auto; margin-bottom: 20px; background: #fff; border-radius: 16px; padding: 10px 14px; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.hero h1 { margin: 0 0 8px; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1.1; }
.hero p { margin: 0 0 24px; font-size: clamp(1.05rem, 2.6vw, 1.3rem); max-width: 36em; opacity: .95; }

.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none; }
.btn:hover { filter: brightness(1.08); }
.heroSocial { display: flex; gap: 12px; }
.heroSocial a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: #0b3d5c; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.heroSocial a:hover { transform: translateY(-2px); }
.heroSocial svg { width: 24px; height: 24px; fill: currentColor; }

section { padding: 56px 0 8px; }
h2 { margin: 0 0 20px; font-size: 1.7rem; line-height: 1.2; }
.lead { color: var(--muted); margin: -8px 0 24px; max-width: 42em; }

.grid2 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.card .ph { aspect-ratio: 16 / 10; background: var(--soft) center / cover no-repeat; }
.card .body { padding: 18px 20px 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); }

.cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.events { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.events li { display: grid; grid-template-columns: 8.5em 1fr; gap: 4px 16px; padding: 14px 20px; border-top: 1px solid var(--line); }
.events li:first-child { border-top: 0; }
.events .d { font-weight: 600; color: var(--accent); white-space: nowrap; }
.events .n { font-weight: 600; }
.events .l { grid-column: 2; color: var(--muted); font-size: .95rem; }
.muted { color: var(--muted); }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(140px, 22vw, 230px); grid-auto-flow: dense; }
.gallery div { border-radius: 12px; background: var(--soft) center / cover no-repeat; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

.people { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.person { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.person .f { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.person .nm { font-weight: 600; margin: 2px 0 4px; }
.person a { word-break: break-all; }

.social { display: flex; gap: 12px; flex-wrap: wrap; }
.social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; font-weight: 600; }
.social svg { width: 20px; height: 20px; fill: currentColor; }

footer { margin-top: 56px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }

@media (max-width: 560px) {
  section { padding-top: 40px; }
  .events li { grid-template-columns: 1fr; }
  .events .l { grid-column: 1; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
}

.heroCta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.55); }

.kursBox { display: grid; gap: 6px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 16px; padding: 18px 20px; margin-top: 24px; }
.kursBox strong { font-size: 1.1rem; }
.is-missing { display: none; }

footer .foot { display: grid; gap: 6px; }
.foot .reg { font-size: .85rem; }
