/* ============================================
   VARIABLES & FOUNDATION
   ============================================ */

:root {
  --color-yellow: #dfaa01;
  --color-blue: #1a058c;
  /* --color-lila: #a39ad2; */
  --color-lila: #9c6aac;
  --color-scarlet: #42166f;
  --color-blue-scarlet: #2c0b85;
  --color-rosa: #eee1ec;
  --color-orange: #ef4f22;
  --color-green: #007863;
  --color-green-dark: #02490f;
  --color-body-dark: #444;
  --color-body-light: #fff;

  --max-width: 1200px;
}

@font-face {
  font-family: "CutPure";
  src: url("assets/CutPure_simple5-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@keyframes neonFlicker {
  0%,
  100% {
    opacity: 1;
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.65))
      drop-shadow(0 0 17px rgba(255, 255, 255, 0.45))
      drop-shadow(0 0 26px rgba(255, 255, 255, 0.25)) brightness(1.05);
  }
  18% {
    opacity: 1;
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.65))
      drop-shadow(0 0 17px rgba(255, 255, 255, 0.45))
      drop-shadow(0 0 26px rgba(255, 255, 255, 0.25)) brightness(1.05);
  }
  20% {
    opacity: 0.92;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5))
      drop-shadow(0 0 13px rgba(255, 255, 255, 0.32))
      drop-shadow(0 0 22px rgba(255, 255, 255, 0.14)) brightness(1);
  }
  22% {
    opacity: 1;
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.65))
      drop-shadow(0 0 17px rgba(255, 255, 255, 0.45))
      drop-shadow(0 0 26px rgba(255, 255, 255, 0.25)) brightness(1.1);
  }
  30% {
    opacity: 1;
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.65))
      drop-shadow(0 0 17px rgba(255, 255, 255, 0.45))
      drop-shadow(0 0 26px rgba(255, 255, 255, 0.25)) brightness(1.05);
  }
  32% {
    opacity: 0.94;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.55))
      drop-shadow(0 0 15px rgba(255, 255, 255, 0.38))
      drop-shadow(0 0 24px rgba(255, 255, 255, 0.19)) brightness(1);
  }
  35% {
    opacity: 1;
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.65))
      drop-shadow(0 0 17px rgba(255, 255, 255, 0.45))
      drop-shadow(0 0 26px rgba(255, 255, 255, 0.25)) brightness(1.05);
  }
  68% {
    opacity: 1;
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.65))
      drop-shadow(0 0 17px rgba(255, 255, 255, 0.45))
      drop-shadow(0 0 26px rgba(255, 255, 255, 0.25)) brightness(1.05);
  }
  72% {
    opacity: 0.93;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.55))
      drop-shadow(0 0 14px rgba(255, 255, 255, 0.33))
      drop-shadow(0 0 23px rgba(255, 255, 255, 0.19)) brightness(1.05);
  }
  74% {
    opacity: 1;
    filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.65))
      drop-shadow(0 0 17px rgba(255, 255, 255, 0.45))
      drop-shadow(0 0 26px rgba(255, 255, 255, 0.25)) brightness(1.05);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

@keyframes blinkOrange {
  0%,
  100% {
    transform: translate(0, 20px) rotate(1deg);
  }
  25% {
    transform: translate(-9px, 20px) rotate(1deg);
  }
  50% {
    transform: translate(9px, 20px) rotate(1deg);
  }
  75% {
    transform: translate(-2px, 20px) rotate(1deg);
  }
}

/* ============================================
   COMPONENT STYLES
   ============================================ */

.lightbox-thumbnail-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 2px;
}

.lightbox-thumbnail-container:hover,
.lightbox-thumbnail-container:focus {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  outline: none;
}

.lightbox-thumbnail {
  width: 100%;
  display: block;
}

.lightbox-thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
}

.lightbox-thumbnail-container:hover .lightbox-thumbnail-overlay,
.lightbox-thumbnail-container:focus .lightbox-thumbnail-overlay {
  opacity: 1;
}

.lightbox-thumbnail-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  font-size: 3rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-thumbnail-dots-container {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 0.4rem;
  z-index: 5;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  padding: 0.5rem;
  opacity: 0;
}

.lightbox-thumbnail-container:hover .lightbox-thumbnail-dots-container,
.lightbox-thumbnail-container:focus .lightbox-thumbnail-dots-container {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.lightbox-thumbnail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: white;
  animation: neonFlicker 6s ease-in-out infinite;
}

.lightbox-thumbnail-chevron {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 4rem;
  font-weight: bold;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.lightbox-thumbnail-chevron-prev {
  left: 1rem;
}

.lightbox-thumbnail-chevron-next {
  right: 1rem;
}

.lightbox-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 10001;
  opacity: 0;
}

.lightbox-modal.active .lightbox-content {
  opacity: 1;
}

.lightbox-slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: none;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  border-radius: 1px;
}

.lightbox-image.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.lightbox-close,
.lightbox-btn {
  position: absolute;
  border: none;
  background-color: transparent;
  color: var(--color-orange);
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  user-select: none;
  z-index: 10002;
  transition: transform 0.2s;
}

.lightbox-btn:focus {
  outline: none;
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
  font-size: 5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-close:focus {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.4))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.2));
  outline: none;
}

.lightbox-btn-prev {
  left: 2rem;
}

.lightbox-btn-next {
  right: 2rem;
}

.lightbox-dots-wrapper {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 10;
}

.lightbox-dots-container {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.lightbox-dots-btn {
  position: relative;
  top: -5px;
  border: none;
  background-color: transparent;
  color: var(--color-orange);
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  user-select: none;
  font-size: 4rem;
  transition: transform 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-dots-btn:hover,
.lightbox-dots-btn:focus {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.4))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.2));
  transform: scale(1.2);
  outline: none;
}

.lightbox-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-orange);
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.lightbox-dot:hover,
.lightbox-dot:focus {
  opacity: 1;
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.4));
  outline: none;
}

.lightbox-dot.active {
  background-color: var(--color-orange);
  opacity: 1;
  transform: scale(1.3);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.6));
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  touch-action: pan-y pinch-zoom; /* Allow vertical scrolling and pinch zoom, but handle horizontal panning */
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  touch-action: pan-y pinch-zoom;
  user-select: none; /* Prevent text selection during drag */
  -webkit-user-select: none;
}

.slideshow-image {
  width: 100%;
  height: auto;
  display: none;
  object-fit: cover;
}

.slideshow-image.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--color-orange);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.2s;
  z-index: 10;
  color: #333;
  font-weight: bold;
  user-select: none;
  color: #fff;
}

.slideshow-btn:hover,
.slideshow-btn:focus {
  background-color: rgba(255, 255, 255, 1);
  color: var(--color-orange);
  transform: translateY(-50%) scale(1.1);
  outline: none;
}

.slideshow-btn-prev {
  left: 10px;
}

.slideshow-btn-next {
  right: 10px;
}

.impressum-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.impressum-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.impressum-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.impressum-content {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  max-width: 800px;
  max-height: 90vh;
  width: 90%;
  padding: 2rem;
  overflow-y: auto;
  z-index: 10001;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.impressum-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  border: none;
  background-color: transparent;
  color: var(--color-orange);
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  user-select: none;
  z-index: 10002;
  transition: transform 0.2s;
  font-size: 5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impressum-close:hover,
.impressum-close:focus {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.4))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.2));
  outline: none;
}

.impressum-modal-body {
  padding-right: 1rem;
}

.impressum-title {
  font-family: "CutPure";
  font-size: 4rem;
  line-height: 1;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #333;
}

.impressum-text {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 1.5rem;
  color: #333;
}

.impressum-link {
  cursor: pointer;
  color: var(--color-body-dark);
  text-decoration: underline;
  transition: color 0.2s;
}

.impressum-link:hover,
.impressum-link:focus {
  color: #000;
  outline: none;
}

.monster-container {
  position: absolute;
  pointer-events: none;
  height: auto;
  z-index: 2;
}

.monster-small {
  flex: 1;
  min-width: 60px;
  max-width: 120px;
  height: auto;
  object-fit: contain;
}

.monster-container--einhorn {
  bottom: -59px;
  left: 300px;
  width: 320px;
  filter: brightness(0) invert(1);
}

.monster-container--baum {
  bottom: -88px;
  right: 110px;
  width: 200px;
  filter: brightness(0) invert(1);
}

.monster-container--bruelli {
  bottom: -130px;
  left: -85px;
  width: 210px;
  filter: brightness(0) invert(1);
}

.monster-container--fuchs {
  bottom: -130px;
  left: 140px;
  width: 90px;
  filter: brightness(0) invert(1);
  transform: rotate(-24deg);
}

.monster-container--zug {
  bottom: -165px;
  right: -140px;
  width: 480px;
  filter: brightness(0) invert(1);
}

.monster-container--zug img {
  width: 100%;
}

.monster-container--schwammkopf {
  bottom: -13rem;
  left: -6rem;
  width: 400px;
  transform: rotate(-10deg);
}

.monster-container--schwammkopf .lila-stern-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%)
    hue-rotate(346deg) brightness(104%) contrast(97%);
}

.monster-container--schwammkopf .schwammkopf-image {
  position: absolute;
  top: 14%;
  left: 4%;
  width: 75%;
  height: auto;
  object-fit: contain;
  z-index: 3;
  filter: brightness(0) invert(1);
  transform: translate(25px, 25px);
}

.monster-container--huhn {
  right: 620px;
  bottom: -300px;
  width: 235px;
  filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.9));
}

.monster-container--rakete {
  right: -315px;
  top: 640px;
  transform: rotate(241deg);
  width: 500px;
  filter: brightness(0) invert(1) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.9));
}

.monster-container--sonne {
  top: 0;
  left: -50px;
  width: 170px;
  filter: brightness(85%) saturate(150%);
}

.monster-container--igel {
  left: 127px;
  bottom: 60px;
  width: 360px;
  transform: rotate(351deg);
  filter: brightness(85%);
}

.monster-container--meerschweinchen {
  bottom: 30px;
  width: 250px;
  left: 522px;
  transform: rotate(363deg);
  filter: brightness(85%);
}

.monster-container--royals {
  bottom: -51px;
  right: -50px;
  width: 280px;
  filter: brightness(85%);
}

.monster-container--schnabel {
  position: relative;
  top: 70px;
  left: 125px;
  width: 150px;
  filter: brightness(0) invert(1);
}

.monster-container--pfanne {
  bottom: -182px;
  left: 441px;
  width: 300px;
  transform: rotate(18deg);
}

/* ============================================
   CONTENT STYLES
   ============================================ */

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

*:focus {
  outline: none;
}

html {
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  overscroll-behavior: none;
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

.content {
  overflow: hidden;
}

.header {
  padding: 0 2rem 2rem 2rem;
  position: relative;
}

.menu-icon {
  position: fixed;
  cursor: pointer;
  font-size: 3rem;
  z-index: 1000;
  transition: transform 0.2s;
  width: fit-content;
  margin: 1rem 0 0 1rem;
  padding: 0.5rem;
  color: var(--color-orange);
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.5);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.menu-icon:hover,
.menu-icon:focus {
  transform: scale(1.1);
  animation: neonFlicker 6s ease-in-out infinite;
  outline: none;
}

.menu {
  display: none;
  position: fixed;
  top: 5.5rem;
  left: 1rem;
  padding: 0.7rem 0.2rem;
  background-color: var(--color-rosa);
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
  animation: slideDown 0.3s;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.menu.active {
  display: flex;
}

.menu-link {
  font-family: "CutPure";
  padding: 0 1rem;
  text-decoration: none;
  font-size: 3rem;
  display: block;
  line-height: 1.2;
  color: black;
  font-weight: bold;
}

.menu-link:hover,
.menu-link:focus {
  color: white;
  -webkit-text-stroke: 5px var(--color-orange);
  paint-order: stroke fill;
  outline: none;
}

.menu-link .ich-text {
  display: inline-block;
  transform: rotate(-3deg);
}

.menu-link .du-text {
  display: inline-block;
  transform: rotate(2deg);
}

.menu-link .amp {
  font-size: 0.7em;
  line-height: 1;
  top: -6px;
  position: relative;
  padding: 0 5px;
  display: inline-block;
}

.menu-link[href="#header"] {
  color: var(--color-orange);
  -webkit-text-stroke: 5px white;
  paint-order: stroke fill;
}

.menu-link[href="#header"]:hover,
.menu-link[href="#header"]:focus {
  color: white;
  -webkit-text-stroke: 5px var(--color-orange);
}

.logo-container {
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 470px;
  transform: translateY(-5%);
}

.header-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 50px;
  padding-top: 30px;
  flex-wrap: wrap;
}

.header-image-container {
  position: relative;
  flex-shrink: 0;
}

.header-image-container::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 0px;
  pointer-events: none;
  z-index: 1;
  transform: rotate(0.15deg);
}

.header-image {
  width: 450px;
  height: auto;
  object-fit: contain;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
  border-radius: 2px;
}

.header-overlay-container {
  position: absolute;
  bottom: 0;
  right: -60px;
  z-index: 5;
}

.header-text {
  flex: 1;
  position: relative;
  margin-top: 115px;
}

.header-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.header-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  width: 330px;
}

.header-banner {
  position: absolute;
  top: 30px;
  right: 15px;
  width: 480px;
  cursor: pointer;
  z-index: 5;
  transition: transform 0.3s ease;
  transform: rotate(-15deg);
}

.header .header-banner:not(:hover) {
  animation: neonFlicker 6s ease-in-out infinite;
}

.header-banner:hover,
.header-banner:focus {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 20px rgba(255, 255, 255, 0.7))
    drop-shadow(0 0 32px rgba(255, 255, 255, 0.5))
    drop-shadow(0 0 48px rgba(255, 255, 255, 0.3)) brightness(1.4);
  outline: none;
}

.header:hover .header-banner,
.header:focus-within .header-banner {
  transform: rotate(-15deg) scale(1.05);
}

.banner {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.banner__2026,
.banner__plaetze,
.banner__frei {
  text-anchor: middle;
  dominant-baseline: middle;
}

.banner__2026 {
  transform: rotate(3deg);
  font-family: "CutPure";
  font-size: calc(16px * 2);
  fill: #ecc548;
  stroke: #ecc548;
  paint-order: stroke fill;
  letter-spacing: 5px;
  transform-origin: bottom center;
}

.banner__plaetze,
.banner__frei {
  font-family: "CutPure", sans-serif;
  font-size: calc(16px * 8);
  fill: transparent;
  stroke: var(--color-orange);
  stroke-width: 2;
  filter: brightness(1.2);
}

/* Safari-specific fix - JavaScript-based detection (more reliable) */
html.safari .banner__plaetze {
  transform: translateY(30px);
}

/* CSS fallback for when JavaScript is disabled (progressive enhancement) */
@supports (-webkit-touch-callout: none) {
  .banner__plaetze {
    transform: translateY(30px);
  }
}

.banner__frei-number {
  font-size: 115%;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-yellow {
  background-color: var(--color-yellow);
}

.section-orange {
  background-color: var(--color-orange);
}

.section-blue {
  background-color: var(--color-blue);
  color: var(--color-rosa);
}

.section-blue-scarlet {
  background-color: var(--color-blue-scarlet);
  color: var(--color-rosa);
}

.section-lila {
  background-color: var(--color-lila);
  color: var(--color-rosa);
}

.section-scarlet {
  background-color: var(--color-scarlet);
  color: var(--color-rosa);
}

.section-green {
  background-color: var(--color-green);
  color: var(--color-rosa);
}

.section-green-dark {
  background-color: var(--color-green-dark);
  color: var(--color-rosa);
}

.section-rosa {
  background-color: var(--color-rosa);
}

.wave-divider {
  position: absolute;
  bottom: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 1;
}

.section-blue .wave-divider path {
  fill: var(--color-blue);
}

.section-blue-scarlet .wave-divider path {
  fill: var(--color-blue-scarlet);
}

.section-lila .wave-divider path {
  fill: var(--color-lila);
}

.section-scarlet .wave-divider path {
  fill: var(--color-scarlet);
}

.section-yellow .wave-divider path {
  fill: var(--color-yellow);
}

.section-orange .wave-divider path {
  fill: var(--color-orange);
}

.section-green .wave-divider path {
  fill: var(--color-green);
}

.section-green-dark .wave-divider path {
  fill: var(--color-green-dark);
}

.section-content {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.section-content--narrow {
  max-width: 800px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.two-column--main-left {
  grid-template-columns: 13fr 7fr;
}

.two-column--main-right {
  grid-template-columns: 7fr 13fr;
}

.narrow-column {
  margin: 0 auto;
  max-width: 800px;
  text-align: center;
}

.section-title {
  font-family: "CutPure";
  font-size: 5.5rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

#what .section-title {
  transform: rotate(-2deg) translateX(-9px);
  font-weight: bold;
}

#who .two-column--main-left {
  gap: 3rem;
}

.section-title--who {
  transform: rotate(1deg) translateX(-9px);
}

.team-photo-container {
  position: relative;
}

.team-photo-image {
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 7;
  object-position: center 100%;
}

.team-member {
  font-family: "CutPure";
  font-weight: bold;
  position: absolute;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--color-rosa);
  letter-spacing: 4px;
  -webkit-text-stroke: 4px var(--color-blue);
  paint-order: stroke fill;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6))
    drop-shadow(0 0 16px rgba(255, 255, 255, 0.4))
    drop-shadow(0 0 24px rgba(255, 255, 255, 0.2)) brightness(1.2);
}

.team-member.karo {
  top: 144px;
  left: 120px;
  transform: rotate(2deg);
}

.team-member.lila {
  top: 144px;
  left: 275px;
  transform: rotate(-1deg);
}

.team-member.tara {
  top: 7px;
  right: 264px;
  transform: rotate(-2deg);
}

.team-member.carina {
  top: 155px;
  right: 70px;
  transform: rotate(-21deg);
}

.section-title--was-uns-wichtig-ist {
  line-height: 1;
  text-align: end;
}

#who .trigger {
  display: block;
  margin-top: 4rem;
  font-family: "CutPure";
  font-size: 55px;
  text-decoration: none;
  color: var(--color-rosa);
  letter-spacing: 4px;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: end;
  flex-direction: column;
  transform: rotate(-5deg);
  animation: neonFlicker 6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(239, 79, 34, 0.3))
    drop-shadow(0 0 10px rgba(239, 79, 34, 0.2));
  transition: transform 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#who:hover .trigger,
#who:focus-within .trigger {
  transform: rotate(-5deg) scale(1.05);
}

#who .trigger img {
  width: 93px;
  height: auto;
  margin-top: -15px;
  margin-right: 93px;
  filter: brightness(0) invert(1);
}

#mission {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease-in-out, max-height 0.5s ease-in-out,
    margin-top 0.5s ease-in-out;
  margin-top: 0;
  position: relative;
  padding: 0rem 3rem 0rem;
  font-size: 1.15rem;
  line-height: 1.4;
}

#mission::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 0.5rem;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: currentColor;
  opacity: 0.3;
  line-height: 1;
  font-style: normal;
}

#mission::after {
  content: '"';
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: currentColor;
  opacity: 0.3;
  line-height: 1;
  font-style: normal;
}

#mission .two-column {
  position: relative;
  z-index: 1;
}

#mission .section-text {
  font-style: italic;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0;
}

#mission .section-text:first-child::before {
  content: "";
}

#who .section-content.expanded #mission {
  opacity: 1;
  max-height: 2000px;
  margin-top: 3rem;
}

#where .two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

#where .wo-wir-sind-left {
  grid-column: 1;
  display: flex;
  flex-direction: column;
}

#where .wo-wir-sind-lightbox {
  grid-column: 2;
}

#where .lightbox-thumbnail-container {
  margin-top: 105px;
}

.wie-es-aussieht {
  position: absolute;
  bottom: 200px;
  right: -205px;
  font-size: 3rem;
  color: var(--color-rosa);
  font-family: "CutPure";
  transform: rotate(89deg);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title--wo-wir-sind {
  transform: rotate(-2deg) translateX(10px);
}

.map-container {
  margin-top: 1rem;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 0 0 4px var(--color-yellow),
    0 0 0 8px rgba(163, 154, 210, 0.3);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: linear-gradient(
    135deg,
    var(--color-yellow) 0%,
    rgba(163, 154, 210, 0.2) 100%
  );
  padding: 8px;
}

.map-container:hover,
.map-container:focus {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2), 0 0 0 4px var(--color-yellow),
    0 0 0 8px rgba(163, 154, 210, 0.4), 0 0 20px rgba(163, 154, 210, 0.3);
  outline: none;
}

.map-container iframe {
  display: block;
  width: 100%;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.section-title--rules {
  text-align: end;
}

#rules .description h2 {
  margin-bottom: 1rem;
}

.section-title--aufgaben-der-eltern {
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  padding: 0;
  font-size: 4rem;
  transform: rotate(1deg);
}

#rules .section-title--aufgaben-der-eltern {
  transform: rotate(1deg) translateX(2px);
}

.section-title--hard-facts {
  transform: rotate(1deg) translateX(-9px);
  line-height: 1;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
  font-size: 4rem;
  text-align: end;
  transform: rotate(1deg);
}

.hard-facts-container {
  position: relative;
  margin-top: -75px;
}

.hard-facts {
  border: 2px dashed currentColor;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.hard-facts h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.fact-item {
  margin-bottom: 1rem;
}

.fact-label {
  font-weight: bold;
  text-align: right;
}

.tasks-list {
  list-style: none;
}

.tasks-list li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.tasks-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: -3px;
}

#routines.section {
  padding-bottom: 12rem;
}

#routines .section-title--routines {
  transform: rotate(-2deg);
}

#routines .lightbox-thumbnail-container {
  margin-top: 6rem;
}

#contact.section {
  padding-bottom: 0;
}

#contact .section-content {
  padding-bottom: 20rem;
}

.contact-container {
  margin-right: 70px;
}

#contact .section-title {
  color: var(--color-blue);
  margin-bottom: 0;
  text-align: end;
  font-weight: bold;
}

.contact-details {
  transform: translate(0, 20px) rotate(1deg);
  text-decoration: none;
  font-weight: bold;
  text-align: end;
}

.contact-details a {
  display: block;
  font-family: "CutPure";
  font-size: 65px;
  text-decoration: none;
  color: var(--color-rosa);
  letter-spacing: 4px;
  filter: drop-shadow(0 0 2px rgba(239, 79, 34, 0.06));
  transition: color 0.1s ease;
}

@supports (-webkit-text-stroke: 2px var(--color-orange)) {
  .contact-details a {
    filter: drop-shadow(0 0 2px rgba(239, 79, 34, 0.4));
    -webkit-text-stroke: 8px var(--color-orange);
    paint-order: stroke fill;
  }
}

.contact-details a:hover,
.contact-details a:focus {
  filter: drop-shadow(0 0 6px rgba(239, 79, 34, 0.3))
    drop-shadow(0 0 10px rgba(239, 79, 34, 0.2));
  text-shadow: 0 0 8px rgba(239, 79, 34, 0.3);
  outline: none;
}

.contact-details .email span {
  display: inline-block;
}

.contact-details .email-at {
  padding-right: 5px;
}

.contact-details .email-at,
.contact-details .email-kindergruppe,
.contact-details .email-ichunddu,
.contact-details .email-oe,
.contact-details .email-ich,
.contact-details .email-und,
.contact-details .email-du {
  padding-left: 7;
}

.contact-details.blink-orange {
  animation: blinkOrange 0.3s ease-in-out 2;
}

.contact-banner {
  position: absolute;
  left: 0;
  top: -206px;
  z-index: 3;
  width: 400px;
  pointer-events: none;
  animation: neonFlicker 6s ease-in-out infinite;
}

/* Footer Styles */
.footer {
  font-size: 1.2rem;
  background-color: var(--color-rosa);
  padding: 10px;
  width: 100%;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-content span {
  margin: 0 5px;
}

.footer-content p {
  margin: 0;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

@media (max-width: 1700px) {
  .monster-container--rakete {
    right: 50px;
    top: auto;
    bottom: -150px;
  }

  .monster-container--schwammkopf {
    left: 0;
  }

  .monster-container--zug {
    right: 0;
  }

  .monster-container--bruelli {
    bottom: -130px;
    left: 0;
  }

  .monster-container--fuchs {
    bottom: -120px;
    left: 240px;
  }
}

@media (max-width: 1250px) {
  :root {
    font-size: 14px;
  }

  .header-content,
  .section-content,
  .footer-content {
    max-width: 1000px;
  }

  .wie-es-aussieht {
    bottom: -55px;
    right: 0;
    transform: none;
  }

  .contact-banner {
    top: -192px;
  }

  .monster-container--baum {
    width: 180px;
  }

  .monster-container--schwammkopf {
    bottom: -13rem;
    left: 0rem;
    width: 280px;
  }

  .monster-container--zug {
    right: -50px;
    width: 400px;
  }

  .monster-container--bruelli {
    bottom: -110px;
  }

  .monster-container--huhn {
    right: 530px;
    bottom: -260px;
    width: 210px;
  }

  .monster-container--schnabel {
    top: 65px;
  }

  .monster-container--rakete {
    top: auto;
    right: -30px;
    bottom: -80px;
    width: 300px;
  }

  .monster-container--sonne {
    left: 0;
  }

  .monster-container--igel {
    left: 100px;
  }

  .monster-container--meerschweinchen {
    left: 500px;
  }

  .monster-container--royals {
    width: 245px;
  }
}

@media (max-width: 1050px) {
  :root {
    font-size: 12px;
  }

  .header-content,
  .section-content,
  .footer-content {
    max-width: 800px;
  }

  .header-image {
    width: 420px;
  }

  .header-banner {
    right: -70px;
    top: 50px;
    width: 440px;
  }

  .header-banner .banner__2026 {
    transform: rotate(3deg);
  }

  #who .two-column--main-left {
    grid-template-columns: 6fr 2fr;
  }

  #who .trigger {
    font-size: 35px;
  }

  #who .trigger img {
    width: 45px;
    height: auto;
    margin-top: -8px;
    margin-right: 55px;
  }

  .team-member.karo {
    left: 66px;
  }

  .team-member.lila {
    top: 120px;
    left: 175px;
  }

  .team-member.tara {
    top: -5px;
    right: 160px;
  }

  .team-member.carina {
    top: 115px;
    right: 35px;
  }

  .contact-banner {
    top: -180px;
  }

  .contact-details a {
    font-size: 50px;
  }

  .monster-container--einhorn {
    bottom: -50px;
    left: 300px;
    width: 230px;
  }

  .monster-container--baum {
    bottom: -70px;
    width: 150px;
  }

  .monster-container--schwammkopf {
    width: 210px;
  }

  .monster-container--huhn {
    left: 250px;
    bottom: -175px;
    width: 170px;
  }

  .monster-container--bruelli {
    bottom: -125px;
    left: 135px;
    width: 150px;
  }

  .monster-container--fuchs {
    bottom: -120px;
    left: 300px;
    width: 60px;
  }

  .monster-container--schnabel {
    top: 55px;
    left: 40px;
    width: 130px;
  }

  .monster-container--igel {
    width: 290px;
  }

  .monster-container--royals {
    display: none;
  }
}

@media (max-width: 850px) {
  .logo-container {
    height: 155px;
    margin-bottom: 2rem;
  }

  .logo {
    width: 230px;
    transform: translateY(-11px) translateX(10px);
  }

  .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .header-content,
  .section-content,
  .footer-content {
    max-width: 800px;
  }

  .two-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .section-title {
    line-height: 1;
    text-align: center;
  }

  .header {
    padding: 0 2rem 0 2rem;
  }

  .header-content {
    display: grid;
    gap: 0;
    padding-top: 0;
    padding-bottom: 0;
  }

  .header-image-container {
    flex-shrink: inherit;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .header-image {
    width: 100%;
    object-fit: cover;
    object-position: center 25%;
    aspect-ratio: 16 / 9;
  }

  .header-text {
    margin: 2rem 0 0;
  }

  .header-text p {
    width: 100%;
  }

  .header-banner {
    position: relative;
    margin: 0;
    justify-self: end;
    top: 15px;
    right: -30px;
    width: 60%;
    z-index: 10;
  }

  .header-banner img {
    width: inherit;
  }

  .wave-divider {
    bottom: -79px;
  }

  #who.section {
    padding-bottom: 4rem;
  }

  #who .section-text {
    margin-bottom: 0;
  }

  #who .trigger {
    display: flex;
    align-items: center;
    margin-top: 1rem;
  }

  #who .trigger img {
    margin: 0 auto;
  }

  .team-member {
    font-size: 2.5rem;
  }

  .team-member.karo {
    top: 60%;
    left: 12%;
  }

  .team-member.lila {
    top: 45%;
    left: 38%;
  }

  .team-member.tara {
    top: 5%;
    right: 33%;
  }

  .team-member.carina {
    top: 60%;
    right: 5%;
  }

  #mission:before,
  #mission:after {
    font-size: 4rem;
  }

  #mission .section-text {
    padding-left: 0;
  }

  #where .two-column {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
  }

  #where .wo-wir-sind-left {
    display: contents;
  }

  #where .wo-wir-sind-texts {
    grid-row: 1;
    grid-column: 1;
  }

  #where .wo-wir-sind-lightbox {
    grid-row: 2;
    grid-column: 1;
  }

  #where .map-container {
    grid-row: 3;
    grid-column: 1;
    margin: 6rem 0 0;
  }

  #where .lightbox-thumbnail-container {
    margin-top: 0;
  }

  #rules .section-title {
    margin-bottom: 2.5rem;
  }

  .section-title--aufgaben-der-eltern {
    margin-top: 2.5rem;
  }

  #rules .two-column {
    flex-direction: column-reverse;
    gap: 2.5rem;
  }

  .hard-facts-container {
    margin-top: 0;
  }

  .hard-facts {
    gap: 0.7rem;
  }

  #routines.section {
    padding-bottom: 10rem;
  }

  #routines .section-content {
    padding: 0 0 4rem;
  }

  #routines .lightbox-thumbnail-container {
    margin-top: 0;
  }

  #contact .section-title {
    font-size: 3.5rem;
  }

  #contact .section-content {
    padding: 6rem 0 7rem;
  }

  .contact-details a {
    font-size: 22px;
    white-space: nowrap;
    -webkit-text-stroke: 4px var(--color-orange);
  }

  .contact-banner {
    top: -170px;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
  }

  .contact-banner .banner__2026 {
    transform: rotate(3deg);
  }

  .footer {
    padding: 10px 10px 20px;
  }

  footer strong,
  footer a {
    display: block;
  }
  footer span {
    display: none;
  }

  .monster-container--einhorn {
    bottom: -23px;
    left: 0;
    left: -15px;
    margin: 0 auto;
    width: 180px;
  }

  .monster-container--baum {
    display: none;
  }

  .monster-container--schwammkopf {
    display: none;
  }

  .monster-container--zug {
    position: relative;
    right: 0;
    width: 50%;
    left: 0;
    margin: 0 auto;
    bottom: -30px;
  }

  .monster-container--huhn {
    display: none;
  }

  .monster-container--bruelli {
    position: relative;
    bottom: -60px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
  }

  .monster-container--fuchs {
    bottom: -65px;
    left: 0;
    width: 60px;
    right: -185px;
    margin: 0 auto;
  }

  .monster-container--schnabel {
    display: none;
  }

  .monster-container--pfanne {
    position: relative;
    bottom: -38px;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
  }

  .monster-container--rakete {
    display: none;
  }

  .monster-container--sonne {
    display: none;
  }

  .monster-container--meerschweinchen {
    display: none;
  }

  .monster-container--igel {
    display: none;
  }

  .monster-container--royals {
    display: none;
  }

  .lightbox-thumbnail-container img {
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }

  .lightbox-thumbnail-container {
    position: relative;
  }

  .lightbox-thumbnail-container .lightbox-thumbnail-overlay {
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    opacity: 1;
    background: transparent;
    padding: 0;
  }

  .lightbox-thumbnail-container .lightbox-thumbnail-icon {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    top: auto;
    left: auto;
    transform: none;
    z-index: 2;
    width: 40px;
    height: 40px;
  }

  .lightbox-thumbnail-container .lightbox-thumbnail-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .lightbox-thumbnail-container .lightbox-thumbnail-chevron-prev {
    left: 1rem;
  }

  .lightbox-thumbnail-container .lightbox-thumbnail-chevron-next {
    right: 1rem;
  }

  .lightbox-thumbnail-dots-container {
    display: none;
  }

  .lightbox-thumbnail-dot {
    width: 5px;
    height: 5px;
  }

  .lightbox-dots-wrapper {
    bottom: 1rem;
  }

  .lightbox-dots-container {
    gap: 0.5rem;
  }

  .lightbox-dots-btn {
    top: -3px;
    font-size: 3rem;
  }

  .lightbox-dot {
    width: 10px;
    height: 10px;
    border-width: 1.5px;
  }
}
