/* Rainglass – Website. Systemschriften, keine externen Ressourcen, hell und dunkel. */
:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1c1d26;
  --muted: #5d6175;
  --border: #e2e4ee;
  --accent: #3a6cf2;
  --accent-soft: #e8eeff;
  --hero-text: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1220;
    --surface: #181c2e;
    --text: #eceef7;
    --muted: #a2a7bd;
    --border: #2a2f47;
    --accent: #7ea2ff;
    --accent-soft: #1f2846;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* Kopfzeile */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); }
.brand img { width: 32px; height: 32px; }
.brand:hover { text-decoration: none; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.site-header nav a { color: var(--muted); }
.site-header nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* Startseite */
.hero {
  position: relative;
  color: var(--hero-text);
  background: #1d2a5c url("images/hero.jpg") center / cover no-repeat;
  text-align: center;
  padding: 96px 20px 104px;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(10, 14, 40, .15), rgba(10, 14, 40, .55)); }
.hero > * { position: relative; z-index: 1; }
.hero img.icon { width: 128px; height: 128px; margin: 0 auto 20px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35)); }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -.02em; }
.hero p { font-size: clamp(18px, 2.4vw, 22px); margin: 0 auto 28px; max-width: 640px; opacity: .92; }
.button {
  display: inline-block; background: #ffffff; color: #1c1d26; font-weight: 600;
  padding: 12px 22px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.button:hover { text-decoration: none; transform: translateY(-1px); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 56px 0; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.shots { display: grid; gap: 28px; margin: 0 0 64px; }
.shots img { border-radius: 14px; box-shadow: 0 14px 40px rgba(20, 24, 60, .18); }

/* Textseiten */
main.doc { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 36px clamp(20px, 5vw, 56px); margin: 40px auto 56px; max-width: 820px; }
main.doc h1 { font-size: 34px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -.01em; }
main.doc .meta { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
main.doc h2 { font-size: 22px; margin: 34px 0 8px; }
main.doc h3 { font-size: 18px; margin: 24px 0 6px; }
main.doc p, main.doc li { color: var(--text); }
main.doc ul { padding-left: 22px; }
main.doc address { font-style: normal; }
.placeholder { background: #fff3c4; color: #5c4300; padding: 0 4px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { .placeholder { background: #5c4300; color: #fff3c4; } }
.note { background: var(--accent-soft); border-radius: 12px; padding: 14px 18px; }

details { border-bottom: 1px solid var(--border); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; padding: 26px 0 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
