:root {
  --primary: #da1884;
  --secondary: #702082;
  --tertiary: #00cfe6;
  --violet: #662482;
  --brown: #8d004d;
  --dark: #260d31;
  --darkgray: #3e3e3e;
  --gray: #646464;
  --lightgray: #e6e6e6;
  --light: #fff0f8;
  --white: #ffffff;

  --accent-color: var(--primary);

  --p: 20px;
  --h1: 70px;
  --h2: 50px;
  --h3: 25px;
  --h4: 20px;
  --small: 16px;

  --font-family: "quiroh";

  --font-regular: 400;
  --font-semibold: 600;
  --font-bold: 700;

  --maxWidth: 1200px;

  --paddingY: 150px;
  --paddingX: 30px;

  --before-lines-calculation: 100vw;
  --before-lines-x: 30px;
  --after-lines-x: 30px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
  font-family: var(--font-family), sans-serif;
  font-style: normal;
}
body,
main,
nav:not(:has(.hamburger.is-active)) {
  overflow-x: hidden;
}
body::before {
  content: "";
  background: url("/templates/klar/images/background-structure.png");
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0.4;
  background-size: cover;
  background-repeat: no-repeat;
}
h1 {
  font-size: var(--h1);
  font-weight: var(--font-bold);
  color: var(--dark);
  line-height: 120%;
  translate: -110px 0;
}
h2 {
  font-size: var(--h2);
  font-weight: var(--font-bold);
  color: var(--dark);
  line-height: 120%;
  translate: -110px 0;
}
h3 {
  font-size: var(--h3);
  font-weight: var(--font-bold);
  color: var(--dark);
  line-height: 120%;
}
h4 {
  font-size: var(--h4);
  font-weight: var(--font-bold);
  color: var(--secondary);
  line-height: 120%;
}
p {
  font-size: var(--p);
  font-weight: var(--font-regular);
  color: var(--gray);
  line-height: 160%;
}
section {
  display: grid;
  place-items: center;
  padding-top: var(--paddingY);
  padding-bottom: var(--paddingY);
}

h3:not(.box h3) {
  margin-top: 60px;
}
.visually-hidden {
  display: none;
}
.max-width {
  max-width: var(--maxWidth);
  width: calc(100vw - (var(--paddingX) * 3));
  padding: 0px var(--paddingX);
}
.max-width > .margin-left {
  margin-left: 110px;
  margin-right: 110px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.cols-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 30px;
  position: relative;
  z-index: 10;
  margin-top: 30px;
}
.cols-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 30px;
  position: relative;
  z-index: 10;
  margin-top: 60px;
}
.cols-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 30px;
  position: relative;
  z-index: 10;
  margin-top: 60px;
}
.cols-2 .box,
.cols-3 .box,
.cols-4 > div {
  position: relative;
  text-decoration: none;
  color: var(--dark);
  font-weight: var(--font-semibold);
}
.cols-2 .box .box-content,
.cols-3 .box .box-content {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  height: 100%;
}
.cols-2 .box .bg-overlay,
.cols-3 .box .bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 10px;
  background-color: transparent;
  transform-origin: bottom right;
  transition: all ease-out 0.2s;
}
.cols-3.aufzaehlung .box .bg-overlay {
  transform-origin: center;
}
.cols-3 .box:has(.btn:hover) .bg-overlay,
.cols-2 .box:has(.btn:hover) .bg-overlay,
.cols-3.aufzaehlung .box:hover .bg-overlay {
  transform: rotateZ(1deg);
  scale: 1.02;
  background-color: var(--accent-color);
}
.aufzaehlung.cols-3 {
  gap: 30px;
  margin-left: -110px;
  margin-right: -110px;
  margin-bottom: 60px;
}
.aufzaehlung.cols-3.no-margin-left {
  margin-left: 0px;
}
.aufzaehlung.cols-3 .box .box-content {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  overflow-wrap: break-word;
  hyphens: auto;
  text-align: center;
}

.cols-3 .box a {
  width: fit-content;
}

.cols-2:not(.cols-2.aufzaehlung) .box:first-of-type {
  --accent-color: var(--primary);
}
.cols-3:not(.cols-3.aufzaehlung) .box:first-of-type {
  --accent-color: var(--tertiary);
}
.cols-3:not(.cols-3.aufzaehlung) .box:nth-of-type(2),
.cols-2:not(.cols-2.aufzaehlung) .box:nth-of-type(2) {
  --accent-color: var(--primary);
}
.ueber-uns .cols-2:not(.cols-2.aufzaehlung) .box:nth-of-type(2) {
  --accent-color: var(--secondary);
}
.cols-3:not(.cols-3.aufzaehlung) .box:nth-of-type(3),
.cols-2:not(.cols-2.aufzaehlung) .box:nth-of-type(3) {
  --accent-color: var(--brown);
}
.cols-3:not(.cols-3.aufzaehlung) .box a,
.cols-2:not(.cols-2.aufzaehlung) .box a {
  border-color: var(--accent-color);
  color: var(--accent-color);
  width: fit-content;
}
.cols-3.aufzaehlung .box {
  --accent-color: var(--tertiary);
}
.cols-3 .box .oeffnungszeiten.oeffnungszeiten span {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.cols-3 .box span:last-of-type {
  padding-bottom: 20px;
  display: block;
}
.cols-3:has(.span-row-1) .box {
  grid-row: span 2;
}
.cols-3 .box.span-row-1 {
  grid-row: span 1;
}
.btn {
  border-radius: 6px;
  padding: 5px 10px;
  text-decoration: none;
  font-weight: var(--font-semibold);
  position: relative;
  font-size: var(--p);
  width: fit-content;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: var(--tertiary);
  border-radius: 6px;
  z-index: -1;
  transition: all ease-out 0.2s;
}

.btn-primary:hover::before {
  scale: 1.05 1.1;
  transform: rotateZ(3deg);
}
.btn-primary {
  background: var(--accent-color);
  color: var(--white);
  border: 1px solid var(--accent-color);
}
.pink .btn-primary {
  --accent-color: var(--white);
  color: var(--darkgray);
}
.pink .btn-secondary {
  --accent-color: var(--white);
  color: var(--white);
}
.pink
  .btn-secondary:not(footer .btn-secondary):not(
    .box-content .btn-secondary
  )::before {
  --accent-color: var(--white);
}
.btn-secondary,
.purple .action-buttons a.btn-secondary {
  border-color: transparent;
  color: var(--accent-color);
  transition: all ease-out 0.2s;
  position: relative;
}
.btn-secondary:not(.box-content .btn-secondary),
.purple .action-buttons a.btn-secondary:not(.box-content .btn-secondary) {
  --accent-color: var(--secondary);
}
.btn-secondary:not(footer .btn-secondary)::before,
.purple .action-buttons a.btn-secondary::before,
.cols-3:not(.cols-3.aufzaehlung)
  .box
  a:not(.cols-3 .team-member-info a)::before,
.cols-2:not(.cols-2.aufzaehlung) .box > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  border-radius: 6px;
  border: 1px solid var(--accent-color);
  background-color: transparent;
  transition: all ease-out 0.2s;
}
.btn-secondary:not(footer .btn-secondary):not(
    .box-content .btn-secondary
  )::before,
.purple
  .action-buttons
  a.btn-secondary:not(.box-content .btn-secondary)::before {
  --accent-color: var(--secondary);
}
.purple .action-buttons a.btn-secondary::before {
  border-color: var(--white);
}
.cols-3:not(.cols-3.aufzaehlung) .box a::before,
.cols-2:not(.cols-2.aufzaehlung) .box a::before {
  border-color: var(--accent-color);
}
.cols-3:not(.cols-3.aufzaehlung) .box a:hover::before,
.cols-2:not(.cols-2.aufzaehlung) .box a:hover::before {
  transform: rotate(0deg);
  scale: 1;
}
.pink {
  background: #da1884;
}
.purple {
  background: #702082;
}
.pink > div > .margin-left,
.purple > div > .margin-left h3:not(.box h3),
.purple > div > .margin-left h2:not(.box h2),
.purple > div > .margin-left p:not(.box p) {
  --accent-color: var(--white);
  --gray: var(--lightgray);
  --dark: var(--white);
}
.purple .action-buttons a.btn-primary {
  color: var(--white);
}
.purple .action-buttons a.btn-secondary {
  color: var(--white);
  border-color: var(--white);
}
.small-padding {
  padding-top: 0px;
  padding-bottom: 80px;
}
.logo {
  max-width: 300px;
  width: 22vw;
  height: auto;
  display: block;
  align-self: start;
  z-index: 910;
}
.logo img {
  width: 100%;
  height: auto;
}

nav {
  display: grid;
  place-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 900;
}
nav .max-width {
  width: 100%;
}
nav li {
  list-style: none;
}
nav li.current a {
  font-weight: var(--font-bold);
}
nav li a {
  text-decoration: none;
  color: var(--dark);
  font-size: var(--small);
  font-weight: var(--font-regular);
  mix-blend-mode: difference;
  transition: all 0.3s ease-in-out;
}
.home nav li a {
  color: var(--white);
}
nav li .btn {
  color: var(--dark);
  border-color: var(--dark);
}
nav li.current .btn,
body:not(.home) nav li .btn {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
nav li.current .btn::before,
body:not(.home) nav li .btn::before {
  border-color: var(--primary);
}
.home nav li .btn {
  color: var(--white);
  border-color: var(--white);
}
.home nav li .btn::before {
  border-color: var(--white);
}

nav .nav-links {
  flex: 1;
}
nav .nav-links ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-right: 30px;
  margin-left: 10vw;
}
nav > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav .hamburger {
  display: none;
  z-index: 910;
}
nav .hamburger.is-active .hamburger-inner,
nav .hamburger.is-active .hamburger-inner::before,
nav .hamburger.is-active .hamburger-inner::after {
  background-color: var(--white);
}

header .blob {
  height: 100vh;
  width: 100vw;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
}
header .blob img {
  position: absolute;
  top: 0;
  right: 0;
}
header .blob .pink {
  translate: 42% -98%;
  width: 100%;
  scale: 1.7;
}
header .blob .purple {
  translate: 62% -38%;
  width: 100%;
  scale: 1;
}
header .blob .blue {
  translate: 51% -49%;
  width: 100%;
  scale: 1;
  z-index: -3;
  transform: rotate(-7deg);
}
header,
body:not(:has(header)) section:first-of-type {
  padding-top: 200px;
  padding-bottom: 150px;
}
body:not(:has(header)) section.gemeinde-und-schule {
  padding-top: 200px;
  padding-bottom: 50px;
}
header {
  height: 850px;
  display: grid;
  place-items: center;
}
header spline-viewer {
  position: absolute;
  top: -5px;
  right: 0;
  pointer-events: none;
  height: 1000px;
}
header spline-viewer #logo {
  display: none;
}
section.pink h2 {
  --primary: var(--white);
}

h1,
section h2 {
  position: relative;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: end;
}
h1::before,
section h2::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: calc((var(--before-lines-calculation) - 100%) / 2);
  height: 5px;
  background: var(--accent-color);
  translate: calc(-100% - var(--before-lines-x)) 50%;
  transform-origin: right;
  border-radius: 20px;
  z-index: -1;
}
h1::after,
section h2::after {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 80px;
  height: 5px;
  background: var(--accent-color);
  translate: calc(100% + var(--after-lines-x)) 50%;
  border-radius: 20px;
  z-index: -1;
}
header .header-content p:has(.btn) {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.angebot-aufzaehlung {
  margin-bottom: 30px;
}
.angebot-aufzaehlung.cols-2 {
  gap: 30px;
}
.angebot-aufzaehlung.cols-2 img {
  width: auto;
  height: 30px;
}
.angebot-aufzaehlung.cols-2 > .box {
  flex-direction: row;
  justify-content: center;
  background-color: var(--white);
  display: flex;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}
.angebot-aufzaehlung > div {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  hyphens: auto;
  overflow-wrap: break-word;
  gap: 10px;
  padding: 20px;
}
body:not(:has(header)) section:first-of-type.gemeinde-und-schule {
  padding-top: 0px;
  height: 80vh;
  position: relative;
}
.gemeinde-und-schule img {
  position: absolute;
  left: 0;
  top: 0;
  width: 60vw;
  height: 100%;
  object-fit: cover;
  place-self: start;
}
.gemeinde-und-schule .max-width {
  place-self: end center;
  z-index: +1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.gemeinde-und-schule .max-width > div:first-of-type {
  flex: 26.5vw;
  margin-left: 0px;
}
.gemeinde-und-schule .max-width > div:last-of-type {
  flex: 1;
}
.gemeinde-und-schule .website-icon {
  color: var(--gray);
  text-decoration: none;
  margin-top: 30px;
  font-size: var(--p);
  display: block;
}
.gemeinde-und-schule .website-icon .btn {
  display: flex;
  align-items: center;
  gap: 10px;
}
.gemeinde-und-schule .website-icon .btn::before {
  content: url("/templates/klar/images/webseite-icon.svg");
  display: block;
  width: 18px;
  height: 18px;
}
.gemeinde-und-schule h1 {
  translate: 0px 0px;
}
.gemeinde-und-schule h3 {
  color: var(--primary);
}
.gemeinde-und-schule::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60vw;
  height: 100%;
  background-color: var(--white);
  mix-blend-mode: hard-light;
  opacity: 0.6;
}
.gemeinde-und-schule ::after {
  display: none;
}
section:has(.team) {
  padding-top: 100px;
}
.team-member {
  --team-member-info-rest-width: 100%;
  --accent-color: var(--primary);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  place-items: center;
  gap: 50px;
}
.team-member .kontakt-angaben {
  width: 100%;
}
.team-member:nth-of-type(even) .kontakt-angaben {
  grid-row-start: 1;
}
.team.cols-3 {
  gap: 30px;
  margin-top: 0px;
  grid-template-columns: repeat(1, 1fr);
}
.team-member h3 {
  font-size: var(--h2);
  margin-bottom: 30px;
}
.team-member h4 {
  font-size: var(--h3);
  margin-top: 30px;
  color: var(--accent-color);
  width: fit-content;
  position: relative;
}
.team-member-info {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 30px;
}
.team-member:nth-of-type(odd) img {
  mask-image: url(/templates/klar/images/team-bg-mask.svg);
  mask-size: 100%;
  background: var(--secondary);
  background: linear-gradient(
    45deg,
    var(--secondary) 0%,
    rgba(255, 255, 255, 0) 65%
  );
}
.team-member:nth-of-type(even) img {
  mask-image: url(/templates/klar/images/team-bg-mask-2.svg);
  mask-size: 100%;
  background: var(--tertiary);
  background: linear-gradient(
    45deg,
    var(--tertiary) 0%,
    rgba(255, 255, 255, 0) 75%
  );
}
.team-member img {
  width: 100%;
  max-width: 400px;
  height: auto;
  mask-position: 30% 70%;
  mask-size: 136%;
  mask-origin: fill-box;
}
.team-member:nth-of-type(even) img {
	max-width: 450px;	
}
.team-member-info .box {
  gap: 10px;
  justify-content: start;
  flex: 1;
}
.team.team .team-member-info .box a {
  color: var(--gray);
  text-decoration: none;
}
.team .team-member-info .e-mail,
.team .team-member-info .telefon {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: var(--small);
}
.partner-werden-kontakt joomla-hidden-mail a[href*="mailto:"],
.partner-werden-kontakt a[href*="tel:"] {
  display: flex;
  gap: 10px;
}
.team .team-member-info .e-mail i,
.partner-werden-kontakt p:has(joomla-hidden-mail a[href*="mailto:"]) i {
  color: var(--primary);
}
.team .team-member-info .telefon i,
.partner-werden-kontakt p:has(a[href*="tel:"]) i {
  color: var(--primary);
}
.partner-werden-kontakt p:has(joomla-hidden-mail a[href*="mailto:"]),
.partner-werden-kontakt p:has(a[href*="tel:"]) {
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-member-info .box h5 {
  --accent-color: var(--primary);
  font-weight: var(--font-bold);
  font-size: var(--h4);
  color: var(--accent-color);
}
.team-member-info .oeffnungszeiten {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  column-gap: 30px;
  border-top: 1px solid var(--lightgray);
  margin-top: 20px;
  padding-top: 30px;
}
.cols-3 .team-member .team-member-info .oeffnungszeiten.box span {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 10px;
}
.team-member-info .oeffnungszeiten > div * {
  font-size: var(--small);
}
.cols-3 .team-member .kontakt-infos.box a::before {
  border: none;
}
.team-member h4::after {
  content: "";
  position: absolute;
  bottom: 50%;
  right: -30px;
  width: calc(var(--team-member-info-rest-width) - 30px);
  height: 5px;
  background: var(--accent-color);
  translate: 0 0%;
  border-radius: 20px;
  translate: calc(var(--team-member-info-rest-width) - 30px) 50%;
}
.formResponsive .formRow .formSpan12 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.formControlLabel,
.formResponsive .formHorizontal p.formDescription {
  display: none;
}
.formResponsive .formHorizontal .formControls {
  margin-left: 0px;
}
.formResponsive .formHorizontal .rsform-block {
  margin-bottom: 0px;
}
.formResponsive.formResponsive input,
.formResponsive.formResponsive textarea {
  width: 100%;
  padding: 20px;
  font-size: var(--p);
  border-radius: 6px;
  margin: 0px;
  border-color: var(--primary);
  resize: vertical;
  line-height: 140%;
}
.formResponsive input::placeholder,
.formResponsive textarea::placeholder {
  font-size: var(--p);
  color: var(--primary);
}
.formResponsive .formBody:not(:has(input.rsform-error)) .formValidation {
  display: none;
}
.formResponsive button[type="reset"],
.formResponsive button[type="submit"],
.formResponsive input[type="reset"],
.formResponsive input[type="submit"] {
  background-color: var(--primary);
  border-color: var(--primary);
  text-shadow: none;
  box-shadow: none;
  font-size: var(--small);
  padding: 10px 15px;
}
.formResponsive button[type="reset"]:hover,
.formResponsive button[type="submit"]:hover,
.formResponsive input[type="reset"]:hover,
.formResponsive input[type="submit"]:hover {
  background-color: var(--violet);
  border-color: var(--violet);
}
#rsform_error_3,
.formError {
  border: 1px solid oklch(0.505 0.213 27.518);
  background-color: oklch(0.971 0.013 17.38);
  border-radius: 6px;
  padding: 4px 8px;
}
#rsform_error_3 p,
.formResponsive.formResponsive .formError {
  font-size: 16px;
  color: oklch(0.505 0.213 27.518);
  height: auto;
  margin: 0px;
}
.formValidation {
  width: 100%;
  display: block;
}
.partner-werden-kontakt {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.partner-werden-kontakt .box h3 {
  margin-bottom: 10px;
}
.partner-werden-kontakt .box span {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cols-3:not(.cols-3.aufzaehlung) .partner-werden-kontakt .box a,
.cols-2:not(.cols-2.aufzaehlung) .partner-werden-kontakt .box a,
.cols-3:not(.cols-3.aufzaehlung)
  .partner-werden-kontakt
  .box
  joomla-hidden-mail
  a,
.cols-2:not(.cols-2.aufzaehlung)
  .partner-werden-kontakt
  .box
  joomla-hidden-mail
  a {
  color: var(--dark);
  text-decoration: none;
  font-size: var(--small);
  font-weight: var(--font-regular);
}

footer {
  display: grid;
  place-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
  box-shadow: 0 10px 30px var(--lightgray);
  background-color: var(--white);
}
footer > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
footer .footer-content {
  display: flex;
  justify-content: space-between;
  flex: 1;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px;
  margin-left: 10%;
}
footer .footer-content #mod-custom116 {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
}
footer li {
  list-style: none;
}
footer p,
footer a,
footer .btn {
  color: var(--dark);
  text-decoration: none;
  font-size: var(--small);
  font-weight: var(--font-regular);
  border: none;
  padding: 0;
}
footer li a,
footer .btn {
  font-weight: var(--font-semibold);
}
footer .klar-icon {
  display: flex;
  align-items: center;
  gap: 4px;
}
footer .klar-icon::before {
  content: url("/templates/klar/images/klar.svg");
  display: block;
}
.privacy h2 {
  font-size: 40px;
}
.privacy ul {
  margin-left: 30px;
}
.privacy ul li {
  line-height: 180%;
  font-size: var(--p);
  color: var(--darkgray)
}

@media screen and (max-width: 850px) {
  h1,
  h2,
  h3,
  h4,
  h5,
  p,
  a {
    hyphens: auto;
    overflow-wrap: break-word;
  }

  .max-width {
    width: 100%;
  }
  .gemeinde-und-schule .max-width {
    flex-direction: column;
    gap: 0px;
    align-items: start;
  }
  .gemeinde-und-schule .max-width > div:first-of-type {
    flex: 1;
  }
  .gemeinde-und-schule img,
  .gemeinde-und-schule::after {
    width: 100vw;
    height: 80vh;
  }
  footer > div {
    flex-direction: column;
    align-items: center;
  }
  footer .footer-content {
    margin-left: 0;
    gap: 30px;
    width: 100%;
  }
  .logo {
    min-width: 150px;
    width: 40vw;
  }
}

@media screen and (max-width: 900px) {
  :root {
    --h1: clamp(2.5rem, 1.3068rem + 5.4545vw, 4.375rem);
  }
  h1,
  h2 {
    transform: translate(0px, 0px) !important;
    translate: 0 0;
    align-items: start;
  }
  nav .hamburger {
    display: block;
  }
  nav .nav-links {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 100vw;
    width: 100%;
    height: 100vh;
    background-color: var(--primary);
    display: grid;
    place-items: center;
    padding: 5%;
    translate: 100% 0;
    z-index: 900;
    transition: all ease-in-out 0.2s;
  }
  nav .nav-links .nav-item a {
    --small: 30px;
    color: var(--white);
  }
  nav li.current .btn::before,
  body:not(.home) nav li .btn::before {
    border-color: var(--white);
  }
  nav .nav-links ul,
  nav .nav-links li {
    width: 100%;
  }
  .max-width > .margin-left,
  .aufzaehlung.cols-3,
  .angebot-aufzaehlung {
    margin-left: 0px;
    margin-right: 0px;
  }

  nav:has(.hamburger.is-active) .nav-links,
  nav:has(.hamburger.is-active) .nav-links::after {
    translate: 0 0;
  }
  nav .nav-links ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    margin: 0px;
  }
  nav .nav-links a {
    color: var(--dark);
    mix-blend-mode: normal;
  }
}
@media screen and (max-width: 609px) {
  .team-member .kontakt-angaben {
    grid-row: 1;
  }
  .team-member h4::after,
  h1::after,
  h2::after {
    content: none;
  }
}
