/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme
Template: hello-elementor
Version: 1.0.1755510333
Updated: 2025-08-18 11:45:33

*/

html {
    font-size: 10px;
    scroll-behavior: smooth;
}
body {
    height: 100%;
    font-family: inherit;
    line-height: 1.5;
    overflow-x: hidden;
    background-color: #fff;
    color: #000;
}
img, picture, video, canvas, svg {
    height: auto;
    display: block;
    max-width: 100%;
    object-fit: cover;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    line-height: 1.2;
    font-weight: inherit;
}
p {
    margin-bottom: 1.6rem;
}

input, button, textarea, select {
    font-family: inherit;
    border: none;
    outline: none;
    background-image: none;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    cursor: pointer;
}
table {
    border-collapse: collapse;
    width: 100%;
}


.alternativ h3 {
    font-size: 2.2rem;
	line-height: 2.2rem!Important;
	letter-spacing: 0.2rem;
}

.alternativ h2 {
    font-size: 3rem;
	line-height:3rem!Important;
}



/* AB HIER SEITEN STYLE  */ 

/* Hover bei Hauptnavigation */
a.nav_angebot:hover .nav_sub .elementor-heading-title {
  color: #4D5446;
}

@media (max-width: 767px) {
  .nav_hauptnavigation_mobil {
    background-color: #4D5446 !important;
  }
}


.seo_h1 {
  position: absolute;
  left: -9999px;
}

/* Inputs und Textarea: Text + Placeholder mittig */
.jet-form-builder__field.text-field,
.jet-form-builder__field.text-field::placeholder,
.jet-form-builder__field.textarea-field,
.jet-form-builder__field.textarea-field::placeholder {
  text-align: center;
}

/* Textarea: Text soll trotzdem oben beginnen */
.jet-form-builder__field.textarea-field {
  vertical-align: top;
  padding-top: 10px;
}

/* Select: Text und Auswahl mittig */
.jet-form-builder__field.select-field {
  text-align: center;
  text-align-last: center; /* sorgt für mittige Anzeige des gewählten Werts */
  
  /* Platz für Icon */
  padding-right: 50px;
  
  /* eigenes Icon */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%234D5446' height='20' width='20' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;

  /* Standard-Browser-Pfeil verstecken */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


/* Submit-Button mittig */
.jet-form-builder__submit-wrap {
  display: flex;
  justify-content: center;
}

.jet-form-builder__submit {
  margin: 0 auto;
}
/* Zwei-Spalten-Layout: Abstand nur in der Mitte (Desktop) */
.jet-form-builder .wp-block-columns.is-layout-flex {
  gap: 0; /* evtl. WP-Default zurücksetzen */
}

.jet-form-builder .wp-block-columns.is-layout-flex > .wp-block-column:first-child {
  padding-right: 10px;
}

.jet-form-builder .wp-block-columns.is-layout-flex > .wp-block-column:last-child {
  padding-left: 10px;
}

/* Ausnahme für Mobil: Abstand entfernen */
@media (max-width: 768px) {
  .jet-form-builder .wp-block-columns.is-layout-flex > .wp-block-column:first-child {
    padding-right: 0;
  }
  .jet-form-builder .wp-block-columns.is-layout-flex > .wp-block-column:last-child {
    padding-left: 0;
  }
}
/* Placeholder normal anzeigen */
.jet-form-builder__field::placeholder {
  color: #999; /* Farbe kannst du anpassen */
  transition: opacity 0.2s ease;
}

/* Placeholder sofort ausblenden wenn Feld im Fokus */
.jet-form-builder__field:focus::placeholder {
  opacity: 0;
}

/* Dateigröße ausblenden */
.jet-form-builder-file-upload__message {
    display: none;
}

/* Karusell in den Angeboten
/* Nur auf Desktop (ab 1025px) aktivieren */
@media (min-width: 1025px) {
  /* Alle Slides standardmäßig kleiner */
  .elementor-widget-image-carousel .swiper-slide {
      transform: scale(0.7);
      transition: transform 0.3s ease-in-out;
      opacity: 0.6;
      z-index: 1;
  }

  /* Mittleres (zweites) Slide größer darstellen */
  .elementor-widget-image-carousel .swiper-slide.swiper-slide-next {
      transform: scale(1);
      opacity: 1;
      z-index: 2;
  }
}



/* --- Rechter Pfeil (nächster Slide) --- */
.elementor-swiper-button-next svg {
  display: none !important;
}

.elementor-swiper-button-next {
  background-image: url("https://dwb.digins.at/wp-content/uploads/Icon_Pfeil_Rechts.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 36px auto; /* doppelte Icon-Größe */
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

/* Hover-Effekt */
.elementor-swiper-button-next:hover {
  opacity: 0.7;
}

/* --- Linker Pfeil (vorheriger Slide) --- */
.elementor-swiper-button-prev svg {
  display: none !important;
}

.elementor-swiper-button-prev {
  background-image: url("https://dwb.digins.at/wp-content/uploads/Icon_Pfeil_Links.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 36px auto;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.elementor-swiper-button-prev:hover {
  opacity: 0.7;
}

/* --- Mobile & Pfeile außerhalb platzieren --- */
@media (max-width: 768px) {
  .elementor-swiper-button-prev {
    left: -30px !important;  /* außerhalb vom Bild */
    right: auto !important;
  }

  .elementor-swiper-button-next {
    right: -30px !important; /* außerhalb vom Bild */
    left: auto !important;
  }

  /* Pfeile etwas kleiner auf Mobil */
  .elementor-swiper-button-prev,
  .elementor-swiper-button-next {
    width: 60px;
    height: 60px;
    background-size: 28px auto;
  }
}

/* --- Optional: Auf Desktop ebenfalls leicht außerhalb --- */
@media (min-width: 769px) {
  .elementor-swiper-button-prev {
    left: -50px !important;
  }

  .elementor-swiper-button-next {
    right: -50px !important;
  }
}


/* Galerie zentriert ausrichten */
#gallery-1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* zentriert auch letzte Zeile */
  gap: 20px; /* Abstand zwischen den Bildern – nach Belieben anpassen */
}

/* Jedes Galerie-Item */
#gallery-1 .gallery-item {
  flex: 0 1 22%; /* etwa 4 Spalten – 22% + Abstand ergibt 100% */
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

/* Bild selbst */
#gallery-1 .gallery-icon img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Für mobile Geräte: weniger Spalten */
@media (max-width: 768px) {
  #gallery-1 .gallery-item {
    flex: 0 1 45%; /* 2 Spalten auf Tablet/Mobil */
  }
}

@media (max-width: 480px) {
  #gallery-1 .gallery-item {
    flex: 0 1 100%; /* 1 Spalte auf ganz schmalen Geräten */
  }
}

select.jet-form-builder__field {
    -webkit-appearance: none; /* Safari & iOS */
    -moz-appearance: none;    /* Firefox */
    appearance: none;         /* Standard */
    border-radius: 0 !important;
}






