/* Atlas der Dinge – alle Schriften liegen lokal auf dem Server (keine Google-Fonts-Verbindung) */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-semibold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}

:root {
  --creme: #F4EFE6;
  --tinte: #22201C;
  --terrakotta: #C2562F;
  --terrakotta-dunkel: #A4441F;
  --hell: #E8C4A8;
  --mittel: #D98C63;
  --grau: #6B645A;
  --linie: #DDD3C3;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--tinte);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--terrakotta-dunkel); text-underline-offset: 3px; }
a:hover { color: var(--tinte); }
a:focus-visible { outline: 3px solid var(--terrakotta); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* Kopf */
.kopf { padding: 28px 0; }
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--tinte); }
.marke-zeichen {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--terrakotta); color: var(--creme);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1;
}
.marke-name { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: 0.01em; }
.kopf nav a { font-size: 15px; font-weight: 600; text-decoration: none; }

/* Startseite */
.held { padding: 48px 0 56px; border-bottom: 1px solid var(--linie); }
.held h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(38px, 7vw, 64px); line-height: 1.05; letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.held h1 span { color: var(--terrakotta); }
.strich { width: 64px; height: 4px; background: var(--terrakotta); margin: 0 0 24px; }
.held p { font-size: 19px; max-width: 34em; margin: 0 0 32px; }
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  background: var(--tinte); color: var(--creme);
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px;
}
.knopf:hover { background: var(--terrakotta-dunkel); color: var(--creme); }

.abschnitt { padding: 56px 0; border-bottom: 1px solid var(--linie); }
.abschnitt h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 4.5vw, 38px); line-height: 1.15; margin: 0 0 28px;
}
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.schritte li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.schritte .nr {
  font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1;
  color: var(--terrakotta);
}
.schritte h3 { font-size: 17px; font-weight: 600; margin: 2px 0 4px; }
.schritte p { margin: 0; color: var(--tinte); }

.balken { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin: 0 0 24px; }
.balken i { display: block; width: 18px; }
.balken i:nth-child(1) { height: 40%; background: var(--hell); }
.balken i:nth-child(2) { height: 70%; background: var(--mittel); }
.balken i:nth-child(3) { height: 100%; background: var(--terrakotta); }

/* Rechtstexte */
.recht { padding: 32px 0 64px; }
.recht h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 6vw, 48px); line-height: 1.1; margin: 0 0 32px; }
.recht h2 { font-size: 19px; font-weight: 600; margin: 36px 0 8px; }
.recht h3 { font-size: 17px; font-weight: 600; margin: 24px 0 6px; }
.recht p, .recht ul { margin: 0 0 14px; }
.recht ul { padding-left: 22px; }
.recht address { font-style: normal; }
.stand { color: var(--grau); font-size: 15px; }

/* Fuß */
.fuss { padding: 32px 0 48px; color: var(--grau); font-size: 15px; }
.fuss .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.fuss nav { display: flex; gap: 20px; flex-wrap: wrap; }
.fuss a { color: var(--grau); }
.fuss a:hover { color: var(--tinte); }

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .marke-name { font-size: 19px; }
  .schritte li { grid-template-columns: 40px 1fr; gap: 12px; }
  .schritte .nr { font-size: 28px; }
}
