 
@font-face {
  font-family: "Spline";
    src: url('../fonts/SplineSans-VariableFont_wght.woff2') format('woff2');
  font-weight: 125 1200; 
  font-stretch: 75% 200%;
  font-style: normal;
}
 

    body {
      margin: 0;
      font-family: 'Spline', sans-serif;
      line-height: 1.6;
      background: #f7f7f7;
      color: #222; 
      font-weight: 200;
      font-size: 1.2rem;

      padding-bottom: 10em;
    }

    h2 {
      margin: 0 0 ; 
      font-weight: 400;
    }
    h3 {
      margin: 0 0 ; 
      font-weight: 300;
    }

    /* Desktop Standard */
    body { 
    }

    /* Tablets */
    @media (max-width: 768px) {
      body {
        font-size: 1.1em;
      }
      h2 {
        font-size: 1.4em;
      }
    }

    /* Smartphones */
    @media (max-width: 480px) {
      body {
        font-size: 1em;
      }
      h2 {
        font-size: 1.3em;
      }
    }

    h1 {
      visibility: hidden;
      height: 0;
      padding: 0;
      margin: 0;
      font-weight: 500;
}

    header {
      padding: 40px 20px;
      text-align: center;
      background: #fff;
    }

    header img {
      max-width: 160px;
      display: block;
      margin: 0 auto 20px;
    }

    section, footer {
      padding: 40px 20px;
      max-width: 1100px;
      margin: auto;
    }

    p {
      margin: 0 0 .75rem; 
    }
    .slogan {
/*      font-family: 'Intro Light Alt', sans-serif; */
      text-align: center;
      text-transform:  uppercase;
      margin: -20px 0 2rem;
      padding: 0 0 ; 
      letter-spacing: 1px;

    }
    .small {
      font-size: 75%;
      margin: 0;
    }
    address {
      margin: 1.5rem 0;
  font-style: normal; 
    }
    section figure {
      text-align: center;
    }
    section img {
      margin: 0 auto;
    }


    section img {
      max-width: 400px;
      width: 100%;
      display: block;
      margin: 0 auto 20px;
    }






/* Grundlayout */
.columns { 
  margin: 0 auto;
  padding: 1.5rem;
}

/* Mobile / Tablet: einspaltig */
.maintext,
.mainimage {
  margin-bottom: 2rem;
}

.mainimage img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Ab 1024px: zweispaltig */
@media (min-width: 820px) {
  .columns {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Text breiter als Bild */
    gap: 3rem;
    align-items: start;
  }

  .maintext {
  }

  .mainimage {
    position: sticky;
    top: 2rem; /* bleibt beim Scrollen sichtbar */
  }
  .mainimage figure {
    margin: 0; 
  }
  .mainimage figure:first-child { 
  }
}





/* Links in Absätzen */
p a {
  position: relative;
  color: #007BFF; /* Standardfarbe */
  text-decoration: none;
  transition: color 0.3s ease; 
}

/* Unterstreichung mit pseudo-element */
p a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #FF6600; /* Farbe der Unterstreichung */
  transition: width 0.3s ease;
}

/* Hover-Effekt */
p a:hover {
  color: #FF6600; /* Optional: Farbe des Textes ändern */
}

p a:hover::after {
  width: 100%; /* Unterstreichung wächst von 0 auf 100% */
}

/* Footer */
footer {
  background-color: #f4f4f4;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem; 
  color: #555;
}

footer a {
  color: #007BFF;
  text-decoration: none;
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #FF6600;
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}



/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 1rem 0 8rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.15s, box-shadow 0.15s;

  object-fit: cover;
  object-position: center bottom;


  /* Smooth scaling */
  image-rendering: auto; /* Standard */
  -webkit-backface-visibility: hidden; /* verbessert Anti-Aliasing in Chrome/Safari */
  -webkit-transform: translateZ(0);   /* Force GPU rendering für smootheres Scaling */
  -moz-osx-font-smoothing: grayscale; /* etwas weicher auf Mac */
  -webkit-font-smoothing: antialiased;
}

.gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  filter: brightness(1.2);

  /* Smooth scaling */
  image-rendering: auto; /* Standard */
  -webkit-backface-visibility: hidden; /* verbessert Anti-Aliasing in Chrome/Safari */
  -webkit-transform: translateZ(0);   /* Force GPU rendering für smootheres Scaling */
  -moz-osx-font-smoothing: grayscale; /* etwas weicher auf Mac */
  -webkit-font-smoothing: antialiased;
}



.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Verhältnis */
  height: 0;
  overflow: hidden;
  margin: 2rem 0 4rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

 
/* Sticky Header */
header {
  position: sticky;
  top: 0;
  background-color: #f4f4f4;
  z-index: 1000;
  text-align: center;
  padding: 1rem 0 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

 

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
  z-index: 9999;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius:5px;
  margin-bottom:1rem;
}

.lightbox .controls {
  display:flex;
  justify-content:space-between;
  width:100px;
}

.lightbox button {
  background:none;
  border:2px solid #fff;
  color:#fff;
  font-size:1.5rem;
  padding:0.2rem 0.5rem;
  cursor:pointer;
  border-radius:5px;
}

.lightbox button:hover {
  background-color:#fff;
  color:#000;
}

/* Audio Player Styling */
.audio-player {
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
}

.audio-player audio {
  width: 100%;
} 


#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: none; /* versteckt initial */
  background-color: #007BFF;
  opacity: .7;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
}

#scrollToTop:hover {
  background-color: #007BFF;
  opacity: 1;
  transform: translateY(-3px);
}





