/* Pinguva – gemeinsamer Stil der Unterseiten (Impressum, Datenschutz, Download) */

/* Schriften liegen auf dem eigenen Server (SIL Open Font License, siehe assets/fonts/) */
@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: #0a0d11;
  --card: #131a21;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f4f3ef;
  --ink-2: #b9b7b0;
  --ink-3: #75736d;
  --blau: #1580aa;
  --blau-2: #106b8f;
  --glow: rgba(255, 255, 255, 0.12);
  --f: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-knopf: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --wrap: 760px;
  --rand: clamp(16px, 4vw, 40px);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  isolation: isolate;
}
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  z-index: -1;
  background: radial-gradient(50% 70% at 50% 0%, var(--glow), transparent 70%);
  pointer-events: none;
}
/* Raue Körnung wie Film */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .8 0 0 0 0 .88 0 0 0 0 1 0 0 0 1.4 -.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: koernung 1s steps(4) infinite;
}
@keyframes koernung {
  25% {
    transform: translate(-4%, 3%);
  }
  50% {
    transform: translate(3%, -5%);
  }
  75% {
    transform: translate(-2%, -2%);
  }
}

a {
  color: inherit;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--rand);
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
}
.skip:focus {
  top: 16px;
}

/* Kopf */
.top {
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img {
  width: 26px;
  height: 26px;
}

/* Knöpfe: eckig, Logo-Blau, Grossbuchstaben in schmaler Schrift */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid var(--blau);
  color: #fff;
  font-family: var(--f-knopf);
  font-stretch: 75%;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.btn:hover {
  background: var(--blau);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-blau {
  background: var(--blau);
}
.btn-blau:hover {
  background: var(--blau-2);
  border-color: var(--blau-2);
}
.btn-gross {
  height: 56px;
  padding: 0 24px;
  font-size: 1.4rem;
}
.btn-gross svg {
  width: 20px;
  height: 20px;
}

/* Text */
h1,
h2,
h3,
p,
li {
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}
h1 {
  margin: 0 0 14px;
  font-weight: 400;
  font-size: clamp(2rem, 8.5vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}
h2 {
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
p,
ul,
ol {
  color: var(--ink-2);
}
strong,
b {
  color: var(--ink);
  font-weight: 600;
}
main a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}
main a:hover {
  text-decoration-color: var(--ink);
}
main a.btn {
  text-decoration: none;
}
.mono {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.karte {
  margin: 18px 0;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
}

/* Fusszeile */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--ink-3);
  font-size: 0.9rem;
}
footer .wrap {
  max-width: 1120px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
footer a {
  color: var(--ink-2);
  text-decoration: none;
}
footer a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    animation: none;
  }
}
