/* Schriften vom eigenen Server. Eine Einbindung über Google Fonts würde die
   IP-Adresse jedes Besuchers übertragen und die Datenschutzerklärung aushebeln.
   Dateien und Lizenztexte liegen in schriften/. */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('schriften/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('schriften/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('schriften/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('schriften/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #173532;
  --ink-soft: #4a635f;
  --accent: #d7673c;
  --accent-soft: #e8885f;
  --paper: #f5f0e7;
  --card: #ffffff;
  --line: #d8d2c5;
  --rule: #c9d6d2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 'DM Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
}

main,
header,
footer {
  width: min(100%, 64rem);
  margin-inline: auto;
  padding-inline: 1rem;
}

h1,
h2,
h3 {
  font-family: 'Fraunces', Georgia, "Times New Roman", serif;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 7vw, 4rem);
}

h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
  max-width: 42rem;
}

a {
  color: #a8441d;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: var(--ink-soft);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: 30px;
  height: 30px;
}

.hero {
  padding-block: clamp(2rem, 6vw, 4.5rem) clamp(2rem, 5vw, 3.5rem);
}

section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.button {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 0.4rem;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--rule);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
}

.grid li {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--card);
}

.steps {
  counter-reset: step;
  margin-top: 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.steps li {
  counter-increment: step;
  padding: 1.25rem;
  border-top: 3px solid var(--accent);
  background: var(--card);
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.4rem;
  color: var(--accent);
  font: 700 1.6rem/1 Georgia, serif;
}

footer {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

footer a {
  margin-right: 1.25rem;
}

video {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 1.5rem;
  border-radius: 0.6rem;
  background: #000;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 2px 8px #0003;
}

.legal {
  padding-block: 2rem 3rem;
}

.legal table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal th,
.legal td {
  padding: 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal code {
  font-size: 0.9em;
}

@media (max-width: 40rem) {
  .actions .button {
    width: 100%;
    text-align: center;
  }
}
