body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;

  /* Platz für Top-Navigation (lang-switch oder topbar) */
  padding: 88px 20px 60px;
}

.container {
  max-width: 640px;
  margin: auto;
}

.logo {
  width: 320px;
  max-width: 78%;
  height: auto;
  margin-bottom: 30px;
}

h1 {
  font-size: 34px;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

h2 {
  font-weight: normal;
  letter-spacing: 3px;
  margin-top: 0;
  margin-bottom: 25px;
}

p {
  color: #ccc;
  line-height: 1.6;
}

.button {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 26px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  transition: 0.3s;
}

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

.section {
  margin-top: 70px;
}

.section h3 {
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.about-link {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.about-link:hover {
  color: #c6a15b;
}

/* ---------------------------
   LANGUAGE SWITCH (Index)
--------------------------- */

#lang-switch {
  position: fixed;
  top: 18px;
  left: 18px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 50;
}

#lang-switch a {
  color: #fff;
  text-decoration: none;
  opacity: 0.7;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

#lang-switch a:hover {
  opacity: 1;
}

#lang-switch .sep {
  opacity: 0.5;
}

#lang-switch .flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  display: inline-block;
}

/* ---------------------------
   TOPBAR (About/Cookies/etc.)
--------------------------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 18px;
  z-index: 60;

  /* dezent, damit Text nie "abschneidet" */
  background: linear-gradient(to bottom, rgba(0,0,0,0.88), rgba(0,0,0,0));
  backdrop-filter: blur(2px);
}

.topback {
  color: #c6a15b;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.95;
  white-space: nowrap;
}

.topback:hover {
  opacity: 1;
  text-decoration: underline;
}

.toplang {
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  /* wichtig: sonst kann rechts abgeschnitten werden */
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.toplang a {
  color: #fff;
  text-decoration: none;
  opacity: 0.75;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.toplang a:hover {
  opacity: 1;
}

.toplang .sep {
  opacity: 0.5;
}

.toplang .flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  display: inline-block;
}

/* Optional: dreisprachiger Titel unter dem Logo */
.tri-title {
  margin-top: 10px;
  letter-spacing: 1px;
  font-weight: normal;
  opacity: 0.9;
}

/* ---------------------------
   IMAGES
--------------------------- */

.hero-img {
  width: 240px;
  max-width: 80%;
  border-radius: 8px;
  margin: 20px auto 10px;
  opacity: 0.95;
  display: block;
}

.portrait-wrap {
  margin-top: 10px;
}

.portrait {
  width: 140px;
  max-width: 60%;
  border-radius: 50%;
  margin: 18px auto 0;
  opacity: 0.95;
  display: block;
}

/* TEXT BLOCK BALANCING */

.tagline {
  font-size: 20px;
  line-height: 1.6;
  max-width: 520px;
  margin: 18px auto 0;
}

/* ---------------------------
   FOOTER
--------------------------- */

footer {
  margin-top: 70px;
  opacity: 0.6;
  font-size: 14px;
}

footer a {
  color: #c6a15b;
  text-decoration: none;
}

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

/* ---------------------------
   BACK BUTTON (legacy)
--------------------------- */

.back-button {
  display: inline-block;
  margin-top: 40px;
  padding: 10px 22px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 14px;
  transition: 0.3s;
}

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

/* ---------------------------
   MOBILE
--------------------------- */

@media (max-width: 600px) {
  /* mehr Platz, falls Topbar 2-zeilig wird */
  body {
    padding: 112px 16px 50px;
  }

  .logo {
    width: 260px;
    max-width: 86%;
    margin-bottom: 24px;
  }

  h1 {
    font-size: 30px;
  }

  .hero-img {
    width: 210px;
  }

  #lang-switch {
    left: 12px;
    top: 12px;
    gap: 8px;
  }

  #lang-switch a {
    gap: 5px;
  }

  /* ✅ FIX: absolut robust gegen "Deutsch" abgeschnitten
     Mobile Topbar wird bewusst zweizeilig:
     1) Back-Link oben
     2) Sprachen darunter (wrap möglich)
  */
  .topbar {
    padding: 10px 12px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .toplang {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
  }

  .toplang .flag {
    width: 16px;
    height: 11px;
  }

  .topback {
    font-size: 13px;
  }
}
