/* ==================================================
   MUSICA VOCALE – STYLESHEET
   Sortierte Fassung
   ================================================== */

/* ==================================================
   GRUNDLAGEN, TYPOGRAFIE UND LAYOUT
   ================================================== */

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-MediumItalic.ttf") format("truetype");
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: "AN";
  src: url("../fonts/Bold.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Pacifico";
  src: url("../fonts/Pacifico.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --green: #27c44c;
  --green-dark: #24833a;
  --green-light: #eaf6ed;
  --text: #202522;
  --muted: #68706b;
  --line: #e7ebe8;
  --white: #ffffff;
  --soft: #f8faf8;
  --max-width: 1400px;
  --hero-image-max-width: 1400px;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

body {
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.only-desktop {
  display: block;
}

.only-mobile {
  display: none;
}

h1, h2, h3, h4 ,h5 {
  font-family: "AN", Arial, sans-serif;
}

.logo, .footer-logo {
  font-family: "Pacifico", "Brush Script MT", cursive;
}

h1 {
  font-size: clamp(2.5rem, 3.5vw, 3.5rem);
  line-height: clamp(2.5rem, 3.5vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
}

section {
  padding: 150px 0;
}

.section-soft {
  background: var(--soft);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 55px;
}

h2.only-mobile {
  line-height: 2.5rem;
  text-shadow: 0 0 9px rgba(0,0,0,0.4);
}

.section-heading p {
  color: var(--muted);
  font-size: 1rem;
}

h3 {
  color: var(--text);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 12px;
}

h3:first-child {
  margin-top: 0;
}

.leader-placeholder-label {
  border: 1px dashed #aeb8b1;
  padding: 12px;
  border-radius: 10px;
  font-size: 1rem;
}

.flex-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
}

/* ==================================================
   HEADER UND NAVIGATION
   ================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/background.jpg");
  background-size: cover;
  background-position: left;
  opacity: 0.95;
  z-index: -1;
}

.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 2rem;
  line-height: 1;
  color: var(--green);
  margin-top: -5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 15px 5px 15px;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-button {
  padding: 10px 17px;
  background-color: var(--green);
  border-radius: 999px;
  color: #fff !important;
}

.schaunach {
  color: var(--green) !important;
  text-decoration: underline;
}

.schaunach::after {
  content: "→";
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green);
  margin-top: 2px;
  margin-left: 2px;
}

.nav-button:hover {
  background: var(--white);
  color: var(--green) !important;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 9px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links a.right {
  border-right: 1px solid #aaa;
}

/* ==================================================
   NAVIGATION – KLASSISCHE, KLARE ICONS
   ================================================== */

/* Gemeinsame Größe und Darstellung */
.nav-links a::before {
    content: "";
    display: inline-block;

    width: 19px;
    height: 19px;
    flex: 0 0 19px;

    background-color: currentColor;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 1;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* ==================================================
   ÜBER UNS – PERSONEN
   ================================================== */

.nav-links a[href="#ueber-uns"]::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20v-1a6 6 0 0 1 12 0v1'/%3E%3Cpath d='M16 5.5a3 3 0 0 1 0 5.5'/%3E%3Cpath d='M18 14a5 5 0 0 1 3 5v1'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20v-1a6 6 0 0 1 12 0v1'/%3E%3Cpath d='M16 5.5a3 3 0 0 1 0 5.5'/%3E%3Cpath d='M18 14a5 5 0 0 1 3 5v1'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ==================================================
   TERMINE – EINFACHER KALENDER
   ================================================== */

.nav-links a[href="#termine"]::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3Cpath d='M8 14h.01M12 14h.01M16 14h.01M8 17h.01M12 17h.01M16 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3Cpath d='M8 14h.01M12 14h.01M16 14h.01M8 17h.01M12 17h.01M16 17h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ==================================================
   HIGHLIGHTS – KLASSISCHER STERN
   ================================================== */

.nav-links a[href="#highlights"]::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8l-6.2 3.2L7 14.2 2 9.3l6.9-1L12 2Z'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='m12 2 3.1 6.3 6.9 1-5 4.9 1.2 6.8L12 17.8l-6.2 3.2L7 14.2 2 9.3l6.9-1L12 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ==================================================
   UNSERE MUSIK – KLASSISCHE DOPPELTE NOTE
   ================================================== */

.nav-links a[href="#musik"]::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17V5l12-2v12'/%3E%3Ccircle cx='6' cy='18' r='3' fill='black' stroke='none'/%3E%3Ccircle cx='18' cy='16' r='3' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 17V5l12-2v12'/%3E%3Ccircle cx='6' cy='18' r='3' fill='black' stroke='none'/%3E%3Ccircle cx='18' cy='16' r='3' fill='black' stroke='none'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* ==================================================
   KONTAKT – KLASSISCHER BRIEFUMSCHLAG
   ================================================== */

.nav-links a[href="#kontakt"]::before {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E") center / contain no-repeat;

    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E") center / contain no-repeat;
}


/* Dezenter Hover-Effekt */
.nav-links a:hover::before {
    transform: scale(1.06);
    opacity: 1;
}


/* Auf Mobilgeräten ebenfalls gut erkennbar */
@media (max-width: 1050px) {
    .nav-links a::before {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }
    .section-heading.reveal-blur {
      padding-top:60px;
    }
}
.nav-links a:hover::before {
  opacity: 1;
  transform: scale(1.08);
}

.nav-links a.nav-button {
  gap: 8px;
  transition: color 0.2s ease, background-color 0.4s ease, transform 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: -3px;
  height: 2px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav-links a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-links a.nav-button.active-button::after {
  display: none;
}

.nav-links a.nav-button.active-button {
  background-color: var(--green-dark) !important;
  color: #fff !important;
}

/* ==================================================
   HERO / STARTBEREICH
   ================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: #e9eeeb;
  opacity: 0;
  filter: blur(14px);
  transform: scale(1.015);
  animation: hero-reveal 0.5s ease forwards;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/hero.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#start.hero {
  box-sizing: border-box;
  height: 100vh;
  height: 100svh;
  max-height: 1080px;
  min-height: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  gap: clamp(12px, 2vh, 22px);
  padding: 130px 20px 24px;
}

#start .hero-intro {
  position: relative;
  z-index: 2;
  order: 1;
  flex: 0 0 100%;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  text-align: center;
}

#start .hero-eyebrow {
  color: var(--green);
  font-size: clamp(0.75rem, 1.1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero-eyebrow::before {
    content: "";
    position: absolute;

    width: 100px;
    height: 70px;

    left: 50%;
    top:5px;
    transform: translate(-50%, -100%);

    background-image: url("../img/buch.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    z-index: 1;
    pointer-events: none;
}

#start .hero-intro h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 3.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

#start .hero-image-placeholder {
  position: relative;
  z-index: 1;
  order: 2;
  flex: 0 1 auto;
  width: min(100%, var(--hero-image-max-width), calc((100vh - 280px) * 1.65));
  width: min(100%, var(--hero-image-max-width), calc((100svh - 280px) * 1.65));
  max-width: 100%;
  margin: 0 auto;
  border-radius: 20px;
  overflow: visible;
}

#start .hero-image-placeholder picture {
  display: block;
  width: 100%;
  margin: auto;
  padding: 10px;
}

#start .hero-image-placeholder img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 10px solid #ffffff;
  object-fit: contain;
  object-position: center;
  border-radius: 25px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.logo-space {
  display: inline-block;
  width: 0.06em;
}

/* ==================================================
   BUTTONS UND CALL-TO-ACTION
   ================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-primary:hover {
  color: var(--white);
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 9px 25px rgba(48, 167, 76, 0.18);
}

.button-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
}

.button-light:hover {
  color: var(--text);
  background: var(--white);
  border-color: var(--white);
}

/* ==================================================
   HERO CTA – ELECTRIC NEON
   ================================================== */

#start .hero-image-placeholder > .cta-electric {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 30px;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 52px;
  margin: 0;
  padding: 10px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  color: #ffffff;
  background:
    linear-gradient(110deg, #101713, #19251e) padding-box,
    linear-gradient(110deg, #a6ffbd, #27c44c, #00e5ff, #27c44c, #a6ffbd) border-box;
  background-size: auto, 250% 250%;
  background-position: 0 0, 0% 50%;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  overflow: visible;
  cursor: pointer;
  transform: translateX(-50%);
  box-shadow:
    0 0 8px rgba(39, 196, 76, 0.4),
    0 0 18px rgba(0, 255, 213, 0.18),
    0 8px 24px rgba(0, 0, 0, 0.25);
  animation: cta-border-flow 4s linear infinite;
  transition:
    transform 0.35s ease,
    box-shadow 0.65s ease,
    filter 0.65s ease;
}

/* The CTA uses child spans for the effects, not pseudo-element content. */
#start .hero-image-placeholder > .cta-electric::before,
#start .hero-image-placeholder > .cta-electric::after {
  content: none;
}

.cta-electric .cta-glow {
  position: absolute;
  inset: -12px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(120deg, #27c44c, #00ffd5, #77ff9a, #27c44c);
  background-size: 250% 250%;
  opacity: 0.4;
  filter: blur(12px);
  pointer-events: none;
  animation: cta-halo-flow 4s linear infinite;
  transition: opacity 0.65s ease, filter 0.65s ease;
}

.cta-electric .cta-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--light-x, 50%) var(--light-y, 50%),
    rgba(255, 255, 255, 0.24),
    rgba(0, 255, 190, 0.08) 25%,
    transparent 55%
  );
  pointer-events: none;
}

.cta-electric .cta-label,
.cta-electric .cta-arrow {
  position: relative;
  z-index: 2;
}

.cta-electric .cta-arrow {
  color: #7dff97;
  font-size: 1.6em;
  line-height: 1;
  margin-top:-5px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.cta-electric .cta-spark-layer {
  position: absolute;
  inset: -24px;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.cta-electric .cta-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffffff;
  opacity: 0;
  box-shadow: 0 0 4px #ffffff, 0 0 9px #00ffe1, 0 0 16px #27c44c;
  animation: cta-spark-burst 1.4s ease-out forwards;
}

.cta-electric .cta-spark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  border-radius: 50%;
  background: #dfffff;
  box-shadow: 0 0 8px #00ffe1;
  transform: translate(-50%, -50%);
}

.cta-electric .cta-spark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #27c44c;
  transform: translate(-50%, -50%);
}

#start .hero-image-placeholder > .cta-electric:hover {
  transform: translateX(-50%) translateY(-4px) scale(1.02);
  filter: brightness(1.1);
  box-shadow:
    0 0 14px rgba(39, 196, 76, 0.85),
    0 0 32px rgba(0, 255, 213, 0.65),
    0 0 60px rgba(39, 196, 76, 0.4),
    0 12px 28px rgba(0, 0, 0, 0.3);
}

#start .hero-image-placeholder > .cta-electric:hover .cta-glow {
  opacity: 1;
  filter: blur(21px);
}

#start .hero-image-placeholder > .cta-electric:hover .cta-arrow {
  color: #ffffff;
  transform: translateX(7px);
}

#start .hero-image-placeholder > .cta-electric:active {
  transform: translateX(-50%) translateY(-1px) scale(0.99);
}

#start .hero-image-placeholder > .cta-electric:focus-visible {
  outline: 3px solid #00e5ff;
  outline-offset: 6px;
}

@keyframes cta-border-flow {
  from { background-position: 0 0, 0% 50%; }
  to   { background-position: 0 0, 100% 50%; }
}

@keyframes cta-halo-flow {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

@keyframes cta-spark-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }
  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(0.15);
  }
}

/* ==================================================
   ÜBER UNS
   ================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: start;
}

.about-copy {
  font-size: 1rem;
  color: var(--muted);
}

.about-copy p + p {
  margin-top: 20px;
}

.about-subheading {
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1rem;
}

.repertoire-list {
  margin: 0 0 24px 1.1rem;
  color: var(--muted);
}

.repertoire-list li {
  padding-left: 5px;
  margin-bottom: 5px;
}

.quote {
  border-left: 3px solid var(--green);
  padding-left: 28px;
  margin-top: 30px;
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--text);
  font-family: AN, Arial, sans-serif;
}

#ueber-uns {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #ffffff;
}

#ueber-uns::before {
  content: "𝄞";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  font-family: "Segoe UI Symbol", "Noto Music", "Arial Unicode MS", serif;
  font-size: clamp(350px, 40vw, 680px);
  line-height: 1;
  color: #27c44c;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}

/* ==================================================
   MUSIK
   ================================================== */

.music-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.music-copy {
  font-size: 1rem;
  color: var(--muted);
}

.music-copy p {
  margin-bottom: 20px;
}

.music-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.music-item {
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  font-weight: 600;
}

.music-item::before {
  content: "♪";
  color: var(--green);
  margin-right: 12px;
}

.music-animation {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-radius: 24px;
  background: rgba(234, 246, 237, 0.65);
  overflow: hidden;
}

.animated-vinyl {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: repeating-radial-gradient( circle, #252a26 0px, #252a26 2px, #1b1f1c 3px, #1b1f1c 5px );
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
  animation: vinyl-spin 7s linear infinite;
}

.animated-vinyl::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.animated-vinyl::after {
  content: "";
  position: absolute;
  width: 55%;
  height: 18%;
  left: 8%;
  top: 13%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transform: rotate(-25deg);
  filter: blur(2px);
}

.vinyl-label {
  position: absolute;
  width: 72px;
  height: 72px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06);
}

.vinyl-label span {
  transform: rotate(0deg);
}

.animated-equalizer {
  height: 28px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.animated-equalizer span {
  width: 5px;
  border-radius: 999px;
  background: var(--green);
  animation: equalizer-bounce 0.8s ease-in-out infinite alternate;
}

.animated-equalizer span:nth-child(1) {
  height: 13px;
  animation-delay: -0.3s;
}

.animated-equalizer span:nth-child(2) {
  height: 27px;
  animation-delay: -0.1s;
}

.animated-equalizer span:nth-child(3) {
  height: 19px;
  animation-delay: -0.5s;
}

.animated-equalizer span:nth-child(4) {
  height: 33px;
  animation-delay: -0.2s;
}

.animated-equalizer span:nth-child(5) {
  height: 22px;
  animation-delay: -0.6s;
}

.animated-equalizer span:nth-child(6) {
  height: 30px;
  animation-delay: -0.15s;
}

.animated-equalizer span:nth-child(7) {
  height: 16px;
  animation-delay: -0.45s;
}

.animated-equalizer span:nth-child(8) {
  height: 28px;
  animation-delay: -0.25s;
}

.animated-equalizer span:nth-child(9) {
  height: 12px;
  animation-delay: -0.55s;
}

#musik {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

#musik::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/musik.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  z-index: 0;
}

#musik > .container {
  position: relative;
  z-index: 1;
}

/* ==================================================
   TERMINE UND KALENDER
   ================================================== */

.calendar-placeholder {
  min-height: 500px;
  border: 1px dashed #b7c0ba;
  border-radius: 20px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

.calendar-icon {
  font-size: 3.5rem;
  color: var(--green);
  margin-bottom: 15px;
}

.calendar-placeholder strong {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 8px;
}
.logos {
  display: flex;
  align-items: center;
  gap:20px;
}

.calendar-wrapper {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 3px 1px 10px rgba(0,0,0,0.1);
  background: var(--white);
}

.calendar-wrapper iframe {
  display: block;
  width: 100% !important;
  height: 600px;
  border: 0;
}

#termine {
  background-image: url(../img/termine.webp);
  background-size: cover;
}

/* ==================================================
   HIGHLIGHTS – KOMPAKTE CHRONIK
   ================================================== */

.highlights {
  background: var(--white);
}

#highlights {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

#highlights .timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 0;
}

#highlights .timeline::before,
#highlights .timeline-item::before {
  display: none;
  content: none;
}

#highlights .timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 16px rgba(30, 50, 35, 0.035);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

#highlights .timeline-year {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: auto;
  padding: 5px 10px;
  border-radius: 7px;
  color: var(--green-dark);
  background: var(--green-light);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

#highlights .timeline-content {
  min-width: 0;
  padding: 0;
}

#highlights .timeline-content h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
  transition: color 0.3s ease;
}

#highlights .timeline-content ul {
  margin: 10px 0 0 17px;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

#highlights .timeline-content li {
  padding-left: 2px;
  margin-bottom: 5px;
}

#highlights .timeline-item.featured {
  background: #f4fbf5;
  border-color: rgba(39, 196, 76, 0.3);
}

/* ==================================================
   KONTAKT / MITMACHEN
   ================================================== */

.section-heading h2,
#kontakt .contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

#kontakt {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f7faf7;
}

/* Dezenter Violinschlüssel im Hintergrund */
#kontakt::before {
  content: "𝄞";
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 3%;
  transform: translateY(-50%);
  font-family: "Segoe UI Symbol", "Noto Music", "Apple Symbols", serif;
  font-size: clamp(400px, 45vw, 720px);
  line-height: 1;
  color: var(--green);
  opacity: 0.065;
  pointer-events: none;
  user-select: none;
}

#kontakt > .container {
  position: relative;
  z-index: 1;
}

.contact-section {
  padding-block: clamp(75px, 8vw, 115px);
  background: #f7faf7;
  overflow: hidden;
}

#kontakt .contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: clamp(36px, 5vw, 75px);
}

#kontakt .contact-copy {
  min-width: 0;
}

#kontakt .contact-copy .accent-line {
  margin-bottom: 22px;
}

#kontakt .contact-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

#kontakt .contact-copy > p {
  max-width: 75ch;
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

#kontakt .contact-copy > p.intro {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

#kontakt .contact-copy > p strong {
  color: var(--text);
  font-weight: 700;
}

#kontakt .leader-photo {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  width: 100%;
  max-width: none;
  min-height: 100%;
  height: auto;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 24px;
  background: #e8eee9;
  box-shadow: 0 22px 55px rgba(30, 48, 35, 0.13), 0 3px 10px rgba(30, 48, 35, 0.05);
}

#kontakt .leader-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: inherit;
  transition: transform 0.6s ease;
}

#kontakt .leader-photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 45% 0 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(18, 29, 21, 0.25) 40%, rgba(18, 29, 21, 0.78) 100%);
  pointer-events: none;
}

#kontakt .leader-photo-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 23px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #ffffff;
}

#kontakt .leader-photo-caption span:first-child {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

#kontakt .leader-photo-caption strong {
  color: #ffffff;
  font-size: 1.55rem;
  line-height: 1.25;
}

#kontakt .leader-photo-caption span:last-child {
  font-size: 0.92rem;
  opacity: 0.9;
}

#kontakt .contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

#kontakt .contact-info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 218px;
  padding: 18px 15px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e2eae3;
  border-radius: 17px;
  box-shadow: 0 4px 15px rgba(35, 65, 42, 0.035);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
@media(min-width:851px){
  #kontakt .contact-info-card {
    max-width: 300px;
  }
}

#kontakt .contact-info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-bottom: 15px;
  color: var(--green-dark);
  background: var(--green-light);
  border-radius: 13px;
}

#kontakt .contact-info-icon svg {
  display: block;
  width: 21px;
  height: 21px;
}

#kontakt .contact-info-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

#kontakt .contact-info-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.65;
}

#kontakt .contact-info-card p strong {
  color: var(--text);
  font-weight: 700;
}

#kontakt .contact-info-card address {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.65;
}

#kontakt .contact-info-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

#kontakt .contact-info-link span {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

#kontakt .contact-info-link:hover {
  color: var(--green);
  gap: 10px;
}

#kontakt .contact-info-link:hover span {
  transform: translateX(2px);
}

#kontakt .contact-email-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 43px;
  margin-top: auto;
  padding: 10px 9px;
  color: #ffffff;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(39, 196, 76, 0.16);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

#kontakt .contact-email-button svg {
  display: block;
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

#kontakt .contact-button-arrow {
  flex: 0 0 auto;
  font-size: 1rem;
  transition: transform 0.25s ease;
}

#kontakt .contact-email-button:hover {
  color: #ffffff;
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 7px 17px rgba(36, 131, 58, 0.23);
}

#kontakt .contact-email-button:hover .contact-button-arrow {
  transform: translate(2px, -2px);
}

#kontakt a:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 4px;
}

.contact-grid.reveal-blur.is-visible .accent-line {
  transform: scaleX(1);
}

/* ==================================================
   FOOTER
   ================================================== */

.site-footer {
  padding: 50px 0 50px 0;
  border-top: 1px solid var(--line);
  background-color: #fbfbfb;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.footer-logo {
  color: var(--green);
  font-size: 2rem;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px 0;
}

.footer-button:hover {
  color: var(--green);
}

/* ==================================================
   IMPRESSUM UND DATENSCHUTZ-MODALS
   ================================================== */

body.modal-open {
  overflow: hidden;
}

.accent-line, .modal-accent {
  width: 120px;
  height: 5px;
  background: var(--green);
  border-radius: 3px;
  margin-bottom: 22px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 30, 27, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: min(82vh, 760px);
  overflow-y: auto;
  background: var(--white);
  border-radius: 22px;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--text);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-close:hover {
  background: var(--green-light);
  color: var(--green-dark);
}

.modal-dialog h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 25px;
}

.modal-content {
  color: var(--muted);
}

.modal-content p + p, .modal-content h3, .modal-content p + h3 {
  margin-top: 20px;
}

.modal-content h3 {
  color: var(--text);
  font-size: 1rem;
}

.modal-content h4 {
  color: var(--text);
  font-size: 1rem;
  margin-top: 25px;
  margin-bottom: 8px;
}

.modal-content h5 {
  color: var(--text);
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.modal-content ol, .modal-content ul {
  margin: 10px 0 0 22px;
}

.modal-content li {
  padding-left: 5px;
  margin-bottom: 5px;
}

.modal-content a {
  color: var(--green);
}

.modal-content strong {
  color: var(--text);
}

/* ==================================================
   SCROLL-REVEAL UND ANIMATIONEN
   ================================================== */

@keyframes vinyl-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes equalizer-bounce {
  from {
    transform: scaleY(0.35);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: scale(1.015);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.reveal-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(25px);
  transition: opacity 0.4s ease, filter 0.6s ease, transform 0.4s ease;
  will-change: opacity, filter, transform;
}

.reveal-blur.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.accent-line {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 2.5s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.15s;
}

.reveal-blur.is-visible .accent-line {
  transform: scaleX(1);
}

/* ==================================================
   RESPONSIVE REGELN
   ================================================== */

@media (min-width: 701px) and (max-height: 750px) {
  #start.hero {
    padding-top: 80px;
    padding-bottom: 18px;
    gap: 12px;
  }

  #start .hero-eyebrow {
    margin-bottom: 7px;
  }
}

@media (max-width: 1100px) {
  #highlights .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 1050px) {
  #kontakt .contact-grid {
    gap: 35px;
  }

  #kontakt .contact-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #kontakt .contact-info-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1200px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 1050px) {
  .nav {
    height: 60px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    padding: 20px;
    border: 0;
    border-radius: 0;
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.10);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transform: translateY(-10px);
    transition: max-height 0.4s ease, opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }

  .nav-links.open {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 16px 15px;
  }

  .nav-links a.right {
    border-right: unset !important;
  }

  .nav-links a::before {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .nav-button {
    margin-top: 6px;
    text-align: left;
  }

  .about-grid,
  .music-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  section {
    padding: 60px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }



  .footer-links {
    flex-wrap: wrap;
  }

  .modal-dialog {
    padding: 32px 24px 28px;
  }

  #ueber-uns::before {
    top: 45%;
    left: auto;
    right: -50px;
    font-size: clamp(300px, 75vw, 480px);
    opacity: 0.045;
  }

  #kontakt::before {
    width: 280px;
    top: 42%;
    right: -95px;
    opacity: 0.045;
  }

  #kontakt.contact-section {
    padding-block: 65px;
  }

  #kontakt .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 35px;
  }

  #kontakt .leader-photo {
    width: min(100%, 360px);
    max-width: 360px;
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 4.8;
    margin-inline: auto;
  }

  #kontakt .leader-photo img {
    height: 100%;
  }

  #kontakt .contact-copy h2 {
    font-size: clamp(2rem, 7vw, 2.8rem);
    margin-bottom: 20px;
  }

  #kontakt .contact-copy > p,
  #kontakt .contact-copy > p.intro {
    font-size: 1rem;
    line-height: 1.75;
  }

  #kontakt .contact-info-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 25px;
  }

  #kontakt .contact-info-card,
  #kontakt .contact-info-card:last-child {
    display: grid;
    grid-column: auto;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    column-gap: 13px;
    min-height: auto;
    padding: 19px;
  }

  #kontakt .contact-info-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin-bottom: 0;
  }

  #kontakt .contact-info-card h3 {
    grid-column: 2;
    margin: 1px 0 8px;
  }

  #kontakt .contact-info-card p,
  #kontakt .contact-info-card address {
    grid-column: 2;
    margin-bottom: 12px;
  }

  #kontakt .contact-info-link,
  #kontakt .contact-email-button {
    grid-column: 2;
    justify-self: start;
    width: fit-content;
    margin-top: 0;
  }

  #kontakt .contact-email-button {
    justify-content: center;
    padding-inline: 15px;
  }
}

@media (max-width: 800px) {
  #highlights .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #highlights .timeline-item {
    min-height: 140px;
    padding: 17px;
  }
}

@media (max-width: 700px) {
  #start.hero {
    height: auto;
    max-height: none;
    min-height: 100vh;
    min-height: 100svh;
    padding: 100px 0 24px;
    gap: 20px;
    align-content: center;
  }
  .hero-eyebrow::before {

    width: 70px;
    height: 40px;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url(../img/hero.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
  #start .hero-intro {
    flex: 0 0 100%;
    padding: 0 16px;
  }

  #start .hero-intro h1 {
    font-size: clamp(2rem, 7.5vw, 2.7rem);
    line-height: 1.12;
  }

  #start .hero-eyebrow {
    margin-bottom: 9px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }

  #start .hero-image-placeholder {
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
    border-radius: 0;
  }

  #start .hero-image-placeholder picture {
    padding: 0;
    border-radius: 0;
  }

  #start .hero-image-placeholder img {
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
  }

  .hero::before {
    background-size: cover;
    background-position: center;
  }

  .music-animation {
    min-height: 300px;
  }

  .animated-vinyl {
    width: 185px;
    height: 185px;
  }

  .vinyl-label {
    width: 62px;
    height: 62px;
  }

  .calendar-wrapper iframe {
    height: 700px;
  }
}

@media (max-width: 600px) {
  h3 {
    font-size: 1.3rem;
  }

  #start .hero-image-placeholder > .cta-electric {
    bottom: 50px;
    width: calc(100% - 24px);
    max-width: 300px;
    min-height: 48px;
    padding: 9px 16px;
    gap: 8px;
    font-size: 0.9rem;
    white-space: normal;
  }

  #start .hero-image-placeholder > .cta-electric:hover {
    transform: translateX(-50%) translateY(-2px) scale(1.01);
  }
}

@media (max-width: 520px) {
  #highlights .timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  #highlights .timeline-item {
    min-height: auto;
    padding: 17px 18px;
    gap: 10px;
  }

  #highlights .timeline-content h3 {
    font-size: 0.96rem;
  }
}
.under-logo {
  display: block;
  font-size: 0.7rem;
  color:#238342;
}
@media (max-width: 500px) {
  .section-soft {
    padding-top: 50px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .logo {
    font-size: 1.4rem;
  }

  .button {
    width: 100%;
  }

  .audio-card,
  .music-animation {
    min-height: 300px;
  }

  .modal {
    padding: 12px;
  }

  .modal-dialog {
    max-height: 90vh;
    border-radius: 18px;
  }

  .only-desktop {
    display: none;
  }

  .only-mobile {
    display: block;
  }
}

@media (max-width: 420px) {
  #kontakt .leader-photo {
    width: 100%;
    max-width: 320px;
  }

  #kontakt .contact-info-card,
  #kontakt .contact-info-card:last-child {
    padding: 16px 13px;
    column-gap: 10px;
  }

  #kontakt .contact-info-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  #kontakt .contact-email-button {
    font-size: 0.8rem;
  }
}

@media (hover: hover) {
  #kontakt .leader-photo:hover img {
    transform: scale(1.025);
  }

  #kontakt .contact-info-card:hover {
    transform: translateY(-3px);
    border-color: rgba(39, 196, 76, 0.4);
    box-shadow: 0 12px 25px rgba(35, 65, 42, 0.07);
  }

  #highlights .timeline-item:hover {
    transform: translateY(-4px);
    border-color: rgba(39, 196, 76, 0.45);
    box-shadow: 0 12px 28px rgba(30, 50, 35, 0.08);
  }

  #highlights .timeline-item:hover .timeline-year {
    color: #ffffff;
    background: var(--green);
  }

  #highlights .timeline-item:hover .timeline-content h3 {
    color: var(--green-dark);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animated-vinyl,
  .animated-equalizer span,
  .menu-toggle span,
  #start .hero-image-placeholder > .cta-electric,
  .cta-electric .cta-glow {
    animation: none;
    transition: none;
  }

  .cta-electric .cta-spark {
    display: none;
  }

  .reveal-blur {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .hero {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }

  #kontakt .leader-photo img,
  #kontakt .contact-info-card,
  #kontakt .contact-info-link,
  #kontakt .contact-info-link span,
  #kontakt .contact-email-button,
  #kontakt .contact-button-arrow {
    transition: none;
  }

  .accent-line {
    transform: none;
    transition: none;
  }
}
/* ==================================================
   ELECTRIC CTA – DEZENTERER GLOW
   ================================================== */

/* Normalzustand */
#start .hero-image-placeholder > .cta-electric {
    box-shadow:
        0 0 6px rgba(39, 196, 76, 0.3),
        0 0 14px rgba(0, 255, 213, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Äußerer Leuchthof */
.cta-electric .cta-glow {
    opacity: 0.2;
    filter: blur(8px);

    transition:
        opacity 0.65s ease,
        filter 0.65s ease;
}

/* Hover – sichtbar, aber nicht übertrieben */
#start .hero-image-placeholder > .cta-electric:hover {
    filter: brightness(1.04);

    box-shadow:
        0 0 10px rgba(39, 196, 76, 0.5),
        0 0 22px rgba(0, 255, 213, 0.28),
        0 0 38px rgba(39, 196, 76, 0.18),
        0 10px 26px rgba(0, 0, 0, 0.28);
}

/* Glow weich verstärken */
#start .hero-image-placeholder > .cta-electric:hover .cta-glow {
    opacity: 0.5;
    filter: blur(13px);
}
/* ==================================================
   ELECTRIC CTA – WEICHE, DURCHGEHENDE TRANSITION
   ================================================== */

/* Button: Keine konkurrierende Schatten-Pulsanimation */
#start .hero-image-placeholder > .cta-electric {
    animation: cta-border-flow 4s linear infinite !important;

    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.8s ease,
        filter 0.8s ease;
}

/* Glow: Nur den Farbverlauf animieren */
.cta-electric .cta-glow {
    animation: cta-halo-flow 4s linear infinite !important;

    opacity: 0.18;
    filter: blur(8px);

    transition:
        opacity 0.8s ease,
        filter 0.8s ease;
}

/* Hover: Glow weich verstärken */
#start .hero-image-placeholder > .cta-electric:hover {
    animation: cta-border-flow 4s linear infinite !important;

    filter: brightness(1.04);

    box-shadow:
        0 0 8px rgba(39, 196, 76, 0.45),
        0 0 20px rgba(0, 255, 213, 0.24),
        0 0 35px rgba(39, 196, 76, 0.16),
        0 10px 26px rgba(0, 0, 0, 0.28);
}

/* Halo beim Hover sanft einblenden */
#start .hero-image-placeholder > .cta-electric:hover .cta-glow {
    opacity: 0.48;
    filter: blur(13px);
}

/* Beim Verlassen genauso weich zurückblenden */
#start .hero-image-placeholder > .cta-electric:not(:hover) .cta-glow {
    opacity: 0.18;
    filter: blur(8px);
}

/* Pfeil ebenfalls weich bewegen */
.cta-electric .cta-arrow {
    transition:
        transform 0.4s ease,
        color 0.4s ease;
}

#start .hero-image-placeholder > .cta-electric:hover .cta-arrow {
    transform: translateX(5px);
    color: #ffffff;
}
/* ==================================================
   ELECTRIC CTA – NAHTLOSER, ROTIERENDER FARBVERLAUF
   ================================================== */

@property --cta-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

/* Farbverlauf ohne sichtbaren Neustart */
@keyframes cta-border-rotate {
    from {
        --cta-angle: 0deg;
    }

    to {
        --cta-angle: 360deg;
    }
}

#start .hero-image-placeholder > .button-primary.special.cta-electric {
    /* Alte Verlaufanimation ersetzen */
    animation: cta-border-rotate 8s linear infinite !important;

    background:
        linear-gradient(110deg, #101713, #19251e) padding-box,
        conic-gradient(
            from var(--cta-angle),
            #7dff74,
            #27c44c,
            #00e5ff,
            #27c44c,
            #7dff74
        ) border-box;

    background-size: auto, auto;
    background-position: center;

    /* Hover-Glow weiterhin weich */
    transition:
        transform 0.4s ease,
        box-shadow 0.8s ease,
        filter 0.8s ease;
}

/* Beim Hover läuft der Farbverlauf unverändert weiter */
#start .hero-image-placeholder > .button-primary.special.cta-electric:hover {
    animation: cta-border-rotate 8s linear infinite !important;
}
/* ==================================================
   NAVIGATION – ICONS UND TEXT OPTISCH AUSRICHTEN
   ================================================== */

.nav-links a {
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

/* Einheitliche Icon-Größe und vertikale Position */
.nav-links a::before {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;

    position: relative;
    top: -1px;
}
/* ==================================================
   HERO CTA – HELLERER GRÜNER BUTTON
   ================================================== */

#start .hero-image-placeholder > .button-primary.special.cta-electric {
    background:
        linear-gradient(
            135deg,
            #238342 0%,
            #27a94f 55%,
            #168f7c 100%
        ) padding-box,

        conic-gradient(
            from var(--cta-angle),
            #7dff74,
            #27c44c,
            #00e5ff,
            #27c44c,
            #7dff74
        ) border-box;
}
/* ==================================================
   ELECTRIC CTA – SPRUNGFREIER VERLAUF
   ================================================== */

/* Statischer Farbverlauf: kein Neustart, kein Springen */
#start .hero-image-placeholder > .button-primary.special.cta-electric {
    animation: none !important;

    background:
        linear-gradient(
            135deg,
            #238342 0%,
            #27a94f 55%,
            #168f7c 100%
        ) padding-box,
        linear-gradient(
            135deg,
            #7dff74,
            #27c44c,
            #00e5ff,
            #27c44c,
            #7dff74
        ) border-box !important;

    background-size: auto !important;
    background-position: center !important;

    transition:
        transform 0.4s ease,
        box-shadow 0.8s ease,
        filter 0.8s ease;
}

/* Alte Lichtreflex-Animation abschalten */
#start .hero-image-placeholder > .cta-electric::before {
    animation: none !important;
    content: none !important;
}

/* Äußerer Glow ohne konkurrierende Animation */
#start .hero-image-placeholder > .cta-electric .cta-glow {
    animation: none !important;

    opacity: 0.22;
    filter: blur(9px);

    transition:
        opacity 0.8s ease,
        filter 0.8s ease;
}

/* Sanftes Aufleuchten beim Hover */
#start .hero-image-placeholder > .cta-electric:hover {
    filter: brightness(1.04);

    box-shadow:
        0 0 8px rgba(39, 196, 76, 0.45),
        0 0 20px rgba(0, 255, 213, 0.24),
        0 0 35px rgba(39, 196, 76, 0.16),
        0 10px 26px rgba(0, 0, 0, 0.28);
}

#start .hero-image-placeholder > .cta-electric:hover .cta-glow {
    opacity: 0.48;
    filter: blur(13px);
}

/* ==================================================
   FOOTER – MODERN, LUFTIG UND ELEGANT
   ================================================== */

.site-footer {
    position: relative;
    overflow: hidden;


    background: linear-gradient(
        180deg,
        #fbfcfb 0%,
        #f3f8f4 100%
    );

    border-top: 1px solid #e2e9e3;
}

/* Dezente grüne Akzentlinie */
.site-footer::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--green) 22%,
        #00c6a2 50%,
        var(--green) 78%,
        transparent 100%
    );

    opacity: 0.8;
}



/* ==================================================
   CHOR-LOGO UND SLOGAN
   ================================================== */

.footer-brand {
    min-width: 0;
}

.footer-logo {
    color: var(--green);
    margin-top:-10px;
    font-family: "Pacifico", cursive;
    font-size: clamp(1.65rem, 2.4vw, 2.1rem);
    line-height: 1.4;
}

.footer-tagline {
    padding-left: 25px;
    margin-top: -8px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
    font-family: "AN", Arial, sans-serif !important;
}
.header-tagline {
  display: block;
    padding-left: 22px;
    margin-top: 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
    font-family: "AN", Arial, sans-serif !important;
}

/* ==================================================
   GEMEINDELOGO
   ================================================== */

.footer-partner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin-top:-5px;
}

.footer-partner-label {
    color: var(--muted);

    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-partner-link {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 5px 12px;

    border-radius: 12px;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.footer-partner-link img {
    display: block;

    width: auto;
    height: 62px;
    max-width: 210px;

    object-fit: contain;
}

.footer-partner-link:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}


/* ==================================================
   IMPRESSUM UND DATENSCHUTZ
   ================================================== */

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-button-style {
    padding: 5px 10px;

    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;


}
.footer-button {
    padding: 5px 10px;

    border-radius:8px;


    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-button:hover {
    color: var(--green-dark);

    background: var(--green-light);
    border-color: rgba(39, 196, 76, 0.35);

    transform: translateY(-2px);
}

.footer-button:focus-visible,
.footer-top-link:focus-visible {
    outline: 2px solid var(--green-dark);
    outline-offset: 4px;
}


/* ==================================================
   UNTERE ZEILE
   ================================================== */

.footer-bottom {
    border-top: 1px solid #e1e8e2;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding-top: 13px;
    padding-bottom: 15px;

    color: #89928b;
    font-size: 0.78rem;
}

.footer-top-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--muted);
    text-decoration: none;

    transition:
        color 0.2s ease,
        gap 0.2s ease;
}

.footer-top-link span {
    color: var(--green);
    font-size: 1.1rem;
}

.footer-top-link:hover {
    color: var(--green-dark);
    gap: 11px;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

    .footer-inner {
        grid-template-columns: 1fr auto;
        gap: 25px;
    }

    .footer-partner {
        grid-column: 2;
        grid-row: 1;
    }

    .footer-links {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 600px) {
  .footer-tagline {
  padding-left:0;
  }
    .site-footer {
        padding: 30px 0 20px 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 25px;

        padding-bottom: 27px;
        text-align: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        font-size: 1.8rem;
    }

    .footer-partner {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-partner-link img {
        height: 58px;
        max-width: 190px;
    }

    .footer-links {
        grid-column: auto;
        justify-content: center;
        gap: 8px;
    }

    .footer-button {
        padding: 9px 13px;
        font-size: 0.85rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        gap: 7px;

        padding-top: 13px;
        padding-bottom: 17px;
    }

}


/* ==================================================
   REDUZIERTE BEWEGUNG
   ================================================== */

@media (prefers-reduced-motion: reduce) {

    .footer-partner-link,
    .footer-button,
    .footer-top-link {
        transition: none;
    }

}
/* ==================================================
   FACEBOOK – KOMPAKTE SEKTION
   ================================================== */

.facebook-section {
    padding: 35px 0;
    background: #f8faf8;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.facebook-card {
    display: flex;
    align-items: center;
    gap: 24px;

    padding: 28px 32px;

    background: #ffffff;
    border: 1px solid #e7ebe8;
    border-radius: 20px;

    box-shadow: 0 8px 26px rgba(32, 37, 34, 0.045);
}

/* Facebook-Logo */
.facebook-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;
    flex: 0 0 64px;

    border-radius: 17px;
    background: #f0f5f1;
}

.facebook-icon img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

/* Text */
.facebook-copy {
    flex: 1;
    min-width: 0;
}

.facebook-copy h2 {
    margin: 0 0 6px;

    color: var(--text);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.3;
}

.facebook-copy p {
    margin: 0;

    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Facebook-Link */
.facebook-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 22px;

    color: #ffffff;
    background: #1877f2;
    border: 1px solid #1877f2;
    border-radius: 999px;

    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.insta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 22px;

    color: #ffffff;
    background: #82135b;
    border: 1px solid #740c97;
    border-radius: 999px;

    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.facebook-button span {
    font-size: 1.2rem;
    transition: transform 0.25s ease;
}

.facebook-button:hover {
    color: #ffffff;
    background: #0866ff;
    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(24, 119, 242, 0.22);
}

.facebook-button:hover span {
    transform: translate(2px, -2px);
}

.facebook-button:focus-visible {
    outline: 3px solid var(--green-dark);
    outline-offset: 4px;
}


/* ==================================================
   TABLET
   ================================================== */
.highlight-modal p {
  margin:20px 0 !important;
}
.logo-ev-kirche {
  max-width: 95px;
}
@media (max-width: 1050px) {
  .highlight-modal p:not(.highlight-modal-eyebrow) {
  margin:10px 0 !important;
font-size: 0.85rem;
}
.logo-ev-kirche {
  max-width: 70px;
}
    .facebook-card {
        gap: 18px;
        padding: 24px;
    }

    .facebook-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .facebook-icon img {
        width: 36px;
        height: 36px;
    }

    .facebook-button, .insta-button {
        padding: 0 17px;
        font-size: 0.9rem;
    }
}


/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 600px) {
    .facebook-section {
        padding: 25px 0;
    }

    .facebook-card {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 16px;

        padding: 22px 18px;
        border-radius: 17px;
    }

    .facebook-icon {
        grid-column: 1;
        grid-row: 1;
    }

    .facebook-copy {
        grid-column: 2;
        grid-row: 1;
    }

    .facebook-copy h2 {
        font-size: 1.15rem;
    }

    .facebook-copy p {
        font-size: 0.9rem;
    }

    .facebook-button, .insta-button {
        grid-column: 1 / -1;
        justify-self: start;

        width: 100%;
        min-height: 46px;
    }
}


/* Reduzierte Bewegung berücksichtigen */
@media (prefers-reduced-motion: reduce) {
    .facebook-button,
    .insta-button,
    .facebook-button span {
        transition: none;
    }
}



/* =====================================================
   HIGHLIGHTS – KARTEN-INTERAKTION UND MODAL
   ===================================================== */

#highlights .timeline-item {
    position: relative;
}

#highlights .timeline-modal-trigger {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: inherit;
    background: transparent;
    cursor: pointer;
    appearance: none;
}

#highlights .timeline-modal-trigger:focus-visible {
    outline: 3px solid var(--green-dark, #24833a);
    outline-offset: 3px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.highlight-modal {
    position: fixed;
    width: min(1400px, calc(100% - 32px));
    max-width: 1400px;
    max-height: 98vh;
    margin: auto;
    padding: 10px 40px 40px 40px;
    overflow: auto;
    color: var(--text, #202522);
    background: #fff;
    border: 1px solid var(--line, #e7ebe8);
    border-radius: 22px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

.highlight-modal:not([open]) {
    display: none;
}

.highlight-modal::backdrop {
    background: rgba(12, 18, 14, .72);
    backdrop-filter: blur(4px);
}

.highlight-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: var(--text, #202522);
    background: #f2f6f3;
    border: 0;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.highlight-modal-close:hover {
    background: #e3f2e6;
    transform: rotate(90deg);
}

.highlight-modal-close:focus-visible {
    outline: 3px solid var(--green-dark, #24833a);
    outline-offset: 3px;
}

.highlight-modal-eyebrow {
    margin: 0 0 8px;
    color: var(--green-dark, #24833a);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#highlight-modal-year {
    color: var(--green-dark, #24833a);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

.highlight-modal-content h3 {
    margin: 0 0 16px;
    color: var(--text, #202522);
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    line-height: 1.4;
}

.highlight-modal-content p,
.highlight-modal-content li {
    color: var(--muted, #68706b);
    line-height: 1.7;
}

.highlight-modal-content ul,
.highlight-modal-content ol {
    padding-left: 22px;
}

.highlight-modal-content li {
    margin-bottom: 10px;
}

.highlight-modal-content img,
.highlight-modal-content video,
.highlight-modal-content iframe {
    display: block;
    max-width: 100%;
    margin: 20px 0;
    border-radius: 12px;
}

.highlight-modal-content img,
.highlight-modal-content video {
    height: auto;
    max-width: 800px;
    margin: 10px auto;
    width:100%;
    border-radius:10px;
}

@media (max-width: 600px) {
    .highlight-modal {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .highlight-modal-close {
        top: 10px;
        right: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .highlight-modal-close {
        transition: none;
    }
}


/* Navigation innerhalb des Highlight-Modals */
.highlight-modal-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 75px;
    margin: -50px 0 10px;
}

.highlight-modal-arrow {
    display: inline-grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--green-dark, #24833a);
    background: #f0f7f1;
    border: 1px solid #dcebdd;
    border-radius: 50%;
    font: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease,
                transform .2s ease;
}

.highlight-modal-arrow:hover {
    color: #fff;
    background: var(--green-dark, #24833a);
    border-color: var(--green-dark, #24833a);
    transform: translateY(-1px);
}

.highlight-modal-arrow:focus-visible {
    outline: 3px solid var(--green-dark, #24833a);
    outline-offset: 3px;
}

.highlight-modal-arrow[hidden] {
    opacity: 0;
      text-decoration: none;     /* Entfernt die Unterstreichung */
  cursor: default;           /* Ändert den Mauszeiger zurück zum normalen Pfeil */
  pointer-events: none; 
}

.highlight-modal-position {
    color: var(--muted, #68706b);
    font-size: .82rem;
    text-align: center;
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .highlight-modal-arrow {
        transition: none;
    }
}
/* =========================================
   HIGHLIGHT-MODAL – STABILE GRÖSSE
   ========================================= */

.highlight-modal[open] {
    display: flex;
    flex-direction: column;

    /* Gleichbleibende Fenstergröße */
    height: 98dvh;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);

    /* Das Fenster selbst scrollt nicht */
    overflow: hidden;
    box-sizing: border-box;
}

/* Kopfbereich bleibt an seiner Position */
.highlight-modal-eyebrow,
#highlight-modal-year,
.highlight-modal-navigation {
    flex: 0 0 auto;
    text-align: center;
}

/* Nur der eigentliche Inhalt scrollt */
.highlight-modal-content {
    flex: 1 1 auto;
    min-height: 0;

    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;

    scroll-behavior: auto;
}

.highlight-modal-content h3 {
  text-align: center;
}
/* =========================================
   KORREKTUR 1: HEADER BEI MITTLEREN BREITEN
   ========================================= */

.site-header {
    width: 100%;
}

.nav {
    min-width: 0;
    gap: 90px;
}

.nav > .logo {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Partnerlogo begrenzen */
.nav > a[href="https://www.kirche-opladen.de/"] {
    display: flex;
    flex: 0 1 140px;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.nav > a[href="https://www.kirche-opladen.de/"] img {
    display: block;
    width: 100%;
    max-width: 140px;
    max-height: 58px;
    height: auto;
    object-fit: contain;
}

.nav-links {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
}

.nav-links a {
    white-space: nowrap;
}

/* Bei weniger Platz auf das kompakte Menü wechseln */
@media (max-width: 1350px) {
    .nav {
        height: 68px;
        min-height: 68px;
        gap: 10px;
    }

    .nav > .logo {
        font-size: clamp(1.15rem, 2vw, 1.7rem);
    }

    .nav > a[href="https://www.kirche-opladen.de/"] {
        flex: 0 1 105px;
        width: 105px;
    }

    .nav > a[href="https://www.kirche-opladen.de/"] img {
        max-width: 105px;
        max-height: 44px;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 42px;
        margin-left: auto;
    }

    .nav-links {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        width: 100%;
        margin: 0;
        padding: 16px 20px;
        border: 0;
        border-radius: 0;
        background: var(--white);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.10);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        visibility: hidden;
        transform: translateY(-10px);
        transition:
            max-height 0.4s ease,
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
        z-index: 1000;
    }

    .nav-links.open {
        max-height: min(80vh, 500px);
        opacity: 1;
        overflow-y: auto;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links a {
        width: 100%;
        padding: 14px 15px;
        white-space: normal;
    }

    .nav-links a.right {
        border-right: 0 !important;
    }

    .nav-links a::before {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .nav-links a::after {
        right: auto;
        width: calc(100% - 30px);
    }
}

/* Kleine Displays */
@media (max-width: 600px) {
    .nav {
        height: 60px;
        min-height: 60px;
        gap: 8px;
    }

    .nav > .logo {
        font-size: clamp(1.05rem, 4.5vw, 1.4rem);
    }

    .nav > a[href="https://www.kirche-opladen.de/"] {
        flex: 0 1 82px;
        width: 82px;
    }

    .nav > a[href="https://www.kirche-opladen.de/"] img {
        max-width: 82px;
        max-height: 38px;
    }

    .nav-links {
        top: 60px;
    }
}


/* =========================================
   KORREKTUR 2: HERO BEI GERINGER BILDSCHIRMHÖHE
   ========================================= */

@media (min-width: 701px) and (max-height: 750px) {
    #start .hero-image-placeholder {
        width: min(
            100%,
            var(--hero-image-max-width),
            calc((100svh - 205px) * 1.65)
        );
    }

    #start .hero-image-placeholder picture {
        padding: 6px;
    }

    #start .hero-image-placeholder img {
        border-width: 6px;
    }

    #start .hero-image-placeholder > .cta-electric {
        bottom: 18px;
        width: min(280px, calc(100% - 16px));
        max-width: calc(100% - 16px);
        min-height: 44px;
        gap: 6px;
        padding: 8px 12px;
        font-size: clamp(0.75rem, 1vw, 0.95rem);
        white-space: normal;
    }

    #start .hero-image-placeholder > .cta-electric .cta-label {
        white-space: normal;
        text-align: center;
    }
}

/* =========================================
   PAGE INTRO – LOGO FADE-IN / BLUR-OUT
   ========================================= */

#page-intro {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;
    background: #f8faf7;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        opacity 0.9s ease,
        visibility 0s linear 0s;
}

#page-intro img {
    display: block;
    width: clamp(160px, 26vw, 320px);
    max-width: 70vw;
    height: auto;

    opacity: 0;
    filter: blur(14px);
    transform: scale(0.96);

    transition:
        opacity 0.85s ease,
        filter 0.95s ease,
        transform 0.95s ease;
}

/* Logo weich einblenden */
#page-intro.is-visible img {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

/* Gesamten Layer ausblenden */
#page-intro.is-exiting {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.9s ease,
        visibility 0s linear 0.9s;
}

/* Logo verschwimmt und löst sich auf */
#page-intro.is-exiting img {
    opacity: 0;
    filter: blur(24px);
    transform: scale(1.06);
}

/* Auf kleinen Bildschirmen */
@media (max-width: 600px) {
    #page-intro img {
        width: clamp(150px, 48vw, 240px);
    }
}

/* Reduzierte Bewegung berücksichtigen */
@media (prefers-reduced-motion: reduce) {
    #page-intro,
    #page-intro img {
        transition: none !important;
    }
}

#page-intro {
    transition:
        opacity 1.8s ease,
        visibility 0s linear 1.8s;
}

#page-intro img {
    transition:
        opacity 0.35s ease,
        filter 0.35s ease,
        transform 0.35s ease;
}
/* =========================================
   INTRO – SCROLLBAR UND LAYOUT-SPRÜNGE VERHINDERN
   ========================================= */

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    overflow-x: clip;
}

/* Der Intro-Layer wird exakt an den Bildschirmrand gebunden */
#page-intro {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    overflow: clip;
}