


:root {
  --vc-navy: #120e3f;
  --vc-accent: #5ec8ff;
  --vc-accent-strong: #2f7fd0;
}

.hero-bereich {
  position: relative;
  height: 740px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bereich::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(10, 8, 40, 0.6) 0%, rgba(10, 8, 40, 0) 55%);
  pointer-events: none;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 22%;
  z-index: 1;
}

.hero-text-wrapper {
  position: absolute;
  top: 16%;
  left: 9%;
  max-width: 50%;
  z-index: 3;
}

.hero-title {
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-title-main {
  display: block;
  font-size: clamp(1.8rem, 1rem + 2.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
}

.hero-title-main::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 0.8rem;
  background: #5ec8ff;
  border-radius: 2px;
}

.hero-title-sub {
  display: block;
}

.hero-title-sub-line {
  display: block;
  font-size: clamp(0.85rem, 0.7rem + 0.7vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d6dcff;
  line-height: 1.5;
}

.hero-slogan {
  position: absolute;
  top: 64%;
  left: 9%;
  max-width: 60%;
  margin: 0;
  z-index: 3;
  font-size: clamp(1.2rem, 0.9rem + 1.2vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  background: rgba(10, 8, 40, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-left: 3px solid #5ec8ff;
  border-radius: 0 4px 4px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.6);
}

.hero-slogan-accent {
  color: #5ec8ff;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-bereich { height: 650px; }
  .hero-text-wrapper { max-width: 60%; }
  .hero-slogan { top: 66%; max-width: 85%; }
}

/* Mobil */
@media (max-width: 600px) {
  .hero-bereich { height: 390px; }
  .hero-img { object-position: 30% center; }
  .hero-text-wrapper { top: 9%; left: 8%; max-width: 85%; }
  .hero-slogan { left: 8%; font-size: 1.05rem; padding: 0.5rem 0.9rem; }
}

/* ===== Infobox & Leistungskacheln ===== */


.info-section {
  padding: 3.5rem 9% 4rem;
}

.info-box {
  padding: 2.4rem 2.8rem;
  background: var(--vc-navy);
  border-radius: 4px;
  color: #ffffff;
}

.info-box-title {
  margin: 0 0 1.2rem;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.info-box-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 0.8rem;
  background: var(--vc-accent);
  border-radius: 2px;
}

.info-box p {
  margin: 0;
  max-width: 90ch;
  font-size: 1.15rem;
  line-height: 1.7;
  color: #d6dcff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.service-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 4px;
  background: var(--vc-navy);
  color: #ffffff;
  text-decoration: none;
}

.service-tile-media {
  overflow: hidden;
}

.service-tile-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-tile-body {
  flex: 1;
  padding: 1.3rem 1.3rem 1.6rem;
}

.service-tile-title {
  margin: 0 0 0.9rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.service-tile-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.7rem;
  background: var(--vc-accent);
  border-radius: 2px;
}

.service-tile-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #d6dcff;
}

.service-tile:hover .service-tile-media img,
.service-tile:focus-visible .service-tile-media img {
  transform: scale(1.05);
}

.service-tile:focus-visible {
  outline: 3px solid var(--vc-accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .service-tile-media img { transition: none; }
}

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .info-section { padding: 2.5rem 8% 3rem; }
  .info-box { padding: 1.6rem 1.4rem; }
  .info-box p { font-size: 1.05rem; }
  .service-grid { grid-template-columns: 1fr; }
  .service-tile-media img { aspect-ratio: 16 / 9; }
}

/* ===== Warum in Paraguay investieren ===== */

:root {
  --vc-violet-soft: #ebe7fa;
  --vc-accent-strong: #2f7fd0;
}

.why-section {
  --why-cols: minmax(0, 55fr) minmax(0, 45fr);
  --why-img-fit: contain;
  --why-img-pos: center;
  --why-box-pad: clamp(1.5rem, 3vw, 3rem);

  padding: 0;
  margin: 0;
}

.why-grid {
  display: grid;
  grid-template-columns: var(--why-cols);
  align-items: stretch;
}

.why-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--vc-navy);
}

.why-figure::before {
  content: "";
  display: block;
  padding-top: 67.31%; /* 1077 / 1600 */
}

.why-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--why-img-fit);
  object-position: var(--why-img-pos);
}

.why-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--why-box-pad);
  background: var(--vc-violet-soft);
  color: var(--vc-navy);
}

.why-box-title {
  margin: 0 0 1.2rem;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--vc-navy);
}

.why-box-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 0.8rem;
  background: var(--vc-accent-strong);
  border-radius: 2px;
}

.why-box p,
.why-box li {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #2b2656;
}

.why-box p {
  max-width: 62ch;
  margin: 0;
}

.why-box p + p,
.why-box p + ul,
.why-box ul + p {
  margin-top: 1rem;
}

.why-box ul {
  max-width: 62ch;
  margin: 0;
  padding-left: 1.3rem;
}

.why-box li + li {
  margin-top: 0.5rem;
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .why-section { --why-box-pad: 1.8rem 1.4rem; }
  .why-box p,
  .why-box li { font-size: 1.05rem; }
}


/* ===== Nummerierte Vorteile in der Box ===== */


.why-box {
  counter-reset: why;
}

.why-point + .why-point {
  margin-top: 1.4rem;
}

.why-point h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--vc-navy);
}

.why-point h3::before {
  counter-increment: why;
  content: counter(why);
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--vc-navy);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
}

.why-point ul {
  max-width: none;
  margin: 0;
  padding: 0 0 0 2.8rem;
  list-style: none;
}

.why-point li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 1rem;
  line-height: 1.55;
}

.why-point li + li {
  margin-top: 0.35rem;
}

.why-point li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--vc-accent-strong);
}

@media (max-width: 600px) {
  .why-point h3 { gap: 0.65rem; font-size: 1.05rem; }
  .why-point h3::before { width: 1.8rem; height: 1.8rem; }
  .why-point ul { padding-left: 2.45rem; }
  .why-point li { font-size: 0.98rem; }
}


/* ===== Vertrauensbereich (Abschluss der Startseite) ===== */


.vc-trust {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 34rem;
  margin-block: 3rem;
  border-radius: 6px;
  background: #110826;                    /* Randfarbe des Bildes, auch als Fallback */
  color: #fff;
}
.vc-trust__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;               /* Motiv rechts halten */
}
.vc-trust::before {                        /* sanfter Verlauf hinter dem Text */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(17,8,38,.85) 0%, rgba(17,8,38,.55) 40%, rgba(17,8,38,0) 65%);
}
.vc-trust__body {
  width: min(100%, 36rem);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}
.vc-trust__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
}
.vc-trust__title::after {                  /* Akzentlinie wie im Hero */
  content: "";
  display: block;
  width: 4.5rem;
  height: 3px;
  margin-top: 1rem;
  background: var(--vc-accent, #5ec8ff);
}
.vc-trust__kicker {
  margin: 0 0 1.75rem;
  font-size: .95rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
}
.vc-trust__points {
  margin: 0;
  padding: 0;
  list-style: none;
}
.vc-trust__points li {
  position: relative;
  padding: .45rem 0 .45rem 1.9rem;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: rgba(255,255,255,.95);
}
.vc-trust__points li::before {             /* Haken in Akzentfarbe */
  content: "";
  position: absolute;
  left: .15rem;
  top: .85rem;
  width: .8rem;
  height: .45rem;
  border-left: 2px solid var(--vc-accent, #5ec8ff);
  border-bottom: 2px solid var(--vc-accent, #5ec8ff);
  transform: rotate(-45deg);
}

.vc-trust__cta {
  display: inline-block;
  margin-top: 1.75rem;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  background: var(--vc-accent, #5ec8ff);
  color: var(--vc-navy, #120e3f);
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow .2s ease;
}
.vc-trust__cta:hover,
.vc-trust__cta:focus-visible {
  color: var(--vc-navy, #120e3f);
  box-shadow: 0 0 0 3px rgba(94,200,255,.45);
}

/* Handy/Tablet hochkant: Bild oben, Text darunter */

@media (max-width: 767.98px) {
  .vc-trust { display: block; min-height: 0; margin-block: 2rem; }
  .vc-trust::before { display: none; }
  .vc-trust__img {
    position: static;
    display: block;
    height: auto;
    aspect-ratio: 16 / 11;
    object-position: 70% 50%;
    -webkit-mask-image: linear-gradient(#000 70%, transparent);
            mask-image: linear-gradient(#000 70%, transparent);
  }
  .vc-trust__body { width: 100%; padding: 0 1.5rem 2.25rem; margin-top: -1.5rem; }
  .vc-trust__kicker { font-size: .85rem; }
}

/* Abstand Vertrauensbereich -> Footer: ca. 1,7 cm (4 rem) */

.vc-trust { margin-bottom: 0; }
.sp-module:has(.vc-trust) { margin-bottom: 0 !important; padding-bottom: 0 !important; }
section:has(.vc-trust) { padding-bottom: 4rem !important; }

/* Leeren Hauptbereich der Startseite ausblenden (Featured Articles ohne Beitraege) */

#sp-main-body:has(.blog-featured):not(:has(.blog-featured :is(article, .blog-item, .items-leading, .items-row))) {
  display: none;
}


/* ===== Firmenleitung ===== */


.team-section {
  padding: 4.5rem 9% 5rem;
}

.team-title {
  margin: 0 0 2.2rem;
  font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--vc-navy);
}

.team-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 0.8rem;
  background: var(--vc-accent-strong);
  border-radius: 2px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e3def5;
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(18, 14, 63, 0.06);
}

.team-figure {
  position: relative;
  align-self: stretch;
  margin: 0;
  overflow: hidden;
  background: var(--vc-navy);
}

.team-figure::before {
  content: "";
  display: block;
  padding-top: 125%; /* 4:5 */
}

.team-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.team-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.8rem 1.8rem 2rem;
}

.team-name {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vc-navy);
}

.team-role {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f64b0;
}

.team-role::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 0.9rem;
  background: var(--vc-accent-strong);
  border-radius: 2px;
}

.team-desc {
  margin: 1.1rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: #2b2656;
}

@media (max-width: 1100px) {
  .team-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .team-section { padding: 3rem 8% 3.5rem; }
  .team-card { grid-template-columns: 1fr; }
  .team-figure::before { padding-top: 100%; }
  .team-figure img { object-position: center 15%; }
  .team-body { padding: 1.4rem 1.3rem 1.6rem; }
}


/* ===== Sprachumschalter (weiß) ===== */


.mod-languages .btn,
.mod-languages .btn-secondary,
.mod-languages .dropdown-toggle {
  --bs-btn-bg: #ffffff;
  --bs-btn-color: var(--vc-navy);
  --bs-btn-border-color: #d9d4ee;
  --bs-btn-hover-bg: #ffffff;
  --bs-btn-hover-color: var(--vc-navy);
  --bs-btn-hover-border-color: var(--vc-accent-strong);
  --bs-btn-active-bg: #ffffff;
  --bs-btn-active-color: var(--vc-navy);
  --bs-btn-active-border-color: var(--vc-accent-strong);
  background-color: #ffffff;
  color: var(--vc-navy);
  border: 1px solid #d9d4ee;
  border-radius: 4px;
  box-shadow: none;
}

.mod-languages .btn:hover,
.mod-languages .btn:focus,
.mod-languages .btn.show,
.mod-languages .dropdown-toggle.show {
  background-color: #ffffff;
  color: var(--vc-navy);
  border-color: var(--vc-accent-strong);
}

.mod-languages .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #d9d4ee;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(18, 14, 63, 0.12);
}

.mod-languages .dropdown-menu a {
  color: var(--vc-navy);
}

.mod-languages .dropdown-menu a:hover,
.mod-languages .dropdown-menu .lang-active a {
  background-color: #ebe7fa;
}


/* Sprachumschalter ganz nach rechts, hinter das Hamburger-Symbol */


#sp-menu .sp-column {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#sp-menu .sp-column > :has(.mod-languages) {
  order: 99;
  margin-left: 1rem;
  align-self: center;
}


/* ===== Kopfzeile ===== */


#sp-header {
  padding-inline: 9%;
}

#sp-header > .row {
  flex-wrap: nowrap;
  align-items: center;
  min-height: 64px;
}

#sp-header > .row > * {
  width: auto;
}

#sp-logo   { flex: 0 0 auto; }
#sp-menu   { flex: 1 1 auto; min-width: 0; padding-left: 2.5rem; }
#sp-search { flex: 0 0 auto; }

#sp-menu .sp-column {
  justify-content: flex-start !important;
}

#sp-search .sp-column {
  display: flex;
  align-items: center;
  justify-content: flex-end !important;
  gap: 0.5rem;
}


/* Reihenfolge rechts: Suche, Sprache */


#sp-search .vc-search { order: 1; }
#sp-search .vc-lang   { order: 2; }


/* Desktop: kein Hamburger */


@media (min-width: 992px) {
  #offcanvas-toggler { display: none !important; }
}


/* Tablet und Handy: Hamburger links, Logo mittig, Suche und Sprache rechts */


@media (max-width: 991.98px) {
  #sp-header { padding-inline: 1rem; }
    #sp-header { height: auto !important; }       /* feste Helix-Höhe (55/60px) aufheben */
  #sp-header > .row { min-height: 62px; }       /* Kopfzeile am Handy/Tablet 72px hoch */
  #sp-header .logo { height: auto; }            /* Helix gibt dem Logo ebenfalls eine feste Höhe */
  #sp-header .sp-module { margin-left: 0; }     /* Helix-Zusatzabstand am Handy entfernen, der Abstand kommt aus dem gap */
  #sp-header > .row { position: relative; }

  #sp-menu   { order: 1; flex: 1 1 0; padding-left: calc(var(--bs-gutter-x) * 0.5); }
  #sp-logo   { order: 2; }
  #sp-search { order: 3; flex: 1 1 0; min-width: 0; }
  #sp-logo .sp-column { justify-content: center !important; }


  /* Hamburger: ganz links, runder Navy-Button, Striche in Akzentblau */
  
  
  #offcanvas-toggler {
    position: absolute;
    left: calc(var(--bs-gutter-x) * 0.5);
    top: 50%;
    transform: translateY(-50%);
    float: none !important;
    margin: 0 !important;
    width: 44px;
    height: 44px;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--vc-navy);
    transition: box-shadow 0.2s ease;
  }
  #offcanvas-toggler .burger-icon {
    width: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  #offcanvas-toggler .burger-icon > span {
    height: 2px;
    margin: 0;
    border-radius: 2px;
    background-color: var(--vc-accent);
  }
  #offcanvas-toggler:hover,
  #offcanvas-toggler:focus-visible {
    box-shadow: 0 0 0 2px var(--vc-accent);
  }
}


/* Handy: kleineres Logo, Sprachumschalter nur mit Flagge */


@media (max-width: 575.98px) {
  #sp-logo .logo-image { height: 40px; width: auto; }

  #sp-search .mod-languages .btn {
    font-size: 0;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.6rem;
  }
}

@media (max-width: 359.98px) {
  #sp-logo .logo-image { height: 32px; }
}


/* ===== Suche: Button + aufklappendes Feld ===== */


#sp-search .vc-search { position: relative; }

.vc-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--vc-accent);
  color: var(--vc-navy);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.vc-search-toggle:hover,
.vc-search-toggle:focus-visible { box-shadow: 0 0 0 2px var(--vc-navy); }
.vc-search-toggle .vc-i-close,
.vc-search-toggle[aria-expanded="true"] .vc-i-search { display: none; }
.vc-search-toggle[aria-expanded="true"] .vc-i-close { display: block; }


/* Ohne JavaScript bleibt das Formular normal sichtbar */


.vc-search.vc-js .vc-search-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  padding: 12px;
  background: #fff;
  border: 1px solid #d9d4ee;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(18, 14, 63, 0.18);
  z-index: 1050;
}
.vc-search.vc-js.vc-open .vc-search-panel { display: block; }


/* Label nur für Screenreader */


.vc-search-panel label {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.vc-search-panel form,
.vc-search-panel .input-group { display: flex; flex-wrap: nowrap; gap: 8px; width: 100%; margin: 0; }
.vc-search-panel .awesomplete { flex: 1 1 auto; min-width: 0; display: block !important; }
.vc-search-panel input[type="text"],
.vc-search-panel input[type="search"] {
  flex: 1 1 auto; width: 100%; min-width: 0; height: 44px; margin: 0;
  border: 1px solid #d9d4ee; border-radius: 22px; padding: 0 1rem; color: #2b2656;
}
.vc-search-panel input:focus { outline: 2px solid var(--vc-accent-strong); outline-offset: 1px; box-shadow: none; }
.vc-search-panel .btn,
.vc-search-panel button[type="submit"] {
  flex: 0 0 auto; height: 44px; margin: 0; padding: 0 1.1rem; border: 0; border-radius: 22px;
  background: var(--vc-navy); color: #fff; font-weight: 500;
}


/* Handy: Suchfeld über die ganze Kopfzeilenbreite */


@media (max-width: 575.98px) {
  #sp-search .vc-search { position: static; }
  .vc-search.vc-js .vc-search-panel { left: 0.75rem; right: 0.75rem; width: auto; top: calc(100% + 4px); }
}


/* ===== Artikel (Info-Seiten): .vc-article ===== */


.vc-article {
  color: #2b2656;
  line-height: 1.7;
  font-size: 1.0625rem;
}
.vc-article a { color: #1d5aa6; }
.vc-article a:hover { color: var(--vc-navy); }
.vc-article strong { color: var(--vc-navy); }

.vc-article .vc-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  padding-left: 1.1rem;
  border-left: 4px solid var(--vc-accent);
  margin-bottom: 2rem;
}

.vc-article h2 {
  color: var(--vc-navy);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  line-height: 1.25;
  margin: 3rem 0 1.25rem;
  scroll-margin-top: 100px;
}
.vc-article h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 0.6rem;
  background: var(--vc-accent);
}
.vc-article h3 {
  color: var(--vc-navy);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.4rem);
  line-height: 1.3;
  margin: 2rem 0 0.75rem;
}
.vc-article ul { padding-left: 1.25rem; }
.vc-article li + li { margin-top: 0.4rem; }

/* Link mit Pfeil */

.vc-article .vc-more { font-weight: 600; text-decoration: none; }
.vc-article .vc-more::after { content: " \2192"; }
.vc-article .vc-more:hover { text-decoration: underline; }

/* Die sechs Steuern als Kacheln */

.vc-article .vc-taxes {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .vc-article .vc-taxes { grid-template-columns: 1fr 1fr; }
}
.vc-article .vc-taxes li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--vc-violet-soft);
  border-left: 4px solid var(--vc-accent-strong);
  border-radius: 4px;
  font-size: 0.975rem;
  line-height: 1.6;
}
.vc-article .vc-tax-name { font-size: 1.05rem; line-height: 1.35; }
.vc-article .vc-taxes .vc-more { margin-top: auto; }

/* Hinweis-Kasten ("Un caso frecuente") */

.vc-article .vc-note {
  margin: 1.75rem 0;
  padding: 1rem 1.25rem;
  background: #f6f4fd;
  border-left: 4px solid var(--vc-accent);
  border-radius: 4px;
}

/* Grafiken */

.vc-article .vc-figure { margin: 2rem 0; }
.vc-article .vc-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.vc-article .vc-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #5b5680;
  text-align: center;
}

/* Tabellen */

.vc-article .vc-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  -webkit-overflow-scrolling: touch;
}
.vc-article .vc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.975rem;
  line-height: 1.5;
}
.vc-article .vc-table th,
.vc-article .vc-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #d9d4ee;
  text-align: left;
  vertical-align: top;
}
.vc-article .vc-table thead th {
  background: var(--vc-navy);
  color: #fff;
  font-weight: 600;
  border-bottom: 0;
}
.vc-article .vc-table tbody tr:nth-child(even) { background: #f6f4fd; }
.vc-article .vc-table tbody th { font-weight: 500; color: #2b2656; }
.vc-article .vc-table-num th:not(:first-child),
.vc-article .vc-table-num td { text-align: right; font-variant-numeric: tabular-nums; }
.vc-article .vc-table .vc-total th,
.vc-article .vc-table .vc-total td {
  background: var(--vc-violet-soft);
  color: var(--vc-navy);
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .vc-article .vc-table { font-size: 0.9rem; }
  .vc-article .vc-table th,
  .vc-article .vc-table td { padding: 0.6rem 0.6rem; }
}

/* FAQ */

.vc-article .vc-faq {
  margin: 0 0 0.75rem;
  border: 1px solid #d9d4ee;
  border-radius: 4px;
  background: #fff;
}
.vc-article .vc-faq summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 600;
  color: var(--vc-navy);
  cursor: pointer;
  list-style: none;
}
.vc-article .vc-faq summary::-webkit-details-marker { display: none; }
.vc-article .vc-faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--vc-accent-strong);
}
.vc-article .vc-faq[open] summary::after { content: "\2212"; }
.vc-article .vc-faq[open] { background: #f6f4fd; }
.vc-article .vc-faq summary:focus-visible { outline: 2px solid var(--vc-accent-strong); outline-offset: 2px; }
.vc-article .vc-faq p { margin: 0; padding: 0 1.25rem 1.1rem; }

/* Kontakt-Kasten */

.vc-article .vc-cta {
  margin: 3rem 0 2rem;
  padding: 2rem;
  background: var(--vc-navy);
  color: #d6dcff;
  border-radius: 4px;
}
.vc-article .vc-cta p { margin: 0 0 1rem; }
.vc-article .vc-cta .vc-cta-title {
  color: #fff;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}
.vc-article .vc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin: 1.25rem 0 0 !important;
}
.vc-article .vc-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: var(--vc-accent);
  color: var(--vc-navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}
.vc-article .vc-btn:hover,
.vc-article .vc-btn:focus-visible { background: #8fdaff; color: var(--vc-navy); }
.vc-article .vc-cta-link { color: #d6dcff; text-decoration: underline; }
.vc-article .vc-cta-link:hover { color: #fff; }

/* Base legal: kleinere Schrift als der Fließtext */

.vc-article .vc-legal {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  background: #f6f4fd;
  border-left: 4px solid #d9d4ee;
  border-radius: 4px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #5b5680;
}
.vc-article .vc-legal p { margin: 0 0 0.6rem; }
.vc-article .vc-legal p:last-child { margin-bottom: 0; }
.vc-article .vc-legal strong { color: #2b2656; }


/* ===== Hauptmenü Desktop: Mega-Menü im Stil der Referenzseite ===== */


:root {
  --vc-link: #1d5aa6;      /* Linkfarbe auf Weiß (gut lesbar) */
  --vc-header-h: 84px;     /* Höhe der Kopfzeile am Desktop */
}


/* Helix gibt der Kopfzeile eine feste Höhe: aufheben */


#sp-header { height: auto !important; }

@media (min-width: 992px) {
  #sp-header > .row { position: static !important; min-height: var(--vc-header-h); }

  /* Hauptpunkte: 16px, Fließtext-Schrift, normal geschrieben */
  #sp-header .sp-megamenu-parent { display: flex !important; flex-wrap: nowrap; margin: 0; float: none; position: static; }
  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span {
    padding: 0 0.8rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: var(--vc-header-h);   /* volle Höhe, damit das Panel beim Überfahren nicht zuklappt */
    color: #2b2656;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s ease;
  }
  #sp-header .sp-megamenu-parent > li:last-child > a { padding: 0 0.8rem; }
  /* Sicherheitsnetz: Mega-Panel immer an der Kopfzeile verankern */
  #sp-header .sp-megamenu-parent > li:has(> .sp-dropdown-mega) { position: static; }
  #sp-header .sp-megamenu-parent > li:hover > a,
  #sp-header .sp-megamenu-parent > li:hover > span,
  #sp-header .sp-megamenu-parent > li.active > a,
  #sp-header .sp-megamenu-parent > li.active > span { color: var(--vc-link); }


  /* Mega-Panel: volle Breite unter der Kopfzeile */
  
  
  #sp-header .sp-dropdown.sp-dropdown-mega {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
  }
  #sp-header .sp-dropdown-mega .sp-dropdown-inner {
    padding: 2.5rem 9% 3.5rem;          /* linke Kante bündig mit dem Logo */
    background: #fff;
    border-top: 1px solid #e3def5;
    box-shadow: 0 24px 40px -16px rgba(18, 14, 63, 0.18);
  }
  #sp-header .sp-dropdown-mega .sp-dropdown-inner > .row { --bs-gutter-x: 2.5rem; }


  /* Titelzeile im Panel (Custom-Modul mit <p class="vc-mega-title">) */
  
  
  #sp-header .vc-mega-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--vc-navy);
  }


  /* Ebene 2: 17px, normal geschrieben */
  
  
  #sp-header .sp-megamenu-parent .sp-mega-group > li > a {
    display: inline-block;
    margin: 0;
    padding: 0.6rem 0;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
    color: #2b2656;
    transition: color 0.15s ease;
  }


  /* Ebene 3: 15px, eingerückt, etwas heller */
  
  
  #sp-header .sp-megamenu-parent .sp-mega-group-child { margin: 0 0 0.6rem 1rem; }
  #sp-header .sp-megamenu-parent .sp-mega-group-child li.sp-menu-item > a {
    padding: 0.4rem 0;
    font-size: 0.9375rem;
    line-height: 1.3;
    color: #4a4570;
    transition: color 0.15s ease;
  }

  #sp-header .sp-megamenu-parent .sp-dropdown a:hover,
  #sp-header .sp-megamenu-parent .sp-dropdown a:focus-visible { color: var(--vc-link); }
}


/* Schmale Desktops (992-1199px): kompakter, damit alle Punkte in eine Zeile passen */


@media (min-width: 992px) and (max-width: 1199.98px) {
  #sp-header { padding-inline: 4%; }
  #sp-menu { padding-left: 1.5rem; }
  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span,
  #sp-header .sp-megamenu-parent > li:last-child > a { padding: 0 0.5rem; font-size: 0.9375rem; }
  #sp-header .sp-dropdown-mega .sp-dropdown-inner { padding-inline: 4%; }
}
@media (min-width: 992px) and (max-width: 1099.98px) {
  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span,
  #sp-header .sp-megamenu-parent > li:last-child > a { padding: 0 0.4rem; font-size: 0.875rem; }
}


/* ===== Off-Canvas-Menue im Kearney-Stil: Vollbild + grosse Schrift ===== */


@media (max-width: 991.98px) {

  /* Panel ueber den ganzen Bildschirm; geschlossen komplett ausserhalb */
  
  .offcanvas-menu {
    width: 100vw !important;
    max-width: 100vw;
    height: 100% !important;
    background: #fff;
  }
  body.ltr.offcanvs-position-left  .offcanvas-menu { left:  -100vw; }
  body.ltr.offcanvs-position-right .offcanvas-menu { right: -100vw; }

  /* Kopfband mit Trennlinie, darin der Schliessen-Button */
  
  .offcanvas-menu::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 72px;
    border-bottom: 1px solid #e3def5;
    pointer-events: none;
  }
  .offcanvas-menu .close-offcanvas {
    top: 14px;
    right: 16px;
    color: var(--vc-navy);
  }

  /* Scrollbarer Bereich unter dem Kopfband */
  
  .offcanvas-menu .offcanvas-inner {
    height: 100%;
    max-height: 100vh !important;
    padding: 5.5rem 1.5rem 2rem !important;
  }

  /* Hauptpunkte (a und span gleiche Schrift wie der Rest der Seite) */
  
  .offcanvas-menu .offcanvas-inner ul.menu > li > a,
  .offcanvas-menu .offcanvas-inner ul.menu > li > span {
    font-family: inherit !important;
    font-size: 1.75rem !important;        /* 28 px */
    font-weight: 400 !important;
    line-height: 1.25 !important;
    padding: 0.8rem 3rem 0.8rem 0 !important;   /* rechts Platz fuer den Pfeil */
    color: #2b2656;
    opacity: 1 !important;
    white-space: normal;
  }

  /* Untermenue-Punkte */
  
  .offcanvas-menu .offcanvas-inner ul.menu ul.menu-child {
    margin: 0 0 1rem 1rem;
  }
  .offcanvas-menu .offcanvas-inner ul.menu > li > ul > li > a,
  .offcanvas-menu .offcanvas-inner ul.menu ul.menu-child li > a {
    font-size: 1.25rem !important;        /* 20 px */
    line-height: 1.3 !important;
    padding: 0.55rem 0 !important;
    color: #4a4570;
    opacity: 1 !important;
  }

  /* Pfeil */
  
  .offcanvas-menu .menu-toggler {
    font-size: 1.4rem;
    color: var(--vc-navy);
  }

  /* Hover/Aktiv */
  
  .offcanvas-menu .offcanvas-inner ul.menu li > a:hover,
  .offcanvas-menu .offcanvas-inner ul.menu li > a:focus-visible,
  .offcanvas-menu .offcanvas-inner ul.menu li.active > a,
  .offcanvas-menu .offcanvas-inner ul.menu li.active > .nav-header {
    color: var(--vc-link);
  }
}


