/* -------------------------------------------------------------------------
   Ergaenzungen fuer die statische Fassung der Seite.
   style.css und rosenpark.css bleiben unveraendert.
   ------------------------------------------------------------------------- */

/* Honeypot gegen Spam-Bots - fuer Menschen unsichtbar, fuer Bots ausfuellbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Rueckmeldung nach dem Absenden eines Formulars */
.form-status {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 3px;
  font-weight: 600;
  line-height: 1.4;
}
.form-status.is-ok {
  color: #026d06;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
}
.form-status.is-error {
  color: #a60c07;
  background: #fdecea;
  border: 1px solid #f5c6c4;
}
/* Im dunklen Footer-Formular braucht es helleren Kontrast */
.kontakt-form-left .form-status.is-ok {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}
.kontakt-form-left .form-status.is-error {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 0.45);
}
.kontakt-page .form-status.is-ok,
.kontakt-page .form-status.is-error {
  color: inherit;
}
.kontakt-page .form-status.is-ok { color: #026d06; }
.kontakt-page .form-status.is-error { color: #a60c07; }

/* YouTube erst nach Klick laden - kein Request an Google beim Seitenaufruf */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  background: #1c1c1c center / cover no-repeat;
  overflow: hidden;
}
.video-embed-poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-embed-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 88%;
  cursor: pointer;
  white-space: normal;
  line-height: 1.3;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fallback fuer Browser ohne aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .video-embed { height: 0; padding-bottom: 56.25%; }
}
