/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

li {
  list-style-type: disc;
}

.weißer .text-bild > .inner,
.news-bereich .text-bild > .inner {
  max-width: 100% !important;
  padding: 0 !important;
}

.news-list-view .f3-widget-paginator {
  display: none;
}
/* breadcrumb */
.breadcrumb li:not(:first-child) {
  padding-left: 4px;
}

/* MAIN */
.root-hero .wrapper {
  height: 50vh;
}

body.desktop .root-hero .wrapper {
  height: 40vh;
  padding: 0px;
}

body.mobile .root-hero .wrapper {
  padding: 20px 0px;
}

.gradient-white {
  z-index: 0;
  background: rgb(255, 255, 255);
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(255, 255, 255, 0)),
    color-stop(53%, rgba(255, 255, 255, 0.8855917366946778))
  );
  background: -o-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8855917366946778) 53%
  );
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8855917366946778) 53%
  );
}

.root-hero .content {
  z-index: 2;
}

p {
  text-align: justify !important;
}

p a,
.fliese a,
.text-bild li a,
.firmentemplatetextbild a {
  background: var(--red);
  color: white;
  font-weight: 800;
  padding: 0 2px 0 2px;
}
.fliese p {
  margin: 0;
}
main ul li a {
  border-bottom: 2px solid var(--red) !important;
  background-color: transparent !important;
  color: var(--red) !important;
}
.roter-bg ul a {
  border-bottom: 2px solid white !important;
  background-color: transparent !important;
  color: white !important;
}

/* splide buttons*/
.splide__pagination {
  display: none;
}

.splide__arrows {
  position: absolute;
  top: -35px;
  right: 10px;
  width: 110px;
}

.splide__arrows > button {
  background: var(--red);
  opacity: 1;
}

.splide__arrows > button > svg > path {
  fill: var(--white);
}

/* buttonsline */
.button-line {
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
}

.button-line a {
  width: 100% !important;
}

/* heading-element */

/* firmenhero */
.firmenhero .circle {
  background: var(--white);
  border-radius: 999px;
  border: 5px solid white;
  /* box-shadow: 0px 0px 5px rgb(34 34 34 / 12%); */
}
.firmenhero .text {
  background: var(--lighter);
}

/* firmendetails */
.firmendetails .logo {
  background: var(--white);
}
.firmenhero .logo img {
  border-radius: 9999px !important;
}
.firmendetails span.name {
  color: var(--red);
  font-weight: 900;
}
.firmendetails {
  background: var(--lighter);
}
.firmendetails a.main:hover {
  text-decoration: underline;
}
/* cards */
.cards .element {
  -webkit-box-shadow: 0px 0px 10px rgba(34, 34, 34, 0.245);
  box-shadow: 0px 0px 10px rgba(34, 34, 34, 0.245);
}
.cards .text p {
  background-color: var(--white);

  color: var(--red);
  font-weight: 900;
}
.cards .text {
  min-height: 10rem;
}

/* roter-bg bild | text */
.roter-bg .text {
  background-color: var(--red);
  color: white;
}
.roter-bg ul,
.firmentemplatetextbild ul {
  padding-left: 30px;
}
.roter-bg .text h2 {
  color: white;
  margin-bottom: 1rem;
  display: block;
}
.roter-bg p a {
  background: white;
  color: var(--red);
  font-weight: 800;
  padding: 0 2px 0 2px;
}

/* newsslider */
.slider-news .splide__pagination {
  display: none !important;
}

.newsElementNormal .teaser-text p {
  margin: 0 !important;
}

/* search */
#ke_search_sword {
  width: 100% !important;
  border: 2px solid var(--red) !important;
  padding: 10px 30px !important;
  color: var(--red) !important;
  top: 0px !important;
}
#ke_search_sword::-webkit-input-placeholder {
  color: var(--red) !important;
  font-weight: 900 !important;
}
#ke_search_sword::-moz-placeholder {
  color: var(--red) !important;
  font-weight: 900 !important;
}
#ke_search_sword:-ms-input-placeholder {
  color: var(--red) !important;
  font-weight: 900 !important;
}
#ke_search_sword::-ms-input-placeholder {
  color: var(--red) !important;
  font-weight: 900 !important;
}
#ke_search_sword::placeholder {
  color: var(--red) !important;
  font-weight: 900 !important;
}
.kesearchbox {
  width: 100% !important;
}

#searchButtons a,
#searchButtons input {
  margin: 0 !important;
}

/* result view search */
.result-list-item {
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 30px !important;
}
.result-list-item .heading {
  padding: 10px 20px;
}
.tx-kesearch-pi1 #kesearch_results .result-list-item .hit {
  color: var(--red) !important;
  font-weight: 900 !important;
}

.text-bild p a {
  background: var(--red);
  color: white;
  font-weight: 800;
  padding: 0 2px 0 2px;
}

/* body.desktop .bildText:nth-child(even) .text {
  display: flex;
  justify-content: end;
} */

@media only screen and (min-width: 1280px) {
  /* .bildtext-grider > div {
    aspect-ratio: 4/3!important;

  } */

  .roterBereichGrid > div {
    aspect-ratio: 4/3;
  }
}

.bildText .text {
  height: auto !important;
}

.bildtext-grider {
  width: 100%;
  overflow: hidden;
}
.bildtext-grider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.desktop .bildtext-grider:nth-child(odd) {
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "text bild";
}
body.desktop .bildtext-grider:nth-child(even) {
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "bild text";
}
body.mobile .bildtext-grider {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  grid-template-areas: "text" "bild";
}
.bildtext-grider .text {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: text;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.bildtext-grider .bild {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: bild;
}

body.desktop .bildtext-grider:nth-child(odd) .text > div {
  padding: 1.8em 1.8em 1.8em 0em;
  box-sizing: border-box;
}
body.desktop .bildtext-grider:nth-child(even) .text > div {
  padding: 1.8em 0em 1.8em 1.8em;
  box-sizing: border-box;
}

.text-bild .text .contenter {
  padding-top: 1.5em;
}
.text-bild ul {
  padding-left: 30px;

  padding-bottom: 1rem;
}
.news-list-view img {
  width: 100%;
  height: 100%;
}

/* contactform */
.contactform {
  background: var(--red);
  background-size: cover;
  background-repeat: no-repeat;
}
span.required {
  display: none !important;
}
.contactform input {
  width: 100%;
  padding: 5px 8px;
  border-radius: 13px;
  margin-bottom: 1em;
}
.contactform textarea {
  width: 100%;
  padding: 5px 8px;
  border-radius: 13px;
  margin-bottom: 1em;
  height: 130px;
}
.contactform button {
  border: 2px solid white;
  padding: 5px 30px;
  width: fit-content;
  color: white;
  font-size: 1.1rem;
  border-radius: 999px;
}
.contactform button:hover {
  background: white;
  color: var(--red);
}
/* searchform */
div.kesearchbox {
  height: auto !important;
}
#form_kesearch_pi1 {
  width: 100% !important;
  margin: 0 !important;
}

/* temelement */
.team .imageWrap {
  aspect-ratio: 1/1;
}
.team .texter p,
.team .texter {
  text-align: center !important;
}
.team .teamelement {
  box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.199);
  -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.199);
  -moz-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.199);
}
.team .elementor {
  top: -40px;
  position: relative;
}
.flip-box {
  background-color: transparent;
  aspect-ratio: 1/1;

  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  aspect-ratio: 1/1;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

.flip-box-front img,
.flip-box-back img {
  aspect-ratio: 1/1;
}

/* Style the front side (fallback if image is missing) */
.flip-box-front {
  color: black;
}

/* Style the back side */
.flip-box-back {
  color: white;
  transform: rotateY(180deg);
}

/* countup */
.countup .countelement {
  border: 5px solid white;
}
.countup .wrappercount {
  background-color: var(--red);
}
.countup .title {
  font-weight: 900;
  text-transform: uppercase;
}
.countup .text {
  font-weight: 300;
}

/* team */
.team article {
  gap: 70px 30px;
}

@media only screen and (max-width: 800px) {
  .team article {
    gap: 50px 20px;
  }
}

/* copyright */
.copyright {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 10px;
  z-index: 10;
  background: #86233d;
  color: #fff;
  padding: 0px 4px;
}
