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

:root {
  --bg: #101820;   /* minimal heller */
  --fg: #f5f5f5;
}



body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Layout (kompakt, zentriert) --- */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px;
  text-align: center;
  position: relative;
  z-index: 1; /* über vignette+grain */
}

/* --- Logo + ultra-minimaler Halo (weil Kreis transparent) --- */
.logo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.logo-wrap::before {
  content: "";
  position: absolute;
  inset: -22px;                 /* Halo-Grösse */
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(245,245,245,0.10) 0%,
    rgba(245,245,245,0.05) 35%,
    rgba(245,245,245,0.00) 70%
  );
  filter: blur(2px);
  opacity: 0.55;                /* subtil */
  pointer-events: none;
}

.logo {
  width: 120px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(245,245,245,0.06));
}

/* --- Text --- */
.tagline {
  font-size: 0.9rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: 0.55;
}

.contact a {
  font-size: 1rem;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid rgba(245,245,245,0.25);
  padding-bottom: 2px;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}

.contact a:hover {
  opacity: 0.65;
  border-color: rgba(245,245,245,0.4);
}

/* --- Polaroid --- */
.polaroid {
  width: 170px;
  height: auto;
  margin-top: 15px;
  opacity: 0.92;
  transform: rotate(-2.2deg);
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform;
}

.polaroid:hover {
  transform: rotate(-1.2deg) translateY(-4px);
  opacity: 1;
}

/* --- Fade-In (ultra subtil) --- */
.fade-in {
  opacity: 0;
  transform: translateY(6px);
  animation: fadeIn 900ms ease forwards;
  animation-delay: 120ms;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Vignette Overlay --- */
.vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(
    ellipse at center,
    rgba(0,0,0,0) 42%,
    rgba(0,0,0,0.28) 100%
  );
  opacity: 0.95;
}

/* --- Grain Overlay (sichtbar + animiert) --- */
.grain {
  position: fixed;
  left: -8%;
  top: -8%;
  width: 116%;
  height: 116%;
  pointer-events: none;
  z-index: 10;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='280'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='5' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='1.2'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 280px 280px;
  mix-blend-mode: overlay;
  opacity: 0.2;

  animation: grainMove 2.2s steps(6) infinite;
  will-change: transform;
  transform: translate3d(0,0,0);
}

@keyframes grainMove {
  0%   { transform: translate3d(0, 0, 0); }
  10%  { transform: translate3d(-2%, -1%, 0); }
  20%  { transform: translate3d(-4%, 2%, 0); }
  30%  { transform: translate3d(3%, -3%, 0); }
  40%  { transform: translate3d(2%, 4%, 0); }
  50%  { transform: translate3d(-3%, 3%, 0); }
  60%  { transform: translate3d(4%, 1%, 0); }
  70%  { transform: translate3d(1%, -4%, 0); }
  80%  { transform: translate3d(-1%, 4%, 0); }
  90%  { transform: translate3d(3%, 2%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* --- Mobile Feinschliff --- */
@media (max-height: 680px) {
  .logo { width: 110px; }
  .polaroid { width: 150px; }
  .container { gap: 14px; }
}