@font-face {
  font-family: "dusBASE Kontakt";
  src: url("/fonts/open-sans-v40-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "dusBASE Kontakt";
  src: url("/fonts/open-sans-v40-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Nur Kontaktinhalt – vereinheitlichter Seitenkopf bleibt unberührt */

.dk {
  --dk-blue: #263248;
  --dk-slate: #3f4d68;
  --dk-lime: #d3fc3a;
  --dk-line: #dce1e5;

  margin: 0;
  padding: 0;
  background: #f7f7f7;
  color: var(--dk-blue);
  font: 400 16px/1.7 "dusBASE Kontakt", "Open Sans", sans-serif;
  text-align: left;
}

.dk *,
.dk *::before,
.dk *::after {
  box-sizing: border-box;
}

.dk .dk-section {
  margin: 0;
  padding: 65px 0;
}

.dk .dk-wrap {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
}

.dk h2,
.dk h3,
.dk p {
  margin: 0;
  color: inherit;
  font-family: inherit;
}

.dk h2,
.dk h3 {
  font-weight: 700;
}

.dk h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.2;
  letter-spacing: -1px;
}

.dk h3 {
  font-size: 22px;
  line-height: 1.35;
}

.dk a {
  color: inherit;
  text-underline-offset: 4px;
}

.dk .dk-label {
  display: block;
  margin-bottom: 14px;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

/* Einleitung */

.dk .dk-heading {
  max-width: 800px;
  margin-bottom: 42px;
}

.dk .dk-lead {
  max-width: 740px;
  margin-top: 20px;
  color: var(--dk-slate);
  font-size: 18px;
  line-height: 1.7;
}

/* Kontakt links, Formular rechts */

.dk .dk-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 50px;
  align-items: start;
}

.dk .dk-contact,
.dk .dk-form-panel {
  min-width: 0;
}

/* Direkter Kontakt */

.dk .dk-contact-block {
  padding: 26px 0;
  border-bottom: 1px solid var(--dk-line);
}

.dk .dk-contact-block:first-child {
  padding: 28px;
  border: 0;
  background: var(--dk-blue);
  color: #fff;
}

.dk .dk-contact-block:first-child > p:not(.dk-label) {
  color: #dce2ec;
}

.dk .dk-contact-block > p:not(.dk-label) {
  margin-top: 12px;
  color: var(--dk-slate);
  font-size: 14px;
}

.dk .dk-phone {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(23px, 2.4vw, 29px);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.dk .dk-contact-block .dk-button {
  margin-top: 22px;
}

.dk .dk-contact-block:first-child .dk-button {
  border-color: var(--dk-lime);
  background: var(--dk-lime);
  color: var(--dk-blue);
}

/* Buttons */

.dk .dk-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin: 0;
  padding: 14px 22px;
  border: 1px solid var(--dk-blue);
  border-radius: 2px;
  background: var(--dk-blue);
  color: #fff;
  font: 700 14px/1.5 "dusBASE Kontakt", "Open Sans", sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  box-shadow: none;
}

.dk .dk-button-dark {
  background: var(--dk-blue);
  color: #fff;
}

.dk .dk-button-lime {
  border-color: var(--dk-lime);
  background: var(--dk-lime);
  color: var(--dk-blue);
}

.dk .dk-button-outline {
  border-color: var(--dk-blue);
  background: transparent;
  color: var(--dk-blue);
}

.dk .dk-button:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Adresse */

.dk .dk-address {
  margin: 0;
  font-style: normal;
  font-size: 15px;
  line-height: 1.8;
}

.dk .dk-contact-block .dk-location-note {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
}

/* Formular inklusive Überschrift */

.dk .dk-form-panel {
  padding: 34px;
  border: 1px solid var(--dk-line);
  border-top: 4px solid var(--dk-blue);
  background: #fff;
  scroll-margin-top: 130px;
}

.dk .dk-form-heading {
  margin-bottom: 28px;
}

.dk .dk-form-heading h2 {
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -.7px;
}

.dk .dk-form-heading > p:not(.dk-label) {
  margin-top: 14px;
  color: var(--dk-slate);
  font-size: 14px;
}

.dk .dk-form {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dk .dk-fieldset {
  min-width: 0;
  padding: 0;
  margin: 0 0 28px;
  border: 0;
}

.dk .dk-fieldset legend {
  display: block;
  width: 100%;
  padding: 0 0 12px;
  margin: 0 0 20px;
  border: 0;
  border-bottom: 1px solid var(--dk-line);
  color: var(--dk-blue);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.dk .dk-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dk .dk-field {
  min-width: 0;
}

.dk .dk-field-full {
  grid-column: 1 / -1;
}

.dk .dk-field label {
  display: block;
  margin: 0 0 8px;
  color: var(--dk-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

/* Eingabefelder */

.dk .dk-field input,
.dk .dk-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #b9c2cc;
  border-radius: 2px;
  background: #fff;
  color: var(--dk-blue);
  font: 400 16px/1.5 "dusBASE Kontakt", "Open Sans", sans-serif;
  box-shadow: none;
}

.dk .dk-field input {
  height: auto;
  min-height: 50px;
}

.dk .dk-field textarea {
  height: auto;
  min-height: 180px;
  resize: vertical;
}

.dk .dk-field input::placeholder,
.dk .dk-field textarea::placeholder {
  color: #687386;
  opacity: 1;
}

.dk .dk-field input:focus,
.dk .dk-field textarea:focus {
  border-color: var(--dk-blue);
  outline: 2px solid var(--dk-blue);
  outline-offset: 2px;
}

.dk .dk-field [aria-invalid="true"] {
  border-color: #a52626;
}

.dk .dk-field-hint {
  display: block;
  margin-top: 8px;
  color: var(--dk-slate);
  font-size: 11px;
  line-height: 1.6;
}

.dk .dk-field-error {
  margin-top: 8px;
  color: #a52626;
  font-size: 13px;
  line-height: 1.5;
}

/* Honeypot und ausgeblendete Fehlermeldungen */

.dk [hidden] {
  display: none !important;
}

/* Datenschutz */

.dk .dk-privacy {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin-top: 4px;
}

.dk .dk-privacy input[type="checkbox"] {
  position: static;
  display: block;
  appearance: auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  opacity: 1;
  accent-color: var(--dk-blue);
}

.dk .dk-privacy label {
  margin: 0;
  padding: 0;
  color: var(--dk-slate);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
}

.dk .dk-privacy a {
  color: var(--dk-blue);
  text-decoration: underline;
}

/* Absenden */

.dk .dk-submit {
  margin-top: 26px;
}

.dk .dk-submit .dk-button {
  width: 100%;
}

/* Tastaturbedienung */

.dk a:focus-visible,
.dk button:focus-visible,
.dk input[type="checkbox"]:focus-visible {
  outline: 3px solid #86a500;
  outline-offset: 4px;
}

/* Tablet */

@media (max-width: 1000px) {
  .dk .dk-layout {
    gap: 28px;
  }

  .dk .dk-form-panel {
    padding: 26px;
  }

  .dk .dk-fields {
    grid-template-columns: 1fr;
  }
}

/* Mobil */

@media (max-width: 800px) {
  .dk .dk-section {
    padding: 45px 0;
  }

  .dk .dk-heading {
    margin-bottom: 30px;
  }

  .dk .dk-lead {
    font-size: 16px;
  }

  .dk .dk-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .dk .dk-form-panel {
    padding: 24px;
  }

  .dk .dk-form-heading h2 {
    font-size: 27px;
  }

  .dk .dk-contact-block:first-child {
    padding: 24px;
  }

  .dk .dk-contact-block .dk-button {
    width: 100%;
  }

  .dk .dk-fields {
    gap: 18px;
  }
}

/* Kontaktbuttons behalten beim Hover ihre Farben */
.dk .dk-button:hover,
.dk .dk-button:focus {
  background: var(--dk-blue);
  border-color: var(--dk-blue);
  color: #fff;
  transform: none;
  box-shadow: none;
}

.dk .dk-button-lime:hover,
.dk .dk-button-lime:focus,
.dk .dk-contact-block:first-child .dk-button:hover,
.dk .dk-contact-block:first-child .dk-button:focus {
  background: var(--dk-lime);
  border-color: var(--dk-lime);
  color: var(--dk-blue);
}

.dk .dk-button-outline:hover,
.dk .dk-button-outline:focus {
  background: transparent;
  border-color: var(--dk-blue);
  color: var(--dk-blue);
}


.dk .dk-section + .dk-section {
  padding-top: 0;
}
