/* Soïc Kermarrec – V7: Vorschauen hinter den Links, mobile Größen wie V4 */
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #fff; color: #414141; }
body { min-height: 100svh; }

/* Die Referenz hat ca. 42 px Abstand von Textzeile zu Textzeile. */
.navigation {
  position: relative;
  z-index: 2;
  pointer-events: none; /* Vollflächiger Container blockiert keine Bildklicks */
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}
.navigation a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1;
  line-height: 1.2;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  pointer-events: auto; /* Nur die tatsächlichen Text-Links liegen über den Bildern */
  position: relative;
  z-index: 2;
}
/* Etwas mehr Luft nach dem Namen als zwischen den übrigen Links. */
.navigation a:first-child { margin-bottom: 12px; }

/* Jede Schrift ist 0,5 Sekunden sichtbar: 3 × 0,5 = 1,5 s. */
.navigation a.is-active { animation: font-cycle 1.5s step-end infinite; }
@keyframes font-cycle {
  0%, 33.332% { font-family: Arial, Helvetica, sans-serif; }
  33.333%, 66.665% { font-family: Baskerville, "Baskerville Old Face", Georgia, serif; }
  66.666%, 100% { font-family: Michroma, Arial, sans-serif; }
}

/* Das Vorschaubild liegt unter der Navigation. Nur das sichtbare Bild ist anklickbar. */
.preview-layer { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
#preview-link { position: absolute; display: none; pointer-events: auto; cursor: pointer; transform: translate(-50%, -50%); line-height: 0; }
#preview-link.is-visible { display: block; }
#preview-link:focus-visible { outline: 1px solid #414141; outline-offset: 5px; }
#preview {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
}


@media (max-width: 700px) {
  .navigation { gap: 8px; padding: 18px; }
  .navigation a { font-size: 16px; font-weight: 400; line-height: 1.25; padding: 3px; }
  .navigation a:first-child { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .navigation a.is-active { animation: none; font-family: Arial, Helvetica, sans-serif; }
}

.copyright {
  position: fixed;
  bottom: 14px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #999;
  z-index: 100;
  pointer-events: none;
}
/* Startanimation: nur beim Laden der Landingpage */

.navigation {
  animation: page-intro 0.8s ease-out both;
}

@keyframes page-intro {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

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

/* Bildschutz für Smartphone und Desktop */

img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}
