:root {
  --color-primary: rgba(34, 66, 115, 1);
  --color-primary-light: rgba(83, 109, 163, 1);
  --color-primary-dark: rgba(18, 44, 77, 1);
  --color-complement: rgba(114, 82, 34, 1);
  --color-accent: rgba(34, 106, 114, 1);
  --color-gray-light: #2e2d300d;
  --color-neutral-dark: #1e2130;
  --color-gray-modern: #9ca3af6e;
  --services-card-height: clamp(300px, 24vw, 440px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

html {
  scroll-behavior: smooth;
}
p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%;
  color: #465265;
}
body {
  overflow-x: hidden;
}

.ce-textmedia img,
.ce-textpic img,
.ce-image img,
.frame img,
.textmedia img {
  max-width: none !important;
  width: auto !important;
  height: auto !important;
}

span.contact-info,
a.contact-info {
  color: white !important;
  text-decoration: none;
}

.itemdrop a {
  white-space: wrap !important;
  padding: 0 !important;
}

.navtop {
  transition: height 0.5s ease;
  overflow: hidden;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background-color: var(--color-primary);
}
.navall {
  position: fixed;
  z-index: 9999;
  width: 100%;
  top: 0;
}
.contact-container {
  display: flex;
  gap: 30px;
  color: white;
  align-items: center;
  justify-content: flex-end;
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  white-space: nowrap;
  font-size: 0.95rem;
}

.contact-item i {
  color: white;
  font-size: 0.9rem;
}

.navbottom {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background-color: #fff;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
}

.navbottomall {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 80px;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  color: var(--color-primary-dark);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 30px;
}

.linkhover a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #384058;
  padding: 11px 20px;
  border-radius: 10px;
  text-decoration: none;
  line-height: 1;
  position: relative;
  transition: all 0.4s;
}

.servicesicon:hover {
  background-color: var(--color-gray-modern);
}

.linkhover a:hover {
  background-color: var(--color-gray-modern);
}

.servicesicon {
  padding: 11px 20px;
  border-radius: 10px;
  transition: all 0.4s;
}

.dropdownmenu {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.servicesicon,
.serviceiconhandy {
  display: flex;
  align-items: center;
  gap: 5px;
}

.servicesicon a,
.serviceiconhandy a {
  color: #384058;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.servicesicon i {
  font-size: 0.8em;
  color: #384058;
}

.serviceiconhandy i {
  color: #384058;
}

.dropdowncontent {
  position: absolute;
  left: 0;
  top: 50%;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  min-width: 0;
  padding: 8px 0;
  z-index: 10;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s;
  width: 0;
  border: 1px solid #eee;
}

.dropdowncontent a {
  display: block;
  padding: 8px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #384058;
  text-decoration: none;
  white-space: nowrap;
}

.dropdownmenu:hover .dropdowncontent {
  display: block;
  opacity: 1;
  min-width: 270px;
  max-height: 400px;
  top: calc(100% + 5px);
}

.dropdowncontent.open {
  display: block;
  width: 270px !important;
  opacity: 1;
  max-height: 400px;
  top: calc(100% + 5px);
}

.jetztbewerben a {
  color: white;
  text-decoration: none;
}

.jetztbewerben p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(40deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.jetztbewerben p:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.itemdrop {
  padding: 8px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  transition: all 0.3s;
}

.itemdrop div {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.itemdrop a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

p.thema {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: #2b282c;
}

p.beschreibung {
  font-size: 0.8rem;
  font-weight: 500;
  color: #2b282c;
}
.button {
    display: inline-block;

    text-align: center;
    white-space: nowrap;
    border-radius: .5rem;
    font-size: 1rem;
    font-weight: 600;
    width: fit-content;
    line-height: 1.5;
    text-decoration: none;
    transition: all .3s;
    color: white !important;
    background-image: linear-gradient(
        32deg,
        var(--color-primary-dark),
        var(--color-primary)
    );
    padding: 10px;
    margin-top: 20px;
}
.button.white {
    background-color: white;
  color: var(--color-primary-dark) !important;
  border: none;
  background-image: none;
}

.itemdrop i {
  display: flex;
  color: #2b282c;
  margin-left: 0px;
  justify-content: center;
  align-items: center;
  height: 35px;
  border-radius: 10px;
  width: 35px;
  flex-shrink: 0;
  background-color: var(--color-gray-modern);
}

.itemsdrcontent {
  padding: 0 7px;
}

.itemdrop:hover {
  background-color: var(--color-gray-light);
}

.handynav {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.handynav.active {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.hamburger {
  display: none;
}

.top_bar {
  position: relative;

  width: 100vw;
  max-width: none;

  min-height: 350px;

  margin-top: 70px;

  /* aus einem begrenzten Container heraus */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  padding: 0;

  overflow: hidden;

  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  box-sizing: border-box;
}



/* BILD */
.topbar_image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 0;
    overflow: hidden;
    display: block;
}

.topbar_image > *,
.topbar_image figure,
.topbar_image .ce-image,
.topbar_image .ce-textpic,
.topbar_image .ce-media,
.topbar_image picture,
.topbar_image img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* TYPO3-Wrapper */
.topbar_image .ce-textpic,
.topbar_image .ce-gallery,
.topbar_image .ce-outer,
.topbar_image .ce-inner,
.topbar_image .ce-row,
.topbar_image .ce-column {
    width: 100%;
    height: 100%;
}

/* Figure */
.topbar_image figure {
    width: 100%;
    height: 100%;
    margin: 0;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* BILD */
.topbar_image img.image-embed-item {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block;
    object-fit: cover !important;
    object-position: center center !important;
}

/* OVERLAY */
.top_bar::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.8);

  z-index: 1;
}


/* TEXT */
.topbar_content {
  position: relative;

  z-index: 2;

  width: 100%;
  max-width: 800px;

  padding: 20px;

  margin: 0 auto;

  box-sizing: border-box;
}


.topbar_content h2 {
  margin: 0 0 15px;

  color: white;

  letter-spacing: 1px;

  font-size: 40px;

  font-weight: 600;
}


.topbar_content p {
  color: #ffffff;

  font-weight: 400;

  line-height: 1.4em;

  font-size: 1.1rem;

  padding: 10px;

  margin: 0 0 35px;
}


.topbar_content a,
.banner-cta {
  display: inline-block;

  color: black;

  text-decoration: none;

  background: linear-gradient(
    to right,
    white 50%,
    #e0e0e0 50%
  );

  background-size: 200% 100%;

  background-position: left bottom;

  border-radius: 10px;

  padding: 10px 25px;

  transition:
    background-position 0.4s ease,
    color 0.4s ease;
}


.topbar_content a:hover,
.banner-cta:hover {
  background-position: right bottom;
  color: black;
}


/* MOBILE */
@media (max-width: 768px) {

  .top_bar {
    min-height: 300px;
  }

  .topbar_content {
    padding: 15px;
  }

  .topbar_content h2 {
    font-size: 30px;
  }

  .topbar_content p {
    font-size: 1rem;
    margin-bottom: 25px;
  }

}


@media (max-width: 480px) {

  .top_bar {
    min-height: 280px;
  }

  .topbar_content h2 {
    font-size: 26px;
  }

  .topbar_content p {
    font-size: 0.95rem;
  }

  .topbar_content a,
  .banner-cta {
    padding: 9px 20px;
  }

}
@media (max-width: 870px) {
  .navlinks {
    display: none;
  }

  .logo img {
    height: 45px;
  }

  .jetztbewerben {
    display: none;
  }

  .hamburger {
    display: block;
    font-size: 30px;
    cursor: pointer;
  }

  .handynav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    background-color: white;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    padding: 0 20px;
  }

  .handynav a {
    color: #384058;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
  }

  .leistungen.zwei {
    margin-left: 10px;
    margin-top: 0;
    margin-bottom: 0 !important;
  }

  .handynav ::-webkit-scrollbar {
    display: none;
  }

  .jetztbewerbenhandy a {
    display: block;
    text-decoration: none;
  }

  .jetztbewerbenhandy p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #ffffff;
    background: linear-gradient(40deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  }
}







.referenzenslide {
  width: 80%;
  margin: 50px auto;
  margin-bottom: 50px;
}

.referenzenslide hr {
  height: 1px;
  border: none;
  background: linear-gradient(to right, transparent, #f2eff5 30%, #f2eff5 70%, transparent);
}


.containerref {
  height: 150px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.referenz {
  height: 150px;
  width: fit-content;
  padding: 0px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}



.referenz img {
  width: 100%;
  height: auto;
  background-position: center;
  background-repeat: no-repeat;
  object-fit: contain;
}

.carousel {
  display: flex;
  gap: 20px;
  animation: infiscroll 20s linear infinite;
  width: fit-content;
}

@keyframes infiscroll {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-50%, 0);
  }
}

/* Referenzen Slider - Abstände zwischen Bildern */
.referenz .ce-gallery {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  align-items: center;
  height: 150px;
  width: fit-content;
}

.referenz .ce-outer,
.referenz .ce-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  align-items: center;
  height: 150px;
  width: fit-content;
}

.referenz .ce-row {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  width: auto;
  margin: 30px;
  padding: 0;
}

.referenz .ce-column {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  width: auto;
  margin: 0;
  padding: 0;
}

.referenz .ce-column figure {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.referenz .ce-column img {
  max-height: 150px;
  max-width: auto;
  width: auto;
  height: auto;
  object-fit: contain;
}


























.leistungen_bilder {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 50px auto;
    width: 90%;
}

.leistung_bild {
    flex: 0 0 calc(33.333% - 14px);
    height: 240px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
max-width: 400px;

  border: 1px solid transparent;
 
  border-radius: 15px;
  box-shadow: 2px 4px 6px #81767662;
}
@media (max-width: 1000px) {
    .leistung_bild {
        height: 220px;
    }
}
@media (max-width: 768px) {
    .leistung_bild {
        flex: 0 0 100%;
        height: 200px;
    }
}



.inhalt {
  margin-top: 121px;
}


















    .map-container {
      position: relative;
      width: 100%;
      height: 400px; /* Höhe nach Bedarf anpassen */
    }

    .map-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }

/* Text & Media: no artificial 600px cap */
.ce-textmedia img,
.ce-textmedia picture,
.ce-textpic img,
.ce-textpic picture,
.ce-image img,
.ce-image picture,
.ce-gallery img,
.ce-gallery picture {
  max-width: none !important;
  width: auto !important;
  height: auto !important;
}








.containerall1 {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 50px auto;
  height: 60vh;
  padding: 60px 0px;
  align-items: center;
}
.containerleft1 h2 {
  font-size: 3.15rem;
  letter-spacing: .025rem;
  margin-top: .75rem;
  margin-bottom: 1.125rem;
  font-weight: 600;
  line-height: 90%;
  max-width: 60%;
}
.containerleft1 {
  width: 100%;
  line-height: 1;
}
.containerleft1 p {
  max-width: 60%;
}

.containerleft1 p {
  margin-bottom: 40px !important;
  font-size: 17px;
}






hr {
  height: 2px;
  border: none;
  background: linear-gradient(to right, transparent, #f2eff5 30%, #f2eff5 70%, transparent);
}





.statistikcontainer {
  background-image: linear-gradient(32deg, var(--color-primary), var(--color-primary-dark));
  justify-content: center;
  align-items: center;
  min-width: 102%;
  height: 324px;
  margin-left: -1%;
  overflow: hidden;
  justify-content: space-around;
  display: flex;
  overflow: hidden;
  transform: translateY(-80px) rotate(-1deg);
  margin-top: 120px;
}
.statsccontent {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  width: 70%;
  transform: rotate(+1deg);
}
.statseinzel {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.statseinzel i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  margin-bottom: 15px;
  height: 60px;
  border-radius: 20%;
  font-size: 25px;
  color: #fff;
  background-color: #ffffff3d;
}
.zahlstats header{
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(90deg, #ffffff, #f5f5f5, #eaeaea);
    background-size: auto;
    background-clip: border-box;
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 3s linear infinite;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}
.zahlstats p {
  color: white;
}

.services-cards {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services-card {
  position: relative;
  border-radius: 20px;
  width: 100%;
  max-width: 100%;
  height: 300px;
  max-height: 300px;
  overflow: hidden;
  background: #edf2f7;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  isolation: isolate;
}

.services-card .ce-textpic,
.services-card .ce-textpic .ce-media,
.services-card .ce-bodytext,
.services-card .ce-textpic .ce-bodytext,
.services-card .ce-textpic .ce-media img,
.services-card .ce-media img,
.services-card .ce-textpic picture,
.services-card .ce-media picture,
.services-card picture,
.services-card img {
  height: 100% !important;
}

.services-card .ce-textpic,
.services-card .ce-media,
.services-card .ce-textpic .ce-media,
.services-card picture,
.services-card img,
.services-card .image-embed-item {
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center !important;
}

.services-card .ce-textpic .ce-media,
.services-card .ce-media {
  position: absolute !important;
  inset: 0 !important;
}

.services-card .ce-bodytext,
.services-card .ce-textpic .ce-bodytext {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(214, 214, 214, 0.72) 100%);
  color: #ffffff;
  font-size: 20px;
  opacity: 0; 
  transform: translateY(18px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  overflow: hidden;
}

.services-card .ce-bodytext > *,
.services-card .ce-textpic .ce-bodytext > * {
  margin: 0;
  color: #ffffff;
}

.services-card .ce-bodytext h2,
.services-card .ce-bodytext h3,
.services-card .ce-textpic .ce-bodytext h2,
.services-card .ce-textpic .ce-bodytext h3 {
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.2;
  margin-bottom: 8px;
  font-weight: 700;
}

.services-card .ce-bodytext p,
.services-card .ce-textpic .ce-bodytext p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #465265;
  margin-top: 9px;
  font-weight: 500;
}
.services-card h4 {
font-weight: 15px !important;
}
.services-card:hover .ce-textpic .ce-media img,
.services-card:hover .ce-media img,
.services-card:focus-within .ce-textpic .ce-media img,
.services-card:focus-within .ce-media img {
  filter: blur(2px) brightness(0.7) saturate(0.9);
  transform:  scale(1.08);
}

.services-card:hover .ce-bodytext,
.services-card:hover .ce-textpic .ce-bodytext,
.services-card:focus-within .ce-bodytext,
.services-card:focus-within .ce-textpic .ce-bodytext {
  opacity: 1;
  transform: translateY(0);
}

/* Services Card Bild: immer volle Card-Fläche, auch bei TYPO3-Wrappern */
.services-card,
.services-card > *,
.services-card figure,
.services-card .ce-textpic,
.services-card .ce-textpic > *,
.services-card .ce-media,
.services-card .ce-media > *,
.services-card picture,
.services-card img,
.services-card .image-embed-item {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.services-card .ce-textpic .ce-media,
.services-card .ce-media {
  position: absolute !important;
  inset: 0 !important;
}

@media (max-width: 900px) {
  .services-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .services-cards {
    grid-template-columns: 1fr;
    width: min(92vw, 520px);
    gap: 18px;
  }

  .services-card {
    min-height: 300px;
    height: var(--services-card-height);
  }

  .services-card .ce-bodytext,
  .services-card .ce-textpic .ce-bodytext {
    padding: 18px;
    opacity: 1;
    transform: none;
  }
}

@media (hover: none) {
  .services-card .ce-bodytext,
  .services-card .ce-textpic .ce-bodytext {
    opacity: 1;
    transform: none;
  }

  .services-card .ce-textpic .ce-media img,
  .services-card .ce-media img {
    filter: brightness(0.8) saturate(0.9);
  }
}

.vorteile {
  margin: 10px auto;
  width: 90%;
  margin-bottom: 100px;
}

.gridvorteile-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.gridvorteile-container > .vorteile-item {
  display: flex;
  flex-direction: column;
  background-color: #f2f3f5e5;
  border-radius: 10px;
  padding: 25px;
  transition: all 0.4s;
}

.gridvorteile-container > .vorteile-item:hover {
  background-color: #26417a;
}

.gridvorteile-container > .vorteile-item:hover * {
  color: white;
}

.gridvorteile-container > .vorteile-item i {
  font-size: 33px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.gridvorteile-container > .vorteile-item .top_vorteil {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 7px;
  color: var(--color-neutral-dark);
}

.gridvorteile-container > .vorteile-item:nth-child(1) {
  grid-column: span 2;
}

.gridvorteile-container > .vorteile-item:nth-child(4) {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .gridvorteile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .gridvorteile-container > .vorteile-item:nth-child(1),
  .gridvorteile-container > .vorteile-item:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .gridvorteile-container {
    grid-template-columns: 1fr;
  }

  .gridvorteile-container > .vorteile-item:nth-child(1),
  .gridvorteile-container > .vorteile-item:nth-child(4) {
    grid-column: auto;
  }
}







.site_title {
  padding: 4px 15px;
  color: #26417a;
  margin-bottom: 10px;
  border-radius: 10px;
  width: fit-content;
  background-color: #1855dd26;
}
.textfeld{
  width: 90%;
  margin: 0px auto;
  margin-top: 75px;
  display: flex;
  justify-content: flex-start;
  margin-bottom: 15px;
}
.textfeld .ce-gallery {
  width: 100%;
  max-width: 430px;
  max-height: 500px;
  background: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 10px 16px 38px rgba(226, 226, 226, 0.212);
}
.textfeld .ce-gallery img,
.textfeld .ce-textmedia img,
.textfeld .ce-textpic img,
.textfeld .ce-image img,
.textfeld .frame img,
.textfeld .textmedia img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 20px;
}
.textfeld .ce-intext.ce-right .ce-gallery {
  margin-left: 40px;
  margin-top: 50px;
}
ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 10px;

  }
  li {
    margin-bottom: 0.5rem;
  }




  .referenz .ce-row:nth-child(1) img { 
 height: 55% !important;
          width: auto !important;
   }
.referenz .ce-row:nth-child(2) img { 
 height: 43% !important;
          width: auto !important;
}
.referenz .ce-row:nth-child(3) img { 
 /* Engehlhard */
          
}

.referenz .ce-row:nth-child(4) img { 
/* Haus und Grund*/
 height: 80% !important;
          width: auto !important;
}
.referenz .ce-row:nth-child(5) img { 
 height: 68% !important;
          width: auto !important;
}
.referenz .ce-row:nth-child(6) img { 
height: 72% !important;
          width: auto !important;
}

.referenz .ce-row:nth-child(7) img { 
 height: 68% !important;
          width: auto !important;
}

.stellen {
  margin: 40px auto 0;
  width: 100%;
}

.vorteile_stelen {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1rem 2rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.vorteil_stelle {
  flex: 1 1 calc(50% - 1rem);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
  border: 1px solid rgba(34, 66, 115, 0.12);
  padding: 1rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.vorteil_stelle i {
  color: rgba(34, 66, 115, 1);
  font-size: 1.2rem;
  margin-right: 0.9rem;
}

.vorteil_stelle p {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #23374d;
}

.jobs_alle {
  width: min(1100px, 92%);
  margin: 0 auto 3rem;
  display: grid;
  gap: 1.25rem;
}

.jobs_intro_card,
.job-card,
.map-card {
  background: #ffffff;
  border: 1px solid rgba(34, 66, 115, 0.12);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.jobs_intro_card {
  padding: 1.5rem 1.75rem;
}

.jobs_intro_card h3,
.map-card h3 {
  margin: 0 0 0.5rem;
  color: #122c4d;
  font-size: 1.35rem;
}

.jobs_intro_card p,
.map-card p {
  margin: 0;
  color: #475467;
  line-height: 1.7;
}

.job-card {
  padding: 1.4rem 1.5rem;
}

.job-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.job-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex: 1;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  min-width: 0;
}

.job-toggle__title {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.job-toggle__title h3 {
  margin: 0;
  color: #122c4d;
  font-size: 1.25rem;
}

.job-toggle__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 66, 115, 0.08);
  color: rgba(34, 66, 115, 1);
  transition: transform 0.25s ease, background 0.2s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.job-toggle:hover .job-toggle__icon {
  background: rgba(34, 66, 115, 0.14);
}

.job-card.active .job-toggle__icon {
  transform: rotate(180deg);
}

.job-badge {
  display: inline-block;
  background: rgba(34, 66, 115, 0.1);
  color: rgba(34, 66, 115, 1);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  width: fit-content;
  border-radius: 999px;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #475467;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.job-card__meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.job-card__meta i {
  color: rgba(34, 66, 115, 1);
  flex-shrink: 0;
}

.job-card__details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.job-card.active .job-card__details {
  max-height: 500px;
  opacity: 1;
  margin-top: 0.75rem;
}

.job-card__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding-top: 0.15rem;
}

.job-card__content h4 {
  margin: 0 0 0.55rem;
  color: #122c4d;
  font-size: 1rem;
}

.job-card__content ul {
  padding-left: 1rem;
  margin: 0;
  color: #475467;
  line-height: 1.7;
}

.apply-btn {
  display: inline-block;
  background: linear-gradient(135deg, rgba(34, 66, 115, 1), rgba(18, 44, 77, 1));
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  margin-top: 10px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(34, 66, 115, 0.18);
}

.apply-btn:hover {
  transform: translateY(-2px);
}

.map-card {
  padding: 1.5rem 1.75rem;
  margin-top: 0.25rem;
}

.map-container {
  position: relative;
  width: 100%;
  height: 320px;
  margin-top: 1rem;
  border-radius: 16px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.ce-textpic.ce- {
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .vorteil_stelle {
    flex: 1 1 100%;
  }
  .ce-textpic.ce- {
  display: block !important;
  gap: 20px;
}
.textfeld .ce-gallery {
  max-width: max-content;
margin-bottom: 20px !important;
}

.vorher_nachher_bildc {
  width: 100% !important;
}
.referenzenslide {
  width: 90%;
}
.referenz {
height: 109px;
}
.containerref {
  height: 111px;
}

  .topbar_content h2 {
font-size: 32px;
}

.statistikcontainer {
  width: 100%;
  transform: translateY(0px) rotate(0deg);
  min-width: 100%;
  margin-left: 0%;
  padding: 31px 0px;
  margin-top: 40px;
  margin-bottom: 45px;
  height: fit-content;
}
.statsccontent {
  gap: 5px;
}
.strichstats {
  display: block;
  border: none;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,0), rgba(120,120,120,0.4), rgba(0,0,0,0));
  margin: 1rem 0;
width: 100%;
}
.statsccontent {
    transform: rotate(0deg);
  flex-direction: column;
}

.containerleft1 h2 {
  max-width: 88%;
}
.textfeld .ce-textpic {
  float: right;
}

}

@media (max-width: 600px) {
  .jobs_intro_card,
  .job-card,
  .map-card {
    padding: 1.2rem;
  }
.containerall1 {
  height: auto;
}
.statistikcontainer {
  margin-top: 0;
}
  .map-container {
    height: 260px;
  }
}










.kontakt-info {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin-top: 33px;

}
.kontakt-item__text p {
display: flex;
  gap: 15px;
  align-items: center;
}

.kontakt-item__icon {
font-size: 30px;
  color: var(--color-primary);
}
.kontakt-item__content {
display: flex;
gap: 10px;
align-items: center;
}

.kontakt-wrapper {
  display: flex;
  justify-content: center;
  gap: 60px;
  width: 80%;
  margin: 0px auto;
}
.kontakt-form {
  width: 50%;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}






.vorher_nachher_bildc {
    width: 25%;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    display: flex;
    box-shadow: 2px 4px 6px #81767662;
    justify-content: center;
}

.vorhernachher_bild {
    width: 100% !important;
    height: 185px;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.vorhernachher_bild .ce-textpic,
.vorhernachher_bild .ce-gallery,
.vorhernachher_bild .ce-outer,
.vorhernachher_bild .ce-inner,
.vorhernachher_bild .ce-row,
.vorhernachher_bild .ce-column {
    width: 100%;
    height: 100%;
}

.vorhernachher_bild figure {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vorhernachher_bild img.image-embed-item {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

.formular_erfolg_haken {
  display: flex;
  width: 100%;
  justify-content: center;
  align-content: center;
  padding: 33px;
}
.formular_haken {
  border-radius: 50%;
  background-color: rgba(0, 112, 215, 0.125);
  margin-bottom: 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(0, 112, 215, 0.125);
  margin-bottom: 20px;
  font-size: 26px;
}