html, body {
  margin: 0;
  padding: 0;
  font-family: "Georgia", "Palatino Linotype", "Book Antiqua", serif;
  color: #f0e9d3;
  height: 100%;
  overflow-x: hidden;
}

.background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('images/stillleben.jpg') center center / cover no-repeat;
  z-index: 0;
}

.foreground-layer {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}


.content {
  margin: 3rem auto;
  max-width: 60ch;
  background: rgba(11, 29, 20, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  text-shadow: 0 0 4px #000;
  color: #f0e9d3;
}


h1 {
  font-size: 3rem;
  margin: 0;
  color: #e0c975;
}

h2 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.intro {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  color: #f0e9d3;
  text-align: center;
  max-width: 70ch;
  margin: 2rem auto 3rem auto;
  line-height: 1.6;

  font-style: italic;
  margin-top: 1rem;
}

.textblock {
  background: transparent;
}

.textblock section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 5%;
  background: transparent;
}

.overlaytext {
  background: rgba(11, 29, 20, 0.6);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 40%;
  text-shadow: 0 0 4px #000;
}


h3 {
  color: #e0c975;
  font-style: italic;
  font-weight: normal;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
}

  color: #e0c975;
  margin-top: 0;
}

footer {
  text-align: center;
  background-color: #111;
  color: #ccc;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

a {
  color: #d3cbb6;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .content, .overlaytext {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
  }

  .hero {
  position: relative;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5vh;
  }

  .textblock section {
    padding-left: 0;
    justify-content: center;
    text-align: left;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .intro {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  color: #f0e9d3;
  text-align: center;
  max-width: 70ch;
  margin: 2rem auto 3rem auto;
  line-height: 1.6;

    font-size: 1rem;
  }

  
h3 {
  color: #e0c975;
  font-style: italic;
  font-weight: normal;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
}

    font-size: 1.4rem;
  }

  .overlaytext {
    font-size: 1rem;
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .content, .overlaytext {
    padding: 1rem;
    font-size: 0.95rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .intro {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  color: #f0e9d3;
  text-align: center;
  max-width: 70ch;
  margin: 2rem auto 3rem auto;
  line-height: 1.6;

    font-size: 0.9rem;
  }

  
h3 {
  color: #e0c975;
  font-style: italic;
  font-weight: normal;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
}

    font-size: 1.2rem;
  }
}


.scroll-indicator {
  transition: opacity 0.6s ease;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: fadein 3s ease-in-out infinite;
  z-index: 2;

  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: fadein 3s ease-in-out infinite;
  z-index: 5;
}

.mouse {
  width: 25px;
  height: 40px;
  border: 2px solid #e0c975;
  border-radius: 15px;
  margin: 0 auto;
  position: relative;
}

.wheel {
  width: 4px;
  height: 6px;
  background: #e0c975;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scroll-wheel 1.2s infinite;
}

.arrow {
  font-size: 1.2rem;
  color: #e0c975;
  display: block;
  margin-top: 8px;
  opacity: 0.8;
}

@keyframes scroll-wheel {
  0% { top: 10px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

@keyframes fadein {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}


#scroll-trigger {
  position: relative;
  width: 100%;
  height: 1px;
}


.scroll-indicator {
  opacity: 1;
  transition: opacity 0.6s ease;
}

.scroll-indicator.fading-out {
  opacity: 0;
  pointer-events: none;
}

.scroll-indicator.hidden {
  display: none !important;
}



/* Responsive Hero Styles */
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 0.5em;
}

.hero h2 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 0.5em;
}

.intro {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-style: italic;
  font-weight: 300;
  color: #f0e9d3;
  text-align: center;
  max-width: 70ch;
  margin: 2rem auto 3rem auto;
  line-height: 1.6;

  font-size: clamp(1.1rem, 3vw, 1.8rem);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.4;
  padding: 0 1rem;
}



/* Responsive Textabschnitte */
.overlaytext {
  padding: 1rem;
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  line-height: 1.7;
}

/* Fade-in Effekt */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.foreground-layer {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}



.marke {
  font-variant: small-caps;
  color: #e0c975;
  font-weight: normal;
  letter-spacing: 0.02em;
}


/* Verbesserter Fließtext-Abstand */
p {
  margin-bottom: 1.4em;
}

footer p {
  text-align: center;
  margin: 0 auto;
  display: inline-block;
}

.burger-menu {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1000;
}

.burger-icon {
  font-size: 1.6em;
  color: #e0c878;
  cursor: pointer;
  user-select: none;
  font-family: Georgia, serif;
}

.menu-content {
  display: none;
  position: absolute;
  top: 2.5em;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1em;
  border-radius: 6px;
  text-align: right;
}

.menu-content.visible {
  display: block;
}

.menu-content a {
  display: block;
  color: #e0c878;
  text-decoration: none;
  margin: 0.5em 0;
  font-family: Georgia, serif;
  font-weight: bold;
}

.menu-content a:hover {
  color: #ffffff;
}


.burger-menu {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
}

.burger-icon {
  font-size: 1.6em;
  color: #e0c878;
  cursor: pointer;
  user-select: none;
  font-family: Georgia, serif;
}

.menu-content {
  display: none;
  position: absolute;
  top: 2.5em;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1em;
  border-radius: 6px;
  text-align: left;
}

.menu-content.visible {
  display: block;
}

.menu-content a {
  display: block;
  color: #e0c878;
  text-decoration: none;
  margin: 0.5em 0;
  font-family: Georgia, serif;
  font-weight: bold;
}

.menu-content a:hover {
  color: #ffffff;
}


.burger-menu {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
}

.burger-icon {
  font-size: 1.6em;
  color: #e0c878;
  cursor: pointer;
  user-select: none;
  font-family: Georgia, serif;
}

.menu-content {
  display: none;
  position: absolute;
  top: 2.5em;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1em;
  border-radius: 6px;
  text-align: left;
  max-width: 250px;
  width: max-content;
  box-sizing: border-box;
}

.menu-content.visible {
  display: block;
}

.menu-content a {
  display: block;
  color: #e0c878;
  text-decoration: none;
  margin: 0.5em 0;
  font-family: Georgia, serif;
  font-weight: bold;
}

.menu-content a:hover {
  color: #ffffff;
}

html, body {
  overflow-x: hidden;
}


@media (max-width: 600px) {
  .foreground-layer {
    padding: 1em;
    max-width: 90%;
  }

  .menu-content {
    font-size: 1em;
  }
}


/* Lichtschleier am unteren Rand – dezent golden */
#light-veil {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(201, 180, 88, 0.2), transparent);
  pointer-events: none;
  animation: veilPulse 3s infinite ease-in-out;
  z-index: 999;
}

@keyframes veilPulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.3; }
}


/* Sichtbarer Lichtschleier für Testzwecke */
#light-veil {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, rgba(255, 235, 150, 0.4), transparent);
  pointer-events: none;
  animation: veilPulse 3s infinite ease-in-out;
  z-index: 999;
}

@keyframes veilPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}


/* Dezenter Lichtschleier in Gold */
#light-veil {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(201, 180, 88, 0.2), transparent);
  pointer-events: none;
  animation: veilPulse 3s infinite ease-in-out;
  z-index: 999;
}

@keyframes veilPulse {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.3; }
}


/* Goldener Lichtschleier – halbe Testhöhe, 80% Intensität */
#light-veil {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, rgba(255, 235, 150, 0.32), transparent);
  pointer-events: none;
  animation: veilPulse 3s infinite ease-in-out;
  z-index: 999;
}

@keyframes veilPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.64; }
}


/* Finaler goldener Lichtschleier */
#light-veil {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, rgba(255, 235, 150, 0.16), transparent);
  pointer-events: none;
  animation: veilPulse 3s infinite ease-in-out;
  z-index: 999;
}

@keyframes veilPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.32; }
}


/* Goldener Lichtschleier – bewährte Intensität */
#light-veil {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to top, rgba(255, 235, 150, 0.32), transparent);
  pointer-events: none;
  animation: veilPulse 3s infinite ease-in-out;
  z-index: 999;
}

@keyframes veilPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.64; }
}


/* Scroll-Hand-Indikator */
#scroll-hand {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 60px;
  opacity: 0.85;
  z-index: 1000;
  animation: floatHand 2.5s infinite ease-in-out;
}

#scroll-hand img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

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


/* Scroll-Hand-Indikator – leicht nach links & tiefer */
#scroll-hand {
  position: fixed;
  bottom: 20px;
  right: 40px;
  width: 60px;
  opacity: 0.85;
  z-index: 1000;
  animation: floatHand 2.5s infinite ease-in-out;
  transition: opacity 0.4s ease;
}

#scroll-hand img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

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


/* Scroll-Hand-Indikator – verzögerte Anzeige nach 3 Sekunden */
#scroll-hand {
  position: fixed;
  bottom: 20px;
  right: 40px;
  width: 60px;
  opacity: 0;
  z-index: 1000;
  animation: floatHand 2.5s infinite ease-in-out;
  animation-delay: 3s;
  animation-play-state: paused;
  transition: opacity 0.4s ease;
}

#scroll-hand img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}

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


/* Reduzierte Handgröße um 20% */
#scroll-hand {
  width: 48px;
}
