@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --background: #f4f5f2;
  --foreground: #1e2522;
  --card: #ffffff;
  --muted: #59625d;
  --border: #d5dad3;
  --primary: #2f5d50;
  --primary-dark: #244a40;
  --primary-soft: #e3e9e4;
  --deep: #1f3a33;
  --radius: 14px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--primary-dark);
}

code {
  font-family: ui-monospace, 'Fira Mono', monospace;
  font-size: 0.92em;
  background: var(--primary-soft);
  padding: 0.05em 0.35em;
  border-radius: 6px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 750;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

.wrap {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--card);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--primary) 55%, transparent);
  outline-offset: 2px;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 46rem;
}

.muted {
  color: var(--muted);
}

/* The bar at the top, in sight while the page scrolls. */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in oklab, var(--background) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--foreground);
  text-decoration: none;
}

.top nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.top nav a:not(.button) {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 550;
}

.top nav a:not(.button):hover {
  color: var(--primary);
}

@media (max-width: 860px) {
  .top nav a:not(.button) {
    display: none;
  }
}

.button {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
}

.button:hover {
  background: var(--primary-dark);
  color: #fff;
}

.button.small {
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
}

.button.ghost {
  background: transparent;
  color: var(--primary);
}

.button.ghost:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.status {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* The valley of the app's headers, under the opening words. */
.hero {
  position: relative;
  padding-top: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(#e8eee9, var(--background) 70%);
}

.hero-text {
  position: relative;
  z-index: 1;
}

.mountains {
  display: block;
  width: 100%;
  height: clamp(70px, 10vw, 150px);
  margin-top: 1.5rem;
}

.hero-shot {
  margin-top: -2.5rem;
  position: relative;
}

.shot {
  margin-block: 0;
}

.split .shot {
  margin-inline: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgb(30 37 34 / 6%),
    0 18px 40px -12px rgb(30 37 34 / 22%);
  background: var(--card);
}

.band {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.cards.four {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.highlight {
  margin-top: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--primary-soft);
  border: 1px solid color-mix(in oklab, var(--primary) 25%, var(--border));
}

.highlight p {
  margin: 0;
  color: var(--foreground);
}

.cards article {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.cards article p {
  margin: 0;
  color: var(--muted);
}

.split {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--card);
  border-block: 1px solid var(--border);
}

.split-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.split-row.reverse > :first-child {
  order: 2;
}

.split p {
  color: var(--muted);
}

@media (max-width: 860px) {
  .split-row {
    grid-template-columns: 1fr;
  }

  .split-row.reverse > :first-child {
    order: 0;
  }
}

.band.dark {
  background: var(--deep);
  color: #eef3f0;
}

.band.dark .lead {
  color: #c9d6cf;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem 2rem;
}

.checks li {
  position: relative;
  padding-left: 2rem;
  color: #d5e0da;
}

.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: #7fc4a8
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231f3a33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 80% no-repeat;
}

.checks strong {
  color: #fff;
}

.note {
  margin-top: 2rem;
  color: var(--muted);
}

.contact {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--primary-soft);
  text-align: center;
}

.contact .lead {
  margin-inline: auto;
}

.foot {
  padding-block: 1.75rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.foot nav {
  display: flex;
  gap: 1.25rem;
}

/* The pages of the Impressum and the privacy notice. */
.page {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.page .wrap {
  max-width: 46rem;
}

.page dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1.5rem;
  margin: 0 0 1.5rem;
}

.page dt {
  color: var(--muted);
}

.page dd {
  margin: 0;
}
