/*
 * 0.4.85 foundation, corrected in 0.4.86: compact editorial sections in
 * normal document flow and one coherent Advisory chapter system.
 * Loaded after outcome-diagrams-084.css. The old 069/074 story scripts are
 * retired at enqueue level; this stylesheet never relies on JavaScript.
 * Homepage service cards, Signature CTA and legal content retain their styling.
 */

/* One content-led inner-page header scale. Long text and zoom may grow it. */
@media (min-width: 901px) {
  :is(.vg-site, .editor-styles-wrapper) .vg-page-hero.vg-panorama:not(.vg-home-shared-066) > .vg-page-hero__grid {
    display: flex;
    align-items: center;
    min-height: 35rem;
    padding-block: 2.25rem;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-page-hero.vg-panorama:not(.vg-home-shared-066) .vg-page-hero__copy {
    flex: 0 0 auto;
    width: 49%;
    max-width: 40rem;
    gap: 1.25rem;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-page-hero.vg-panorama:not(.vg-home-shared-066) .vg-page-hero__copy > h1 {
    max-width: none;
    font-size: clamp(2.25rem, 3.15vw, 3.25rem);
    line-height: 1.12;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-page-hero.vg-panorama:not(.vg-home-shared-066) .vg-page-hero__copy > .vg-lead {
    max-width: 48ch;
    font-size: 1.125rem;
    line-height: 1.6;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-page-hero.vg-panorama:not(.vg-home-shared-066)::after {
    background: linear-gradient(90deg, #23333f 0%, #23333f 27%, rgba(35, 51, 63, .94) 38%, rgba(35, 51, 63, .68) 48%, transparent 69%);
  }
}

/* The approved new photographs place their principal subject on the right.
 * Preserve that subject when the established panoramic header crops to fit. */
:is(.vg-site, .editor-styles-wrapper) .vg-page-hero.vg-panorama .vg-page-hero__media img[src*="/approved/wertguetertransport-085"],
:is(.vg-site, .editor-styles-wrapper) .vg-page-hero.vg-panorama .vg-page-hero__media img[src*="/approved/ermittlungen-observationen-085"] {
  object-position: right center;
}

/* The approved map already includes its left text space. Keep every endpoint. */
:is(.vg-site, .editor-styles-wrapper) .vg-international-hero-085 {
  background: #23333f;
}
:is(.vg-site, .editor-styles-wrapper) .vg-international-hero-085 .vg-page-hero__media,
:is(.vg-site, .editor-styles-wrapper) .vg-international-hero-085 .vg-page-hero__media > :is(picture, .vg-international-map-085),
:is(.vg-site, .editor-styles-wrapper) .vg-international-hero-085 .vg-approved-picture {
  width: 100%;
  margin-inline: 0;
  transform: none !important;
  animation: none !important;
  transition: none !important;
  clip-path: none !important;
}
:is(.vg-site, .editor-styles-wrapper) .vg-international-hero-085 .vg-page-hero__media :is(img, svg) {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}
@media (min-width: 901px) {
  :is(.vg-site, .editor-styles-wrapper) .vg-international-hero-085.vg-page-hero.vg-panorama .vg-page-hero__copy {
    width: 43%;
    max-width: 36rem;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-international-hero-085.vg-page-hero.vg-panorama::after {
    background: linear-gradient(90deg, #23333f 0%, rgba(35, 51, 63, .95) 22%, rgba(35, 51, 63, .7) 34%, transparent 47%);
  }
}

/* Compact alternating image/text rows. The DOM always reads text before image. */
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085.vg-illustrated-section {
  min-height: 0;
  padding-block: clamp(2.75rem, 4.8vw, 4.75rem);
  overflow: visible;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 > .vg-illustrated-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 > .vg-illustrated-grid > .vg-illustrated-copy {
  min-width: 0;
  max-width: none;
  grid-column: 1;
  grid-row: 1;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 > .vg-illustrated-grid > .vg-illustrated-media {
  display: block;
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  aspect-ratio: var(--vg-feature-aspect-085, 16 / 10);
  overflow: hidden;
  background: transparent;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085--reverse > .vg-illustrated-grid > .vg-illustrated-copy {
  grid-column: 2;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085--reverse > .vg-illustrated-grid > .vg-illustrated-media {
  grid-column: 1;
}
/* Retain approved crops while keeping every frame in the same column system.
 * The yacht needs its full width so neither the tender nor the bow is lost.
 * The explicit selector also supersedes the ID-based .75/.82 frame rules. */
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085:is(#schutz-bei-bedrohung, #familien-family-offices, #erfahrung-arbeitsweise) {
  --vg-feature-aspect-085: 4 / 3;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085:is(#sonderschutzfahrzeuge, #fahrten-termine-reisen) {
  --vg-feature-aspect-085: 16 / 9;
}
:is(.vg-site, .editor-styles-wrapper) #bestehende-schutzteams.vg-feature-row-085 {
  --vg-feature-aspect-085: 1942 / 809;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085:is(#schutz-bei-bedrohung, #familien-family-offices, #erfahrung-arbeitsweise, #sonderschutzfahrzeuge, #fahrten-termine-reisen, #bestehende-schutzteams) > .vg-illustrated-grid > .vg-illustrated-media {
  aspect-ratio: var(--vg-feature-aspect-085, 16 / 10);
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 .vg-illustrated-media > picture,
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 .vg-illustrated-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  aspect-ratio: auto;
  object-fit: cover;
  background: transparent;
}
/* The communication device is a cutout, not a photograph to crop. */
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 .vg-illustrated-media > .vg-approved-picture--kommunikation {
  max-width: 25rem;
  margin-inline: auto;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 .vg-approved-picture--kommunikation > img {
  object-fit: contain;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 .vg-illustrated-copy :is(.vg-chapter-copy, .vg-page-section__heading, .vg-page-copy) {
  max-width: none;
  margin-top: 0;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 .vg-illustrated-copy :is(h2, .vg-page-section__heading > h2) {
  margin: 0 0 1.25rem;
  font-size: var(--vg-editorial-h2-082);
  line-height: 1.2;
  letter-spacing: -.01em;
}
:is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 .vg-page-copy > :last-child {
  margin-bottom: 0;
}

/* 0.4.86: one Advisory system. These rules target the actual saved wrappers,
 * not the retired .vg-editorial-071__row. No content migration is required. */
:is(.vg-site main, .editor-styles-wrapper) .vg-page-section.vg-advisory-section-085,
:is(.vg-site, .editor-styles-wrapper) #schutzkonzepte.vg-advisory-planning-071.vg-advisory-section-085 {
  padding-block: clamp(2.75rem, 4.8vw, 4.75rem);
  border: 0;
  background: #f8f6f1;
}

/* Explicit leaf specificity also wins against the old main.css H2 selector
 * and the illustrated-copy whitelist in cleanup-082.css. CTA stays separate. */
:is(.vg-site main, .editor-styles-wrapper) .vg-page-section.vg-advisory-section-085 h2:not(.vg-eyebrow):not(.vg-page-note--heading) {
  margin: 0;
  max-width: 100%;
  color: #23333f;
  font-size: var(--vg-editorial-h2-082);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
}
:is(.vg-site main, .editor-styles-wrapper) .vg-page-section.vg-advisory-section-085 .vg-illustrated-copy > h2:not(.vg-eyebrow):not(.vg-page-note--heading) {
  margin-bottom: 1.25rem;
}

/* Three related chapters share a continuous surface, a title column and one
 * reading column. The container rule, rather than a full-width band, separates
 * chapters. Everything remains in ordinary document flow. */
:is(.vg-site, .editor-styles-wrapper) :is(#schutzkonzepte, #beratungsergebnisse, #awareness-schulungen).vg-page-section.vg-advisory-section-085 {
  padding-block: 0;
}
:is(.vg-site, .editor-styles-wrapper) :is(#schutzkonzepte, #beratungsergebnisse, #awareness-schulungen).vg-advisory-section-085 > .vg-container {
  display: grid;
  grid-template-columns: minmax(19.5rem, .35fr) minmax(0, .65fr);
  align-items: start;
  column-gap: clamp(2.5rem, 5vw, 4.5rem);
  row-gap: 1.75rem;
  padding-block: clamp(2.75rem, 4.8vw, 4.75rem);
  border-top: 1px solid #dedcd4;
}
:is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 .vg-section-heading-085 {
  min-width: 0;
  max-width: 50rem;
  margin: 0;
}
:is(.vg-site, .editor-styles-wrapper) :is(#schutzkonzepte, #beratungsergebnisse, #awareness-schulungen).vg-advisory-section-085 > .vg-container > :is(.vg-advisory-grid-085, .vg-advisory-practice-085, .vg-page-copy) {
  min-width: 0;
  width: 100%;
  max-width: 65ch;
  margin: 0;
  font-size: var(--vg-editorial-copy-082);
}
:is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 :is(.vg-advisory-grid-085, .vg-advisory-practice-085) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  list-style: none;
}
:is(.vg-site, .editor-styles-wrapper) #awareness-schulungen.vg-advisory-section-085 > .vg-container > .vg-page-copy {
  display: grid;
  gap: 1rem;
}
:is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 :is(.vg-advisory-card-085, .vg-advisory-practice-item-085, .vg-outcome-085) {
  display: block;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
:is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 :is(.vg-advisory-grid-085, .vg-advisory-practice-085) > article + article {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid #dedcd4;
}
:is(.vg-site main, .editor-styles-wrapper) .vg-advisory-section-085 :is(.vg-advisory-card-085, .vg-advisory-practice-item-085, .vg-outcome-085) > h3 {
  min-height: 0;
  margin: 0 0 .875rem;
  color: #23333f;
  font-size: var(--vg-editorial-h3-082);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: normal;
}
:is(.vg-site main, .editor-styles-wrapper) .vg-advisory-section-085 :is(.vg-advisory-card-085, .vg-advisory-practice-item-085, .vg-outcome-085, .vg-section-heading-085, .vg-page-copy) > p {
  max-width: 65ch;
  margin: 0;
  color: #5c6468;
  font-size: var(--vg-editorial-copy-082);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
}
:is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 :is(.vg-advisory-card-085, .vg-advisory-practice-item-085, .vg-outcome-085) > p + p {
  margin-top: 1rem;
}
:is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 :is(.vg-advisory-card-085, .vg-advisory-practice-item-085) > .vg-page-links {
  margin-top: 1.25rem;
  padding-top: 0;
}

/* Outcomes are a single summary band. Shared separators express three related
 * benefits; there are no individual product cards or floating white panels. */
:is(.vg-site, .editor-styles-wrapper) #vg-diagram-risk.vg-page-section.vg-advisory-section-085 {
  background: #efede6;
}
:is(.vg-site, .editor-styles-wrapper) #vg-diagram-risk.vg-advisory-section-085 .vg-section-heading-085 {
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}
:is(.vg-site, .editor-styles-wrapper) #vg-diagram-risk.vg-advisory-section-085 .vg-section-heading-085 > p {
  margin-top: 1rem;
}
:is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 .vg-outcomes-085 {
  --vg-outcome-gap-086: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--vg-outcome-gap-086);
  margin: 0;
  padding: 0;
  list-style: none;
}
:is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 .vg-outcomes-085 > .vg-outcome-085 {
  position: relative;
}
:is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 .vg-outcomes-085 > .vg-outcome-085 + .vg-outcome-085::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: calc(var(--vg-outcome-gap-086) / -2);
  border-inline-start: 1px solid #d1cec4;
  pointer-events: none;
}

/* Partnership depth stays in the editorial rows, outside service cards and CTA. */
:is(.vg-site, .editor-styles-wrapper) .vg-partnership-section-085 {
  padding-block: clamp(2.75rem, 4.8vw, 4.75rem);
}
:is(.vg-site, .editor-styles-wrapper) .vg-partnership-section-085 > .vg-editorial-071__row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4.5vw, 4.5rem);
}
:is(.vg-site, .editor-styles-wrapper) .vg-partnership-section-085 > .vg-editorial-071__row > :first-child {
  position: relative;
  padding-top: 1.5rem;
}
:is(.vg-site, .editor-styles-wrapper) .vg-partnership-section-085 > .vg-editorial-071__row > :first-child::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 3.5rem;
  height: 2px;
  background: #786b52;
  transform-origin: left;
}
:is(.vg-site, .editor-styles-wrapper) .vg-partnership-section-085 > .vg-editorial-071__row > :first-child > h2 {
  max-width: 25ch;
}
:is(.vg-site, .editor-styles-wrapper) .vg-partnership-services-085 {
  border-block: 1px solid #dedcd4;
}

/* These are simultaneous strengths, not a sequence. Remove the old numbers. */
:is(.vg-site, .editor-styles-wrapper) #eigene-schutzmittel .vg-experience-073__number {
  display: none;
}

/* Direct contact details use the existing footer link and focus treatment. */
.vg-site-footer--signature .vg-footer-direct {
  display: grid;
  justify-items: start;
  gap: .15rem;
  min-width: 0;
  max-width: 100%;
  margin-top: .25rem;
}
.vg-site-footer--signature .vg-footer-direct .vg-footer-phone {
  white-space: nowrap;
}
.vg-site-footer--signature .vg-footer-direct .vg-footer-email {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Optional, once-only accents are assigned after intersection, never before. */
@media (prefers-reduced-motion: no-preference) {
  .vg-site .vg-consistency-enter-085 {
    animation: vg-consistency-enter-085 480ms cubic-bezier(.22, 1, .36, 1) both;
  }
  .vg-site .vg-consistency-image-085 {
    animation: vg-consistency-image-085 560ms ease-out both;
  }
  .vg-site .vg-consistency-rule-085::before {
    animation: vg-consistency-rule-085 620ms cubic-bezier(.22, 1, .36, 1) both;
  }
}
@keyframes vg-consistency-enter-085 {
  from { opacity: .72; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes vg-consistency-image-085 {
  from { opacity: .78; }
  to { opacity: 1; }
}
@keyframes vg-consistency-rule-085 {
  from { transform: scaleX(.15); }
  to { transform: scaleX(1); }
}

@media (max-width: 900px) {
  :is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 > .vg-illustrated-grid,
  :is(.vg-site, .editor-styles-wrapper) .vg-partnership-section-085 > .vg-editorial-071__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 > .vg-illustrated-grid > .vg-illustrated-copy,
  :is(.vg-site, .editor-styles-wrapper) .vg-feature-row-085 > .vg-illustrated-grid > .vg-illustrated-media {
    grid-column: 1;
    grid-row: auto;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-international-hero-085 .vg-page-hero__media {
    aspect-ratio: 1462 / 809;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-international-hero-085 .vg-page-hero__media::after {
    content: none;
  }
  :is(.vg-site, .editor-styles-wrapper) :is(#schutzkonzepte, #beratungsergebnisse, #awareness-schulungen).vg-advisory-section-085 > .vg-container {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.75rem;
  }
}
@media (max-width: 760px) {
  :is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 .vg-outcomes-085 {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 .vg-outcomes-085 > .vg-outcome-085 + .vg-outcome-085 {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #d1cec4;
  }
  :is(.vg-site, .editor-styles-wrapper) .vg-advisory-section-085 .vg-outcomes-085 > .vg-outcome-085 + .vg-outcome-085::before {
    content: none;
  }
}
@media (max-width: 540px) {
  :is(.vg-site, .editor-styles-wrapper) :is(.vg-feature-row-085, .vg-partnership-section-085),
  :is(.vg-site, .editor-styles-wrapper) .vg-page-section.vg-advisory-section-085:not(#schutzkonzepte, #beratungsergebnisse, #awareness-schulungen) {
    padding-block: 2.75rem;
  }
  :is(.vg-site, .editor-styles-wrapper) :is(#schutzkonzepte, #beratungsergebnisse, #awareness-schulungen).vg-advisory-section-085 > .vg-container {
    padding-block: 2.75rem;
  }
}
@media (prefers-reduced-motion: reduce), print {
  .vg-site .vg-consistency-enter-085,
  .vg-site .vg-consistency-image-085,
  .vg-site .vg-consistency-rule-085::before {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
@media print {
  .vg-site .vg-feature-row-085 > .vg-illustrated-grid {
    display: block;
  }
  .vg-site .vg-feature-row-085 .vg-illustrated-media {
    max-width: 32rem;
    margin-top: 1rem;
    break-inside: avoid;
  }
  .vg-site :is(#schutzkonzepte, #beratungsergebnisse, #awareness-schulungen).vg-advisory-section-085 > .vg-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-block: 1.5rem;
  }
}
