@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --black: #000000;
  --blue: #11a3df;       /* Logo-Blau, nur fÃ¼r FlÃ¤chen und Grafik */
  --blue-text: #0b6fa3;  /* lesbares Blau fÃ¼r Links auf WeiÃŸ */
  --white: #ffffff;
  --mist: #eef5f9;
  --grey: #56616b;
  --line: #d5dfe6;
  --max: 1160px;
  --gutter: 24px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-padding-top: 80px; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue-text); text-underline-offset: 0.18em; }

:focus-visible {
  outline: 3px solid var(--blue-text);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 {
  font-stretch: 125%;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  hyphens: manual;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.logo img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 32px; }

.nav a {
  color: var(--black);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.nav a:not(.btn):hover { text-decoration: underline; }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 4px;
  background: var(--black);
  color: var(--white);
  font-weight: 650;
  font-stretch: 112%;
  text-decoration: none;
}

.btn:hover { background: var(--blue-text); }

.nav .btn { color: var(--white); padding: 10px 18px; font-size: 15px; }

/* Hero */
.hero { padding: 88px 0 40px; }

.hero-text { max-width: 640px; }

.hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  color: var(--grey);
  max-width: 34em;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.text-link { color: var(--black); font-weight: 600; }

/* Abschnitte */
.section { padding: 88px 0; }

.section h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 750;
  max-width: 20em;
  margin-bottom: 40px;
}

/* Leistungen als Zeilen */
.services { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--black); }

.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px 48px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.service h3 {
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.service h3::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  background: var(--blue);
  transform: translateY(-1px);
}

.service p { margin: 0; color: var(--grey); max-width: 36em; }

/* Vorgehen */
.process { background: var(--mist); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  counter-reset: step;
}

.steps li { counter-increment: step; }

.steps li::before {
  content: counter(step);
  display: block;
  font-size: 44px;
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 14px;
}

.steps h3 { font-size: 18px; font-weight: 700; font-stretch: 112%; margin-bottom: 10px; }

.steps p { margin: 0; color: var(--grey); font-size: 15px; }

/* GrÃ¼nde */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.reasons h3 {
  font-size: 18px;
  font-weight: 700;
  font-stretch: 112%;
  padding-top: 20px;
  border-top: 2px solid var(--black);
  margin-bottom: 12px;
}

.reasons p { margin: 0; color: var(--grey); }

/* Kontakt: FlÃ¤che in Logo-Blau */
.contact { background: var(--blue); color: var(--black); }

.contact h2 { margin-bottom: 20px; }

.contact p { max-width: 34em; margin: 0 0 32px; font-size: 18px; }

.mail-link {
  display: inline-block;
  /* Adresse passt immer in eine Zeile */
  font-size: min(36px, calc((100vw - 2 * var(--gutter)) / 14.5));
  font-weight: 800;
  font-stretch: 125%;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.16em;
}

.mail-link:hover { color: var(--white); }

.contact .mail-link:focus-visible { outline-color: var(--black); }

/* Footer */
.site-footer {
  padding: 32px 0;
  font-size: 15px;
  color: var(--grey);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer nav { display: flex; gap: 24px; }

.site-footer a { color: var(--grey); }

.site-footer a:hover { color: var(--black); }

/* Rechtstexte */
.legal { padding: 72px 0 96px; }

.legal .container { max-width: 760px; }

.legal h1 { font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; margin-bottom: 32px; }

.legal h2 { font-size: 18px; font-weight: 700; font-stretch: 112%; margin: 36px 0 8px; }

.legal p { margin: 0 0 12px; }

@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .nav a:not(.btn) { display: none; }
  .logo img { height: 32px; }
  .hero { padding: 56px 0 24px; }
  .hero h1 { font-stretch: 112%; }
  .hero p, .contact p { font-size: 17px; }
  .section { padding: 64px 0; }
  .section h2 { margin-bottom: 28px; }
  .service { grid-template-columns: 1fr; padding: 28px 0; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li::before { font-size: 36px; margin-bottom: 8px; }
}
