@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gelb: #ffd60a;
  --tinte: #1a1a1a;
  --weiss: #ffffff;
  --papier: #f5f5f0;
  --grau: #666;
  --linie: #e8e8e3;
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'IBM Plex Mono', Menlo, monospace;
  --mass: 960px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--weiss);
  color: var(--tinte);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.huelle {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--mass);
  margin: 0 auto;
  padding: 64px 32px 48px;
}

.wortmarke {
  font-family: var(--font-display);
  font-size: clamp(38px, 8vw, 68px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.0;
  margin-bottom: 4px;
}
.wortmarke .dot { color: var(--gelb); }

.naht { display: block; width: min(340px, 78%); height: 16px; margin: 10px 0 22px; overflow: visible; }
.naht-line {
  stroke: var(--tinte); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 300; stroke-dashoffset: 0;
  animation: naht-draw 1.5s cubic-bezier(0.65, 0, 0.35, 1) backwards;
}
.naht-dot {
  fill: var(--gelb);
  animation: naht-needle 1.5s cubic-bezier(0.65, 0, 0.35, 1) backwards;
}
@keyframes naht-draw { from { stroke-dashoffset: 300; } }
@keyframes naht-needle { from { transform: translateX(-300px); } }

.descriptor {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grau);
  margin-bottom: 32px;
}

.hinweis {
  font-size: 20px;
  line-height: 1.55;
  max-width: 46ch;
  text-wrap: balance;
  margin-bottom: 12px;
}
.nachsatz {
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
  color: var(--grau);
  max-width: 42ch;
  margin-bottom: 34px;
}

.profile { display: flex; flex-wrap: wrap; gap: 14px; }
.profil {
  display: block;
  border: 1px solid var(--tinte);
  padding: 20px 26px 18px;
  min-width: 216px;
  text-decoration: none;
  color: var(--tinte);
  position: relative;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.profil b {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.profil span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grau);
  overflow-wrap: anywhere;
}
.profil::after {
  content: '';
  position: absolute;
  left: -1px; bottom: -1px;
  width: calc(100% + 2px); height: 3px;
  background: var(--gelb);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.65, 0, 0.35, 1);
}
.profil:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }
@media (hover: hover) {
  .profil:hover { transform: translateY(-4px); border-color: var(--tinte); box-shadow: 0 10px 26px rgba(26, 26, 26, 0.09); }
  .profil:hover::after { transform: scaleX(1); }
}
.profil:active { transform: scale(0.96); }

.site-footer {
  border-top: 1px solid var(--linie);
  width: 100%;
  max-width: var(--mass);
  margin: 0 auto;
  padding: 24px 32px 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  align-items: baseline;
}
.site-footer .signatur { font-family: var(--font-mono); font-size: 12px; color: var(--grau); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--grau); text-decoration: none; }
.footer-links a:hover { color: var(--tinte); }
.footer-links a:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }
.footer-links a, .zurueck { position: relative; }
.footer-links a::after, .zurueck::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
}

@media (max-width: 520px) {
  .huelle { padding: 48px 22px 36px; align-items: flex-start; }
  .site-footer { padding: 22px 22px 28px; }
  .profil { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* Textseiten (Impressum, Datenschutz) */
.huelle.text { align-items: flex-start; display: block; }
.zurueck {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--grau);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 34px;
}
.zurueck:hover { color: var(--tinte); }
.zurueck:focus-visible { outline: 2px solid var(--tinte); outline-offset: 3px; }
h1.seitentitel {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 26px;
}
h1.seitentitel .dot { color: var(--gelb); }
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grau);
  margin: 40px 0 12px;
}
.kicker::before {
  content: '';
  display: inline-block;
  width: 9px; height: 9px;
  background: var(--gelb);
  border-radius: 50%;
  margin-right: 10px;
}
.text p { max-width: 62ch; margin-bottom: 18px; font-size: 18px; line-height: 1.65; text-wrap: pretty; }
.text .lead { font-size: 20px; }
.text a { color: var(--tinte); overflow-wrap: anywhere; }
