/*
Theme Name: meintheme
*/

@media screen and (max-width: 782px) {
    .reverse-mobile {
        flex-direction: column-reverse;
    }
    .hide-mobile {
        display: none !important ;
    }
    .bild {
        width: 50%;
        height: auto;
        }
}

@media (max-width: 768px) {
  .wp-block-columns {
    justify-content: center !important;
  }

  .wp-block-column {
    flex-basis: 100% !important;
    display: flex;
    justify-content: center;
  }
}

/*Bildgroesse auf Handy-Display*/
@media (max-width: 768px) {
  .image-grid img {
    width: 80% !important;
    height: auto !important;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }
}

/*Button-Klasse, Hover-Effect*/
.wp-block-button__link {
  background-color: #06ad5c !important;
  color: #f8f8f8 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 40px !important;
  font-size: 1.06rem !important;
  font-weight: normal !important;
  display: inline-block;
  text-decoration: none !important;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.wp-block-button__link:hover {
  background-color: #059b52 !important;
  color: #f8f8f8 !important;
  transform: scale(1.05); /* nur Skalierung */
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3) !important;
}

/*etwas fixieren*/
.sticky {
    position: sticky;
    top: 0px;
    z-index: 9999;
}

/*seitlich etwas fixieren*/
.sticky-side {
    position: sticky;
    top: 250px;
    z-index: 999;
}

/*etwas in den Vordergrund holen*/
.foreground {
  z-index: 999;
}

/*Parallax section*/
/*Abschnitt 1*/
.parallax-section-1 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2049 / 470;
}
.parallax-img-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  transform: translateY(0);
  will-change: transform;
  object-fit: cover;
}

/*Abschnitt 2*/
.parallax-section-2-css {
  background-image: url('https://www-helden.de/wp-content/uploads/2025/06/augeniris-scaled.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*Mediaeinstellungen Abschnitt 2*/
/*Tablet Hochformat*/
@media (max-width: 1024px) and (orientation: portrait) {
  .parallax-section-2-css {
    height: 50vh;
    background-attachment: scroll;
  }
}
/*Tablet Querformat*/
@media (max-width: 1366px) and (orientation: landscape) {
  .parallax-section-2-css {
    height: 60vh;
    background-attachment: scroll;
  }
}
/*Smartphone*/
@media (max-width: 768px) {
  .parallax-section-2-css {
    height: 60vh;
    background-attachment: scroll;
  }
}

/*runde Textboxen im 1. Abschnitt*/
.circle-box {
  width: 13.7rem;
  height: 13.7rem;
  background-color: #d9d9d9;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  justify-content: space-between;
}
.circle-box .top-text {
  height: 50%;
  display: flex;
  align-items: flex-end; /*Text am unteren Rand der oberen Hälfte*/
  justify-content: center;
  text-align: center;
  flex-direction: column;
}
.circle-box .bottom-text {
  height: 50%;
  display: block;
  position: relative;
}
.circle-box .bottom-text-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
}
/*Mediaeinstellungen für runde Textboxen im ersten Abschnitt*/
@media (max-width: 1024px) and (min-width: 769px) {
  .circle-row.wp-block-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
  .circle-row .wp-block-column {
    flex: 0 0 22% !important;     /*reduziert auf 22%, damit alle 4 reinpassen*/
    width: 22% !important;
    max-width: 22% !important;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 0 !important;
  }
  .circle-row .circle-box {
  width: 11rem !important;
  height: 11rem !important;
  font-size: 0.75rem;
  overflow: hidden;
  word-wrap: break-word;
  white-space: normal;
}
}
@media (max-width: 768px) {
  .circle-row.wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .circle-row .wp-block-column {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 1.5rem;
    display: flex !important;
    justify-content: center !important;
  }
  .circle-row .wp-block-column * {
    font-size: 0.95rem !important; /*Erzwingt größere Schrift*/
    line-height: 1.4 !important;
  }
}

/*Kontaktformular*/
.kontaktformular .submit-container {
  text-align: center;
}
/*Gesamtzeile*/
.datenschutz-flexzeile {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}
/*Linker Bereich: Label + Stern + Checkbox*/
.datenschutz-flexzeile .nf-field-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
  order: 1;
}
/*Checkbox*/
.datenschutz-flexzeile .nf-field-element {
  order: 2;
}
/*Erklärungstext*/
.datenschutz-flexzeile .nf-error-msg,
.datenschutz-flexzeile .nf-field-description {
  order: 3;
  flex: 1;
  min-width: 200px;
  margin-top: 0.4rem;
}
/*Mediaeinstellungen für Kontaktformular Datenschutzbereich*/
@media (max-width: 600px) {
  .datenschutz-flexzeile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 1rem;
    text-align: left;
  }

  /*Label + Stern*/
  .datenschutz-flexzeile .nf-field-label label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    white-space: nowrap;
  }

  /* Checkbox + Text gemeinsam */
  .datenschutz-flexzeile .nf-field-element {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.2rem;
    width: 100%;
  }

  .datenschutz-flexzeile input[type="checkbox"] {
    margin: 0;
    transform: scale(1);
  }

  /*Text bekommt etwas Abstand zur Checkbox */
  .datenschutz-flexzeile .nf-field-description {
    margin: 0;
    padding-top: 0.4rem;  /* erzeugt den optisch passenden Abstand */
    font-size: 0.9rem;
    text-align: left;
  }
}

.kontaktformular button,
.kontaktformular input[type="submit"] {
  background-color: #06ad5c !important;
  color: #f8f8f8 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 40px !important;
  font-size: 16px !important;
  font-weight: normal !important;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  display: inline-block;
}
.kontaktformular button:hover,
.kontaktformular input[type="submit"]:hover {
  background-color: #059b52 !important; /* dunkleres Grün passend zu #06ad5c */
  color: #f8f8f8;
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3) !important;
  font-weight: normal !important;
}
.kontaktformular input[type="text"],
.kontaktformular input[type="email"],
.kontaktformular input[type="tel"],
.kontaktformular textarea,
.kontaktformular select {
  height: 50px !important;
  padding: 10px 15px !important;
  font-size: 16px !important;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.kontaktformular textarea {
  height: auto !important;
  min-height: 120px !important;
}

/*Kreis im Willkommensteil, links*/
.section-with-left-circle {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.circle-decoration-left {
  position: absolute;
  width: 80vw;
  height: 80vw;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: 5vw;
  left: -15vw;
  z-index: 0;
  pointer-events: none;
}

/*Kreis im Leistungsteil, rechts oben*/
.section-with-right-circle-top {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.circle-decoration-right-top {
  position: absolute;
  width: 60vw;
  height: 60vw;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: -20vw;
  right: -2vw;
  z-index: 0;
  pointer-events: none;
}

/*Kreis im Leistungsteil, links mittig*/
.section-with-left-circle-middle {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.circle-decoration-left-middle {
  position: absolute;
  width: 55vw;
  height: 55vw;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  top: 45vw;
  left: -5vw;
  z-index: 0;
  pointer-events: none;
}

/*Kreis im Leistungsteil, rechts unten*/
.section-with-right-circle-bottom {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.circle-decoration-right-bottom {
  position: absolute;
  width: 60vw;
  height: 60vw;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -35vw;
  right: -25vw;
  z-index: 0;
  pointer-events: none;
}

/*Kreis im Ueber-mich-Teil, links*/
.section-with-left-circle-about-me {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.circle-decoration-left-about-me {
  position: absolute;
  width: 55vw;
  height: 55vw;
  background: rgba(217, 217, 217, 0.5);
  border-radius: 50%;
  top: 3vw;
  left: -5vw;
  z-index: 0;
  pointer-events: none;
}

/*Kreis im Werkstattteil, rechts*/
.section-with-right-circle-workshop {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.circle-decoration-right-workshop {
  position: absolute;
  width: 60vw;
  height: 60vw;
  background: rgba(217, 217, 217, 0.5);
  border-radius: 50%;
  top: -28vw;
  right: -5vw;
  z-index: 0;
  pointer-events: none;
}

/*Kreis im Kontaktformular*/
.section-with-bottom-left-circle {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.circle-decoration-bottom-left {
  position: absolute;
  width: 70vw;
  height: 70vw;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -20vw;
  left: -15vw;
  z-index: 0;
  pointer-events: none;
}

/*Kreis im Footer*/
footer {
  position: relative;
  overflow: hidden;
  }
.circle-decoration-right-footer {
  position: absolute;
  width: 43.75rem;
  height: 43.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  bottom: -25rem;
  right: -15.63rem;
  z-index: 0;
  pointer-events: none;
}




/*Abschnitt Sehcheck*/
.sehcheck {
text-align: center;
margin: 0rem auto;
font-family: 'Arial', sans-serif;
max-width: 90%;
}
.sehzeile {
margin: 0.5rem 0;
font-weight: bold;
color: rgb(0, 0, 0);
letter-spacing: 0.05em;
}
.sehzeile {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.0s ease, transform 1.0s ease;
}
.sehzeile.visible {
  opacity: 1;
  transform: translateY(0);
}
.sehzeile1 {
  font-size: 8rem;
}
.sehzeile2 {
  font-size: 4rem;
  line-height: 1;
}
.sehzeile3 {
  font-size: 2rem;
  line-height: 1.4;
}
.sehzeile4 {
  font-size: 1rem;
  line-height: 1.8;
}
.sehzeile5 {
  font-size: 0.5rem;
  line-height: 2.2;
}
@media (max-width: 768px) {
  .sehzeile1 {
    font-size: 4rem;
  }

  .sehzeile2 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .sehzeile3 {
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .sehzeile4 {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .sehzeile5 {
    font-size: 0.6rem;
    line-height: 2.0;
  }
}

/*Mediaeinstellungen für Hintergrundkreise*/
/*Kreis im Willkommensteil, links*/
@media screen and (max-width: 1024px) {
  .circle-decoration-left {
    width: 100vw;
    height: 100vw;
    top: 10vw;
    left: -40vw;
  }
}
@media screen and (max-width: 768px) {
  .circle-decoration-left {
    width: 130vw;
    height: 130vw;
    top: -15vw;
    left: -70vw;
  }
}
/*Zusätzliche Kreise im Willkommensteil (nur Handy)*/
@media screen and (max-width: 768px) {
  .circle-decoration-right-middle-welcome {
    position: absolute;
    width: 130vw;
    height: 130vw;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: 180vw;
    right: -70vw;
    z-index: 0;
    pointer-events: none;
  }
  .circle-decoration-left-bottom-welcome {
    position: absolute;
    width: 130vw;
    height: 130vw;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -20vw;
    left: -70vw;
    z-index: 0;
    pointer-events: none;
  }
}

/*Kreis im Leistungsteil, rechts oben*/
@media screen and (max-width: 1024px) {
  .circle-decoration-right-top {
    width: 100vw;
    height: 100vw;
    top: -15vw;
    right: -35vw;
  }
}
@media screen and (max-width: 768px) {
  .circle-decoration-right-top {
    width: 130vw;
    height: 130vw;
    top: -15vw;
    right: -70vw;
  }
}
/*Kreis im Leistungsteil, links mittig*/
@media screen and (max-width: 1024px) {
  .circle-decoration-left-middle {
    width: 70vw;
    height: 70vw;
    top: 90vw;
    left: -10vw;
  }
}
@media screen and (max-width: 768px) {
  .circle-decoration-left-middle {
    width: 130vw;
    height: 130vw;
    top: 150vw;
    left: -70vw;
  }
}
/*Kreis im Leistungsteil, rechts unten*/
@media screen and (max-width: 1024px) {
  .circle-decoration-right-bottom {
    width: 70vw;
    height: 70vw;
    bottom: -25vw;
    right: -25vw;
  }
}
@media screen and (max-width: 768px) {
  .circle-decoration-right-bottom {
    width: 130vw;
    height: 130vw;
    bottom: -25vw;
    right: -70vw;
  }
}
/*Zusätzliche Kreise im Leistungsteil (nur Handy)*/
@media screen and (max-width: 768px) {
  .circle-decoration-right-1-leistung {
    position: absolute;
    width: 130vw;
    height: 130vw;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: 450vw;
    right: -70vw;
    z-index: 0;
    pointer-events: none;
  }
  .circle-decoration-left-2-leistung {
    position: absolute;
    width: 130vw;
    height: 130vw;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: 600vw;
    left: -70vw;
    z-index: 0;
    pointer-events: none;
  }
  .circle-decoration-right-3-leistung {
    position: absolute;
    width: 130vw;
    height: 130vw;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: 200vw;
    right: -70vw;
    z-index: 0;
    pointer-events: none;
  }
  .circle-decoration-left-4-leistung {
    position: absolute;
    width: 130vw;
    height: 130vw;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: 70vw;
    left: -70vw;
    z-index: 0;
    pointer-events: none;
  }
}

/*Kreis im Ueber-mich-Teil, links*/
@media screen and (max-width: 1024px) {
  .circle-decoration-left-about-me {
    width: 100vw;
    height: 100vw;
    top: 10vw;
    left: -40vw;
  }
}
@media screen and (max-width: 768px) {
  .circle-decoration-left-about-me {
    width: 130vw;
    height: 130vw;
    top: 80vw;
    left: -70vw;
  }
}

/*Kreis im Werkstattteil, rechts*/
@media screen and (max-width: 1024px) {
  .circle-decoration-right-workshop {
    width: 100vw;
    height: 100vw;
    top: -15vw;
    right: -35vw;
  }
}
@media screen and (max-width: 768px) {
  .circle-decoration-right-workshop {
    width: 130vw;
    height: 130vw;
    top: -35vw;
    right: -70vw;
  }
}

/*Kreis im Kontaktformular*/
@media (max-width: 1024px) {
  .circle-decoration-bottom-left {
    width: 80vw;
    height: 80vw;
    bottom: -35vw;
    left: -15vw;
  }
}
@media (max-width: 768px) {
  .circle-decoration-bottom-left {
    width: 130vw;
    height: 130vw;
    bottom: -40vw;
    left: -70vw;
  }
}

/*Kreis im Footer*/
@media screen and (max-width: 1024px) {
  .circle-decoration-right-footer {
    width: 35rem;
    height: 35rem;
    bottom: -18rem;
    right: -10rem;
  }
}
@media screen and (max-width: 768px) {
  .circle-decoration-right-footer {
    width: 130vw;
    height: 130vw;
    bottom: -50vw;
    right: -70vw;
  }
}