/* =========================
   GLOBAL HEADER
========================= */
.site-header {
  padding: 1rem 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: transparent;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Logo */
.site-logo {
  width: 100%;
  max-width: 184px;
  height: auto;
}

.site-logo img {
  max-height: 119px;
  width: auto;
}
/* =========================
   Language-switcher 
========================= */
.language-switcher {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 20;
  font-family: "Inter", sans-serif; /* Sans-Serif wie Fließtext */
}

.language-switcher .current-lang {
  cursor: pointer;
  color: rgba(255, 255, 255, 0.85); /* leicht transparenter Weißton */
  font-weight: 500;
  font-size: 0.86rem;
  padding: 0.3rem 0.5rem;
  backdrop-filter: blur(6px); /* leichter Blur für Lesbarkeit */
  background: rgba(255, 255, 255, 0.05); /* transparent, dezent */
  border-radius: 4px;
  transition: background 0.3s;
}

.language-switcher .current-lang:hover {
  background: rgba(255, 255, 255, 0.25);
}

.language-switcher .lang-list {
  list-style: none;
  margin: 0;
  padding: 0.2rem 0;
  position: absolute;
  right: 0;
  top: 100%;
  display: none; /* initially hidden */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  overflow: hidden;
  min-width: 50px;
}

.language-switcher .lang-list li a {
  display: block;
  padding: 0.3rem 0.5rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.language-switcher .lang-list li a:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Dropdown Toggle */
.language-switcher:hover .lang-list {
  display: block;
}

/* Mobile Anpassung */
@media (max-width: 480px) {
  .language-switcher {
    top: 1rem;
    right: 1rem;
  }
  .language-switcher .current-lang,
  .language-switcher .lang-list li a {
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
  }
}

/* =========================
   HERO ONEPAGER
========================= */
.hero-onepager {
  position: relative; /* für das absolute Bild */
  width: 100vw;
  min-height: 100vh; /* immer volle Höhe */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
  overflow: hidden; /* Bild überschreitung verhindern */
}

/* Hero Hintergrundbild */
.hero-onepager img.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* füllt immer Container */
  object-position: center;
  z-index: -1; /* hinter Text */
}

/* Hero H1 */
.hero-onepager h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
  position: sticky;
  top: 2rem; /* Abstand vom oberen Hero-Rand */
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

/* Hero Paragraph */
.hero-onepager p {
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto 2rem auto;

  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
}

/* Optional: Hero H2/H3 im selben Stil */
.hero-onepager h2,
.hero-onepager h3 {
  font-family: "Playfair Display", serif;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* =========================
   ANIMATION KEYFRAMES
========================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   RESPONSIVE Anpassungen
========================= */
@media (max-width: 480px) {
  .hero-onepager {
    padding: 2rem 1rem;
  }
  .hero-onepager h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }
  .hero-onepager p {
    font-size: 0.95rem;
  }
}

/* =========================
   Generelle Typografie
========================= */
h2 {
  font-weight: 400;
  letter-spacing: 0.03em;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

p {
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

h3 {
  font-weight: 400;
  letter-spacing: 0.02em;
  font-size: 1.4rem;
  line-height: 1.4;
}

h4 {
  font-weight: 400;
  letter-spacing: 0.015em;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* =========================
   Legal: Header normal
========================= */

.legal-page .site-header {
  position: absolute;
  background: transparent;
}

/* =========================
   Legal: Hero kompakt
========================= */

.legal-page .hero-onepager {
  min-height: auto;
  background: #5b745f;
  padding: 8rem 1.5rem 4rem 1.5rem; /* oben mehr Platz für Logo */
}

/* =========================
   FOOTER
========================= */
footer {
  background: var(--bg-alt);
  padding: 2rem 5%;
  text-align: center;
}

footer .footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

footer .footer-inner a {
  color: var(--text-main);
  text-decoration: none;
  margin: 0 0.3rem;
}

footer .footer-inner a:hover {
  text-decoration: underline;
}

/* Instagram Icon */
.footer-social {
  margin-top: 0.8rem;
}

.instagram-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.instagram-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Mobile */
@media (max-width: 600px) {
  footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
/* =========================
   Legal: ruhige Überschrift
========================= */

.legal-page .hero-onepager h1 {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: none;
  margin-bottom: 1.5rem;

  opacity: 1;
  transform: none;
  animation: none;

  width: 100%;
  max-width: 1200px;
  padding-left: 5%;
  padding-right: 5%;
  box-sizing: border-box;

  /* ====== Silbentrennung ====== */
  overflow-wrap: normal; /* keine willkürlichen Worttrennungen */
  word-break: normal; /* keine harten Wortumbrüche */
  hyphens: auto; /* erlaubt Trennung nach Silben */
}