:root {
  --grund: #f2f0eb;
  --text: #1d2024;
  --t1: rgba(29, 32, 36, 0.92);
  --t2: rgba(29, 32, 36, 0.66);
  --t3: rgba(29, 32, 36, 0.46);
  --strich: rgba(29, 32, 36, 0.16);
  --akzent: #b0412e;
  --rand: 20px;
  --luft: 64px;
  --expo: cubic-bezier(0.19, 1, 0.22, 1);
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--grund);
  color: var(--t1);
  font: 400 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand); }
.mono { font-family: var(--mono); font-size: 14px; letter-spacing: 0.01em; }
.leise { color: var(--t2); }
.platzhalter { color: var(--t3); font-size: 15px; }
.akzent { color: var(--akzent); }

/* Kopf */
.kopf {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; z-index: 2;
}
.marke { display: inline-block; padding: 8px 0; font-weight: 500; font-size: 16px; letter-spacing: -0.01em; color: var(--text); }
.kopf nav { display: flex; gap: 24px; font-size: 15px; color: var(--t2); }
.kopf nav a { padding: 8px 0; transition: color 150ms ease-out; }
.kopf nav a:hover { color: var(--text); }

/* Einstieg: Name unten links, feine Linie darunter (nach berch.ch) */
.einstieg {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 40px;
}
.einstieg { position: relative; }
.zeichen {
  position: absolute; left: var(--rand); top: 26svh;
  font-weight: 300; font-size: 41vw; line-height: 0.8; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(29, 32, 36, 0.2);
  user-select: none; pointer-events: none;
}
.einstieg-text { position: relative; }
.unterzeile { font-size: 17px; color: var(--t2); margin-bottom: 16px; }
.einstieg-fuss .mono { white-space: nowrap; }
h1 {
  font-weight: 400;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--text);
}
.maske { display: block; overflow: hidden; padding-bottom: 0.06em; }
.maske > span { display: block; }
.linie { height: 1px; background: var(--strich); margin: 24px 0 16px; transform-origin: left; }
.einstieg-fuss { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.einstieg-fuss .mono { color: var(--t2); }

.knopf {
  display: inline-block;
  background: var(--akzent); color: #faf7f2;
  font-size: 15px; font-weight: 500;
  padding: 8px 24px; border-radius: 999px;
  transition: background-color 150ms ease-out;
}
.knopf:hover { background: #8f3323; }

/* Abschnitte */
.abschnitt { padding-top: var(--luft); padding-bottom: var(--luft); border-top: 1px solid var(--strich); }
h2 { font-weight: 400; font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 8px; }
.spalten { display: grid; gap: 40px; }
.spalte-titel p { max-width: 32ch; }

.liste li {
  border-top: 1px solid var(--strich);
  padding: 16px 0;
  font-size: 22px; letter-spacing: -0.02em;
  color: var(--t2);
}
.liste li:last-child { border-bottom: 1px solid var(--strich); }
.liste li span { display: inline-block; transition: transform 150ms ease-out, color 150ms ease-out; }
.liste li:hover span { transform: translateX(8px); color: var(--text); }
#leistungen > .platzhalter { margin-top: 24px; }

.register > div { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 16px 0; border-top: 1px solid var(--strich); }
.register > div:last-child { border-bottom: 1px solid var(--strich); }
.register dt { font-family: var(--mono); font-size: 13px; color: var(--t3); text-transform: uppercase; letter-spacing: 0.04em; }
.register dd { font-size: 18px; color: var(--t1); }
.register .zweck dd { font-size: 17px; color: var(--t2); max-width: 60ch; }

.person { display: flex; gap: 24px; align-items: center; margin-top: 64px; }
.foto-platz {
  flex: 0 0 104px; aspect-ratio: 4 / 5;
  border: 1px dashed var(--strich); border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--t3);
}
.person-name { font-size: 22px; letter-spacing: -0.02em; color: var(--text); }
.person .platzhalter { margin-top: 8px; }

.kontakt .adresse { font-size: 22px; line-height: 1.35; letter-spacing: -0.02em; color: var(--text); margin-bottom: 16px; }
.kontakt .platzhalter { margin-bottom: 24px; }

.fuss {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 40px; padding-bottom: 40px;
  border-top: 1px solid var(--strich);
  font-size: 14px; color: var(--t3);
}
.fuss a { display: inline-block; padding: 8px 0; margin: -8px 0; text-decoration: underline; text-underline-offset: 3px; }

/* Bewegung */
.js .maske > span { transform: translateY(105%); transition: transform 1000ms var(--expo); }
.js .maske.da > span { transform: none; }
.js .linie { transform: scaleX(0); transition: transform 1000ms var(--expo) 300ms; }
.js .linie.da { transform: scaleX(1); }
.js .zeigen { opacity: 0; transform: translateY(24px); transition: opacity 800ms var(--expo), transform 800ms var(--expo); }
.js .zeigen.da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .maske > span, .js .linie, .js .zeigen { transform: none !important; opacity: 1 !important; transition: none !important; }
}

/* Computer */
@media (min-width: 900px) {
  :root { --rand: 40px; --luft: 104px; }
  body { font-size: 18px; }
  h1 { font-size: 124px; }
  .zeichen { left: auto; right: var(--rand); top: 64px; font-size: min(34vw, 440px); }
  .unterzeile { font-size: 20px; max-width: none; margin-bottom: 24px; }
  .einstieg { padding-bottom: 64px; }
  .linie { margin: 40px 0 24px; }
  h2 { font-size: 40px; }
  .spalten { grid-template-columns: 4fr 8fr; gap: 64px; }
  .liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .liste li { font-size: 26px; }
  .liste li:nth-last-child(2) { border-bottom: 1px solid var(--strich); }
  #leistungen > .platzhalter, .person { margin-left: calc((100% - 64px) * 4 / 12 + 64px); }
  .register > div { grid-template-columns: 180px 1fr; gap: 24px; }
  .fuss { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 420px) {
  .kopf nav { display: none; }
}
