.wt-inline-edit-button,
.wt-inline-bar,
.wt-inline-modal,
.wt-inline-toast {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.wt-inline-edit-button {
  position: fixed;
  left: max(24px, env(safe-area-inset-left));
  right: auto;
  bottom: max(34px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  min-width: 76px;
  min-height: 46px;
  padding: 11px 18px;
  box-sizing: border-box;
  color: #ffffff;
  background: #070807;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .26);
  font-weight: 800;
  cursor: pointer;
}
.wt-inline-bar {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(34px, env(safe-area-inset-bottom));
  z-index: 2147483000;
  display: flex;
  max-width: calc(100vw - 48px);
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  max-width: min(92vw, 520px);
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .2);
  backdrop-filter: blur(18px);
}

.wt-inline-bar button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  padding: 8px 13px;
  color: #142033;
  background: #f7faf9;
  font-weight: 750;
  cursor: pointer;
}

.wt-inline-bar button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, .16);
}

.wt-inline-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.wt-inline-bar .wt-inline-close,
.wt-inline-bar .wt-inline-lang {
  width: auto !important;
  min-width: 38px;
  min-height: 34px;
  text-align: center !important;
  justify-content: center !important;
}

.wt-inline-group {
  display: grid;
  gap: 6px;
  width: 100%;
}

.wt-inline-group-title {
  padding: 7px 3px 2px;
  color: var(--client-color-1, #62706d);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
}

.wt-inline-menu {
  position: fixed;
  z-index: 2147483004;
  display: grid;
  gap: 4px;
  max-height: min(70vh, 430px);
  overflow: auto;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 14px;
  padding: 8px;
  color: #142033;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .22);
  backdrop-filter: blur(18px);
}

.wt-inline-menu button,
.wt-inline-options-order label {
  width: 100%;
  min-height: 34px;
  box-sizing: border-box;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  color: #142033;
  background: #f5f8f7;
  font: 800 12px/1.2 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: left;
  cursor: pointer;
}

.wt-inline-menu button[aria-checked="true"] {
  color: #061f18;
  background: #c8f7e4;
}

.wt-inline-menu button[aria-checked="true"]::before {
  content: "✓ ";
}

.wt-inline-options-order label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.wt-inline-options-order input {
  margin: 0;
}

.wt-inline-options-order [data-role="send-options"] {
  margin-top: 6px;
  color: #ffffff;
  background: #105542;
  text-align: center;
}

.wt-inline-bar button[data-role="colors"] {
  position: relative;
  padding-left: 34px;
}

.wt-inline-bar button[data-role="colors"]::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: var(--wt-color-preview, #ba5508);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 4px 12px rgba(15, 23, 42, .16);
}

.wt-inline-bar button[data-role="save"] {
  border: 0;
  color: #062018;
  background: #35d89b;
}

.wt-inline-bar button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.wt-inline-field {
  outline: 2px solid rgba(53, 216, 155, .55);
  outline-offset: 4px;
  border-radius: 6px;
  cursor: text;
}

.wt-inline-field:focus {
  outline-color: #14b87d;
  box-shadow: 0 0 0 6px rgba(20, 184, 125, .14);
}

.wt-inline-field[data-wt-inline-invalid="1"] {
  outline-color: #e05252;
  box-shadow: 0 0 0 6px rgba(224, 82, 82, .13);
}

.wt-inline-asset {
  outline: 2px dashed rgba(53, 216, 155, .72);
  outline-offset: 5px;
  border-radius: 8px;
  cursor: pointer;
}

.wt-inline-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(6, 12, 18, .46);
}

.wt-inline-card {
  width: min(420px, 100%);
  border-radius: 20px;
  padding: 22px;
  color: #172033;
  background: #f7faf9;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

.wt-inline-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.wt-inline-card p {
  margin: 0 0 16px;
  color: #5c6676;
  line-height: 1.55;
}

.wt-inline-card .wt-inline-session-note {
  margin-top: -6px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #314033;
  background: rgba(53, 216, 155, .12);
  font-size: 13px;
}

.wt-inline-card label {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  font-weight: 760;
}

.wt-inline-card input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd3dd;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

.wt-inline-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

.wt-inline-actions button {
  border: 1px solid #d4dae4;
  border-radius: 999px;
  padding: 10px 14px;
  background: #f7faf9;
  font-weight: 800;
  cursor: pointer;
}

.wt-inline-actions button[data-primary="1"] {
  border: 0;
  background: #35d89b;
}

.wt-inline-toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 2147483002;
  transform: translateX(-50%);
  max-width: min(92vw, 520px);
  border-radius: 999px;
  padding: 11px 15px;
  color: #fff;
  background: rgba(14, 22, 33, .94);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
  font-weight: 700;
  text-align: center;
}

.wt-inline-color-popover {
  position: fixed;
  z-index: 2147483003;
  width: 236px;
  box-sizing: border-box;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 16px;
  padding: 12px;
  color: #142033;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .22);
  backdrop-filter: blur(18px);
}

.wt-inline-color-popover label {
  display: block;
  margin-bottom: 8px;
  color: #526173;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.wt-inline-color-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
}

.wt-inline-color-field {
  position: relative;
  height: 112px;
  overflow: hidden;
  border-radius: 13px;
  cursor: crosshair;
  background:
    linear-gradient(to top, #000000, rgba(0, 0, 0, 0)),
    linear-gradient(to right, #ffffff, hsl(var(--wt-hue, 168), 100%, 50%));
}

.wt-inline-color-marker {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .38);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.wt-inline-hue-slider {
  width: 100%;
  height: 14px;
  margin: 10px 0;
  border-radius: 999px;
  appearance: none;
  background: linear-gradient(90deg, #ff0000 0%, #ff00ff 17%, #0000ff 34%, #00ffff 50%, #00ff00 67%, #ffff00 84%, #ff0000 100%);
  cursor: pointer;
}

.wt-inline-hue-slider::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  appearance: none;
  background: #1f2937;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.wt-inline-hue-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #1f2937;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.wt-inline-color-row input[type="text"] {
  min-width: 0;
  height: 42px;
  border: 1px solid #d5dde6;
  border-radius: 12px;
  padding: 9px 10px;
  color: #142033;
  background: #f7faf9;
  font: inherit;
  font-weight: 760;
}

.wt-inline-color-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.wt-inline-color-actions button {
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  color: #142033;
  background: #eef3f2;
  font-weight: 800;
  cursor: pointer;
}

.wt-inline-asset-hint {
  position: fixed;
  z-index: 2147483002;
  width: min(280px, calc(100vw - 24px));
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 12px;
  padding: 10px 12px;
  color: #172033;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .18);
  font: 700 13px/1.4 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 640px) {
  .wt-inline-edit-button,
  .wt-inline-bar {
    bottom: max(28px, env(safe-area-inset-bottom));
  }

  .wt-inline-bar {
    left: 14px;
    right: 14px;
    max-width: calc(100vw - 28px);
    justify-content: center;
  }
}
.wt-inline-bar button[data-role="style"],
.wt-inline-bar button[data-role="font"],
.wt-inline-bar button[data-role="hero"],
.wt-inline-bar button[data-role="motion"],
.wt-inline-bar button[data-role="map-toggle"] {
  border: 0;
  color: #0d2b33;
  background: #eef7f4;
}
.wt-inline-bar button[data-role="form-toggle"] {
  border: 0;
  color: #12372d;
  background: #edf8f1;
}
@media (max-width: 640px) {
  .wt-inline-edit-button {
    left: max(14px, env(safe-area-inset-left));
    right: auto;
  }
}
.wt-inline-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 12, 15, 0.38);
  backdrop-filter: blur(8px);
}

.wt-inline-modal {
  width: min(520px, calc(100vw - 32px));
  border-radius: 18px;
  background: #ffffff;
  color: #102522;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  padding: 24px;
  font-family: Arial, sans-serif;
}

.wt-inline-modal h2 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.wt-inline-modal p {
  margin: 0 0 18px;
  color: #52605d;
  font-size: 15px;
  line-height: 1.5;
}

.wt-inline-modal label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #203a35;
}

.wt-inline-modal textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 0;
  border-radius: 12px;
  background: #f4f7f6;
  box-shadow: inset 0 0 0 1px rgba(16, 85, 66, 0.14), 0 10px 24px rgba(13, 39, 34, 0.08);
  color: #102522;
  padding: 14px;
  font: 14px/1.45 Arial, sans-serif;
  outline: none;
}

.wt-inline-modal textarea:focus {
  box-shadow: inset 0 0 0 2px rgba(16, 85, 66, 0.42), 0 12px 30px rgba(13, 39, 34, 0.12);
}

.wt-inline-modal small {
  display: block;
  margin-top: 10px;
  color: #6b7775;
  font-size: 12px;
}

.wt-inline-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.wt-inline-modal-actions button {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(13, 39, 34, 0.10);
}

.wt-inline-modal-actions [data-role="cancel"] {
  background: #f1f4f3;
  color: #203a35;
}

.wt-inline-modal-actions [data-role="save"] {
  background: #105542;
  color: #ffffff;
}
/* Keep optional Team cards compact while the inline editor outlines assets/fields. */
.team-section .team-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 260px)) !important;
  justify-content: start !important;
  align-items: start !important;
}

.team-section .team-card {
  width: min(100%, 260px) !important;
  max-width: 260px !important;
  min-width: 0 !important;
}

.team-section .team-card img,
.team-section .team-card img.wt-inline-asset {
  display: block !important;
  width: 100% !important;
  max-width: 260px !important;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
}

.team-section .team-copy h3,
.team-section .team-copy p,
.team-section .team-card [data-wt-field] {
  max-width: 260px !important;
  box-sizing: border-box !important;
}

@media (max-width: 560px) {
  .team-section .team-grid {
    grid-template-columns: 1fr !important;
  }

  .team-section .team-card,
  .team-section .team-card img,
  .team-section .team-card img.wt-inline-asset,
  .team-section .team-copy h3,
  .team-section .team-copy p,
  .team-section .team-card [data-wt-field] {
    max-width: none !important;
  }
}
.team-card[hidden],
body[data-team-count="1"] [data-team-member="2"],
body[data-team-count="1"] [data-team-member="3"],
body[data-team-count="1"] [data-team-member="4"],
body[data-team-count="2"] [data-team-member="3"],
body[data-team-count="2"] [data-team-member="4"],
body[data-team-count="3"] [data-team-member="4"] {
  display: none !important;
}

.eyebrow .wt-inline-field[data-wt-field="business.subtype"],
.eyebrow .wt-inline-field[data-wt-field="business.operating_area"] {
  display: inline-block;
  min-width: 5ch;
  vertical-align: baseline;
}

.eyebrow .wt-inline-field[data-wt-field="business.operating_area"] {
  margin-left: .15em;
}
.wt-inline-edit-button-side,
.wt-inline-edit-button-demo {
  left: auto;
  right: 0;
  top: 50%;
  bottom: auto;
  min-width: 42px;
  min-height: 130px;
  padding: 12px 9px;
  border-radius: 14px 0 0 14px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .08em;
  font-size: 12px;
  line-height: 1;
  background: #0b1110;
}

.wt-inline-edit-button-demo {
  min-height: 168px;
}

.wt-inline-bar-demo,
.wt-inline-bar:not(.wt-inline-bar-demo) {
  top: 50%;
  left: auto;
  right: 0;
  bottom: auto;
  width: min(214px, calc(100vw - 48px));
  max-height: min(82vh, 760px);
  overflow-x: hidden;
  overflow-y: auto;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-right: 0;
  border-radius: 20px 0 0 20px;
  transform: translateY(-50%);
  animation: wtEditorPanelIn .46s cubic-bezier(.2, .8, .2, 1) both;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 26px 70px rgba(8, 15, 24, .24);
}

.wt-inline-mobile-handle {
  display: none;
}

.wt-inline-bar-demo::before {
  content: "DEMO KONTROLE";
  position: absolute;
  left: -43px;
  top: 24px;
  width: 43px;
  min-height: 168px;
  display: grid;
  place-items: center;
  border-radius: 14px 0 0 14px;
  color: #fff;
  background: #0b1110;
  box-shadow: -12px 18px 34px rgba(8, 15, 24, .18);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}

.wt-inline-bar-demo button,
.wt-inline-bar:not(.wt-inline-bar-demo) button {
  width: 100%;
  min-height: 29px;
  padding: 5px 9px;
  justify-content: flex-start;
  text-align: left;
  font-size: 12px;
  line-height: 1.15;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

.wt-inline-bar-demo button[data-role="colors"],
.wt-inline-bar:not(.wt-inline-bar-demo) button[data-role="colors"] {
  padding-left: 30px;
}

.wt-inline-bar-demo button[data-role="save"],
.wt-inline-bar:not(.wt-inline-bar-demo) button[data-role="save"] {
  color: #ffffff;
  background: #111827;
}

.wt-inline-bar-demo button[data-role="exit"],
.wt-inline-bar:not(.wt-inline-bar-demo) button[data-role="exit"],
.wt-inline-bar-demo button[data-role="lang"],
.wt-inline-bar:not(.wt-inline-bar-demo) button[data-role="lang"] {
  background: #eef4f2;
}

@keyframes wtEditorPanelIn {
  from { transform: translate(100%, -50%); opacity: .72; }
  to { transform: translate(0, -50%); opacity: 1; }
}

@media (max-width: 720px) {
  .wt-inline-edit-button-side,
  .wt-inline-edit-button-demo {
    top: auto;
    right: 0;
    bottom: max(92px, env(safe-area-inset-bottom));
    transform: none;
  }

  .wt-inline-bar-demo,
  .wt-inline-bar:not(.wt-inline-bar-demo) {
    top: max(14px, env(safe-area-inset-top));
    left: auto;
    right: 0;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: min(142px, calc(100vw - 40px));
    max-height: calc(100dvh - 28px);
    transform: none;
    animation-name: wtEditorPanelInMobile;
  }

  .wt-inline-bar-demo.wt-inline-bar-collapsed,
  .wt-inline-bar:not(.wt-inline-bar-demo).wt-inline-bar-collapsed {
    animation: none;
    pointer-events: none;
    transform: translateX(calc(100% + 18px)) !important;
    opacity: 0;
  }

  .wt-inline-mobile-handle {
    position: fixed;
    top: 50%;
    right: min(142px, calc(100vw - 40px));
    bottom: auto;
    z-index: 2147483002;
    display: inline-flex;
    width: 34px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .72);
    border-right: 0;
    border-radius: 999px 0 0 999px;
    color: #ffffff;
    background: #111827;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .28);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    line-height: 1;
    font-weight: 900;
    transform: translateY(-50%);
    cursor: pointer;
  }

  .wt-inline-mobile-handle.is-collapsed {
    right: 0;
  }

  .wt-inline-bar-demo::before {
    top: 18px;
  }
}

@keyframes wtEditorPanelInMobile {
  from { transform: translateX(100%); opacity: .72; }
  to { transform: translateX(0); opacity: 1; }
}
