
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}
header {
    position: relative;
    height: 400px;
    overflow: hidden;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slideShow 24s infinite;
    opacity: 0;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }
.slide:nth-child(4) { animation-delay: 18s; }

@keyframes slideShow {
    0% { opacity: 0; }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

header h1, header p {
    position: absolute;
    z-index: 2;
    color: white;
    #text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    width: 100%;
    text-align: center;
}
header h1 {
    top: 30%;
    font-size: 2.5em;
}
header p {
    top: 55%;
    font-size: 1.2em;
}
nav {
    background: #003060;
    text-align: center;
    padding: 10px;
}
nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
nav a:hover {
    color: #ffc107;
}
.container {
    max-width: 1000px;
    margin: auto;
    background: white;
    padding: 20px;
}
section {
    margin-bottom: 30px;
}
section img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}
footer {
    background: #004080;
    color: white;
    text-align: center;
    padding: 20px;
}
.accordion {
    cursor: pointer;
    padding: 15px;
    background-color: #eee;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    font-size: 1.1em;
    transition: 0.4s;
}
.panel {
    padding: 0 15px;
    display: none;
    background-color: white;
    overflow: hidden;
}
@media (max-width: 600px) {
    nav {
        display: flex;
        flex-direction: column;
    }
    nav a {
        margin: 10px 0;
    }
}

body {
      margin: 0;
      font-family: Arial, sans-serif;
    }

    nav {
      background-color: #003060;
      color: white;
      padding: 10px 20px;
      position: relative;
      z-index: 10;
    }

    nav .nav-links {
      display: flex;
      justify-content: center;
      gap: 20px;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
    }

    nav a:hover {
      color: #ffc107;
    }

    .menu-toggle {
      display: none;
      cursor: pointer;
      font-size: 30px;
      color: white;
      position: absolute;
      right: 20px;
      top: 10px;
      z-index: 11;
      background: #005090;
      border: 2px solid #fff;
      padding: 6px 12px;
      border-radius: 6px;
      transition: background 0.3s ease;
    }

    .menu-toggle:hover {
      background: #0074d9;
    }

    @media (max-width: 768px) {
      .menu-toggle {
        display: block;
      }

      .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -260px;
        width: 260px;
        height: 100vh;
        background-color: #003060;
        padding-top: 60px;
        transition: right 0.3s ease-in-out;
        align-items: flex-start;
        padding-left: 20px;
      }

      .nav-links.active {
        right: 0;
      }

      nav .nav-links a {
        margin: 10px 0;
      }
    }

    footer {
      background: #004080;
      color: white;
      text-align: center;
      padding: 20px;
      position: relative;
    }

    .impressum-tooltip {
      position: relative;
      display: inline-block;
      cursor: pointer;
    }

    .impressum-tooltip .tooltiptext {
      visibility: hidden;
      width: 260px;
      background-color: #eee;
      color: #333;
      text-align: left;
      border-radius: 6px;
      padding: 10px;
      position: absolute;
      z-index: 1;
      bottom: 125%;
      left: 50%;
      margin-left: -130px;
      opacity: 0;
      transition: opacity 0.3s;
      font-size: 0.9em;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .impressum-tooltip:hover .tooltiptext {
      visibility: visible;
      opacity: 1;
    }

   .infobox {
  background-color: #e8f1fc;
  color: #003060;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}


section img {
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

section img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}




.accordion {
  cursor: pointer;
  padding: 1rem;
  background-color: #f0f4fa;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  margin-bottom: 0.5rem;
}

.accordion:hover {
  background-color: #e2eaff;
}

.accordion .arrow {
  transition: transform 0.3s ease;
}

.panel {
  padding: 0.8rem 1rem;
  display: none;
  background-color: #fafcff;
  border-left: 3px solid #ccd9f2;
  border-radius: 0 0 6px 6px;
  margin-bottom: 1rem;
}

footer {
  margin-top: auto;
  background: #111;
  color: #fff;
  text-align: center;
  padding: 1rem;
}
/* Gemeinsame Variable für Innenabstand des Contents */
:root { --content-pad: clamp(.8rem, 2vw, 1.2rem); }

/* Bestehende Regel robuster machen (nutzt die neue Variable) */
.evofw-content{
  left: var(--content-pad);
  right: var(--content-pad);
}

/* --- Safari-Fix ---
   Safari hat bei animierender Breite + right/left Probleme.
   Wir ersetzen 'right' durch eine explizite Breite. */
@supports (-webkit-touch-callout: none) {
  .evofw-content{
    right: auto;
    width: calc(100% - (var(--content-pad) * 2));
  }
}



