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

:root {
  --bg: #f2f3ef;
  --ink: #0e141b;
  --muted: #3a4450;
  --accent: #c2310f;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; text-decoration-thickness: 0.12em; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--bg); padding: 0.6rem 1rem; z-index: 5; }
.skip:focus { left: 0; }

/* Startseite */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 1.5rem;
  align-content: space-between;
  padding: var(--pad);
  padding-bottom: calc(var(--pad) * 0.8);
}

.wordmark {
  grid-column: 1 / -1;
  margin: 0 0 clamp(2rem, 6vh, 4rem);
  font-weight: 800;
  font-size: min(28.5vw, 27vh);
  line-height: 0.8;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 100;
  animation: weite 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.wordmark span { display: block; }

@keyframes weite {
  from { font-variation-settings: "wdth" 62; opacity: 0.0; }
  to   { font-variation-settings: "wdth" 100; opacity: 1; }
}

.info { grid-column: 1 / -1; max-width: 36rem; }
.info p { margin: 0 0 1.1rem; }
.info .lead { font-size: 1.35rem; line-height: 1.4; font-weight: 500; }
.info .status { color: var(--muted); }
.nb { white-space: nowrap; }
.mail { font-weight: 700; font-size: 1.35rem; word-break: break-word; }
.info .de { margin-top: 1.8rem; padding-top: 1.2rem; border-top: 2px solid var(--ink); color: var(--muted); }

@media (min-width: 62rem) {
  .info { grid-column: 7 / -1; justify-self: start; }
  .wordmark { margin-bottom: 1.5rem; }
  .hero { align-content: space-between; }
}

/* Fuss */
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
  padding: 1.1rem var(--pad) 1.4rem;
  border-top: 4px solid var(--ink);
  font-size: 1rem;
  color: var(--muted);
}
.foot ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.foot a { color: var(--ink); }
.foot a:hover { color: var(--accent); }
.foot p { margin: 0; }

/* Rechtstexte */
.topbar { padding: var(--pad); padding-bottom: 0; font-weight: 700; }
.legal { padding: var(--pad); width: 100%; max-width: 46rem; flex: 1; }
.legal .titel {
  margin: 0.6em 0 0.5em;
  font-size: clamp(1.9rem, 7.4vw, 5.2rem);
  overflow-wrap: anywhere;
  line-height: 0.95;
  font-weight: 800;
  font-variation-settings: "wdth" 85;
  letter-spacing: -0.025em;
}
.legal section + section { margin-top: 3.2rem; padding-top: 1.2rem; border-top: 4px solid var(--ink); }
.legal .sub { margin: 1.8rem 0 0.4rem; font-size: 1.25rem; line-height: 1.25; font-weight: 700; }
.legal p { margin: 0 0 0.9rem; max-width: 40rem; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
  .wordmark { animation: none; }
}
