:root {
  --sherpai-accent: #ea580c;
  --sherpai-accent-dark: #c2410c;
  --sherpai-accent-shadow: rgba(234, 88, 12, 0.18);
  --sherpai-accent-outline: rgba(234, 88, 12, 0.22);
  --sherpai-border: rgba(15, 23, 42, 0.08);
  --sherpai-ink: #172554;
}

.header-style-1 .uk-navbar-container,
.tm-header-mobile .uk-navbar-container {
  background: #fff;
  border-bottom: 1px solid var(--sherpai-border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.header-style-1 .uk-navbar {
  min-height: 88px;
  gap: clamp(1rem, 1.8vw, 2.25rem);
}

.header-style-1 .uk-navbar-left {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 1.6vw, 2rem);
  flex: 1 1 auto;
  min-width: 0;
}

.header-style-1 .uk-navbar-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.header-style-1 .uk-navbar-item.uk-logo,
.header-style-1 .uk-logo {
  padding-left: 0;
  padding-right: 0;
  margin-right: 0.35rem;
  flex: 0 0 auto;
}

.header-style-1 .uk-logo .tm-logo {
  width: auto;
  height: 52px !important;
  max-width: min(280px, 19vw);
  max-height: 52px !important;
  object-fit: contain;
}

.header-style-1 .sp-megamenu-wrapper {
  min-width: 0;
}

.header-style-1 .sp-megamenu-parent {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.header-style-1 .sp-megamenu-parent > li > a,
.header-style-1 .sp-megamenu-parent > li > span {
  display: inline-flex;
  align-items: center;
  min-height: 88px;
  padding: 0 16px;
  color: var(--sherpai-ink);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.header-style-1 .sp-megamenu-parent > li > a:hover,
.header-style-1 .sp-megamenu-parent > li.active > a,
.header-style-1 .sp-megamenu-parent > li.current-item > a {
  color: var(--sherpai-accent);
}

a.menu-cta,
.uk-button.uk-button-primary,
.sppb-btn.sppb-btn-primary,
.sppb-btn-primary,
.sppb-button.sppb-button-primary,
.sppb-button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.72rem 1.1rem !important;
  border: 1px solid transparent;
  border-radius: 10px !important;
  background: var(--sherpai-accent) !important;
  color: #fff !important;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  box-shadow: 0 10px 22px var(--sherpai-accent-shadow);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.header-style-1 .sp-megamenu-parent > li > a.menu-cta {
  min-height: 42px;
  margin-left: 12px;
  padding: 0.74rem 1.05rem !important;
  line-height: 1.1;
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.15);
}

a.menu-cta:hover,
a.menu-cta:focus,
.uk-button.uk-button-primary:hover,
.uk-button.uk-button-primary:focus,
.sppb-btn.sppb-btn-primary:hover,
.sppb-btn.sppb-btn-primary:focus,
.sppb-btn-primary:hover,
.sppb-btn-primary:focus,
.sppb-button.sppb-button-primary:hover,
.sppb-button.sppb-button-primary:focus,
.sppb-button-primary:hover,
.sppb-button-primary:focus {
  background: var(--sherpai-accent-dark) !important;
  border-color: var(--sherpai-accent-dark);
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(194, 65, 12, 0.2);
  transform: translateY(-1px);
}

a.menu-cta:focus-visible,
.uk-button.uk-button-primary:focus-visible,
.sppb-btn.sppb-btn-primary:focus-visible,
.sppb-btn-primary:focus-visible,
.sppb-button.sppb-button-primary:focus-visible,
.sppb-button-primary:focus-visible {
  outline: 3px solid var(--sherpai-accent-outline);
  outline-offset: 2px;
}

.header-style-1 .uk-navbar-right .uk-navbar-item {
  padding-left: 0.5rem;
  padding-right: 0;
}

.sherpai-language-switch {
  display: inline-flex;
  align-items: center;
}

.sherpai-language-switch__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 3px;
  border: 1px solid var(--sherpai-border);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.06);
}

.sherpai-language-switch__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 34px;
  padding: 0 0.65rem;
  border-radius: 999px;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.sherpai-language-switch__option:hover,
.sherpai-language-switch__option:focus {
  color: var(--sherpai-accent);
  text-decoration: none;
}

.sherpai-language-switch__option.is-active {
  background: rgba(234, 88, 12, 0.12);
  color: var(--sherpai-accent);
  box-shadow: inset 0 0 0 1px rgba(234, 88, 12, 0.14);
}

.tm-header-mobile .sherpai-language-switch {
  margin-left: 0.55rem;
}

.sherpai-language-switch--mobile .sherpai-language-switch__inner {
  box-shadow: none;
}

.sherpai-language-switch--mobile .sherpai-language-switch__option {
  min-width: 34px;
  height: 30px;
  padding: 0 0.55rem;
  font-size: 0.76rem;
}

.header-style-1 .uk-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--sherpai-ink);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.header-style-1 .uk-search-toggle:hover,
.header-style-1 .uk-search-toggle:focus {
  color: var(--sherpai-accent);
  background: rgba(15, 23, 42, 0.04);
}

.tm-header-mobile .uk-navbar {
  min-height: 72px;
}

.tm-header-mobile .uk-navbar-center .uk-navbar-item.uk-logo,
.tm-header-mobile .uk-navbar-center .uk-logo,
.tm-header-mobile .uk-navbar-left .uk-navbar-item.uk-logo,
.tm-header-mobile .uk-navbar-left .uk-logo,
.tm-header-mobile .uk-navbar-right .uk-navbar-item.uk-logo,
.tm-header-mobile .uk-navbar-right .uk-logo {
  padding-left: 0;
  padding-right: 0;
}

.tm-header-mobile .uk-logo .tm-logo {
  width: auto;
  height: 40px !important;
  max-width: min(220px, 56vw);
  max-height: 40px !important;
  object-fit: contain;
}

body.itemid-147 #sp-page-title,
body.menu-alias-ueber-uns #sp-page-title,
body.menu-alias-about #sp-page-title {
  display: none;
}

body.itemid-174 #sp-page-title,
body.menu-alias-demo-anfordern #sp-page-title,
body.menu-alias-demo-request #sp-page-title {
  display: none;
}

#sppb-addon-1563180731788 .sppb-addon-single-image-container {
  overflow: hidden;
  border-radius: 22px;
}

#sppb-addon-1563180731788 .sppb-addon-single-image-container img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

.itemid-174 .uk-article-title,
.menu-alias-demo-anfordern .uk-article-title,
.menu-alias-demo-request .uk-article-title {
  max-width: none;
  font-size: 2.23125rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: inherit;
}

.itemid-174 .uk-article > .uk-margin-top[property="text"],
.menu-alias-demo-anfordern .uk-article > .uk-margin-top[property="text"],
.menu-alias-demo-request .uk-article > .uk-margin-top[property="text"] {
  margin-top: 1.35rem !important;
}

@media (min-width: 960px) {
  .itemid-174 .uk-article-title,
  .menu-alias-demo-anfordern .uk-article-title,
  .menu-alias-demo-request .uk-article-title {
    font-size: 2.625rem;
  }
}

.sherpai-demo-page {
  display: grid;
  gap: clamp(1.5rem, 2vw, 2rem);
}

.sherpai-demo-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 2vw, 2rem);
  align-items: start;
}

.sherpai-demo-card {
  padding: clamp(1.35rem, 2.4vw, 2rem);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.sherpai-demo-intro .sherpai-demo-card {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sherpai-demo-kicker {
  margin: 0 0 0.75rem;
  color: var(--sherpai-accent);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sherpai-demo-copy h2,
.sherpai-demo-form-intro h3,
.sherpai-demo-context h3 {
  margin: 0 0 1rem;
  color: #0f172a;
  line-height: 1.05;
}

.sherpai-demo-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.sherpai-demo-copy p,
.sherpai-demo-form-intro p,
.sherpai-demo-context p,
.sherpai-demo-list li,
.sherpai-demo-form-note {
  color: #4b5563;
}

.sherpai-demo-list {
  margin: 1.1rem 0 0;
  padding-left: 1.15rem;
}

.sherpai-demo-list li + li {
  margin-top: 0.55rem;
}

.sherpai-demo-visual {
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.sherpai-demo-visual img,
.sherpai-demo-brand img {
  display: block;
  width: 100%;
}

.sherpai-demo-visual img {
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: 24px;
  box-shadow: none;
}

.sherpai-demo-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  margin-top: 1.5rem;
}

.sherpai-demo-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.sherpai-demo-field-full {
  grid-column: 1 / -1;
}

.sherpai-demo-field label {
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 600;
}

.sherpai-demo-field input,
.sherpai-demo-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  background: #fff;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sherpai-demo-field input:focus,
.sherpai-demo-field textarea:focus {
  outline: none;
  border-color: rgba(234, 88, 12, 0.55);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.sherpai-demo-field textarea {
  min-height: 160px;
  resize: vertical;
}

.sherpai-demo-form-actions {
  align-items: flex-start;
}

.sherpai-demo-form-note {
  margin: 0.8rem 0 0;
  font-size: 0.92rem;
}

.sherpai-demo-form-message {
  margin-top: 1.1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  font-weight: 600;
}

.sherpai-demo-form-message.is-success {
  background: rgba(22, 163, 74, 0.1);
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.18);
}

.sherpai-demo-form-message.is-error {
  background: rgba(185, 28, 28, 0.08);
  color: #991b1b;
  border: 1px solid rgba(185, 28, 28, 0.16);
}

.sherpai-demo-form-errors {
  margin: 0;
  padding-left: 1.15rem;
}

.sherpai-demo-brand {
  margin: 1.4rem 0 0;
}

.sherpai-demo-brand img {
  max-width: 280px;
  height: auto;
}

.uk-offcanvas-bar a.menu-cta {
  width: 100%;
  margin-top: 0.75rem;
}

@media (max-width: 1199px) {
  .header-style-1 .uk-logo .tm-logo {
    max-width: 240px;
  }

  .header-style-1 .sp-megamenu-parent > li > a,
  .header-style-1 .sp-megamenu-parent > li > span {
    padding: 0 13px;
  }
}

@media (max-width: 959px) {
  .sherpai-demo-intro,
  .sherpai-demo-form {
    grid-template-columns: 1fr;
  }

  .header-style-1 .uk-navbar-right .uk-navbar-item:first-child {
    padding-left: 0.25rem;
  }

  .header-style-1 .uk-logo .tm-logo {
    height: 46px !important;
    max-height: 46px !important;
    max-width: 220px;
  }

  a.menu-cta,
  .uk-button.uk-button-primary,
  .sppb-btn.sppb-btn-primary,
  .sppb-btn-primary,
  .sppb-button.sppb-button-primary,
  .sppb-button-primary {
    min-height: 40px;
    padding: 0.68rem 1rem !important;
  }
}
