/* =========================
   KONTAKT V716 CLEAN SYSTEM
   Bereinigte Kontakt-CSS ohne alte V600-V710 Override-Ketten.
========================= */

.tm-contact-page {
  background: #ffffff;
  color: #0f172a;
}


.tm-contact-page .tm-contact-eyebrow,
.tm-contact-page .tm-contact-hero-eyebrow,
.tm-contact-page .tm-contact-person-label,
.tm-contact-page .tm-eyebrow.tm-contact-eyebrow {
  margin: 0 0 16px;
  color: #2563eb;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tm-contact-page .tm-contact-hero .tm-contact-hero-eyebrow,
.tm-contact-page .tm-contact-hero .tm-contact-person-label,
.tm-contact-page .tm-contact-section-head > .tm-contact-eyebrow,
.tm-contact-page .tm-contact-process .tm-contact-eyebrow,
.tm-contact-page .tm-contact-form-copy > .tm-contact-eyebrow,
.tm-contact-page .tm-contact-final-trust > .tm-contact-eyebrow,
.tm-contact-page .tm-contact-final-trust-inner > .tm-contact-eyebrow {
  color: #2563eb;
}

/* =========================
   HERO
========================= */

.tm-contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 7vw, 124px) 0 clamp(68px, 6vw, 104px);
  background:
    radial-gradient(circle at 76% 18%, rgba(37, 99, 235, .15), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.tm-contact-hero .tm-page-inner-wide {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
}

.tm-contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 500px);
  gap: clamp(64px, 7vw, 112px);
  align-items: center;
}

.tm-contact-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #0f172a;
  font-size: clamp(3.35rem, 4.1vw, 4.75rem);
  font-weight: 900;
  letter-spacing: -.078em;
  line-height: .9;
}

.tm-contact-hero-copy > p:not(.tm-contact-eyebrow) {
  max-width: 650px;
  margin: 24px 0 0;
  color: #64748b;
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.72;
}

.tm-contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.tm-contact-hero-actions .tm-btn-tertiary {
  border: 1px solid rgba(37, 99, 235, .22);
  background: rgba(255, 255, 255, .86);
  color: #0f172a;
  box-shadow: none;
}

.tm-contact-hero-actions .tm-btn-tertiary:hover,
.tm-contact-hero-actions .tm-btn-tertiary:focus-visible {
  border-color: rgba(37, 99, 235, .38);
  background: #ffffff;
  color: #2563eb;
}

.tm-contact-person-card {
  position: relative;
  width: min(100%, 520px);
  justify-self: center;
  padding: 30px;
  border: 1px solid rgba(226, 232, 240, .94);
  border-radius: 36px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 28px 84px rgba(15, 23, 42, .10);
  backdrop-filter: blur(18px);
}

.tm-contact-person-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), transparent 44%);
  pointer-events: none;
}

.tm-contact-person-card > * {
  position: relative;
  z-index: 1;
}

.tm-contact-person-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  object-fit: cover;
  object-position: center 50%;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .11);
}

.tm-contact-person-card div {
  margin-top: 22px;
}

.tm-contact-person-label {
  display: block;
  margin-bottom: 8px;
  color: #2563eb;
}

.tm-contact-person-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.75rem, 1.9vw, 2.25rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1;
}

.tm-contact-person-card div p:not(.tm-contact-person-label) {
  margin: 8px 0 0;
  color: #64748b;
  font-size: .92rem;
  line-height: 1.45;
}

.tm-contact-person-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tm-contact-person-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-size: .95rem;
  font-weight: 760;
}

.tm-contact-person-card li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
  box-shadow: 0 0 0 5px rgba(22, 163, 74, .12);
}

@media (min-width: 1440px) {
  .tm-contact-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(460px, 520px);
    gap: clamp(72px, 6vw, 116px);
  }

  .tm-contact-person-card {
    width: min(100%, 540px);
    padding: 34px;
    border-radius: 38px;
  }
}

/* =========================
   SECTION HEADS
========================= */

.tm-contact-section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.tm-contact-section-head h2,
.tm-contact-process h2,
.tm-contact-form-copy h2,
.tm-contact-final-trust h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.45rem, 4vw, 4.45rem);
  font-weight: 890;
  letter-spacing: -.07em;
  line-height: .94;
}

.tm-contact-section-head p:not(.tm-contact-eyebrow),
.tm-contact-process p,
.tm-contact-form-copy > p,
.tm-contact-final-trust-text {
  margin: 18px 0 0;
  color: #64748b;
  font-size: 1.04rem;
  line-height: 1.68;
}

/* =========================
   PATHS
========================= */

.tm-contact-paths {
  padding: clamp(68px, 7vw, 112px) 0;
  background: #ffffff;
}

.tm-contact-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tm-contact-path-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 54px rgba(15, 23, 42, .055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tm-contact-path-card:hover,
.tm-contact-path-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, .32);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}

.tm-contact-path-card:focus-visible,
.tm-contact-final-trust a:focus-visible,
.tm-contact-hero-actions a:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .28);
  outline-offset: 4px;
}

.tm-contact-path-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 14px;
  background: rgba(37, 99, 235, .08);
  color: #2563eb;
  font-size: .86rem;
  font-weight: 900;
}

.tm-contact-path-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.03;
}

.tm-contact-path-card p {
  margin: 14px 0 22px;
  color: #64748b;
  font-size: .94rem;
  line-height: 1.45;
}

.tm-contact-path-card strong {
  margin-top: auto;
  color: #2563eb;
  font-size: .95rem;
  font-weight: 850;
}

/* =========================
   PROCESS
========================= */

.tm-contact-process {
  padding: clamp(70px, 7vw, 116px) 0;
  background: #f8fafc;
}

.tm-contact-process-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
}

.tm-contact-process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tm-contact-process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 30px;
}

.tm-contact-process-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 21px;
  top: 48px;
  bottom: 8px;
  width: 1px;
  background: #dbe3ee;
}

.tm-contact-process-list li > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #ffffff;
  color: #2563eb;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px #dbe3ee;
}

.tm-contact-process-list h3 {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: 1.16rem;
  font-weight: 850;
  letter-spacing: -.03em;
}

.tm-contact-process-list p {
  margin: 0;
  color: #64748b;
  font-size: .98rem;
  line-height: 1.55;
}

/* =========================
   FORMULAR
========================= */

.tm-contact-form-section-v704 {
  padding: clamp(70px, 7vw, 118px) 0;
  background:
    radial-gradient(circle at 76% 22%, rgba(37, 99, 235, .075), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.tm-contact-form-section-v704 > .tm-page-inner {
  display: block;
}

.tm-contact-form-copy-v704 {
  max-width: 720px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  text-align: center;
}

.tm-contact-form-copy-v704 h2 {
  max-width: none;
  font-size: clamp(3.25rem, 5.6vw, 5.85rem);
  line-height: .9;
}

.tm-contact-form-copy-v704 > p {
  max-width: 560px;
  margin: 22px auto 0;
}

.tm-contact-form-wrap-v704 {
  width: min(100%, 1040px);
  max-width: none;
  margin: 0 auto;
  padding: clamp(30px, 3.4vw, 46px);
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 34px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 30px 88px rgba(15, 23, 42, .085);
  scroll-margin-top: 128px;
}

.tm-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 26px;
}

.tm-contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tm-contact-intent-group,
.tm-contact-field-message,
.tm-contact-form-trust,
.tm-contact-submit,
.tm-contact-privacy-note,
.tm-contact-note,
.tm-contact-message {
  grid-column: 1 / -1;
}

.tm-contact-intent-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
}

.tm-contact-intent-group legend {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.tm-contact-intent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 132px;
  padding: 22px 50px 20px 22px;
  border: 1px solid rgba(148, 163, 184, .30);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .045);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tm-contact-intent-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, .38);
  box-shadow: 0 24px 66px rgba(15, 23, 42, .07);
}

.tm-contact-intent-card:has(input:focus-visible) {
  outline: 3px solid rgba(37, 99, 235, .24);
  outline-offset: 4px;
}

.tm-contact-intent-card:has(input:checked) {
  border-color: #2563eb;
  background: linear-gradient(180deg, rgba(37, 99, 235, .075), rgba(255, 255, 255, .97));
  box-shadow: 0 24px 70px rgba(37, 99, 235, .13);
}

.tm-contact-intent-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.tm-contact-intent-check {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
}

.tm-contact-intent-check::after {
  content: "";
  display: none;
  width: 6px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.tm-contact-intent-card:has(input:checked) .tm-contact-intent-check {
  width: 22px;
  height: 22px;
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.tm-contact-intent-card:has(input:checked) .tm-contact-intent-check::after {
  display: block;
}

.tm-contact-intent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 0 12px;
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 16px;
  background: rgba(37, 99, 235, .07);
  color: #2563eb;
  box-shadow: 0 12px 28px rgba(37, 99, 235, .08);
}

.tm-contact-intent-icon::before {
  content: none;
}

.tm-contact-intent-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.1;
}

.tm-contact-intent-card-body {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
}

.tm-contact-intent-card-body::before {
  content: none;
}

.tm-contact-intent-card-body strong {
  display: block;
  margin: 0 0 7px;
  color: #0f172a;
  font-size: 1.04rem;
  font-weight: 860;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.tm-contact-intent-card-body em {
  display: block;
  margin: 0;
  color: #64748b;
  font-style: normal;
  font-size: .98rem;
  line-height: 1.55;
}

.tm-contact-field {
  display: block;
}

.tm-contact-field > span {
  display: block;
  margin-bottom: 9px;
  color: #0f172a;
  font-size: .92rem;
  font-weight: 840;
}

.tm-contact-field > span strong {
  color: #0f172a;
  font-weight: 900;
}

.tm-contact-field em {
  color: #64748b;
  font-style: normal;
  font-weight: 740;
}

.tm-contact-form input[type="text"],
.tm-contact-form input[type="email"],
.tm-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(203, 213, 225, .82);
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  color: #0f172a;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .025);
}

.tm-contact-form input[type="text"],
.tm-contact-form input[type="email"] {
  min-height: 58px;
  padding: 0 18px;
}

.tm-contact-form textarea {
  min-height: 142px;
  padding: 18px;
  resize: vertical;
}

.tm-contact-form input:focus,
.tm-contact-form textarea:focus {
  outline: 3px solid rgba(37, 99, 235, .16);
  outline-offset: 2px;
  border-color: rgba(37, 99, 235, .62);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, .06);
}

.tm-contact-form-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 8px 0 4px;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 22px;
  background: rgba(248, 250, 252, .72);
}

.tm-contact-form-trust > div {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}

.tm-contact-form-trust-icon {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .09);
  color: #2563eb;
}

.tm-contact-form-trust-icon svg {
  width: 24px;
  height: 24px;
}

.tm-contact-form-trust strong {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -.025em;
}

.tm-contact-form-trust p {
  margin: 0;
  color: #64748b;
  font-size: .91rem;
  line-height: 1.45;
}

.tm-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  margin-top: 8px;
  border-radius: 14px;
  font-size: 1.08rem;
  font-weight: 850;
  box-shadow: 0 20px 44px rgba(37, 99, 235, .22);
}

.tm-contact-submit span {
  margin-left: 10px;
}

.tm-contact-privacy-note {
  max-width: 740px;
  margin: 4px auto 0;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.6;
  text-align: center;
}

.tm-contact-privacy-note a {
  color: #2563eb;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tm-contact-privacy-note a:focus-visible,
.tm-contact-submit:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .28);
  outline-offset: 4px;
}


.tm-contact-message {
  margin-bottom: 24px;
}

.tm-contact-message p {
  margin: 0;
}

.tm-contact-message p + p {
  margin-top: 6px;
}

.tm-contact-success-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(22, 163, 74, .2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(22, 163, 74, .11), transparent 32%),
    #ffffff;
  color: #0f172a;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .08);
}

.tm-contact-success-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(22, 163, 74, .1);
  color: #16a34a;
}

.tm-contact-success-icon svg {
  width: 30px;
  height: 30px;
}

.tm-contact-success-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 860;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.tm-contact-success-card p {
  margin: 8px 0 0;
  color: #475569;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}

.tm-contact-message-error {
  padding: 20px 22px;
  border: 1px solid rgba(220, 38, 38, .22);
  border-radius: 22px;
  background: rgba(254, 242, 242, .9);
  color: #991b1b;
}

/* =========================
   FINAL CTA
========================= */

.tm-contact-final-trust {
  padding: clamp(60px, 6vw, 96px) 0 clamp(70px, 7vw, 110px);
  background: #ffffff;
}

.tm-contact-final-trust-inner {
  max-width: 760px;
  text-align: center;
}

.tm-contact-final-trust-text {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.tm-contact-final-trust-actions {
  margin-top: 26px;
}

/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 980px) {
  .tm-contact-hero-grid,
  .tm-contact-process-grid {
    grid-template-columns: 1fr;
  }

  .tm-contact-person-card {
    justify-self: stretch;
    width: 100%;
    max-width: 620px;
  }

  .tm-contact-path-grid,
  .tm-contact-form-trust {
    grid-template-columns: 1fr;
  }

  .tm-contact-path-card {
    min-height: 0;
  }

  .tm-contact-intent-group {
    grid-template-columns: 1fr;
  }

  .tm-contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .tm-contact-page .tm-page-inner {
    width: min(100% - 32px, 1180px);
  }

  .tm-contact-page .tm-contact-eyebrow,
  .tm-contact-page .tm-contact-hero-eyebrow,
  .tm-contact-page .tm-contact-person-label {
    margin-bottom: 10px;
    font-size: .7rem;
    letter-spacing: .16em;
  }

  .tm-contact-hero {
    padding: 22px 0 28px;
  }

  .tm-contact-hero-grid {
    gap: 16px;
  }

  .tm-contact-hero-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: .72rem;
  }

  .tm-contact-hero-copy h1 {
    font-size: clamp(2.12rem, 9.2vw, 2.78rem);
    line-height: .98;
    letter-spacing: -.065em;
  }

  .tm-contact-hero-copy > p:not(.tm-contact-eyebrow) {
    margin-top: 10px;
    font-size: .94rem;
    line-height: 1.58;
  }

  .tm-contact-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
  }

  .tm-contact-hero-actions .tm-btn {
    width: 100%;
  }

  .tm-contact-hero-actions .tm-btn-tertiary {
    border-color: rgba(37, 99, 235, .24);
    background: #ffffff;
    color: #0f172a;
  }

  .tm-contact-person-card {
    padding: 14px;
    border-radius: 22px;
  }

  .tm-contact-person-card img {
    aspect-ratio: 16 / 10.5;
    border-radius: 20px;
  }

  .tm-contact-person-card div {
    margin-top: 14px;
  }

  .tm-contact-person-card h2 {
    font-size: 1.55rem;
  }

  .tm-contact-person-card ul {
    gap: 8px;
    margin-top: 14px;
  }

  .tm-contact-person-card li {
    font-size: .9rem;
  }

  .tm-contact-paths,
  .tm-contact-process,
  .tm-contact-form-section-v704 {
    padding: 32px 0;
  }

  .tm-contact-section-head {
    margin-bottom: 18px;
    text-align: left;
  }

  .tm-contact-section-head h2,
  .tm-contact-process h2,
  .tm-contact-form-copy h2,
  .tm-contact-final-trust h2 {
    font-size: clamp(1.86rem, 8.4vw, 2.55rem);
    line-height: .98;
    letter-spacing: -.06em;
  }

  .tm-contact-section-head p:not(.tm-contact-eyebrow),
  .tm-contact-process p,
  .tm-contact-form-copy > p,
  .tm-contact-final-trust-text {
    margin-top: 12px;
    font-size: .98rem;
    line-height: 1.56;
  }

  .tm-contact-path-grid {
    gap: 12px;
  }

  .tm-contact-path-card {
    padding: 16px;
    border-radius: 18px;
  }

  .tm-contact-path-card span {
    width: 32px;
    height: 32px;
    margin-bottom: 14px;
    border-radius: 11px;
  }

  .tm-contact-path-card h3 {
    font-size: 1.32rem;
  }

  .tm-contact-path-card p {
    margin: 10px 0 14px;
  }

  .tm-contact-process-list li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 16px;
  }

  .tm-contact-process-list li > span {
    width: 38px;
    height: 38px;
  }

  .tm-contact-process-list li:not(:last-child)::after {
    left: 18px;
    top: 42px;
  }

  .tm-contact-form-copy-v704 {
    margin-bottom: 16px;
    text-align: left;
  }

  .tm-contact-form-copy-v704 > p {
    margin-left: 0;
    margin-right: 0;
  }

  .tm-contact-form-wrap-v704 {
    padding: 14px;
    border-radius: 22px;
    scroll-margin-top: 116px;
  }

  .tm-contact-form {
    gap: 11px;
  }

  .tm-contact-intent-group {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 4px;
  }

  .tm-contact-intent-group legend {
    margin-bottom: 4px;
    font-size: .9rem;
  }

  .tm-contact-intent-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 11px;
    align-items: center;
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 16px;
    text-align: left;
  }

  .tm-contact-intent-card:hover {
    transform: none;
  }

  .tm-contact-intent-icon {
    width: 32px;
    height: 32px;
    margin: 0;
    border-radius: 10px;
    box-shadow: none;
  }

  .tm-contact-intent-icon svg {
    width: 18px;
    height: 18px;
  }

  .tm-contact-intent-card-body strong {
    margin: 0;
    font-size: .96rem;
    letter-spacing: -.025em;
  }

  .tm-contact-intent-card-body em {
    display: none;
  }

  .tm-contact-intent-check,
  .tm-contact-intent-card:has(input:checked) .tm-contact-intent-check {
    position: static;
    grid-column: 3;
    grid-row: 1;
    width: 20px;
    height: 20px;
    min-width: 20px;
  }

  .tm-contact-field > span {
    margin-bottom: 7px;
    font-size: .84rem;
  }

  .tm-contact-form input[type="text"],
  .tm-contact-form input[type="email"] {
    min-height: 52px;
    font-size: 16px;
  }

  .tm-contact-form textarea {
    min-height: 118px;
    font-size: 16px;
  }

  .tm-contact-form-trust {
    order: 2;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px;
    margin-top: -2px;
    border-radius: 16px;
  }

  .tm-contact-form-trust > div {
    grid-template-columns: 26px minmax(0, 1fr);
    column-gap: 8px;
    align-items: center;
  }

  .tm-contact-form-trust-icon {
    width: 26px;
    height: 26px;
  }

  .tm-contact-form-trust-icon svg {
    width: 15px;
    height: 15px;
  }

  .tm-contact-form-trust strong {
    margin: 0;
    font-size: .82rem;
  }

  .tm-contact-form-trust p {
    display: none;
  }

  .tm-contact-submit {
    order: 1;
    min-height: 54px;
    margin-top: 2px;
    border-radius: 999px;
  }

  .tm-contact-privacy-note {
    order: 3;
    font-size: .76rem;
  }


  .tm-contact-success-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    padding: 16px;
    border-radius: 20px;
  }

  .tm-contact-success-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .tm-contact-success-card h3 {
    font-size: 1.12rem;
  }

  .tm-contact-success-card p {
    font-size: .92rem;
    line-height: 1.5;
  }

  .tm-contact-final-trust {
    padding: 30px 0 36px;
  }

  .tm-contact-final-trust-inner {
    text-align: center;
  }

  .tm-contact-final-trust-actions {
    margin-top: 18px;
  }
}


.tm-contact-hero-dark{color:#0f172a;}
.tm-contact-hero-accent{color:#2563eb;display:block;}
@media (min-width:1200px){
 .tm-contact-hero-copy h1{max-width:760px;}
}


/* =========================
   v740 · Einheitlicher mobiler Hero-Start: Kontakt
========================= */

@media (max-width: 767px) {
  .tm-contact-hero {
    padding-top: var(--tm-hero-mobile-top) !important;
    padding-bottom: var(--tm-hero-mobile-bottom) !important;
  }

  .tm-contact-hero .tm-eyebrow, .tm-contact-hero .tm-contact-eyebrow, .tm-contact-hero-eyebrow {
    display: block !important;
    margin-top: 0 !important;
    margin-bottom: var(--tm-hero-eyebrow-margin-bottom) !important;
    padding-top: 0 !important;
    color: var(--tm-hero-eyebrow-color) !important;
    font-size: var(--tm-hero-eyebrow-size) !important;
    font-weight: var(--tm-hero-eyebrow-weight) !important;
    letter-spacing: var(--tm-hero-eyebrow-spacing) !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
  }

  .tm-contact-hero h1 {
    font-size: var(--tm-hero-title-mobile) !important;
    line-height: var(--tm-hero-title-line) !important;
    letter-spacing: var(--tm-hero-title-spacing) !important;
  }

  .tm-contact-hero p:not(.tm-eyebrow):not(.tm-contact-eyebrow) {
    margin-top: 22px !important;
    font-size: var(--tm-hero-lead-mobile) !important;
    line-height: var(--tm-hero-lead-line) !important;
  }

  .tm-contact-hero .tm-contact-hero-actions {
    margin-top: 28px !important;
  }

}
