body.kontakt-seite {
  color: #17324a;
  background:
    radial-gradient(ellipse at 86% 0, rgba(215, 234, 249, .48), transparent 34rem),
    #f4f7fb;
  font-family: Arial, Helvetica, sans-serif;
}

body.kontakt-seite #wrapper {
  width: min(920px, calc(100% - 32px)) !important;
  max-width: 920px !important;
  min-height: 0 !important;
  margin: 20px auto 40px !important;
  overflow: visible;
}

body.kontakt-seite #headerbild img {
  max-height: 130px;
  object-fit: cover;
  object-position: center 43%;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(17, 53, 82, .1);
}

body.kontakt-seite .content_inhalt {
  margin: 18px 0 24px !important;
}

body.kontakt-seite #wrapper .kontakt-block {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
}

body.kontakt-seite .content_inhalt .content_farbe {
  padding: 0 32px 32px !important;
  color: #17324a;
  background: #fff;
  border: 1px solid #e1e9f0;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(17, 53, 82, .08) !important;
}

body.kontakt-seite .kontakt-formular {
  padding: 22px 0 20px;
}

body.kontakt-seite .kontakt-kopf {
  margin: 0 0 24px;
  padding: 8px 0 20px;
  border-bottom: 1px solid #e3ebf2;
  text-align: left;
}

body.kontakt-seite .kontakt-kopf h2 {
  color: #173f5e;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}

body.kontakt-seite .kontakt-teaser {
  margin: 0 0 24px;
  padding: 0;
  color: #526b80;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
}

body.kontakt-seite .grie {
  max-width: none !important;
  margin: 0 0 18px;
}

body.kontakt-seite .grie .grie-c8,
body.kontakt-seite .grie-c8,
body.kontakt-seite .grie-c8 b,
body.kontakt-seite .grie b,
body.kontakt-seite .grie em {
  color: #294d69 !important;
  font-size: 15px;
  font-weight: 600;
  font-style: normal;
  line-height: 1.45;
}

body.kontakt-seite .grie-c8 {
  padding: 0 0 7px;
}

body.kontakt-seite .grie input:not([type="hidden"]),
body.kontakt-seite .grie select,
body.kontakt-seite .grie textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 46px;
  margin: 0 !important;
  padding: 10px 12px;
  border: 1px solid #b8c8d6 !important;
  border-radius: 8px;
  background: #fff !important;
  color: #17324a !important;
  font: 16px/1.4 Arial, Helvetica, sans-serif;
  box-shadow: 0 1px 2px rgba(17, 53, 82, .04);
  box-sizing: border-box;
}

body.kontakt-seite .grie input::placeholder,
body.kontakt-seite .grie textarea::placeholder {
  color: #60788d;
  opacity: 1;
}

body.kontakt-seite .grie select {
  padding-right: 34px;
}

body.kontakt-seite .grie input:focus,
body.kontakt-seite .grie select:focus,
body.kontakt-seite .grie textarea:focus {
  border-color: #075c94 !important;
  outline: 3px solid rgba(7, 92, 148, .16);
  outline-offset: 1px;
}

body.kontakt-seite .grie .grie-c3,
body.kontakt-seite .grie .grie-c7 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.kontakt-seite .grie .grie-c3 select {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

body.kontakt-seite .grie-c21 textarea {
  min-height: 130px;
  resize: vertical;
}

body.kontakt-seite .grie-consent-label,
body.kontakt-seite .grie-consent-text {
  color: #435b70;
  font-size: 15px;
  line-height: 1.65;
}

body.kontakt-seite .grie-c23 {
  max-width: none !important;
}

body.kontakt-seite .grie-c23 i {
  float: none;
  padding: 0;
  color: #435b70;
  font-size: 15px;
  font-style: normal;
  line-height: 1.65;
}

body.kontakt-seite .grie-c23 input[type="checkbox"],
body.kontakt-seite .grie-consent-label input[type="checkbox"] {
  width: 20px !important;
  min-width: 20px;
  height: 20px;
  margin: 2px 10px 0 0 !important;
  accent-color: #075c94;
}

body.kontakt-seite .grie-c23 a#gruen,
body.kontakt-seite .grie-consent-text a#gruen {
  color: #075c94;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.kontakt-seite .grie-c23 a#gruen:hover,
body.kontakt-seite .grie-consent-text a#gruen:hover {
  color: #073e69;
}

body.kontakt-seite .grie-c23 input[type="checkbox"] {
  float: left;
}

body.kontakt-seite .line_bottom {
  max-width: none;
  margin: 22px 0;
  border-color: #e3ebf2;
}

body.kontakt-seite .grie-hinweis {
  max-width: none;
  margin: 18px 0;
  padding: 0;
}

body.kontakt-seite .grie-hinweis p,
body.kontakt-seite .grie-c23 i {
  color: #526b80;
}

body.kontakt-seite .kontakt-fehler {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #e1b4a9;
  border-radius: 8px;
  background: #fff2ef;
  color: #842d20;
  font-size: 15px;
  line-height: 1.5;
}

body.kontakt-seite .warnung.warnung--sichtbar,
body.kontakt-seite .warnung.warnung--sichtbar span {
  color: #842d20;
}

body.kontakt-seite .gesch,
body.kontakt-seite .gesch-tabelle {
  max-width: none !important;
  margin: 20px 0 0 !important;
}

body.kontakt-seite .gesch-c32 .buttonlink_2 {
  min-height: 48px;
  margin: 0 !important;
  padding: 12px 30px !important;
  border: 0;
  border-radius: 9px;
  background: #075c94;
  color: #fff;
  font-size: 16px !important;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(17, 53, 82, .14);
}

body.kontakt-seite .gesch-c32 .buttonlink_2:hover {
  background: #073e69;
}

body.kontakt-seite .kontakt-erfolg {
  padding: 28px 0;
  color: #216b58;
  font-size: 18px;
}

body.kontakt-seite .sozial_web {
  padding-top: 40px;
}

body.kontakt-seite .beschriftung {
  padding: 20px 10px 14px;
  color: #526b80;
  font-size: 14px;
  text-align: center;
}

body.kontakt-seite .footer a {
  color: #435b70 !important;
}

body.kontakt-seite a:focus-visible,
body.kontakt-seite button:focus-visible,
body.kontakt-seite input[type="checkbox"]:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  body.kontakt-seite #wrapper {
    width: calc(100% - 28px) !important;
    margin: 14px auto 28px !important;
  }

  body.kontakt-seite .content_inhalt .content_farbe {
    padding: 0 22px 26px !important;
    border-radius: 15px;
  }

  body.kontakt-seite .kontakt-formular {
    padding-top: 20px;
  }

  body.kontakt-seite .kontakt-kopf {
    margin-bottom: 20px;
  }

  body.kontakt-seite .grie [class^="grie-c"],
  body.kontakt-seite .grie .grie-c8 {
    margin: 0 0 8px !important;
  }

  body.kontakt-seite .grie .grie-c23 {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  body.kontakt-seite .grie-c23 input[type="checkbox"] {
    flex: 0 0 20px;
    float: none;
    margin: 3px 0 0 !important;
  }

  body.kontakt-seite .grie-c23 i {
    flex: 1;
    min-width: 0;
  }

  body.kontakt-seite .warnung {
    margin-left: 0;
  }
}

@media (max-width: 380px) {
  body.kontakt-seite .content_inhalt .content_farbe {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }

  body.kontakt-seite .grie .grie-c3,
  body.kontakt-seite .grie .grie-c7 {
    grid-template-columns: 1fr;
  }

  body.kontakt-seite .gesch-c32 .buttonlink_2 {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.kontakt-seite *,
  body.kontakt-seite *::before,
  body.kontakt-seite *::after {
    transition-duration: .01ms !important;
  }
}
