/* ---------- Web Font ---------- */

@font-face{
  font-family: "maragsa";
  src: local(""), url("maragsa.woff2") format("woff2");
  font-display: swap;
}

h1, h2 {
  font-family: maragsa, 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

/* ---------- Navigation ---------- */
.navbar {
  position: absolute;
  top: 5px;
  width: 100%;
  height: 70px;
  background: rgba(119, 176, 199, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
}

.logo img {
  height: 40px;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 19px;
  font-family: maragsa, 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  letter-spacing: 1px;
  position: relative;
}

/* Unterstrich beim Hover */
.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 4px;
  background-color: rgba(235, 177, 14, 0.7);
  transition: width 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Dropdown-Menü */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  padding: 10px 0;
  min-width: 150px;
  list-style: none;
  z-index: 999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Standardmäßig Hamburger verstecken am Desktop */
.hamburger {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

/*  ---NAVIBEREICH ENDE---*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Seravek, 'Gill Sans Nova', Ubuntu, Calibri, 'DejaVu Sans', source-sans-pro, sans-serif;
  background: linear-gradient(to bottom, #090909, #60d1d1);
  background-size: cover;
  color: #eee; /* optional: heller Text */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url(/img/noise-small.png);
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

.bild-header {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.bild-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.bild {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: schweben 6s ease-in-out infinite alternate;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.bild1 {
  animation-delay: 0s;
  animation-name: fade1, schweben;
}

.bild2 {
  animation-delay: 0s;
  animation-name: fade2, schweben;
}

@keyframes fade1 {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes fade2 {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

@keyframes schweben {
  0% { transform: scale(1) translateY(0px); }
  100% { transform: scale(1.03) translateY(-10px); }
}

.info-container {
  max-width: 900px;      /* maximale Breite Textboxen*/
  margin: 50px auto 40px auto;  /* Abstand oben und Unten, zentriert */
  padding: 20px 30px;
  display: block;
  background: rgba(255, 255, 255, 0.05); /* leicht transparenter Hintergrund */
  border-radius: 8px;
  color: #eee;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75); /* leichter Schatten für Tiefe */
}

.info-container h1 {
  text-align: center;
  margin: 0 0 10px 0;
  font-size: 45px;
}

.info-container p {
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.headline-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.headline-text {
  flex: 1;
  text-align: right;
  padding-right: 10px;
}

.headline-separator {
  width: 4px;
  height: 150px;
  background-color: #ffffff;
  opacity: 0.8;
}

.headline-text h1 {
  text-align: right;
  margin: 0;
  font-size: 45px;
  border-bottom: 4px solid #fff; /* eigene Farbe + Stärke */
  display: inline-block;
  padding-bottom: 1px;
  background: linear-gradient(to top, #ebb10e 5%, transparent 40%);
  transform: rotate(1deg);
}

/*  --- Nur im Infobereich 1. Box verwendung  ---  */
.headline-text h2 span {
  background: linear-gradient(to top, #ebb10e 5%, transparent 40%);
  display: inline-block;
  transform: rotate(1deg);
}

.headline-text-left h2 {
  text-align: left;
  margin: 5px 0 0 0;
  font-size: 28px;
  font-weight: normal;
  color: #eee;
}

.headline-text-left h2 span {
  background: linear-gradient(to top, #ebb10e 5%, transparent 40%);
  display: inline-block;
  transform: rotate(-2deg);
}

.headline-text-right h2 {
  text-align: right;
  margin: 5px 0 0 0;
  font-size: 28px;
  font-weight: normal;
  color: #eee;
}

.headline-text-right h2 span {
  background: linear-gradient(to top, #ebb10e 5%, transparent 40%);
  display: inline-block;
  transform: rotate(-2deg);
}

.headline-text-left,.headline-text-right {
  clear: both;
}

.content-info {
  margin: 20px auto 0 auto;
  max-width: 600px;
  text-align: center;
  transform: rotate(2deg);
}

/* Hier explizit für die <p> innerhalb der Box */
.content-info p {
  text-align: center;
  font-size: 25px;
}

.content-text {
  margin: 20px auto 0 auto;
  max-width: 600px;
  text-align: center;
  /*transform: rotate(1deg);*/
}

.content-list {
  margin: 20px auto;
  max-width: 600px;
  text-align: left;
}

.content-list ul {
  list-style-position: inside;
  font-size: 20px;
  line-height: 1.3;
  padding-left: 0;
  margin: 0;
}

.content-list li {
  margin-bottom: 10px;
}

/* Hier explizit für die <p> innerhalb der Box content text */
.content-text p {
  text-align: justify;
  font-size: 20px;
  line-height: 1.3; 
}

.img-float-right {
  float: right;
  margin: 0 0 10px 30px;
  width: 280px;           /* Bildgröße evtl anpassen !auch unten für float left */
  height: 200px;
  object-fit: cover;
  border-radius: 100px 0 100px 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.img-float-left {
  float: left;
  margin: 0 20px 10px 0;
  width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 0 100px 0 100px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.headline-logo img {
  height: 150px;
  background: none;
  box-shadow: none;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

.content-container {
  max-width: 900px;      /* maximale Breite */
  margin: 50px auto 40px auto;  /* Abstand oben (z. B. unter dem Menü), zentriert */
  padding: 20px 30px;
  display: block;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.2)), rgba(255,255,255,0.05);
  border-radius: 8px;
  color: #eee;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75); /* leichter Schatten für Tiefe */
}

.content-container h1 {
  text-align: left;
  margin: 0 0 10px 0;
}

.content-container p {
  margin: 0 0 10px 0;
  line-height: 1.4;
}

/* ---------- mini Slideshow   ----------- */

/* Slideshow links */
.mini-slideshow-left {
  float: left;
  margin: 0 20px 10px 0;
  width: 280px;
  height: 200px;
  border-radius: 0 100px 0 100px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

/* Slideshow rechts */
.mini-slideshow-right {
  display: inline-block;
  vertical-align: top;
  margin: 0 0 10px 20px;
  width: 280px;
  height: 200px;
  border-radius: 100px 0 100px 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

/* Slideshow Bilder */
.mini-slide {
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.mini-slide1 {
  animation: mini-fade1 6s infinite alternate, mini-schweben 6s ease-in-out infinite alternate;
}

.mini-slide2 {
  animation: mini-fade2 6s infinite alternate, mini-schweben 6s ease-in-out infinite alternate;
}

.mini-slide3 {
  animation: mini-fade2 6s infinite alternate, mini-schweben 6s ease-in-out infinite alternate;
}

/* Keyframes Fade */
@keyframes mini-fade1 {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@keyframes mini-fade2 {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

/* Bewegungseffekt */
@keyframes mini-schweben {
  0% { transform: scale(1) translateY(0px) translateX(0px); }
  50% { transform: scale(1.05) translateY(-10px) translateX(5px); }
  100% { transform: scale(1.03) translateY(-5px) translateX(-3px); }
}

/* ------------- FAQ ------------- */

.faq-container {
  max-width: 900px;
  margin: 50px auto;
  padding: 20px 30px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.2)), rgba(255,255,255,0.05);
  border-radius: 8px;
  color: #eee;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
}

.faq-item, .faq-container details {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  text-align: left;
}

.faq-question, .faq-container summary {
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  padding: 10px;
  transition: background 0.3s;
  margin-bottom: 1em;
  text-align: center;
}

.faq-question:hover, .faq-container summary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 10px;
}

.faq-item:hover .faq-answer {
  max-height: 500px; /* reicht für längere Antworten */
  padding: 10px;
}

/*  ------------ Footer ---------- */
.site-footer {
  margin-top: 50px;
  padding: 20px 30px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.2)), rgba(255,255,255,0.05);
  color: #eee;
  text-align: center;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.75);
  border-radius: 8px 8px 0 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer a {
  color: #eee;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #60d1d1;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 20px;
}

.footer-logos img {
  height: 50px;
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.footer-logos img:hover {
  transform: scale(1.1);
}

/* ========== Responsive Mobile Optimierung ========== */

@media screen and (max-width: 768px) {

  /* Navbar: flex-wrap und kleinere Abstände */
  .navbar {
    flex-wrap: wrap;
    align-items: flex-start;
    height: auto;
    padding: 10px 20px;
  }

  /* Logo verkleinern */
  .logo img {
    height: 30px;
    margin-bottom: 10px;
  }

  /* Hamburger sichtbar machen */
  .hamburger {
    display: block;
    font-size: 30px;
    color: white;
    cursor: pointer;
    margin-left: auto;
  }

  /* Menü standardmäßig ausgeblendet */
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 5px;
  }

  /* Wenn Hamburger aktiviert → Menü anzeigen */
  .nav-links.active {
    display: flex;
  }

  /* Navigationseinträge */
  .nav-links li {
    width: 100%;
    text-align: left;
    padding: 5px 20px;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 10px 0;
    font-size: 17px;
  }

  /* Dropdown-Menüs auch im mobilen Layout */
  .dropdown-menu {
    position: relative;
    padding-left: 15px;
    background: none;
    display: none;
  }

  .dropdown-menu.open {
    display: block;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }

  /* Content-Container verkleinern für mobile Ansicht */
  .content-container {
    margin: 30px 10px;
    padding: 15px;
  }

  .content-container h1 {
    font-size: 1.4em;
  }

  /* Info-Container ebenfalls anpassen */
  .info-container {
    margin: 30px 10px;
    padding: 15px;
  }

  .info-container h1 {
    font-size: 2em;
  }

  /* Textgrößen global anpassen */
  body {
    font-size: 16px;
  }
}

/* MISC */
.nobr {
  white-space: nowrap;
}

main a {
  color: #eda;
  font-weight: bold;
}

main a:hover {
  color: #feb;
}
