/* Statische Seiten (Startseite + Rechtsseiten) – CI aus FEEDBACK-05 J3:
   Velvet Green #02322E, Mint #8CACA0, Sunshine #F7B240, Light Grey #D9DADA,
   DM Sans (Fließtext) + Playfair Display (Wortmarke, Überschriften), selbst gehostet. */

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --velvet: #02322e;
  --mint: #8caca0;
  --sunshine: #f7b240;
  --flaeche: #f3f4f4;
  --rahmen: #d9dada;
  --text: #0c1715;
  --text-invers: #f4f7f6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

h1,
h2 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--velvet);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

a {
  color: var(--velvet);
  text-underline-offset: 3px;
}

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

/* Kopf */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  background: var(--velvet);
}

.wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-invers);
}

.wordmark a {
  color: inherit;
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
}

.btn-kopf {
  padding: 0.45rem 1rem;
  color: var(--velvet);
  background: var(--sunshine);
}

.btn-primary {
  padding: 0.9rem 2.2rem;
  font-size: 1.15rem;
  color: var(--text-invers);
  background: var(--velvet);
  box-shadow: 0 6px 18px rgb(2 50 46 / 0.25);
}

.btn-primary:hover,
.btn-kopf:hover {
  border-color: var(--mint);
}

/* Hero – sanfter Mint-Verlauf als Verankerung (Design-Review Runde 1) */
.hero {
  padding: 3.2rem 1.2rem 2.6rem;
  text-align: center;
  background: linear-gradient(180deg, #e9f1ee 0%, #ffffff 100%);
}

.hero > * {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  margin: 0.8rem 0;
}

.hero-satz {
  max-width: 38rem;
  margin: 0 auto 1.6rem;
}

.beta-badge {
  display: inline-block;
  margin: 0;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--sunshine);
  color: var(--velvet);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-hinweis {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #3c5450;
}

/* Abschnitte */
.abschnitt {
  max-width: 54rem;
  margin: 0 auto;
  padding: 2.4rem 1.2rem;
}

.abschnitt h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-top: 0;
}

.schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.schritte figure {
  margin: 0;
}

.schritte img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--rahmen);
  background: var(--flaeche);
}

.schritte figcaption {
  margin-top: 0.6rem;
}

.schritte figcaption strong {
  display: block;
  color: var(--velvet);
}

.funktionen {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.funktionen li {
  background: var(--flaeche);
  border: 1px solid var(--rahmen);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}

.funktionen strong {
  display: block;
  color: var(--velvet);
}

.sicherheit {
  background: var(--velvet);
  color: var(--text-invers);
  max-width: none;
}

.sicherheit > * {
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
}

.sicherheit h2,
.sicherheit a {
  color: var(--text-invers);
}

.sicherheit ul {
  padding-left: 1.2rem;
}

.sicherheit li {
  margin: 0.4rem 0;
}

/* Fußzeile */
.site-footer {
  background: var(--flaeche);
  border-top: 1px solid var(--rahmen);
  padding: 1.6rem 1.2rem 2rem;
  text-align: center;
  font-size: 0.95rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  margin-bottom: 0.6rem;
}

/* Rechtsseiten */
.rechtstext {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.4rem 1.2rem 3rem;
}

.rechtstext h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
}

.rechtstext h2 {
  font-size: 1.35rem;
  margin-top: 2.2rem;
}

.rechtstext dl {
  margin: 0;
}

.rechtstext dt {
  font-weight: 700;
  color: var(--velvet);
  margin-top: 0.9rem;
}

.rechtstext dd {
  margin: 0;
}

.stand {
  color: #3c5450;
  font-size: 0.95rem;
}

mark.fehlt {
  background: var(--sunshine);
  color: var(--velvet);
  font-weight: 700;
  padding: 0 0.3rem;
  border-radius: 4px;
}

@media (min-width: 720px) {
  .schritte {
    grid-template-columns: repeat(3, 1fr);
  }

  .funktionen {
    grid-template-columns: repeat(2, 1fr);
  }
}
