/* ==========================================================================
   Kulturhaus am Kreisel - Static Site Stylesheet
   Basierend auf dem abgenommenen Mockup v1
   ========================================================================== */

/* --- Reset & Base --- */

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

/* --- Custom Properties --- */

:root {
  --color-bg: #f2ebe5;
  --color-primary: #c05640;
  --color-secondary: #4a5d4f;
  --color-accent: #dfa456;
  --color-text: #3d3430;
  --color-soft: #e6d2c9;
  --color-purple: #9d84b0;
  --font-head: "Fraunces", serif;
  --font-body: "Work Sans", sans-serif;
  --radius-soft: 12px;
  --radius-pill: 50px;
}

/* --- Fonts --- */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/fraunces-normal-400.ttf) format("truetype");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/fraunces-normal-700.ttf) format("truetype");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/fraunces-italic-400.ttf) format("truetype");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/fraunces-italic-700.ttf) format("truetype");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/worksans-normal-400.ttf) format("truetype");
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/worksans-normal-700.ttf) format("truetype");
}
@font-face {
  font-family: "Work Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/worksans-italic-400.ttf) format("truetype");
}
@font-face {
  font-family: "Work Sans";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/worksans-italic-700.ttf) format("truetype");
}

/* --- Base Elements --- */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- Animations --- */

@keyframes organic-move {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

@keyframes spin-cw {
  to {
    transform: rotate(360deg);
  }
}

/* --- Layout Helpers --- */

.container {
  width: 88%;
  max-width: 1100px;
  margin: 0 auto;
}

section {
  padding: 3.5rem 0;
}

/* Sektionen mit eigenem Hintergrund behalten mehr Padding */
.section-dark,
.section-wish {
  padding: 4rem 0;
}

/* --- Scroll Reveal --- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger-Delays für Kinder-Elemente */
.reveal-stagger > .reveal:nth-child(1) {
  transition-delay: 0s;
}
.reveal-stagger > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
.reveal-stagger > .reveal:nth-child(3) {
  transition-delay: 0.12s;
}
.reveal-stagger > .reveal:nth-child(4) {
  transition-delay: 0.15s;
}
.reveal-stagger > .reveal:nth-child(5) {
  transition-delay: 0.18s;
}
.reveal-stagger > .reveal:nth-child(6) {
  transition-delay: 0.2s;
}
.reveal-stagger > .reveal:nth-child(7) {
  transition-delay: 0.22s;
}

/* Variante: von links */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Variante: von rechts */
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
/* Wish-card behält Drehung nach Reveal */
.wish-card.reveal-right.is-visible {
  transform: rotate(1deg);
}

/* Variante: Scale */
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Hero Load Animation --- */

.hero-text-col .meta-pill,
.hero-text-col .hero-h1,
.hero-text-col .hero-desc,
.hero-text-col .hero-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-element-in 0.6s ease-out forwards;
}
.hero-text-col .meta-pill {
  animation-delay: 0.2s;
}
.hero-text-col .hero-h1 {
  animation-delay: 0.4s;
}
.hero-text-col .hero-desc {
  animation-delay: 0.65s;
}
.hero-text-col .hero-buttons {
  animation-delay: 0.85s;
}

.hero-visual-col {
  opacity: 0;
  animation: hero-visual-in 0.8s ease-out 0.5s forwards;
}

@keyframes hero-element-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-visual-in {
  from {
    opacity: 0;
    transform: scale(0.85) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

/* Kein Reveal für Users die reduced-motion bevorzugen */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-text-col .meta-pill,
  .hero-text-col .hero-h1,
  .hero-text-col .hero-desc,
  .hero-text-col .hero-buttons,
  .hero-visual-col {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* --- Buttons --- */

.btn-kultur {
  display: inline-block;
  text-decoration: none;
  background-color: var(--color-primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-soft);
  box-shadow: 5px 5px 0px var(--color-text);
  transition: all 0.2s ease;
  border: 2px solid var(--color-text);
  cursor: pointer;
  font-size: 1rem;
}
.btn-kultur:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0px var(--color-text);
  color: #fff;
}
.btn-kultur:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--color-text);
}

.btn-link {
  display: inline-block;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 600;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
  transition: color 0.3s ease;
}
.btn-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}

/* --- Logo Animations --- */

.logo-kak {
  overflow: visible;
}

/* Fill defaults */
.logo-kak #logo-text-top,
.logo-kak #logo-text-bottom {
  fill: var(--color-text);
}
.logo-kak #logo-arcs {
  fill: var(--color-primary);
}

/* --- Load Animation (plays once) --- */
.logo-kak #logo-arc-top {
  opacity: 0;
  transform: translateX(10px);
  animation: logo-arc-in 0.6s ease-out 0.1s forwards;
}
.logo-kak #logo-arc-bottom {
  opacity: 0;
  transform: translateX(-10px);
  animation: logo-arc-in 0.6s ease-out 0.3s forwards;
}
.logo-kak #logo-text-top {
  opacity: 0;
  animation: logo-text-in 0.5s ease-out 0.5s forwards;
}
.logo-kak #logo-text-bottom {
  opacity: 0;
  animation: logo-text-in 0.5s ease-out 0.7s forwards;
}

@keyframes logo-arc-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes logo-text-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Idle Pulse (every 4s) --- */
.logo-kak #logo-arcs {
  animation: logo-pulse 4s ease-in-out 2s infinite;
  transform-origin: 60px 45px;
}

@keyframes logo-pulse {
  0%,
  70%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  80% {
    opacity: 0.5;
    transform: scale(1.06);
  }
  90% {
    opacity: 1;
    transform: scale(0.98);
  }
}

/* --- Hover: Arcs spin slightly --- */
.logo-kak:hover #logo-arcs {
  animation: none;
  transition: transform 0.4s ease;
  transform-origin: 60px 45px;
  transform: rotate(8deg);
}
.logo-kak:hover #logo-text {
  transition: fill 0.3s ease;
}

/* ==========================================================================
   Logo Color Themes
   Apply class to a wrapper: <div class="logo-boogie"><svg class="logo-kak">...
   ========================================================================== */

/* Boogie Night - Party! */
.logo-boogie .logo-kak #logo-arcs {
  fill: var(--color-purple);
}
.logo-boogie .logo-kak #logo-text-top,
.logo-boogie .logo-kak #logo-text-bottom {
  fill: #fdf8f5;
}
.logo-boogie .logo-kak #logo-arcs {
  animation: logo-disco 3s linear infinite;
}
@keyframes logo-disco {
  0% {
    fill: var(--color-purple);
  }
  33% {
    fill: var(--color-accent);
  }
  66% {
    fill: var(--color-primary);
  }
  100% {
    fill: var(--color-purple);
  }
}

/* Winter - Kalt & gemütlich */
.logo-winter .logo-kak #logo-arcs {
  fill: #6b9bc3;
}
.logo-winter .logo-kak #logo-text-top {
  fill: #2c4a6e;
}
.logo-winter .logo-kak #logo-text-bottom {
  fill: #4a7ba8;
}

/* Frühling - Frisches Grün */
.logo-fruehling .logo-kak #logo-arcs {
  fill: #7cb97d;
}
.logo-fruehling .logo-kak #logo-text-top {
  fill: var(--color-text);
}
.logo-fruehling .logo-kak #logo-text-bottom {
  fill: #4a8b4f;
}

/* Sommer - Warm & sonnig */
.logo-sommer .logo-kak #logo-arcs {
  fill: var(--color-accent);
}
.logo-sommer .logo-kak #logo-text-top {
  fill: var(--color-primary);
}
.logo-sommer .logo-kak #logo-text-bottom {
  fill: var(--color-text);
}

/* Weihnacht - Festlich */
.logo-weihnacht .logo-kak #logo-arcs {
  fill: #b22222;
}
.logo-weihnacht .logo-kak #logo-text-top {
  fill: #1b5e20;
}
.logo-weihnacht .logo-kak #logo-text-bottom {
  fill: #b22222;
}
.logo-weihnacht .logo-kak #logo-arcs {
  animation: logo-twinkle 4s ease-in-out infinite;
}
@keyframes logo-twinkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

/* Pride - Regenbogen */
.logo-pride .logo-kak #logo-arc-top {
  fill: #e40303;
  animation: logo-rainbow-top 6s linear infinite;
}
.logo-pride .logo-kak #logo-arc-bottom {
  fill: #004dff;
  animation: logo-rainbow-bottom 6s linear infinite;
}
@keyframes logo-rainbow-top {
  0% {
    fill: #e40303;
  }
  16% {
    fill: #ff8c00;
  }
  33% {
    fill: #ffed00;
  }
  50% {
    fill: #008026;
  }
  66% {
    fill: #004dff;
  }
  83% {
    fill: #750787;
  }
  100% {
    fill: #e40303;
  }
}
@keyframes logo-rainbow-bottom {
  0% {
    fill: #004dff;
  }
  16% {
    fill: #750787;
  }
  33% {
    fill: #e40303;
  }
  50% {
    fill: #ff8c00;
  }
  66% {
    fill: #ffed00;
  }
  83% {
    fill: #008026;
  }
  100% {
    fill: #004dff;
  }
}

/* Invertiert - Für dunkle Hintergründe */
.logo-invert .logo-kak #logo-text-top,
.logo-invert .logo-kak #logo-text-bottom {
  fill: #fdf8f5;
}
.logo-invert .logo-kak #logo-arcs {
  fill: var(--color-accent);
}

/* --- Header / Navigation --- */

.site-header {
  background-color: var(--color-bg);
  border-bottom: 2px solid rgba(61, 52, 48, 0.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: auto;
}

.site-logo {
  position: relative;
  z-index: 101;
}
.site-logo .logo-kak {
  width: 120px;
  height: auto;
  display: block;
  padding: 0.2rem 0;
  position: relative;
  margin-bottom: -10px;
}
/* Header-Bulge: skaliert mit dem Logo (%-Werte relativ zu .site-logo) */
.site-logo::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 21%;
  bottom: -14px;
  height: 14px;
  background: var(--color-bg);
  border-radius: 0 0 70px 70px;
  border-bottom: 2px solid rgba(61, 52, 48, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
  z-index: -10;
}
.footer-logo-svg .logo-kak {
  width: 100px;
  height: auto;
}
.footer-email {
  font-size: 0.85rem;
  word-break: break-all;
}

.main-nav {
  display: flex;
  align-items: stretch;
}
.main-nav a {
  display: flex;
  align-items: center;
  padding: 1em 0.75em;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
  font-size: 1rem;
  letter-spacing: 0.5px;
  position: relative;
}
.main-nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
  position: absolute;
  bottom: 0.6em;
  left: 0.75em;
}
.main-nav a:hover::after {
  width: calc(100% - 1.5em);
}

/* Mobile nav toggle - Animated burger → X */
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-soft);
  transition:
    border-color 0.3s,
    background 0.3s;
  z-index: 102;
}
/* Hover-Border nur bei echtem Maus-Hover, nicht auf Touch */
@media (hover: hover) {
  .nav-toggle:hover {
    border-color: rgba(61, 52, 48, 0.15);
  }
}
.nav-toggle[aria-expanded="true"] {
  background: var(--color-soft);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  margin: 5px 0;
  border-radius: 3px;
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease,
    background 0.3s;
  transform-origin: center;
}
/* Animated X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background: var(--color-text);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background: var(--color-text);
}

/* --- Hero Section --- */

.hero-wrapper {
  position: relative;
  padding: 6rem 0;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.hero-text-col {
  flex: 1;
  max-width: 550px;
  z-index: 2;
  position: relative;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-text);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 3px 3px 0 rgba(61, 52, 48, 0.1);
}
.meta-pill .dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-secondary);
  border-radius: 50%;
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: 3.8rem;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}
.hero-h1 i {
  font-weight: 300;
  color: var(--color-primary);
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text);
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-visual-col {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.blob-frame {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 3px solid var(--color-text);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: organic-move 8s ease-in-out infinite;
  box-shadow: 15px 15px 0 var(--color-soft);
  position: relative;
  z-index: 1;
  background: #ddd;
}
.blob-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spinner-badge {
  position: absolute;
  top: -30px;
  right: -10px;
  width: 110px;
  height: 110px;
  z-index: 10;
  background: var(--color-accent);
  border: 2px solid var(--color-text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin-cw 20s linear infinite;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}
.spinner-star {
  position: absolute;
  font-size: 24px;
  color: var(--color-text);
}

.deco-arch {
  position: absolute;
  top: -20px;
  left: -40px;
  width: 80px;
  height: 80px;
  background: transparent;
  border: 4px solid var(--color-secondary);
  border-bottom: 0;
  border-radius: 50px 50px 0 0;
  z-index: 0;
  opacity: 0.6;
  transform: rotate(-15deg);
}

.deco-squiggle {
  position: absolute;
  bottom: -25px;
  right: -20px;
  width: 140px;
  height: 40px;
  z-index: 0;
  transform: rotate(-5deg);
}
.deco-squiggle path {
  stroke: var(--color-primary);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
}

/* --- Section Headlines --- */

.section-headline {
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 2rem;
}
.section-headline h2 {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--color-text);
  position: relative;
  display: inline-block;
}
.section-headline h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: var(--color-accent);
  margin-top: 5px;
  border-radius: 4px;
  transform: rotate(-1deg);
}

.headline-light {
  color: #fdf8f5 !important;
}
.headline-light::after {
  background: var(--color-accent) !important;
}
.text-light {
  color: rgba(253, 248, 245, 0.8);
  text-align: center;
  max-width: 600px;
  margin: 1rem auto 3rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- Bento Grid ("Alles unter einem Dach") --- */

.section-cosmos {
  padding: 2rem 0;
  max-width: 1100px;
  margin: 0 auto;
}
.cosmos-intro {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 1.5rem;
  padding: 0 1rem;
}

.bento-box {
  background: #fff;
  border: 3px solid var(--color-text);
  border-radius: var(--radius-soft);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.bento-box:hover {
  transform: translateY(-5px);
}

.span-2 {
  grid-column: span 2;
}
.span-row-2 {
  grid-row: span 2;
}

.bento-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
  opacity: 0.7;
}
.bento-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 1rem;
  font-weight: 500;
}

/* Boogie Night */
.box-boogie {
  background-color: var(--color-text);
  color: #fff;
  background-image: radial-gradient(
    circle at 50% 50%,
    #5e4e48 2px,
    transparent 2.5px
  );
  background-size: 20px 20px;
}
.boogie-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-style: italic;
}
.disco-ball {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: conic-gradient(from 0deg, #fff, #ccc, #fff, #ccc, #fff);
  border-radius: 50%;
  opacity: 0.2;
  animation: spin-cw 10s linear infinite;
}

/* Generationen */
.box-generations {
  background-color: var(--color-soft);
  border-color: var(--color-text);
}
.box-generations h3 {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--color-primary);
}

/* Buehne frei */
.box-art {
  background-color: var(--color-primary);
  color: #fff;
}
.art-bg {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  bottom: -50px;
  right: -50px;
}

/* Raumvermietung */
.box-rent {
  background-color: #fff;
  border: 3px dashed var(--color-secondary);
  text-align: center;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.box-rent:hover {
  background-color: #f0fdf4;
  border-style: solid;
}
.rent-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-secondary);
}

/* --- Events Section --- */

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.event-card {
  background: #fff;
  border: 3px solid var(--color-text);
  border-radius: var(--radius-soft);
  padding: 0;
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 0 var(--color-text);
}

.card-hole {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: var(--color-bg);
  border: 2px solid var(--color-text);
  border-radius: 50%;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.card-date {
  background: var(--color-soft);
  padding: 1rem 1.5rem;
  border-bottom: 3px solid var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-family: var(--font-body);
  color: var(--color-text);
}
.date-big {
  font-size: 1.2rem;
}
.time-small {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.event-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  border: 2px solid var(--color-text);
  margin-bottom: 1rem;
  align-self: flex-start;
}
.tag-party {
  background-color: var(--color-purple);
  color: #fff;
}
.tag-reading {
  background-color: var(--color-secondary);
  color: #fff;
}
.tag-seniors {
  background-color: var(--color-accent);
  color: var(--color-text);
}
.tag-soon {
  background-color: var(--color-soft);
  color: var(--color-text);
}

.card-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}
.card-desc {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.card-footer {
  margin-top: auto;
}

.btn-card {
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-card:hover {
  text-decoration: underline;
}

/* Coming Soon Teaser */
.coming-soon-wrap {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 1rem;
}
.coming-soon-wrap p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}
.coming-soon-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  display: block;
}

/* --- Membership / Support Section --- */

.section-dark {
  background-color: var(--color-secondary);
  padding: 5rem 0;
  position: relative;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.1) 1px,
    transparent 1px
  );
  background-size: 20px 20px;
}

.member-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.plan-card {
  background: #fdf8f5;
  border: 3px solid var(--color-text);
  border-radius: var(--radius-soft);
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.plan-card:hover {
  transform: translateY(-5px);
}

.plan-highlight {
  transform: scale(1.05);
  border-color: var(--color-accent);
  box-shadow: 0 0 0 6px rgba(223, 164, 86, 0.3);
  z-index: 2;
}
.plan-highlight:hover {
  transform: scale(1.05) translateY(-5px);
}

.plan-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px dashed rgba(61, 52, 48, 0.2);
}
.plan-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}
.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--font-body);
}
.plan-price span {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
}
.plan-desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 2rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}
.plan-features li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
  color: var(--color-text);
}
.icon-check {
  color: var(--color-secondary);
  font-weight: bold;
}

.badge-sticker {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 6px 12px;
  border: 2px solid var(--color-text);
  border-radius: 50px;
  white-space: nowrap;
}

/* --- Wunschbrunnen / Wish Section --- */

.section-wish {
  padding: 5rem 0;
  position: relative;
  background-color: var(--color-bg);
}
.wish-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}
.wish-intro {
  flex: 1;
  min-width: 300px;
}
.wish-headline {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}
.wish-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
}

.wish-card {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 3rem;
  border: 3px solid var(--color-text);
  border-radius: 2px;
  box-shadow: 10px 10px 0 rgba(61, 52, 48, 0.1);
  position: relative;
  transform: rotate(1deg);
}
.stamp {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 70px;
  border: 2px dashed var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transform: rotate(-5deg);
}
.stamp span {
  font-size: 0.6rem;
  text-align: center;
  color: var(--color-secondary);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
}

.wish-card label {
  font-weight: 700;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}
.wish-card input[type="text"],
.wish-card input[type="email"],
.wish-card textarea {
  width: 100%;
  background: var(--color-bg);
  border: 2px solid var(--color-text);
  padding: 12px;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  border-radius: 8px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.wish-card input:focus,
.wish-card textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 4px 4px 0 rgba(230, 110, 80, 0.2);
}

/* Honeypot - invisible to humans */
.wish-card .honey-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Form messages */
.form-success {
  background: var(--color-secondary);
  color: #fff;
  padding: 1rem;
  border-radius: var(--radius-soft);
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}
.form-error {
  background: var(--color-primary);
  color: #fff;
  padding: 1rem;
  border-radius: var(--radius-soft);
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* --- Construction Progress Bar --- */

.construction-bar-wrapper {
  margin-top: 4rem;
  background: #fff;
  border: 3px solid var(--color-text);
  border-radius: var(--radius-pill);
  padding: 8px;
  position: relative;
}
.construction-label {
  position: absolute;
  top: -35px;
  left: 0;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.progress-track {
  width: 100%;
  height: 24px;
  background: #eee;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.progress-fill {
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--color-primary),
    var(--color-primary) 10px,
    #d6604a 10px,
    #d6604a 20px
  );
  border-radius: 20px;
  position: relative;
  transition: width 1s ease-out;
}
.progress-icon {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid var(--color-text);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
}

/* --- Footer --- */

.site-footer {
  background-color: var(--color-text);
  color: #fdf8f5;
  padding: 4rem 1rem 2rem 1rem;
  border-top: 6px solid var(--color-primary);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-col h4 {
  font-family: var(--font-head);
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}
.footer-col p,
.footer-col a,
.footer-col li {
  color: rgba(253, 248, 245, 0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--color-primary);
}
.footer-logo-svg {
  margin-bottom: 1rem;
  color: rgba(253, 248, 245, 0.7);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* --- Team Section --- */

.team-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.team-photo-wrap {
  flex: 1.3;
  min-width: 320px;
  position: relative;
}
.team-photo-wrap img {
  width: 100%;
  border: 3px solid var(--color-text);
  border-radius: var(--radius-soft);
  box-shadow: 10px 10px 0 var(--color-soft);
}
.team-photo-caption {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
  color: #888;
  text-align: center;
}

.team-info {
  flex: 0.7;
  min-width: 280px;
}
.team-intro {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
}

.team-members {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.team-member {
  display: flex;
  align-items: center;
  gap: 12px;
}
.team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.team-member strong {
  display: block;
  font-size: 1rem;
  color: var(--color-text);
}
.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .team-showcase {
    flex-direction: column;
  }
  .team-info {
    text-align: center;
  }
  .team-members {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: left;
  }
}
@media (max-width: 500px) {
  .team-members {
    grid-template-columns: 1fr;
  }
}

/* --- Roots / Zitate-Sektion (Startseite) --- */

/* Kein äußeres Section-Padding - Roots + Mitmachen sollen direkt aneinander liegen */
#wurzeln {
  padding: 0;
}
#verein {
  padding: 0;
}
.section-roots {
  background: var(--color-text);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.section-roots::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border: 3px solid rgba(253, 248, 245, 0.06);
  border-radius: 50%;
}
.roots-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1.5rem;
}
.roots-quote {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 400;
  color: #fdf8f5;
  line-height: 1.4;
  margin-bottom: 2rem;
  position: relative;
}
.roots-quote::before {
  content: "\201E";
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 0;
  position: relative;
  top: 0.3em;
  margin-right: 0.1em;
}
.roots-quote::after {
  content: "\201C";
  font-size: 4rem;
  color: var(--color-accent);
  line-height: 0;
  position: relative;
  top: 0.3em;
  margin-left: 0.1em;
}
.roots-author {
  font-size: 0.9rem;
  color: rgba(253, 248, 245, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
}
.roots-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(253, 248, 245, 0.75);
  margin-bottom: 2rem;
}
.roots-link {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(223, 164, 86, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}
.roots-link:hover {
  border-color: var(--color-accent);
}

/* --- Geschichte / Timeline Page --- */

.timeline {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem 2rem 3rem;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--color-soft),
    var(--color-primary),
    var(--color-secondary),
    var(--color-accent)
  );
  border-radius: 3px;
}

.timeline-station {
  position: relative;
  margin-bottom: 3.5rem;
  padding-left: 2rem;
}
.timeline-station:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -2.55rem;
  top: 0.3rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--color-text);
  z-index: 1;
}
.timeline-year {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.timeline-station h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.timeline-station h3 i {
  font-weight: 300;
  color: var(--color-primary);
}
.timeline-station p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.8rem;
}
.timeline-station blockquote {
  border-left: 3px solid var(--color-accent);
  padding: 0.8rem 0 0.8rem 1.2rem;
  margin: 1rem 0;
  font-style: italic;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.6;
}

.geschichte-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 0 1rem;
}
.geschichte-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.geschichte-intro h1 i {
  font-weight: 300;
  color: var(--color-primary);
}
.geschichte-intro p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #555;
}

.geschichte-closing {
  max-width: 600px;
  margin: 3rem auto 0;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 3px solid var(--color-soft);
}
.geschichte-closing p {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .roots-quote {
    font-size: 1.4rem;
  }
}

/* --- Impressum Page --- */

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1rem;
}
.page-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
.page-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
  color: var(--color-primary);
}
.page-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.5rem 0;
}
.page-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.page-content a {
  color: var(--color-primary);
  text-decoration: underline;
}
.page-content a:hover {
  color: var(--color-text);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  section {
    padding: 2.5rem 0;
  }
  .section-dark,
  .section-wish {
    padding: 3rem 0;
  }
  .section-cosmos {
    padding: 1rem 0;
  }
  .section-headline {
    margin-bottom: 2rem;
  }
  .hero-wrapper {
    flex-direction: column-reverse;
    padding: 3rem 1rem;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-h1 {
    font-size: 2.5rem;
  }
  .spinner-badge {
    right: 0;
    width: 90px;
    height: 90px;
  }
  .blob-frame {
    max-width: 90%;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }
  .span-row-2 {
    grid-row: span 1;
  }
  .box-boogie {
    min-height: 300px;
  }

  .member-grid {
    flex-direction: column;
    align-items: center;
  }
  .plan-card {
    width: 100%;
    max-width: 100%;
  }
  .plan-highlight {
    transform: scale(1);
  }
  .plan-highlight:hover {
    transform: translateY(-5px);
  }

  .wish-container {
    flex-direction: column;
    text-align: center;
  }
  .wish-card {
    transform: rotate(1deg);
    width: 100%;
    box-sizing: border-box;
  }

  .section-headline h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 600px) {
  .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-bg);
    border-bottom: 3px solid var(--color-text);
    box-shadow: 0 12px 24px rgba(61, 52, 48, 0.12);
    border-radius: 0 0 var(--radius-soft) var(--radius-soft);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
      max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s ease;
    pointer-events: none;
  }
  .main-nav.is-open {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    padding: 1.2em 2em;
    border-bottom: 1px solid rgba(61, 52, 48, 0.08);
    font-size: 1.1rem;
    position: relative;
    transition:
      background 0.2s,
      padding-left 0.3s;
  }
  .main-nav a:last-child {
    border-bottom: none;
  }
  .main-nav a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--color-primary);
    transition: width 0.3s ease;
  }
  .main-nav a:hover {
    background: var(--color-soft);
    padding-left: 2.5em;
  }
  .main-nav a:hover::before {
    width: 4px;
  }
  .main-nav a::after {
    display: none;
  }
  /* Staggered entrance - deutlich sichtbar */
  .main-nav.is-open a {
    animation: nav-slide-in 0.45s ease-out both;
  }
  .main-nav.is-open a:nth-child(1) {
    animation-delay: 0.1s;
  }
  .main-nav.is-open a:nth-child(2) {
    animation-delay: 0.2s;
  }
  .main-nav.is-open a:nth-child(3) {
    animation-delay: 0.3s;
  }
  .main-nav.is-open a:nth-child(4) {
    animation-delay: 0.4s;
  }
  .main-nav.is-open a:nth-child(5) {
    animation-delay: 0.5s;
  }
  @keyframes nav-slide-in {
    from {
      opacity: 0;
      transform: translateY(-8px) translateX(-20px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  .nav-toggle {
    display: block;
  }

  .site-header .container {
    position: relative;
  }

  .hero-h1 {
    font-size: 2rem;
  }
  .hero-desc {
    font-size: 1rem;
  }

  .event-grid {
    grid-template-columns: 1fr;
  }
  .timeline-station {
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo-svg {
    display: flex;
    justify-content: center;
  }
}
