*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 17px/1.55 var(--font);
}

a { color: var(--accent); }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--width); margin: 0 auto; padding: 0 calc(var(--space) * 3); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.topbar { border-bottom: 1px solid var(--line); background: var(--surface); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.brand img { border-radius: 7px; }
.topbar nav { display: flex; gap: 20px; font-size: 15px; }

/* Hero */
.hero { padding: calc(var(--space) * 10) 0 calc(var(--space) * 8); text-align: center; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-tint); color: var(--ink); font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.02em; margin: 20px 0 16px; }
.hero .lead { font-size: clamp(19px, 2.4vw, 23px); color: var(--ink-soft); max-width: 680px; margin: 0 auto 32px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.button.secondary { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.illustration { margin: 56px auto 0; max-width: 720px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.illustration svg { display: block; width: 100%; height: auto; }

/* Sections */
section { padding: calc(var(--space) * 8) 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(26px, 3.6vw, 36px); letter-spacing: -0.01em; margin: 0 0 24px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--ink-soft); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li { padding-left: 28px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* Legal pages */
.legal { padding: calc(var(--space) * 8) 0; max-width: 760px; }
.legal h1 { font-size: 36px; margin: 0 0 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--ink-soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--ink-soft); }

/* WellenBieger */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 16px 0 0; font-size: 15px; color: var(--ink-soft); }
.legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.legend .download { background: var(--download); }
.legend .upload { background: var(--upload); }
.legend .hint { margin-left: auto; font-size: 13px; }
.intro, .note { color: var(--ink-soft); max-width: 680px; }
.intro { margin: -8px 0 24px; }
.note { margin: 24px 0 0; }
.grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
