/* Einfacher, rein clientseitiger Cookie-Banner (kein Backend nötig) */
#cc-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: #222831;
  color: #f5f5f5;
  padding: 18px 24px;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
  display: none;
  font-family: inherit;
}
#cc-banner.cc-visible {
  display: block;
}
#cc-banner .cc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
#cc-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  flex: 1 1 320px;
}
#cc-banner a {
  color: #8fd3ff;
  text-decoration: underline;
}
#cc-banner .cc-buttons {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}
#cc-banner button {
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
}
#cc-banner #cc-accept {
  background: #4caf50;
  color: #fff;
}
#cc-banner #cc-reject {
  background: transparent;
  color: #f5f5f5;
  border: 1px solid #f5f5f5;
}
@media (max-width: 600px) {
  #cc-banner .cc-inner {
    flex-direction: column;
    align-items: stretch;
  }
  #cc-banner .cc-buttons {
    justify-content: flex-end;
  }
}

/* Platzhalter fuer eingebettete Inhalte (z. B. Google Maps), solange keine Zustimmung vorliegt */
.cmplz-placeholder-parent {
  position: relative;
  background: #e9e9e9;
}
.cmplz-placeholder-parent.cc-embed-loaded .cc-embed-btn {
  display: none;
}
.cc-embed-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  border: none;
  border-radius: 4px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  background: #4caf50;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hinweis auf vorübergehend deaktivierten Formularen (Bewerbung/Kontakt),
   solange das neue PHP-Backend noch nicht angebunden ist */
.cc-form-disabled-notice {
  background: #fff3cd;
  color: #664d03;
  border: 1px solid #ffe69c;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.wpcf7-submit[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Rückmeldung nach dem Absenden von Bewerbungs-/Kontaktformular */
.wpcf7-response-output {
  display: none;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}
.wpcf7-response-output.cc-form-success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.wpcf7-response-output.cc-form-error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
