:root {
  --farbe-text: #1f2a28;
  --farbe-text-leise: #4a5754;
  --farbe-hintergrund: #ffffff;
  --farbe-flaeche: #f3f6f4;
  --farbe-linie: #d5ddd9;
  --farbe-akzent: #2f5d50;
  --farbe-akzent-dunkel: #214339;
  --farbe-platzhalter: #fff3b0;
  --breite: 46rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--farbe-text);
  background: var(--farbe-hintergrund);
}

.inhalt {
  width: 100%;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1,
h2,
h3 {
  line-height: 1.25;
  font-weight: 650;
  color: var(--farbe-text);
}

h1 {
  font-size: 2rem;
  margin: 0 0 1.25rem;
}

h2 {
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--farbe-akzent);
  text-underline-offset: 0.15em;
}

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

a:focus-visible {
  outline: 3px solid var(--farbe-akzent);
  outline-offset: 3px;
  border-radius: 2px;
}

.sprunglink {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.6rem 1rem;
  background: var(--farbe-akzent);
  color: #fff;
  z-index: 10;
}

.sprunglink:focus {
  top: 1rem;
  color: #fff;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.menue {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.menue a {
  display: inline-block;
  padding: 0.35rem 0;
}

/* Kopf */

.kopf {
  border-bottom: 1px solid var(--farbe-linie);
  padding: 1rem 0 0.75rem;
}

.kopf-innen {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.marke {
  text-decoration: none;
  color: var(--farbe-text);
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.marke:hover {
  color: var(--farbe-text);
}

.marke-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.marke-zusatz {
  font-size: 0.95rem;
  color: var(--farbe-akzent);
}

.kopf .menue a {
  color: var(--farbe-text);
  text-decoration: none;
  font-size: 1rem;
}

.kopf .menue a:hover {
  color: var(--farbe-akzent);
  text-decoration: underline;
}

/* Abschnitte */

.einstieg {
  padding: 3rem 0 3.5rem;
}

.einleitung {
  font-size: 1.25rem;
}

.abschnitt {
  padding: 3rem 0;
}

.abschnitt-hell {
  background: var(--farbe-flaeche);
  border-top: 1px solid var(--farbe-linie);
  border-bottom: 1px solid var(--farbe-linie);
}

.knopf {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--farbe-akzent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
}

.knopf:hover {
  background: var(--farbe-akzent-dunkel);
  color: #fff;
}

.knopf:focus-visible {
  outline-color: var(--farbe-text);
}

/* Leistungen */

.leistungen,
.schritte {
  list-style: none;
  counter-reset: zaehler;
  display: grid;
  gap: 1.75rem;
}

.leistungen li,
.schritte li {
  position: relative;
  padding-left: 3.25rem;
}

.schritte li {
  counter-increment: zaehler;
}

.leistungen li::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.55rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--farbe-akzent);
}

.schritte li::before {
  content: counter(zaehler);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--farbe-akzent);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leistungen p:last-child,
.schritte p:last-child {
  margin-bottom: 0;
}

.hinweis {
  font-size: 1rem;
  color: var(--farbe-text-leise);
}

.leistungen + .hinweis {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--farbe-linie);
}

/* Über mich */

.ueber-mich {
  display: grid;
  gap: 1.5rem;
}

.foto {
  display: block;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  object-fit: cover;
}

/* Kontakt */

.kontakt {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.kontakt-art {
  display: block;
  font-size: 0.95rem;
  color: var(--farbe-text-leise);
}

.kontakt a {
  font-size: 1.4rem;
  font-weight: 600;
}

/* Textseiten */

.text-seite h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.text-seite ul {
  margin: 0 0 1rem 1.25rem;
}

.text-seite li {
  margin-bottom: 0.25rem;
}

.stand {
  margin-top: 2rem;
  color: var(--farbe-text-leise);
  font-size: 1rem;
}

/* Platzhalter: bewusst auffällig, damit nichts unausgefüllt online geht */

.platzhalter {
  background: var(--farbe-platzhalter);
  color: var(--farbe-text);
  padding: 0 0.25rem;
  border: 1px dashed #b39b00;
}

/* Fuß */

.fuss {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--farbe-linie);
  font-size: 1rem;
}

.fuss-innen {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fuss p {
  margin: 0;
  color: var(--farbe-text-leise);
}

/* Größere Bildschirme */

@media (min-width: 40rem) {
  h1 {
    font-size: 2.5rem;
  }

  .kopf-innen,
  .fuss-innen {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .einstieg {
    padding: 5rem 0 5.5rem;
  }

  .abschnitt {
    padding: 4rem 0;
  }

  .ueber-mich {
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
  }

  .foto {
    width: 11rem;
    height: 11rem;
  }
}

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
