/* Desktop contact panel. Existing form nodes and the mobile design stay intact. */
@media (min-width: 801px) {
  #kontakt.contact {
    padding-block: clamp(42px, 4vw, 56px);
    border: 0;
    background: #f6f6f1;
  }

  #kontakt.contact .contact-grid {
    --contact-panel-gutter: clamp(30px, 3.1vw, 44px);
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    grid-template-rows: auto auto 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 590px;
    border: 1px solid #dce0d7;
    border-radius: 22px;
    background: #202421;
    box-shadow: 0 16px 40px #18231b0f;
    overflow: visible;
  }

  #kontakt.contact .contact-copy {
    display: contents;
  }

  #kontakt.contact .contact-heading {
    grid-area: 1 / 1;
    display: block;
    align-self: start;
    margin: 0;
    padding: var(--contact-panel-gutter) var(--contact-panel-gutter) 0;
  }

  #kontakt.contact .contact-heading .eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 23px;
    color: #edc24d;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.5;
  }

  #kontakt.contact .contact-heading .eyebrow::before {
    width: 28px;
    height: 2px;
    background: #edc24d;
  }

  #kontakt.contact .contact-heading h2 {
    width: auto;
    max-width: 100%;
    margin: 0;
    background: none;
    color: #fff;
    font-size: clamp(2.125rem, 3.7vw, 3.5rem);
    font-weight: 650;
    letter-spacing: -.045em;
    line-height: 1.08;
  }

  #kontakt.contact .contact-heading h2 br {
    display: block;
  }

  #kontakt.contact .contact-heading h2 span {
    margin-left: 0;
    background: none;
    color: #edc24d;
    text-decoration: none;
  }

  #kontakt.contact .contact-heading .contact-lead {
    justify-self: start;
    max-width: 340px;
    margin: 18px 0 0;
    color: #c4cbc3;
    font-size: .9375rem;
    line-height: 1.7;
  }

  #kontakt.contact .contact-methods {
    grid-area: 2 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 26px var(--contact-panel-gutter) 0;
    padding: 0;
    border: 0;
    border-top: 1px solid #ffffff26;
    border-radius: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }

  #kontakt.contact .contact-method,
  #kontakt.contact .contact-method:first-child {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    min-height: 82px;
    margin: 0;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid #ffffff26;
    border-radius: 0;
    background: none;
    color: #fff;
    box-shadow: none;
  }

  #kontakt.contact .contact-method-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid #edc24d;
    border-radius: 10px;
    background: #edc24d;
    color: #202421;
    box-shadow: none;
  }

  #kontakt.contact .contact-method-icon svg {
    width: 19px;
    height: 19px;
  }

  #kontakt.contact .contact-method-text {
    flex: 1;
    min-width: 0;
  }

  #kontakt.contact .contact-method small {
    display: block;
    margin: 0 0 4px;
    color: #bfc8bd;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.5;
  }

  #kontakt.contact .contact-method strong,
  #kontakt.contact .contact-method-email strong {
    display: block;
    color: #fff;
    font-size: clamp(1.0625rem, 1.6vw, 1.375rem);
    font-weight: 650;
    letter-spacing: -.025em;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  #kontakt.contact .contact-method-arrow {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    color: #edc24d;
    height: 16px;
    position: relative;
    font-size: 0;
  }

  #kontakt.contact .contact-method:hover {
    background: none;
  }

  #kontakt.contact .contact-method:hover strong,
  #kontakt.contact .contact-method:hover .contact-method-arrow {
    color: #f5d77c;
  }

  #kontakt.contact .contact-method:hover .contact-method-icon {
    border-color: #f5d77c;
    background: #f5d77c;
  }

  #kontakt.contact .contact-method:focus-visible {
    border-radius: 6px;
    outline: 2px solid #edc24d;
    outline-offset: 5px;
  }

  #kontakt.contact .contact-meta {
    grid-area: 3 / 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: end;
    gap: 22px;
    margin: 0;
    padding: 29px var(--contact-panel-gutter) var(--contact-panel-gutter);
    border: 0;
    background: none;
  }

  #kontakt.contact .contact-meta-item {
    min-width: 0;
    margin: 0;
    padding: 0;
  }

  #kontakt.contact .contact-meta-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #bbc5b9;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.5;
  }

  #kontakt.contact .contact-meta-label svg {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    color: #edc24d;
  }

  #kontakt.contact .contact-meta p,
  #kontakt.contact .contact-meta address {
    margin: 8px 0 0;
    color: #d7ddd5;
    font-size: .8125rem;
    font-style: normal;
    line-height: 1.75;
    overflow-wrap: anywhere;
  }

  #kontakt.contact .contact-meta strong {
    color: #fff;
    font-weight: 600;
  }

  #kontakt.contact .inquiry {
    grid-area: 1 / 2 / 4 / 3;
    align-self: stretch;
    min-width: 0;
    margin: 0;
    padding: var(--contact-panel-gutter);
    border: 0;
    border-left: 1px solid #ffffff14;
    border-radius: 0 21px 21px 0;
    background: #fff;
    box-shadow: none;
  }

  #kontakt.contact .inquiry-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 25px;
    padding: 0;
    border: 0;
  }

  #kontakt.contact .inquiry-heading > div {
    display: block;
    min-width: 0;
  }

  #kontakt.contact .inquiry h3 {
    margin: 0;
    color: #242a25;
    font-size: clamp(1.5rem, 2.1vw, 1.8125rem);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.2;
  }

  #kontakt.contact .form-intro {
    margin: 8px 0 0;
    color: #687063;
    font-size: .875rem;
    line-height: 1.6;
  }

  #kontakt.contact .inquiry-heading-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #eadba6;
    border-radius: 50%;
    background: #fbf5df;
    color: #2b3129;
  }

  #kontakt.contact .inquiry-heading-icon svg {
    width: 20px;
    height: 20px;
  }

  #kontakt.contact .field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
  }

  #kontakt.contact .field {
    min-width: 0;
    margin: 0 0 16px;
  }

  #kontakt.contact .field label {
    margin-bottom: 6px;
    color: #3d473b;
    font-size: .8125rem;
    font-weight: 600;
    line-height: 1.5;
  }

  #kontakt.contact .field .optional {
    margin-left: 3px;
    color: #6c7467;
    font-size: .6875rem;
    font-weight: 400;
  }

  #kontakt.contact .field input,
  #kontakt.contact .field select,
  #kontakt.contact .field textarea {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #d7ded1;
    border-radius: 8px;
    background: #f9faf6;
    color: #263024;
    font-size: .9375rem;
    line-height: 1.5;
    box-shadow: none;
  }

  #kontakt.contact .field input,
  #kontakt.contact .field select {
    height: 46px;
  }

  #kontakt.contact .field select {
    padding-right: 8px;
  }

  #kontakt.contact .field textarea {
    display: block;
    height: 94px;
    min-height: 94px;
    resize: vertical;
  }

  #kontakt.contact .field input::placeholder,
  #kontakt.contact .field textarea::placeholder {
    color: #747d6d;
  }

  #kontakt.contact .field input:hover,
  #kontakt.contact .field select:hover,
  #kontakt.contact .field textarea:hover {
    border-color: #a7b49e;
  }

  #kontakt.contact .field input:focus,
  #kontakt.contact .field select:focus,
  #kontakt.contact .field textarea:focus {
    border-color: #a1802c;
    outline: 2px solid #b79332;
    outline-offset: 2px;
    background: #fff;
    box-shadow: none;
  }

  #kontakt.contact .form-note {
    margin: 0 0 16px;
    color: #646e5f;
    font-size: .75rem;
    line-height: 1.65;
  }

  #kontakt.contact .form-note a {
    color: #34432f;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  #kontakt.contact .form-submit {
    min-height: 48px;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: .9375rem;
    font-weight: 650;
    line-height: 1.5;
    box-shadow: none;
  }

  #kontakt.contact .form-submit:not([data-sent]) {
    min-height: 48px;
    padding: 11px 16px;
    border-color: #edc24d;
    border-radius: 8px;
    background: #edc24d;
    color: #202421;
    box-shadow: none;
  }

  #kontakt.contact .form-submit:not([data-sent]) > span {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    color: #202421;
    font-size: 0;
  }

  /* Draw the existing decorative arrow without relying on a symbol font. */
  #kontakt.contact .contact-method-arrow::before,
  #kontakt.contact .form-submit:not([data-sent]) > span::before {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 9px;
    height: 9px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
  }

  #kontakt.contact .contact-method-arrow::after,
  #kontakt.contact .form-submit:not([data-sent]) > span::after {
    content: "";
    position: absolute;
    top: 1px;
    right: 1px;
    width: 14px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(-45deg);
    transform-origin: right center;
  }

  #kontakt.contact .form-submit:not([data-sent]):not(:disabled):hover {
    border-color: #e4b441;
    background: #e4b441;
    color: #202421;
    transform: none;
  }

  #kontakt.contact .form-submit:not([data-sent]):focus-visible {
    outline: 2px solid #70591d;
    outline-offset: 4px;
  }
}

@media (min-width: 801px) and (max-width: 1000px) {
  #kontakt.contact {
    padding-block: 32px;
  }

  #kontakt.contact .contact-grid {
    --contact-panel-gutter: 24px;
    min-height: 0;
    border-radius: 18px;
  }

  #kontakt.contact .contact-heading .eyebrow {
    margin-bottom: 19px;
  }

  #kontakt.contact .contact-heading h2 {
    font-size: clamp(2.125rem, 3.8vw, 2.375rem);
  }

  #kontakt.contact .contact-heading .contact-lead {
    margin-top: 16px;
    font-size: .875rem;
  }

  #kontakt.contact .contact-methods {
    margin-top: 23px;
  }

  #kontakt.contact .contact-method,
  #kontakt.contact .contact-method:first-child {
    gap: 10px;
    min-height: 80px;
  }

  #kontakt.contact .contact-method-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  #kontakt.contact .contact-method-icon svg {
    width: 17px;
    height: 17px;
  }

  #kontakt.contact .contact-method strong,
  #kontakt.contact .contact-method-email strong {
    font-size: 1.0625rem;
  }

  #kontakt.contact .contact-method-arrow {
    flex-basis: 14px;
    width: 14px;
    font-size: 0;
  }

  #kontakt.contact .contact-meta {
    gap: 12px;
    padding-top: 25px;
  }

  #kontakt.contact .contact-meta-label {
    gap: 5px;
    font-size: .6875rem;
  }

  #kontakt.contact .contact-meta-label svg {
    flex-basis: 13px;
    width: 13px;
    height: 13px;
  }

  #kontakt.contact .contact-meta p,
  #kontakt.contact .contact-meta address {
    font-size: .75rem;
  }

  #kontakt.contact .inquiry {
    border-radius: 0 17px 17px 0;
  }

  #kontakt.contact .inquiry-heading {
    gap: 12px;
    margin-bottom: 22px;
  }

  #kontakt.contact .inquiry h3 {
    font-size: 1.5rem;
  }

  #kontakt.contact .inquiry-heading-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  #kontakt.contact .inquiry-heading-icon svg {
    width: 17px;
    height: 17px;
  }

  #kontakt.contact .field-row {
    gap: 12px;
  }
}
