/* zwinker.link – Gesicht, das einmal zwinkert, und das Abzeichen „Gemacht mit zwinker.link“.
   Ruhezustand ist immer das zwinkernde Gesicht (Markenregel). Beim Hineinscrollen öffnet sich
   das rechte Auge kurz und schließt sich wieder. Ohne JS oder bei reduzierter Bewegung: keine Bewegung. */

.zl-gesicht { display: block; flex: none; }
.zl-gesicht .zl-auf { opacity: 0; transform-box: fill-box; transform-origin: center; }

.zwinkert .zl-gesicht .zl-auf { animation: zl-auge-auf 1.3s cubic-bezier(.3, .7, .3, 1) both; }
.zwinkert .zl-gesicht .zl-zu { animation: zl-auge-zu 1.3s linear both; }

@keyframes zl-auge-auf {
  0%        { opacity: 0; transform: scaleY(.15); }
  12%       { opacity: 1; transform: scaleY(1); }
  62%       { opacity: 1; transform: scaleY(1); }
  74%       { opacity: 1; transform: scaleY(.1); }
  76%, 100% { opacity: 0; transform: scaleY(.1); }
}
@keyframes zl-auge-zu {
  0%        { opacity: 1; }
  6%, 75%   { opacity: 0; }
  77%, 100% { opacity: 1; }
}

/* Abzeichen im Fuß einer Linkseite. Farben erbt es von der Seite (currentColor). */
.zl-abzeichen {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font: 500 13px/1.2 "Gabarito", system-ui, sans-serif; letter-spacing: 0;
  text-decoration: none; color: inherit;
}
.zl-abzeichen b { font-weight: 800; letter-spacing: -.02em; }
.zl-abzeichen .zl-gesicht { width: 22px; height: 22px; }
.zl-abzeichen:hover, .zl-abzeichen:focus-visible { border-color: color-mix(in srgb, currentColor 55%, transparent); }

@font-face { font-family: "Gabarito"; src: url("gabarito-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }

@media (prefers-reduced-motion: reduce) {
  .zwinkert .zl-gesicht .zl-auf, .zwinkert .zl-gesicht .zl-zu { animation: none; }
}

/* Großer Hinweis „Gemacht mit zwinker.link“ auf Linkseiten: bewusst in zwinker-Gelb, egal wie die Seite aussieht */
.zl-werbung {
  --zl-esp: #1C1917; --zl-gelb: #FFC83D; --zl-creme: #FBF6EC;
  display: grid; gap: 0; margin-top: 40px; overflow: hidden;
  background: var(--zl-gelb); color: var(--zl-esp);
  border: 3px solid var(--zl-esp); border-radius: 26px;
  box-shadow: 8px 8px 0 var(--zl-creme);
  font-family: "Gabarito", system-ui, sans-serif; text-decoration: none;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s cubic-bezier(.2, .8, .2, 1);
}
.zl-werbung:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 12px 12px 0 var(--zl-creme); }
.zl-werbung:focus-visible { outline: 3px solid var(--zl-creme); outline-offset: 4px; }
.zl-werbung-kopf { display: grid; justify-items: center; gap: 8px; padding: 24px 20px 4px; text-align: center; }
.zl-werbung-dach { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.zl-werbung-logo { width: min(300px, 78%); height: auto; }
.zl-werbung-bus { width: 100%; height: auto; }
.zl-werbung-text { display: grid; gap: 14px; padding: 4px 22px 24px; }
.zl-werbung-titel { font-weight: 800; font-size: clamp(24px, 6.4vw, 30px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.zl-werbung-liste { display: grid; gap: 7px; font-weight: 600; font-size: 16px; line-height: 1.3; }
.zl-werbung-liste span { position: relative; padding-left: 28px; }
.zl-werbung-liste span::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 6px; transform: rotate(-8deg);
  background: var(--zl-esp) radial-gradient(circle at 32% 46%, var(--zl-gelb) 0 2.2px, transparent 2.6px);
}
.zl-werbung-knopf {
  display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px;
  min-height: 56px; padding: 0 20px; border-radius: 16px;
  background: var(--zl-esp); color: var(--zl-creme); font-weight: 800; font-size: 17px; text-align: center;
}
.zl-werbung-knopf svg { width: 18px; height: 18px; flex: none; color: var(--zl-gelb); }
@media (prefers-reduced-motion: reduce) { .zl-werbung { transition: none; } .zl-werbung:hover { transform: none; } }
.zl-werbung-plakette { justify-self: start; padding: 5px 12px; border: 2px solid var(--zl-esp); border-radius: 999px; background: var(--zl-creme); font-weight: 800; font-size: 14px; }
