:root {
  --ink: #f7f6f1;
  --muted: rgba(247, 246, 241, 0.76);
  --dark: #17211f;
  --sand: #d8cbb5;
  --line: rgba(255, 255, 255, 0.24);
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--dark);
  font-family: var(--sans);
}
a {
  color: inherit;
}
.topbar {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px clamp(22px, 5vw, 76px);
  gap: 20px;
}
.brand {
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}
.nav a:hover,
.brand:hover {
  color: var(--sand);
}
.scene {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 120px 24px 80px;
  isolation: isolate;
  overflow: hidden;
  background: #39433f;
}
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--photo);
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}
.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(10, 17, 16, 0.44),
    rgba(10, 17, 16, 0.18) 35%,
    rgba(10, 17, 16, 0.64)
  );
}
.scene-content {
  width: min(920px, 100%);
  min-width: 0;
  text-align: center;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0 0 24px;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
}
h1 {
  font-size: clamp(3.2rem, 8.5vw, 7.8rem);
  margin: 0;
}
.scene h2 {
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  margin: 0 0 24px;
}
.thought {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto 18px;
}
.support {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.98rem;
}
.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "↓";
  display: block;
  font-size: 1.25rem;
  margin-top: 8px;
  text-align: center;
}
.scene-one {
  --photo: url("bilder/hero_stranbergersee.jpg");
}
.scene-two {
  --photo: url("bilder/hero_sonnenuntergang.jpg");
}
.scene-three {
  --photo: url("bilder/hero_herbst.JPG");
}
.activities {
  padding: 110px clamp(22px, 7vw, 110px) 100px;
  background: #f1eee7;
  color: #252d29;
}
.activities .eyebrow {
  color: #77705f;
  text-align: center;
}
.activities h2 {
  text-align: center;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  margin: 0 0 18px;
}
.intro {
  max-width: 620px;
  margin: 0 auto 58px;
  text-align: center;
  color: #62675f;
  line-height: 1.8;
}
.activity-grid {
  max-width: 1120px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d8d4ca;
  border: 1px solid #d8d4ca;
}
.activity {
  background: #f1eee7;
  min-height: 180px;
  padding: 28px 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.2s ease;
}
.activity:hover {
  background: #e7e2d7;
}

/* Hintergrundbild für die Aktivität "Malerei-1" */
.activity-malerei {
  background-image:
    linear-gradient(rgba(202, 116, 12, 0.625), rgba(241, 238, 231, 0.9));
  
}
.activity-malerei:hover {
  background-image:
    linear-gradient(rgba(231, 226, 215, 0.88), rgba(231, 226, 215, 0.88));
}
/* Hintergrundbild für die Aktivität "Musik-1" */
.activity-musik {
  background-image:
    linear-gradient(rgba(118, 6, 6, 0.625), rgba(241, 238, 231, 0.9));
  
}
.activity-musik:hover {
  background-image:
    linear-gradient(rgba(231, 226, 215, 0.88), rgba(231, 226, 215, 0.88));
}
/* Hintergrundbild für die Aktivität "Acryl" */
.activity-acryl {
  background-image:
    linear-gradient(rgba(241, 238, 231, 0.5), rgba(241, 238, 231, 0.5)),
    url("bilder/AC-Kai.jpg");
  background-position: center;
  background-size: cover;
}
.activity-acryl:hover {
  background-image:
    linear-gradient(rgba(231, 226, 215, 0.88), rgba(231, 226, 215, 0.88)),
    url("bilder/AC-Kai.jpg");
  background-position: center;
  background-size: cover;
}

/* Hintergrundbild für die Aktivität "Aquarell" */
.activity-aquarell {
  background-image:
    linear-gradient(rgba(241, 238, 231, 0.9), rgba(241, 238, 231, 0.5)),
    url("bilder/AQ_blumen.jpg");
  background-position: center;
  background-size: cover;
}
.activity-aquarell:hover {
  background-image:
    linear-gradient(rgba(231, 226, 215, 0.88), rgba(231, 226, 215, 0.88)),
    url("bilder/AQ_blumen.jpg");
  background-position: center;
  background-size: cover;
}

/* Hintergrundbild für die Aktivität "Digital" */
.activity-digital {
  background-image:
    linear-gradient(rgba(241, 238, 231, 0.3), rgba(241, 238, 231, 0.3)),
    url("bilder/bg_digital500.jpg");
  background-position: center;
  background-size: cover;
  color: var(--ink); 
}
.activity-digital:hover {
  background-image:
    linear-gradient(rgba(231, 226, 215, 0.1), rgba(231, 226, 215, 0.1)),
    url("bilder/bg_digital500.jpg");
  background-position: center;
  background-size: cover;
}
/* Hintergrundbild für die Aktivität "Astro" */
.activity-astro {
  background-image:
    linear-gradient(rgba(241, 238, 231, 0.3), rgba(241, 238, 231, 0.3)),
    url("bilder/AS-mond.png");
  background-position: center;
  background-size: cover;
  color: white; 
}
.activity-astro:hover {
  background-image:
    linear-gradient(rgba(231, 226, 215, 0.1), rgba(231, 226, 215, 0.1)),
    url("bilder/AS-mond.png");
  background-position: center;
  background-size: cover;
}

/* Hintergrundbild für die Aktivität "Airbrush" */
.activity-airbrush {
  background-image:
    linear-gradient(rgba(241, 238, 231, 0.3), rgba(241, 238, 231, 0.3)),
    url("bilder/bg_airbrush400.jpg");
  background-position: center;
  background-size: cover;
  color: white; 
}
.activity-airbrush:hover {
  background-image:
    linear-gradient(rgba(231, 226, 215, 0.1), rgba(231, 226, 215, 0.1)),
    url("bilder/bg_airbrush400.jpg");
  background-position: center;
  background-size: cover;
}
/* Hintergrundbild für die Aktivität "Zentangle" */
.activity-zentangle {
  background-image:
    linear-gradient(rgba(241, 238, 231, 0.7), rgba(241, 238, 231, 0.9)),
    url("bilder/ZE-5.jpg");
  background-position: center;
  background-size: cover;

}
.activity-zentangle:hover {
  background-image:
    linear-gradient(rgba(231, 226, 215, 0.8), rgba(231, 226, 215, 0.8)),
    url("bilder/ZE-5.jpg");
  background-position: center;
  background-size: cover;
}





.activity .number {
  /* color: #8a806d; */
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}
.activity h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.65rem;
  margin: 24px 0 8px;
}
.activity p {
  /* color: #666b63; */
  font-size: 0.83rem;
  line-height: 1.55;
  margin: 0;
}
.activity .arrow {
  align-self: flex-end;
  /* color: #7c806f; */
  font-size: 1.2rem;
}
.gallery {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: rgba(8, 12, 15, 0.97);
  overflow: hidden;
}
.gallery[open] {
  display: flex;
  flex-direction: column;
}
.gallery::backdrop {
  background: #080c0f;
}
.gallery-slides {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 3.5rem 1rem 0;
}
.gallery-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-slide.is-active {
  opacity: 1;
}
.gallery-slide img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 5rem);
  max-height: calc(100vh - 10rem);
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
}
.gallery-control,
.gallery-close {
  position: absolute;
  z-index: 1;
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 300;
  opacity: 0.8;
}
.gallery-control {
  top: 50%;
  padding: 1rem;
  font-size: 2.8rem;
  transform: translateY(-50%);
}
.gallery-control:hover,
.gallery-close:hover {
  color: var(--sand);
  opacity: 1;
}
.gallery-prev {
  left: 0.2rem;
}
.gallery-next {
  right: 0.2rem;
}
.gallery-close {
  top: 0.25rem;
  right: 0.7rem;
  padding: 0.5rem;
  font-size: 2rem;
}
.gallery-caption {
  flex: none;
  padding: 0 1rem 1.2rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.2rem;
}
.gallery-caption p {
  margin: 0;
}
.gallery-counter {
  opacity: 0.65;
  font: 0.8rem var(--sans);
}
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 0 0;
}
.gallery-dots button {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.gallery-dots button[aria-current="true"] {
  border-color: var(--sand);
  background: var(--sand);
}
footer {
  background: #17211f;
  color: rgba(255, 255, 255, 0.72);
  padding: 42px 24px;
  text-align: center;
}
footer .closing {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #f4eee3;
  margin: 0 0 18px;
}
footer p {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  margin: 0;
}
@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    padding-top: 20px;
  }
  .nav {
    justify-content: flex-end;
    max-width: 58%;
    gap: 10px 16px;
  }
  .nav a {
    font-size: 0.65rem;
  }
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .activity {
    min-height: 160px;
    padding: 22px 18px;
  }
  .scene {
    min-height: 92svh;
  }
}
@media (max-width: 600px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  h1 {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
  }
  .brand {
    max-width: 100px;
    line-height: 1.5;
  }
  .nav {
    max-width: 62%;
  }
  .activity h3 {
    font-size: 1.4rem;
  }
  .gallery-slides {
    margin-right: 0.25rem;
    margin-left: 0.25rem;
  }
  .gallery-control {
    padding: 0.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
/* Einmaliges Einblenden des Titels */
@media (prefers-reduced-motion: no-preference) {
  .scene.scene-one h1,
  .scene.scene-one p,
  .scene.scene-one a {
    animation: rise 2.2s ease-out both;
  }
  .scene.scene-one p {
    animation-delay: 0.6s;
  }
  @keyframes rise {
    from {
      opacity: 0;
      filter: blur(8px);
    }
    to {
      opacity: 1;
      filter: none;
    }
  }
}
