/*
Theme Name: meintheme
*/
.sticky {
    position: sticky;
    top: 0px;
    z-index: 9999;
}
@media screen and (max-width: 782px) {
    .reverse-mobile {
        flex-direction: column-reverse;
    }
    .hide-mobile {
        display: none !important ;
    }
    .bild {
        width: 50%;
        height: auto;
        }
}
.sticky-side {
    position: sticky;
    top: 250px;
    z-index: 999;
}
.image-hover-effect .wp-block-column{ 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.image-hover-effect .wp-block-column:hover{
  z-index:1;
  transform: scale(1.15);
}
.image-hover-effect .wp-block-column h3{
  transform: translateY(260px);
}
.image-hover-effect .wp-block-column p {
    transform: translateY(250px);
}
/*Hover Effect*/
.image-hover-effect .wp-block-column:hover h3, .image-hover-effect .wp-block-column:hover p{
    transform: translateY(0);
}
@media (max-width: 768px) {
  .cta-button-wrapper {
    text-align: center !important;
  }

  .cta-button-wrapper .wp-block-buttons {
    justify-content: center !important;
  }
}
/* Gutenberg-Buttons: Orange mit Schlagschatten & keine abgerundeten Ecken */
.wp-block-button__link {
  background-color: #FD5A1B;
  color: white;
  border-radius: 0;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Schlagschatten */
}

/* Hover-Effekt */
.wp-block-button__link:hover {
  background-color: #d84e16;  /* dunkleres Orange */
  color: white;
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* stärkerer Schatten beim Hover */
}
.kontaktformular button,
.kontaktformular input[type="submit"] {
  background-color: #FD5A1B !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 14px 40px !important;
  font-size: 16px !important;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
.kontaktformular button:hover,
.kontaktformular input[type="submit"]:hover {
  background-color: #d84e16;  /* dunkleres Orange */
  color: white;
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3); /* stärkerer Schatten beim Hover */
}
.kontaktformular input[type="text"],
.kontaktformular input[type="email"],
.kontaktformular input[type="tel"],
.kontaktformular textarea,
.kontaktformular select {
  height: 50px !important;           /* Höhe für Input-Felder */
  padding: 10px 15px !important;     /* Innenabstand */
  font-size: 16px !important;        /* Lesbare Schriftgröße */
  border: 1px solid #ccc;            /* Optional: Rahmen */
  border-radius: 4px;                /* Optional: leicht abgerundet */
  box-sizing: border-box;            /* Damit Padding & Höhe zusammenpassen */
}

.kontaktformular textarea {
  height: auto !important;           /* Für Textarea lieber min-height */
  min-height: 120px !important;
}
.kontaktformular .nf-field-element {
  display: flex;
  justify-content: center;
}

/*Gesamter Bereich um Checkbox */
.kontaktformular #nf-field-23-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

/*Label mit Text + Stern */
.kontaktformular #nf-label-field-23 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: normal;
  margin: 0;
}

/*Stern */
.kontaktformular #nf-label-field-23 .ninja-forms-req-symbol {
  color: red;
  font-size: 1em;
}

/*Die Checkbox */
.kontaktformular #nf-field-23-wrap .nf-field-element {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.kontaktformular input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #FD5A1B;
  cursor: pointer;
}