/* Contacts page built with Elementor containers, widgets and a Pro Form. */
.so-contact-hero { display: block !important; padding: 220px 60px 40px; border-radius: 0 0 56px 56px; background: var(--e-global-color-white); }
.so-contact-h1 .elementor-heading-title { font-size: 54px !important; line-height: 68px !important; }
.so-contact-body { align-items: stretch; justify-content: space-between; gap: 12px; width: calc(100% - 120px) !important; margin: 60px 60px 0; }
.so-contact-info { position: relative; flex: 0 0 663px !important; width: 663px !important; min-height: 862px; align-items: flex-start; gap: 0 !important; }
.so-contact-info-title .elementor-heading-title { font-size: 30px !important; line-height: 38px !important; font-weight: 600; letter-spacing: -.02em; }
.so-contact-info-lead { width: min(546px,100%) !important; margin-top: 24px; }
.so-contact-info-lead p { margin: 0; color: var(--e-global-color-text); opacity: .8; font-size: 18px; line-height: 22px; letter-spacing: -.02em; }
.so-contact-cards { gap: 12px; width: min(603px,100%) !important; margin-top: 56px; }
.so-contact-card { display: grid !important; grid-template-columns: 78px 209px; column-gap: 12px; align-items: center; justify-content: center; width: 100%; padding: 24px 32px; border-radius: 40px; background: var(--e-global-color-icy); }
.so-contact-card-label { width: auto !important; }
.so-contact-card-label .elementor-heading-title { color: var(--e-global-color-ink65); font-size: 16px; font-weight: 500; line-height: 19px; }
.so-contact-card-pin { justify-self: start; align-self: center; width: 24px !important; height: 24px; }
.so-contact-card-pin img { display: block; width: 24px; height: 24px; }
.so-contact-card-value { width: auto !important; }
.so-contact-card-value p { display: flex; flex-direction: column; gap: 16px; margin: 0; color: var(--e-global-color-text); font-size: 18px; font-weight: 400; line-height: 22px; letter-spacing: -.02em; }
.so-contact-card-value a { color: inherit; transition: color .2s; }
.so-contact-card-value a:hover { color: var(--e-global-color-ctahover); }
.so-contact-card-value.so-contact-link a { color: var(--e-global-color-secondary); }
.so-contact-card-value.so-contact-link a:hover { color: var(--e-global-color-ctahover); }
.so-contact-quote { position: absolute !important; bottom: 0; left: 0; flex-wrap: nowrap !important; align-items: center; justify-content: space-between; gap: 24px; width: min(603px,100%) !important; padding: 24px; border-radius: 56px; background: var(--e-global-color-white); }
.so-contact-quote-body { flex: 1 1 0% !important; width: 0 !important; gap: 40px; }
.so-contact-quote-text .elementor-heading-title { max-width: 310px; font-size: 18px; font-weight: 700; line-height: 23px; letter-spacing: -.02em; }
.so-contact-quote-who p { margin: 0; color: var(--e-global-color-ink65); font-weight: 500; line-height: 19px; }
.so-contact-quote-who strong { color: var(--e-global-color-text); font-weight: 500; }
.so-contact-quote-image { flex: 0 0 200px !important; width: 200px !important; height: 200px; overflow: hidden; border-radius: 40px; }
.so-contact-quote-image img { display: block; width: 200px; height: 200px; object-fit: cover; }
.so-contact-panel { flex: 1 1 0% !important; width: 0 !important; max-width: 933px; min-height: 862px; padding: 40px 60px; border-radius: 56px; background: var(--e-global-color-white); gap: 0 !important; }
.so-contact-form-head { gap: 8px; }
.so-contact-form-title .elementor-heading-title { font-family: var(--e-global-typography-text-font-family), sans-serif; font-size: 24px !important; font-weight: 700; line-height: 29px !important; }
.so-contact-form-sub p { margin: 0; color: var(--e-global-color-ink65); font-size: 16px; font-weight: 500; line-height: 19px; }
.so-contact-form { width: 100%; margin-top: 60px; }
.so-contact-form .elementor-form { font-family: var(--e-global-typography-text-font-family), sans-serif; color: var(--e-global-color-text); font-size: 16px; letter-spacing: -.02em; }
.so-contact-form .elementor-form-fields-wrapper { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; margin: 0 !important; }
.so-contact-form .elementor-field-group { width: auto !important; flex: none !important; min-width: 0; margin: 0 !important; padding: 0 !important; }
.so-contact-form .elementor-field-group-name,
.so-contact-form .elementor-field-group-subject,
.so-contact-form .elementor-field-group-message,
.so-contact-form .elementor-field-group-policy,
.so-contact-form .e-form__buttons { grid-column: 1 / -1; }
.so-contact-form .elementor-field-group-email { grid-column: span 2; }
.so-contact-form .elementor-field-group-dial,
.so-contact-form .elementor-field-group-phone { grid-column: span 1; }
.so-contact-form .elementor-field-group-dial { position: relative; padding-top: 21px !important; }
.so-contact-form .elementor-field-group-dial .elementor-field-label { position: absolute; top: 0; left: 0; white-space: nowrap; }
.so-contact-form .elementor-field-group-phone { align-self: end; }
.so-contact-form .elementor-field-label { display: block; margin: 0 0 4px !important; color: var(--e-global-color-text); font-size: 14px; font-weight: 400; line-height: 17px; }
.so-contact-form input.elementor-field,
.so-contact-form textarea.elementor-field,
.so-contact-form select.elementor-field-textual { width: 100%; height: 51px; min-height: 51px; padding: 16px; border: 1px solid transparent; border-radius: 100px; background-color: var(--e-global-color-grey) !important; color: var(--e-global-color-text); font-family: inherit; font-size: 16px; font-weight: 500; line-height: 19px; letter-spacing: -.02em; box-shadow: none; outline: none; transition: border-color .2s, background-color .2s; }
.so-contact-form textarea.elementor-field { background: var(--e-global-color-grey) !important; }
.so-contact-form input::placeholder, .so-contact-form textarea::placeholder { color: var(--e-global-color-ink65); opacity: 1; }
.so-contact-form input.elementor-field:hover, .so-contact-form textarea.elementor-field:hover, .so-contact-form select.elementor-field-textual:hover { background-color: #f1f3f6 !important; }
.so-contact-form input.elementor-field:focus, .so-contact-form textarea.elementor-field:focus, .so-contact-form select.elementor-field-textual:focus { border-color: var(--e-global-color-accent); background-color: var(--e-global-color-grey) !important; box-shadow: 0 0 0 3px var(--e-global-color-turqlight); }
.so-contact-form .elementor-field-group-dial select { appearance: none; padding-left: 46px; background-image: url('/wp-content/uploads/2026/10/flag-de.svg'); background-repeat: no-repeat; background-position: 16px center; background-size: 24px 24px; }
.so-contact-form .elementor-field-group-dial .select-caret-down-wrapper { right: 10px; }
.so-contact-form .elementor-field-group-subject select { appearance: none; }
.so-contact-form .so-dd { position: relative; width: 100%; }
.so-contact-form .so-dd .select-caret-down-wrapper { display: none; }
.so-contact-form .so-dd select.elementor-field-textual { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; opacity: 0; pointer-events: none; clip-path: inset(50%); }
.so-contact-form .so-dd__button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 51px; height: auto; padding: 12px 16px; border: 1px solid transparent; border-radius: 100px; background: var(--e-global-color-grey) !important; color: var(--e-global-color-text) !important; font-family: inherit; font-size: 16px; font-weight: 500; line-height: 21px; letter-spacing: -.02em; text-align: left; cursor: pointer; transition: border-color .2s, background-color .2s; }
.so-contact-form .so-dd__button:hover { background: #f1f3f6 !important; color: var(--e-global-color-text) !important; }
.so-contact-form .so-dd__button:focus-visible { outline: 2px solid var(--e-global-color-secondary); outline-offset: 2px; }
.so-contact-form .so-dd__button.is-placeholder { color: var(--e-global-color-ink65) !important; }
.so-contact-form .so-dd__label { flex: 1 1 auto; min-width: 0; white-space: normal; overflow-wrap: normal; }
.so-contact-form .so-dd__chevron { flex: none; margin-left: auto; transition: transform .2s; }
.so-contact-form .so-dd.is-open .so-dd__button { border-color: var(--e-global-color-accent); background: var(--e-global-color-grey) !important; box-shadow: 0 0 0 3px var(--e-global-color-turqlight); color: var(--e-global-color-text) !important; }
.so-contact-form .so-dd.is-open .so-dd__chevron { transform: rotate(180deg); }
.so-contact-form .so-dd__button img { flex: none; width: 24px; height: 24px; }
.so-contact-form .so-dd__button img[hidden] { display: none; }
.so-contact-form .so-dd__list { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; left: 0; max-height: 280px; overflow-y: auto; border: 1px solid rgba(24,37,48,.15); border-radius: 32px; background: var(--e-global-color-grey); box-shadow: 0 12px 44px rgba(56,69,80,.08); }
.so-contact-form .so-dd__list[hidden] { display: none; }
.so-contact-form .so-dd__list::-webkit-scrollbar { width: 14px; }
.so-contact-form .so-dd__list::-webkit-scrollbar-track { background: transparent; }
.so-contact-form .so-dd__list::-webkit-scrollbar-button:vertical:start:decrement, .so-contact-form .so-dd__list::-webkit-scrollbar-button:vertical:end:increment { display: block; width: 14px; height: 28px; background: transparent; }
.so-contact-form .so-dd__list::-webkit-scrollbar-thumb { border: 4px solid #F8F8F8; border-radius: 100px; background: rgba(24,37,48,.25); background-clip: padding-box; }
.so-contact-form .so-dd__list::-webkit-scrollbar-thumb:hover { background: rgba(24,37,48,.45); background-clip: padding-box; }
.so-contact-form .so-dd__option { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 51px; padding: 14px 16px; border: 0; border-radius: 0; background: var(--e-global-color-grey); color: var(--e-global-color-text); font-family: inherit; font-size: 16px; font-weight: 500; line-height: 21px; text-align: center; cursor: pointer; }
.so-contact-form .so-dd__option img { flex: none; width: 24px; height: 24px; }
.so-contact-form .so-dd__option:hover, .so-contact-form .so-dd__option:focus-visible { background: var(--e-global-color-white) !important; color: var(--e-global-color-secondary) !important; outline: none; }
.so-contact-form .so-dd__option[aria-selected="true"] { color: var(--e-global-color-secondary); }
.so-contact-form .so-dd__option[hidden] { display: none; }
.so-contact-form .elementor-field-group-dial .so-dd__list { right: auto; width: min(220px, calc(100vw - 72px)); min-width: 100%; max-height: none; overflow: visible; padding: 8px; }
.so-contact-form .elementor-field-group-dial .so-dd__options { max-height: 210px; overflow-y: auto; overscroll-behavior: contain; }
@supports (-moz-appearance: none) { .so-contact-form .elementor-field-group-dial .so-dd__options { scrollbar-width: thin; scrollbar-color: #aebdc9 transparent; } }
.so-contact-form .elementor-field-group-dial .so-dd__options::-webkit-scrollbar { width: 7px; }
.so-contact-form .elementor-field-group-dial .so-dd__options::-webkit-scrollbar-track { background: transparent; margin-block: 8px; }
.so-contact-form .elementor-field-group-dial .so-dd__options::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 10px; background: #aebdc9; background-clip: padding-box; }
.so-contact-form .elementor-field-group-dial .so-dd__options::-webkit-scrollbar-thumb:hover { background: #8297a7; background-clip: padding-box; }
.so-contact-form .elementor-field-group-dial .so-dd__option { justify-content: flex-start; gap: 12px; padding: 12px; border-radius: 18px; text-align: left; }
.so-contact-form .so-dd__dial { flex: none; color: var(--e-global-color-text); }
.so-contact-form .so-dd__search { display: block; width: 100%; height: 44px !important; min-height: 44px !important; margin-bottom: 6px; padding: 10px 14px !important; border: 1px solid transparent; border-radius: 100px; background: var(--e-global-color-white) !important; color: var(--e-global-color-text); font: 500 14px/20px Inter, sans-serif; outline: none; }
.so-contact-form .so-dd__search:focus { border-color: var(--e-global-color-secondary); }
.so-contact-form textarea.elementor-field { min-height: 111px; height: 111px; border-radius: 20px; resize: none; }
.so-contact-form .elementor-field-group-policy { margin-top: 40px !important; color: var(--e-global-color-text); font-size: 18px; line-height: 22px; }
.so-contact-form .elementor-field-group-policy a { color: var(--e-global-color-secondary); }
.so-contact-form .e-form__buttons { margin-top: 4px !important; }
.so-contact-form .e-form__buttons .elementor-button { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border-radius: 100px; font-weight: 600; }
.so-contact-form .e-form__buttons .elementor-button:disabled { opacity: .5; cursor: default; }
.so-contact-form .elementor-message { margin: 16px 0 0; }
.so-contact-success { display: none !important; align-items: center; justify-content: center; gap: 40px; min-height: 782px; text-align: center; }
.so-contact-panel.is-success .so-contact-form-head, .so-contact-panel.is-success .so-contact-form { display: none !important; }
.so-contact-panel.is-success .so-contact-success { display: flex !important; }
.so-contact-success-icon { display: grid; place-items: center; width: 90px !important; height: 90px; border-radius: 50%; background: rgba(11,130,57,.15); }
.so-contact-success-icon img { width: 40px; height: 40px; }
.so-contact-success-title .elementor-heading-title { font-size: 30px; font-weight: 600; line-height: 38px; }
.so-contact-success-text p { margin: 0 0 16px; color: var(--e-global-color-text); opacity: .8; font-size: 18px; line-height: 22px; }
.so-contact-reset { width: min(485px,100%) !important; }
.so-contact-reset .elementor-button { width: 100%; border-radius: 100px; }
.so-contact-map { width: calc(100% - 120px) !important; height: 365px; margin: 100px 60px 0; overflow: hidden; border-radius: 56px; background: #e5e3df; }
.so-contact-map-frame, .so-contact-map-frame .elementor-widget-container, .so-contact-map-frame .elementor-custom-embed { width: 100%; height: 100%; }
.so-contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
body:has(.so-contact-map) .elementor-location-footer { margin-top: 140px; }
@media (max-width: 1600px) and (min-width: 1025px), (max-width: 800px) {
  .so-contact-form .elementor-form-fields-wrapper { grid-template-columns: 131px minmax(0,1fr); column-gap: 8px; }
  .so-contact-form .elementor-field-group-email { grid-column: 1 / -1; }
  .so-contact-form .elementor-field-group-dial, .so-contact-form .elementor-field-group-phone { grid-column: span 1; }
}
@media (max-width: 1440px) {
  .so-contact-hero { padding-right: 40px; padding-left: 40px; }
  .so-contact-body { width: calc(100% - 80px) !important; margin-right: 40px; margin-left: 40px; }
  .so-contact-map { width: calc(100% - 80px) !important; margin-right: 40px; margin-left: 40px; }
}
@media (max-width: 1280px) {
  .so-contact-body { gap: 32px; }
  .so-contact-info { flex-basis: 603px !important; width: 603px !important; }
  .so-contact-panel { padding: 40px; }
}
@media (max-width: 1024px) {
  body:has(.so-contact-map) .elementor-location-footer { margin-top: 96px; }
  .so-contact-hero { padding: 184px 24px 40px; border-radius: 0 0 40px 40px; }
  .so-contact-h1 .elementor-heading-title { font-size: 38px !important; line-height: 47px !important; }
  .so-contact-body { flex-direction: column !important; width: calc(100% - 48px) !important; margin: 48px 24px 0; }
  .so-contact-info { flex: none !important; width: 100% !important; min-height: 0; }
  .so-contact-quote { position: static !important; margin-top: 40px; }
  .so-contact-panel { flex: none !important; width: 100% !important; max-width: none; min-height: 0; }
  .so-contact-success { min-height: 480px; }
  .so-contact-map { width: calc(100% - 48px) !important; margin: 60px 24px 0; }
}
@media (max-width: 640px) {
  body:has(.so-contact-map) .elementor-location-footer { margin-top: 72px; }
  .so-contact-hero { padding: 160px 16px 40px; border-radius: 0 0 32px 32px; }
  .so-contact-h1 .elementor-heading-title { font-size: 30px !important; line-height: 37px !important; }
  .so-contact-body { width: calc(100% - 32px) !important; margin: 48px 16px 0; }
  .so-contact-info-title .elementor-heading-title { font-size: 26px !important; line-height: 33px !important; }
  .so-contact-info-lead { margin-top: 16px; }
  .so-contact-info-lead p { font-size: 16px; line-height: 20px; }
  .so-contact-cards { margin-top: 32px; }
  .so-contact-card { grid-template-columns: 84px minmax(0,1fr); column-gap: 8px; padding: 20px 24px; border-radius: 32px; }
  .so-contact-card-value p { font-size: 16px; line-height: 22px; }
  .so-contact-quote { flex-direction: column-reverse !important; align-items: flex-start; gap: 24px; border-radius: 32px; }
  .so-contact-quote-body { flex: none !important; width: 100% !important; gap: 24px; }
  .so-contact-quote-image { flex: none !important; width: 200px !important; max-width: 100%; height: 200px; border-radius: 32px; }
  .so-contact-panel { min-height: 0; padding: 24px 20px; border-radius: 32px; }
  .so-contact-form { margin-top: 32px; }
  .so-contact-form .elementor-form-fields-wrapper { grid-template-columns: 131px minmax(0,1fr); gap: 20px 8px; }
  .so-contact-form .elementor-field-group-email { grid-column: 1 / -1; }
  .so-contact-form .elementor-field-group-dial { grid-column: span 1; }
  .so-contact-form .elementor-field-group-phone { grid-column: span 1; }
  .so-contact-form .elementor-field-group-policy { margin-top: 12px !important; font-size: 16px; line-height: 20px; }
  .so-contact-success { min-height: 432px; }
  .so-contact-success-title .elementor-heading-title { font-size: 26px; line-height: 33px; }
  .so-contact-success-text p { font-size: 16px; line-height: 20px; }
  .so-contact-map { width: calc(100% - 32px) !important; height: 300px; margin: 48px 16px 0; border-radius: 32px; }
}

/* iOS Safari zooms the page when a focused field has a font smaller than 16px */
@media (max-width: 767px) { .so-contact-form .so-dd__search { font-size: 16px; } }

/* the word "WhatsApp" links to the chat; it keeps the text colour until hovered (like the prototype's .wa-link) */
.elementor a.so-wa-link { color: inherit; text-decoration: none; transition: color .2s cubic-bezier(.25, .8, .25, 1); }
.elementor a.so-wa-link:hover { color: var(--e-global-color-ctahover); text-decoration: underline; text-underline-offset: 2px; }

/* K10: map placeholder before the click (map.php, contact.js) */
.so-map { position: relative; }
.so-map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; background: #EDF2F8; color: #182530; font-family: Inter, sans-serif; }
.so-map__addr { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; }
.so-map__btn { height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: #289D9A; color: #fff; font: 600 16px/1 Inter, sans-serif; cursor: pointer; transition: background .2s; }
.so-map__btn:hover, .so-map__btn:focus-visible { background: #1F8E8B; }
.so-map__note { margin: 0; max-width: 520px; font-size: 14px; line-height: 20px; color: rgba(24,37,48,.65); }
.so-map__note a, .so-map__ext { color: #289D9A; text-decoration: underline; text-underline-offset: 2px; }
.so-map__ext { font-size: 15px; line-height: 20px; }
@media (max-width: 640px) { .so-map__ph { gap: 10px; padding: 16px; } .so-map__addr { font-size: 16px; } .so-map__note { font-size: 13px; line-height: 18px; } }
.so-contact-map .so-map .so-map__ext, .so-contact-map .so-map .so-map__note a { color: #289D9A; text-decoration: underline; }
.so-contact-map .so-map .so-map__ext:hover, .so-contact-map .so-map .so-map__note a:hover { color: #1F8E8B; }
.so-contact-map .so-map .so-map__note { max-width: 640px; }
.so-contact-map .so-map .so-map__note a { white-space: nowrap; }  /* "Privacy Policy" / "Datenschutzerklärung" never split */

/* ES / RU: the label column was 78 px (84 px on phones), "Электронная почта" / "Correo electrónico" wrapped and ran into the value (13.11.2026) */
html[lang^="ru"] .so-contact-card, html[lang^="es"] .so-contact-card { grid-template-columns: 150px 240px; }
@media (max-width: 640px) {
  html[lang^="ru"] .so-contact-card, html[lang^="es"] .so-contact-card { grid-template-columns: 116px minmax(0,1fr); }
}
