html, body {
  font-family: "Inter", "Helvetica Neue", sans-serif;
  height: 100%;
  margin: 0
}

body {
    overflow-x: hidden;

}

.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* ============================
   HEADER (Sticky + Navigation)
   ============================ */

/* header {
  position: sticky;
  top: 0;
  z-index: 999;
  
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1rem 2rem;
  background: linear-gradient(90deg, #3EADA8, #014d49);
  color: white;

  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
} */

/*
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  color:  #0b0c0c;
  background: linear-gradient(90deg, #3EADA8, #014d49);
  backdrop-filter: blur(6px);    /* moderner Glaseffekt
  transition: background 0.3s ease;
} */

/*
header {
  position: sticky;
  top: 0;
  z-index: 1000;

  width: 100vw;                    /* volle Bildschirmbreite
  margin-left: calc(50% - 50vw);   /* Full-Bleed (um Wrapper herum)
  padding: 1rem 2rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: linear-gradient(90deg, #3EADA8, #014d49);
  backdrop-filter: blur(6px);
  transition: background 0.3s ease;
} */

header {
  position: sticky;
  top: 0;

  backdrop-filter: blur(6px);
  transition: background 0.3s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.5);
}

footer {
  /*
  position: relative;
  bottom: 0;
  */
  position: static;
}

header, footer {
  z-index: 1000;

  margin-left: calc(50% - 50vw);
  width: 98vw;                /* statt 100vw → verhindert Überbreite */
  left: 0;                    /* stellt sicher, dass er am linken Rand sitzt */

  padding: 1rem;
  margin-right: 4rem;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color:  #0b0c0c;
  background: linear-gradient(90deg, #3EADA8, #014d49);
}

.content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Logo neutral */
/* .logo-link {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: white;
  text-decoration: none;
  pointer-events: none;  /* kein Link-Effekt
  cursor: default;
}

.logo-link:hover::after {
  width: 0 !important;
} */

/* Logo-Link: neutral aussehen, aber klickbar & zugänglich */
.logo-link {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;

  color: white;             /* neutrale Farbe (weiß) */
  text-decoration: none;    /* keine Unterstreichung */
  background: transparent;
  padding: 0;               /* verhindert visuelle Verschiebung */
  display: inline-block;

  pointer-events: auto;     /* WICHTIG: wieder klickbar */
  cursor: pointer;
}

.footer-link {
  color: white;             /* neutrale Farbe (weiß) */
  text-decoration: none;    /* keine Unterstreichung */
  background: transparent;
  padding: 0;               /* verhindert visuelle Verschiebung */
  display: inline-block;

  pointer-events: auto;     /* WICHTIG: wieder klickbar */
  cursor: pointer;
}

/* dezenter visueller Feedback für Hover / Fokus (Barrierefreiheit) */
.footer-link:hover,
.footer-link:focus,
.logo-link:hover,
.logo-link:focus {
  outline: none;
  color: #014d49;
  text-decoration: none;
}

/* sichtbarer Fokus für Tastaturnutzer */
.footer-link:focus-visible,
.logo-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(62, 173, 168, 0.25);
  border-radius: 4px;
}

/* Falls deine globale nav a::after Regel sich ungewollt auswirkt:
   sicherstellen, dass das Logo keine Hover-Linie bekommt */
.footer-link::after,
.logo-link::after {
  content: none;
}

/* Desktop Navigation */
/* nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
} */

.logo-img {
  width: 100px;
  position: relative;
  /* top: 120px;    /* Abstand zur Header-Unterkante */
  height: fit-content;
}

.logo-img img {
  width: 100%;
  height: auto;
}

nav ul {
  display: flex;
  flex-direction: row;
  list-style: none;
  gap: 1.5rem;
  margin: 0 1rem;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

/* Hover-Linie */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Hamburger Button */
/*
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin: 1rem;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: 0.3s ease;
} */

/* Basis Styling */

.hamburger-icon-container {
  color: transparent;
  height: 1.7em;
  width: 1.7em;
  position: relative;
  cursor: pointer;
  background: currentColor;
  border:10px solid currentColor;
  border-radius: 3px;
}

.hamburger-icon,
.hamburger-icon:before,
.hamburger-icon:after {
  content: '';
  position: absolute;
  height: 3px;
  width: 1.7em;
  background: white;
  transition: all .2s ease;
}

.hamburger-icon {
  top: 0.75em
}

.hamburger-icon:before {
  top: -0.55em
}

.hamburger-icon:after {
  top: 0.55em
}

/* Darstellung wenn das Close-Icon angezeigt werden soll */

.hamburger-active .hamburger-icon {
  background: transparent;
  transform: rotate(-135deg)
}

.hamburger-active .hamburger-icon:before,
.hamburger-active .hamburger-icon:after {
  top: 0
}

.hamburger-active .hamburger-icon:before {
  transform: rotate(90deg)
}

@media (max-width: 768px) {
  #nav {
    display: none;
  }

  body.hamburger-active #nav {
    display: block;
  }
}

/* Mobile-only anzeigen (wenn du willst) — sonst anpassen */
@media (min-width: 769px) {
  /* standardmäßig ausgeblendet auf Desktop, falls du Desktop-Menü haben willst */
  .hamburger-icon-container { display: none; }
}

/* -------------------------
   MOBILE NAVIGATION
   ------------------------- */

@media (max-width: 768px) {
  header nav {
    display: none;
    width: 100%;
  }

  header nav.open {
    display: block;
  }

  header .hamburger {
    display: flex;
  }

  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  header nav ul {
    flex-direction: column;
    padding: 0.5rem 0;
  }

  header nav li {
    width: 100%;
  }

  header nav a {
    display: block;
    padding: 0.5rem 0;
  }
}

/* ============================
   3-Spalten-Layout
   ============================ */

.layout {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  position: relative;
}

.side-left {
  width: 150px;
  position: sticky;
  top: 120px;    /* Abstand zur Header-Unterkante */
  height: fit-content;
}

.side-left img {
  width: 100%;
  height: auto;
}

.side-right {
  width: 400px;
  position: sticky;
  top: 120px;
  height: fit-content;
  background: #fff;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (min-width: 1025px) {
  .logo-img {
    display: none;
  }
}

@media (max-width: 1024px) {
  .side-left,
  .side-right {
    display: none;
  }

  .layout {
    justify-content: center;
  }
}

/* ============================
   MAIN CONTENT
   ============================ */

main {
  flex: 1; /* Hauptinhalt nimmt den Platz ein */
  max-width: 900px;
margin: 0 auto;
  padding: 0 1rem;
  line-height: 1.6;
  color: #333;
  font-family: "Inter", "Helvetica Neue", sans-serif;
}

/* Section spacing */
section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e0e0e0;
}

/* Title (h3) */
h3 {
  font-size: 1.8rem;
  color: #1e3c72;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  text-align: center;
}

h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: #283B71;
  margin-top: 0.3rem;
  border-radius: 2px;
  margin-left: auto;
  margin-right: auto;
}

/* Subtitles (h4) */
h4 {
  font-size: 1.3rem;
  color: #F7A53B;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center
}

/* Paragraphs */
p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  max-width: 750px;
  margin: 0 auto;
  /* text-align: center; */
}

ul {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  max-width: 750px;
  margin: 0 auto;
}

p a {
  text-decoration: none;
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
  max-width: 750px;
  margin: 0 auto;
}
/*
p iframe {
  height: 59vw;
  width: 40vw;
}
  */

p img {
  height: auto;
  max-width: 40vw;
}

/*
/*Desktop/Laptop
@media (min-width: 769px) {
   p iframe {
    display: block;
  }

  p img {
    display: none;
  }
}

/*Mobile Device
@media (max-width: 768px) {
  p iframe {
    display: none;
  }

  p img {
    display: block;
  }
}
*/

.centered-list{
  margin: 0 auto;
  width: 60%;
}

.bold {
  font-weight: 600;
}

.italic {
  font-style: italic;
}

p.bold, p.italic, #impressum p  {
  text-align: center;
}

#impressum img {
  display: block;
  margin: 0 auto;
  width: 20%;
  height: auto;
}

@media (max-width: 768px) {
  h3 {
    font-size: 1.6rem;
  }

  h4 {
    font-size: 1.2rem;
  }

  p {
    font-size: 0.95rem;
  }
}

/* ============================
   HERO SECTION + PARALLAX FIX
   ============================ */

.hero {
  width: 106vw;
  margin-top: 0;
  margin-left: calc(50% - 50vw);  /* verhindert Begrenzung durch Wrapper */
  position: relative;
  min-height: 100vh;

  background-color: white;
  background-image: url("background_5.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* Dark overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  text-align: center;       /* Text + Button zentrieren */
  display: flex;            /* Inhalt kontrollieren */
  flex-direction: column;   /* untereinander anordnen */
  align-items: center;      /* horizontal zentrieren */
  justify-content: center;
}

/* Typography Hero */
.hero h3 {
  font-size: 3.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #3EADA8;
}

.hero h3::after {
  background-color: #57ada9;
}

.hero h4 {
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 2rem auto;   /* Absatz als Block zentrieren */
  /* margin-bottom: 2rem; */
  color: #f2f2f2;
  /* text-align: center; */
}

/* Call-to-action button */
.hero .btn {
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  padding: 0.8rem 1.8rem;
  background: linear-gradient(90deg, #3EADA8, #014d49);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.hero .btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #014d49, #426866);
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero h3 {
    font-size: 1.8rem;
  }

  .hero h4 {
    font-size: 1.2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* Desktop echtes Parallax */
@media (min-width: 769px) {
  .hero {
    background-attachment: fixed;
  }
}