/* Pinguva – Startseite */

/* Schriften liegen auf dem eigenen Server (SIL Open Font License, siehe 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;
  --bg-2: #10151b;
  --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;
  --akzent: #f4f3ef;
  --glow: rgba(255, 255, 255, 0.16);
  --blau: #1580aa;
  --blau-2: #106b8f;
  --f: "Inter Tight", system-ui, -apple-system, "Segoe UI Variable Display", "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: 1120px;
  --rand: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* 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;
  text-decoration: none;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
}
.skip:focus {
  top: 16px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--rand);
}
.mono {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1;
}
h1 {
  font-size: clamp(2.75rem, 8vw, 6.5rem);
}
h2 {
  font-size: clamp(2rem, 5vw, 3.75rem);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
p {
  margin: 0;
}
.muted {
  color: var(--ink-2);
}

/* Knöpfe: eckig, blau, Grossbuchstaben in schmaler Schrift */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 52px;
  padding: 0 22px;
  border: 1px solid var(--blau);
  border-radius: 0;
  font-family: var(--f-knopf);
  font-stretch: 75%;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn.dl:hover svg {
  transform: translateY(2px);
}
.btn-blau {
  background: var(--blau);
  color: #fff;
}
.btn-blau:hover {
  background: var(--blau-2);
  border-color: var(--blau-2);
}
.btn-linie {
  background: transparent;
  color: #fff;
}
.btn-linie:hover {
  background: var(--blau);
}
.btn-klein {
  height: 44px;
  padding: 0 18px;
  font-size: 1.15rem;
}

/* Navigation */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition:
    background 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.voll {
  background: rgba(10, 13, 17, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 32px;
}
.marke {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.125rem;
}
.marke img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--ink-2);
}
.nav-links a:hover {
  color: var(--ink);
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav .btn {
    margin-left: auto;
  }
}

/* Hero */
.hero {
  position: relative;
  overflow: clip;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 0 60px;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 45% at 50% 62%, var(--glow), transparent 70%),
    radial-gradient(40% 30% at 50% 100%, rgba(255, 255, 255, 0.06), transparent 70%);
}
.hero .mono {
  margin-bottom: 28px;
}
.hero h1 span {
  color: var(--ink-3);
}
.hero .lead {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-2);
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero-hinweis {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--ink-3);
}
.hero-hinweis a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Gerät */
.geraet {
  position: relative;
  width: min(520px, 86vw);
  aspect-ratio: 1.55;
  margin: 72px auto 0;
  perspective: 1400px;
}
.box {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  transform: rotateX(58deg) rotateZ(-32deg);
  transform-style: preserve-3d;
  background: linear-gradient(145deg, #2a2a2a 0%, #161616 45%, #0d0d0d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.6),
    0 60px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 120px -20px var(--glow);
  animation: schweben 7s ease-in-out infinite;
}
.box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transform: translateZ(-46px);
  background: #070707;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  margin: -23px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 18%, var(--akzent) 36%, transparent 70%);
  filter: blur(0.5px);
  animation: puls 3.2s ease-in-out infinite;
}
.box .schlitz {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 14%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
@keyframes schweben {
  50% {
    transform: rotateX(58deg) rotateZ(-32deg) translateZ(18px);
  }
}
@keyframes puls {
  50% {
    opacity: 0.45;
    transform: scale(0.85);
  }
}
.schatten {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -18%;
  height: 30%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.8), transparent);
  filter: blur(12px);
  z-index: -1;
}

/* Abschnitte */
section {
  padding: clamp(96px, 14vw, 180px) 0;
  position: relative;
}
.kopf {
  max-width: 760px;
}
.kopf .mono {
  display: block;
  margin-bottom: 20px;
}
.kopf p {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--ink-2);
  max-width: 620px;
}
.zentriert {
  text-align: center;
  margin: 0 auto;
}
.zentriert p {
  margin-left: auto;
  margin-right: auto;
}
.trenner {
  border-top: 1px solid var(--line);
}

/* Manifest */
.manifest p:not(.mono) {
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 400;
  max-width: 980px;
}
.manifest p span {
  color: var(--ink-3);
  transition: color 0.6s var(--ease);
}
.manifest p span.an {
  color: var(--ink);
}

/* Funktionen als grosse Zeilen */
.fliste {
  margin-top: 72px;
  border-top: 1px solid var(--line);
}
.fzeile {
  display: grid;
  grid-template-columns: 72px 1.15fr 1fr;
  gap: 24px 32px;
  align-items: baseline;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.fzeile .nr {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--akzent);
}
.fzeile h3 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.05;
  padding-bottom: 0.05em;
  background: linear-gradient(180deg, var(--ink) 30%, rgba(244, 243, 239, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.4s var(--ease);
}
.fzeile p {
  color: var(--ink-2);
  font-size: 1.05rem;
  max-width: 420px;
}
.fliste:hover .fzeile h3 {
  opacity: 0.45;
}
.fliste .fzeile:hover h3 {
  opacity: 1;
}
@media (max-width: 760px) {
  .fzeile {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }
}

/* Gespräch / Demo */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.chat {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}
.chat-kopf {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.punkt {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3bd08f;
  box-shadow: 0 0 12px #3bd08f;
}
.chat-kopf .mono {
  margin-left: auto;
  letter-spacing: 0.06em;
}
.blasen {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  min-height: 330px;
}
.blase {
  max-width: 84%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.blase.da {
  opacity: 1;
  transform: none;
}
.blase.kunde {
  background: #1e262e;
  border-bottom-left-radius: 6px;
}
.blase.pinguva {
  background: var(--ink);
  color: #0a0a0a;
  margin-left: auto;
  border-bottom-right-radius: 6px;
}
.blase.system {
  align-self: center;
  background: transparent;
  border: 1px dashed var(--line-2);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.75rem;
  border-radius: 999px;
}
.liste {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 18px;
}
.liste li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--ink-2);
}
.liste b {
  color: var(--ink);
  font-weight: 500;
  display: block;
}
.liste .nr {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--akzent);
  padding-top: 4px;
}

/* Lokal / Grosse Zahl */
.privat {
  text-align: center;
  overflow: hidden;
}
.privat .gross {
  font-size: clamp(5rem, 20vw, 16rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.9;
  background: linear-gradient(180deg, var(--ink) 20%, rgba(244, 243, 239, 0.05));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 24px 0 8px;
}
.pillen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}
.pille {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

/* Anforderungen */
.specs {
  margin-top: 64px;
  border-top: 1px solid var(--line);
}
.spec {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  color: var(--ink-3);
  font-size: 0.95rem;
}
.spec dd {
  margin: 0;
}
@media (max-width: 640px) {
  .spec {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Pakete */
.preise {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 72px;
}
@media (max-width: 800px) {
  .preise {
    grid-template-columns: 1fr;
  }
}
.preis {
  border: 1px solid var(--line);
  padding: 40px 36px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
}
.preis.top {
  background: linear-gradient(180deg, #1a1d21, var(--bg-2) 60%);
  border-color: rgba(255, 255, 255, 0.3);
}
.preis .mono {
  margin-bottom: 14px;
}
.preis h3 {
  font-size: 1.75rem;
}
.preis .unter {
  color: var(--ink-2);
  margin-top: 6px;
}
.preis .betrag {
  font-size: 2.75rem;
  letter-spacing: -0.06em;
  font-weight: 400;
  margin: 26px 0 4px;
}
.preis .klein {
  color: var(--ink-3);
  font-size: 0.9rem;
}
.preis ul {
  list-style: none;
  padding: 0;
  margin: 28px 0 24px;
  display: grid;
  gap: 12px;
  color: var(--ink-2);
}
.preis li::before {
  content: "—";
  color: var(--akzent);
  margin-right: 10px;
}
.preis .bedarf {
  color: var(--ink-3);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.preis .btn {
  margin-top: auto;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 64px auto 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  font-size: 1.15rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--ink-3);
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 0 26px;
  color: var(--ink-2);
  max-width: 680px;
}

/* Download */
.abschluss {
  text-align: center;
  isolation: isolate;
}
.abschluss::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 100%, var(--glow), transparent 70%);
}
.abschluss h2 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}
.abschluss .lead {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: 1.15rem;
  color: var(--ink-2);
}
.dl-knoepfe {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.dl-info {
  margin: 32px auto 0;
  max-width: 640px;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--ink-3);
}
.dl-info a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pruef summary {
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 400;
  padding: 6px 0;
  color: var(--ink-2);
}
.pruef summary::after {
  font-size: 1.1rem;
}
.pruef dl {
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  text-align: left;
}
.pruef dd {
  margin: 0;
}
.pruef code {
  font-size: 0.75rem;
  word-break: break-all;
  color: var(--ink-2);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 64px;
  color: var(--ink-3);
  font-size: 0.9rem;
}
footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
footer h4 {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-3);
}
footer address {
  font-style: normal;
  line-height: 1.6;
  color: var(--ink-2);
}
footer nav {
  display: grid;
  gap: 6px;
  color: var(--ink-2);
}
footer a:hover {
  color: var(--ink);
}
footer .copy {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.85rem;
}
@media (max-width: 760px) {
  footer .wrap {
    grid-template-columns: 1fr;
  }
}

/* Einblenden */
.js .rein {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
.js .rein.da {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .rein,
  .blase {
    opacity: 1;
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Kleinere Ergänzungen */
.manifest .mono {
  margin-bottom: 32px;
}
.privat .text {
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.2rem;
}
.leise {
  color: var(--ink-3);
}
.preis.top .mono {
  color: var(--akzent);
}
.abschluss .mono {
  margin-bottom: 24px;
}
footer .marke {
  color: var(--ink);
}
footer .claim {
  max-width: 340px;
  margin-top: 14px;
}
