/* YPNE Logo – Styles */
.ypne-logo-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(8px, 2.5vw, 20px);
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
}
.ypne-logo-container:focus-visible {
  outline: 2px solid #3a4c96;
  outline-offset: 4px;
  border-radius: 8px;
}
.ypne-logo-container svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.ypne-text-filled,
.ypne-text-outline {
  animation: ypneSoftGlow 5.5s ease-in-out infinite;
}
.ypne-text-outline {
  animation-delay: 1.4s;
}
@keyframes ypneSoftGlow {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.88; }
}

/* Ergänzte Buchstaben: hohl, Jost Black Italic (als Pfade, keine Webfont nötig) */
.ypne-word {
  fill: none;
  stroke-width: 3.2;
  stroke-linejoin: round;
}

/* Glanz-Ebene: nur sichtbar, solange der volle Name steht */
.ypne-shine {
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.ypne-shine.is-on { opacity: 1; }

.tagline-text {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 34px;
  fill: #ffde59;
  letter-spacing: 2px;
}

/* Platzhalter, bis die SVG geladen ist (verhindert Springen des Layouts) */
.ypne-logo-container:not(.is-ready)::before {
  content: "";
  display: block;
  padding-top: 60.56%; /* 566.76 / 935.87 = Seitenverhaeltnis des Logos */
}
.ypne-logo-container > img {
  display: block;
  width: 100%;
  height: auto;
}
