@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/inter.woff2") format("woff2-variations"), url("/inter.woff2") format("woff2");
}

:root {
  --text: #111111;
  --muted: #5f5f5f;
  --line: #e2e2e2;
  --bg: #ffffff;
  --light: #f5f5f5;
  --accent: #a2eaf5;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

header.top { padding: 32px 0; }
.logo { display: inline-block; }
.logo img { display: block; height: 56px; width: auto; }

main { flex: 1; display: flex; align-items: center; }

.start { padding: 64px 0 96px; width: 100%; }

.tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.tags li {
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--light);
}

h1 {
  font-weight: 400;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 20px;
}

.kontakt {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 20px;
}
.kontakt a {
  align-self: flex-start;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-size: 100% 8px;
  background-position: 0 88%;
  transition: background-size .2s ease;
}
.kontakt a:hover { background-size: 100% 100%; }

footer {
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
footer nav { display: flex; gap: 20px; }
footer a:hover { color: var(--text); }

/* Rechtstexte */
main.text-main { align-items: flex-start; }
.text { padding: 32px 0 96px; }
.text h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 32px; }
.text h2 {
  font-weight: 500;
  font-size: 20px;
  margin: 32px 0 8px;
}
.text p { font-weight: 400; color: #333; }
.text p + p { margin-top: 12px; }
.text a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.zurueck { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: 15px; font-weight: 400; }
.zurueck:hover { color: var(--text); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  header.top { padding: 24px 0; }
  .logo img { height: 44px; }
  .start { padding: 40px 0 64px; }
  .lead, .kontakt { font-size: 18px; }
}
