/* latin-ext */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(LibreBaskerville-400-latinext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(LibreBaskerville-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
	scroll-behavior: smooth;
}

/* Grundlayout & Typografie */
body {
  font-family: 'Libre Baskerville', Georgia, serif;
  background: linear-gradient(to bottom, #f6f3ef 0%, #ebe5dd 100%);
  /*background: linear-gradient(to right, #fbe9e7, #e3f2fd);*/
  color: #2c2c2c;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

/* Header */
header {
  background: linear-gradient(to right, #5a4233, #7b5a48);
  color: #fff;
  padding: 2.5rem 1rem;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
  margin: 0;
  font-size: 3rem;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slogan {
  font-style: italic;
  margin-top: 0.8rem;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Navigation */
nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

nav a {
  color: #fbeade;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffd8b1;
}

/* Abschnitte */
section {
  padding: 3rem 1.5rem;
  max-width: 850px;
  margin: auto;
  background: #ffffffd8;
  backdrop-filter: blur(2px);
  margin-top: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.07);
}

h2 {
  color: #5a4233;
  font-size: 2rem;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid #c8b39d;
  display: inline-block;
  padding-bottom: 0.3rem;
}

/* Zitate */
blockquote {
  margin: 2rem 0 1rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #c0a378;
  background: #f8f4f0;
  font-style: italic;
  color: #4a3e36;
  border-radius: 4px;
}

/* Kontaktinfo */
.kontaktinfo {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.kontaktinfo li {
  margin: 0.6rem 0;
  font-weight: 500;
  font-size: 1.05rem;
}

/* Footer */
footer {
  background: #e7dfd4;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  margin-top: 4rem;
  color: #4a3e36;
  border-top: 1px solid #d2c3b4;
  position: relative;
  z-index: 1;
}

footer nav a {
  color: #4a3e36;
  text-decoration: none;
  margin: 0 0.8rem;
  font-weight: 500;
  transition: color 0.3s;
}

footer nav a:hover {
  text-decoration: underline;
  color: #5a4233;
}

/* Responsive Design */
@media (max-width: 700px) {
  header h1 {
    font-size: 2.2rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }

  section {
    padding: 2rem 1rem;
  }
  section h2 {
    font-size: 1.5rem;
  }
}

/* Responsive Design */
@media (max-width: 450px) {
  header h1 {
    font-size: 1.5rem;
  }
}


section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}



#hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('sonnenaufgang.webp');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  background-repeat: no-repeat;
  z-index: 0;
  transition: background-position 0.2s ease-out;
  filter: brightness(1.0);
}

.hero-inner {
  position: relative;
  text-align: center;
  top: 40vh;
  color: white;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

#hero .slogan {
  font-style: italic;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.scroll-indicator {
  font-size: 2rem;
  color: white;
  text-align: center;
  margin-top: 40px;
  animation: bounce 2s infinite;
  opacity: 0.8;
  cursor: default;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}


/* Hauptinhalt darunter beginnt erst nach dem fixierten Header */
body.index {
  padding-top: 100vh;
}

/* Back-Link zur Startseite */
.back-link {
  color: #5a4233;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.back-link:hover {
  color: #7b5a48;
  text-decoration: underline;
}
