/*
Theme Name: SV John SVJ Template
Theme URI: https://www.sv-john.de/
Author: SV John Team
Description: Axemobile/SVJ-inspiriertes SV-John-Theme mit heller Fläche, grüner Akzentfarbe und SEO-freundlichem Markup.
Version: 0.1.98
Text Domain: svjohn-template-svj
Requires at least: 6.5
Requires PHP: 8.1
*/

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/work-sans-v7-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/work-sans-v7-latin-700.woff2") format("woff2");
}

:root {
  --green: #97c11f;
  --green-dark: #5f7d0b;
  --green-soft: #eef8ce;
  --ink: #252525;
  --ink-soft: #454545;
  --body: #454545;
  --muted: #6d747a;
  --paper: #ffffff;
  --soft: #f3f5f6;
  --soft-strong: #e8ecef;
  --line: #dfe5e8;
  --shadow: 0 28px 70px rgba(19, 30, 38, 0.12);
  --radius-lg: 34px;
  --radius: 18px;
  --container: 1200px;
  --header-image: url("assets/images/header.webp");
  --footer-image: url("assets/images/footer.webp");
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --motion-duration: 640ms;
  --motion-distance: 14px;
}

* {
  box-sizing: border-box;
}

svj-container,
svj-topbar,
svj-topbar-layout,
svj-header-layout,
svj-brand,
svj-hero-layout,
svj-hero-copy,
svj-hero-aside,
svj-hero-loop,
svj-action-list,
svj-promise-list,
svj-section-heading,
svj-heading-copy,
svj-services-layout,
svj-service-list,
svj-service-number,
svj-why-layout,
svj-stat-card,
svj-why-copy,
svj-reason-list,
svj-step-list,
svj-content-layout,
svj-editorial-content,
svj-scenario-list,
svj-news-list,
svj-faq-layout,
svj-faq-list,
svj-detail-panel,
svj-cta-card,
svj-footer-layout,
svj-footer-brand,
svj-footer-meta,
svj-legal-links,
svj-lightbox,
svj-lightbox-panel,
svj-lightbox-image-wrap,
svj-lightbox-caption {
  display: block;
}


html {
  font-size: 93.75%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

html body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Work Sans", sans-serif;
  font-size: 15px;
  line-height: 21px;
  text-rendering: optimizeLegibility;
}

html,
body {
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  font: inherit;
}

html body,
html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body p,
html body a,
html body li,
html body span,
html body button,
html body input,
html body textarea,
html body select,
html body summary {
  font-family: "Work Sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 1rem;
  color: var(--body);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

svj-container {
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

[data-svj-skip-link] {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0.65rem 1rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
}

[data-svj-skip-link]:focus {
  transform: translateY(0);
}

svj-topbar {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

svj-topbar-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 40px;
  font-size: 0.94rem;
}

svj-topbar-layout a {
  font-weight: 700;
  color: var(--ink);
}

[data-svj-site-header] {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 232, 0.9);
  box-shadow: 0 20px 50px rgba(19, 30, 38, 0.08);
  backdrop-filter: blur(18px);
}

[data-svj-site-header]::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--green));
}

svj-header-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  min-height: 104px;
}

svj-brand {
  display: inline-flex;
  align-items: center;
}

svj-brand img {
  width: 86px;
  height: auto;
}

[data-svj-primary-navigation] ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  list-style: none;
}

[data-svj-primary-navigation] li {
  position: relative;
}

[data-svj-primary-navigation] a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 0.35rem;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 21px;
  text-transform: uppercase;
}

[data-svj-primary-navigation] > div > ul > li > a::after,
[data-svj-primary-navigation] > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.2rem;
  width: 0;
  height: 3px;
  background: var(--green);
  transition: width 180ms ease;
}

[data-svj-primary-navigation] li:hover > a::after,
[data-svj-primary-navigation] li:focus-within > a::after,
[data-svj-primary-navigation] .current-menu-item > a::after,
[data-svj-primary-navigation] .current-menu-parent > a::after,
[data-svj-primary-navigation] .current-menu-ancestor > a::after {
  width: 100%;
}

[data-svj-primary-navigation] li:has(> ul) > a::before {
  content: "";
  order: 2;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

[data-svj-primary-navigation] li > ul {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: -1rem;
  display: grid !important;
  min-width: 285px;
  gap: 0.18rem !important;
  padding: 0.75rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

[data-svj-primary-navigation] li:hover > ul,
[data-svj-primary-navigation] li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

[data-svj-primary-navigation] li > ul a {
  width: 100%;
  min-height: 38px;
  padding: 0.55rem 0.75rem;
  color: var(--ink-soft);
  border-radius: 14px;
  text-transform: none;
}

[data-svj-primary-navigation] li > ul a:hover,
[data-svj-primary-navigation] li > ul a:focus,
[data-svj-primary-navigation] li > ul .current-menu-item > a {
  background: var(--green-soft);
  color: var(--green-dark);
}

[data-svj-header-call],
[data-svj-button],
[data-svj-footer-call] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 54px;
  padding: 0.95rem 1.45rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

[data-svj-header-call] {
  color: var(--ink);
  background: transparent;
}

[data-svj-header-call]:hover,
[data-svj-button]:hover,
[data-svj-footer-call]:hover {
  transform: translateY(-2px);
}

[data-svj-button="primary"],
[data-svj-footer-call] {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
  box-shadow: 0 18px 38px rgba(151, 193, 31, 0.24);
}

[data-svj-button="secondary"] {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

svj-action-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* 0.1.28: understated content motion system with a soft page-load entrance. */
.motion-booting:not(.motion-loaded) svj-topbar,
.motion-booting:not(.motion-loaded) [data-svj-site-header] {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
}

.motion-loaded svj-topbar,
.motion-loaded [data-svj-site-header] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 520ms var(--motion-ease),
    transform 620ms var(--motion-ease),
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease;
}

.motion-booting:not(.motion-loaded) [data-svj-hero="home"],
.motion-booting:not(.motion-loaded) [data-svj-hero="page"],
.motion-booting:not(.motion-loaded) [data-svj-hero="service"] {
  opacity: 1;
  transform: none;
}

.motion-loaded [data-svj-hero="home"],
.motion-loaded [data-svj-hero="page"],
.motion-loaded [data-svj-hero="service"] {
  animation: none;
}

.motion-loaded [data-svj-hero="home"]::before {
  animation: none;
}

.motion-ready .motion-reveal {
  opacity: 0;
  filter: blur(1px);
  transform: translate3d(0, var(--motion-distance), 0);
  transition:
    opacity var(--motion-duration) var(--motion-ease),
    filter var(--motion-duration) var(--motion-ease),
    transform var(--motion-duration) var(--motion-ease);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, filter, transform;
}

.motion-ready .motion-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.motion-ready .motion-reveal[data-motion="soft-left"] {
  transform: translate3d(-12px, 0, 0);
}

.motion-ready .motion-reveal[data-motion="soft-right"] {
  transform: translate3d(12px, 0, 0);
}

.motion-ready .motion-reveal[data-motion="soft-scale"] {
  transform: translate3d(0, 10px, 0) scale(0.99);
}

.motion-ready .motion-reveal[data-motion="soft-left"].is-visible,
.motion-ready .motion-reveal[data-motion="soft-right"].is-visible,
.motion-ready .motion-reveal[data-motion="soft-scale"].is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

@keyframes svjohn-page-enter {
  from {
    opacity: 0.92;
    transform: translate3d(0, 10px, 0) scale(0.995);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes svjohn-hero-light {
  from {
    opacity: 0.72;
  }

  to {
    opacity: 1;
  }
}

svj-kicker {
  display: inline-flex;
  margin: 0 0 1rem;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

[data-svj-hero="home"] {
  position: relative;
  min-height: 575px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.84) 36%, rgba(255, 255, 255, 0.42) 62%, rgba(255, 255, 255, 0.9) 100%),
    var(--header-image) center / cover no-repeat;
}

[data-svj-hero="home"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 9% 55%, rgba(151, 193, 31, 0.22), transparent 30%), linear-gradient(180deg, transparent 64%, var(--paper) 100%);
  pointer-events: none;
}

svj-hero-layout {
  position: relative;
  z-index: 1;
  padding: clamp(3.4rem, 7vw, 5.8rem) 0 clamp(6rem, 10vw, 8rem);
}

svj-hero-copy {
  max-width: 700px;
}

svj-hero-copy h1 {
  margin: 0 0 1.2rem;
  color: var(--ink);
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

svj-hero-copy p:not(svj-kicker) {
  max-width: 600px;
  font-size: 1.12rem;
  line-height: 1.55;
}

[data-svj-section="promise"] {
  position: relative;
  z-index: 5;
  margin-top: -90px;
}

svj-promise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

svj-promise-list article {
  min-height: 170px;
  padding: 1.65rem;
  background: rgba(255, 255, 255, 0.88);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

svj-promise-list article:nth-child(2) {
  background: rgba(243, 245, 246, 0.94);
}

svj-promise-list article:last-child {
  border-right: 0;
}

svj-promise-list h2,
svj-service-list > article h3,
svj-step-list h3,
svj-scenario-list h3 {
  margin: 0 0 0.65rem;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.18;
}

[data-svj-section] {
  padding: clamp(4.5rem, 8vw, 7.4rem) 0;
}

[data-svj-section="about"],
[data-svj-section="faq"],
[data-svj-section="page-body"] {
  background: var(--paper);
}

svj-section-heading {
  display: grid;
  grid-template-columns: 0.32fr minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

svj-section-heading h2,
svj-section-heading h2,
svj-why-copy h2,
svj-section-heading h2,
svj-cta-card h2,
svj-faq-layout h2,
[data-svj-hero="page"] h1,
[data-svj-hero="service"] h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

[data-svj-section="solutions"],
[data-svj-section="process"],
[data-svj-section="scenarios"],
[data-svj-section="news"],
[data-svj-page="inner"],
[data-svj-page="service-archive"] {
  background: var(--soft);
}

svj-section-heading,
svj-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

svj-section-heading {
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
  align-items: start;
  gap: 0.5rem;
}

svj-section-heading svj-kicker,
svj-section-heading svj-kicker,
svj-faq-layout svj-kicker,
svj-cta-card svj-kicker,
[data-svj-hero="page"] svj-kicker,
[data-svj-hero="service"] svj-kicker {
  margin-bottom: 0.45rem;
}

svj-services-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

[data-svj-service-media] {
  position: sticky;
  top: 140px;
  margin: 0;
  min-height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

[data-svj-service-media] img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  filter: grayscale(1);
}

svj-service-list,
svj-service-list[data-svj-layout="archive"] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

svj-service-list > article a {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: 1rem;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  color: var(--body);
  box-shadow: 0 14px 34px rgba(19, 30, 38, 0.06);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 320ms var(--motion-ease);
}

svj-service-list > article img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 20px;
  filter: grayscale(1);
  transform: scale(1);
  transform-origin: center;
  transition:
    filter 360ms ease,
    transform 560ms var(--motion-ease);
  will-change: transform;
}

svj-service-list > article a:hover,
svj-service-list > article a:focus-visible {
  border-color: rgba(111, 146, 18, 0.24);
  box-shadow: 0 22px 48px rgba(19, 30, 38, 0.11);
  transform: translateY(-3px);
}

svj-service-list > article a:active {
  box-shadow: 0 16px 34px rgba(19, 30, 38, 0.09);
  transform: translateY(-1px);
}

svj-service-list > article a:hover img,
svj-service-list > article a:focus-visible img {
  filter: grayscale(0.35) saturate(1.04) contrast(1.03);
  transform: scale(1.045);
}

svj-service-list > article a:focus-visible {
  outline: 3px solid rgba(151, 193, 31, 0.34);
  outline-offset: 4px;
}

svj-service-number {
  position: absolute;
  right: 1.35rem;
  top: 1.35rem;
  z-index: 2;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--green);
  color: var(--ink);
  border-radius: 50%;
  font-weight: 700;
}

svj-service-list > article strong,
[data-svj-link="read"],
svj-scenario-list a {
  color: var(--green-dark);
  font-weight: 700;
}

[data-svj-section="why"] {
  background: linear-gradient(180deg, var(--paper), var(--soft));
}

svj-why-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

svj-stat-card {
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.94)),
    url("assets/images/schadensregulierung.jpg") center / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

svj-stat-card span {
  color: var(--green-dark);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
}

svj-stat-card strong {
  max-width: 360px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.05;
}

svj-reason-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

svj-reason-list article,
svj-step-list article,
svj-scenario-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1rem;
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
}

svj-reason-list span,
svj-step-list span {
  grid-row: span 2;
  color: var(--green-dark);
  font-weight: 700;
}

svj-reason-list strong {
  color: var(--ink);
  font-size: 1.1rem;
}

svj-reason-list p,
svj-step-list p,
svj-scenario-list p {
  grid-column: 2;
  margin: 0;
}

svj-step-list,
svj-scenario-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

svj-news-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

svj-news-list > article {
  display: grid;
  gap: 0.85rem;
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 1.7rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(19, 30, 38, 0.06);
}

svj-news-list > article time {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

[data-svj-news-meta] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin-top: 0;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

svj-news-list > article h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.18;
}

svj-news-list > article h3 a {
  color: inherit;
}

svj-news-list > article p {
  margin: 0;
}

[data-svj-section="news-archive"] {
  padding-top: clamp(3rem, 6vw, 5rem);
}

svj-news-list[data-svj-layout="archive"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

[data-svj-pagination] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

[data-svj-pagination] .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}

[data-svj-pagination] .current {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink);
}

[data-svj-panel="news-empty"] {
  max-width: 760px;
}

[data-svj-panel="news-empty"] h2 {
  margin-top: 0;
}

[data-svj-section="editorial"] {
  background: var(--paper);
}

svj-content-layout,
svj-content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

svj-content-layout[data-svj-content-layout="contact-first"] {
  grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
}

svj-content-layout[data-svj-content-layout="content-first"] {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
}

[data-svj-contact-card] {
  position: sticky;
  top: 140px;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

[data-svj-contact-card] h2,
[data-svj-contact-card] p,
[data-svj-contact-card] a,
[data-svj-contact-card] li {
  color: var(--ink);
}

[data-svj-contact-card] ul {
  display: grid;
  gap: 0.4rem;
  margin: 1rem 0 1.4rem;
  list-style: none;
}

[data-svj-contact-card] [data-svj-contact-phone] {
  margin: 1.15rem 0 1.35rem;
}

[data-svj-contact-card] [data-svj-contact-phone] a {
  display: inline-flex;
  color: var(--green-dark);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.2;
}

[data-svj-contact-card] svj-kicker,
[data-svj-contact-card] svj-kicker + h2 {
  color: var(--ink);
}

svj-editorial-content,
[data-svj-content-panel] {
  color: var(--body);
}

[data-svj-content-panel],
svj-editorial-content {
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(19, 30, 38, 0.07);
}

svj-editorial-content h1,
svj-editorial-content h2,
svj-editorial-content h3 {
  margin: 2rem 0 0.8rem;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.2;
}

svj-editorial-content h2 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
}

svj-editorial-content h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

svj-editorial-content > *:first-child {
  margin-top: 0;
}

svj-editorial-content ul,
svj-editorial-content ol {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

svj-editorial-content a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

svj-scenario-list article {
  display: block;
  padding: 1.55rem;
}

svj-scenario-list span {
  display: inline-flex;
  margin-bottom: 1.4rem;
  padding: 0.35rem 0.7rem;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: 999px;
  font-weight: 700;
}

/* 0.1.30: calm oversized icons for short card copy. */
svj-promise-list article,
svj-step-list article,
svj-scenario-list article {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

svj-promise-list article::before,
svj-step-list article::before,
svj-scenario-list article::before {
  --card-icon: var(--icon-document);
  content: "";
  position: absolute;
  top: 1.15rem;
  right: 1.25rem;
  z-index: 0;
  width: clamp(3rem, 4.8vw, 4.65rem);
  height: clamp(3rem, 4.8vw, 4.65rem);
  background: rgba(37, 37, 37, 0.16);
  pointer-events: none;
  transform: rotate(-4deg);
  transition: opacity 220ms ease, transform 260ms var(--motion-ease);
  -webkit-mask: var(--card-icon) center / contain no-repeat;
  mask: var(--card-icon) center / contain no-repeat;
}

svj-promise-list article:hover::before,
svj-step-list article:hover::before,
svj-scenario-list article:hover::before {
  opacity: 0.92;
  transform: rotate(0deg) scale(1.03);
}

svj-promise-list article:nth-child(1)::before {
  --card-icon: var(--icon-shield);
}

svj-promise-list article:nth-child(2)::before {
  --card-icon: var(--icon-pin);
}

svj-promise-list article:nth-child(3)::before {
  --card-icon: var(--icon-document);
}

svj-step-list article:nth-child(1)::before {
  --card-icon: var(--icon-phone);
}

svj-step-list article:nth-child(2)::before {
  --card-icon: var(--icon-car);
}

svj-step-list article:nth-child(3)::before {
  --card-icon: var(--icon-document);
}

svj-scenario-list article:nth-child(1)::before {
  --card-icon: var(--icon-accident);
}

svj-scenario-list article:nth-child(2)::before {
  --card-icon: var(--icon-value);
}

svj-scenario-list article:nth-child(3)::before {
  --card-icon: var(--icon-wrench);
}

svj-promise-list article > *,
svj-step-list article > *,
svj-scenario-list article > * {
  position: relative;
  z-index: 1;
}

svj-promise-list article,
svj-step-list article {
  padding-right: clamp(4.7rem, 7vw, 6.4rem);
}

svj-scenario-list article {
  padding-right: clamp(4.8rem, 7vw, 6rem);
}

[data-svj-section="cta"] {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.94)),
    var(--footer-image) center / cover fixed no-repeat;
  border-block: 1px solid var(--line);
}

svj-cta-card {
  max-width: 720px;
  margin-left: max(1rem, calc((100vw - var(--container)) / 2));
  margin-right: auto;
  padding: clamp(1.8rem, 5vw, 3rem);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(223, 229, 232, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

svj-faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

svj-faq-list {
  display: grid;
  gap: 0.75rem;
}

svj-faq-list details {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

svj-faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

svj-faq-list summary::-webkit-details-marker {
  display: none;
}

svj-faq-list summary::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.62;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms var(--motion-ease), opacity 180ms ease;
}

svj-faq-list details[open] summary::after {
  opacity: 1;
  transform: rotate(225deg) translate(-2px, -2px);
}

svj-faq-list details svj-detail-panel {
  padding: 0 1.25rem 1.1rem;
}

svj-faq-list details[open] svj-detail-panel {
  animation: svjohn-faq-open 220ms var(--motion-ease) both;
}

@keyframes svjohn-faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-svj-hero="page"],
[data-svj-hero="service"] {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72)),
    var(--header-image) center / cover no-repeat;
}

svj-hero-layout,
svj-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 6.4rem) 0;
}

[data-svj-hero="page"] p,
[data-svj-hero="service"] p {
  max-width: 660px;
}

svj-hero-aside {
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.86);
  border-left: 6px solid var(--green);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

svj-hero-aside strong,
svj-hero-aside span {
  display: block;
}

svj-hero-aside strong {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.15;
}

svj-hero-aside span {
  margin-top: 0.45rem;
  color: var(--body);
}

[data-svj-content-image] {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border-radius: 22px;
}

[data-svj-content-image] img,
[data-svj-hero="service"] figure img {
  width: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

[data-svj-hero="service"] figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

[data-svj-hero="service"] figure img {
  height: 420px;
}

[data-svj-panel="legal"] {
  grid-column: 1 / -1;
  max-width: 900px;
  margin-inline: auto;
}

[data-svj-contact-form-panel] {
  margin-top: clamp(1.6rem, 3vw, 2.15rem);
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  background:
    radial-gradient(circle at 8% 0%, rgba(151, 193, 31, 0.14), transparent 34%),
    var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
}

[data-svj-contact-form-panel] h2 {
  margin-top: 0;
  margin-bottom: 1rem;
}

[data-svj-page="unfallgutachten-microsite"] {
  background: #f7f9f2;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section] {
  padding: clamp(2.4rem, 5.2vw, 4.8rem) 0;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-hero"] {
  padding: clamp(3rem, 5.5vw, 5rem) 0 clamp(2.3rem, 4.8vw, 4.2rem);
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-page-hero"] {
  padding: clamp(2.8rem, 4.8vw, 4.4rem) 0 clamp(1.45rem, 3vw, 2.6rem);
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-nav"] {
  padding: clamp(1.4rem, 3vw, 2.5rem) 0 clamp(2.1rem, 4vw, 3.5rem);
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-process"],
[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-contact"],
[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-faq"] {
  padding-top: clamp(2rem, 4.5vw, 3.8rem);
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-final-cta"] {
  padding-top: clamp(2rem, 4vw, 3.8rem);
}

svj-micro-hero,
svj-micro-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(1.25rem, 4vw, 3rem);
}

svj-micro-hero {
  align-items: center;
}

svj-micro-contact-grid {
  align-items: start;
}

svj-micro-hero-copy,
svj-micro-page-heading,
svj-micro-contact-panel,
svj-micro-form-panel {
  display: block;
}

svj-micro-hero h1,
svj-micro-page-heading h1 {
  margin: 0.2rem 0 1rem;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}

svj-micro-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 4.5vw, 5.1rem);
  line-height: 1;
}

svj-micro-page-heading h1 {
  max-width: min(18ch, 100%);
  font-size: clamp(2rem, 3.05vw, 2.85rem);
  line-height: 1.08;
}

svj-micro-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.25vw, 1.16rem);
  line-height: 1.65;
}

svj-micro-page-heading p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.65;
}

svj-micro-hero figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(19, 30, 38, 0.12);
}

svj-micro-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

svj-micro-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

[svj-micro-nav-card] {
  display: grid;
  gap: 0.5rem;
  min-height: 142px;
  padding: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(19, 30, 38, 0.08);
}

[svj-micro-nav-card] strong {
  font-size: 1.1rem;
}

[svj-micro-nav-card] span {
  color: var(--muted);
  line-height: 1.55;
}

svj-micro-page-heading {
  max-width: 900px;
}

svj-micro-contact-panel,
svj-micro-form-panel {
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(19, 30, 38, 0.08);
}

svj-micro-contact-panel h2,
svj-micro-form-panel h2 {
  margin-top: 0;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-contact"] svj-micro-contact-grid {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
  max-width: 860px;
  margin-inline: auto;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-contact"] svj-micro-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: center;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-contact"] svj-micro-contact-panel h2,
[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-contact"] svj-micro-contact-panel p {
  margin: 0;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-contact"] [data-svj-contact-phone] a {
  display: inline-flex;
  color: var(--green-dark);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
}

svj-micro-form-panel .wpcf7 form {
  margin: 0;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-process"] {
  padding-top: clamp(1.4rem, 3vw, 2.8rem);
}

svj-micro-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(320px, 0.34fr);
  gap: clamp(1.25rem, 3vw, 2.4rem);
  align-items: start;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-process"] svj-step-list {
  grid-template-columns: 1fr;
  gap: clamp(0.8rem, 1.8vw, 1rem);
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-process"] svj-step-list article {
  min-height: 0;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-process"] svj-micro-process-layout svj-micro-contact-panel {
  position: sticky;
  top: clamp(6rem, 10vw, 8rem);
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-process"] svj-step-list + svj-micro-contact-panel {
  margin-top: 0;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-main-site"] {
  padding: 0 0 clamp(1.7rem, 4vw, 3rem);
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-legal"] {
  padding: clamp(3rem, 5vw, 4.8rem) 0 clamp(2.5rem, 5vw, 4.5rem);
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-panel="legal"] {
  max-width: 920px;
  margin-inline: auto;
}

[data-svj-page="unfallgutachten-microsite"] [data-svj-panel="legal"] h1 {
  margin: 0.3rem 0 1.2rem;
  font-size: clamp(2rem, 3.05vw, 2.85rem);
  line-height: 1.08;
}

[data-svj-editable-layout]:has(> .wpcf7) {
  background: var(--soft);
  display: flow-root;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

[data-svj-editable-layout] > .wp-block-heading:has(+ .wpcf7) {
  width: min(860px, calc(100% - 2rem));
  margin: clamp(2.25rem, 5vw, 4rem) auto 1rem;
}

[data-svj-editable-layout] > .wpcf7 {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(1.1rem, 2.4vw, 1.65rem);
  background:
    radial-gradient(circle at 8% 0%, rgba(151, 193, 31, 0.14), transparent 34%),
    var(--soft);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(19, 30, 38, 0.07);
}

[data-svj-editable-layout] > .wpcf7 form {
  margin: 0;
}

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

.wpcf7 label {
  display: grid;
  gap: 0.38rem;
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.wpcf7 label > span:first-child {
  color: var(--ink-soft);
  font-size: 0.84rem;
  letter-spacing: 0.035em;
}

.wpcf7 .full,
.contact-form-actions {
  grid-column: 1 / -1;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  min-height: 46px;
  padding: 0.72rem 0.88rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(19, 30, 38, 0.04);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.wpcf7 textarea {
  min-height: 132px;
  resize: vertical;
}

.wpcf7 select {
  appearance: none;
  padding-right: 2.6rem;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--green-dark) 50%),
    linear-gradient(135deg, var(--green-dark) 50%, transparent 50%);
  background-position:
    calc(100% - 1.18rem) 50%,
    calc(100% - 0.88rem) 50%;
  background-size: 0.34rem 0.34rem, 0.34rem 0.34rem;
  background-repeat: no-repeat;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: rgba(111, 146, 18, 0.75);
  box-shadow: 0 0 0 4px rgba(151, 193, 31, 0.16), 0 12px 24px rgba(19, 30, 38, 0.06);
}

.wpcf7 input:hover,
.wpcf7 textarea:hover,
.wpcf7 select:hover {
  border-color: rgba(111, 146, 18, 0.42);
}

.contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  margin-top: 0.15rem;
}

.contact-form-privacy {
  grid-column: 1 / -1;
  margin-top: 0.15rem;
  padding: 0.78rem 0.9rem;
  background: rgba(247, 249, 242, 0.74);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-form-privacy .wpcf7-form-control-wrap,
.contact-form-privacy .wpcf7-acceptance,
.contact-form-privacy .wpcf7-list-item {
  display: block;
}

.contact-form-privacy .wpcf7-list-item {
  margin: 0;
}

.contact-form-privacy .wpcf7-list-item label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-form-privacy input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  min-height: 0;
  margin: 0.18rem 0 0;
  padding: 0;
  border-radius: 4px;
  box-shadow: none;
  accent-color: var(--green-dark);
}

.contact-form-privacy a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.wpcf7 input.wpcf7-submit,
.wpcf7-submit {
  width: auto;
  min-height: 50px;
  padding: 0.82rem 1.35rem;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 18px 32px rgba(111, 146, 18, 0.18);
}

.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:focus,
.wpcf7-submit:hover,
.wpcf7-submit:focus {
  background: var(--green-dark);
  color: var(--paper);
}

.wpcf7-spinner {
  margin: 0;
}

.wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  color: #9f2a1f;
  font-size: 0.82rem;
}

.wpcf7-response-output {
  margin: 1rem 0 0 !important;
  padding: 0.8rem 1rem !important;
  border-radius: 16px;
}

[data-svj-site-footer] {
  background: linear-gradient(180deg, var(--soft), var(--paper));
  border-top: 1px solid var(--line);
}

svj-footer-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(160px, 0.75fr));
  gap: clamp(1.6rem, 4vw, 3rem);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

svj-footer-brand > img {
  width: 90px;
  margin-bottom: 1.2rem;
}

[data-svj-footer-classic-logo] img {
  width: 160px;
  margin-top: 1.4rem;
}

[data-svj-site-footer] h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.1rem;
}

[data-svj-site-footer] ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

[data-svj-site-footer] a {
  color: var(--body);
}

[data-svj-site-footer] a:hover {
  color: var(--green-dark);
}

svj-footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: 0.94rem;
}

svj-legal-links {
  display: inline-flex;
  gap: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .motion-ready .motion-reveal {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }

  svj-service-list > article a:hover,
  svj-service-list > article a:focus-visible,
  svj-service-list > article a:hover img,
  svj-service-list > article a:focus-visible img {
    transform: none !important;
  }

  .motion-booting svj-topbar,
  .motion-booting [data-svj-site-header],
  .motion-booting [data-svj-hero="home"],
  .motion-booting [data-svj-hero="page"],
  .motion-booting [data-svj-hero="service"] {
    opacity: 1 !important;
    transform: none !important;
  }

  .motion-loaded [data-svj-hero="home"],
  .motion-loaded [data-svj-hero="page"],
  .motion-loaded [data-svj-hero="service"],
  .motion-loaded [data-svj-hero="home"]::before,
  svj-faq-list details[open] svj-detail-panel {
    animation: none !important;
  }

  [data-svj-section="cta"] {
    background-attachment: scroll;
  }
}

@media (max-width: 1060px) {
  svj-header-layout {
    grid-template-columns: auto 1fr;
  }

  [data-svj-header-call] {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  [data-svj-primary-navigation] ul {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
  }

  svj-services-layout,
  svj-why-layout,
  svj-content-layout,
  svj-content-layout[data-svj-content-layout],
  svj-faq-layout,
  svj-hero-layout,
  svj-hero-layout {
    grid-template-columns: 1fr;
  }

  [data-svj-service-media],
  [data-svj-contact-card] {
    position: relative;
    top: auto;
  }

  svj-footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  svj-topbar-layout,
  svj-footer-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  svj-footer-meta {
    align-items: center;
    text-align: center;
  }

  svj-footer-meta > span,
  svj-footer-meta svj-legal-links {
    width: 100%;
  }

  svj-footer-meta svj-legal-links {
    justify-content: center;
  }

  svj-header-layout {
    min-height: auto;
    padding: 1rem 0;
  }

  svj-brand img {
    width: 70px;
  }

  [data-svj-primary-navigation] {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
  }

  [data-svj-primary-navigation] ul {
    justify-content: flex-start;
    gap: 0.3rem 1rem;
  }

  [data-svj-primary-navigation] a {
    min-height: 34px;
    font-size: 14px;
  }

  [data-svj-primary-navigation] li > ul {
    position: static;
    display: none !important;
    width: 100%;
    min-width: 0;
    margin: 0.35rem 0 0.5rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  [data-svj-primary-navigation] li:hover > ul,
  [data-svj-primary-navigation] li:focus-within > ul {
    display: grid !important;
  }

  [data-svj-hero="home"] {
    min-height: 560px;
  }

  svj-hero-layout {
    padding: 3.5rem 0 7rem;
  }

  svj-hero-copy h1 {
    font-size: clamp(2.45rem, 14vw, 3.45rem);
  }

  svj-promise-list,
  svj-step-list,
  svj-scenario-list,
  svj-news-list,
  svj-service-list,
  svj-service-list[data-svj-layout="archive"],
  svj-section-heading,
  svj-section-heading,
  svj-section-heading,
  svj-footer-layout {
    grid-template-columns: 1fr;
  }

  svj-promise-list article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  svj-promise-list article:last-child {
    border-bottom: 0;
  }

  [data-svj-section] {
    padding: 3.4rem 0;
  }

  svj-section-heading h2,
  svj-section-heading h2,
  svj-why-copy h2,
  svj-section-heading h2,
  svj-cta-card h2,
  svj-faq-layout h2,
  [data-svj-hero="page"] h1,
  [data-svj-hero="service"] h1 {
    font-size: clamp(1.85rem, 10vw, 2.4rem);
  }

  [data-svj-section="cta"] {
    background-attachment: scroll;
  }

  svj-cta-card {
    margin-inline: auto;
  }

  [data-svj-hero="service"] figure img,
  [data-svj-service-media] img {
    height: 300px;
  }
}

/* 0.1.3: navigation, icon CTAs, spacing and content-surface refinements. */
:root {
  --icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.2 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.6.6 4 .6.7 0 1.2.5 1.2 1.2v3.5c0 .7-.5 1.2-1.2 1.2C10.9 21.4 2.6 13.1 2.6 3.4c0-.7.5-1.2 1.2-1.2h3.5c.7 0 1.2.5 1.2 1.2 0 1.4.2 2.7.6 4 .1.4 0 .8-.3 1.2l-2.2 2.2Z'/%3E%3C/svg%3E");
  --icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm9 8.1L5.4 7H4v.6l8 7.4 8-7.4V7h-1.4L12 13.1Z'/%3E%3C/svg%3E");
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.5 5.5 20 12l-6.5 6.5-1.4-1.4 4.1-4.1H4v-2h12.2l-4.1-4.1 1.4-1.4Z'/%3E%3C/svg%3E");
  --icon-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 4.5 5.2v5.7c0 4.8 3.1 9.2 7.5 10.8 4.4-1.6 7.5-6 7.5-10.8V5.2L12 2Zm3.8 7.6-4.5 4.8-2.5-2.5 1.3-1.3 1.2 1.2 3.2-3.5 1.3 1.3Z'/%3E%3C/svg%3E");
  --icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2.5a7 7 0 0 0-7 7c0 5.2 7 12 7 12s7-6.8 7-12a7 7 0 0 0-7-7Zm0 9.5a2.6 2.6 0 1 1 0-5.2 2.6 2.6 0 0 1 0 5.2Z'/%3E%3C/svg%3E");
  --icon-document: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2.8h8.3L19 7.5v13.7H6V2.8Zm7.4 1.8v4h4l-4-4ZM8.5 11h7v1.8h-7V11Zm0 3.4h7v1.8h-7v-1.8Zm0 3.4h5v1.8h-5v-1.8Z'/%3E%3C/svg%3E");
  --icon-car: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.7 5h10.6l2 5.2 2 1.6v5.7h-2.1v1.8h-2.4v-1.8H7.2v1.8H4.8v-1.8H2.7v-5.7l2-1.6L6.7 5Zm1.4 2-1.2 3.2h10.2L15.9 7H8.1Zm-1.7 8.1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm11.2 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z'/%3E%3C/svg%3E");
  --icon-accident: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m7.1 6.4 2.2 2.2 2.2-1.4.9 2.5 2.8-.2-1.3 2.5 1.8 2.1-2.8.5-.6 2.7-2-1.9-2.6 1 0-2.8-2.4-1.4 2.4-1.4-.6-3Zm-3.6 7.9h3.2v2.8h2.1v1.9H3.5v-4.7Zm15.8-.1h1.2v4.8h-5.2v-1.9h2.1v-2.5l1.9-.4ZM4.8 9.5h1.6l.4 1.8H3.2l1.6-1.8Zm12.8 0h1.6l1.6 1.8h-3.6l.4-1.8Z'/%3E%3C/svg%3E");
  --icon-value: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16v16H4V4Zm2 2v12h12V6H6Zm2 8.3h8v1.8H8v-1.8Zm0-3.2h8v1.8H8v-1.8Zm0-3.2h5v1.8H8V7.9Zm7.2 0h1.7v1.8h-1.7V7.9Z'/%3E%3C/svg%3E");
  --icon-wrench: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.7 6.9a5.7 5.7 0 0 1-7 6.8l-6.6 6.6a2.2 2.2 0 0 1-3.1-3.1l6.6-6.6a5.7 5.7 0 0 1 6.8-7l-3.2 3.2 3 3 3.5-2.9ZM5.6 19.1a.7.7 0 1 0 0-1.4.7.7 0 0 0 0 1.4Z'/%3E%3C/svg%3E");
}

svj-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-svj-nav-toggle] {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  background: var(--green);
  border: 1px solid rgba(37, 37, 37, 0.12);
  border-radius: 50%;
  box-shadow: 0 14px 28px rgba(151, 193, 31, 0.22);
  cursor: pointer;
}

[data-svj-nav-toggle] span:not(svj-visually-hidden) {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

[data-svj-site-header].nav-open [data-svj-nav-toggle] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

[data-svj-site-header].nav-open [data-svj-nav-toggle] span:nth-child(2) {
  opacity: 0;
}

[data-svj-site-header].nav-open [data-svj-nav-toggle] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

[data-svj-header-call]::before,
[data-svj-button]::before,
[data-svj-footer-call]::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform 180ms var(--motion-ease), opacity 180ms ease;
}

[data-svj-header-call]:hover::before,
[data-svj-header-call]:focus-visible::before,
[data-svj-button]:hover::before,
[data-svj-button]:focus-visible::before,
[data-svj-footer-call]:hover::before,
[data-svj-footer-call]:focus-visible::before {
  transform: translateX(2px);
}

[data-svj-icon="phone"]:hover::before,
[data-svj-icon="phone"]:focus-visible::before,
[data-svj-header-call][href^="tel:"]:hover::before,
[data-svj-header-call][href^="tel:"]:focus-visible::before,
[data-svj-button][href^="tel:"]:hover::before,
[data-svj-button][href^="tel:"]:focus-visible::before,
[data-svj-footer-call][href^="tel:"]:hover::before,
[data-svj-footer-call][href^="tel:"]:focus-visible::before {
  transform: rotate(-7deg) scale(1.04);
}

[data-svj-icon="phone"]::before,
[data-svj-header-call][href^="tel:"]::before,
[data-svj-button][href^="tel:"]::before,
[data-svj-footer-call][href^="tel:"]::before {
  -webkit-mask-image: var(--icon-phone);
  mask-image: var(--icon-phone);
}

[data-svj-icon="mail"]::before,
[data-svj-button][href^="mailto:"]::before,
[data-svj-footer-call][href^="mailto:"]::before {
  -webkit-mask-image: var(--icon-mail);
  mask-image: var(--icon-mail);
}

[data-svj-link="read"],
svj-scenario-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

[data-svj-link="read"]::after,
svj-scenario-list a::after {
  content: "";
  width: 0.95em;
  height: 0.95em;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform 180ms var(--motion-ease);
}

[data-svj-link="read"]:hover::after,
[data-svj-link="read"]:focus-visible::after,
svj-scenario-list a:hover::after,
svj-scenario-list a:focus-visible::after {
  transform: translateX(3px);
}

[data-svj-header-call] {
  border-color: rgba(151, 193, 31, 0.68);
}

svj-hero-copy h1 {
  font-size: clamp(2.7rem, 5.8vw, 5.35rem);
  line-height: 1;
}

svj-section-heading h2,
svj-section-heading h2,
svj-why-copy h2,
svj-section-heading h2,
svj-cta-card h2,
svj-faq-layout h2,
[data-svj-hero="page"] h1,
[data-svj-hero="service"] h1 {
  font-size: clamp(1.9rem, 3.8vw, 3.25rem);
  line-height: 1.04;
}

[data-svj-section] {
  padding: clamp(3.7rem, 6.4vw, 6rem) 0;
}

svj-section-heading,
svj-section-heading,
svj-faq-layout {
  align-items: start;
}

[data-svj-content-panel],
svj-editorial-content {
  padding: clamp(1.4rem, 3vw, 2.35rem);
}

[data-svj-content-panel] svj-editorial-content {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

svj-editorial-content p + h2,
svj-editorial-content ul + h2,
svj-editorial-content ol + h2 {
  margin-top: 2.35rem;
}

svj-editorial-content details {
  margin: 0 0 0.85rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}

svj-editorial-content summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  color: var(--ink);
  font-weight: 700;
}

svj-editorial-content details > div {
  padding: 0 1.15rem 1.1rem;
}

[data-svj-section="cta"] {
  min-height: 500px;
}

svj-cta-card {
  background: rgba(255, 255, 255, 0.88);
}

@media (min-width: 1061px) {
  svj-content-layout[data-svj-content-layout="contact-first"] {
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
  }

  svj-content-layout[data-svj-content-layout="content-first"] {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  }

  svj-section-heading {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  }

  svj-section-heading > svj-kicker {
    grid-column: 1 / -1;
    margin-bottom: -0.2rem;
  }
}

@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  svj-topbar-layout span {
    display: none;
  }

  svj-header-layout {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: auto;
    padding: 0.85rem 0;
  }

  svj-brand img {
    width: 72px;
  }

  [data-svj-nav-toggle] {
    display: inline-flex;
    justify-self: end;
  }

  [data-svj-primary-navigation] {
    display: none;
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    padding: 0.55rem 0 0.1rem;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] {
    display: block;
  }

  [data-svj-primary-navigation] ul {
    display: grid;
    justify-content: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  [data-svj-primary-navigation] a {
    width: 100%;
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 15px;
    font-size: 14px;
  }

  [data-svj-primary-navigation] > div > ul > li > a::after,
  [data-svj-primary-navigation] > ul > li > a::after {
    display: none;
  }

  [data-svj-primary-navigation] li:has(> ul) > a::before {
    margin-left: auto;
  }

  [data-svj-primary-navigation] li > ul {
    position: static;
    display: grid !important;
    width: 100%;
    min-width: 0;
    margin: 0.25rem 0 0.55rem;
    padding: 0.45rem;
    background: var(--soft);
    border-radius: 18px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  [data-svj-primary-navigation] li > ul a {
    min-height: 38px;
    background: var(--paper);
  }

  [data-svj-header-call] {
    grid-column: 1 / -1;
    order: 4;
    justify-self: stretch;
    min-height: 46px;
  }

  [data-svj-hero="home"] {
    min-height: 520px;
  }

  svj-hero-layout {
    padding: 3rem 0 6.5rem;
  }
}

@media (max-width: 760px) {
  svj-section-heading h2,
  svj-section-heading h2,
  svj-why-copy h2,
  svj-section-heading h2,
  svj-cta-card h2,
  svj-faq-layout h2,
  [data-svj-hero="page"] h1,
  [data-svj-hero="service"] h1 {
    font-size: clamp(1.75rem, 8.6vw, 2.25rem);
  }

  [data-svj-content-panel],
  svj-editorial-content,
  [data-svj-contact-card],
  svj-cta-card {
    border-radius: 22px;
  }

  svj-action-list [data-svj-button] {
    width: 100%;
  }
}

/* 0.1.3 visual QA pass. */
[data-svj-section="cta"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.68) 48%, rgba(255, 255, 255, 0.38) 100%),
    var(--footer-image) center / cover fixed no-repeat;
}

@media (max-width: 760px) {
  [data-svj-service-media] {
    min-height: auto;
  }

  svj-stat-card {
    min-height: 360px;
    padding: 1.25rem;
  }

  svj-stat-card span {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  svj-stat-card strong {
    max-width: 100%;
    font-size: clamp(1.2rem, 5.8vw, 1.55rem);
    line-height: 1.05;
  }
}

/* 0.1.4: Axemobile-inspired off-canvas nav, calmer heading scale and legacy galleries. */
svj-topbar {
  background: rgba(243, 245, 246, 0.94);
}

svj-topbar-layout {
  justify-content: flex-start;
}

svj-topbar-layout span {
  margin-left: auto;
}

svj-topbar-layout a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

svj-topbar-layout a::before,
[data-svj-icon="phone"]:not([data-svj-button]):not([data-svj-header-call]):not([data-svj-footer-call])::before,
[data-svj-icon="mail"]:not([data-svj-button]):not([data-svj-header-call]):not([data-svj-footer-call])::before {
  content: "";
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
}

svj-topbar-layout a[data-svj-icon="phone"]::before,
[data-svj-icon="phone"]:not([data-svj-button]):not([data-svj-header-call]):not([data-svj-footer-call])::before {
  -webkit-mask-image: var(--icon-phone);
  mask-image: var(--icon-phone);
}

svj-topbar-layout a[data-svj-icon="mail"]::before,
[data-svj-icon="mail"]:not([data-svj-button]):not([data-svj-header-call]):not([data-svj-footer-call])::before {
  -webkit-mask-image: var(--icon-mail);
  mask-image: var(--icon-mail);
}

[data-svj-hero="home"] {
  min-height: 535px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 37%, rgba(255, 255, 255, 0.24) 67%, rgba(255, 255, 255, 0.72) 100%),
    var(--header-image) center / cover no-repeat;
}

[data-svj-hero="home"]::before {
  background: radial-gradient(circle at 8% 55%, rgba(151, 193, 31, 0.2), transparent 29%), linear-gradient(180deg, transparent 68%, var(--paper) 100%);
}

[data-svj-hero="page"],
[data-svj-hero="service"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.42)),
    var(--header-image) center / cover no-repeat;
}

svj-hero-copy h1 {
  font-size: clamp(2.35rem, 4.7vw, 4.55rem);
  letter-spacing: -0.048em;
}

svj-section-heading h2,
svj-section-heading h2,
svj-why-copy h2,
svj-section-heading h2,
svj-cta-card h2,
svj-faq-layout h2,
[data-svj-hero="page"] h1,
[data-svj-hero="service"] h1 {
  font-size: clamp(1.75rem, 3.05vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.038em;
}

svj-section-heading {
  grid-template-columns: minmax(0, 760px);
  justify-content: start;
  align-items: start;
}

svj-step-list article {
  padding: clamp(1.05rem, 2.4vw, 1.55rem);
}

svj-stat-card strong {
  max-width: 100%;
  font-size: clamp(1.25rem, 2.3vw, 1.85rem);
  line-height: 1.03;
}

[data-svj-section="cta"] {
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.58) 46%, rgba(255, 255, 255, 0.24) 100%),
    var(--footer-image) center / cover fixed no-repeat;
}

svj-cta-card {
  width: min(var(--container), calc(100% - 2rem));
  max-width: none;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.9);
}

svj-cta-card > p:not(svj-kicker),
svj-cta-card svj-action-list {
  max-width: 760px;
}

[data-svj-site-footer] {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(243, 245, 246, 0.9), rgba(255, 255, 255, 0.86)),
    var(--footer-image) center bottom / cover no-repeat;
}

[data-svj-site-footer]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 10%, rgba(151, 193, 31, 0.1), transparent 28%);
  pointer-events: none;
}

[data-svj-site-footer] > svj-container {
  position: relative;
  z-index: 1;
}

.wp-block-gallery.svjohn-legacy-gallery,
svj-editorial-content .svjohn-legacy-gallery {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem !important;
  margin: 1.6rem 0 0 !important;
  padding: 0;
}

.wp-block-gallery.svjohn-legacy-gallery .wp-block-image,
svj-editorial-content .svjohn-legacy-gallery .wp-block-image {
  position: relative;
  min-height: 180px;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(19, 30, 38, 0.11);
}

.wp-block-gallery.svjohn-legacy-gallery .wp-block-image:first-child,
svj-editorial-content .svjohn-legacy-gallery .wp-block-image:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.wp-block-gallery.svjohn-legacy-gallery img,
svj-editorial-content .svjohn-legacy-gallery img {
  width: 100%;
  height: 100% !important;
  min-height: 180px;
  object-fit: cover;
  filter: grayscale(0.25);
  transition: filter 180ms ease, transform 180ms ease;
}

.wp-block-gallery.svjohn-legacy-gallery a:hover img,
svj-editorial-content .svjohn-legacy-gallery a:hover img {
  filter: grayscale(0);
  transform: scale(1.035);
}

@media (max-width: 900px) {
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 78;
    background: rgba(16, 24, 30, 0.38);
    backdrop-filter: blur(5px);
  }

  [data-svj-site-header] {
    z-index: 90;
  }

  svj-header-layout {
    grid-template-columns: auto 1fr auto;
    justify-content: stretch;
  }

  [data-svj-nav-toggle] {
    position: relative;
    z-index: 101;
    grid-column: 3;
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  [data-svj-site-header].nav-open [data-svj-nav-toggle] {
    position: fixed;
    top: 1rem;
    right: 1rem;
  }

  [data-svj-primary-navigation] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    display: block;
    width: min(86vw, 380px);
    padding: 5.3rem 1rem 1.2rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 245, 246, 0.98)),
      var(--header-image) center / cover no-repeat;
    border-left: 1px solid var(--line);
    border-radius: 28px 0 0 28px;
    box-shadow: -28px 0 80px rgba(19, 30, 38, 0.2);
    transform: translateX(105%);
    transition: transform 220ms ease;
    overflow-y: auto;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] {
    transform: translateX(0);
  }

  [data-svj-primary-navigation] ul {
    display: grid;
    gap: 0.42rem;
    justify-content: stretch;
    width: 100%;
  }

  [data-svj-primary-navigation] a {
    min-height: 46px;
    padding: 0.72rem 0.85rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(223, 229, 232, 0.92);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(19, 30, 38, 0.04);
  }

  [data-svj-primary-navigation] li > ul {
    margin: 0.35rem 0 0.7rem;
    padding: 0.5rem;
    background: rgba(238, 248, 206, 0.58);
    border-color: rgba(151, 193, 31, 0.28);
  }

  [data-svj-header-call] {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  svj-topbar-layout {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
  }

  svj-topbar-layout span {
    display: none;
  }

  svj-hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  svj-section-heading h2,
  svj-section-heading h2,
  svj-why-copy h2,
  svj-section-heading h2,
  svj-cta-card h2,
  svj-faq-layout h2,
  [data-svj-hero="page"] h1,
  [data-svj-hero="service"] h1 {
    font-size: clamp(1.55rem, 7.2vw, 2rem);
  }

  svj-section-heading {
    max-width: 100%;
  }

  [data-svj-section="cta"] {
    min-height: 440px;
    background-attachment: scroll;
  }

  .wp-block-gallery.svjohn-legacy-gallery,
  svj-editorial-content .svjohn-legacy-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem !important;
  }

  .wp-block-gallery.svjohn-legacy-gallery .wp-block-image,
  svj-editorial-content .svjohn-legacy-gallery .wp-block-image,
  .wp-block-gallery.svjohn-legacy-gallery img,
  svj-editorial-content .svjohn-legacy-gallery img {
    min-height: 135px;
    border-radius: 18px;
  }

  .wp-block-gallery.svjohn-legacy-gallery .wp-block-image:first-child,
  svj-editorial-content .svjohn-legacy-gallery .wp-block-image:first-child {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 210px;
  }
}

/* 0.1.4 final heading nudge after rendered QA. */
svj-hero-copy h1 {
  font-size: clamp(2.15rem, 4vw, 3.6rem);
}

/* 0.1.4 gallery core-style conflict fix. */
.wp-block-gallery.has-nested-images.svjohn-legacy-gallery {
  align-items: stretch !important;
  justify-items: stretch !important;
  justify-content: stretch !important;
}

.wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image,
svj-editorial-content .wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  align-self: stretch !important;
}

.wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image a,
svj-editorial-content .wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image img,
svj-editorial-content .wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image img {
  width: 100% !important;
  max-width: none !important;
}

/* 0.1.4 gallery crop tuning for legacy image aspect ratios. */
.wp-block-gallery.svjohn-legacy-gallery .wp-block-image:first-child,
svj-editorial-content .svjohn-legacy-gallery .wp-block-image:first-child,
.wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image:first-child,
svj-editorial-content .wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image:first-child {
  grid-column: span 2;
  grid-row: span 1;
}

.wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image img,
svj-editorial-content .wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image img {
  object-position: center bottom;
}

@media (max-width: 760px) {
  .wp-block-gallery.svjohn-legacy-gallery .wp-block-image:first-child,
  svj-editorial-content .svjohn-legacy-gallery .wp-block-image:first-child,
  .wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image:first-child,
  svj-editorial-content .wp-block-gallery.has-nested-images.svjohn-legacy-gallery figure.wp-block-image:first-child {
    min-height: 160px;
  }
}

/* 0.1.16: full-screen mobile menu, editable menu icons and Meow Gallery polish. */
[data-svj-primary-navigation] ._mi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 0.48rem;
  flex: 0 0 auto;
  color: var(--green-dark);
  background: rgba(151, 193, 31, 0.18);
  border-radius: 999px;
  font-size: 0.9rem !important;
  line-height: 1;
}

[data-svj-primary-navigation] li > ul a {
  min-height: 46px;
  padding: 0.68rem 0.82rem;
  gap: 0.55rem;
  line-height: 1.2;
}

[data-svj-primary-navigation] li > ul ._mi {
  margin-right: 0;
}

[data-svj-primary-navigation] li > ul .menu-image-title,
[data-svj-primary-navigation] li > ul a > span {
  min-width: 0;
}

svj-editorial-content .mgl-masonry-container,
svj-editorial-content .mgl-justified-container,
svj-editorial-content .mgl-tiles-container,
svj-editorial-content .mgl-square-container {
  margin: clamp(1.4rem, 3vw, 2.1rem) 0 0;
}

svj-editorial-content .mgl-root {
  margin: clamp(1.5rem, 3vw, 2.2rem) 0 0;
}

svj-editorial-content .mgl-root .mgl-gallery-container {
  display: block !important;
}

svj-editorial-content .mgl-root .mgl-gallery-container > .mgl-masonry-container {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(0.8rem, 2vw, 1.15rem) !important;
  width: 100% !important;
  height: auto !important;
  align-items: stretch !important;
}

svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item {
  width: 100% !important;
  min-height: clamp(220px, 22vw, 280px) !important;
  height: clamp(220px, 22vw, 280px) !important;
  margin: 0 !important;
  padding: 0.45rem !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(151, 193, 31, 0.14), transparent 32%),
    #f7f9f5 !important;
  border: 1px solid rgba(223, 229, 232, 0.95);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(19, 30, 38, 0.12);
}

svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item a {
  display: grid !important;
  place-items: center;
  width: 100%;
  height: 100% !important;
  min-height: 100%;
}

svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item .mgl-icon,
svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item .mgl-img-container {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  border-radius: 22px;
}

svj-editorial-content .mgl-root .mgl-gallery-container:empty + .mgl-gallery-images {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(0.8rem, 2vw, 1.15rem);
  align-items: stretch;
}

svj-editorial-content .mgl-root .mgl-gallery-images > a {
  display: block;
  min-height: clamp(220px, 24vw, 315px);
  padding: 0.45rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(151, 193, 31, 0.14), transparent 32%),
    #f7f9f5;
  border: 1px solid rgba(223, 229, 232, 0.95);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(19, 30, 38, 0.12);
}

svj-editorial-content .mgl-root .mgl-gallery-images img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  border-radius: 22px;
  filter: saturate(0.96) contrast(1.03);
  transition: filter 180ms ease, transform 180ms ease;
}

svj-editorial-content .mgl-root .mgl-gallery-images a:hover img,
svj-editorial-content .mgl-root .mgl-gallery-images a:focus img {
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.015);
}

svj-editorial-content .mgl-gallery.svjohn-legacy-gallery {
  overflow: visible;
}

svj-editorial-content .mgl-gallery.svjohn-legacy-gallery .mgl-gallery-container,
svj-editorial-content .mgl-gallery.svjohn-legacy-gallery .mgl-gallery-images {
  border-radius: 28px;
}

svj-editorial-content .mgl-gallery.svjohn-legacy-gallery img,
svj-editorial-content .mgl-gallery.svjohn-legacy-gallery .mgl-item,
svj-editorial-content .mgl-gallery.svjohn-legacy-gallery .mgl-icon {
  border-radius: 24px;
}

svj-editorial-content .mgl-gallery.svjohn-legacy-gallery img {
  box-shadow: 0 18px 44px rgba(19, 30, 38, 0.12);
  filter: saturate(0.92) contrast(1.03);
  transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

svj-editorial-content .mgl-gallery.svjohn-legacy-gallery a:hover img,
svj-editorial-content .mgl-gallery.svjohn-legacy-gallery a:focus img {
  filter: saturate(1.05) contrast(1.06);
  transform: translateY(-2px);
  box-shadow: 0 24px 56px rgba(19, 30, 38, 0.16);
}

@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    background: rgba(16, 24, 30, 0.46);
    backdrop-filter: blur(7px);
  }

  [data-svj-site-header].nav-open {
    z-index: 120;
  }

  [data-svj-site-header].nav-open svj-brand {
    position: fixed;
    top: 1.05rem;
    left: 1.1rem;
    z-index: 124;
  }

  [data-svj-site-header].nav-open svj-brand img {
    width: 78px;
  }

  [data-svj-site-header].nav-open [data-svj-nav-toggle] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 125;
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  [data-svj-nav-toggle] span:not(svj-visually-hidden) {
    width: 23px;
    height: 2.5px;
  }

  [data-svj-site-header].nav-open [data-svj-nav-toggle] span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  [data-svj-site-header].nav-open [data-svj-nav-toggle] span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  [data-svj-primary-navigation] {
    left: 0;
    right: 0;
    width: 100vw;
    min-height: 100dvh;
    padding: 6.9rem clamp(1.05rem, 5vw, 2.4rem) 1.6rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(243, 245, 246, 0.95)),
      var(--header-image) center / cover no-repeat;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(100%);
  }

  [data-svj-primary-navigation] > div,
  [data-svj-primary-navigation] > div > ul,
  [data-svj-primary-navigation] > ul {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  [data-svj-primary-navigation] ul {
    gap: 0.62rem;
  }

  [data-svj-primary-navigation] a {
    min-height: 58px;
    padding: 0.88rem 1rem;
    border-radius: 18px;
    font-size: 1.02rem;
    letter-spacing: 0.04em;
  }

  [data-svj-primary-navigation] li:has(> ul) > a::before {
    width: 0.55rem;
    height: 0.55rem;
  }

  [data-svj-primary-navigation] li > ul {
    margin: 0.45rem 0 0.88rem;
    padding: 0.62rem;
    gap: 0.42rem !important;
    border-radius: 22px;
    background: rgba(238, 248, 206, 0.78);
  }

  [data-svj-primary-navigation] li > ul a {
    min-height: 54px;
    padding: 0.78rem 0.9rem;
    border-radius: 17px;
    white-space: normal;
  }

  [data-svj-primary-navigation] ._mi {
    width: 1.55rem;
    height: 1.55rem;
    font-size: 1rem !important;
  }

  [data-svj-site-header].nav-open [data-svj-header-call] {
    display: none;
  }
}

@media (max-width: 560px) {
  [data-svj-site-header].nav-open svj-brand img {
    width: 68px;
  }

  [data-svj-primary-navigation] {
    padding-top: 6.3rem;
  }

  [data-svj-primary-navigation] a {
    min-height: 56px;
    font-size: 0.98rem;
  }

  [data-svj-primary-navigation] li > ul {
    padding: 0.5rem;
  }

  svj-editorial-content .mgl-root .mgl-gallery-container:empty + .mgl-gallery-images {
    grid-template-columns: 1fr;
  }

  svj-editorial-content .mgl-root .mgl-gallery-images > a {
    min-height: 230px;
  }

  svj-editorial-content .mgl-root .mgl-gallery-container > .mgl-masonry-container {
    grid-template-columns: 1fr;
  }

  svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item {
    min-height: 230px !important;
    height: 230px !important;
  }
}

/* 0.1.16: force Meow masonry cards to fill their responsive grid tracks. */
svj-editorial-content .mgl-root .mgl-gallery-container > .mgl-masonry-container > figure.mgl-item {
  justify-self: stretch !important;
  align-self: stretch !important;
  min-width: 0 !important;
  width: auto !important;
}

/* 0.1.16: target the actual Meow Gallery masonry wrapper generated by Preact. */
svj-editorial-content .mgl-root .mgl-gallery-container > .mgl-masonry-container {
  display: block !important;
}

svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: clamp(0.8rem, 2vw, 1.15rem) !important;
  width: 100% !important;
  height: auto !important;
}

svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry > figure.mgl-item {
  width: 100% !important;
  justify-self: stretch !important;
}

@media (max-width: 560px) {
  svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  [data-svj-contact-form-panel] {
    padding: 1rem;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .wpcf7-submit {
    width: 100%;
  }
}

@media (max-width: 900px) {
  [data-svj-primary-navigation] {
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    pointer-events: none;
    transform: none;
    visibility: hidden;
    transition: clip-path 220ms ease, opacity 180ms ease, visibility 0s linear 220ms;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] {
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
    transition: clip-path 220ms ease, opacity 180ms ease;
  }
}

/* 0.1.21: legacy imagery should read more clearly without sacrificing text contrast. */
[data-svj-hero="home"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.56) 38%, rgba(255, 255, 255, 0.14) 67%, rgba(255, 255, 255, 0.58) 100%),
    var(--header-image) center / cover no-repeat;
}

[data-svj-hero="page"],
[data-svj-hero="service"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.56) 48%, rgba(255, 255, 255, 0.22) 100%),
    var(--header-image) center / cover no-repeat;
}

[data-svj-section="cta"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.42) 46%, rgba(255, 255, 255, 0.12) 100%),
    var(--footer-image) center / cover fixed no-repeat;
}

[data-svj-site-footer] {
  background:
    linear-gradient(180deg, rgba(243, 245, 246, 0.78), rgba(255, 255, 255, 0.72)),
    var(--footer-image) center bottom / cover no-repeat;
}

[data-svj-site-footer]::before {
  background: radial-gradient(circle at 12% 10%, rgba(151, 193, 31, 0.06), transparent 28%);
}

@media (max-width: 900px) {
  [data-svj-section="cta"] {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.48) 48%, rgba(255, 255, 255, 0.2) 100%),
      var(--footer-image) center / cover scroll no-repeat;
  }
}

/* 0.1.22: green primary navigation with inverted desktop and mobile controls. */
[data-svj-site-header] {
  background: var(--green);
  border-bottom-color: rgba(111, 146, 18, 0.85);
  box-shadow: 0 18px 42px rgba(111, 146, 18, 0.22);
}

[data-svj-site-header]::before {
  background: rgba(255, 255, 255, 0.82);
}

[data-svj-primary-navigation] > div > ul > li > a,
[data-svj-primary-navigation] > ul > li > a {
  color: var(--paper);
  text-shadow: 0 1px 1px rgba(37, 37, 37, 0.14);
}

[data-svj-primary-navigation] > div > ul > li:hover > a,
[data-svj-primary-navigation] > ul > li:hover > a,
[data-svj-primary-navigation] > div > ul > li:focus-within > a,
[data-svj-primary-navigation] > ul > li:focus-within > a,
[data-svj-primary-navigation] > div > ul > .current-menu-item > a,
[data-svj-primary-navigation] > ul > .current-menu-item > a,
[data-svj-primary-navigation] > div > ul > .current-menu-parent > a,
[data-svj-primary-navigation] > ul > .current-menu-parent > a,
[data-svj-primary-navigation] > div > ul > .current-menu-ancestor > a,
[data-svj-primary-navigation] > ul > .current-menu-ancestor > a {
  color: var(--paper);
}

[data-svj-primary-navigation] > div > ul > li > a::after,
[data-svj-primary-navigation] > ul > li > a::after {
  background: var(--paper);
}

[data-svj-header-call] {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
}

[data-svj-header-call]:hover,
[data-svj-header-call]:focus {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--green-dark);
}

[data-svj-primary-navigation] li > ul {
  background: linear-gradient(180deg, rgba(111, 146, 18, 0.98), rgba(85, 116, 11, 0.98));
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 24px 54px rgba(40, 58, 5, 0.26);
}

[data-svj-primary-navigation] li > ul a {
  color: var(--paper);
}

[data-svj-primary-navigation] li > ul a:hover,
[data-svj-primary-navigation] li > ul a:focus,
[data-svj-primary-navigation] li > ul .current-menu-item > a {
  background: rgba(255, 255, 255, 0.16);
  color: var(--paper);
}

[data-svj-primary-navigation] ._mi {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.16);
}

[data-svj-nav-toggle] {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 14px 28px rgba(40, 58, 5, 0.16);
}

[data-svj-nav-toggle] span:not(svj-visually-hidden) {
  background: currentColor;
}

@media (max-width: 900px) {
  [data-svj-primary-navigation] li {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms var(--motion-ease), transform 220ms var(--motion-ease);
    transition-delay: 0ms;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] li {
    opacity: 1;
    transform: translateY(0);
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] > div > ul > li:nth-child(1),
  [data-svj-site-header].nav-open [data-svj-primary-navigation] > ul > li:nth-child(1) {
    transition-delay: 40ms;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] > div > ul > li:nth-child(2),
  [data-svj-site-header].nav-open [data-svj-primary-navigation] > ul > li:nth-child(2) {
    transition-delay: 70ms;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] > div > ul > li:nth-child(3),
  [data-svj-site-header].nav-open [data-svj-primary-navigation] > ul > li:nth-child(3) {
    transition-delay: 100ms;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] > div > ul > li:nth-child(4),
  [data-svj-site-header].nav-open [data-svj-primary-navigation] > ul > li:nth-child(4) {
    transition-delay: 130ms;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] > div > ul > li:nth-child(5),
  [data-svj-site-header].nav-open [data-svj-primary-navigation] > ul > li:nth-child(5) {
    transition-delay: 160ms;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] > div > ul > li:nth-child(6),
  [data-svj-site-header].nav-open [data-svj-primary-navigation] > ul > li:nth-child(6) {
    transition-delay: 190ms;
  }

  [data-svj-primary-navigation] {
    background:
      linear-gradient(180deg, rgba(151, 193, 31, 0.98), rgba(111, 146, 18, 0.98)),
      var(--header-image) center / cover no-repeat;
  }

  [data-svj-primary-navigation] a {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: none;
  }

  [data-svj-primary-navigation] a:hover,
  [data-svj-primary-navigation] a:focus,
  [data-svj-primary-navigation] .current-menu-item > a,
  [data-svj-primary-navigation] .current-menu-parent > a,
  [data-svj-primary-navigation] .current-menu-ancestor > a {
    color: var(--paper);
    background: rgba(255, 255, 255, 0.22);
  }

  [data-svj-primary-navigation] li > ul {
    background: rgba(63, 93, 5, 0.34);
    border-color: rgba(255, 255, 255, 0.2);
  }

  [data-svj-site-header].nav-open [data-svj-nav-toggle] {
    color: var(--green-dark);
    background: var(--paper);
    border-color: rgba(255, 255, 255, 0.8);
  }
}

/* 0.1.23: inverted topbar, content-sized desktop dropdown and animated sticky header. */
svj-topbar {
  background: var(--green);
  border-bottom-color: rgba(255, 255, 255, 0.24);
  color: var(--paper);
}

svj-topbar-layout,
svj-topbar-layout a,
svj-topbar-layout span {
  color: var(--paper);
}

[data-svj-site-header],
svj-header-layout,
svj-brand img,
[data-svj-primary-navigation] > div > ul > li > a,
[data-svj-primary-navigation] > ul > li > a,
[data-svj-header-call] {
  transition:
    min-height 220ms ease,
    width 220ms ease,
    padding 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 180ms ease,
    transform 180ms ease;
}

[data-svj-site-header].is-scrolled {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  box-shadow: 0 16px 34px rgba(49, 71, 5, 0.26);
  animation: svjohn-sticky-drop 220ms ease both;
}

body.has-sticky-nav {
  padding-top: 76px;
}

@keyframes svjohn-sticky-drop {
  from {
    transform: translateY(-10px);
  }

  to {
    transform: translateY(0);
  }
}

@media (min-width: 901px) {
  [data-svj-primary-navigation] li > ul {
    width: max-content;
    min-width: max-content;
  }

  [data-svj-primary-navigation] li > ul a {
    white-space: nowrap;
  }

  [data-svj-site-header].is-scrolled svj-header-layout {
    min-height: 76px;
  }

  [data-svj-site-header].is-scrolled svj-brand img {
    width: 66px;
  }

  [data-svj-site-header].is-scrolled [data-svj-primary-navigation] > div > ul > li > a,
  [data-svj-site-header].is-scrolled [data-svj-primary-navigation] > ul > li > a {
    min-height: 38px;
  }

  [data-svj-site-header].is-scrolled [data-svj-header-call] {
    min-height: 44px;
    padding: 0.72rem 1.12rem;
  }
}

/* 0.1.25: remove the extra divider stripe above the primary navigation. */
[data-svj-site-header]::before {
  height: 0;
}

/* 0.1.30: keep room for the decorative process-card icons after later card tuning. */
svj-step-list article {
  padding-right: clamp(4.7rem, 7vw, 6.4rem);
}

/* 0.1.31: consistent kicker sizing and button states. */
svj-kicker {
  font-size: clamp(0.86rem, 0.78rem + 0.18vw, 0.95rem);
  letter-spacing: 0.026em;
}

[data-svj-header-call],
[data-svj-button],
[data-svj-footer-call],
.wpcf7 input.wpcf7-submit,
.wpcf7-submit {
  transition:
    transform 180ms var(--motion-ease),
    box-shadow 180ms var(--motion-ease),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

[data-svj-button="primary"],
[data-svj-footer-call],
.wpcf7 input.wpcf7-submit,
.wpcf7-submit {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
  box-shadow: 0 18px 38px rgba(111, 146, 18, 0.22);
}

[data-svj-button="primary"]:hover,
[data-svj-button="primary"]:focus,
[data-svj-button="primary"]:focus-visible,
[data-svj-footer-call]:hover,
[data-svj-footer-call]:focus,
[data-svj-footer-call]:focus-visible,
.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:focus,
.wpcf7 input.wpcf7-submit:focus-visible,
.wpcf7-submit:hover,
.wpcf7-submit:focus,
.wpcf7-submit:focus-visible {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--paper);
  box-shadow: 0 20px 42px rgba(111, 146, 18, 0.28);
  transform: translateY(-2px);
}

[data-svj-button="primary"]:active,
[data-svj-footer-call]:active,
.wpcf7 input.wpcf7-submit:active,
.wpcf7-submit:active {
  background: #5f7f0f;
  border-color: #5f7f0f;
  color: var(--paper);
  box-shadow: 0 10px 22px rgba(111, 146, 18, 0.22);
  transform: translateY(0) scale(0.99);
}

[data-svj-button="secondary"] {
  background: var(--paper);
  border-color: rgba(37, 37, 37, 0.14);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(19, 30, 38, 0.08);
}

[data-svj-button="secondary"]:hover,
[data-svj-button="secondary"]:focus,
[data-svj-button="secondary"]:focus-visible {
  background: var(--green-soft);
  border-color: rgba(111, 146, 18, 0.42);
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(19, 30, 38, 0.1);
  transform: translateY(-2px);
}

[data-svj-button="secondary"]:active {
  background: #e5f4b9;
  border-color: rgba(111, 146, 18, 0.52);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(19, 30, 38, 0.08);
  transform: translateY(0) scale(0.99);
}

[data-svj-header-call] {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.88);
  color: var(--paper);
  box-shadow: none;
}

[data-svj-header-call]:hover,
[data-svj-header-call]:focus,
[data-svj-header-call]:focus-visible {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--green-dark);
  box-shadow: 0 18px 34px rgba(37, 37, 37, 0.14);
  transform: translateY(-2px);
}

[data-svj-header-call]:active {
  background: var(--green-soft);
  border-color: var(--green-soft);
  color: var(--green-dark);
  box-shadow: 0 8px 20px rgba(37, 37, 37, 0.1);
  transform: translateY(0) scale(0.99);
}

[data-svj-header-call]:focus-visible,
[data-svj-button]:focus-visible,
[data-svj-footer-call]:focus-visible,
.wpcf7 input.wpcf7-submit:focus-visible,
.wpcf7-submit:focus-visible {
  outline: 3px solid rgba(151, 193, 31, 0.34);
  outline-offset: 3px;
}

.wpcf7 input.wpcf7-submit:disabled,
.wpcf7-submit:disabled {
  background: var(--soft-strong);
  border-color: var(--soft-strong);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

[data-svj-nav-toggle] span:not(svj-visually-hidden) {
  background: var(--paper);
}

[data-svj-site-header].nav-open [data-svj-nav-toggle] span:not(svj-visually-hidden) {
  background: var(--green-dark);
}

/* 0.1.84: Classic Analytics badge in every hero, aligned above the kicker. */
[data-svj-classic-logo] {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 clamp(0.7rem, 1.4vw, 1rem);
  opacity: 0.96;
  transition: opacity 180ms ease, transform 180ms var(--motion-ease);
}

[data-svj-classic-logo]:hover,
[data-svj-classic-logo]:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

[data-svj-classic-logo] img {
  display: block;
  width: clamp(11.25rem, 14vw, 11.875rem);
  height: auto;
}

svj-hero-copy > svj-kicker,
svj-micro-hero-copy > svj-kicker,
svj-micro-page-heading > svj-kicker {
  display: block;
  width: fit-content;
}

/* 0.1.33: keep the Direktkontakt CTA consistent with primary buttons. */
[data-svj-contact-card] [data-svj-button] {
  display: flex;
  width: 100%;
  justify-content: center;
}

[data-svj-contact-card] [data-svj-button="primary"],
[data-svj-contact-card] [data-svj-button="primary"]:visited {
  color: var(--paper);
}

[data-svj-contact-card] [data-svj-button="primary"]:hover,
[data-svj-contact-card] [data-svj-button="primary"]:focus,
[data-svj-contact-card] [data-svj-button="primary"]:focus-visible {
  color: var(--paper);
}

/* 0.1.32: richer accordion, gallery and legacy image visibility polish. */
svj-editorial-content .gutena-accordion-block {
  display: grid;
  gap: 0.85rem;
  margin: clamp(1.2rem, 3vw, 1.8rem) 0;
}

svj-editorial-content .gutena-accordion-block__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 245, 0.94)),
    var(--paper);
  border: 1px solid rgba(223, 229, 232, 0.92);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(19, 30, 38, 0.08);
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

svj-editorial-content .gutena-accordion-block__panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.32rem;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  opacity: 0;
  transform: scaleY(0.5);
  transform-origin: 50% 50%;
  transition: opacity 240ms ease, transform 320ms var(--motion-ease);
  z-index: -1;
}

svj-editorial-content .gutena-accordion-block__panel:hover,
svj-editorial-content .gutena-accordion-block__panel.active {
  border-color: rgba(151, 193, 31, 0.45);
  box-shadow: 0 24px 58px rgba(19, 30, 38, 0.12);
  transform: translateY(-1px);
}

svj-editorial-content .gutena-accordion-block__panel.active::before {
  opacity: 1;
  transform: scaleY(1);
}

svj-editorial-content .gutena-accordion-block__panel-title {
  cursor: pointer;
  padding: 0;
}

svj-editorial-content .gutena-accordion-block__panel-title-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 4.55rem;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(1.2rem, 3vw, 1.55rem);
}

svj-editorial-content .gutena-accordion-block__panel-title-inner > :where(h2, h3, h4, h5, h6, p) {
  margin: 0;
  color: var(--ink) !important;
  font-family: "Work Sans", sans-serif !important;
  font-size: clamp(1rem, 0.94rem + 0.22vw, 1.16rem) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
}

svj-editorial-content .gutena-accordion-block__panel-content {
  overflow: hidden;
  transition: max-height 430ms var(--motion-ease);
}

svj-editorial-content .gutena-accordion-block__panel-content-inner {
  padding: 0 clamp(1.2rem, 3vw, 1.55rem) clamp(1.15rem, 3vw, 1.45rem);
  color: var(--body);
}

svj-editorial-content .gutena-accordion-block__panel-content-inner > :last-child {
  margin-bottom: 0;
}

svj-editorial-content .gutena-accordion-block .trigger-plus-minus,
svj-editorial-content .gutena-accordion-block .trigger-up-down {
  position: relative;
  flex: 0 0 auto;
  display: grid !important;
  place-items: center !important;
  width: 2.25rem !important;
  height: 2.25rem !important;
  border: 1px solid rgba(111, 146, 18, 0.25) !important;
  border-radius: 50%;
  color: var(--green-dark) !important;
  background: linear-gradient(135deg, var(--green-soft), rgba(255, 255, 255, 0.88)) !important;
  box-shadow: 0 10px 22px rgba(111, 146, 18, 0.14);
  transition:
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 320ms var(--motion-ease);
}

svj-editorial-content .gutena-accordion-block .trigger-plus-minus .horizontal,
svj-editorial-content .gutena-accordion-block .trigger-plus-minus .vertical,
svj-editorial-content .gutena-accordion-block .trigger-up-down::before,
svj-editorial-content .gutena-accordion-block .trigger-up-down::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block !important;
  width: 0.82rem !important;
  height: 0.12rem !important;
  border-radius: 999px;
  background: currentColor !important;
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
  transition: opacity 240ms ease, transform 320ms var(--motion-ease);
}

svj-editorial-content .gutena-accordion-block .trigger-plus-minus .vertical {
  transform: translate(-50%, -50%) rotate(90deg) !important;
}

svj-editorial-content .gutena-accordion-block__panel.active .trigger-plus-minus,
svj-editorial-content .gutena-accordion-block__panel.active .trigger-up-down {
  border-color: var(--green) !important;
  color: var(--paper) !important;
  background: linear-gradient(135deg, var(--green), var(--green-dark)) !important;
  box-shadow: 0 14px 26px rgba(111, 146, 18, 0.24);
  transform: rotate(180deg);
}

svj-editorial-content .gutena-accordion-block > .gutena-accordion-block__panel > .gutena-accordion-block__panel-title > .gutena-accordion-block__panel-title-inner > .trigger-plus-minus,
svj-editorial-content .gutena-accordion-block > .gutena-accordion-block__panel > .gutena-accordion-block__panel-title > .gutena-accordion-block__panel-title-inner > .trigger-up-down {
  color: var(--green-dark) !important;
}

svj-editorial-content .gutena-accordion-block > .gutena-accordion-block__panel.active > .gutena-accordion-block__panel-title > .gutena-accordion-block__panel-title-inner > .trigger-plus-minus,
svj-editorial-content .gutena-accordion-block > .gutena-accordion-block__panel.active > .gutena-accordion-block__panel-title > .gutena-accordion-block__panel-title-inner > .trigger-up-down {
  color: var(--paper) !important;
}

svj-editorial-content .gutena-accordion-block__panel.active .trigger-plus-minus .horizontal {
  opacity: 1 !important;
  transform: translate(-50%, -50%) !important;
}

svj-editorial-content .gutena-accordion-block__panel.active .trigger-plus-minus .vertical {
  opacity: 0 !important;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0) !important;
}

[data-svj-hero="home"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.42) 38%, rgba(255, 255, 255, 0.06) 68%, rgba(255, 255, 255, 0.42) 100%),
    var(--header-image) center / cover no-repeat;
}

[data-svj-hero="page"],
[data-svj-hero="service"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.46) 48%, rgba(255, 255, 255, 0.1) 100%),
    var(--header-image) center / cover no-repeat;
}

[data-svj-hero="home"]::before {
  background:
    radial-gradient(circle at 9% 58%, rgba(151, 193, 31, 0.18), transparent 30%),
    linear-gradient(180deg, transparent 72%, var(--paper) 100%);
}

[data-svj-section="cta"] {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.68) 0%, rgba(255, 255, 255, 0.34) 46%, rgba(255, 255, 255, 0.04) 100%),
    var(--footer-image) center / cover fixed no-repeat;
}

svj-cta-card {
  background: rgba(255, 255, 255, 0.84);
}

[data-svj-site-footer] {
  background:
    linear-gradient(180deg, rgba(243, 245, 246, 0.68), rgba(255, 255, 255, 0.62)),
    var(--footer-image) center bottom / cover no-repeat;
}

[data-svj-site-footer]::before {
  background:
    radial-gradient(circle at 12% 10%, rgba(151, 193, 31, 0.05), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2));
}

svj-faq-list details,
svj-editorial-content details {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 245, 0.94)),
    var(--paper);
  border: 1px solid rgba(223, 229, 232, 0.92);
  border-radius: 26px;
  box-shadow: 0 18px 42px rgba(19, 30, 38, 0.08);
  transition:
    height 430ms var(--motion-ease),
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease,
    background-color 240ms ease;
}

svj-faq-list details::before,
svj-editorial-content details::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.32rem;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  opacity: 0;
  transform: scaleY(0.5);
  transform-origin: 50% 50%;
  transition: opacity 240ms ease, transform 320ms var(--motion-ease);
  z-index: -1;
}

svj-faq-list details:hover,
svj-editorial-content details:hover,
svj-faq-list details[open],
svj-editorial-content details[open] {
  border-color: rgba(151, 193, 31, 0.45);
  box-shadow: 0 24px 58px rgba(19, 30, 38, 0.12);
  transform: translateY(-1px);
}

svj-faq-list details[open]::before,
svj-editorial-content details[open]::before {
  opacity: 1;
  transform: scaleY(1);
}

svj-faq-list details[data-accordion="enhanced"],
svj-editorial-content details[data-accordion="enhanced"] {
  overflow: hidden;
  will-change: height;
}

svj-faq-list summary,
svj-editorial-content summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 4.55rem;
  padding: clamp(1rem, 2vw, 1.25rem) clamp(4.4rem, 5vw, 5rem) clamp(1rem, 2vw, 1.25rem) clamp(1.2rem, 3vw, 1.55rem);
  color: var(--ink);
  font-size: clamp(1rem, 0.94rem + 0.22vw, 1.16rem);
  font-weight: 700;
  line-height: 1.22;
  list-style: none;
}

svj-faq-list summary::after,
svj-editorial-content summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(1.05rem, 2.4vw, 1.35rem);
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(111, 146, 18, 0.25);
  border-radius: 50%;
  color: var(--green-dark);
  background:
    linear-gradient(currentColor 0 0) center / 0.82rem 0.12rem no-repeat,
    linear-gradient(currentColor 0 0) center / 0.12rem 0.82rem no-repeat,
    linear-gradient(135deg, var(--green-soft), rgba(255, 255, 255, 0.88));
  box-shadow: 0 10px 22px rgba(111, 146, 18, 0.14);
  opacity: 1;
  transform: translateY(-50%) rotate(0deg);
  transition:
    background 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 320ms var(--motion-ease);
}

svj-faq-list details[open] summary::after,
svj-editorial-content details[open] summary::after {
  border-color: var(--green);
  color: var(--paper);
  background:
    linear-gradient(currentColor 0 0) center / 0.82rem 0.12rem no-repeat,
    linear-gradient(135deg, var(--green), var(--green-dark));
  box-shadow: 0 14px 26px rgba(111, 146, 18, 0.24);
  transform: translateY(-50%) rotate(180deg);
}

svj-faq-list details svj-detail-panel,
svj-editorial-content details > div {
  padding: 0 clamp(1.2rem, 3vw, 1.55rem) clamp(1.15rem, 3vw, 1.45rem);
  color: var(--body);
}

svj-faq-list details[open] svj-detail-panel,
svj-editorial-content details[open] > div {
  animation: none;
}

svj-faq-list details[data-accordion="enhanced"] svj-detail-panel,
svj-editorial-content details[data-accordion="enhanced"] > div {
  opacity: 0;
  transform: translateY(-0.4rem);
  transition: opacity 360ms ease, transform 430ms var(--motion-ease);
}

svj-faq-list details[open] svj-detail-panel,
svj-editorial-content details[open] > div {
  opacity: 1;
  transform: translateY(0);
}

svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry,
svj-editorial-content .mgl-root .mgl-gallery-container:empty + .mgl-gallery-images {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(0.85rem, 2vw, 1.2rem) !important;
}

svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry > figure.mgl-item,
svj-editorial-content .mgl-root .mgl-gallery-images > a {
  position: relative;
  min-height: clamp(230px, 21vw, 330px) !important;
  height: clamp(230px, 21vw, 330px) !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--paper) !important;
  border: 1px solid rgba(223, 229, 232, 0.9);
  border-radius: 30px;
  box-shadow: 0 22px 54px rgba(19, 30, 38, 0.13);
}

svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry > figure.mgl-item:nth-child(1) {
  grid-column: span 2;
  min-height: clamp(360px, 34vw, 520px) !important;
  height: clamp(360px, 34vw, 520px) !important;
}

svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item::after,
svj-editorial-content .mgl-root .mgl-gallery-images > a::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(16, 24, 30, 0.18)),
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.22), transparent 28%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item:hover::after,
svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item:focus-within::after,
svj-editorial-content .mgl-root .mgl-gallery-images > a:hover::after,
svj-editorial-content .mgl-root .mgl-gallery-images > a:focus::after {
  opacity: 1;
}

svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item img,
svj-editorial-content .mgl-root .mgl-gallery-images img,
svj-editorial-content .mgl-gallery.svjohn-legacy-gallery img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 30px;
  filter: saturate(0.96) contrast(1.04);
  transition: filter 260ms ease, transform 420ms var(--motion-ease), box-shadow 260ms ease;
}

svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item:hover img,
svj-editorial-content .mgl-root .mgl-gallery-container figure.mgl-item:focus-within img,
svj-editorial-content .mgl-root .mgl-gallery-images a:hover img,
svj-editorial-content .mgl-root .mgl-gallery-images a:focus img {
  filter: saturate(1.08) contrast(1.07);
  transform: scale(1.045);
}

@media (max-width: 900px) {
  svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry,
  svj-editorial-content .mgl-root .mgl-gallery-container:empty + .mgl-gallery-images {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry > figure.mgl-item:nth-child(1) {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  svj-faq-list summary,
  svj-editorial-content summary {
    min-height: 4.25rem;
    padding-right: 4rem;
  }

  svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry,
  svj-editorial-content .mgl-root .mgl-gallery-container:empty + .mgl-gallery-images {
    grid-template-columns: 1fr !important;
  }

  svj-editorial-content .mgl-root .mgl-gallery-container .mgl-gallery.mgl-masonry > figure.mgl-item:nth-child(1) {
    grid-column: auto;
  }
}

/* 0.1.40: live SEO/A11y hardening: visible breadcrumbs, robust focus states and cleaner hero spacing. */
[data-svj-breadcrumbs] {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(1rem, 2.5vw, 1.45rem);
  color: rgba(37, 37, 37, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

[data-svj-breadcrumbs] ol,
[data-svj-breadcrumbs] .rank-math-breadcrumb,
[data-svj-breadcrumbs] .rank-math-breadcrumb p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

[data-svj-breadcrumbs] a {
  color: var(--green-dark);
  text-decoration: none;
}

[data-svj-breadcrumbs] a:hover,
[data-svj-breadcrumbs] a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

[data-svj-breadcrumbs] li:not(:last-child)::after,
[data-svj-breadcrumbs] .separator {
  color: rgba(37, 37, 37, 0.42);
}

[data-svj-breadcrumbs] li:not(:last-child)::after {
  content: "/";
  margin-left: 0.42rem;
}

[data-svj-hero="page"] > svj-container:first-child,
[data-svj-hero="service"] > svj-container:first-child {
  padding-bottom: 0;
}

[data-svj-hero="page"] [data-svj-breadcrumbs] + svj-hero-layout,
[data-svj-hero="service"] [data-svj-breadcrumbs] + svj-hero-layout {
  padding-top: clamp(2.2rem, 5vw, 4.2rem);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(151, 193, 31, 0.38);
  outline-offset: 3px;
}

[data-svj-site-header] a:focus-visible,
[data-svj-site-header] button:focus-visible,
svj-topbar a:focus-visible {
  outline-color: rgba(255, 255, 255, 0.86);
}

svj-topbar,
[data-svj-site-header] {
  background: #425f0a;
}

svj-topbar {
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

[data-svj-site-header] {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(40, 58, 5, 0.22);
}

[data-svj-primary-navigation] > div > ul > li > a,
[data-svj-primary-navigation] > ul > li > a,
svj-topbar-layout,
svj-topbar-layout a,
svj-topbar-layout span,
[data-svj-header-call] {
  color: var(--paper);
  text-shadow: none;
}

[data-svj-primary-navigation] {
  text-shadow: none;
}

@media (max-width: 900px) {
  [data-svj-primary-navigation] {
    background:
      linear-gradient(180deg, rgba(66, 95, 10, 0.98), rgba(52, 75, 8, 0.98)),
      var(--header-image) center / cover no-repeat;
  }

  [data-svj-hero="service"] {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 245, 246, 0.94)),
      var(--soft);
  }

  [data-svj-hero="service"] figure {
    display: none;
  }
}

.cky-btn-customize,
.cky-btn-reject,
.cky-btn-preferences,
.cky-show-desc-btn,
.cky-policy {
  color: #425f0a !important;
  border-color: #425f0a !important;
}

.cky-btn-accept {
  background-color: #425f0a !important;
  border-color: #425f0a !important;
  color: #fff !important;
}

.cky-btn {
  font-weight: 700 !important;
}

/* 0.1.44: lightweight menu icons without loading the full Dashicons font. */
[data-svj-primary-navigation] ._mi,
[data-svj-site-footer] nav ._mi {
  display: inline-flex;
  width: 1.08em;
  height: 1.08em;
  margin-right: 0.52rem;
  color: currentColor;
  font-family: inherit !important;
  font-size: 1em !important;
  line-height: 1;
  vertical-align: -0.16em;
}

[data-svj-primary-navigation] ._mi::before,
[data-svj-site-footer] nav ._mi::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: var(--svjohn-menu-icon) center / contain no-repeat;
  mask: var(--svjohn-menu-icon) center / contain no-repeat;
}

.dashicons-media-document {
  --svjohn-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6 2h8l5 5v15H6zM14 4v5h5v-2h-3V4zM8 12h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E");
}

.dashicons-shield-alt {
  --svjohn-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2 5 5v6c0 4.6 2.9 8.8 7 11 4.1-2.2 7-6.4 7-11V5zm0 4 4 1.7V11c0 3-1.6 5.8-4 7.6z'/%3E%3C/svg%3E");
}

.dashicons-money {
  --svjohn-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6h18v12H3zm2 3v6h14V9zm7 1a2 2 0 1 1 0 4 2 2 0 0 1 0-4z'/%3E%3C/svg%3E");
}

.dashicons-admin-tools {
  --svjohn-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.7 6.3 17 10l-3-3 3.7-3.7A6 6 0 0 0 10 10l-6.5 6.5 3 3L13 13a6 6 0 0 0 7.7-6.7z'/%3E%3C/svg%3E");
}

.dashicons-analytics {
  --svjohn-menu-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 19h18v2H2V3h2zm2-2V9h4v8zm6 0V5h4v12zm6 0v-6h4v6z'/%3E%3C/svg%3E");
}

[data-svj-button="primary"],
[data-svj-footer-call],
.wpcf7 input.wpcf7-submit,
.wpcf7-submit {
  background: #425f0a;
  border-color: #425f0a;
  color: #fff;
}

[data-svj-button="primary"]:hover,
[data-svj-button="primary"]:focus,
[data-svj-button="primary"]:focus-visible,
[data-svj-footer-call]:hover,
[data-svj-footer-call]:focus,
[data-svj-footer-call]:focus-visible,
.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:focus,
.wpcf7 input.wpcf7-submit:focus-visible,
.wpcf7-submit:hover,
.wpcf7-submit:focus,
.wpcf7-submit:focus-visible {
  background: #344b08;
  border-color: #344b08;
  color: #fff;
}

[data-svj-site-footer] p a[href^="tel:"],
[data-svj-site-footer] p a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

/* 0.1.51: preserve the SV-John brand green and tighten tablet/mobile navigation. */
:root {
  --green: #97c11f;
  --green-dark: #5f7d0b;
  --green-contrast: #425f0a;
  --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='m6.4 4.9 5.6 5.6 5.6-5.6 1.5 1.5-5.6 5.6 5.6 5.6-1.5 1.5-5.6-5.6-5.6 5.6-1.5-1.5 5.6-5.6-5.6-5.6 1.5-1.5Z'/%3E%3C/svg%3E");
}

svj-topbar,
[data-svj-site-header] {
  background: var(--green) !important;
}

svj-topbar {
  background: var(--green-dark) !important;
  border-bottom-color: rgba(255, 255, 255, 0.28) !important;
}

svj-topbar-layout,
svj-topbar-layout a,
svj-topbar-layout span {
  color: var(--paper) !important;
}

[data-svj-site-header] {
  border-bottom-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 18px 42px rgba(111, 146, 18, 0.2) !important;
}

[data-svj-site-header].is-scrolled {
  box-shadow: 0 16px 34px rgba(111, 146, 18, 0.24) !important;
}

[data-svj-header-call],
[data-svj-footer-call],
[data-svj-button="primary"],
.wpcf7 input.wpcf7-submit,
.wpcf7-submit {
  background: var(--green) !important;
  border-color: var(--green) !important;
  color: #fff !important;
}

[data-svj-header-call] {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.92) !important;
  color: #fff !important;
  white-space: nowrap;
}

[data-svj-header-call]:hover,
[data-svj-header-call]:focus,
[data-svj-header-call]:focus-visible,
[data-svj-footer-call]:hover,
[data-svj-footer-call]:focus,
[data-svj-footer-call]:focus-visible,
[data-svj-button="primary"]:hover,
[data-svj-button="primary"]:focus,
[data-svj-button="primary"]:focus-visible,
.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:focus,
.wpcf7 input.wpcf7-submit:focus-visible,
.wpcf7-submit:hover,
.wpcf7-submit:focus,
.wpcf7-submit:focus-visible {
  background: #fff !important;
  border-color: #fff !important;
  color: var(--green-contrast) !important;
}

[data-svj-site-footer] [data-svj-footer-call] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: fit-content;
  min-height: 50px;
  margin-top: 0.45rem;
  padding: 0.9rem 1.25rem;
  box-shadow: 0 18px 38px rgba(151, 193, 31, 0.24);
}

[data-svj-site-footer] [data-svj-footer-call]::before {
  color: currentColor;
  background: currentColor;
}

/* 0.1.98: CookieYes visual overrides stay cacheable in theme CSS; consent logic remains plugin-owned. */
.cky-overlay,
.cky-consent-container,
.cky-modal,
.cky-btn-revisit-wrapper {
  position: fixed !important;
}

.cky-overlay {
  inset: 0 !important;
  background: rgba(16, 24, 30, 0.34) !important;
  backdrop-filter: blur(6px) !important;
}

.cky-hide {
  display: none !important;
}

.cky-consent-container {
  top: auto !important;
  right: auto !important;
  bottom: 1rem !important;
  left: 1rem !important;
  box-sizing: border-box !important;
  width: min(500px, calc(100vw - 2rem)) !important;
  max-width: calc(100vw - 2rem) !important;
  contain: layout style paint !important;
  z-index: 9999999 !important;
}

.cky-consent-container,
.cky-modal {
  animation: none !important;
  transition: none !important;
}

.cky-consent-container .cky-consent-bar,
.cky-preference-center {
  border-top: 5px solid var(--green) !important;
  border-radius: 24px !important;
  box-shadow: 0 26px 74px rgba(19, 30, 38, 0.22) !important;
}

.cky-notice .cky-title,
.cky-preference-title {
  font-family: "Work Sans", sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.cky-notice-des,
.cky-notice-des *,
.cky-preference-content-wrapper,
.cky-preference-content-wrapper * {
  font-family: "Work Sans", sans-serif !important;
  line-height: 1.45 !important;
}

.cky-notice-btn-wrapper,
.cky-prefrence-btn-wrapper {
  gap: 8px !important;
}

.cky-btn {
  min-height: 42px !important;
  border-radius: 999px !important;
  font-family: "Work Sans", sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.cky-btn-accept,
.cky-btn-accept:hover,
.cky-btn-accept:focus {
  background: var(--green-dark) !important;
  border-color: var(--green-dark) !important;
  color: #fff !important;
}

.cky-btn-customize,
.cky-btn-reject,
.cky-btn-preferences {
  background: #fff !important;
  border-color: var(--green) !important;
  color: var(--ink) !important;
}

.cky-btn-customize:hover,
.cky-btn-customize:focus,
.cky-btn-reject:hover,
.cky-btn-reject:focus,
.cky-btn-preferences:hover,
.cky-btn-preferences:focus {
  background: var(--green-soft) !important;
  color: var(--ink) !important;
}

.cky-show-desc-btn,
.cky-policy,
.cky-always-active {
  color: var(--green-dark) !important;
}

.cky-switch input[type="checkbox"]:checked {
  background: var(--green) !important;
}

.cky-btn:focus-visible,
.cky-switch input[type="checkbox"]:focus-visible,
.cky-btn-close:focus-visible {
  outline: 3px solid rgba(151, 193, 31, 0.42) !important;
  outline-offset: 3px !important;
}

.cky-modal {
  top: 50% !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  max-width: calc(100vw - 2rem) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, 100%) !important;
  z-index: 999999999 !important;
}

.cky-modal.cky-modal-open {
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, -50%) !important;
}

.cky-btn-revisit-wrapper {
  bottom: 1rem !important;
  left: 1rem !important;
  width: 45px !important;
  height: 45px !important;
  background: var(--green) !important;
}

.cky-btn-revisit-wrapper .cky-btn-revisit img {
  width: 30px !important;
  height: 30px !important;
}

@media (max-width: 600px) {
  .cky-consent-container {
    bottom: 0.75rem !important;
    left: 0.75rem !important;
    width: calc(100vw - 1.5rem) !important;
    max-width: calc(100vw - 1.5rem) !important;
  }

  .cky-consent-container .cky-consent-bar {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .cky-notice .cky-title {
    margin: 0 0 5px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
  }

  .cky-notice-des,
  .cky-notice-des * {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .cky-notice-des {
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .cky-notice-btn-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    margin-top: 10px !important;
    padding: 0 !important;
  }

  .cky-notice-btn-wrapper .cky-btn-accept {
    grid-column: 1 / -1 !important;
  }

  .cky-btn {
    width: 100% !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    font-size: 12px !important;
  }
}

[data-svj-panel="legal"] table {
  width: 100%;
  margin: 1.2rem 0 1.6rem;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

[data-svj-panel="legal"] td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

[data-svj-panel="legal"] tr:last-child td {
  border-bottom: 0;
}

[data-svj-panel="legal"] td:first-child {
  width: min(42%, 280px);
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 1100px) {
  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 78;
    background: rgba(16, 24, 30, 0.42);
    backdrop-filter: blur(7px);
  }

  svj-header-layout {
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
    gap: clamp(0.55rem, 2vw, 1rem);
    min-height: 88px;
  }

  svj-brand {
    grid-column: 1;
  }

  svj-brand img {
    width: 74px;
  }

  [data-svj-header-call] {
    grid-column: 3 !important;
    justify-self: end !important;
    min-height: 46px;
    padding: 0.75rem 1rem;
  }

  [data-svj-nav-toggle] {
    display: inline-flex !important;
    grid-column: 4 !important;
    justify-self: end;
    width: 48px;
    height: 48px;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.16) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 15px;
  }

  [data-svj-nav-toggle] span:not(svj-visually-hidden) {
    background: currentColor !important;
  }

  [data-svj-primary-navigation] {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100;
    display: block !important;
    width: 100vw !important;
    min-height: 100dvh;
    padding: 6.5rem clamp(1rem, 5vw, 2.4rem) 1.6rem !important;
    background:
      linear-gradient(180deg, rgba(151, 193, 31, 0.98), rgba(111, 146, 18, 0.98)),
      var(--header-image) center / cover no-repeat !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    clip-path: inset(0 0 0 100%);
    opacity: 0;
    pointer-events: none;
    transform: none !important;
    visibility: hidden;
    overflow-y: auto;
    transition: clip-path 240ms var(--motion-ease), opacity 180ms ease, visibility 0s linear 240ms;
  }

  [data-svj-site-header].nav-open [data-svj-primary-navigation] {
    clip-path: inset(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: clip-path 240ms var(--motion-ease), opacity 180ms ease;
  }

  [data-svj-primary-navigation] > div,
  [data-svj-primary-navigation] > div > ul,
  [data-svj-primary-navigation] > ul {
    width: min(100%, 720px) !important;
    margin-inline: auto;
  }

  [data-svj-primary-navigation] ul {
    display: grid !important;
    justify-content: stretch !important;
    gap: 0.62rem !important;
    width: 100%;
  }

  [data-svj-primary-navigation] a {
    min-height: 58px !important;
    padding: 0.88rem 1rem !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 18px !important;
    box-shadow: none !important;
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  [data-svj-primary-navigation] a:hover,
  [data-svj-primary-navigation] a:focus,
  [data-svj-primary-navigation] .current-menu-item > a,
  [data-svj-primary-navigation] .current-menu-parent > a,
  [data-svj-primary-navigation] .current-menu-ancestor > a {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #fff !important;
  }

  [data-svj-primary-navigation] li > ul {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0.45rem 0 0.88rem !important;
    padding: 0.62rem !important;
    gap: 0.42rem !important;
    background: rgba(63, 93, 5, 0.34) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 22px !important;
    box-shadow: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }

  [data-svj-site-header].nav-open svj-brand {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 124;
  }

  [data-svj-site-header].nav-open svj-brand img {
    width: 70px;
  }

  [data-svj-site-header].nav-open [data-svj-nav-toggle] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 125;
    color: var(--green-contrast) !important;
    background: #fff !important;
    border-color: rgba(255, 255, 255, 0.88) !important;
  }

  [data-svj-site-header].nav-open [data-svj-nav-toggle] span:not(svj-visually-hidden) {
    background: currentColor !important;
  }
}

@media (max-width: 560px) {
  svj-header-layout {
    min-height: 72px;
  }

  svj-brand img {
    width: 62px;
  }

  [data-svj-header-call] {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0 !important;
    border-radius: 15px;
  }

  svj-header-call-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  [data-svj-header-call]::before {
    margin: 0;
  }

  [data-svj-panel="legal"] td {
    display: block;
    width: 100% !important;
  }
}

/* 0.1.52: larger desktop navigation and reliable gallery lightbox fallback. */
@media (min-width: 1101px) {
  [data-svj-primary-navigation] > div > ul {
    gap: clamp(0.35rem, 0.9vw, 0.85rem);
  }

  [data-svj-primary-navigation] > div > ul > li > a,
  [data-svj-primary-navigation] > ul > li > a {
    font-size: clamp(0.84rem, 0.67rem + 0.46vw, 1.05rem) !important;
    letter-spacing: 0.01em;
    padding-inline: clamp(0.35rem, 0.65vw, 0.62rem) !important;
  }

  [data-svj-site-header].is-scrolled [data-svj-primary-navigation] > div > ul > li > a,
  [data-svj-site-header].is-scrolled [data-svj-primary-navigation] > ul > li > a {
    font-size: clamp(0.78rem, 0.62rem + 0.41vw, 0.97rem) !important;
  }

  [data-svj-primary-navigation] li > ul a {
    font-size: 1.08rem !important;
  }
}

@media (max-width: 1100px) {
  [data-svj-primary-navigation] a {
    font-size: clamp(1.18rem, 4.7vw, 1.42rem) !important;
  }

  [data-svj-primary-navigation] li > ul a {
    font-size: clamp(1.02rem, 4vw, 1.18rem) !important;
  }
}

/* 0.1.55: icon-only call button in the header navigation. */
[data-svj-header-call] {
  width: 54px !important;
  min-width: 54px !important;
  max-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  flex: 0 0 54px;
  gap: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
}

svj-header-call-label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

[data-svj-header-call]::before {
  width: 1.22rem !important;
  height: 1.22rem !important;
  margin: 0 !important;
}

@media (max-width: 1100px) {
  [data-svj-header-call] {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    flex-basis: 48px;
  }
}

body[data-svj-lightbox-open] {
  overflow: hidden;
}

svj-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: rgba(14, 20, 24, 0.88);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

svj-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

svj-lightbox-panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1180px, 100%);
  max-height: min(84vh, 820px);
  padding: clamp(0.55rem, 1.4vw, 0.85rem);
  background:
    radial-gradient(circle at 12% 8%, rgba(151, 193, 31, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: clamp(24px, 4vw, 38px);
  box-shadow: 0 38px 110px rgba(0, 0, 0, 0.36);
  transform: translateY(12px) scale(0.98);
  transition: transform 260ms var(--motion-ease);
}

svj-lightbox.is-open svj-lightbox-panel {
  transform: translateY(0) scale(1);
}

svj-lightbox-image-wrap {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  background: #f5f7f4;
  border-radius: clamp(19px, 3vw, 30px);
}

[data-svj-lightbox-image] {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(84vh - 110px);
  border-radius: clamp(16px, 2.4vw, 26px);
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(19, 30, 38, 0.18);
}

svj-lightbox-caption {
  margin: 0;
  padding: 0.85rem clamp(0.5rem, 2vw, 1.2rem) 0.2rem;
  color: var(--ink);
  font-size: clamp(0.9rem, 0.84rem + 0.18vw, 1rem);
  font-weight: 700;
  text-align: center;
}

[data-svj-lightbox-button] {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--green);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  box-shadow: 0 16px 32px rgba(19, 30, 38, 0.24);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

[data-svj-lightbox-button]:hover,
[data-svj-lightbox-button]:focus-visible {
  color: var(--green-contrast);
  background: #fff;
  transform: translateY(-1px);
}

[data-svj-lightbox-button]:focus-visible {
  outline: 3px solid rgba(151, 193, 31, 0.46);
  outline-offset: 3px;
}

[data-svj-lightbox-control="close"] {
  top: clamp(0.9rem, 2vw, 1.25rem);
  right: clamp(0.9rem, 2vw, 1.25rem);
}

[data-svj-lightbox-control="prev"],
[data-svj-lightbox-control="next"] {
  top: 50%;
  transform: translateY(-50%);
}

[data-svj-lightbox-control="prev"]:hover,
[data-svj-lightbox-control="prev"]:focus-visible,
[data-svj-lightbox-control="next"]:hover,
[data-svj-lightbox-control="next"]:focus-visible {
  transform: translateY(calc(-50% - 1px));
}

[data-svj-lightbox-control="prev"] {
  left: clamp(0.85rem, 2vw, 1.3rem);
}

[data-svj-lightbox-control="next"] {
  right: clamp(0.85rem, 2vw, 1.3rem);
}

[data-svj-lightbox-button]::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
  mask: var(--icon-arrow) center / contain no-repeat;
}

[data-svj-lightbox-control="close"]::before {
  -webkit-mask-image: var(--icon-close);
  mask-image: var(--icon-close);
}

[data-svj-lightbox-control="prev"]::before {
  transform: rotate(180deg);
}

@media (max-width: 700px) {
  svj-lightbox {
    padding: 0.75rem;
  }

  svj-lightbox-panel {
    max-height: 86vh;
    border-radius: 24px;
  }

  [data-svj-lightbox-image] {
    max-height: calc(86vh - 104px);
  }

  [data-svj-lightbox-button] {
    width: 44px;
    height: 44px;
  }

  [data-svj-lightbox-control="prev"] {
    left: 0.55rem;
  }

  [data-svj-lightbox-control="next"] {
    right: 0.55rem;
  }
}

/* 0.1.56: local muted hero loops replace the static header image. */
[data-svj-hero="home"],
[data-svj-hero="page"],
[data-svj-hero="service"] {
  isolation: isolate;
  background: var(--hero-loop-poster, var(--header-image)) center / cover no-repeat;
}

[data-svj-hero="home"] {
  --hero-loop-overlay: rgba(255, 255, 255, 0.8);
}

[data-svj-hero="page"],
[data-svj-hero="service"] {
  --hero-loop-overlay: rgba(255, 255, 255, 0.8);
}

svj-hero-loop,
[data-svj-hero="home"]::after,
[data-svj-hero="page"]::after,
[data-svj-hero="service"]::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

svj-hero-loop {
  z-index: 0;
  background: var(--hero-loop-poster, var(--header-image)) center / cover no-repeat;
}

svj-hero-loop img,
svj-hero-loop video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-svj-hero="home"]::after,
[data-svj-hero="page"]::after,
[data-svj-hero="service"]::after {
  content: "";
  z-index: 1;
  background: var(--hero-loop-overlay);
}

[data-svj-hero="home"]::before {
  z-index: 2;
}

[data-svj-hero="home"] > svj-container,
[data-svj-hero="page"] > svj-container,
[data-svj-hero="service"] > svj-container {
  position: relative;
  z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
  svj-hero-loop video {
    display: none;
  }
}

[data-svj-editable-layout] > :is(p, h2, h3, h4, ul, ol, blockquote, .wp-block-shortcode, .wp-block-image, .wp-block-gallery) {
  width: min(var(--container), calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

[data-svj-editable-layout] > :is(p, ul, ol, blockquote) {
  font-size: 1.04rem;
  line-height: 1.75;
}

[data-svj-editable-layout] > :is(h2, h3, h4) {
  margin-top: clamp(2rem, 5vw, 4rem);
}

svj-proof-gallery {
  display: block;
}

@media (max-width: 900px) {
  [data-svj-page="unfallgutachten-microsite"] [data-svj-section] {
    padding: clamp(2.2rem, 9vw, 3.4rem) 0;
  }

  [data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-hero"] {
    padding: clamp(2rem, 8vw, 3rem) 0 clamp(2rem, 7vw, 2.8rem);
  }

  [data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-page-hero"] {
    padding: clamp(2rem, 8vw, 3rem) 0 clamp(1.25rem, 5vw, 2rem);
  }

  [data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-nav"] {
    padding: clamp(1.25rem, 6vw, 2rem) 0 clamp(1.8rem, 7vw, 2.7rem);
  }

  svj-micro-hero,
  svj-micro-contact-grid {
    grid-template-columns: 1fr;
  }

  svj-micro-hero {
    gap: clamp(1.4rem, 5vw, 2rem);
  }

  svj-micro-nav-grid {
    grid-template-columns: 1fr;
  }

  svj-micro-hero h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 10vw, 3rem);
    line-height: 1.02;
  }

  svj-micro-page-heading h1 {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.2vw, 2.4rem);
    line-height: 1.08;
  }

  svj-micro-hero p,
  svj-micro-page-heading p {
    font-size: 1rem;
    line-height: 1.58;
  }

  svj-micro-hero figure {
    aspect-ratio: 16 / 10;
  }

  [svj-micro-nav-card] {
    min-height: 126px;
    padding: 1.1rem;
  }

  [data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-contact"] svj-micro-contact-grid {
    max-width: 100%;
  }

  [data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-contact"] svj-micro-contact-panel {
    grid-template-columns: 1fr;
    align-items: start;
  }

  svj-micro-process-layout {
    grid-template-columns: 1fr;
  }

  [data-svj-page="unfallgutachten-microsite"] [data-svj-section="micro-process"] svj-micro-process-layout svj-micro-contact-panel {
    position: static;
  }
}

/* 0.1.58: compact mobile header with call control beside the menu button. */
@media (max-width: 1100px) {
  svj-topbar-layout {
    min-height: 34px;
    gap: 0.75rem;
    font-size: 0.9rem;
  }

  svj-header-layout {
    grid-template-columns: auto minmax(0, 1fr) 48px 48px !important;
    align-items: center !important;
    gap: 0.55rem !important;
    min-height: 72px !important;
    padding: 0.35rem 0 !important;
  }

  svj-brand img {
    width: 62px !important;
  }

  [data-svj-header-call] {
    grid-column: 3 !important;
    grid-row: 1 !important;
    order: 0 !important;
    align-self: center !important;
    justify-self: end !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
  }

  [data-svj-nav-toggle] {
    grid-column: 4 !important;
    grid-row: 1 !important;
    order: 0 !important;
    align-self: center !important;
    justify-self: end !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
  }

  [data-svj-primary-navigation] {
    padding-top: 5.6rem !important;
  }

  [data-svj-primary-navigation] ul {
    gap: 0.5rem !important;
  }

  [data-svj-primary-navigation] a {
    min-height: 50px !important;
    padding: 0.72rem 0.9rem !important;
  }

  [data-svj-primary-navigation] li > ul a {
    min-height: 44px !important;
  }

  [data-svj-site-header].nav-open svj-brand,
  [data-svj-site-header].nav-open [data-svj-nav-toggle],
  [data-svj-site-header].nav-open [data-svj-header-call] {
    top: 0.8rem !important;
  }

  [data-svj-site-header].nav-open [data-svj-header-call] {
    position: fixed !important;
    right: calc(0.8rem + 48px + 0.55rem) !important;
    z-index: 125;
    display: inline-flex !important;
    color: var(--green-contrast) !important;
    background: #fff !important;
    border-color: rgba(255, 255, 255, 0.88) !important;
  }

  [data-svj-site-header].nav-open [data-svj-nav-toggle] {
    right: 0.8rem !important;
  }

  [data-svj-site-header].nav-open svj-brand {
    left: 0.8rem !important;
  }
}

@media (max-width: 560px) {
  svj-topbar-layout {
    justify-content: flex-start;
    min-height: 32px;
    gap: 0.7rem;
    overflow: hidden;
    font-size: clamp(0.76rem, 3.7vw, 0.9rem);
  }

  svj-topbar-layout a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  svj-header-layout {
    grid-template-columns: auto minmax(0, 1fr) 44px 48px !important;
    gap: 0.42rem !important;
    min-height: 64px !important;
    padding: 0.28rem 0 !important;
  }

  svj-brand img {
    width: 56px !important;
  }

  [data-svj-header-call] {
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }

  [data-svj-nav-toggle] {
    width: 48px !important;
    height: 48px !important;
  }

  [data-svj-primary-navigation] {
    padding-top: 5rem !important;
  }

  [data-svj-primary-navigation] a {
    min-height: 46px !important;
    padding: 0.62rem 0.8rem !important;
  }

  [data-svj-site-header].nav-open [data-svj-header-call] {
    top: calc(0.8rem + 2px) !important;
    right: calc(0.8rem + 48px + 0.42rem) !important;
  }
}

/* 0.1.85: clearer topbar contacts and Oldtimer service label. */
svj-topbar-layout a[data-svj-icon] {
  font-size: 1.1rem;
  line-height: 1.25;
}

svj-topbar-layout a[data-svj-icon]::before {
  width: 1.1em;
  height: 1.1em;
}

@media (max-width: 560px) {
  svj-topbar {
    padding-top: 0.18rem;
  }

  svj-topbar-layout {
    padding-top: 0.2rem;
  }
}
