/* Design tokens taken from mth-potsdam.de */
@font-face {
  font-family: 'Inter';
  src: url('/assets/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green-dark: #00504f;
  --green-dark-hover: #003c3b;
  --green-light: #97c52f;
  --green-sage: #86b891;
  --coral: #fe5f5b;
  --coral-hover: #f04844;
  --off-white: #f3f3ef;
  --gray: #b7b7b0;
  --text: #1a1a1a;
  --text-muted: #5d5d59; /* darker than the site's #8c8c88 so small text stays readable */
  --white: #fff;
  --gutter: clamp(1rem, 4vw, 2rem);
  --max: 76rem;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--off-white);
  color: var(--text);
  font: 400 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem; /* comfortable touch target */
  padding: 0.5rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 0;
  font: 600 1rem/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: var(--coral-hover); }
.btn--dark { background: var(--green-dark); color: var(--white); }
.btn--dark:hover { background: var(--green-dark-hover); }
.btn--ghost { background: transparent; color: var(--green-dark); border-color: var(--green-dark); }
.btn--ghost:hover { background: var(--green-dark); color: var(--white); }
.btn--danger { background: transparent; color: #b3261e; border-color: #b3261e; }
.btn--danger:hover { background: #b3261e; color: var(--white); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
