/* ============================= */
/* Reset & Body */
/* ============================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "inter", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6rem;
  background-color: #f4f4f4;
  padding: 20px;
  color: #222;
}

h1, h2, h3 {
  color: #333;
  font-size: 1.2rem;
  line-height: 1.3rem;
}

.hidden {
  display: none;
}

/* ============================= */
/* Links – Barrierefrei */
/* ============================= */
a {
  color: #0645ad; /* kräftiges Blau */
  text-decoration: underline;
}

a:visited {
  color: #5a3696; /* gut unterscheidbar */
}

a:hover,
a:focus {
  color: #0a58ca;
  background-color: #eef5ff;
  outline: none;
}

/* ============================= */
/* Buttons & Inputs */
/* ============================= */
button,
input[type="submit"] {
  background-color: #0053a0;   /* dunkles Blau für max. Kontrast */
  color: #ffffff !important;   /* reines Weiß */
  font-weight: 700;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  font-size: 1rem;
}

/* Hover */
button:hover,
input[type="submit"]:hover {
  background-color: #003d80; /* noch dunkleres Blau */
  color: #ffffff !important;
}

/* Focus */
button:focus,
input[type="submit"]:focus {
  outline: 3px solid #ffcc00; /* sichtbarer Fokus-Ring */
  outline-offset: 2px;
}

/* Disabled */
button:disabled,
input[type="submit"]:disabled {
  background-color: #cccccc;
  color: #333333 !important;
  cursor: not-allowed;
}

/* ============================= */
/* Container */
/* ============================= */
.press-release-container,
.pdf-container,
.audio-container,
.image-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin: 0 auto 20px;
  text-align: left;
  width: 80%;
  cursor: pointer;
}

.image-slider img {
  display: none;
}
.image-slider img:first-child {
  display: block;
}

/* ============================= */
/* Modal */
/* ============================= */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  cursor: default;
}

.modal-content {
  position: relative;
  background: #fff;
  padding: 16px;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  text-align: center;
  overflow: hidden;
}

.modal-content img {
  max-width: 100%;
  max-height: 60vh;
  border-radius: 4px;
}

.close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}
.close:hover { color: #000; }

#modalCaption {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}

.modal-controls {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.modal-controls button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background: #0053a0;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}
.modal-controls button:hover {
  background: #003d80;
}

/* Mobile */
@media (max-width: 767px) {
  .modal-content {
    max-width: 95%;
    max-height: 90%;
    padding: 10px;
  }
  .modal-content img { max-height: 50vh; }
  .close { font-size: 24px; }
  .modal-controls button {
    padding: 6px 10px;
    font-size: 13px;
  }
}

/* ============================= */
/* PDF, Tooltip, Audio, Images */
/* ============================= */
.pdf-container embed {
  width: 98%;
  height: 500px;
}

.tooltip-container { position: relative; display: inline-block; }
.info-icon { cursor: pointer; font-size: 20px; margin-left: 10px; }
.tooltip-text {
  visibility: hidden;
  width: 600px;
  background: #333;
  color: #fff;
  text-align: left;
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%; left: 50%;
  margin-left: -150px;
  opacity: 0;
  transition: opacity 0.3s;
}
.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.audio-container audio {
  width: 98%;
  min-height: 50px;
}

.image-container img {
  width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 767px) {
  .press-release-container,
  .pdf-container,
  .audio-container,
  .image-container {
    width: 95%;
    padding: 10px;
  }
  .audio-container audio { min-height: 30px; }
}

/* ============================= */
/* Sprachmenü */
/* ============================= */
.language-menu {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
}
.language-menu ul {
  list-style: none;
  display: flex;
}
.language-menu li { margin-right: 10px; }
.language-menu a {
  font-weight: bold;
  color: #111;
  text-decoration: none;
}
.language-menu a:hover,
.language-menu a:focus {
  color: #0a58ca;
  text-decoration: underline;
}

/* ============================= */
/* Typografie & Extras */
/* ============================= */
.release-date {
  font-size: 12px;
  color: #555;
  margin-left: 10px;
}
.subtitle {
  font-size: 1.1rem;
  color: #444;
  margin: 10px 0 20px;
}

/* ============================= */
/* Facebook Comments */
/* ============================= */
.fb-comments-wrapper {
  max-width: 720px;
  margin: 40px auto 80px;
  padding: 20px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
}
.fb-comments-wrapper h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #333;
  font-weight: 700;
}
.fb-comments-wrapper p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #555;
}

/* ============================= */
/* Back-to-top Button */
/* ============================= */
#backToTopBtn {
  display: none;
  position: fixed;
  bottom: 40px; right: 40px;
  z-index: 9999;
  font-size: 24px;
  border: none; outline: none;
  background-color: #0053a0;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}
#backToTopBtn:hover { background-color: #003d80; }

/* ============================= */
/* Hinweisbox */
/* ============================= */
.dokumenten-hinweis {
  max-width: 960px;
  margin: 50px auto 30px;
  padding: 20px;
  background-color: #fff4d8;
  border-left: 5px solid #e69a00;
  border-radius: 6px;
}
.dokumenten-hinweis h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #b45f00;
}
.dokumenten-hinweis p { margin: 0; color: #333; }

/* ============================= */
/* FAQ-Bereich */
/* ============================= */
.faq-section {
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 800px;
}

.faq-section h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #333;
  text-align: left;
}

.faq-item { margin-bottom: 10px; }

.faq-question {
  all: unset;
  display: block;
  width: 95%;
  margin: 0 auto;
  text-align: left;
  background-color: #f9f9f9;
  color: #222 !important;
  font-size: 1rem;
  font-weight: 600;
  padding: 15px;
  margin-bottom: 8px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: background 0.3s, color 0.3s;
}

.faq-question:hover,
.faq-question:focus {
  background-color: #ececec;
  color: #000 !important;
  outline: 2px solid #0053a0;
  outline-offset: 2px;
}

.faq-question.active {
  background-color: #0053a0;
  color: #fff !important;
  border-color: #003d80;
}

.faq-answer {
  display: none;
  padding: 12px 15px;
  border-left: 3px solid #0053a0;
  background: #fdfdfd;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.5;
  border-radius: 0 0 4px 4px;
}
.faq-answer ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

.hinweis-box {
  background-color: #fff8e1;
  border-left: 5px solid #d97706;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}
.hinweis-box strong {
  color: #b45309;
  font-weight: 700;
}
