﻿:root {
  --navy: #163a72;
  --navy-dark: #0d2450;
  --sky: #6ec6ff;
  --lime: #b6e34a;
  --green: #3c8f5c;
  --green-hi: #7ed69a;
  --green-lo: #1e5a32;
  --yellow: #ffe14a;
  --pink: #ff7eb3;
  --silver: #d4d0c8;
  --well: #ece9d8;
  --ink: #111;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

/* Desktop: Schreibfeder als Mauszeiger (Hotspot an der Feder-Spitze) */
@media (pointer: fine) {
  body,
  body * {
    cursor: url("quill-cursor.png?v=20260910m") 1 1, auto;
  }

  a,
  button,
  .link,
  .chrome-btn,
  label,
  summary,
  [role="button"],
  input[type="checkbox"],
  input[type="radio"],
  input[type="file"],
  select,
  .accept-click,
  .dropzone-face,
  .gb-page-btn,
  .gb-page-num {
    cursor: url("quill-cursor.png?v=20260910m") 1 1, pointer;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  textarea {
    cursor: url("quill-cursor.png?v=20260910m") 1 1, text;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  color: var(--ink);
  font-family: "Trebuchet MS", "Trebuchet", Verdana, Geneva, sans-serif;
  background-color: var(--navy-dark);
  background-image:
    radial-gradient(#fff 1.2px, transparent 1.2px),
    radial-gradient(#ffe14a 1px, transparent 1px),
    linear-gradient(#163a72, #0d2450 55%, #14532d);
  background-size: 28px 28px, 52px 52px, 100% 100%;
  background-position: 0 0, 14px 22px, 0 0;
  line-height: 1.45;
}

.stage {
  /* Desktop etwas breiter; Seitenrand wächst mit Viewport mit */
  width: min(32rem, calc(100% - clamp(1.5rem, 6vw, 2.75rem)));
  max-width: 100%;
  margin: 0 auto;
  padding: 1.1rem 0 1.75rem;
}

.window {
  background: var(--silver);
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  border-right: 3px solid #5a584e;
  border-bottom: 3px solid #5a584e;
  box-shadow: 6px 6px 0 #000;
}

.titlebar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.4rem;
  background: linear-gradient(90deg, #0b3d91, #3a7adf);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 0 #00245c;
}

.titlebar .px {
  width: 12px;
  height: 12px;
  background: var(--lime);
  box-shadow:
    12px 0 #ffe14a,
    24px 0 #ff7eb3;
  flex-shrink: 0;
}

.chrome {
  display: flex;
  margin-left: auto;
  gap: 3px;
}

.chrome-btn {
  box-sizing: border-box;
  width: 16px;
  height: 14px;
  padding: 0;
  margin: 0;
  background: var(--silver);
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-right: 1px solid #404040;
  border-bottom: 1px solid #404040;
  font-family: Tahoma, "MS Sans Serif", sans-serif;
  font-style: normal;
  font-size: 9px;
  line-height: 11px;
  text-align: center;
  color: #222;
  cursor: pointer;
}

.chrome-btn:active {
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

/* ——— Minimize: docked titlebar + Free Birds Now patch ——— */
.min-patch {
  display: none;
  position: fixed;
  left: 50%;
  top: 44%;
  z-index: 45;
  transform: translate(-50%, -50%);
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
  text-align: center;
}

body.is-minimized .min-patch {
  display: flex;
}

.min-patch-img {
  display: block;
  width: min(7.5rem, 42vw);
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(3px 3px 0 #00000088);
  animation: min-patch-wiggle 0.55s steps(2, end) infinite;
}

.min-patch-shirt {
  display: block;
  width: min(12rem, 62vw);
  height: auto;
  filter: drop-shadow(4px 4px 0 #00000088);
  animation: min-shirt-wonky 0.72s steps(3, end) infinite;
}

.min-patch-shop {
  margin: 0;
  color: #ffe14a;
  font-weight: 700;
  font-size: clamp(0.95rem, 3.6vw, 1.2rem);
  line-height: 1.35;
  text-shadow: 1px 1px 0 #000;
}

@keyframes min-patch-wiggle {
  0%,
  100% {
    transform: rotate(-2deg) translate(0, 0);
  }
  50% {
    transform: rotate(2.5deg) translate(1px, -1px);
  }
}

@keyframes min-shirt-wonky {
  0%,
  100% {
    transform: rotate(-8deg) translate(-4px, 2px) skewX(-3deg);
  }
  33% {
    transform: rotate(9deg) translate(5px, -4px) skewX(4deg);
  }
  66% {
    transform: rotate(-5deg) translate(2px, 4px) skewX(-5deg);
  }
}

body.is-minimized .stage {
  min-height: 100dvh;
}

body.is-minimized .window {
  position: fixed;
  left: 50%;
  bottom: 0.85rem;
  z-index: 50;
  width: min(17rem, calc(100% - 1.5rem));
  transform: translateX(-50%);
  animation: min-dock 0.28s steps(4);
  cursor: pointer;
}

body.is-minimized .window .inner {
  display: none;
}

body.is-minimized .window .titlebar {
  cursor: pointer;
}

body.is-minimized .window .chrome-btn:first-child {
  display: none;
}

@keyframes min-dock {
  from {
    opacity: 0.4;
    transform: translateX(-50%) translateY(1.5rem) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.inner {
  padding: 0.7rem 0.7rem 0.85rem;
  background: repeating-linear-gradient(
    180deg,
    #fff5c8 0 10px,
    #fff1b0 10px 20px
  );
}

.hero {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}

.hero-home {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.pixel-bird {
  width: 72px;
  height: 72px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

h1 {
  margin: 0;
  font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", cursive;
  font-size: clamp(1.7rem, 8vw, 2.35rem);
  line-height: 0.95;
  color: #c41e6a;
  text-shadow:
    2px 2px 0 #fff,
    4px 4px 0 #163a72;
}

.title-parrot {
  display: inline-block;
  width: 1.35em;
  height: auto;
  margin-left: 0.12em;
  vertical-align: -0.28em;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.tag {
  margin: 0.25rem 0 0;
  font-size: 0.62rem;
  font-weight: 400;
  line-height: 1.3;
  color: #163a72;
}

.banner {
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.45rem;
  background: repeating-linear-gradient(
    90deg,
    #ffe14a 0 12px,
    #ffef88 12px 24px
  );
  border-top: 2px solid #fff6b0;
  border-left: 2px solid #fff6b0;
  border-right: 2px solid #b89b00;
  border-bottom: 2px solid #b89b00;
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.intro {
  margin: 0 0 0.9rem;
  padding: 0.55rem 0.65rem;
  background: #e7f4ff;
  border: 2px dashed #3a7adf;
  font-size: 0.95rem;
}

.cage-row {
  --cage-h: 5.75rem;
  /* Geschlossener Mid-Käfig: 94×54 → feste Box, damit FREE nicht größer wirkt */
  --cage-mid-w: calc(var(--cage-h) * 94 / 54);
  display: grid;
  grid-template-columns: 1fr var(--cage-mid-w) 1fr;
  align-items: center;
  justify-items: center;
  gap: 0.25rem;
  height: var(--cage-h);
  margin: 0 0 0.95rem;
}

.cage-gif {
  display: block;
  height: var(--cage-h);
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.cage-mid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: var(--cage-mid-w);
  height: var(--cage-h);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: inherit;
  line-height: 0;
}

.cage-gif--mid {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.cage-mid-btn:focus-visible {
  outline: 2px solid #ffe14a;
  outline-offset: 3px;
}

.cage-mid-btn:disabled {
  cursor: default;
}

.cage-row.is-open .cage-mid-btn {
  pointer-events: none;
}

.cage-row.is-open #cage-left {
  height: 4.85rem;
}

.cage-row.is-open #cage-right {
  height: var(--cage-h);
}

.wizard .intro {
  font-weight: 400;
}

nav.links {
  display: grid;
  gap: 0.55rem;
}

.link-with-gif {
  position: relative;
  display: block;
}

.link-edge-gif {
  position: absolute;
  left: -0.55rem;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: auto;
  transform: translateY(-50%);
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.link-with-gif .link {
  padding-left: 2.2rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.45rem 0.7rem;
  background: linear-gradient(#5cb87c, var(--green));
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 0 #1e5a32;
  border-top: 3px solid var(--green-hi);
  border-left: 3px solid var(--green-hi);
  border-right: 3px solid var(--green-lo);
  border-bottom: 3px solid var(--green-lo);
}

.link.primary {
  background: linear-gradient(#ff8fc0, #e4458a);
  text-shadow: 1px 1px 0 #8b1048;
  border-top-color: #ffd0e4;
  border-left-color: #ffd0e4;
  border-right-color: #9b1856;
  border-bottom-color: #9b1856;
}

.link.guestbook {
  background: linear-gradient(#7ad0ff, #2a7fd4);
  text-shadow: 1px 1px 0 #0b3d91;
  border-top-color: #c8ecff;
  border-left-color: #c8ecff;
  border-right-color: #145a9e;
  border-bottom-color: #145a9e;
}

.link.guestbook:active {
  border-top-color: #145a9e;
  border-left-color: #145a9e;
  border-right-color: #c8ecff;
  border-bottom-color: #c8ecff;
}

.link.about {
  background: linear-gradient(
    110deg,
    #ff3b3b 0%,
    #ff8a1a 16%,
    #ffe14a 33%,
    #3ddc84 50%,
    #3da9fc 66%,
    #7b61ff 83%,
    #ff4fd8 100%
  );
  background-size: 220% 100%;
  animation: about-rainbow 2.4s linear infinite;
  color: #fff;
  text-shadow: 1px 1px 0 #1a1030;
  border-top-color: #ffe9ff;
  border-left-color: #ffe9ff;
  border-right-color: #5a1878;
  border-bottom-color: #5a1878;
}

.link.about:active {
  border-top-color: #5a1878;
  border-left-color: #5a1878;
  border-right-color: #ffe9ff;
  border-bottom-color: #ffe9ff;
}

@keyframes about-rainbow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 220% 50%;
  }
}

.link.buntmetall {
  background: #d2f904;
  color: #111;
  text-shadow: none;
  letter-spacing: 0.1em;
  border-top-color: #eeff7a;
  border-left-color: #eeff7a;
  border-right-color: #8aaa00;
  border-bottom-color: #8aaa00;
}

.link.buntmetall:active {
  border-top-color: #8aaa00;
  border-left-color: #8aaa00;
  border-right-color: #eeff7a;
  border-bottom-color: #eeff7a;
}

#koop-box {
  margin-top: 0.75rem;
}

#koop-box .intro {
  margin-bottom: 0.55rem;
}

#koop-box .intro a {
  color: #0000ee;
  font-weight: 700;
}

.link:hover,
.link:focus-visible {
  filter: brightness(1.08);
}

.link:active {
  border-top-color: var(--green-lo);
  border-left-color: var(--green-lo);
  border-right-color: var(--green-hi);
  border-bottom-color: var(--green-hi);
  transform: translate(1px, 1px);
}

.link.primary:active {
  border-top-color: #9b1856;
  border-left-color: #9b1856;
  border-right-color: #ffd0e4;
  border-bottom-color: #ffd0e4;
}

:focus-visible {
  outline: 2px dotted #ffe14a;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 100;
  padding: 0.45rem 0.7rem;
  background: var(--yellow);
  color: #111;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0.75rem;
  outline: 2px dotted #111;
  outline-offset: 2px;
}

.chrome-btn:focus-visible {
  outline: 2px dotted #ffe14a;
  outline-offset: 1px;
}

.hr {
  height: 18px;
  margin: 0.95rem 0;
  border: 1px solid #000;
  box-shadow:
    inset 1px 1px 0 #fff,
    inset -1px -1px 0 #808080;
  background-color: #000;
  background-image: url("rainbow-hr.gif");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.piepmatz-box {
  position: relative;
  z-index: 1;
  margin: 1.75rem 1.65rem;
  padding: 0.55rem 0.45rem 0.65rem;
  border: 2px dashed #c41e6a;
  background: #fff8c8cc;
  overflow: visible;
}

.piepmatz-box.is-wip {
  padding-bottom: 0.85rem;
}

.piepmatz-wip[hidden],
.piepmatz-live[hidden] {
  display: none !important;
}

.piepmatz-wip {
  outline: none;
}

.piepmatz-wip-banner {
  display: flex;
  justify-content: center;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.4rem;
  border: 3px solid #1e5a9a;
  background: linear-gradient(#6eb6ff, #2a7fd4);
  box-shadow:
    inset 1px 1px 0 #b8dcff,
    inset -1px -1px 0 #0f3f70;
}

.piepmatz-wip-banner--bottom {
  position: relative;
  z-index: 1;
  margin: -1.35rem 0 0;
}

.piepmatz-wip-banner img {
  display: block;
  width: 100%;
  max-width: 22rem;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.piepmatz-wip > p {
  margin: 0 0 0.75rem;
}

.piepmatz-wip > p:last-of-type {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.piepmatz-brand {
  font-weight: 700;
}

.piepmatz-dot {
  color: var(--green);
  font-weight: 700;
}

.piepmatz-ig-text {
  color: #1e5a9a;
  font-weight: 700;
  text-decoration: underline;
}

.piepmatz-follow {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
  margin: -1.55rem auto 0;
  max-width: 9.5rem;
  line-height: 0;
  text-decoration: none;
  background: transparent;
  border: 0;
}

.piepmatz-follow img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  image-rendering: auto;
}

.piepmatz-follow:focus-visible {
  outline: 2px solid #ffe14a;
  outline-offset: 3px;
}

.look-arrow {
  position: absolute;
  width: 72px;
  height: 45px;
  z-index: 3;
  pointer-events: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.look-arrow--tl {
  top: -1.85rem;
  left: -2.85rem;
  transform: rotate(18deg);
}

.look-arrow--tr {
  top: -1.85rem;
  right: -2.85rem;
  transform: scaleX(-1) rotate(18deg);
}

.look-arrow--bl {
  bottom: -1.75rem;
  left: -2.9rem;
  transform: rotate(-42deg);
}

.look-arrow--br {
  bottom: -1.75rem;
  right: -2.9rem;
  transform: scaleX(-1) rotate(-42deg);
}

.youtube-box {
  text-align: center;
}

.youtube-box p {
  margin: 0 0 0.75rem;
}

.yt-badge {
  position: relative;
  display: block;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #404040;
  box-shadow:
    inset 1px 1px 0 #fff,
    3px 3px 0 #00000055;
  overflow: hidden;
  background: #000;
}

.yt-shot {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
}

.yt-logo {
  position: absolute;
  right: 6%;
  bottom: 8%;
  z-index: 2;
  display: block;
  width: min(26%, 5rem);
  height: auto;
  transform: rotate(8deg);
  image-rendering: auto;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.1s steps(2);
  animation: yt-hum 0.9s steps(2) infinite;
  filter: drop-shadow(2px 2px 0 #000);
}

.yt-badge:hover .yt-logo,
.yt-badge:focus-visible .yt-logo {
  transform: rotate(8deg) translate(3px, 4px);
}

@keyframes yt-hum {
  from {
    filter: brightness(1) drop-shadow(2px 2px 0 #000) drop-shadow(0 0 2px #ff7a3a88);
  }
  to {
    filter: brightness(1.12) drop-shadow(2px 2px 0 #000) drop-shadow(0 0 8px #ff3b3bcc);
  }
}

.guestbook-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guestbook-copy {
  flex: 1;
  min-width: 0;
}

.guestbook-copy h2 {
  margin-bottom: 0.45rem;
}

.guestbook-copy p {
  margin: 0 0 0.7rem;
}

.guestbook-copy .links {
  margin: 0;
}

.guestbook-gfx {
  flex-shrink: 0;
  width: 85px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.guestbook-gfx-link {
  flex-shrink: 0;
  line-height: 0;
}

.guestbook-gfx-link:focus-visible {
  outline: 2px dotted #ffe14a;
  outline-offset: 3px;
}

.about-box {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
  margin: 0.15rem 0 0.25rem;
}

.about-visual {
  line-height: 0;
}

.about-gif {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  image-rendering: auto;
  filter: drop-shadow(3px 3px 0 #00000055);
}

.about-copy {
  width: 100%;
  max-width: 28rem;
}

.about-copy h2 {
  margin-bottom: 0.45rem;
}

.about-copy p {
  margin: 0 0 0.75rem;
}

.about-copy .links {
  margin: 0 auto;
  max-width: 16rem;
}

.banner:has(+ .about-page) {
  margin-bottom: 0.1rem;
}

.about-page {
  text-align: left;
}

.about-page-hero {
  position: relative;
  z-index: 2;
  margin: -1.85rem 0 -2.25rem;
  text-align: center;
  line-height: 0;
  pointer-events: none;
}

.about-page-hero img {
  display: inline-block;
  width: min(100%, 15.5rem);
  height: auto;
  filter: drop-shadow(2px 2px 0 #00000055);
}

.about-intro {
  position: relative;
  z-index: 1;
  display: flow-root;
  margin: 0 0 0.95rem;
  padding: 1.05rem 0.75rem 0.85rem;
  background: #e7f4ff;
  border: 2px dashed #3a7adf;
  text-align: left;
}

.about-cage {
  float: left;
  width: min(42%, 9.5rem);
  margin: 0.15rem 0.85rem 0.55rem 0;
  padding: 0;
}

.about-cage img {
  display: block;
  width: 100%;
  height: auto;
  /* Rundkäfig: unten gerade, oben kuppelartig */
  clip-path: polygon(
    11% 100%,
    89% 100%,
    91% 58%,
    90% 46%,
    87% 34%,
    81% 22%,
    72% 12%,
    61% 5%,
    50% 1.5%,
    39% 5%,
    28% 12%,
    19% 22%,
    13% 34%,
    10% 46%,
    9% 58%
  );
  border-radius: 0;
  box-shadow: none;
  filter:
    contrast(1.2) saturate(0.72) brightness(1.04) grayscale(0.12)
    drop-shadow(0 0 1px #c9a227)
    drop-shadow(3px 3px 0 #00000055);
  image-rendering: auto;
  animation: about-cage-wiggle 1.05s steps(3, end) infinite;
}

.about-intro-text {
  font-size: 1.08rem;
  line-height: 1.55;
}

.about-intro-text p {
  margin: 0 0 0.75rem;
}

.about-intro-text p:last-child {
  margin-bottom: 0;
}

.easteregg-inline {
  display: inline-block;
  width: 1.15em;
  height: auto;
  vertical-align: -0.2em;
  margin: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.easteregg-btn {
  display: inline-block;
  margin: 0 0.12em;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  vertical-align: middle;
}

.easteregg-btn:focus-visible {
  outline: 2px dotted #ffe14a;
  outline-offset: 2px;
}

#easter-pop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#easter-pop[hidden] {
  display: none !important;
}

.easter-scrim {
  position: absolute;
  inset: 0;
  background: #00000088;
}

.easter-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  background: #c0c0c0;
  color: #000;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  box-shadow: 4px 4px 0 #00000066;
  font-family: "MS Sans Serif", Tahoma, sans-serif;
}

.easter-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 2px;
  padding: 0.2rem 0.3rem 0.2rem 0.45rem;
  background: linear-gradient(90deg, #000080, #1084d0);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.easter-x {
  width: 1.15rem;
  height: 1.05rem;
  padding: 0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  background: #c0c0c0;
  color: #000;
  font-size: 0.85rem;
  line-height: 0.85rem;
  cursor: pointer;
}

.easter-x:active {
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.easter-body {
  padding: 0.75rem 0.7rem 0.65rem;
}

.easter-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  min-height: 11rem;
  margin-bottom: 0.75rem;
  padding: 0.65rem;
  background: #000018;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.easter-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.55rem;
  min-height: 100%;
}

.easter-fish-link {
  display: block;
  width: 100%;
  line-height: 0;
  margin: auto 0;
}

.easter-fish-link:focus-visible {
  outline: 2px dotted #ffe14a;
  outline-offset: 2px;
}

.easter-fish {
  display: block;
  width: 100%;
  max-height: min(28vh, 9.5rem);
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.easter-ad {
  display: block;
  width: 100%;
  line-height: 0;
  border: 1px solid #808080;
  background: #fff;
}

.easter-ad img {
  display: block;
  width: 100%;
  height: auto;
  image-rendering: auto;
}

.easter-ad:focus-visible {
  outline: 2px dotted #ffe14a;
  outline-offset: 2px;
}

.easter-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
}

.easter-guy {
  display: block;
  width: auto;
  height: min(28vw, 7.5rem);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.easter-quote {
  margin: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 1px 1px 0 #000;
}

.easter-actions {
  display: flex;
  justify-content: center;
}

.easter-ok {
  min-width: 5.5rem;
  min-height: 1.7rem;
  padding: 0.15rem 1rem;
  background: #c0c0c0;
  color: #000;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
}

.easter-ok:active {
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.easter-ok:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -4px;
}

@media (max-width: 28rem) {
  .easter-scene {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .easter-fish {
    max-height: 7.5rem;
  }
}

@keyframes about-cage-wiggle {
  0%,
  100% {
    transform: rotate(-2.5deg) translate(0, 0);
  }
  33% {
    transform: rotate(3deg) translate(1px, -1px);
  }
  66% {
    transform: rotate(-1.5deg) translate(-1px, 1px);
  }
}

.about-page .links {
  max-width: 18rem;
  margin: 0.85rem 0 0;
  text-align: center;
}

@media (max-width: 28rem) {
  .about-cage {
    float: none;
    width: min(58%, 10rem);
    margin: 0 auto 0.75rem;
  }

  .about-intro {
    text-align: left;
  }
}

.guestbook-page h2 {
  margin: 0.85rem 0 0.65rem;
}

.guestbook-hero {
  margin: 0 0 0.55rem;
  text-align: center;
}

.guestbook-hero img {
  display: inline-block;
  width: min(100%, 261px);
  height: auto;
  image-rendering: auto;
}

.guestbook-write-top {
  margin: 0 0 0.85rem;
  text-align: center;
}

button.link.guestbook-toggle-top,
.guestbook-toggle-top {
  display: inline-flex;
  box-sizing: border-box;
  width: 261px;
  max-width: 100%;
  min-width: 0;
  min-height: 2.15rem;
  padding: 0.28rem 0.55rem;
  font-size: 0.92rem;
}

.guestbook-form {
  margin-top: 0.75rem;
}

.guestbook-write {
  margin-top: 0.35rem;
  text-align: center;
}

.guestbook-write > .link {
  width: 261px;
  max-width: 100%;
}

.guestbook-form[hidden] {
  display: none !important;
}

.guestbook-legal {
  margin: 0.55rem 0 0.65rem;
  padding: 0.5rem 0.55rem;
  background: #f7fbff;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
}

.guestbook-legal a {
  color: #0000ee;
  font-weight: 700;
}

.guestbook-form .actions {
  margin-top: 0.35rem;
}

.bb-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
  margin: 0.35rem 0 0.4rem;
  padding: 0.28rem 0.3rem;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
}

.bb-btn {
  min-width: 1.7rem;
  min-height: 1.55rem;
  padding: 0.1rem 0.28rem;
  background: #c0c0c0;
  color: #000;
  font-family: "MS Sans Serif", Tahoma, sans-serif;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
}

.bb-btn:active {
  border-top-color: #404040;
  border-left-color: #404040;
  border-right-color: #fff;
  border-bottom-color: #fff;
}

.bb-btn:focus-visible {
  outline: 1px dotted #000;
  outline-offset: -3px;
}

.bb-smiley-btn {
  font-size: 1rem;
  min-width: 1.85rem;
}

.bb-sep {
  width: 1px;
  height: 1.2rem;
  margin: 0 0.2rem;
  background: #808080;
  box-shadow: 1px 0 0 #fff;
}

.bb-u {
  text-decoration: underline;
}

.bb-hint {
  margin: 0.35rem 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
  color: #333;
}

.bb-hint code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.85em;
  background: #fff;
  padding: 0 0.15rem;
  border: 1px solid #a0a0a0;
}

.bb-preview-wrap {
  margin: 0.15rem 0 0.35rem;
}

.bb-preview-label {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.bb-preview {
  min-height: 3.2rem;
  padding: 0.5rem 0.55rem;
  background: #fffef5;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  font-size: 0.95rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.bb-preview-empty {
  color: #777;
  font-style: italic;
  font-weight: 400;
}

.bb-smiley {
  display: inline;
  font-style: normal;
  font-weight: 400;
}

.gb-entry-msg .bb-smiley {
  font-size: 1.05em;
}

.guestbook-status {
  margin: 0 0 0.55rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.guestbook-status.ok {
  background: #dff5d8;
  border: 2px dashed #3c8f5c;
  color: #1e5a32;
}

.guestbook-status.err {
  background: #ffe0e0;
  border: 2px dashed #c41e6a;
  color: #7a1038;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

a.mail-cloak {
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.guestbook-entries {
  display: grid;
  gap: 0.65rem;
}

.guestbook-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 0.65rem;
  margin: 0.75rem 0 0.25rem;
  padding: 0.45rem 0;
}

.guestbook-pager[hidden] {
  display: none !important;
}

.guestbook-pager .gb-page-btn {
  width: auto;
  min-width: 6.5rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
}

.guestbook-pager .gb-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.gb-page-meta {
  flex: 1 1 auto;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #163a72;
}

.gb-page-nums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  margin-top: 0.15rem;
}

.gb-page-num {
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  background: #c0c0c0;
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.gb-page-num.is-current,
.gb-page-num[aria-current="page"] {
  background: #fff6b0;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.guestbook-empty {
  margin: 0;
  padding: 0.55rem 0.65rem;
  background: #fff8c8;
  border: 2px dashed #b89b00;
  font-size: 0.9rem;
}

.gb-entry {
  padding: 0.55rem 0.65rem;
  background: #f7fbff;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
}

.gb-entry-meta {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  color: #0d2450;
}

.gb-entry-meta a {
  color: #0b3d91;
  word-break: break-all;
}

.gb-date {
  color: #666;
  font-weight: 400;
}

.gb-entry-msg {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.4;
}

h2 {
  margin: 0 0 0.4rem;
  font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", cursive;
  font-size: 1.2rem;
  color: #0d2450;
  text-align: center;
}

[hidden] {
  display: none !important;
}

button.link {
  width: 100%;
  cursor: pointer;
  font-family: inherit;
}

section > p {
  margin: 0 0 0.7rem;
  padding: 0.55rem 0.65rem;
  background: #e7f4ff;
  border: 2px dashed #3a7adf;
  font-size: 0.95rem;
}

.legal {
  padding: 0.55rem 0.65rem 0.85rem;
  background: #e7f4ff;
  border: 2px dashed #3a7adf;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
}

.legal h2 {
  font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", cursive;
  font-size: 1.15rem;
  color: #0d2450;
  text-align: left;
  margin: 1.15rem 0 0.4rem;
}

.legal h2:first-of-type {
  margin-top: 0.15rem;
}

.legal a {
  color: #0000ee;
}

.legal a:visited {
  color: #551a8b;
}

.legal h3 {
  margin: 0.8rem 0 0.3rem;
  font-size: 0.95rem;
  color: #0d2450;
}

.legal p,
.legal ul {
  margin: 0 0 0.55rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal .caps {
  font-size: 0.82rem;
}

.wizard {
  margin-top: 0.15rem;
  padding: 0.75rem 0.7rem 0.85rem;
  background: #fff;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.progress {
  margin: 0 0 0.85rem;
  padding-top: 0.35rem;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: #163a72;
  margin-bottom: 0.85rem;
}

.bar {
  position: relative;
  height: 16px;
  margin: 0 0 0.35rem;
  background: #2a2a2a;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.nyan-fill {
  display: block;
  position: relative;
  height: 100%;
  width: 20%;
  overflow: hidden;
  transition: width 0.4s ease;
}

.nyan-rainbow {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: calc(100% + 32px);
  animation: nyan-stream 0.35s steps(2) infinite;
}

.nyan-rainbow::before,
.nyan-rainbow::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #ff3b3b 0 16.66%,
    #ff9a3b 16.66% 33.33%,
    #ffe14a 33.33% 50%,
    #5fd36a 50% 66.66%,
    #4aa3ff 66.66% 83.33%,
    #c56bff 83.33% 100%
  );
}

.nyan-rainbow::before {
  top: 0;
  -webkit-mask-image: repeating-linear-gradient(
    90deg,
    #000 0 8px,
    transparent 8px 16px
  );
  mask-image: repeating-linear-gradient(
    90deg,
    #000 0 8px,
    transparent 8px 16px
  );
}

.nyan-rainbow::after {
  top: 2px;
  -webkit-mask-image: repeating-linear-gradient(
    90deg,
    transparent 0 8px,
    #000 8px 16px
  );
  mask-image: repeating-linear-gradient(
    90deg,
    transparent 0 8px,
    #000 8px 16px
  );
}

.nyan-bird {
  position: absolute;
  top: 50%;
  left: 20%;
  z-index: 2;
  pointer-events: none;
  transform: translate(calc(-100% + 15px), -50%);
  animation: nyan-hop 0.55s steps(2, end) infinite;
  transition: left 0.4s ease;
}

.nyan-bird svg {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

@keyframes nyan-stream {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-16px);
  }
}

@keyframes nyan-hop {
  0%,
  55%,
  100% {
    transform: translate(calc(-100% + 15px), -50%);
  }
  25% {
    transform: translate(calc(-100% + 15px), calc(-50% - 5px));
  }
  40% {
    transform: translate(calc(-100% + 15px), calc(-50% - 1px));
  }
}

.step h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  color: #0d2450;
}

.choices {
  display: grid;
  gap: 0.45rem;
}

.choices label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.7rem;
  padding: 0.45rem 0.6rem;
  background: #f7fbff;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  cursor: pointer;
  font-weight: 700;
}

.choices input {
  accent-color: #3c8f5c;
}

.field {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.field .opt {
  font-weight: 400;
  font-size: 0.78em;
  color: #666;
}

.field input,
.field textarea,
.field select {
  font: inherit;
  font-weight: 400;
  padding: 0.5rem 0.55rem;
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #fffef8;
}

.field textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.nav-row {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.nav-row .link {
  flex: 1;
}

.ghost {
  background: linear-gradient(#eee, #cfcfcf);
  color: #222;
  text-shadow: none;
  border-top-color: #fff;
  border-left-color: #fff;
  border-right-color: #808080;
  border-bottom-color: #808080;
}

.hint {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: #444;
}

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 7.2rem;
  margin: 0 0 0.7rem;
  padding: 0.85rem 0.7rem;
  background: #e7f4ff;
  border: 2px dashed #3a7adf;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
}

.dropzone.is-over {
  background: #fff6b0;
  border-color: #c41e6a;
}

/* Nicht flächig überlagern — sonst fängt das Handy-File-Input Klicks auf die Haken ab */
.foto-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.dropzone-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 5.5rem;
  cursor: pointer;
}

.dropzone-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0d2450;
}

.dropzone-pick {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  background: linear-gradient(#5cb87c, var(--green));
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-shadow: 1px 1px 0 #1e5a32;
  border-top: 2px solid var(--green-hi);
  border-left: 2px solid var(--green-hi);
  border-right: 2px solid var(--green-lo);
  border-bottom: 2px solid var(--green-lo);
}

.dropzone-name {
  font-size: 0.78rem;
  font-weight: 400;
  color: #444;
}

.previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
  gap: 0.5rem;
  margin: 0.35rem 0 0.85rem;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.previews[hidden] {
  display: none !important;
}

.previews:not([hidden]) {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.preview-tile {
  position: relative;
  width: 100%;
  background: #f0f0f0;
  border: 2px solid #808080;
}

.preview {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(40vh, 260px);
  object-fit: contain;
  background: #f0f0f0;
}

.preview-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  z-index: 4;
  width: 1.7rem;
  height: 1.7rem;
  padding: 0;
  margin: 0;
  border: 2px solid #404040;
  background: #fff;
  color: #c41e6a;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 1px 1px 0 #00000055;
}

.preview-remove:hover,
.preview-remove:focus-visible {
  background: #ffe0e0;
  outline: 2px solid #c41e6a;
  outline-offset: 1px;
}

.preview-fallback {
  margin: 0;
  padding: 0.65rem 0.7rem;
  background: #fff6b0;
  border: 2px dashed #c41e6a;
  font-size: 0.85rem;
  color: #7a1038;
}

.accept-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  padding: 0.5rem 0.55rem;
  background: #f7fbff;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
}

#accept-block {
  position: relative;
  z-index: 30;
  display: block;
  margin: 0.85rem 0 0.45rem;
  width: 100%;
  max-width: 100%;
  pointer-events: auto;
  clear: both;
}

#accept-block[hidden] {
  display: none !important;
}

#accept-block:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 4rem;
}

.step:not([hidden]) #accept-block {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#foto-block[hidden],
#step5-intro-plain[hidden] {
  display: none !important;
}

.accept-click {
  cursor: pointer;
  user-select: none;
}

.accept-row input {
  margin-top: 0.15rem;
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #3c8f5c;
  flex-shrink: 0;
  cursor: pointer;
  pointer-events: auto;
}

.accept-row label,
label.accept-row {
  cursor: pointer;
  pointer-events: auto;
  color: #111;
  background: #f7fbff;
}

.accept-row a.dschutz-link {
  position: relative;
  z-index: 2;
  color: #0000ee;
  font-weight: 700;
  text-decoration: underline;
  pointer-events: auto;
  cursor: pointer;
}

footer {
  position: relative;
  z-index: 5;
  margin-top: 0.85rem;
  padding: 0.55rem 0.45rem 0.2rem;
  background: var(--well);
  border-top: 2px solid #808080;
  border-left: 2px solid #808080;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  font-size: 0.78rem;
  text-align: center;
  color: #333;
}

footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.7rem;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 3;
}

footer nav a {
  color: #0000ee;
  text-decoration: underline;
}

footer a:visited {
  color: #551a8b;
}

.counter {
  margin: 0.45rem 0 0.15rem;
  font-family: "Courier New", Courier, monospace;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.counter b {
  display: inline-block;
  margin: 0 1px;
  padding: 0.05rem 0.28rem;
  background: #111;
  color: #b6e34a;
  border: 1px solid #444;
}

.now-wrap {
  margin: 0.55rem 0 0.1rem;
}

footer a.now-btn,
footer a.now-btn:visited {
  display: inline-block;
  line-height: 0;
  color: inherit;
}

.now-btn img {
  width: 88px;
  height: 31px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 0;
  vertical-align: middle;
}

.now-btn:hover img,
.now-btn:focus-visible img {
  filter: brightness(1.08);
}

.now-btn:active img {
  filter: brightness(0.93);
  transform: translate(1px, 1px);
}

.fine {
  margin: 0.35rem 0 0;
  color: #555;
  font-size: 0.7rem;
}

.stage {
  position: relative;
  z-index: 2;
}

.hero-sprites {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.hop svg {
  display: block;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.hop-hero {
  animation: hop 0.7s steps(2, end) infinite;
}

.hop-hero:nth-child(2) {
  animation-delay: 0.22s;
}

.critter-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.critter-layer .hop {
  position: absolute;
  animation: hop 0.85s steps(2, end) infinite;
}

.feather {
  position: absolute;
  top: -8%;
  animation: fall linear infinite;
}

@keyframes hop {
  0%,
  55%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-9px);
  }
  40% {
    transform: translateY(-2px);
  }
}

@keyframes fall {
  0% {
    transform: translate3d(0, -8vh, 0) rotate(0deg);
    opacity: 0.9;
  }
  40% {
    transform: translate3d(14px, 40vh, 0) rotate(25deg);
  }
  100% {
    transform: translate3d(-10px, 108vh, 0) rotate(-18deg);
    opacity: 0.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yt-logo,
  .hop-hero,
  .critter-layer .hop,
  .feather,
  .nyan-rainbow,
  .nyan-bird,
  .min-patch-img,
  .min-patch-shirt,
  .link.about,
  .about-cage img {
    animation: none !important;
  }

  body.is-minimized .window {
    animation: none;
  }

  .hr {
    background-image: repeating-linear-gradient(
      90deg,
      #ff0000 0 6px,
      #ff7f00 6px 12px,
      #ffff00 12px 18px,
      #00ff00 18px 24px,
      #00bfff 24px 30px,
      #0000ff 30px 36px,
      #c000ff 36px 42px
    );
  }
}

@media (min-width: 48rem) {
  .stage {
    width: min(34rem, calc(100% - clamp(2rem, 5vw, 3.5rem)));
    padding-top: 2.4rem;
  }
}

#cant-close {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cant-close-scrim {
  position: absolute;
  inset: 0;
  background: #000000aa;
}

.cant-close-pop {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 34rem);
}

.cant-close-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  width: 100%;
  padding: 0.35rem 0.25rem;
}

.speech-px {
  position: relative;
  z-index: 2;
  flex: 1 1 12rem;
  max-width: 15rem;
  margin: 0;
  padding: 0.85rem 1rem 0.95rem;
  background: #fffef8;
  color: #111;
  font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", cursive;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  border: 3px solid #111;
  border-radius: 1.35rem;
  box-shadow: 4px 4px 0 #000;
}

.speech-px p {
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Outline of the bubble tail */
.speech-px::before {
  content: "";
  position: absolute;
  right: -23px;
  top: 50%;
  transform: translateY(-40%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 23px;
  border-color: transparent transparent transparent #111;
  z-index: 0;
}

/* Fill of the bubble tail — attached to the box */
.speech-px::after {
  content: "";
  position: absolute;
  right: -17px;
  top: 50%;
  transform: translateY(-40%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #fffef8;
  z-index: 1;
}

.grey-pop {
  display: block;
  flex: 0 0 auto;
  width: min(40vw, 200px);
  height: auto;
  margin: 0;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
}

.cant-close-ok {
  margin-top: 0.95rem;
  width: auto;
  min-width: 4.8rem;
  min-height: 2.2rem;
  padding: 0.25rem 1.1rem;
}

@media (max-width: 40rem) {
  .stage {
    /* Handy: mehr Hintergrund; Rand skaliert mit Bildschirmbreite */
    width: calc(100% - clamp(2.35rem, 12vw, 3.75rem));
    padding-top: 0.85rem;
    padding-bottom: 1.5rem;
    /* overflow-x:clip setzt overflow-y implizit auf auto und kann Inhalte „verschlucken“ */
    overflow: visible;
  }

  .wizard {
    overflow: visible;
  }

  #accept-block:not([hidden]) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .accept-row {
    font-size: 0.88rem;
    padding: 0.65rem 0.6rem;
  }

  #foto-block:not([hidden]) {
    display: block;
    width: 100%;
    overflow: visible;
  }

  .dropzone,
  .dropzone-face {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .previews:not([hidden]) {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
    min-height: 6rem;
  }

  .preview {
    width: 100%;
    max-height: min(40vh, 220px);
    object-fit: contain;
  }

  .preview-remove {
    width: 2rem;
    height: 2rem;
    font-size: 1.35rem;
  }

  .window {
    box-shadow: 4px 4px 0 #000;
  }

  /* Pfeile mobil etwas einrücken (kein horizontales Wackeln) */
  .piepmatz-box {
    margin-left: 0.35rem;
    margin-right: 0.35rem;
  }

  .look-arrow {
    width: 48px;
    height: 30px;
  }

  .look-arrow--tl {
    left: -0.2rem;
    top: -1.35rem;
  }

  .look-arrow--tr {
    right: -0.2rem;
    top: -1.35rem;
  }

  .look-arrow--bl {
    left: -0.25rem;
    bottom: -1.2rem;
  }

  .look-arrow--br {
    right: -0.25rem;
    bottom: -1.2rem;
  }
}

@media (max-width: 28rem) {
  .stage {
    width: calc(100% - clamp(2.1rem, 11vw, 3.25rem));
  }

  .cant-close-scene {
    gap: 1.25rem;
  }

  .speech-px {
    font-size: 0.92rem;
    padding: 0.7rem 0.8rem;
  }

  .grey-pop {
    width: min(36vw, 150px);
  }
}

/* ——— Awards page (no window chrome) ——— */
.awards-page {
  min-height: 100dvh;
}

.awards-stage {
  position: relative;
  width: min(44rem, calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 1.4rem 0 4rem;
  min-height: 100dvh;
}

.awards-top {
  position: relative;
  z-index: 2;
}

.awards-top h1 {
  text-align: center;
  margin-bottom: 0.85rem;
}

.awards-top .intro {
  margin-bottom: 0.65rem;
}

.awards-home {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.7;
}

.awards-home a,
.awards-impressum a {
  color: #ffe14a;
  font-weight: 700;
  text-shadow: 1px 1px 0 #000;
}

.awards-impressum {
  position: relative;
  z-index: 2;
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.awards-field {
  position: relative;
  z-index: 1;
  min-height: 52rem;
  margin-top: 0.5rem;
}

.award {
  position: absolute;
  display: block;
  height: auto;
  max-width: min(42vw, 11rem);
  image-rendering: auto;
  filter: drop-shadow(2px 2px 0 #00000066);
}

.award.a1 {
  top: 2%;
  left: 4%;
  width: 5.5rem;
  transform: rotate(-12deg);
}

.award.a2 {
  top: 6%;
  right: 2%;
  width: 7.5rem;
  transform: rotate(8deg);
}

.award.a3 {
  top: 22%;
  left: 28%;
  width: 6.8rem;
  transform: rotate(18deg);
}

.award.a4 {
  top: 34%;
  left: 2%;
  width: 8.2rem;
  transform: rotate(-6deg);
}

.award.a5 {
  top: 38%;
  right: 6%;
  width: 7.8rem;
  transform: rotate(-16deg);
}

.award.a6 {
  top: 56%;
  left: 18%;
  width: 8rem;
  transform: rotate(11deg);
}

.award.a7 {
  top: 68%;
  right: 10%;
  width: 7.2rem;
  transform: rotate(-9deg);
}

.award.a8 {
  top: 78%;
  left: 8%;
  width: 9rem;
  transform: rotate(14deg);
}

@media (min-width: 40rem) {
  .awards-field {
    min-height: 58rem;
  }

  .award {
    max-width: 12.5rem;
  }

  .award.a2 {
    width: 9rem;
  }

  .award.a5 {
    width: 9.5rem;
  }

  .award.a8 {
    width: 11rem;
  }
}
.wizard,
.step,
#frage-view,
#frageformular {
  overflow: visible;
}
