:root {
  --primary: #00468e;
  --orange: #ffb700;
  --green: #95e882;
  --gray: #f4f4f4;
  --gray2: #e5e5e4;
  --white: #ffffff;
  --darkgray: #72706f;
  --dark: #00152a;
  --padding-site: 200px;
  --maxWidth: 1000px;
  --font-size-normal: 18px;
  --font-size-h1: 70px;
  --font-size-h2: 50px;
  --siteColor: var(var(--primary));
}
@font-face {
  font-family: "Exo2 Bold";
  src: url("../webfonts/Exo2.0-Bold.ttf");
}
@font-face {
  font-family: "Exo2 Regular";
  src: url("../webfonts/Exo2.0-Regular.ttf");
}
@font-face {
  font-family: "Exo2 Light";
  src: url("../webfonts/Exo2.0-Light.ttf");
}
@font-face {
  font-family: "Frutigel";
  src: url("../webfonts/frutigel.ttf");
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Exo2 Regular", sans-serif;
}
body,
main {
  overflow-x: hidden;
  width: 100vw;
}
body main {
  --maxWidth: 1000px;
}
h1 {
  font-size: var(--font-size-h1);
  color: var(--primary);
  text-transform: inherit;
  translate: -3px 0;
  hyphens: auto;
}
h2 {
  color: var(--primary);
  font-size: var(--font-size-h2);
  font-family: "Exo2 Bold";
  text-transform: inherit;
  hyphens: auto;
  overflow-wrap: anywhere;
}
p,
li {
  font-family: "Exo2 Light", sans-serif;
  line-height: 160%;
  font-size: var(--font-size-normal);
}
.maxWidth,
.projekte .grid_projekte {
  max-width: var(--maxWidth);
  width: 100%;
}
.largeWidth main {
  --maxWidth: 1000px;
}
.xsWidth main {
  --maxWidth: 800px;
}
.kontakt main,
.datenbestellung main {
  margin-top: 200px;
}
img {
  width: 100%;
  height: auto;
}
.main-header {
  display: grid;
  place-items: center;
  padding: 30px var(--padding-site);
}
section {
  display: grid;
  place-items: center;
  grid-template-columns: 1fr [main-start] minmax(0, var(--maxWidth)) [main-end] minmax(
      2rem,
      1fr
    );
  padding-top: 100px;
  padding-bottom: 100px;
  padding-left: var(--padding-site);
  padding-right: var(--padding-site);
}
.kontakt section.item-pagekontakt {
  padding-bottom: 0;
}
section > * {
  grid-column: main;
  width: 100%;
}
section .grid-article {
  grid-column: 1 / -1;
}
.item-content p:empty {
  display: none;
}
button {
  font-family: "Exo2 Regular", "sans-serif";
  font-size: var(--font-size-normal);
  opacity: 0.9;
  transition: all ease-out 0.3s;
  cursor: pointer;
}
button:hover {
  scale: 1.05;
  opacity: 1;
}
nav {
  --maxWidth: 1300px;
  position: sticky;
  top: 0;
  background-color: var(--white);
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 0 var(--padding-site);
}
nav > .maxWidth {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
  background-color: var(--white);
  padding: 30px 0;
}
nav img {
  max-width: 500px;
}
.nav.mobile {
  display: none;
}
nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
nav ul li,
nav ul li a {
  list-style: none;
  text-decoration: none;
  color: var(--dark);
  font-family: "Exo2 Regular", "sans-serif";
  font-size: 19px;
}
nav ul li.current a {
  font-family: "Exo2 Bold", "sans-serif";
  color: var(--primary);
}
nav ul li:has(.button) {
  background-color: var(--primary);
  padding: 10px 15px;
}
nav ul li:has(.button) a {
  color: var(--white);
}
nav .mod-menu__heading {
  cursor: pointer;
}
nav > div > ul > .nav-item.parent {
  display: flex;
  gap: 10px;
}
nav > div > ul > .nav-item.parent::after {
  content: url("/templates/klar/assets/icon/nav-icon.svg");
  display: flex;
  transition: transform ease-out 0.1s;
  width: 15px;
  align-items: center;
  justify-content: center;
}
nav > div > ul > .nav-item.parent:has([show="true"])::after {
  transform: rotate(90deg);
}
nav > div > ul > .nav-item > .mod-menu__sub {
  translate: 0 -160%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 60px var(--padding-site);
  padding-top: 159px;
  display: flex;
  justify-content: center;
  z-index: -1;
  transition: translate ease-out 0.3s, border-bottom ease-out 0.3s;
  border-bottom: 0 solid var(--darkgray);
}
nav > div > ul > .nav-item > .mod-menu__sub[show="true"] {
  translate: 0 -10%;
  border-bottom: 1px solid var(--darkgray);
}
nav > div > ul > .nav-item > .mod-menu__sub > .inner-sub-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(510px, 1fr));
  gap: 5vw;
  width: 100%;
  max-width: var(--maxWidth);
  padding-top: 60px;
  border-top: 1px solid var(--gray2);
}
nav > div > ul > .nav-item > .mod-menu__sub > .inner-sub-nav .nav-item {
  display: flex;
  gap: 5vw;
  align-items: baseline;
}
nav > div > ul > .nav-item > .mod-menu__sub > .inner-sub-nav > .nav-item > a,
nav .inner-sub-nav .mod-menu__heading {
  font-family: "Exo2 Bold";
  font-size: 20px;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 10px;
  white-space: nowrap;
  min-width: 80px;
}
nav
  > div
  > ul
  > .nav-item
  > .mod-menu__sub
  > .inner-sub-nav
  > .nav-item
  .inner-sub-nav {
  display: grid;
  flex: 1;
}
nav
  > div
  > ul
  > .nav-item
  > .mod-menu__sub
  > .inner-sub-nav
  > .nav-item
  .inner-sub-nav
  li
  a {
  font-size: 18px;
  font-family: "Exo2 Light";
  color: var(--darkgray);
  border-bottom: 0.9px solid var(--darkgray);
  width: 100%;
  line-height: 300%;
  display: flex;
  align-items: center;
  gap: 30px;
}
nav
  > div
  > ul
  > .nav-item
  > .mod-menu__sub
  > .inner-sub-nav
  > .nav-item
  .inner-sub-nav
  li
  a::before {
  content: url("/templates/klar/assets/icon/nav-icon.svg");
}
button.hamburger {
  display: none;
}
.banner {
  max-height: 600px;
  height: 50vh;
  position: relative;
}
.banner video,
.banner figure,
.banner figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: -1;
}
.vermessung.itemid-117 .banner img,
.ingenieurbau.itemid-117 .banner img {
  object-position: top center;
}
header .banner > div,
header .banner > div p {
  height: 100%;
}
header .banner > div::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 70vw;
  border-bottom: 65px solid var(--white);
  border-right: 30vw solid transparent;
  border-left: 0 solid transparent;
  z-index: 1;
}
header .banner > div::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: 0;
  left: 30vw;
  border-bottom: 65px solid var(--white);
  border-right: 0 solid transparent;
  border-left: 70vw solid transparent;
  z-index: 1;
}
.banner::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: calc(70vw - 11vw);
  border-bottom: 95px solid var(--primary);
  border-right: calc(30vw + 11vw) solid transparent;
  border-left: 0 solid transparent;
  z-index: 1;
}
.banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: calc(30vw - 27vw);
  border-bottom: 95px solid var(--primary);
  border-right: 0 solid transparent;
  border-left: calc(70vw + 27vw) solid transparent;
  z-index: 0;
}
.vermessung .banner::before {
  border-bottom: 95px solid var(--primary);
}
.vermessung .banner::after {
  border-bottom: 95px solid var(--primary);
}
.ingenieurbau .banner::before {
  border-bottom: 95px solid var(--primary);
}
.ingenieurbau .banner::after {
  border-bottom: 95px solid var(--primary);
}
header .main-header .mod-custom {
  max-width: var(--maxWidth);
  width: 100%;
  display: grid;
  padding: 10vh 0;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 60px;
}
header h1 {
  font-size: 50px;
  display: flex;
  flex-direction: column;
  line-height: 170%;
  white-space: nowrap;
}
header h1 strong {
  font-size: 90px;
  color: var(--primary);
  font-family: "Exo2 Bold";
}
.page-header {
  margin-bottom: 30px;
}
.page-header h1 {
  font-family: "Exo2 Bold";
}
.news-page .news-section {
  max-width: var(--maxWidth);
}
.news-page h1 {
  place-self: start;
  font-family: "Exo2 Bold";
}
.com-content-category-blog__item.blog-item.news {
  background-color: var(--white);
  padding-bottom: 100px;
}
.news-page:has(.pagination) .com-content-category-blog__item {
  padding-bottom: 0;
}
.com-content-category-blog__pagination {
  max-width: var(--maxWidth);
  width: 100%;
}
.news-page .com-content-category-blog__navigation {
  padding-bottom: 100px;
}
.pagination__wrapper {
  padding: 60px 0;
  max-width: var(--maxWidth);
  width: 100%;
}
.pagination__wrapper .pagination {
  justify-content: end;
}
.pagination__wrapper .pagination .disabled {
  display: none;
}
.pagination__wrapper .pagination a {
  padding: 10px 20px;
  background-color: var(--gray);
  position: relative;
}
.pagination__wrapper .pagination a:hover {
  padding: 10px 20px;
  background-color: var(--primary);
}
.pagination__wrapper .pagination .active a {
  font-family: "Exo2 Bold";
  background-color: var(--primary);
  padding: 10px 20px;
  color: var(--white);
}
.pagination__wrapper .pagination a:has(.icon-angle-double-left),
.pagination__wrapper .pagination a:has(.icon-angle-double-right) {
  display: none;
}
.pagination__wrapper .pagination a .icon-angle-left::before,
.pagination__wrapper .pagination a .icon-angle-right::before {
  position: absolute;
  content: url(/templates/klar/assets/icon/chevron-right-solid.svg);
  height: 8px;
  width: 8px;
  display: block;
  top: 50%;
  left: 50%;
}
.pagination__wrapper .pagination a .icon-angle-right::before {
  translate: -50% -100%;
}
.pagination__wrapper .pagination a .icon-angle-left::before {
  transform: rotate(180deg);
  translate: -50% 30%;
}
.pagination__wrapper .pagination a:has(.icon-angle-left),
.pagination__wrapper .pagination a:has(.icon-angle-right) {
  background-color: transparent;
}
.home section.blog-item {
  background-color: var(--gray);
}
.home section.blog-item:nth-of-type(2) {
  background-color: var(--white);
}
.blog-item h2 {
  margin-bottom: 30px;
}
.blog-item .mod-articlescategory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  grid-column: 1 / -1;
}
.com-content-category-blog__item.news {
  margin-top: 0;
}
.blog-item .mod-articlescategory a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.blog-item .mod-articlescategory a img,
.blog-item .mod-articlescategory a img {
  width: 100%;
  object-fit: cover;
}
.blog-item .mod-articlescategory img,
.blog-item .mod-articlescategory img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  scale: 1.01;
}
.blog-item .mod-articlescategory.projekte a img,
.blog-item .mod-articlescategory.news a img {
  height: 100%;
}
.blog-item .mod-articlescategory a span {
  background-color: var(--white);
  display: flex;
  width: 100%;
  padding: 20px;
  color: var(--dark);
  text-transform: uppercase;
  font-family: "Exo2 Bold";
  font-size: 22px;
  flex: 1;
  align-items: center;
}
section > .item-content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}
.projekte {
  grid-column: 1 /-1;
}
.item-content p,
.item-content h2 {
  grid-column: 1 / -1;
  margin: 0;
}
.item-content:has(p a) p:not(:has(a)) {
  grid-column: span 9;
}
.item-content p a {
  white-space: nowrap;
}
.projekte .com-content-article__body h2,
.projekte .com-content-article__body p {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.stellen .com-content-article__body ul:has(li img) {
  gap: 20px;
}
.stellen .com-content-article__body ul li:has(img) {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center;
}
.stellen .com-content-article__body ul li img {
  width: 18px;
  height: 18px;
  filter: invert(13%) sepia(99%) saturate(2818%) hue-rotate(199deg)
    brightness(99%) contrast(102%);
}
.stellen .com-content-article__body ul li img fill {
  width: 18px;
}
.item-content p:empty,
.com-content-article__body p:empty {
  display: none;
}
.item-content p:has(a) {
  grid-column: 10 / -1;
  place-self: end end;
}
body:not(.datenschutz):not(.impressum):not(.datenbestellung)
  .com-content-article__body
  p:has(a) {
  display: none;
}
.com-content-article__body a:has(.primary_button) {
  margin-top: 60px;
  display: block;
}
header a .primary_button,
header a .secondary_button {
  margin-top: 60px;
}
.primary_button,
.secondary_button {
  text-decoration: none;
  padding: 15px 20px;
  width: fit-content;
  height: fit-content;
  outline: none;
}
.secondary_button {
  color: var(--dark);
  background-color: transparent;
  border: 1px solid var(--dark);
}
.primary_button {
  color: var(--white);
  background-color: var(--primary);
  border: 1px solid var(--primary);
}
a:has(+ a .secondary_button) {
  margin-right: 20px;
}
.item-content .category-module,
.projekte .grid_projekte,
.mod-articlescategory,
.projekte-page,
.news-section {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 30px;
}
body:not(.home) .projekte-page {
  margin-top: 100px;
}
.vermessung .mod-articlescategory,
.ingenieurbau .mod-articlescategory,
.team-page .mod-articlescategory {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  margin-top: 100px;
}
.projekte .grid-item:nth-of-type(12n + 1),
.news .grid-item:nth-of-type(12n + 1) {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 510px;
}
.projekte .grid-item:nth-of-type(12n + 2),
.projekte .grid-item:nth-of-type(12n + 3),
.news .grid-item:nth-of-type(12n + 2) {
  grid-column: span 1;
  grid-row: span 1;
}
.projekte .grid-item:nth-of-type(12n + 7),
.projekte .grid-item:nth-of-type(12n + 8),
.news .grid-item:nth-of-type(12n + 7),
.projekte .grid-item:nth-of-type(12n + 9) {
  grid-column: span 1;
  grid-row: span 1;
}
.projekte .grid-item:nth-of-type(12n + 8),
.news .grid-item:nth-of-type(12n + 8) {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 510px;
}
.projekte .grid-item.hidden {
  display: none;
}
.com-content-category-blog__item .filterButton {
  background-color: var(--primary);
  white-space: nowrap;
  color: var(--white);
  padding: 15px 30px;
  border: none;
  outline: none;
  font-size: 18px;
  cursor: pointer;
}
.filter-container {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}
.com-content-category-blog__item .filter .filter-item {
  cursor: pointer;
}
#removeFilter {
  width: fit-content;
  display: grid;
  padding: 15px;
  background-color: var(--gray2);
  place-items: center;
}
#removeFilter img {
  width: auto;
  height: 18px;
}
.pagination {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 20px;
}
.pagination a {
  text-decoration: none;
  color: var(--dark);
  font-size: 18px;
}
.pagination a.active {
  font-family: "Exo2 Bold";
  color: var(--primary);
}
.noProjectAlert {
  background-color: rgb(254 252 232);
  width: 100%;
  grid-column: 1 / -1;
  padding: 20px;
}
.vermessung .mod-articlescategory,
.ingenieurbau .mod-articlescategory {
  gap: 30px;
}
.mod-articlescategory .service-cards {
  background-color: var(--gray);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  border-top: 5px solid var(--primary);
}
.vermessung .mod-articlescategory .service-cards {
  border-top: 5px solid var(--primary);
}
.ingenieurbau .mod-articlescategory .service-cards {
  border-top: 5px solid var(--primary);
}
.mod-articlescategory .service-cards .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mod-articlescategory .service-cards .content p {
  font-family: "Exo2 Light";
  color: var(--darkgray);
}
.mod-articlescategory .service-cards h3 {
  font-size: 24px;
  font-family: "Exo2 Bold";
  hyphens: auto;
}
.mod-articlescategory .service-cards a {
  width: fit-content;
}
.mod-articlescategory .service-cards button {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  font-family: "Exo2 Bold";
  cursor: pointer;
}
.com-content-category-blog__item .filter {
  grid-column: 1 / -1;
  background-color: var(--gray);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  translate: 0 -150%;
  height: 0;
  padding-left: 60px;
  padding-right: 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}
.com-content-category-blog__item .filter[active] {
  translate: 0 0;
  height: auto;
  padding: 60px;
  opacity: 1;
  pointer-events: all;
}
.com-content-category-blog__item .filter label {
  font-family: "Exo2 Light";
  line-height: 300%;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
}
.com-content-category-blog__item .filter a {
  text-decoration: none;
  color: var(--dark);
}
.com-content-category-blog__item .filter a:active {
  color: var(--dark);
}
.com-content-category-blog__item .filter[active] label {
  opacity: 1;
}
.com-content-category-blog__item .filter label input {
  display: none;
}
.com-content-category-blog__item .filter label::before {
  content: url("/templates/klar/assets/icon/square-sharp-regular.svg");
  width: 15px;
  height: auto;
  margin-bottom: -5px;
}
.com-content-category-blog__item .filter label[checked]::before {
  content: url("/templates/klar/assets/icon/square-check-sharp-solid.svg");
}
.pagination__wrapper .text-end.me-3 {
  display: none;
}
.projekte .grid-item,
.news .grid-item {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 240px;
}
.projekte .grid-item h3 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 45px;
  color: var(--white);
  font-size: 25px;
  font-family: "Exo2 Bold";
  hyphens: auto;
  z-index: 2;
}
.projekte .grid-item:nth-of-type(12n + 1) h3,
.news .grid-item:nth-of-type(12n + 1) h3,
.projekte .grid-item:nth-of-type(12n + 8) h3,
.news .grid-item:nth-of-type(12n + 8) h3 {
  bottom: 0;
  top: auto;
  color: var(--white);
  font-size: 50px;
}
.news .grid-item h3 {
  color: var(--white);
  font-size: 20px;
  font-family: "Exo2 Bold";
  hyphens: auto;
}
.projekte .grid-item:nth-of-type(1) h3 {
  padding: 45px;
}
.news .grid-item .item-content {
  padding: 0;
  position: absolute;
  top: inherit;
  bottom: 0;
  padding: 45px;
  z-index: 2;
}
.news .grid-item .item-content p {
  color: var(--white);
  text-decoration: none;
  font-family: "Exo2 Light";
  font-size: 16px;
  background-color: var(--dark);
  padding: 2px 15px;
  border-radius: 5px;
  width: fit-content;
  margin-top: 10px;
}
.projekte .grid-item .overlay,
.news .grid-item .overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 100%;
  background-color: var(--primary);
  opacity: 0.8;
  display: grid;
  place-items: center;
  z-index: 1;
}
.projekte .grid-item .grid-image,
.news .grid-item .grid-image {
  width: 100%;
  height: 100%;
  background-color: var(--primary);
}
.projekte .grid-item .grid-image img,
.news .grid-item .grid-image img {
  display: block;
  object-fit: cover;
  height: 100%;
}
.projekte .grid-item img,
.news .grid-item img,
.projekte .grid-item .overlay,
.news .grid-item .overlay {
  transition: all ease-out 0.3s;
}
.projekte .grid-item:hover .overlay,
.news .grid-item:hover .overlay {
  top: 0;
}
.projekte .grid-item:hover .grid-image img,
.news .grid-item:hover .grid-image img {
  scale: 1.1;
}
.team-page .team-card {
  position: relative;
  transition: all ease-out 0.2s;
}
.team-page .team-card:hover {
  position: relative;
}
.team-page .team-card .grid-image {
  position: relative;
  overflow: hidden;
}
.team-page .team-card .grid-image::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  bottom: 0;
  background-color: var(--primary);
  opacity: 0.5;
  transition: all ease-out 0.2s;
  z-index: +1;
}
.team-page .team-card:hover .grid-image::before {
  top: 0;
}
.team-page .team-card .grid-image img {
  height: 100%;
  transition: scale ease-out 0.2s;
}
.team-page .team-card:hover .grid-image img {
  scale: 1.05;
}
.team-page .team-card .grid-content {
  background-color: transparent;
  padding: 30px;
  z-index: +2;
}
.team-page .team-card:hover .grid-content {
  background-color: var(--white);
  padding: 30px;
}
.team-page .team-card .grid-content h3 {
  font-family: "Exo2 Bold";
  font-size: 22px;
}
.team-page .team-card .grid-content ul {
  --font-size-normal: 16px;
  margin-left: 16px;
  flex-direction: column;
  gap: 5px;
  font-size: 18px;
  opacity: 0;
  height: 0;
}
.team-page .team-card:hover .grid-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #f5f5f5;
}
.team-page .team-card:hover .grid-content ul {
  display: flex;
  opacity: 1;
  translate: 0 0;
  height: 100%;
  margin-top: 20px;
  transition: all ease-out 0.3s;
}
.stellen .com-content-article__body,
.datenbestellung .com-content-article__body {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
}
.stellen .com-content-article__body ul {
  display: flex;
  flex-direction: column;
  margin: 30px 0;
  margin-left: 30px;
}
.stellen .com-content-article__body > *,
.datenbestellung .com-content-article__body > * {
  grid-column: main;
}
.stellen .mod-articlescategory,
.datenbestellung .rsform,
.datenbestellung .rsform form,
.datenbestellung .rsform form .formContainer {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  margin-top: 60px;
  gap: 0;
}
.datenbestellung .rsform-block-verfuegbare-daten {
  display: none;
}
.formRow:has(.rsform-block-anrede-rechnung[style="display: none;"]) {
  display: none;
}
.stellen .stellen-content {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.stellen .stellen-content a {
  color: var(--dark);
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: 1px solid var(--gray2);
  padding: 30px 0;
  transition: all ease-out 0.3s;
  display: flex;
  justify-content: start;
  gap: 3px;
}
.stellen .stellen-content a:hover {
  background-color: var(--gray);
  border: 1px solid transparent;
  padding-left: 30px;
}
.stellen .stellen-content a span {
  font-family: "Exo2 Bold";
  display: flex;
  align-items: center;
}
.stellen .stellen-content a span:last-of-type {
  white-space: nowrap;
}
.stellen .stellen-content a span:first-of-type::before {
  content: url("/templates/klar/assets/icon/arrow-right-solid.svg");
  width: 12px;
  height: auto;
  display: none;
  margin-right: 20px;
}
.stellen .stellen-content a:hover span:first-of-type::before {
  display: block;
}
.stelleninserat main * {
  --maxWidth: 1000px;
  --font-size-h1: 50px;
}
.stelleninserat .info-badge {
  background-color: var(--dark);
  color: white;
  padding: 4px 10px;
  hyphens: none;
  white-space: nowrap;
  border-radius: 6px;
  font-size: 30px;
  display: inline-block;
  width: fit-content;
  translate: 0 -6px;
}
.stelleninserat section > div {
  display: grid;
  gap: 30px;
}
.stelleninserat section h2 {
  font-family: "Exo2 Light";
  margin: 30px 0;
  font-size: var(--font-size-h2);
}
.stelleninserat section h2 strong,
.stelleninserat section h3,
.stelleninserat section h4 {
  font-family: "Exo2 Bold";
}
.stelleninserat section h2,
.stelleninserat section h3,
.stelleninserat section h4 {
  font-size: 25px;
}
.stelleninserat section br {
  margin-bottom: 30px;
  display: block;
}
.stelleninserat section ul {
  margin-left: 16px;
  display: grid;
  gap: 12px;
}
.stelleninserat section ul li::marker {
  color: var(--primary);
}
.stelleninserat section .downloadButton {
  background-color: var(--primary);
  padding: 10px 15px;
  width: fit-content;
  color: var(--white);
  text-decoration: none;
  font-family: "Exo2 Bold";
  margin: 60px 0;
}
.stelleninserat section a {
  color: var(--dark);
  text-decoration: none;
  font-family: "Exo2 Bold";
}
section.standorte {
  --maxWidth: 1000px;
  padding-top: 0;
}
section.standorte .grid-article {
  grid-template-rows: auto;
}
section.standorte .standorte-content br {
  display: none;
}
div:has(.anker) {
  position: relative;
}
.anker {
  position: absolute;
  top: -200px;
}
.nachfuehrgemeinde-content iframe {
  height: 700px;
}
.ueber-uns .grid-article {
  grid-template-rows: 1fr;
}
.ueber-uns .grid-article .beschrieb-content.beschrieb-content {
  padding-bottom: 0;
}
footer {
  display: grid;
  place-items: center;
}
footer .partner {
  background-color: var(--gray2);
  width: 100dvw;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: calc(var(--padding-site) / 2);
  padding-right: calc(var(--padding-site) / 2);
}
footer .partner img {
  height: 100%;
  width: auto;
}
footer .main-footer {
  width: 100%;
  padding-top: 100px;
  padding-bottom: 30px;
  padding-left: var(--padding-site);
  padding-right: var(--padding-site);
  display: grid;
  place-items: center;
}
footer .main-footer > div {
  max-width: var(--maxWidth);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: start;
  column-gap: 30px;
}
.rsfp_thankyou_popup_outer {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  background-color: white;
  padding: 30px;
  max-width: 550px;
}
.rsfp_thankyou_popup_outer::before {
  content: "";
  background-color: var(--white);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.rsfp_thankyou_popup_outer::after {
  content: "";
  background-color: var(--gray2);
  position: fixed;
  top: calc((100% / 2) - 50vh);
  left: calc((100% / 2) - 50vw);
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -2;
  opacity: 0.2;
}
.rsfp_thankyou_popup_outer.rsfp_thankyou_popup_outer
  .rsfp_thankyou_popup_inner {
  margin-top: 0 !important;
}
.rsfp_thankyou_popup_outer.rsfp_thankyou_popup_outer p,
.rsfp_thankyou_popup_outer.rsfp_thankyou_popup_outer h3 {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}
.rsfp_thankyou_popup_outer .button {
  background-color: var(--primary);
  color: var(--white);
  padding: 10px 15px;
  text-decoration: none;
}
.rsfp_thankou_popup_close_btn {
  display: none;
}
form #rsform_error_3#rsform_error_3 {
  display: none !important;
}
@media screen and (max-width: 1060px) {
  footer .main-footer > div {
    flex-wrap: wrap;
  }
}
footer .main-footer > div .standorte,
footer .main-footer > div .sitemap,
footer .main-footer > div .daten {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 30px;
}
@media screen and (max-width: 525px) {
  footer .main-footer > div .standorte {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
footer h4,
footer p:first-of-type {
  grid-column: 1 / -1;
}
footer p:first-of-type {
  margin-bottom: 20px;
}
footer a.klar-icon {
  font-family: "Exo2 Light";
  display: flex;
  align-items: center;
  gap: 10px;
}
footer a.klar-icon::before {
  content: url("/templates/klar/images/klar.png");
  display: inline-block;
  width: 10px;
  height: 20px;
}
footer .main-footer .privacy {
  justify-content: end;
  gap: 30px;
  border-top: 1px solid var(--gray);
  padding-top: 30px;
  margin-top: 30px;
}
footer .main-footer .logos img:first-of-type {
  grid-column: 1 / -1;
}
footer .main-footer .logos div {
  display: flex;
  align-items: center;
  max-width: 400px;
  gap: 30px;
  grid-column: 1 / 3;
  margin-top: 30px;
}
footer .main-footer .logos img {
  max-width: 300px;
  height: auto;
}
footer .main-footer .logos div img {
  max-height: 80px;
  width: auto;
}
footer p,
footer a {
  font-size: 16px;
}
footer a {
  text-decoration: none;
  color: var(--dark);
  font-family: "Exo2 Light";
  line-height: 160%;
}
footer h4 {
  font-family: "Exo2 Bold";
  font-size: 20px;
  margin-bottom: 5px;
}
section:has(.grid-article),
.stellen section,
.datenbestellung section {
  padding-left: 0;
  padding-right: 0;
  place-items: inherit;
}
.grid-article,
.com_rsform form {
  display: grid;
  grid-template-columns: [heading] 1fr [main-start] minmax(0, var(--maxWidth)) [main-end] minmax(
      60px,
      1fr
    );
  grid-template-rows: [titel] auto [beschrieb] auto [dienstleistungen] auto [fachgebiete] auto [gallery] auto;
  row-gap: 30px;
}
.com_rsform form > * {
  grid-column: main;
}
.com_rsform form .formContainer {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
}
.com_rsform form .formContainer > .formRow {
  grid-column: main;
  padding: 60px 0;
}
.com_rsform form .formContainer > .formRow:has(.formSpan4) {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.kontakt.com_rsform
  form
  .formContainer
  > .formRow
  > div:has(.rsform-type-freetext) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  place-items: end start;
}
.com_rsform form .formContainer > .formRow a {
  text-decoration: none;
  color: var(--dark);
  font-family: "Exo2 Bold";
}
.com_rsform form .formContainer > .formRow:nth-of-type(3) > div,
.datenbestellung .formContainer .formSpan12:not(:has(.rsform-type-freetext)) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-column: main;
  gap: 30px;
}
.datenbestellung .formContainer .formSpan12:has(.rsform-type-freetext) {
  grid-template-columns: 1fr;
}
.com_rsform form .formContainer > .formRow:nth-of-type(5) > div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column: main;
  gap: 30px;
}
.kontakt
  .rsform
  form
  .formContainer
  > .formRow:nth-of-type(2)
  .rsform-block:first-of-type {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
}
section.kontaktform {
  padding-top: 0;
}
form .cols-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 30px;
}
form .formContainer {
  margin-top: 30px;
}
form .cols-2 .rsform-type-textarea,
form .cols-2 .rsform-type-submitbutton,
form .cols-2 .rsform-type-checkboxgroup {
  grid-column: 1 / -1;
}
form .cols-2 #Datenschutz0-lbl {
  display: flex;
  align-items: center;
  gap: 10px;
}
form .cols-2 #Datenschutz0-lbl input {
  width: fit-content;
}
form .cols-2 .rsform-type-submitbutton .formBody {
  width: fit-content;
}
form .cols-2 .rsform-type-submitbutton .formControls {
  display: flex;
  justify-content: end;
}
form .cols-2 .rsform-type-submitbutton .formBody button {
  background-color: var(--primary);
  color: var(--white);
  border: none;
  box-shadow: none;
  padding: 10px 15px;
}
form .formRed {
  margin-bottom: 30px;
}
form .formRed,
form .formError {
  background-color: oklch(0.971 0.013 17.38);
  border: 1px solid oklch(0.505 0.213 27.518);
  color: oklch(0.505 0.213 27.518);
  padding: 4px 8px;
}
form .formValidation,
form .formError {
  display: block;
  width: 100%;
  max-width: 400px;
}
.kontakt
  .rsform
  form
  .formContainer
  > .formRow:nth-of-type(2)
  .rsform-block:first-of-type
  > div {
  grid-column: 1 / 3;
}
.com_rsform form .formContainer > .formRow:nth-of-type(5) .rsform-block,
.kontakt .rsform form .formContainer > .formRow:nth-of-type(2) .rsform-block {
  grid-column: span 2;
}
form .rsform-block-absenden {
  margin-top: 30px;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(5)
  .rsform-block:nth-of-type(5) {
  grid-column: span 3;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(5)
  .rsform-block:nth-of-type(6) {
  grid-column: span 1;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(5)
  .rsform-block:nth-of-type(8) {
  grid-column: span 3;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(5)
  .rsform-block:nth-of-type(7) {
  grid-column: span 1;
}
.kontakt.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(2)
  .rsform-type-checkboxgroup {
  grid-column: 1 / -1;
}
.com_rsform form .formContainer > .formRow:nth-of-type(3),
.com_rsform form .formContainer > .formRow:nth-of-type(5) {
  border-top: 1px solid var(--gray2);
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(3)
  > div
  .rsform-block:has(textarea),
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(5)
  > div
  .rsform-block:has(textarea),
.kontakt.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(2)
  > div
  .rsform-block:has(textarea),
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(3)
  > div
  .rsform-type-checkboxgroup,
.datenbestellung form .formContainer > .formRow .rsform-type-checkboxgroup,
.datenbestellung form .formContainer .formSpan12 .rsform-type-textarea {
  grid-column: 1 / -1;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(5)
  > div
  .rsform-type-submitbutton,
.kontakt.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(2)
  > div
  .rsform-type-submitbutton {
  grid-column: 1 / -1;
  display: grid;
  place-items: end;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(5)
  > div
  .rsform-type-submitbutton
  > div,
.datenbestellung form .rsform-type-submitbutton > div {
  width: fit-content;
}
.com_rsform form .formContainer > .formRow .rsform-type-submitbutton button,
.datenbestellung form .rsform-type-submitbutton button {
  background-color: var(--primary);
  padding: 10px 20px;
  color: var(--white);
  text-decoration: none;
  border: none;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(3)
  > div
  .rsform-block:has(textarea)
  textarea,
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(5)
  > div
  .rsform-block:has(textarea)
  textarea {
  width: 100%;
}
.com_rsform form .formContainer label,
.datenbestellung form .formContainer label {
  font-family: "Exo2 Bold";
  font-size: 18px;
  margin-bottom: 20px;
  display: block;
}
.com_rsform form .rsform-type-checkboxgroup .rsformVerticalClear label,
.datenbestellung form .rsform-type-checkboxgroup .rsformVerticalClear label {
  font-family: "Exo2 Light";
}
.datenbestellung .rsform-type-checkboxgroup .formBody {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(3)
  > div
  .rsform-type-checkboxgroup
  .formBody
  > div {
  display: grid;
  gap: 10px;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(3)
  > div
  .rsform-type-checkboxgroup
  .formBody
  label,
.kontakt.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(2)
  > div
  .rsform-type-checkboxgroup
  .formBody
  label,
.datenbestellung
  form
  .formContainer
  > .formRow
  > div
  .rsform-type-checkboxgroup
  .formBody
  label,
.rsform-block-verfuegbare-daten > div label {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: "Exo2 Light";
}
.rsform-block-gemeinde,
.rsform-block-datei-upload,
.rsform-block-bearbeitungszeit {
  grid-column: 1 / -1;
}
.preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}
.previewBox {
  position: relative;
  padding: 10px;
  background-color: var(--gray);
}
.previewBox i {
  position: absolute;
  right: 5px;
  top: 5px;
  background-color: var(--white);
  padding: 10px;
  font-size: 18px;
}
form select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  font-family: "Exo2 Light", sans-serif;
}
.rsform-block-datei-upload.rsform-block-datei-upload label {
  display: flex !important;
  flex-direction: column !important;
}
.rsform-block-datei-upload label::after {
  content: "Hier klicken, um Dateien hochzuladen (Shift gedrückt halten für Mehrfachauswahl).";
  border: 2px dashed var(--darkgray);
  padding: 60px;
  margin-top: 30px;
}
.rsform-block-datei-upload .formBody input {
  display: none;
}
.rsform-block-rechnungsadresse input {
  width: auto;
}
.datenbestellung
  form
  .formContainer
  > .formRow:nth-of-type(2)
  > div
  .rsform-type-checkboxgroup
  .formBody
  label
  input {
  width: fit-content;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(3)
  > div
  .rsform-type-checkboxgroup
  .formBody
  label
  input,
.kontakt.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(2)
  > div
  .rsform-type-checkboxgroup
  .formBody
  label
  input {
  display: none;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(3)
  > div
  .rsform-type-checkboxgroup
  .formBody
  label::before,
.kontakt.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(2)
  > div
  .rsform-type-checkboxgroup
  .formBody
  label::before {
  content: url("/templates/klar/assets/icon/square-sharp-regular.svg");
  width: 15px;
  height: auto;
  display: block;
  translate: 0 2px;
}
.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(3)
  > div
  .rsform-type-checkboxgroup
  .formBody
  label:has(input:checked)::before,
.kontakt.com_rsform
  form
  .formContainer
  > .formRow:nth-of-type(2)
  > div
  .rsform-type-checkboxgroup
  .formBody
  label:has(input:checked)::before {
  content: url("/templates/klar/assets/icon/square-check-sharp-solid.svg");
}
.formRow:has(.formSpan12 .rsform-block-vorname-rechnung[style="display:none;"]),
.formRow:has(
    + .formRow .formSpan12 .rsform-block-vorname-rechnung[style="display:none;"]
  ) {
  display: none;
}
.com_rsform .formValidation {
  display: none;
}
.com_rsform .formValidation:has(.formError),
.com_rsform .formRed {
  background-color: #fecaca;
  width: 100%;
  padding: 10px 20px;
  display: block;
  border: 1px solid #fca5a5;
  margin-top: 5px;
}
.com_rsform .formValidation span,
.com-rsform .formRed {
  font-family: "Exo2 Bold";
  color: #450a0a;
  display: flex;
  align-items: center;
  gap: 10px;
}
.com_rsform .formValidation span::before,
.com_rsform .formForm::before {
  content: url("/templates/klar/assets/icon/circle-exclamation-sharp-solid.svg");
  width: 15px;
  height: auto;
  display: block;
  translate: 0 2px;
}
.datenbestellung .com-content-article__body ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 40px 0;
  margin-left: 20px;
}
input,
select,
textarea {
  padding: 15px 20px;
  font-size: 18px;
  border: 1px solid var(--darkgray);
  border-radius: 0;
  outline: none;
  background-color: transparent;
  width: 100%;
}
textarea {
  resize: vertical;
}
select {
  font-family: "Exo2 Bold";
}
input::placeholder,
textarea::placeholder {
  color: var(--dark);
  font-family: "Exo2 Bold";
}
.com_rsform
  form
  .formContainer
  > .formRow:has(.rsform-block-angeforderte-daten),
.com_rsform form .formContainer > .formRow:has(.rsform-block-informationen) {
  grid-column: 1 / 2;
  border-top: 1px solid var(--gray2);
  padding-left: 5vw;
  padding-top: 60px;
  padding-right: 2vw;
  padding-bottom: 30px;
}
.com_rsform
  form
  .formContainer
  > .formRow:has(.rsform-block-angeforderte-daten)
  p,
.com_rsform form .formContainer > .formRow:has(.rsform-block-informationen) p {
  font-family: "Exo2 Bold";
}
form .formNoError {
  display: none;
}
form input:not([type="checkbox"]),
form select {
  width: 100%;
}
.grid-article .titel-content {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row: [titel] 1;
}
.grid-article .titel-content h3 {
  font-family: "Exo2 Bold";
  margin-bottom: 15px;
  font-size: 22px;
}
.grid-article span[class$="-title"],
.stellen span[class$="-title"],
.datenbestellung .formContainer .formRow:has(.rsform-block-angeforderte-daten),
.datenbestellung .formContainer .formRow:has(.rsform-block-informationen),
.datenbestellung
  .formContainer
  .formRow:has(.rsform-block-abweichende-rechnungsadresse) {
  grid-column: 1 / 2;
  border-top: 1px solid var(--gray2);
  padding-left: 5vw;
  padding-top: 60px;
  padding-right: 5vw;
  padding-bottom: 30px;
  font-family: "Exo2 Bold";
  font-size: 18px;
}
.grid-article span[class$="-title"] h4,
.stellen span[class$="-title"] h4,
.datenbestellung .rsform-block-angeforderte-daten p,
.datenbestellung .rsform-block-informationen p,
.datenbestellung .rsform-block-abweichende-rechnungsadresse p {
  font-family: "Exo2 Regular";
  opacity: 0.4;
  color: var(--dark);
}
.grid-article div[class$="-content"]:not(.titel-content),
.stellen div[class$="-content"],
.datenbestellung .formContainer .formRow {
  grid-column: 2 / 3;
  border-top: 1px solid var(--gray2);
  padding-top: 60px;
  padding-bottom: 60px;
}
.stellen div[class$="-content"] {
  padding-top: 0;
}
.standorte-content > div p a[href*="maps.app.goo"]::before {
  content: url("/templates/klar/assets/icon/map-location-dot-solid.svg");
  display: block;
  width: 20px;
  height: 20px;
}
.standorte-content
  > div
  p:has(a[href*="maps.app.goo"]):nth-of-type(3)
  a[href*="maps.app.goo"]::before {
  opacity: 0;
}
.standorte-content a[href*="tel:"]::before {
  content: url("/templates/klar/assets/icon/phone-solid.svg");
  display: block;
  width: 20px;
  height: 20px;
}
.standorte-content a[href*="mailto:"]::before {
  content: url("/templates/klar/assets/icon/envelope-solid.svg");
  display: block;
  width: 20px;
  height: 20px;
}
.grid-article .beschrieb-title {
  grid-row-start: beschrieb 1;
}
.grid-article .beschrieb-content {
  grid-row-start: beschrieb 1;
}
.grid-article .beschrieb-content video,
.grid-article .beschrieb-content img,
.grid-article .beschrieb-content figure {
  max-width: 100%;
  height: auto;
}
.grid-article .beschrieb-content iframe {
  max-width: 100%;
}
.grid-article .beschrieb-content p {
  margin-bottom: 30px;
}
.grid-article .beschrieb-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 20px;
}
.grid-article .beschrieb-content hr {
  border: none;
  border-bottom: 1px solid var(--gray2);
  margin: 60px 0;
}
.grid-article .beschrieb-content h1,
.grid-article .beschrieb-content h2,
.grid-article .beschrieb-content h3,
.grid-article .beschrieb-content h4 {
  font-size: 35px;
  line-height: 200%;
  font-family: "Exo2 Bold";
  margin-bottom: 30px;
}
.grid-article .dienstleistungen-title,
.grid-article .standorte-title {
  grid-row-start: dienstleistungen 1;
}
.grid-article .standorte-title {
  grid-row-start: 1;
}
.grid-article .fachgebiete-title {
  grid-row-start: fachgebiete 1;
}
.grid-article .dienstleistungen-content {
  grid-row-start: dienstleistungen 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 30px;
}
.grid-article .fachgebiete-content {
  grid-row-start: fachgebiete 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  column-gap: 30px;
}
.nachfuehrgemeinden-content {
  grid-row-start: dienstleistungen 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  column-gap: 40px;
  margin-top: 100px;
}
.grid-article .standorte-content {
  grid-row-start: 1 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  padding-bottom: 30px;
  gap: 50px;
}
.grid-article .standorte-content h4 {
  font-size: 20px;
  font-family: "Exo2 Bold";
  margin-top: 20px;
  margin-bottom: 10px;
}
.grid-article .standorte-content p:last-of-type {
  margin-top: 10px;
}
.grid-article .standorte-content p:has(joomla-hidden-mail) {
  margin-top: 30px;
  margin-bottom: 30px;
}
.grid-article .standorte-content p a {
  align-items: center;
}
.grid-article .dienstleistungen-content div,
.grid-article .fachgebiete-content div,
.grid-article .standorte-content div,
.nachfuehrgemeinden-content a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--gray2);
  position: relative;
}
.grid-article .dienstleistungen-content div,
.grid-article .fachgebiete-content div {
  padding: 0 0;
}
.grid-article .dienstleistungen-content div:first-of-type,
.grid-article .dienstleistungen-content div:nth-of-type(2),
.grid-article .fachgebiete-content div:first-of-type,
.grid-article .fachgebiete-content div:nth-of-type(2) {
  padding-top: 0;
}
.grid-article .dienstleistungen-content div p:not(:empty),
.grid-article .dienstleistungen-content div p:not(:empty),
.grid-article .fachgebiete-content div p:not(:empty),
.grid-article .fachgebiete-content div p:not(:empty) {
  padding-bottom: 30px;
}
.grid-article .dienstleistungen-content div h4,
.grid-article .fachgebiete-content div h4,
.nachfuehrgemeinden-content a > * {
  font-size: 18px;
  font-family: "Exo2 Bold";
  margin-bottom: 30px;
  margin-top: 30px;
}
.grid-article .dienstleistungen-content div a,
.grid-article .fachgebiete-content div a {
  margin-top: 20px;
}
.grid-article .standorte-content div:not(:last-of-type)::after {
  content: "";
  position: absolute;
  right: -25px;
  top: 0;
  bottom: 30px;
  border-right: 1px solid var(--gray2);
}
.grid-article .standorte-content div img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.grid-article .gallery-content {
  grid-row-start: gallery 1;
}
.grid-article .gallery-title {
  grid-row-start: gallery 1;
}
.grid-article div[class$="-content"] a {
  text-decoration: none;
  color: var(--primary);
  font-family: "Exo2 Bold";
  display: flex;
  gap: 20px;
}
.grid-article.grid-article div.standorte-content a {
  color: var(--dark);
  font-family: "Exo2 Light";
}
.grid-article .dienstleistungen-content ul li,
.grid-article .standorte-content ul li {
  list-style: none;
}
.grid-article .dienstleistungen-content .field-label,
.grid-article .standorte-content .field-label {
  display: none;
}
.gallery-content .ig-thumbs-grid-block {
  margin-bottom: 0 !important;
  width: 100% !important;
  height: auto !important;
  position: inherit !important;
  left: inherit !important;
  top: inherit !important;
}
.gallery-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  height: auto !important;
}
.gallery-content a {
  overflow: hidden;
  position: relative;
}
.gallery-content a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 100%;
  background-color: var(--primary);
  opacity: 0.6;
  pointer-events: none;
  transition: all ease-out 0.3s;
}
.gallery-content a:hover::after {
  top: 0;
}
.gallery-content a img {
  object-fit: cover;
  display: block;
  height: 100%;
  transition: scale ease-out 0.2s;
}
.gallery-content a img:hover {
  scale: 1.1;
}
.gallery-content a:nth-of-type(12n + 1) {
  grid-column: 1 / 3;
  grid-row: span 2;
}
.gallery-content a:nth-of-type(12n + 2),
.gallery-content a:nth-of-type(12n + 3) {
  grid-column: 3 / 4;
  grid-row: span 1;
}
.gallery-content a:nth-of-type(12n + 7) {
  grid-column: 1 / 2;
  grid-row: span 1;
}
.gallery-content a:nth-of-type(12n + 8) {
  grid-column: 2 / -1;
  grid-row: span 2;
  min-height: 500px;
}
.nachfuehrgemeinden > .mod-custom,
.nachfuehrgemeinden iframe {
  max-width: 1000px;
  width: 100%;
}
.nachfuehrgemeinden {
  padding-top: 100px;
  padding-bottom: 200px;
  background-color: var(--gray);
}
.nachfuehrgemeinden iframe {
  width: 100%;
  min-height: 800px;
  margin-top: 100px;
}
.nachfuehrgemeinden a {
  font-family: "Exo2 Bold";
  text-decoration: none;
  color: var(--dark);
}
.nachfuehrgemeinden h2 {
  margin-top: 30px;
  margin-bottom: 60px;
}
body .igui-lightbox {
  display: none;
}
.datenschutz .com-content-article__body h3,
.impressum .com-content-article__body h3 {
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: 35px;
}
.datenschutz .com-content-article__body ul,
.impressum .com-content-article__body ul {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.datenschutz .com-content-article__body a,
.impressum .com-content-article__body a {
  font-weight: bold;
  color: var(--dark);
  text-decoration: none;
}
.datenschutz .com-content-article__body h4,
.impressum .com-content-article__body h4 {
  font-size: 18px;
}
.datenschutz .com-content-article__body h4 strong,
.impressum .com-content-article__body h4 strong {
  font-size: 20px;
}
@media screen and (max-width: 1500px) {
  :root {
    --padding-site: 10vw;
  }
}
@media screen and (max-width: 1320px) {
  :root {
    --font-size-h1: clamp(3.125rem, 2.3674rem + 2.4242vw, 4.375rem);
  }
  nav img {
    max-width: 300px;
  }
  .grid-article .dienstleistungen-content div:first-of-type h4,
  .grid-article .dienstleistungen-content div:nth-of-type(2) h4,
  .grid-article .fachgebiete-content div:first-of-type h4,
  .grid-article .fachgebiete-content div:nth-of-type(2) h4 {
    margin-top: 30px;
  }
}
@media screen and (max-width: 1170px) {
  :root {
    --padding-site: 6vw;
  }
  nav > .maxWidth {
    gap: 4vw;
  }
  header .main-header .mod-custom {
    grid-template-columns: 1fr;
  }
  .com_rsform
    form
    .formContainer
    > .formRow:has(.rsform-block-angeforderte-daten),
  .com_rsform form .formContainer > .formRow:has(.rsform-block-informationen) {
    padding-left: 0;
    padding-top: 30px;
  }
  .com_rsform
    form
    .formContainer
    > .formRow:has(.rsform-block-angeforderte-daten)
    p,
  .com_rsform
    form
    .formContainer
    > .formRow:has(.rsform-block-informationen)
    p {
    font-size: 30px;
  }
  .com_rsform form > * {
    grid-column: 1 / -1;
  }
  footer .main-footer .logos {
    place-items: center;
    margin-bottom: 60px;
  }
  footer .main-footer .logos div {
    grid-column: 1 / -1;
  }
}
@media screen and (max-width: 918px) {
  section {
    padding-top: 10vh;
    padding-bottom: 100px;
  }
  button.hamburger {
    display: block;
  }
  .nav {
    display: none;
  }
  .nav.mobile {
    display: none;
    z-index: -1;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    padding: 60px var(--padding-site);
    background-color: var(--white);
    border-bottom: 1px solid var(--dark);
    align-items: start;
    flex-direction: column;
    gap: 30px;
  }
  .nav.mobile.show {
    display: flex;
  }
  nav ul li,
  nav ul li a {
    width: 100%;
  }
  nav > div > ul > .nav-item.parent {
    display: grid;
    position: relative;
    gap: 0;
  }
  nav > div > ul > .nav-item.parent span {
    line-height: 260%;
  }
  nav > div > ul > .nav-item > .mod-menu__sub {
    translate: 0 -150%;
    position: inherit;
    display: none;
    z-index: 1;
    translate: 0 0;
    top: 0;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid var(--gray2);
  }
  nav > div > ul > .nav-item > .mod-menu__sub.show {
    display: block;
  }
  nav > div > ul > .nav-item.parent::after {
    position: absolute;
    right: 0;
    top: 0;
  }
  nav > div > ul > .nav-item > .mod-menu__sub > .inner-sub-nav {
    display: block;
    padding: 0;
    border-top: none;
  }
  nav > div > ul > .nav-item > .mod-menu__sub > .inner-sub-nav > .nav-item > a,
  nav .inner-sub-nav .mod-menu__heading {
    line-height: 220%;
  }
  nav
    > div
    > ul
    > .nav-item
    > .mod-menu__sub
    > .inner-sub-nav
    > .nav-item
    > a::after {
    display: none;
  }
  .grid-article .standorte-content.standorte-content div::after {
    border-right: none;
  }
}
@media screen and (max-width: 800px) {
  header h1 {
    font-size: 6vw;
  }
  header h1 strong {
    font-size: 14vw;
  }
  h1,
  h2,
  h3 {
    hyphens: auto;
    overflow-wrap: anywhere;
  }
  h2 {
    font-size: 250%;
  }
  .item-content p:has(a),
  .item-content:has(p a) p:not(:has(a)) {
    grid-column: 1 / -1;
  }
  .projekte:not(:has(.filterButton)) .grid-item h3,
  .projekte:has(.filterButton) .grid-item h3,
  .news.news .grid-item.grid-item h3 {
    font-size: 25px;
    overflow-wrap: anywhere;
  }
  .news .grid-item .item-content p {
    font-size: 13px;
  }
  .projekte .grid-item:nth-of-type(1) h3,
  .projekte .grid-item h3,
  .news .grid-item .item-content {
    padding: 10px;
  }
  .com-content-category-blog__item .filter,
  .com-content-category-blog__item .filter[active] {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .com-content-category-blog__item .filter .filter-item {
    hyphens: auto;
    overflow-wrap: anywhere;
    display: flex;
    gap: 10px;
    align-items: center;
  }
  section > * {
    grid-column: 1 / -1;
  }
  section:has(.grid-article),
  .stellen section {
    padding-right: var(--padding-site);
    padding-left: var(--padding-site);
  }
  .projekte .grid-item.grid-item,
  .news .grid-item.grid-item {
    grid-column: span 1;
    min-height: auto;
  }
  .gallery-content.gallery-content a {
    grid-column: 1 / -1;
  }
  .grid-article,
  .com_rsform form,
  .stellen .mod-articlescategory {
    display: block;
  }
  .grid-article span[class$="-title"],
  .grid-article div[class$="-content"],
  .stellen span[class$="-title"],
  .item-pagedatenbestellung
    .formContainer
    .formRow:has(.rsform-block-angeforderte-daten),
  .item-pagedatenbestellung
    .formContainer
    .formRow:has(.rsform-block-informationen) {
    padding-left: 0;
    padding-right: 0;
  }
  .grid-article span[class$="-title"],
  .grid-article div[class$="-content"] {
    padding-bottom: 0;
  }
  .grid-article .titel-content {
    margin-bottom: 30px;
  }
  .grid-article span[class$="-title"],
  .stellen span[class$="-title"],
  .item-pagedatenbestellung
    .formContainer
    .formRow:has(.rsform-block-angeforderte-daten),
  .item-pagedatenbestellung
    .formContainer
    .formRow:has(.rsform-block-informationen) {
    font-size: 25px;
    padding-top: 30px;
    padding-bottom: 30px;
    display: block;
  }
  .kontakt main,
  .datenbestellung main {
    margin-top: 0;
  }
  .datenbestellung section {
    padding-right: var(--padding-site);
    padding-left: var(--padding-site);
  }
  .item-pagedatenbestellung .com-content-article__body {
    display: block;
  }
  .grid-article .dienstleistungen-content,
  .grid-article .fachgebiete-content {
    grid-template-columns: 1fr;
  }
  .item-content .category-module,
  .projekte .grid_projekte,
  .news-section {
    grid-template-columns: 1fr;
  }
  .item-content .category-module > a,
  .projekte .grid_projekte > a,
  .mod-articlescategory > a,
  .projekte-page > a,
  .news-section > a {
    grid-column: 1 / -1 !important;
  }
}
@media screen and (max-width: 690px) {
  .com_rsform form .formContainer > .formRow:nth-of-type(5) > div,
  .kontakt.com_rsform form .formContainer > .formRow:nth-of-type(2) > div {
    grid-template-columns: 1fr;
  }
  .com_rsform form .formContainer > .formRow:nth-of-type(5) > div > *,
  .kontakt.com_rsform form .formContainer > .formRow:nth-of-type(2) > div > * {
    grid-column: 1 / -1 !important;
  }
  .nachfuehrgemeinden-content a > * {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  section > .item-content {
    grid-template-columns: 1fr;
  }
  section,
  body .projekte-page,
  body .mod-articlescategory,
  .stellen .com-content-article__body,
  .datenbestellung .com-content-article__body {
    display: flex;
    flex-direction: column;
  }
  footer .main-footer > div {
    display: flex;
    flex-direction: column;
  }
}
@media screen and (max-width: 416px) {
  header a:not(:first-of-type) .primary_button,
  header a .secondary_button {
    margin-top: 10px;
  }
}
