/*
Theme Name: GBS Schaffer Astra Child
Theme URI: https://www.schaffer-gutachter.de/
Description: Layoutgetreue WordPress-Fassung der Website des Gutachterbüros Schaffer.
Author: Gutachterbüro Schaffer
Version: 2.3.1
Template: astra
Text Domain: gbs-schaffer
Requires at least: 6.7
Requires PHP: 8.0
*/

@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2-variations");
}

:root {
  --navy: #1a3553;
  --navy-deep: #102941;
  --ink: #142536;
  --slate: #4f5b64;
  --gray: #696e6e;
  --muted: #eef1f2;
  --cream: #f6f4f0;
  --white: #ffffff;
  --line: #dfe3e4;
  --bronze: #b9a081;
  --gbs-hero-stripe-color: #b9a081;
  --shadow: 0 24px 70px rgba(17, 40, 62, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope Variable", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: "Manrope Variable", "Segoe UI", Arial, sans-serif;
}

img {
  max-width: 100%;
}

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

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

button,
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(26, 53, 83, 0.28);
  outline-offset: 4px;
}

::selection {
  background: rgba(185, 160, 129, 0.35);
}

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

.container {
  width: min(100% - 64px, 1280px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #d9c9b6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 620;
  hyphens: auto;
  letter-spacing: -0.035em;
  line-height: 1.14;
  overflow-wrap: normal;
  word-break: normal;
}

h1 {
  font-size: clamp(2.75rem, 5.1vw, 4.65rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 14px 25px;
  font-size: 0.96rem;
  font-weight: 690;
  hyphens: none;
  line-height: 1.2;
  overflow-wrap: normal;
  text-align: center;
  white-space: normal;
  word-break: normal;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  color: var(--white);
}

.button-primary:hover {
  background: var(--navy-deep);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-light:hover {
  background: var(--cream);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 690;
  hyphens: none;
  line-height: 1.8;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.text-link svg,
.card-link svg,
.region-links svg {
  transition: transform 180ms ease;
}

.text-link:hover svg,
.info-card:hover .card-link svg,
.region-links a:hover svg {
  transform: translateX(4px);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(26, 53, 83, 0.1);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.utility-bar {
  min-height: 34px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.utility-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.utility-links,
.utility-links a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.utility-links a:hover {
  color: var(--white);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 32px;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-logo-header {
  width: clamp(210px, 18vw, 235px);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 27px);
  margin-left: auto;
}

.desktop-nav > a,
.nav-group > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 29px 0;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 650;
  white-space: nowrap;
}

.desktop-nav > a::after,
.nav-group > a::after {
  position: absolute;
  bottom: 21px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bronze);
  content: "";
  transition: width 180ms ease;
}

.desktop-nav > a:hover::after,
.nav-group:hover > a::after,
.nav-group:focus-within > a::after {
  width: 100%;
}

.nav-group {
  position: relative;
}

.nav-popover {
  position: absolute;
  top: calc(100% - 5px);
  left: -24px;
  display: grid;
  width: 300px;
  visibility: hidden;
  transform: translateY(8px);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.nav-group:hover .nav-popover,
.nav-group:focus-within .nav-popover {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}

.nav-popover a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f1;
  padding: 12px 20px;
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 590;
}

.nav-popover a:hover {
  background: var(--cream);
  color: var(--navy);
}

.nav-popover .nav-overview {
  background: var(--navy);
  color: var(--white);
  font-weight: 690;
}

.nav-popover .nav-overview:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.header-contact {
  flex: 0 0 auto;
  border: 1px solid var(--navy);
  padding: 10px 16px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 720;
  transition: background-color 160ms ease, color 160ms ease;
}

.header-contact:hover {
  background: var(--navy);
  color: var(--white);
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu summary {
  display: grid;
  width: 46px;
  height: 46px;
  list-style: none;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--navy);
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu > nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  border-top: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 18px 32px 30px;
}

.mobile-menu nav a {
  display: block;
  padding: 8px 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.mobile-menu .mobile-nav-heading {
  color: var(--navy);
  font-size: 1rem;
  font-weight: 730;
}

.mobile-nav-group {
  border-bottom: 1px solid var(--line);
  padding: 8px 0 12px;
}

/* Home hero */
.home-hero {
  overflow: hidden;
  background: var(--cream);
  padding: 28px 0 0;
}

.home-hero-grid {
  display: grid;
  min-height: 570px;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
}

.home-hero-copy {
  position: relative;
  display: flex;
  align-items: center;
  padding: 55px 36px 80px 42px;
}

.home-hero-copy::before {
  position: absolute;
  top: 78px;
  bottom: 80px;
  left: 0;
  width: 2px;
  background: var(--gbs-hero-stripe-color, var(--bronze));
  content: "";
}

.home-hero-inner {
  width: 100%;
  max-width: 760px;
  animation: reveal-up 480ms ease-out both;
}

.home-hero h1 {
  margin-bottom: 25px;
  font-size: clamp(2.55rem, 3.8vw, 3.45rem);
}

.home-hero h1 span {
  display: block;
  color: var(--ink);
  font-weight: 500;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 32px;
  color: var(--slate);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px 40px;
}

.hero-mini-proof {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  color: var(--gray);
  font-size: 0.82rem;
  font-weight: 620;
}

.hero-mini-proof svg {
  color: var(--bronze);
}

.home-hero-image {
  position: relative;
  min-height: 570px;
  animation: image-reveal 720ms ease-out both;
}

.home-hero-image img {
  object-fit: cover;
  object-position: 67% 50%;
}

/* Trust */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  min-height: 118px;
  grid-template-columns: repeat(3, 1fr);
}

.trust-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-right: 1px solid var(--line);
  color: var(--navy);
  font-size: 0.93rem;
  font-weight: 660;
  text-align: center;
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid svg {
  width: 27px;
  height: 27px;
  color: var(--bronze);
  stroke-width: 1.6;
}

.trust-seal-item {
  gap: 18px !important;
}

.trust-seal-thumb {
  width: 50px;
  height: 83px;
  flex: 0 0 auto;
  object-fit: contain;
}

.trust-seal-item > span {
  display: grid;
  gap: 3px;
  text-align: left;
}

.trust-seal-item small {
  color: var(--gray);
  font-size: 0.7rem;
  font-weight: 560;
}

/* Pricing */
.pricing-section {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.76);
}

.pricing-section-compact {
  padding: 90px 0;
}

.pricing-section .section-header h2 {
  color: var(--white);
}

.pricing-section .section-header > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-section .eyebrow {
  color: #d7c4ae;
}

.pricing-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  border-top: 4px solid var(--bronze);
  background: var(--white);
  padding: 31px 28px 27px;
  color: var(--slate);
  box-shadow: 0 18px 50px rgba(4, 18, 31, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(4, 18, 31, 0.23);
}

.price-card-title {
  min-height: 52px;
  margin-bottom: 18px;
  color: var(--navy);
  font-size: 1.06rem;
  font-weight: 720;
  line-height: 1.35;
}

.price-card-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: 0;
  color: var(--navy);
  line-height: 1;
}

.price-card-value > span {
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 650;
  text-transform: uppercase;
}

.price-card-value strong {
  font-size: clamp(2rem, 2.8vw, 2.75rem);
  font-weight: 640;
  letter-spacing: -0.05em;
}

.price-card-value em {
  color: var(--gray);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 640;
}

.price-card small {
  display: block;
  margin-top: 9px;
  color: var(--gray);
  font-size: 0.7rem;
}

.price-card > p {
  margin: 28px 0 25px;
  font-size: 0.88rem;
}

.price-card .card-link {
  margin-top: auto;
}

.pricing-note {
  max-width: 920px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
}

.service-price-section {
  border-bottom: 1px solid var(--line);
  background: #f2f5f6;
}

.service-price-panel {
  display: grid;
  gap: clamp(40px, 7vw, 100px);
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  padding-top: 62px;
  padding-bottom: 62px;
}

.service-price-panel h2 {
  max-width: 630px;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3vw, 2.8rem);
}

.service-price-panel > div:last-child {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.service-price-panel > div:last-child p {
  margin-bottom: 23px;
  color: var(--slate);
}

/* Certification */
.certification-section {
  background: var(--white);
}

.certification-panel {
  display: grid;
  gap: clamp(45px, 7vw, 95px);
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1.58fr);
  align-items: center;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: clamp(38px, 5vw, 68px);
}

.certification-seal-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.certification-seal-wrap img {
  display: block;
  width: min(175px, 100%);
  height: auto;
}

.certification-panel h2 {
  max-width: 850px;
  margin-bottom: 23px;
}

.certification-panel > div:last-child > p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 25px;
  color: var(--slate);
}

/* Shared sections */
.section {
  padding: 104px 0;
}

.section-tint,
.section-faq,
.section-process,
.section-page-cards {
  background: var(--cream);
}

.section-header {
  max-width: 790px;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 20px;
}

.section-header > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--slate);
  font-size: 1.05rem;
}

.section-header-center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-header-center > p:last-child {
  margin-inline: auto;
}

.intro-grid {
  display: grid;
  align-items: start;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.intro-grid .section-header {
  margin-bottom: 0;
}

.intro-copy > p {
  margin-bottom: 28px;
  color: var(--slate);
  font-size: 1.08rem;
}

.check-list,
.detail-list {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-weight: 590;
}

.check-list svg,
.detail-list svg {
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--bronze);
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.info-card {
  position: relative;
  display: flex;
  min-height: 295px;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 32px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.info-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--bronze);
  content: "";
  transition: width 220ms ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: #c9d0d2;
  box-shadow: 0 18px 45px rgba(17, 40, 62, 0.09);
}

.info-card:hover::after {
  width: 100%;
}

.card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid #d8dfe1;
  color: var(--navy);
}

.card-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.6;
}

.info-card h3 {
  margin-bottom: 13px;
  font-size: 1.27rem;
}

.info-card p {
  margin-bottom: 24px;
  color: var(--slate);
  font-size: 0.93rem;
  line-height: 1.75;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 720;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* Process */
.process-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid #d8ddde;
}

.process-grid article {
  position: relative;
  border-right: 1px solid #d8ddde;
  padding: 36px 26px 12px 0;
}

.process-grid article:not(:first-child) {
  padding-left: 26px;
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid article > span {
  display: block;
  margin-bottom: 20px;
  color: var(--bronze);
  font-size: 0.77rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.process-grid h3 {
  margin-bottom: 13px;
  font-size: 1.05rem;
}

.process-grid p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.83rem;
  line-height: 1.7;
}

/* Regional feature */
.split-feature {
  display: grid;
  min-height: 610px;
  grid-template-columns: 1.06fr 0.94fr;
}

.split-image {
  position: relative;
  min-height: 520px;
}

.split-image img {
  object-fit: cover;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--navy);
  padding: clamp(42px, 6vw, 85px);
  color: rgba(255, 255, 255, 0.78);
}

.split-copy h2 {
  margin-bottom: 26px;
  color: var(--white);
}

.split-copy > p:not(.eyebrow) {
  margin-bottom: 30px;
  font-size: 1.02rem;
}

.split-copy .eyebrow {
  color: #d7c4ae;
}

.region-links {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.region-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding: 14px 0;
  color: var(--white);
  font-weight: 650;
}

/* About home */
.section-about-home {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
}

.about-home-grid {
  display: grid;
  gap: clamp(44px, 6vw, 88px);
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
}

.about-home-image {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #173450;
}

.about-home-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(16, 41, 65, 0.28));
  content: "";
  pointer-events: none;
}

.about-home-image img {
  object-fit: cover;
  object-position: center top;
}

.about-home-content {
  display: grid;
  align-content: center;
  gap: clamp(36px, 4vw, 52px);
}

.about-home-copy h2 {
  max-width: 880px;
  margin-bottom: 25px;
  color: var(--white);
  font-size: clamp(2.05rem, 3.15vw, 3.15rem);
}

.about-home-copy > p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 32px;
  font-size: 1.03rem;
}

.about-home-copy strong {
  color: var(--white);
  font-weight: 680;
}

.credential-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.credential-list > div {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 18px 22px 18px 0;
  color: var(--white);
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.5;
}

.credential-list > div:nth-child(even) {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-right: 0;
  padding-left: 22px;
}

.credential-list svg {
  width: 20px;
  min-width: 20px;
  color: var(--bronze);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-grid article {
  display: flex;
  min-height: 335px;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 34px;
}

.testimonial-grid > article > svg {
  width: 32px;
  height: 32px;
  margin-bottom: 28px;
  color: var(--bronze);
  stroke-width: 1.4;
}

.testimonial-grid blockquote {
  margin: 0 0 30px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.78;
}

.testimonial-grid article > p {
  display: grid;
  gap: 2px;
  margin-top: auto;
  margin-bottom: 0;
  color: var(--navy);
}

.testimonial-grid article > p span {
  color: var(--gray);
  font-size: 0.8rem;
}

/* FAQ */
.faq-layout {
  display: grid;
  align-items: start;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
}

.faq-layout .section-header {
  position: sticky;
  top: 150px;
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid #cfd5d7;
}

.faq-list details {
  border-bottom: 1px solid #cfd5d7;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  padding: 24px 0;
  color: var(--navy);
  font-weight: 680;
}

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

.faq-list summary svg {
  width: 21px;
  min-width: 21px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(180deg);
}

.faq-list details p {
  max-width: 780px;
  margin: -4px 40px 24px 0;
  color: var(--slate);
  font-size: 0.94rem;
}

/* CTA */
.section-cta {
  padding: 0;
  background: var(--white);
}

.cta-panel {
  display: grid;
  align-items: center;
  gap: 70px;
  grid-template-columns: 1.3fr 0.7fr;
  background: var(--navy);
  padding: 68px 76px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-panel h2 {
  margin-bottom: 18px;
  color: var(--white);
}

.cta-panel p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-actions {
  display: grid;
  gap: 14px;
}

.cta-actions > a:not(.button) {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 620;
}

/* Inner page hero */
.page-hero {
  overflow: hidden;
  background: var(--cream);
  padding: 28px 0 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--gray);
  font-size: 0.76rem;
  font-weight: 580;
}

.breadcrumbs > span {
  display: flex;
  gap: 8px;
}

.breadcrumbs a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.page-hero-grid {
  display: grid;
  min-height: 570px;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
}

.page-hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px 40px 80px 42px;
}

.page-hero-copy::before {
  position: absolute;
  top: 78px;
  bottom: 80px;
  left: 0;
  width: 2px;
  background: var(--gbs-hero-stripe-color, var(--bronze));
  content: "";
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 25px;
  font-size: clamp(2.5rem, 3.9vw, 3.55rem);
}

.page-hero-image {
  position: relative;
  min-height: 570px;
}

.page-hero-image img {
  object-fit: cover;
}

.section-highlights {
  padding: 58px 0;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.highlight-grid-3,
.highlight-grid-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.highlight-grid > div {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  padding: 24px 20px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 650;
}

.highlight-grid > div:last-child {
  border-right: 0;
}

.highlight-grid-6 > div:nth-child(3) {
  border-right: 0;
}

.highlight-grid-6 > div:nth-child(-n + 3) {
  border-bottom: 1px solid var(--line);
}

.highlight-grid svg {
  width: 20px;
  min-width: 20px;
  color: var(--bronze);
}

.content-stack {
  display: grid;
  gap: 90px;
}

.content-block {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.content-block h2 {
  margin-bottom: 0;
}

.content-block > div:last-child > p {
  color: var(--slate);
  font-size: 1.02rem;
}

.content-block > div:last-child > p:last-of-type {
  margin-bottom: 0;
}

.content-block .detail-list {
  margin-top: 30px;
}

.content-block-offset {
  border-top: 1px solid var(--line);
  padding-top: 90px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: -4px 0 24px;
  color: var(--gray);
  font-size: 0.76rem;
  font-weight: 620;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-meta span:first-child {
  color: var(--navy);
  font-weight: 730;
}

.content-toc-section {
  padding: 54px 0 0;
}

.content-toc {
  display: grid;
  gap: 55px;
  grid-template-columns: 0.72fr 1.28fr;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 42px 48px;
}

.content-toc .eyebrow {
  margin-bottom: 12px;
}

.content-toc h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
}

.content-toc nav {
  display: grid;
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #d3d9da;
}

.content-toc a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  border-bottom: 1px solid #d3d9da;
  padding: 12px 16px 12px 0;
  color: var(--slate);
  font-size: 0.79rem;
  font-weight: 630;
  line-height: 1.45;
}

.content-toc a:nth-child(odd) {
  margin-right: 20px;
}

.content-toc a:hover {
  color: var(--navy);
}

.content-toc a span {
  color: var(--bronze);
  font-size: 0.71rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.data-table-wrap {
  overflow-x: auto;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.data-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  color: var(--slate);
  font-size: 0.81rem;
  line-height: 1.5;
  text-align: left;
}

.data-table-wrap caption {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  padding: 14px 17px;
  color: var(--navy);
  font-weight: 730;
  text-align: left;
}

.data-table-wrap th,
.data-table-wrap td {
  min-width: 150px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  vertical-align: top;
}

.data-table-wrap th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 720;
}

.data-table-wrap tr:last-child td {
  border-bottom: 0;
}

.data-table-wrap th:last-child,
.data-table-wrap td:last-child {
  border-right: 0;
}

.content-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 28px;
  border-left: 2px solid var(--bronze);
  background: var(--cream);
  padding: 19px 21px;
}

.content-note svg {
  width: 20px;
  min-width: 20px;
  margin-top: 2px;
  color: var(--bronze);
}

.content-note p {
  margin: 0;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 620;
}

.source-section {
  background: var(--cream);
}

.source-layout {
  display: grid;
  gap: 70px;
  grid-template-columns: 0.72fr 1.28fr;
}

.source-layout .section-header {
  margin-bottom: 0;
}

.source-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid #d3d9da;
}

.source-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #d3d9da;
  padding: 18px 4px;
  color: var(--navy);
}

.source-list a:hover {
  padding-left: 8px;
}

.source-list a > span {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 3px;
}

.source-list strong {
  font-size: 0.88rem;
  hyphens: manual;
  hyphenate-limit-chars: 10 5 5;
  overflow-wrap: normal;
  word-break: normal;
}

.source-list small {
  color: var(--slate);
  font-size: 0.73rem;
  font-weight: 500;
}

.source-list svg {
  width: 18px;
  min-width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--bronze);
}

.related-section {
  border-top: 1px solid var(--line);
}

/* Contact */
.contact-section {
  padding-top: 0;
}

.contact-layout {
  display: grid;
  align-items: start;
  gap: 55px;
  grid-template-columns: 1.25fr 0.75fr;
}

.contact-form {
  border: 1px solid var(--line);
  background: var(--white);
  padding: clamp(30px, 5vw, 58px);
  box-shadow: var(--shadow);
}

.form-heading {
  margin-bottom: 36px;
}

.form-heading h2 {
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.form-heading > p:last-child {
  color: var(--slate);
}

.form-grid {
  display: grid;
  gap: 21px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 28px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.81rem;
  font-weight: 680;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #cbd2d4;
  border-radius: 0;
  background: #fff;
  padding: 13px 14px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 440;
}

.form-grid input,
.form-grid select {
  min-height: 50px;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--navy);
  outline: 3px solid rgba(26, 53, 83, 0.11);
}

.form-full {
  grid-column: 1 / -1;
}

.form-grid .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--slate);
  font-size: 0.76rem;
  font-weight: 520;
}

.checkbox input {
  width: 17px;
  height: 17px;
  min-height: auto;
  margin: 2px 0 0;
}

.checkbox a {
  color: var(--navy);
  text-decoration: underline;
}

.contact-form button {
  cursor: pointer;
}

.form-status {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 620;
}

.contact-aside {
  background: var(--cream);
  padding: 42px;
}

.contact-aside h2 {
  margin-bottom: 18px;
  font-size: 2.2rem;
}

.contact-aside > p:not(.eyebrow) {
  color: var(--slate);
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #d8dcdd;
  padding: 16px 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 680;
}

.contact-line:last-of-type {
  border-bottom: 1px solid #d8dcdd;
}

.contact-line > svg {
  width: 20px;
  min-width: 20px;
  color: var(--bronze);
}

.contact-line span {
  display: grid;
}

.contact-line small {
  color: var(--gray);
  font-size: 0.69rem;
  font-weight: 590;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-note {
  margin-top: 20px;
  font-size: 0.78rem;
}

.location-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 65px;
}

.location-grid article {
  display: flex;
  gap: 20px;
  border: 1px solid var(--line);
  padding: 32px;
}

.location-grid article > svg {
  width: 24px;
  min-width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--bronze);
}

.location-grid article > div {
  min-width: 0;
}

.location-grid .eyebrow {
  margin-bottom: 9px;
}

.location-grid h3 {
  margin-bottom: 12px;
}

.location-grid p:not(.eyebrow) {
  color: var(--slate);
}

.location-grid a {
  color: var(--navy);
  font-weight: 700;
}

/* Values and guide */
.values-section {
  background: var(--navy-deep);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.values-grid > div {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 50px;
}

.values-grid > div:first-child {
  padding-left: 0;
}

.values-grid > div:last-child {
  border-right: 0;
}

.values-grid span {
  color: var(--bronze);
  font-size: 0.77rem;
  font-weight: 750;
}

.values-grid h3 {
  margin: 17px 0 12px;
  color: var(--white);
  font-size: 1.5rem;
}

.values-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.guide-note-section {
  padding-top: 0;
}

.guide-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: var(--navy);
  padding: 58px 65px;
  color: rgba(255, 255, 255, 0.78);
}

.guide-note h2 {
  margin-bottom: 15px;
  color: var(--white);
}

.guide-note p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
}

.guide-note .button {
  flex: 0 0 auto;
}

/* Legal */
.legal-main {
  background: var(--cream);
  padding: 45px 0 100px;
}

.legal-layout {
  max-width: 920px;
}

.legal-layout-wide {
  max-width: 1020px;
}

.legal-layout h1 {
  margin-bottom: 56px;
}

.legal-intro {
  max-width: 760px;
  margin: -30px 0 50px;
  color: var(--slate);
  font-size: 1.08rem;
}

.legal-layout section {
  border-top: 1px solid #d3d9da;
  padding: 32px 0 18px;
}

.legal-layout h2 {
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.legal-layout p {
  color: var(--slate);
}

.legal-layout a {
  color: var(--navy);
  font-weight: 620;
  text-decoration: underline;
}

.legal-layout h3 {
  margin: 24px 0 12px;
  font-size: 1.1rem;
}

.legal-list {
  margin: 0 0 20px;
  padding-left: 22px;
  color: var(--slate);
}

.legal-list li + li {
  margin-top: 8px;
}

.legal-table-wrap {
  margin: 28px 0;
}

.legal-table-wrap table {
  min-width: 760px;
}

.legal-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 28px 0 8px;
  border-left: 3px solid var(--bronze);
  background: var(--white);
  padding: 20px 22px;
}

.legal-note svg {
  width: 20px;
  min-width: 20px;
  margin-top: 2px;
  color: var(--bronze);
}

.legal-note p {
  margin: 0;
}

.legal-source-note {
  margin-top: 12px;
}

.legal-updated {
  margin-top: 35px;
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  margin-top: 104px;
  background: #0c2237;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  gap: 55px;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  padding-top: 75px;
  padding-bottom: 60px;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.brand-logo-footer {
  width: min(100%, 285px);
  border-radius: 2px;
  background: var(--white);
  padding: 11px 14px;
}

.footer-brand > p {
  max-width: 360px;
  margin: 24px 0;
  font-size: 0.88rem;
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d7c4ae;
  font-size: 0.78rem;
  font-weight: 620;
}

.footer-grid h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.footer-grid .footer-second-heading {
  margin-top: 15px;
  margin-bottom: 5px;
}

.footer-grid p {
  margin-bottom: 0;
  font-size: 0.81rem;
}

.footer-grid a:not(.brand-logo) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.81rem;
}

.footer-grid a:not(.brand-logo):hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 23px;
  padding-bottom: 26px;
  font-size: 0.72rem;
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-main + .site-footer {
  margin-top: 0;
}

/* Motion */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes image-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 1180px) {
  .desktop-nav,
  .header-contact {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card {
    min-height: 350px;
  }

  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-grid article {
    border-bottom: 1px solid #d8ddde;
    padding: 30px 25px;
  }

  .process-grid article:first-child,
  .process-grid article:not(:first-child) {
    padding-left: 0;
  }

  .process-grid article:nth-child(3) {
    border-right: 0;
  }

  .process-grid article:nth-child(4),
  .process-grid article:nth-child(5) {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 40px, 1280px);
  }

  .utility-inner > span:first-child {
    display: none;
  }

  .utility-inner {
    justify-content: flex-end;
  }

  .home-hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    min-height: 610px;
  }

  .home-hero-inner {
    width: auto;
    margin: 0;
  }

  .home-hero-image {
    min-height: 460px;
  }

  .service-price-panel,
  .certification-panel {
    grid-template-columns: 1fr;
  }

  .certification-seal-wrap {
    justify-content: flex-start;
  }

  .certification-seal-wrap img {
    width: 150px;
  }

  .card-grid-3,
  .card-grid-2,
  .testimonial-grid,
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .faq-layout,
  .about-home-grid,
  .content-block,
  .content-toc,
  .source-layout,
  .contact-layout {
    gap: 48px;
    grid-template-columns: 1fr;
  }

  .about-home-image {
    min-height: min(720px, 110vw);
  }

  .about-home-content {
    gap: 40px;
  }

  .faq-layout .section-header {
    position: static;
  }

  .split-feature {
    grid-template-columns: 1fr;
  }

  .split-image {
    min-height: 450px;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-copy {
    min-height: 500px;
    padding-right: 40px;
  }

  .page-hero-image {
    min-height: 470px;
  }

  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-grid > div {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .highlight-grid > div:nth-child(even),
  .highlight-grid > div:last-child {
    border-right: 0;
  }

  .highlight-grid-4 > div:nth-last-child(-n + 2),
  .highlight-grid-6 > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .highlight-grid-3 > div:last-child,
  .highlight-grid-5 > div:last-child {
    grid-column: 1 / -1;
    justify-content: center;
    border-bottom: 0;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 55px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-grid > div,
  .values-grid > div:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 28px 0;
  }

  .values-grid > div:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 95px;
  }

  .container {
    width: min(100% - 32px, 1280px);
  }

  .utility-bar {
    display: none;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-logo-header {
    width: min(190px, calc(100vw - 112px));
  }

  .mobile-menu > nav {
    padding-right: 20px;
    padding-left: 20px;
  }

  .home-hero {
    padding-top: 20px;
  }

  .home-hero-grid {
    width: min(100% - 40px, 1280px);
  }

  .home-hero-copy {
    min-height: auto;
    padding: 55px 5px 65px 28px;
  }

  .home-hero-inner {
    padding: 0;
  }

  .home-hero-copy::before {
    top: 58px;
    bottom: 66px;
    left: 4px;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: clamp(1.9rem, 8.7vw, 2.75rem);
    hyphens: auto;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .home-hero-image {
    min-height: 330px;
    margin-right: -16px;
    margin-left: -16px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .trust-grid > div {
    min-height: 82px;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 16px;
    text-align: left;
  }

  .trust-grid > div:last-child {
    border-bottom: 0;
  }

  .trust-grid .trust-seal-item {
    min-height: 104px;
  }

  .trust-seal-thumb {
    width: 42px;
    height: 69px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-section-compact {
    padding: 72px 0;
  }

  .price-card {
    min-height: 0;
    padding: 27px 24px;
  }

  .price-card-title {
    min-height: 0;
  }

  .price-card-value strong {
    font-size: 2.35rem;
  }

  .service-price-panel {
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .service-price-panel .button {
    width: 100%;
  }

  .certification-panel {
    gap: 30px;
    padding: 30px 23px;
  }

  .certification-seal-wrap {
    justify-content: center;
  }

  .certification-seal-wrap img {
    width: 135px;
  }

  .section {
    padding: 76px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .card-grid-3,
  .card-grid-2,
  .testimonial-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    min-height: 270px;
    padding: 28px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid article,
  .process-grid article:first-child,
  .process-grid article:not(:first-child),
  .process-grid article:nth-child(3),
  .process-grid article:nth-child(4) {
    border-right: 0;
    border-bottom: 1px solid #d8ddde;
    padding: 27px 0;
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }

  .split-image {
    min-height: 330px;
  }

  .split-copy {
    padding: 46px 30px;
  }

  .about-home-image {
    min-height: min(560px, 125vw);
  }

  .about-home-copy h2 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    hyphens: auto;
  }

  .credential-list {
    grid-template-columns: 1fr;
  }

  .credential-list > div,
  .credential-list > div:nth-child(even) {
    border-left: 0;
    padding: 16px 0;
  }

  .testimonial-grid article {
    min-height: 290px;
  }

  .page-hero {
    padding-top: 20px;
  }

  .page-hero-copy {
    min-height: auto;
    padding: 55px 5px 65px 28px;
  }

  .page-hero-copy::before {
    top: 58px;
    bottom: 66px;
    left: 4px;
  }

  .page-hero-image {
    min-height: 330px;
    margin-right: -16px;
    margin-left: -16px;
  }

  .section-highlights {
    padding: 35px 0;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .highlight-grid > div,
  .highlight-grid > div:nth-child(2),
  .highlight-grid-3 > div:last-child,
  .highlight-grid-5 > div:last-child {
    grid-column: auto;
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .highlight-grid > div:last-child {
    border-bottom: 0;
  }

  .content-block,
  .content-block-offset {
    gap: 27px;
    padding-top: 0;
  }

  .content-block-offset {
    border-top: 1px solid var(--line);
    padding-top: 60px;
  }

  .content-toc-section {
    padding-top: 38px;
  }

  .content-toc {
    gap: 28px;
    padding: 30px 24px;
  }

  .content-toc nav {
    grid-template-columns: 1fr;
  }

  .content-toc a:nth-child(odd) {
    margin-right: 0;
  }

  .article-meta {
    display: grid;
    gap: 5px;
  }

  .data-table-wrap table {
    min-width: 680px;
  }

  .source-layout {
    gap: 34px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: auto;
  }

  .contact-form,
  .contact-aside {
    padding: 28px 22px;
  }

  .location-grid article {
    gap: 14px;
    padding: 26px 22px;
  }

  .cta-panel,
  .guide-note {
    display: grid;
    gap: 35px;
    padding: 44px 25px;
  }

  .guide-note .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 58px;
  }

  .brand-logo-footer {
    width: min(100%, 265px);
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    margin-top: 76px;
  }

  .legal-main {
    padding-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress- und Astra-Neutralisierung: Die importierten GBS-Module behalten
   dieselben Abmessungen wie der geprüfte Website-Stand. */
html {
  margin: 0;
}

body.gbs-schaffer-site {
  min-width: 320px;
  margin: 0;
}

body.gbs-schaffer-site #page,
body.gbs-schaffer-site .site,
body.gbs-schaffer-site .site-content,
body.gbs-schaffer-site .content-area,
body.gbs-schaffer-site .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.gbs-schaffer-site .entry-content > * {
  max-width: none;
}

body.gbs-schaffer-site main {
  display: block;
  min-height: 1px;
}

/* V2.2: responsive containment without arbitrary mid-word breaks. */
body.gbs-schaffer-site,
body.gbs-schaffer-site #page,
body.gbs-schaffer-site main {
  overflow-x: clip;
}

body.gbs-schaffer-site :where(
  .container, section, article, div, nav, main,
  .home-hero-grid, .page-hero-grid, .intro-grid, .card-grid,
  .content-block, .content-toc, .source-layout, .faq-layout,
  .contact-layout, .location-grid, .certification-panel,
  .service-price-panel, .footer-grid
) {
  min-width: 0;
}

body.gbs-schaffer-site :where(img, svg, video, iframe) {
  max-width: 100%;
}

body.gbs-schaffer-site :where(h1, h2, h3, p, li, a, td, th, summary, button) {
  overflow-wrap: normal;
  word-break: normal;
}

body.gbs-schaffer-site :where(h1, h2, h3, p, li, td, th, summary) {
  hyphens: auto;
  hyphenate-limit-chars: 10 5 5;
}

body.gbs-schaffer-site :where(a, button, .button, .text-link, .card-link) {
  hyphens: none;
}

@media (min-width: 1100px) {
  body.gbs-schaffer-site .home-hero h1 {
    hyphens: none;
  }
}

/* Emergency wrapping is limited to genuinely technical strings. */
body.gbs-schaffer-site :where(
  .legal-layout a[href^="http"],
  .legal-layout a[href^="mailto:"],
  .legal-layout a[href^="tel:"],
  .data-table-wrap a,
  .legal-table-wrap a,
  code
) {
  hyphens: none;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.data-table-wrap,
.legal-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gbs-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .home-hero-image,
  .page-hero-image {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .data-table-wrap table,
  .legal-table-wrap table {
    min-width: 600px;
  }

  .location-grid,
  .contact-layout,
  .faq-layout,
  .content-block,
  .source-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

body.gbs-schaffer-site .site-header,
body.gbs-schaffer-site .site-footer {
  font-family: "Manrope Variable", "Segoe UI", Arial, sans-serif;
}

.home-hero-image img,
.page-hero-image img,
.split-image img,
.about-home-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.brand-logo img {
  height: auto;
}

.form-status[hidden] {
  display: none;
}

.gbs-empty-content,
.gbs-not-found {
  padding: 100px 0;
}

.gbs-not-found h1 {
  margin-bottom: 22px;
}

.gbs-post-index {
  padding: 70px 0 110px;
}

.gbs-post-index article {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.gbs-post-index h2 {
  margin-bottom: 10px;
  font-size: 1.65rem;
}

.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/*
 * V2.3: Dauerhafte Korrekturen für den bestehenden individuellen GBS-Header.
 *
 * Diese Regeln ersetzen den bislang unter „Zusätzliches CSS“ benötigten
 * Telefon- und Pfeilblock. Sie zielen bewusst auf den von diesem Theme
 * ausgegebenen Header mit .utility-bar, .desktop-nav und .nav-popover.
 */
@media (min-width: 922px) {
  body.gbs-schaffer-site .utility-bar .utility-inner {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  body.gbs-schaffer-site .utility-bar .utility-links,
  body.gbs-schaffer-site .utility-bar .utility-links a {
    display: inline-flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  body.gbs-schaffer-site .utility-bar .utility-links {
    flex: 0 0 auto !important;
    gap: 7px !important;
  }

  body.gbs-schaffer-site .utility-bar .utility-links a {
    flex: 0 0 auto !important;
    gap: 7px !important;
  }

  body.gbs-schaffer-site .utility-bar .utility-links svg {
    display: block !important;
    flex: 0 0 14px !important;
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
  }

  body.gbs-schaffer-site .desktop-nav .nav-group > a > svg {
    display: block !important;
    flex: 0 0 14px !important;
    width: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
    margin-left: 3px !important;
  }

  body.gbs-schaffer-site .desktop-nav .nav-popover .nav-overview > svg {
    display: block !important;
    flex: 0 0 15px !important;
    width: 15px !important;
    min-width: 15px !important;
    max-width: 15px !important;
    height: 15px !important;
    min-height: 15px !important;
    max-height: 15px !important;
    margin-left: 16px !important;
  }
}

/*
 * V2.3: Startseiten-Hero näher am Original.
 *
 * Nur die Desktopdarstellung wird verändert: 1200 px Gesamtbreite,
 * circa 62/38-Spalten, mehr Abstand zwischen Text und Bild sowie ein
 * oben und unten eingerückter Goldstrich. Tablet und Mobil bleiben wie in
 * Version 2.2.
 */
@media (min-width: 1025px) {
  body.gbs-schaffer-site .gbs-front-main .home-hero-grid,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-home-hero-grid {
    --width: 1200px;
    width: min(calc(100% - 64px), 1200px) !important;
    max-width: 1200px !important;
    margin-inline: auto !important;
    grid-template-columns: minmax(0, 62fr) minmax(0, 38fr) !important;
  }

  body.gbs-schaffer-site .gbs-front-main .home-hero-copy,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-home-hero-copy {
    padding: 55px 92px 80px 42px !important;
  }

  body.gbs-schaffer-site .gbs-front-main .home-hero-copy::before,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-home-hero-copy::before {
    top: 72px !important;
    bottom: 72px !important;
  }

  body.gbs-schaffer-site .gbs-front-main .home-hero-image,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-home-hero-image {
    min-width: 0;
  }
}

/*
 * V2.3.1: Einheitlicher, bearbeitbarer Hero-Goldstreifen.
 *
 * Startseite und Unterseiten verwenden auf Desktop dieselbe verkürzte,
 * vertikal zentrierte Linie. Die Regeln erfassen sowohl die Theme-Templates
 * als auch die von Elementor importierten GBS-Seiten. Die Farbe wird über
 * --gbs-hero-stripe-color gesteuert und kann im WordPress-Customizer unter
 * „GBS Design → Farbe des Hero-Streifens“ geändert werden.
 */
body.gbs-schaffer-site .home-hero-copy::before,
body.gbs-schaffer-site .page-hero-copy::before,
body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-home-hero-copy::before,
body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-page-hero-copy::before {
  background: var(--gbs-hero-stripe-color, var(--bronze)) !important;
}

/*
 * Gleichmäßige Kennzahlenfelder: identische Höhe und eine feste Iconspalte
 * verhindern, dass kurze und lange Bezeichnungen optisch verrutschen.
 */
body.gbs-schaffer-site .highlight-grid > div,
body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-highlight-item {
  min-height: 78px;
  height: 100%;
  align-items: center !important;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 12px !important;
}

body.gbs-schaffer-site .highlight-grid > div {
  display: grid;
}

body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-highlight-item {
  --display: grid;
  display: grid !important;
}

body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-highlight-item > .gbs-fs-node-icon {
  --width: 24px;
  width: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  justify-self: center;
}

body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-highlight-item > .gbs-fs-node-span {
  --width: 100%;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1025px) {
  body.gbs-schaffer-site .page-hero-grid,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-page-hero-grid {
    grid-template-columns: minmax(0, 62fr) minmax(0, 38fr) !important;
  }

  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-page-hero-copy,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-page-hero-image {
    --width: 100%;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }

  body.gbs-schaffer-site .home-hero-copy::before,
  body.gbs-schaffer-site .page-hero-copy::before,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-home-hero-copy::before,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-page-hero-copy::before {
    top: 72px !important;
    bottom: 72px !important;
  }
}

/*
 * Rechtstextseiten: ruhiger Kopfbereich ohne Überschneidung zwischen H1 und
 * Einleitung. Der gemeinsame Legal-Selektor erfasst Cookie-Richtlinie,
 * Datenschutz und das gestalterisch identische Impressum.
 */
body.gbs-schaffer-site .legal-main .legal-layout,
body.gbs-schaffer-site.gbs-fullsite-imported
.gbs-fs-page.gbs-fs-family-legal
.gbs-fs-legal-layout {
  width: 100%;
  max-width: 1020px;
}

body.gbs-schaffer-site .legal-main .legal-layout > .breadcrumbs,
body.gbs-schaffer-site.gbs-fullsite-imported
.gbs-fs-page.gbs-fs-family-legal
.gbs-fs-legal-layout
> .gbs-fs-breadcrumbs {
  margin-bottom: 42px !important;
}

body.gbs-schaffer-site .legal-main .legal-layout > .eyebrow,
body.gbs-schaffer-site.gbs-fullsite-imported
.gbs-fs-page.gbs-fs-family-legal
.gbs-fs-legal-layout
> .gbs-fs-eyebrow {
  margin-bottom: 18px !important;
}

body.gbs-schaffer-site .legal-main .legal-layout > h1,
body.gbs-schaffer-site.gbs-fullsite-imported
.gbs-fs-page.gbs-fs-family-legal
.gbs-fs-legal-layout
> .gbs-fs-node-h1 {
  --width: 100%;
  width: 100% !important;
  max-width: 900px;
  margin: 0 0 28px !important;
}

body.gbs-schaffer-site .legal-main .legal-layout > h1,
body.gbs-schaffer-site.gbs-fullsite-imported
.gbs-fs-page.gbs-fs-family-legal
.gbs-fs-legal-layout
> .gbs-fs-node-h1
h1 {
  margin: 0 !important;
  font-size: clamp(2.4rem, 4.2vw, 3.75rem) !important;
  line-height: 1.08 !important;
  overflow-wrap: normal;
  word-break: normal;
}

body.gbs-schaffer-site .legal-main .legal-intro,
body.gbs-schaffer-site.gbs-fullsite-imported
.gbs-fs-page.gbs-fs-family-legal
.gbs-fs-legal-layout
> .gbs-fs-legal-intro {
  --width: 100%;
  width: 100% !important;
  max-width: 820px;
  margin: 0 0 50px !important;
  color: var(--slate);
  font-size: 1.05rem;
  line-height: 1.72;
}

body.gbs-schaffer-site.gbs-fullsite-imported
.gbs-fs-page.gbs-fs-family-legal
.gbs-fs-legal-layout
> .gbs-fs-legal-intro
p {
  margin: 0 !important;
}

/*
 * Kreis-/Regionsseiten: Alle sechs Ortsseiten-Karten erhalten gleich hohe
 * Rasterzeilen. Der reservierte Titelbereich hält Beschreibung und Link auch
 * bei unterschiedlich langen Ortsnamen auf derselben Grundlinie.
 */
@media (min-width: 641px) {
  body.gbs-schaffer-site.gbs-fullsite-imported
  .gbs-fs-page.gbs-fs-family-region_district
  .gbs-fs-section-page-cards
  .gbs-fs-card-grid-3 {
    grid-auto-rows: 1fr !important;
    align-items: stretch !important;
  }

  body.gbs-schaffer-site.gbs-fullsite-imported
  .gbs-fs-page.gbs-fs-family-region_district
  .gbs-fs-section-page-cards
  .gbs-fs-card-grid-3
  > .gbs-fs-info-card {
    min-height: 320px;
    height: 100%;
  }

  body.gbs-schaffer-site.gbs-fullsite-imported
  .gbs-fs-page.gbs-fs-family-region_district
  .gbs-fs-section-page-cards
  .gbs-fs-card-grid-3
  > .gbs-fs-info-card
  > .gbs-fs-node-h3 {
    --width: 100%;
    width: 100% !important;
    min-width: 0;
    min-height: 2.8em;
  }
}

/*
 * V2.3: DEKRA-Siegel und Beschriftung auf Mobilgeräten in einem festen
 * Raster führen. Dadurch beginnt „DEKRA D3 zertifiziert“ auf allen
 * importierten Seiten direkt nach der 42-px-Siegelspalte.
 */
@media (max-width: 640px) {
  body.gbs-schaffer-site .trust-seal-item,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-trust-seal-item {
    --display: grid;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) !important;
    column-gap: 16px !important;
    align-items: center !important;
    justify-content: stretch !important;
  }

  body.gbs-schaffer-site .trust-seal-item > .trust-seal-thumb,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-trust-seal-item > .gbs-fs-trust-seal-thumb {
    --width: 42px;
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    margin: 0 !important;
    justify-self: start;
  }

  body.gbs-schaffer-site .trust-seal-item > span,
  body.gbs-schaffer-site.gbs-fullsite-imported .gbs-fs-page .gbs-fs-trust-seal-item > .gbs-fs-node-span {
    --width: auto;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    justify-self: start;
    text-align: left;
  }
}
