/* Grundlayout */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

/* HEADER-BEREICH */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Schriftzug unten links im Bild */
.hero-overlay {
  position: absolute;
  bottom: 200px; 
  left: 260px;
  color: white;
  text-align: left;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  z-index: 5;
  font-family: "Times New Roman", Times, serif;
}

.hero-overlay h1 {
  font-size: 3.2em;
  margin: 0;
  line-height: 1.2;
  font-weight: bold;
}

/* Navigation oben im Bild */
.main-nav {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.75);
  padding: 10px 15px;
  border-radius: 4px;
  z-index: 10;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  gap: 15px;
  flex-wrap: nowrap;
}

.main-nav ul li {
  flex: 0 0 auto;
}

.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 5px;
  display: inline-block;
}

.main-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.main-nav ul li a i {
  margin-right: 6px;
  vertical-align: middle;
}

.main-nav ul li a.active {
  background-color: orange;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
}

/* HAUPTBEREICH */
main {
  padding: 20px;
  max-width: 1000px;
  margin: auto;
  background-color: white;
}

/* AMIFAMPRIDIN BLOCK */
.amifampridin {
  background-color: #eef6ff;
  border-left: 6px solid #004080;
  padding: 20px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.amifampridin h2 {
  color: #004080;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.amifampridin p {
  font-size: 1.1em;
  color: #333;
}

.fallserie {
  background-color: #eef6ff;
  border-left: 6px solid #004080;
  padding: 20px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.fallserie h2 {
  color: #004080;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.fallserie p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.bild-block {
  text-align: center;
  margin-bottom: 20px;
}

img.zentriert {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* PUBLIKATION BLOCK */
.publikation {
  background-color: #eef6ff;
  border-left: 6px solid #004080;
  padding: 20px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.publikation h2 {
  color: #004080;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.publikation p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.publikation .bild-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.publikation .bild-block img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  object-fit: contain;
}

.publikation-link {
  margin-top: 10px;
}

.pub-grid-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.pub-left {
  flex: 1 1 400px;
}

.pub-right {
  flex: 1 1 300px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pub-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.pub-abstracts {
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .pub-grid-top {
    flex-direction: column;
  }
}

/* LINK-BUTTONS */
.link-button {
  display: inline-block;
  background-color: #004080;
  color: white;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  margin-top: 10px;
}

.link-button:hover {
  background-color: #0066cc;
}

/* FOOTER */
footer {
  position: relative;
  background-color: #f0f0f0;
  text-align: center;
  padding: 40px 20px 20px;
  font-size: 0.9em;
  color: #333;
  overflow: hidden;
}

.footer-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.footer-links {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 30px;
  z-index: 2;
}

.footer-icon {
  font-size: 1.8em;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer-icon:hover {
  background-color: #004080;
}

.footer-legal {
  position: absolute;
  bottom: 20px;
  right: 20px;
  max-width: 40%;
  text-align: right;
  color: white;
  font-size: 0.9em;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 12px;
  border-radius: 6px;
  z-index: 2;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-legal a {
  color: white;
  text-decoration: underline;
  margin: 0 4px;
}

.footer-legal a:hover {
  text-decoration: none;
}

.footer-legal a.active {
  background-color: orange;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
}

.datenschutz-block {
  background-color: #eef6ff;
  border-left: 4px solid #004080;
  padding: 20px;
  margin: 30px auto;
  max-width: 800px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 5px;
}

.datenschutz-block h2 {
  color: #004080;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.datenschutz-block h3 {
  color: #004080;
  font-size: 1.4em;
  margin-top: 30px;
  margin-bottom: 10px;
}

.datenschutz-block p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.datenschutz-block a {
  color: #004080;
  text-decoration: underline;
}

.datenschutz-block a:hover {
  text-decoration: none;
}

.button-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
}

.custom-button {
  display: inline-block;
  padding: 12px 20px;
  font-size: 1.1em;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.custom-button i {
  transition: transform 0.3s ease;
}

.custom-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.custom-button:hover i {
  transform: scale(1.2);
}

/* Farbvarianten */
.btn-blue {
  background-color: #007bff;
}

.btn-blue:hover {
  background-color: #0056b3;
}

.btn-gray {
  background-color: #6c757d;
}

.btn-gray:hover {
  background-color: #495057;
}

.btn-green {
  background-color: #28a745;
}

.btn-green:hover {
  background-color: #1e7e34;
}


.fallserie-einleitung-block {
  margin: 40px auto;
  max-width: 1000px;
  padding: 20px;
  background-color: #f8f9fa;
  border-left: 6px solid #004080;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.fallserie-einleitung-block h3 {
  color: #004080;
  font-size: 1.6em;
  margin-bottom: 20px;
}

.fallserie-einleitung-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.fallserie-einleitung-text {
  flex: 2 1 600px;
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.motivation-block {
  margin: 40px auto;
  max-width: 1000px;
  padding: 20px;
  background-color: #f8f9fa;
  border-left: 6px solid #004080;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.motivation-block h3 {
  color: #004080;
  font-size: 1.6em;
  margin-bottom: 20px;
}

.motivation-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.motivation-image {
  flex: 1 1 300px;
  max-width: 300px;
}

.motivation-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.motivation-text {
  flex: 2 1 600px;
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.patientenfaelle {
  margin: 40px auto;
  max-width: 1000px;
  padding: 20px;
  background-color: #eef6ff;
  border-left: 6px solid #004080;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.patientenfaelle h3 {
  color: #004080;
  font-size: 1.6em;
  margin-bottom: 20px;
}

.patientenfall {
  margin-bottom: 30px;
}
                                
.patientenfall h4 {
  font-size: 1.2em;
  color: #004080;
  margin-bottom: 10px;
}

.patientenfall p {
  font-size: 1.05em;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding-left: 1em;
}

.studie-block {
  margin: 40px auto;
  max-width: 1000px;
  padding: 20px;
  background-color: #eef6ff;
  border-left: 6px solid #004080;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.studie-block h3 {
  color: #004080;
  font-size: 1.6em;
  margin-bottom: 20px;
}

.studie-block h4 {
  font-size: 1.3em;
  margin-top: 30px;
  color: #004080;
}

.studie-block p,
.studie-block ul {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.studie-block ul {
  padding-left: 20px;
}

.figure-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.figure-block img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0;
}

.figure-caption {
  font-size: 0.95em;
  color: #555;
  margin-top: 4px;
  line-height: 1.2;
  text-align: left;
  width:100%;
}

.responsive-img {
  width: 100%;
  height: auto;
  margin: 20px 0;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.publikation-block {
  background-color: #eef6ff;
  border-left: 6px solid #004080;
  padding: 20px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.publikation-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.publikation-text {
  flex: 2 1 600px;
}

.publikation-image {
  flex: 1 1 300px;
  max-width: 300px;
}

.publikation-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.publikation-text h3,
.publikation-abstracts h3 {
  color: #004080;
  font-size: 1.4em;
  margin-top: 20px;
}

.publikation-text ul,
.publikation-abstracts ul {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
  padding-left: 20px;
}

.publikation-abstracts {
  margin-top: 20px;
}

.vita-block {
  background-color: #eef6ff;
  border-left: 6px solid #004080;
  padding: 20px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.vita-block h2 {
  color: #004080;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.vita-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.vita-image {
  flex: 1 1 300px;
  max-width: 300px;
}

.vita-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
}

.vita-image:hover {
  transform: scale(1.03);
}

.vita-text {
  flex: 2 1 600px;
}

.vita-text h3 {
  color: #004080;
  font-size: 1.4em;
  margin-top: 20px;
}

.vita-text p,
.vita-text ul {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
}

.vita-text ul {
  padding-left: 20px;
}

.zusammenfassung-block {
  background-color: #eef6ff;
  border-left: 6px solid #004080;
  padding: 20px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 8px;
}

.zusammenfassung-block h3 {
  font-size: 1.4em;
  color: #004080;
  margin-bottom: 15px;
}

.zusammenfassung-block p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #333;
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
  main {
    padding: 10px;
  }

  .main-nav {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .main-nav ul li a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }

  .hero-overlay h1 {
    font-size: 1.6em;
  }

  .motivation-container {
    flex-direction: column;
    align-items: center;
  }

  .motivation-image,
  .motivation-text {
    max-width: 100%;
  }

  .publikation-container {
    flex-direction: column;
    align-items: center;
  }

  .publikation-text,
  .publikation-image {
    max-width: 100%;
  }

  .vita-container {
    flex-direction: column;
    align-items: center;
  }

  .vita-image,
  .vita-text {
    max-width: 100%;
  }

  .vita-text {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .main-nav ul li a {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}