/* Ruhig, klar, viel Weißraum. Zuerst für das Handy gebaut.
   Systemschrift: keine Schriftdateien, keine Anfragen an fremde Server. */

:root {
  --text: #1c1c1e;
  --text-leise: #48484a;
  --grund: #ffffff;
  --flaeche: #f5f5f7;
  --akzent: #0b5fff;
  --akzent-dunkel: #0848c2;
  --linie: #d2d2d7;
  --platzhalter-hg: #fff3b0;
  --platzhalter-text: #5c4a00;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem; /* 18 px */
  line-height: 1.6;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip:focus { left: 0; }

.block {
  max-width: 40rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.block + .block { border-top: 1px solid var(--linie); }

.marke {
  margin: 0 0 2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1, h2 {
  margin: 0 0 1.25rem;
  line-height: 1.2;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.625rem; }

p { margin: 0 0 1.25rem; }

a { color: var(--akzent); }
a:hover { color: var(--akzent-dunkel); }

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

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 0.75rem;
}

.knopf {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--akzent);
}
.knopf-primaer { background: var(--akzent); color: #fff; }
.knopf-primaer:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); color: #fff; }
.knopf-sekundaer { background: transparent; color: var(--akzent); }
.knopf-sekundaer:hover { background: var(--flaeche); }

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.zweite-ueberschrift { margin-top: 3rem; }

/* Vier Kacheln: ein Block pro Gedanke, am Handy untereinander. */
.kacheln {
  list-style: none;
  margin: 2rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.kacheln li {
  padding: 1.25rem;
  background: var(--flaeche);
  border-radius: 0.75rem;
}
.kacheln p { margin: 0; }

.hinweis { color: var(--text-leise); }

/* Reihe mit fünf Feldern, nur aus Text. */
.felder {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.felder li {
  padding: 0.5rem 1rem;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-weight: 600;
}

/* Fehlende Inhalte sind absichtlich gut sichtbar. */
.platzhalter {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: 0.25rem 0.6rem;
  background: var(--platzhalter-hg);
  color: var(--platzhalter-text);
  border-radius: 0.4rem;
  font-size: 1rem;
}

.fuss {
  padding: 2rem 1.25rem 3rem;
  background: var(--flaeche);
  color: var(--text-leise);
  font-size: 1rem;
  text-align: center;
}
.fuss nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0.75rem; }

@media (min-width: 48rem) {
  .kacheln { grid-template-columns: 1fr 1fr; }
  .block { padding: 6rem 2rem; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
}

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