/* DE candidate at exactly 1920x919. Values copied from the locked EN master:
   en-interior-1920.css (919px block), homepage-v21.css (1920px block).
   The shared priority layer is necessary to beat chrome-standard.css resets.
   EN sources and all other viewport sizes remain unchanged. */
@media (width: 1920px) and (height: 919px) {
  @layer bjm-chrome-priority {
    /* Booking review CTA only; retain its measured border-box after removing the 1px border. */
    html:root[lang="de"] body.interior-v21 > main.booking-page button#review-request.booking-primary {
      background-color: #087F91 !important;
      color: #FFFFFF !important;
      border: none !important;
      text-decoration: none !important;
      min-width: 250.15625px !important;
      height: 47px !important;
    }
    html:root[lang="de"] body.interior-v21 > main.booking-page button#review-request.booking-primary:focus-visible {
      outline: 2px solid #087F91 !important;
      outline-offset: 5px !important;
    }
    html:root[lang="de"][data-theme="dark"] body.interior-v21 > main.booking-page button#review-request.booking-primary:focus-visible {
      outline-color: #70D9DE !important;
    }
    /* Both placements of the same "Discuss a Partnership" CTA; paint only.
       This priority rule also covers hover, focus and visited states. */
    html:root[lang="de"] body.interior-v21 > main.partnerships-page .partnerships-actions > a.booking-link {
      background-color: #087F91 !important;
      color: #FFFFFF !important;
      text-decoration: none !important;
      border: none !important;
    }
    html:root[lang="de"] body.interior-v21 > main.partnerships-page .partnerships-actions > a.booking-link:not(:focus-visible) {
      outline: none !important;
    }
    html:root[lang="de"] body.interior-v21 > main.partnerships-page .partnerships-actions > a.booking-link:focus-visible {
      outline: 2px solid #087F91 !important;
      outline-offset: 5px !important;
    }
    html:root[lang="de"][data-theme="dark"] body.interior-v21 > main.partnerships-page .partnerships-actions > a.booking-link:focus-visible {
      outline-color: #70D9DE !important;
    }
    /* Timeline steps are unboxed here; theme.css's shared card surface
       remains unchanged at every other viewport and on the number badges. */
    html:root[lang="de"][data-theme="dark"] body.interior-v21 > main.partnerships-page .partnerships-steps > li {
      background-color: transparent !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > :is(header, main, footer) {
      --v21-width: 1600px !important;
      --v21-viewport-width: 90% !important;
    }
    /* interior-v21.css uses this variable for its common outer containers.
       The Blog's separately locked 1500px editorial width stays intact. */
    html:root[lang="de"] body.chrome-standard.interior-v21 > main:has(.articles-list) {
      --v21-width: 1500px !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > header {
      position: sticky !important;
      top: 0 !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > header > nav {
      width: min(1600px, 90%) !important;
      max-width: 1600px !important;
      height: auto !important;
      min-height: 80px !important;
      padding: 10px 0 !important;
      grid-template-columns: auto minmax(0, 1fr) auto !important;
      gap: 48px !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > header .brand img {
      width: calc(220px * 23 / 30) !important;
      height: 55px !important;
      transform: none !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > header .header-menu {
      gap: 24px !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > header :is(.header-menu > a, .nav-dropdown-toggle) {
      font-size: 20px !important;
      line-height: 1.4 !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > header .header-actions {
      position: static !important;
      inset-inline-end: auto !important;
      margin-inline-end: 0 !important;
      gap: 24px !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > header .header-utilities {
      position: static !important;
      padding-inline-start: 0 !important;
      gap: 14px !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > header .bali-clock {
      font-size: 16px !important;
      line-height: 1.4 !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > header a.nav-cta.cta-primary {
      font-size: 18px !important;
      line-height: 1.4 !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > footer.site-footer > .container {
      width: min(1600px, 90%) !important;
      max-width: 1600px !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > footer.site-footer .footer-grid {
      grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)) !important;
      column-gap: 48px !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > footer.site-footer .footer-column h2 {
      font-size: 18px !important;
      line-height: 1.4 !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > footer.site-footer .footer-column ul {
      font-size: 18px !important;
      line-height: 1.5 !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > footer.site-footer .footer-grid .footer-tagline {
      font-size: 17px !important;
      line-height: 1.6 !important;
    }
    html:root[lang="de"] body.chrome-standard:is(.homepage-v21, .interior-v21, .contact-site) > footer.site-footer .copyright {
      font-size: 14px !important;
      line-height: 1.6 !important;
    }
  }
}

/* Homepage content follows its corresponding EN page. */

@media (width: 1920px) and (height: 919px) {
  /* Match EN dark canvas in the existing gap between the two About photos. */
  html[lang="de"][data-theme="dark"] body.homepage-v21:not(.contact-site) main .about-intro-image { background-color: var(--theme-bg); }
  html[lang="de"] body.homepage-v21:not(.contact-site) > :is(header, main, footer) {
    --v21-width: 1600px;
    --v21-viewport-width: 90%;
  }
  html[lang="de"] body.homepage-v21:not(.contact-site) > header > nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 48px;
  }
  html[lang="de"] body.homepage-v21:not(.contact-site) > header .header-actions {
    position: static;
    inset-inline-end: auto;
    gap: 24px;
  }
  html[lang="de"] body.homepage-v21:not(.contact-site) > header .header-utilities {
    position: static;
    padding-inline-start: 0;
    gap: 14px;
  }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .hero {
    grid-template-rows: 560px 36px;
    --hero-frame-gutter: 160px;
  }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .hero > .container {
    padding: 44px 56px 44px 160px;
  }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .hero .hero-image { height: 560px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .hero .hero-desktop-headline { font-size: 56px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .hero .hero-subheadline { font-size: 22px; line-height: 1.55; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main h2 { font-size: 38px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main :is(.about-intro-copy > p:not(.section-label), .craft-teaser-copy p, .schedule-description) { font-size: 20px; line-height: 1.6; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .about-intro-image,
  html[lang="de"] body.homepage-v21:not(.contact-site) main .steps#schedule .schedule-image { height: 380px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .craft-teaser-content { max-width: 800px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main :is(.craft-teaser-image, .v3-process-photo) { height: 264px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .pricing-teaser-options { align-items: stretch; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .pricing-teaser-option { padding: 32px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .guest-reviews-grid { gap: 24px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .guest-review { padding: 28px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .guest-review-quote { font-size: 19px; line-height: 1.6; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .instagram-feed-grid { gap: 16px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .closing-cta { min-height: 340px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .closing-cta-copy { padding: 40px 48px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .closing-cta h2 { font-size: 44px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .steps#schedule > .container,
  html[lang="de"] body.homepage-v21:not(.contact-site) main .closing-faq {
    width: min(var(--v21-width), var(--v21-viewport-width));
    max-width: var(--v21-width);
  }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .closing-faq-list summary { font-size: 20px; line-height: 1.45; }
  html[lang="de"] body.homepage-v21:not(.contact-site) > footer.site-footer > .container { width: min(1600px, 90%); max-width: 1600px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) > footer.site-footer .footer-grid { column-gap: 48px; }

  /* Typography revision: strengthen reading sizes without enlarging main headings. */
  html[lang="de"] body.homepage-v21:not(.contact-site) > header :is(.header-menu > a, .nav-dropdown-toggle) { font-size: 20px; line-height: 1.4; }
  html[lang="de"] body.homepage-v21:not(.contact-site) > header .header-menu { gap: 24px; }
  html[lang="de"] body.homepage-v21:not(.contact-site) > header a.nav-cta.cta-primary { font-size: 18px; line-height: 1.4; }
  html[lang="de"] body.homepage-v21:not(.contact-site) > header .header-utilities .bali-clock { font-size: 16px; line-height: 1.4; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main :is(.section-label, .guest-reviews-section > .container > .section-label, .hero .hero-eyebrow) { font-size: 14px; line-height: 1.5; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main a.homepage-shortcut-cta { font-size: 18px; line-height: 1.5; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .hero a.hero-desktop-cta { font-size: 18px; line-height: 1.5; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .pricing-teaser-intro { font-weight: 700; line-height: 1.2; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .pricing-teaser-group-title { font-size: 26px; line-height: 1.3; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .pricing-teaser-price { font-size: 32px; line-height: 1.3; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main :is(.pricing-teaser-audience, .pricing-teaser-unit) { font-size: 18px; line-height: 1.5; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .steps#schedule .schedule-hours { font-size: 22px; line-height: 1.45; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .guest-review-attribution { font-size: 16px; line-height: 1.5; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main :is(.guest-review-location, .guest-review-source) { font-size: 14px; line-height: 1.5; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .instagram-feed-status { font-size: 18px; line-height: 1.6; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .instagram-feed-actions .instagram-feed-follow { font-size: 18px; line-height: 1.5; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .closing-cta a.cta-primary { font-size: 18px; line-height: 1.5; }
  html[lang="de"] body.homepage-v21:not(.contact-site) main .closing-faq-list details p { font-size: 18px; line-height: 1.6; }
  html[lang="de"] body.homepage-v21:not(.contact-site) > footer.site-footer .footer-column h2 { font-size: 18px; line-height: 1.4; }
  html[lang="de"] body.homepage-v21:not(.contact-site) > footer.site-footer .footer-column ul { font-size: 18px; line-height: 1.5; }
  html[lang="de"] body.homepage-v21:not(.contact-site) > footer.site-footer .footer-grid .footer-tagline { font-size: 17px; line-height: 1.6; }
  html[lang="de"] body.homepage-v21:not(.contact-site) > footer.site-footer .copyright { font-size: 14px; line-height: 1.6; }
}

/* Card surfaces and internal spacing: copied from the EN theme.css master. */
@media (width: 1920px) and (height: 919px) {
/* English content cards share paint only; inset borders preserve all box geometry. */
html[lang="de"] body main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step)) {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.11);
}
html[lang="de"]:not([data-theme="dark"]) body main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step)) {
  background-color: #FFFFFF;
  border-color: transparent;
}
html[lang="de"] body main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step))::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #E8E8E8;
  border-radius: inherit;
  pointer-events: none;
}
html[lang="de"][data-theme="dark"] body main :is(.guest-review, .pricing-teaser-option, .partnerships-facts > li, .pricing-page .price-option, .pricing-page .feature, .pricing-page .cost, .booking-page .booking-summary, :where(.steps#craft:has(#the-process) .step-grid > .step))::before { border-color: var(--theme-line); }
html[lang="de"][data-theme="dark"] body .pricing-page :is(.price-option, .feature, .cost) { outline: none; }

/* Only the English making-process grid receives card spacing and internal padding. */
html[lang="de"] body.interior-v21 main .steps#craft:has(#the-process) .step-grid {
  gap: 24px;
  grid-auto-rows: auto;
  align-items: stretch;
}
html[lang="de"] body.interior-v21 main .steps#craft:has(#the-process) .step-grid > .step {
  padding: 24px;
  min-width: 0;
}
html[lang="de"][data-theme="dark"] body main .steps#craft:has(#the-process) .step-number {
  /* Override the existing shared muted-number color, preserving the black/white badge. */
  color: #FFFFFF !important;
}

/* English Pricing: card breathing room and balanced editorial section spacing. */
html[lang="de"] body.interior-v21 .pricing-page :is(.price-option, .feature, .cost) {
  padding: 24px;
  border-width: 0;
  min-width: 0;
}
html[lang="de"] body.interior-v21 .pricing-page :is(.price-grid, .feature-grid, .cost-grid) { gap: 24px; align-items: stretch; }
html[lang="de"] body.interior-v21 .pricing-page .option-heading { min-height: 64px; margin-bottom: 16px; }
html[lang="de"] body.interior-v21 .pricing-page :is(.feature, .cost) > .pricing-icon { margin-bottom: 16px; }
html[lang="de"] body.interior-v21 .pricing-page :is(.feature, .cost) h3 { margin-bottom: 12px; }
html[lang="de"] body.interior-v21 .pricing-page :is(.price-options, .included, .additional, .reassurance, .pricing-closing) { padding: 0 0 40px; }
html[lang="de"] body.interior-v21 .pricing-page :is(.included-intro, .additional > .container, .reassurance-grid) { padding-top: 32px; }
html[lang="de"] body.interior-v21 .pricing-page .additional > .container { row-gap: 24px; }
html[lang="de"] body.interior-v21 .pricing-page .cost-note { margin-top: 0; }
@media (min-width: 1200px) {
  html[lang="de"] body.interior-v21 .pricing-page .additional > .container { grid-template-columns: minmax(250px, 1fr) minmax(0, 3fr); column-gap: 32px; }
}
@media (min-width: 651px) {
  html[lang="de"] body.interior-v21 .pricing-page .feature h3 { min-height: 2.5em; }
}

}

/* About photo crop follows the EN 1.15x master; existing focus remains 50% 65%. */
@media (width: 1920px) and (height: 919px) {
  html[lang="de"] body.interior-v21 main.about-page > .about-section:first-child > .about-container > img.about-photo { object-view-box: inset(6.52173913%); }
}

/* Approved completed EN micro-edits synchronized 2026-10-30. CSS only;
   retain localized content and all other viewport rules. About photo-zoom
   experiment excluded: no completed multilingual-sync approval record. */
/* Multilingual sync note (2026-10-30): index.html, EN hero slideshow only,
   exact 1920x919. Extend left by 60px total (20px more); width +60 and margin-left -60 keep
   the right edge fixed. Correct the 11% inset by 6.6px (=11% of 60px)
   to retain both original slants and right-hand polygon vertices.
   Height, text/grid, controls and per-slide object-position stay unchanged.
   Keep the existing padded text area intact; inspect the slanted edge visually.
   Port only with separate multilingual approval. */
@media (width: 1920px) and (height: 919px) {
  html[lang="de"] body.homepage-v21 > main > .hero#home > .hero-image {
    width: calc(100% - var(--hero-frame-gutter) + 60px);
    margin-left: -60px;
    clip-path: polygon(calc(11% - 6.6px) 0, 100% 0, calc(89% + 6.6px) 100%, 0 100%);
  }
}

/* Multilingual sync (2026-10-30): about.html, EN Explore link, 1920x919.
   Computed light mode had border-bottom:1px solid (page .about-action)
   plus text-decoration:underline (interior-v21.css secondary action).
   Keep the border underline and its geometry; remove only text decoration.
   Dark mode already had no text decoration. Verified both modes unchanged
   in font, color, geometry and Book Your Class. Sync only when authorized. */
@media (width: 1920px) and (height: 919px) {
  html[lang="de"] body.interior-v21 main.about-page .about-closing .about-actions > a.about-action:not(.about-action-primary) {
    text-decoration: none;
  }
}

/* Multilingual sync (2026-10-30): about.html, EN Book Your Class only,
   exact 1920x919, light/dark. Teal background #087F91, white text.
   Preserve all dimensions, padding, borders and the separate underline fix.
   Port only with separate multilingual approval. */
@media (width: 1920px) and (height: 919px) {
  html[lang="de"] body.interior-v21 main.about-page .about-closing .about-actions > a.about-action-primary {
    background-color: #087F91 !important;
    color: #FFFFFF !important;
  }
}

/* Multilingual sync (2026-10-30): EN 1920x919 Book Your Class resting border
   paint only. Transparent color retains border width/style and box geometry.
   Preserve existing hover, focus, active and outline; underline fix untouched. */
@media (width: 1920px) and (height: 919px) {
  html[lang="de"] body.interior-v21 main.about-page .about-closing .about-actions > a.about-action-primary:not(:hover):not(:focus):not(:active) {
    border-color: transparent !important;
  }
}

/* Multilingual sync note (2026-10-30): partnerships.html, EN hero only,
   exact 1920x919. The size-contained, stretched photo follows the grid row.
   Add 40px above/below the text to grow that row/photo by 80px downward,
   keeping the photo top/width and text width unchanged. Normal document flow
   moves later sections down. Port only with separate multilingual approval. */
@media (width: 1920px) and (height: 919px) {
  html[lang="de"] body.interior-v21 main.partnerships-page .partnerships-hero-grid > div {
    padding-block: 40px;
  }
  html[lang="de"] body.interior-v21 main.partnerships-page .partnerships-hero-grid > .partnerships-photo {
    object-fit: cover;
  }
}

/* Multilingual sync note (2026-10-30): EN Review Continue to Send paint only.
   Port this exact viewport/ID scope when separately authorized; retain border
   geometry with a transparent border to preserve the locked button size. */
@media (width: 1920px) and (height: 919px) {
  html[lang="de"] body.interior-v21 main.booking-page #send-request {
    background: #087F91 !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    text-decoration: none !important;
  }
}

/* Multilingual sync note (2026-10-30): booking.html, EN Send Your Request
   #send-whatsapp and #send-email only, exact 1920x919, light/dark and hover.
   Teal fill, white text, no underline or visible border. Transparent border
   preserves existing geometry. Port only with separate multilingual approval. */
@media (width: 1920px) and (height: 919px) {
  html[lang="de"] body.interior-v21 main.booking-page :is(#send-whatsapp, #send-email) {
    background: #087F91 !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    text-decoration: none !important;
  }
}

/* DE About — EN master layout sync, 1920x919 only */
@media (width: 1920px) and (height: 919px) {
  html[lang="de"] body.interior-v21 main.about-page
  .about-grid .about-copy {
    max-width: none;
    text-align: justify;
  }

  html[lang="de"] body.interior-v21 main.about-page
  .about-grid .about-copy > p {
    display: inline;
    margin: 0;
  }

  html[lang="de"] body.interior-v21 main.about-page
  .about-grid .about-copy > p:not(:last-child)::after {
    content: " ";
  }

  html[lang="de"] body.interior-v21 main.about-page
  .about-closing .about-heading {
    font-size: 30px;
    max-width: none;
    white-space: nowrap;
  }

  html[lang="de"] body.interior-v21 main.about-page
  .about-closing .about-copy > p {
    font-weight: 700;
    font-style: italic;
  }

  html[lang="de"] body.interior-v21 main.about-page
  .about-closing .about-copy > p:not(:last-child) {
    margin-bottom: 4px;
  }
}
