/* ==========================================================================
   Ordnungskommando — Contact (section-specific styles)
   --------------------------------------------------------------------------
   Reuses the global system (.ord-section, .ord-btn, .ord-icon, .ord-icon-chip)
   and only adds what is unique here, scoped by .ct-* classes.

   Inner content width is capped at 1350px (.ct-container) per the design.

   Sections
     ct-hero   1  Header + red message form (left) & contact info (right)
   ========================================================================== */

/* Local container — 1350px max width, shares the global gutter token. */
.ct-container {
  width: 100%;
  max-width: 1350px;
  margin-inline: auto;
  padding-inline: var(--ord-gutter);
}

/* ==========================================================================
   SECTION 1 — Header + contact
   ========================================================================== */
.ct-hero__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 18px;
  color: var(--ord-muted);
}
.ct-hero__crumbs a {
  color: var(--ord-muted);
}
.ct-hero__crumbs a:hover {
  color: var(--ord-primary);
}
.ct-hero__crumbs .is-current {
  color: var(--ord-heading);
  font-weight: var(--ord-fw-semibold);
}

.ct-hero__title {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: var(--ord-lh-heading);
  margin: 0 0 44px;
  max-width: 23ch;
}

.ct-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ==========================================================================
   Left — red message form card
   ========================================================================== */
.ct-form-card {
  background: var(--ord-primary);
  color: #fff;
  border-radius: var(--ord-radius-lg);
  padding: 40px;
}
.ct-form-card__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: var(--ord-fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}
.ct-form-card__title {
  color: #fff;
  font-size: 26px;
  margin: 0 0 8px;
}
.ct-form-card__note {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  margin: 0 0 26px;
}

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ct-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-field label {
  font-size: 13px;
  font-weight: var(--ord-fw-medium);
  color: rgba(255, 255, 255, 0.92);
}
.ct-field input,
.ct-field textarea,
.ct-field select {
  width: 100%;
  font-family: var(--ord-font-body);
  font-size: 15px;
  color: var(--ord-heading);
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--ord-radius-sm);
  padding: 13px 16px;
  transition: box-shadow var(--ord-dur) var(--ord-ease);
}
.ct-field textarea {
  resize: vertical;
  min-height: 120px;
}
.ct-field input::placeholder,
.ct-field textarea::placeholder {
  color: var(--ord-muted-2);
}
.ct-field input:focus,
.ct-field textarea:focus,
.ct-field select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

/* Native select — chevron via background image. */
.ct-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

/* Dark submit button. */
.ct-form__submit {
  margin-top: 6px;
  background: var(--ord-dark);
  color: #fff;
  border-color: var(--ord-dark);
}
.ct-form__submit:hover {
  background: #000;
  border-color: #000;
}

/* ==========================================================================
   Right — contact info
   ========================================================================== */
.ct-info__title {
  margin: 14px 0 8px;
}
.ct-info__lead {
  color: var(--ord-muted);
  margin: 0 0 26px;
}

.ct-info__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ct-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--ord-white);
  border: 1px solid var(--ord-border-soft);
  border-radius: var(--ord-radius);
}
.ct-info-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ct-info-card__label {
  font-size: 11px;
  font-weight: var(--ord-fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ord-muted-2);
}
.ct-info-card__value {
  font-size: 16px;
  font-weight: var(--ord-fw-semibold);
  color: var(--ord-heading);
}
a.ct-info-card__value:hover {
  color: var(--ord-primary);
}
.ct-info-card__sub {
  font-size: 13px;
  color: var(--ord-muted);
}

/* Emergency note bar. */
.ct-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--ord-primary-softer);
  border: 1px solid var(--ord-primary-soft);
  border-radius: var(--ord-radius);
  font-size: 14px;
  color: var(--ord-heading);
}
.ct-note .ord-icon {
  color: var(--ord-primary);
  font-size: 18px;
  flex-shrink: 0;
}
.ct-note a {
  color: var(--ord-primary);
  font-weight: var(--ord-fw-semibold);
}
.ct-note a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   SECTION 2 — Location map
   ========================================================================== */
.ct-map__frame {
  position: relative;
  height: 460px;
  border-radius: var(--ord-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ord-border-soft);
}
.ct-map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet — the two columns stack (form above the info). */
@media (max-width: 991px) {
  .ct-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ct-hero__title {
    max-width: none;
  }
}

/* Phone — paired form fields stack; tighter card padding; shorter map. */
@media (max-width: 767px) {
  .ct-form__row {
    grid-template-columns: 1fr;
  }
  .ct-form-card {
    padding: 28px 22px;
  }
  .ct-map__frame {
    height: 320px;
  }
}
