/*
Theme Name: Centrum Admin Theme
Theme URI: https://centrumimmobilien.de
Author: Centrum Immobilien
Description: WordPress theme for the Centrum Immobilien website and backend preview.
Version: 0.1.0
Text Domain: centrum-admin-theme
*/

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-400.woff2") format("woff2"),
       url("assets/fonts/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-500.woff2") format("woff2"),
       url("assets/fonts/inter-500.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-600.woff2") format("woff2"),
       url("assets/fonts/inter-600.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-700.woff2") format("woff2"),
       url("assets/fonts/inter-700.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/inter-800.woff2") format("woff2"),
       url("assets/fonts/inter-800.ttf") format("truetype");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("assets/fonts/inter-900.woff2") format("woff2"),
       url("assets/fonts/inter-900.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/playfair-600.woff2") format("woff2"),
       url("assets/fonts/playfair-600.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/playfair-700.woff2") format("woff2"),
       url("assets/fonts/playfair-700.ttf") format("truetype");
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/playfair-800.woff2") format("woff2"),
       url("assets/fonts/playfair-800.ttf") format("truetype");
}

:root {
  --font-sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", serif;
  --background: #faf9f4;
  --foreground: #172033;
  --card: #ffffff;
  --muted: #eef0ed;
  --muted-text: #667085;
  --primary: #1c2a44;
  --primary-soft: #263958;
  --primary-foreground: #fffdf6;
  --accent: #d5a642;
  --accent-readable: #936300;
  --accent-foreground: #172033;
  --border: #e5e0d4;
  --radius: 8px;
  --shadow: 0 20px 55px rgba(15, 23, 42, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.not-found-main {
  background: var(--background);
}

.not-found-hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  padding: calc(132px + 4.75rem) 0 4.75rem;
  color: var(--primary-foreground);
  background:
    linear-gradient(90deg, rgba(10, 29, 47, 0.92) 0%, rgba(10, 29, 47, 0.78) 48%, rgba(10, 29, 47, 0.55) 100%),
    url("https://centrumimmobilien.de/wp-content/uploads/2026/05/frankfurt.jpg") center / cover no-repeat;
}

.not-found-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 3rem;
  align-items: end;
  min-width: 0;
}

.not-found-copy {
  max-width: 760px;
  min-width: 0;
}

.not-found-hero__kicker {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.not-found-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--primary-foreground);
  font-family: var(--font-serif);
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 0.98;
  overflow-wrap: break-word;
}

.not-found-hero__text {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: rgba(255, 253, 246, 0.86);
  font-size: 1.05rem;
  overflow-wrap: break-word;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.not-found-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 253, 246, 0.36);
  border-radius: 6px;
  background: rgba(255, 253, 246, 0.1);
  color: var(--primary-foreground);
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.not-found-button:hover,
.not-found-button:focus-visible {
  border-color: rgba(255, 253, 246, 0.7);
  background: rgba(255, 253, 246, 0.18);
  transform: translateY(-1px);
}

.not-found-button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-foreground);
}

.not-found-proof {
  display: grid;
  gap: 0.75rem;
}

.not-found-proof > div {
  padding: 1rem;
  border: 1px solid rgba(255, 253, 246, 0.2);
  border-radius: 8px;
  background: rgba(10, 29, 47, 0.52);
  backdrop-filter: blur(8px);
}

.not-found-proof strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  line-height: 1;
}

.not-found-proof span {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 253, 246, 0.84);
  font-size: 0.9rem;
}

.not-found-help {
  padding: 4.5rem 0 5rem;
}

.not-found-help__head {
  max-width: 680px;
  margin-bottom: 2rem;
}

.not-found-help__head p {
  margin: 0 0 0.45rem;
  color: var(--accent-readable);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.not-found-help__head h2 {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.05;
}

.not-found-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.not-found-link-grid a {
  min-height: 150px;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--foreground);
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.not-found-link-grid a:hover,
.not-found-link-grid a:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.13);
  transform: translateY(-2px);
}

.not-found-link-grid span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--accent-readable);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.not-found-link-grid strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.18;
}

@media (max-width: 960px) {
  .not-found-hero {
    min-height: auto;
    padding: calc(112px + 3.5rem) 0 3.75rem;
  }

  .not-found-hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .not-found-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .not-found-hero {
    padding: calc(96px + 2.5rem) 0 3rem;
  }

  .not-found-hero h1 {
    max-width: 330px;
    font-size: 1.72rem;
    line-height: 1.04;
  }

  .not-found-hero__text {
    max-width: 330px;
    font-size: 1rem;
  }

  .not-found-actions,
  .not-found-proof,
  .not-found-link-grid {
    grid-template-columns: 1fr;
  }

  .not-found-button,
  .not-found-link-grid a {
    width: 100%;
  }

  .not-found-help {
    padding: 3rem 0 3.5rem;
  }
}

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

a {
  color: inherit;
}

.centrum-card-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 0;
  row-gap: 0.45rem;
  align-items: center;
  font-size: 0.75rem;
}

.centrum-card-fact {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.centrum-card-fact svg {
  flex: 0 0 1rem;
  margin-right: 0.0625rem;
}

.centrum-card-fact-value,
.centrum-card-fact--price {
  white-space: nowrap;
}

.centrum-card-fact-value {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
}

.centrum-card-fact--price .centrum-card-fact-value {
  font-size: 0.8125rem;
}

.centrum-card-fact--location {
  grid-column: auto;
}

.centrum-card-fact--location .centrum-card-fact-value {
  overflow: hidden;
  text-overflow: ellipsis;
}

.centrum-card-facts--stacked > div {
  min-width: 0;
}

.centrum-card-facts--stacked strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(28, 42, 68, 0.96);
  color: var(--primary-foreground);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.3vw, 31px);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  margin-right: 12px;
  color: var(--accent);
}

.ci-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.16em;
}

.button .ci-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  color: rgba(255, 253, 246, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  transition: 180ms ease;
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-foreground);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  border: 1px solid transparent;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-foreground);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--primary-foreground);
  padding: 148px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(28, 42, 68, 0.92), rgba(28, 42, 68, 0.8), rgba(28, 42, 68, 0.35));
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: rgba(255, 253, 246, 0.92);
  margin-bottom: 22px;
}

.hero h1,
.section-title,
.process-card h3,
.owner-inner h2,
.service-body h3,
.reason-card h3,
.successor-body h2,
.about-copy h2,
.testimonial-card strong,
.trust-badges strong,
.contact-form h3,
.rating-box strong,
.cta-band h2,
.page-main h1 {
  font-family: var(--font-serif);
  letter-spacing: 0;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: 60px;
  line-height: 1.08;
  font-weight: 700;
}

.hero p {
  max-width: 690px;
  margin: 0 0 12px;
  color: rgba(255, 253, 246, 0.83);
  font-size: 18px;
  line-height: 1.625;
  font-weight: 400;
}

.hero p:first-of-type {
  font-size: 20px;
  color: rgba(255, 253, 246, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.stat-tile {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 16px;
  backdrop-filter: blur(8px);
}

.stat-value {
  color: var(--accent-readable);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
}

.stat-label {
  margin-top: 6px;
  color: rgba(255, 253, 246, 0.76);
  font-size: 14px;
  font-weight: 500;
}

.section {
  padding: 88px 0;
}

.section.card-bg {
  background: var(--card);
}

.section.secondary-bg {
  background: var(--muted);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  color: var(--accent-readable);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 12px 0 18px;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
}

.section-copy {
  max-width: 780px;
  color: var(--muted-text);
  font-size: 18px;
  line-height: 1.625;
  font-weight: 400;
}

.service-grid,
.reason-grid,
.process-grid,
.testimonial-grid {
  display: grid;
  gap: 24px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  margin-top: 48px;
}

.process-card {
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 999px;
  border: 1px solid rgba(213, 166, 66, 0.45);
  background: var(--background);
  color: var(--accent-readable);
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 700;
}

.process-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.process-card p {
  margin: 0;
  color: var(--muted-text);
  font-size: 14px;
  line-height: 1.6;
}

.owner-band {
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 44px 0;
}

.owner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 38px;
  align-items: center;
}

.owner-inner p {
  margin: 0;
}

.owner-inner .kicker-dark {
  margin-bottom: 12px;
  color: var(--accent-foreground);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.owner-inner h2 {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
}

.owner-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.service-card.featured {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.service-image {
  height: 192px;
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px;
}

.service-body h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.service-body p,
.service-body li {
  color: var(--muted-text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.service-body p {
  margin: 0 0 20px;
}

.featured .service-body p,
.featured .service-body li {
  color: rgba(255, 253, 246, 0.82);
}

.service-body ul {
  margin: 0 0 28px;
  padding-left: 20px;
}

.service-body .button {
  width: 100%;
  margin-top: auto;
}

.services-overview-note {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 26px auto 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--background);
  color: var(--muted-text);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.services-overview-note a {
  color: var(--foreground);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 166, 46, 0.65);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.services-overview-note a:hover,
.services-overview-note a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.reason-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.reason-card {
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: var(--radius);
  padding: 26px;
}

.reason-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.reason-card p {
  color: var(--muted-text);
  line-height: 1.55;
}

.successor-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
}

.successor-media {
  min-height: 280px;
  position: relative;
}

.successor-media img,
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.successor-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 42px;
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(213, 166, 66, 0.12);
  color: var(--accent);
  font-size: 28px;
}

.successor-body h2,
.about-copy h2 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
}

.successor-body p,
.about-copy p {
  color: var(--muted-text);
  font-size: 18px;
  line-height: 1.625;
  font-weight: 400;
}

.successor-body p + .button {
  margin-top: 18px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
}

.testimonial-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.quote-mark {
  color: rgba(213, 166, 66, 0.35);
  font-family: var(--font-serif);
  font-size: 54px;
  line-height: 1;
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
  margin: 18px 0;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(720px, 100%);
  margin: 56px auto 0;
}

.trust-badge {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.54);
  text-align: center;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.trust-badges strong {
  display: block;
  color: var(--foreground);
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
}

.trust-badge span {
  display: block;
  color: var(--muted-text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.check-item {
  color: rgba(23, 32, 51, 0.86);
}

.check-item::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  margin-right: 10px;
}

.cta-band {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  padding: 72px 0;
}

.cta-band h2 {
  margin: 0 0 18px;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
}

.cta-band p {
  margin: 0 auto 30px;
  color: rgba(255, 253, 246, 0.8);
  max-width: 720px;
  font-size: 18px;
  line-height: 1.625;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-card a {
  color: var(--primary);
  font-weight: 800;
}

.contact-form {
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: 16px;
  padding: 36px;
}

.contact-form h3 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.field {
  margin-bottom: 18px;
}

.contact-form-feedback {
  margin: 0 0 18px;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
}

.contact-form-feedback--success {
  border: 1px solid #9bd4ad;
  background: #eef9f1;
  color: #14532d;
}

.contact-form-feedback--error {
  border: 1px solid #f2a7a7;
  background: #fff1f1;
  color: #991b1b;
}

.contact-form-anchor {
  scroll-margin-top: 128px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--background);
  padding: 10px 12px;
  color: var(--foreground);
  font: inherit;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted-text);
}

.field-checkbox input {
  width: auto;
  min-height: 0;
  margin-top: 4px;
  flex: 0 0 auto;
}

.field-checkbox a {
  color: var(--primary);
  font-weight: 700;
}

.contact-form-privacy,
.flex.items-start.gap-3:has(> input#privacy) {
  display: grid !important;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: flex-start !important;
  column-gap: 12px !important;
}

.contact-form-privacy input[type="checkbox"],
.flex.items-start.gap-3:has(> input#privacy) > input#privacy {
  width: 16px;
  height: 16px;
  margin: 2px 0 0 !important;
}

.contact-form-privacy span,
.contact-form-privacy label,
.contact-form-privacy-text,
.flex.items-start.gap-3:has(> input#privacy) > label {
  min-width: 0;
  display: block !important;
  line-height: 1.45;
  white-space: normal;
}

.contact-form-privacy a,
.flex.items-start.gap-3:has(> input#privacy) > label a {
  display: inline;
  white-space: nowrap;
}

.contact-list {
  margin: 42px 0;
}

.contact-list p {
  padding-left: 62px;
  position: relative;
  margin: 0 0 26px;
  color: var(--muted-text);
}

.contact-list strong {
  display: block;
  color: var(--foreground);
  margin-bottom: 5px;
}

.contact-list p::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(213, 166, 66, 0.12);
  color: var(--accent-readable);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-list .address::before { content: "⌖"; }
.contact-list .phone::before { content: "☎"; }
.contact-list .email::before { content: "@"; }
.contact-list .hours::before { content: "◷"; }

.map-frame {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--muted);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.map-link {
  display: flex;
  justify-content: center;
  padding: 14px;
  background: var(--background);
  color: var(--foreground);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) minmax(150px, 0.75fr) minmax(150px, 0.75fr) minmax(140px, 0.62fr);
  gap: clamp(64px, 8vw, 128px);
  align-items: start;
}

.footer-logo {
  width: 176px;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-bottom: 24px;
}

.footer-description {
  max-width: 250px;
  margin: 0 0 26px;
}

.footer-contact {
  display: grid;
  gap: 13px;
  margin: 0;
  font-style: normal;
}

.footer-contact p {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
}

.footer-contact .ci-icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.footer-social a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 253, 246, 0.76);
  transition: background-color 160ms ease, color 160ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: var(--primary-foreground);
}

.footer-social .ci-social-icon {
  width: 16px;
  height: 16px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 253, 246, 0.82);
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
}

.site-footer h2 {
  margin: 4px 0 22px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--primary-foreground);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 19px;
}

.rating-box {
  display: inline-block;
  min-width: 92px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px 16px;
  color: var(--primary-foreground);
  font-size: 13px;
  line-height: 1.32;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.rating-box:hover,
.rating-box:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: var(--primary-foreground);
  transform: translateY(-1px);
}

.rating-box strong {
  display: block;
  color: var(--accent-readable);
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 46px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: rgba(255, 253, 246, 0.52);
  font-size: 14px;
}

.footer-bottom a {
  color: rgba(255, 253, 246, 0.68);
}

.contact-status-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contact-status-modal[hidden] {
  display: none !important;
}

.contact-status-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 31, 51, 0.64);
}

.contact-status-modal__dialog {
  position: relative;
  width: min(100%, 480px);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--background);
  box-shadow: 0 24px 70px rgba(4, 31, 51, 0.26);
  padding: 28px;
  text-align: left;
}

.contact-status-modal__kicker {
  margin: 0 0 10px;
  color: var(--accent-readable);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.contact-status-modal--error .contact-status-modal__kicker {
  color: #991b1b;
}

.contact-status-modal__dialog h2 {
  margin: 0 0 12px;
  color: var(--foreground);
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.15;
}

.contact-status-modal__dialog p {
  margin: 0 0 22px;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.55;
}

.contact-status-modal__button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-foreground);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-status-modal__button:focus-visible {
  outline: 3px solid rgba(234, 158, 31, 0.36);
  outline-offset: 3px;
}

.contact-status-modal-open {
  overflow: hidden;
}

.quick-inquiry {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
}

.quick-inquiry-panel {
  width: calc(100vw - 32px);
  max-width: 384px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.28);
}

.quick-inquiry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 20px;
}

.quick-inquiry-head p {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-inquiry-head h2 {
  margin: 4px 0 8px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.quick-inquiry-head span {
  display: block;
  color: rgba(255, 253, 246, 0.75);
  font-size: 14px;
  line-height: 20px;
}

.quick-inquiry-close {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 253, 246, 0.7);
  cursor: pointer;
}

.quick-inquiry-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-foreground);
}

.quick-inquiry-close svg {
  width: 20px;
  height: 20px;
}

.quick-inquiry-body {
  max-height: 62vh;
  overflow-y: auto;
  padding: 20px;
  display: grid;
  gap: 20px;
}

.quick-messages {
  display: grid;
  gap: 12px;
}

.quick-message {
  max-width: 85%;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  line-height: 22px;
}

.quick-message.bot {
  justify-self: start;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
}

.quick-message.user {
  justify-self: end;
  background: var(--accent);
  color: var(--accent-foreground);
}

.quick-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 0;
}

.quick-topic-grid button,
.quick-detail-options button {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  background: transparent;
  color: var(--muted-text);
  font-size: 14px;
  line-height: 20px;
  font-family: var(--font-sans);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease;
}

.quick-topic-grid button:hover,
.quick-detail-options button:hover {
  border-color: rgba(217, 166, 46, 0.6);
  color: var(--foreground);
  background: transparent;
}

.quick-topic-grid .ci-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.quick-topic-grid span {
  font-weight: 500;
}

.quick-detail-options {
  display: grid;
  gap: 8px;
  padding-top: 0;
}

.quick-detail-options button {
  min-height: 46px;
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-weight: 500;
}

.quick-contact-form {
  display: grid;
  gap: 12px;
  padding-top: 0;
}

.quick-contact-form input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  padding: 4px 12px;
  color: var(--foreground);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}

.quick-privacy {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted-text);
}

.quick-privacy input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
  flex: 0 0 auto;
}

.quick-privacy a {
  color: var(--primary);
  font-weight: 700;
}

.quick-contact-form button,
.quick-done-actions a,
.quick-done-actions button {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-foreground);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
}

.quick-contact-form p {
  margin: 0;
  color: var(--muted-text);
  font-size: 12px;
  line-height: 18px;
}

.quick-contact-form p a {
  color: var(--accent-readable);
  font-weight: 600;
  text-decoration: none;
}

.quick-done-actions {
  display: grid;
  gap: 8px;
  padding-top: 8px;
}

.quick-done-actions .ci-icon {
  width: 16px;
  height: 16px;
}

.quick-done-actions button {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.quick-contact-form button {
  width: 100%;
}

.quick-inquiry-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 16px 20px;
  box-shadow: 0 10px 28px rgba(20, 36, 58, 0.25);
  cursor: pointer;
  transition: background-color 180ms ease;
}

.quick-inquiry-toggle:hover {
  background: rgba(20, 36, 58, 0.9);
}

.quick-inquiry-icon {
  position: relative;
  display: flex;
}

.quick-inquiry-icon svg {
  width: 20px;
  height: 20px;
}

.quick-inquiry-icon span {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.quick-inquiry.is-open .quick-inquiry-icon span {
  display: none;
}

.quick-inquiry-label {
  display: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

@media (min-width: 640px) {
  .quick-inquiry-label {
    display: inline;
  }
}

@media (min-width: 768px) {
  .quick-inquiry {
    right: 24px;
    bottom: 24px;
  }
}

.page-main {
  min-height: 70vh;
  padding: 150px 0 80px;
}

.page-main article {
  max-width: 860px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px;
}

.page-main h1 {
  font-size: clamp(38px, 5vw, 64px);
  margin-top: 0;
}

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .main-nav,
  .main-nav ul {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 190px;
  }

  .stats-grid,
  .service-grid,
  .reason-grid,
  .process-grid,
  .successor-panel,
  .successor-body,
  .testimonial-grid,
  .about-grid,
  .about-list,
  .contact-grid,
  .footer-grid,
  .owner-inner {
    grid-template-columns: 1fr;
  }

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

  .trust-badges {
    grid-template-columns: 1fr;
    max-width: 360px;
  }
}

@media (max-width: 620px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

/* Fidelity pass toward the original Next.js build */
:root {
  --background: #fbfaf7;
  --muted: #f1f2ef;
  --primary: #14243a;
  --accent: #d9a62e;
  --accent-readable: #936300;
}

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

.site-header {
  background: rgba(20, 36, 58, 0.98);
}

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

.brand {
  font-size: clamp(20px, 2.1vw, 29px);
}

.main-nav a {
  font-size: 13px;
}

.hero {
  min-height: 760px;
  padding: 132px 0 58px;
}

.hero::before {
  background: linear-gradient(90deg, rgba(20, 36, 58, 0.94), rgba(20, 36, 58, 0.82), rgba(20, 36, 58, 0.4));
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 52px;
}

.hero-content {
  z-index: auto;
}

.hero h1 {
  font-size: clamp(46px, 5.8vw, 78px);
}

.hero p {
  margin-bottom: 8px;
  font-size: clamp(17px, 1.6vw, 21px);
}

.hero-actions {
  margin: 28px 0 26px;
}

.hero-owner-card {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  padding: 26px;
  color: var(--primary-foreground);
  backdrop-filter: blur(10px);
}

.hero-owner-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.12;
}

.hero-owner-card p {
  margin: 0 0 22px;
  color: rgba(255, 253, 246, 0.76);
  font-size: 15px;
  line-height: 1.6;
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 50px;
}

.section-title {
  font-size: clamp(34px, 3.8vw, 52px);
}

.section-copy {
  font-size: 18px;
}

.process-grid {
  margin-top: 0;
}

.owner-band {
  padding: 42px 0;
}

.owner-inner p:not(.kicker-dark) {
  font-size: 20px;
}

.owner-actions span {
  font-size: 14px;
  font-weight: 800;
}

.dark-button {
  background: var(--primary);
  color: var(--primary-foreground);
}

.trust-top {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
  margin-bottom: 38px;
}

.trust-top .section-title {
  font-size: clamp(32px, 3.6vw, 46px);
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: rgba(213, 166, 66, 0.1);
  color: var(--accent);
  font-weight: 900;
}

.mini-icon .ci-icon,
.icon-box .ci-icon {
  width: 22px;
  height: 22px;
}

.service-icon {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured .service-icon {
  background: var(--accent);
  color: var(--accent-foreground);
}

.service-icon .ci-icon {
  width: 25px;
  height: 25px;
}

.service-body li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.service-body li + li {
  margin-top: 12px;
}

.service-body ul {
  padding-left: 0;
}

.service-body li .ci-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 2px;
}

.quote-mark {
  height: 42px;
}

.quote-mark .ci-icon {
  width: 40px;
  height: 40px;
  color: rgba(213, 166, 66, 0.32);
}

.stars {
  display: flex;
  gap: 3px;
}

.stars .ci-icon {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  color: var(--accent);
}

.check-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check-item::before {
  content: none;
}

.check-item .ci-icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex: 0 0 auto;
  margin-top: 2px;
}

.owner-actions .ci-icon {
  width: 18px;
  height: 18px;
  color: currentColor;
}

.successor-section {
  padding: 70px 0;
  background: var(--card);
}

.successor-panel {
  max-width: 840px;
  margin: 0 auto;
}

.cta-band .button + .button {
  margin-left: 10px;
}

.testimonial-grid {
  margin-top: 0;
}

.testimonial-card > p:first-of-type {
  min-height: 112px;
}

.about-section {
  background: var(--background);
}

.about-role {
  color: var(--foreground);
  font-weight: 800;
}

.contact-section .section-head {
  margin-bottom: 58px;
}

.contact-form .button {
  width: 100%;
}

.contact-card {
  box-shadow: none;
}

@media (max-width: 980px) {
  .hero-layout,
  .trust-top,
  .trust-stats {
    grid-template-columns: 1fr;
  }

  .hero-owner-card {
    display: none;
  }
}

/* Above-the-fold fidelity overrides */
.container {
  width: min(1216px, calc(100% - 32px));
}

.site-header {
  background: #071f33;
  box-shadow: none;
  transition: background-color 300ms ease, box-shadow 300ms ease, color 300ms ease;
}

.cmplz-cookiebanner .cmplz-categories .cmplz-category {
  position: relative;
}

.cmplz-cookiebanner .cmplz-categories .cmplz-category > .cmplz-banner-checkbox {
  position: absolute;
  top: 10px;
  right: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
}

.topbar {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

.topbar-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.topbar-icons a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.topbar-icons a:hover,
.topbar-icons a:focus-visible {
  color: var(--primary-foreground);
  background: rgba(255, 255, 255, 0.1);
}

.ci-social-icon {
  width: 16px;
  height: 16px;
  display: block;
}

.nav-row {
  background: #071f33;
  transition: background-color 300ms ease;
}

.header-inner {
  min-height: 80px;
  gap: 22px;
}

.brand {
  min-width: 250px;
  font-size: 15px;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--primary-foreground);
  transition: color 300ms ease;
  text-transform: none;
  font-family: Georgia, "Times New Roman", serif;
  position: relative;
}

.brand span {
  white-space: nowrap;
}

.brand-logo {
  display: block;
  width: clamp(240px, 20vw, 320px);
  height: auto;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.brand-logo-light {
  opacity: 1;
  visibility: visible;
}

.brand-logo-dark {
  left: 0;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  visibility: hidden;
}

.brand-mark {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  color: currentColor;
}

.main-nav {
  flex: 1;
  justify-content: flex-end;
}

.main-nav ul {
  gap: 6px;
}

.main-nav a {
  min-height: 38px;
  padding: 0 11px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 5px;
  line-height: 20px;
  white-space: nowrap;
}

.main-nav li {
  position: relative;
  white-space: nowrap;
}

.main-nav a[href*="wissenswertes"]::after {
  content: none;
}

.main-nav .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.main-nav .current-menu-item > a,
.main-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

.main-nav .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 60;
  min-width: 192px;
  display: block;
  visibility: hidden;
  opacity: 0;
  margin: 0;
  padding: 8px;
  transform: translateY(8px);
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.main-nav .sub-menu li {
  display: block;
}

.main-nav .sub-menu a {
  width: 100%;
  min-height: 36px;
  justify-content: flex-start;
  padding: 0 12px;
  color: rgba(23, 32, 51, 0.8);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  background: transparent;
}

.main-nav .sub-menu a:hover,
.main-nav .sub-menu .current-menu-item > a {
  background: var(--muted);
  color: var(--foreground);
}

.site-header.is-scrolled {
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.site-header.is-scrolled .nav-row {
  background: var(--card);
}

.site-header.is-scrolled .topbar {
  border-bottom-color: var(--border);
  color: rgba(23, 32, 51, 0.7);
}

.site-header.is-scrolled .topbar-icons a {
  color: rgba(23, 32, 51, 0.7);
}

.site-header.is-scrolled .topbar-icons a:hover,
.site-header.is-scrolled .topbar-icons a:focus-visible {
  color: var(--foreground);
  background: var(--muted);
}

.site-header.is-scrolled .brand {
  color: var(--foreground);
}

.site-header.is-scrolled .brand-logo-light {
  opacity: 0;
  visibility: hidden;
}

.site-header.is-scrolled .brand-logo-dark {
  opacity: 1;
  visibility: visible;
}

.site-header.is-scrolled .main-nav a {
  color: rgba(23, 32, 51, 0.8);
}

.site-header.is-scrolled .main-nav .current-menu-item > a,
.site-header.is-scrolled .main-nav a:hover {
  color: var(--foreground);
  background: var(--muted);
}

.site-header.is-scrolled .main-nav .current-menu-item > a {
  color: var(--accent);
  font-weight: 600;
}

.site-header.is-scrolled .main-nav .sub-menu a {
  color: rgba(23, 32, 51, 0.8);
  background: transparent;
}

.site-header.is-scrolled .main-nav .sub-menu a:hover,
.site-header.is-scrolled .main-nav .sub-menu .current-menu-item > a {
  color: var(--foreground);
  background: var(--muted);
}

.header-cta {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.button {
  min-height: 40px;
  padding: 0 18px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.hero {
  min-height: 804px;
  padding: 145px 0 64px;
  align-items: center;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(7, 31, 51, 0.93) 0%, rgba(7, 31, 51, 0.86) 43%, rgba(7, 31, 51, 0.54) 100%),
    rgba(7, 31, 51, 0.38);
}

.hero-bg {
  filter: saturate(0.9) brightness(0.82);
}

.hero-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 88px;
  align-items: end;
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  min-height: 38px;
  padding: 0 16px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 60px;
  line-height: 1.08;
  font-weight: 700;
}

.hero p {
  max-width: 780px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.625;
  font-weight: 400;
  color: rgba(255, 253, 246, 0.9);
}

.hero p:first-of-type {
  font-size: 20px;
}

.hero-actions {
  gap: 12px;
  margin: 28px 0 28px;
}

.hero-actions .button {
  min-height: 42px;
  padding-left: 18px;
  padding-right: 18px;
}

.stats-grid {
  max-width: 768px;
  gap: 12px;
}

.stat-tile {
  min-height: 106px;
  padding: 19px 16px 14px;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-value {
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.stat-label {
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 253, 246, 0.74);
}

.hero-owner-card {
  width: 360px;
  padding: 26px 24px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-owner-card .section-kicker {
  margin-bottom: 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--accent);
}

.hero-owner-card h2 {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}

.hero-owner-card p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: rgba(255, 253, 246, 0.72);
}

.hero-owner-card .button {
  width: 100%;
  min-height: 42px;
}

@media (max-width: 1280px) {
  .brand {
    min-width: 224px;
  }

  .main-nav ul {
    gap: 4px;
  }

  .main-nav a {
    padding: 0 8px;
    font-size: 14px;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 72px;
  }
}

.mobile-menu,
.mobile-menu-toggle {
  display: none;
}

/* Mobile parity with the approved Next.js build */
@media (max-width: 1023px) {
  .container {
    width: min(100% - 32px, 1216px);
  }

  .site-header {
    background: rgba(7, 31, 51, 0.98);
    color: var(--primary-foreground);
  }

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

  .topbar,
  .main-nav,
  .header-cta {
    display: none !important;
  }

  .header-inner {
    min-height: 80px;
    padding: 0 !important;
    display: flex;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 16px;
  }

  .brand {
    min-width: 0;
    width: min(210px, calc(100% - 56px));
    max-width: calc(100% - 56px);
    overflow: hidden;
    flex: 0 1 auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(13px, 3.7vw, 15px);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--primary-foreground);
  }

  .brand-logo {
    width: min(230px, 62vw);
  }

  .brand-mark {
    width: 27px;
    height: 27px;
    margin-right: 8px;
    color: var(--primary-foreground);
    flex: 0 0 auto;
  }

  .site-header.is-scrolled .brand-mark {
    color: var(--foreground);
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--primary-foreground);
    padding: 8px;
    cursor: pointer;
  }

  .site-header.is-scrolled .mobile-menu-toggle {
    color: var(--foreground);
  }

  .mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
  }

  .mobile-menu-toggle .close-icon,
  .site-header.mobile-open .mobile-menu-toggle .menu-icon {
    display: none;
  }

  .site-header.mobile-open .mobile-menu-toggle .close-icon {
    display: block;
  }

  .mobile-menu {
    display: none;
    background: var(--card);
    border-top: 1px solid var(--border);
    color: var(--foreground);
  }

  .site-header.mobile-open .mobile-menu {
    display: block;
  }

  .mobile-nav {
    width: min(100% - 32px, 1216px);
    margin: 0 auto;
    padding: 16px 0;
  }

  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 6px;
    color: rgba(23, 32, 51, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 180ms ease;
  }

  .mobile-nav a:hover,
  .mobile-nav .current-menu-item > a {
    background: var(--muted);
    color: var(--foreground);
  }

  .mobile-nav .sub-menu {
    margin: 8px 0 8px;
    padding: 8px 0 8px 16px;
    border-top: 1px solid var(--border);
  }

  .mobile-nav .sub-menu::before {
    content: "Wissenswertes";
    display: block;
    padding: 8px 16px;
    color: var(--muted-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-menu-cta {
    justify-content: center;
    min-height: 44px !important;
    margin-top: 16px;
    border-top: 1px solid var(--border);
    background: var(--accent) !important;
    color: var(--accent-foreground) !important;
    font-weight: 700 !important;
  }

  .hero {
    min-height: 100svh;
    padding: 120px 0 40px;
    display: flex;
    align-items: center;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(7, 31, 51, 0.93), rgba(7, 31, 51, 0.85), rgba(7, 31, 51, 0.35)),
      rgba(7, 31, 51, 0.38);
  }

  .hero-layout,
  .trust-top,
  .successor-panel,
  .successor-body,
  .about-grid,
  .contact-grid,
  .owner-inner {
    grid-template-columns: 1fr !important;
  }

  .hero-content {
    max-width: 768px;
  }

  .eyebrow {
    min-height: 36px;
    margin-bottom: 20px;
    padding: 0 16px;
    font-size: 14px;
  }

  .hero h1 {
    max-width: 768px;
    margin-bottom: 20px;
    font-size: 36px;
    line-height: 1.08;
    font-weight: 700;
    text-wrap: balance;
  }

  .hero p {
    max-width: 720px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.625;
    font-weight: 400;
    color: rgba(255, 253, 246, 0.75);
  }

  .hero p:first-of-type {
    font-size: 18px;
    color: rgba(255, 253, 246, 0.85);
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin: 28px 0;
  }

  .hero-actions .button,
  .button {
    width: 100%;
    min-height: 44px;
    padding: 0 24px;
    font-size: 16px;
    font-weight: 600;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 768px;
  }

  .stat-tile {
    min-height: auto;
    padding: 12px 16px;
    border-radius: 8px;
  }

  .stat-value {
    font-size: 30px;
  }

  .stat-label {
    font-size: 13px;
    font-weight: 500;
  }

  .hero-owner-card {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    max-width: 768px;
    margin-bottom: 56px;
  }

  .section-kicker,
  .kicker-dark {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .section-title,
  .owner-inner h2,
  .successor-body h2,
  .about-copy h2,
  .cta-band h2 {
    font-size: 30px;
    line-height: 1.12;
    font-weight: 700;
  }

  .section-copy,
  .owner-inner p:not(.kicker-dark),
  .successor-body p,
  .about-copy p,
  .cta-band p {
    font-size: 18px;
    line-height: 1.625;
  }

  .process-grid,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-card {
    padding: 24px;
  }

  .process-card h3 {
    font-size: 20px;
  }

  .owner-band {
    padding: 40px 0;
  }

  .owner-inner {
    gap: 24px;
  }

  .owner-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .owner-actions span {
    font-size: 14px;
    font-weight: 600;
  }

  .trust-stats,
  .reason-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .reason-card {
    padding: 20px;
  }

  .service-grid {
    margin-top: 40px;
  }

  .service-image {
    height: 192px;
  }

  .service-body {
    padding: 24px;
  }

  .service-body h3 {
    font-size: 24px;
  }

  .service-body p,
  .service-body li {
    font-size: 16px;
  }

  .successor-section {
    padding: 56px 0;
  }

  .successor-media {
    min-height: 260px;
  }

  .successor-body {
    gap: 24px;
    padding: 28px;
  }

  .cta-band {
    padding: 64px 0;
  }

  .cta-band .button + .button {
    margin: 12px 0 0;
  }

  .testimonial-card {
    padding: 32px;
    border-radius: 12px;
  }

  .testimonial-card > p:first-of-type {
    min-height: 0;
  }

  .trust-badges {
    gap: 12px;
    margin-top: 44px;
  }

  .trust-badge {
    min-height: 96px;
    padding: 18px 16px;
  }

  .trust-badges strong {
    font-size: 32px;
    line-height: 36px;
  }

  .about-media {
    min-height: 360px;
  }

  .about-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-section {
    padding: 80px 0;
  }

  .contact-section .section-head {
    margin-bottom: 64px;
  }

  .contact-form {
    padding: 32px;
    border-radius: 16px;
  }

  .contact-grid {
    gap: 48px;
  }

  .contact-list {
    margin: 0 0 40px;
  }

  .map-frame iframe {
    height: 320px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .container {
    width: min(100% - 48px, 1216px);
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions .button,
  .button {
    width: auto;
  }

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

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

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

@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    padding-top: 128px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero p:first-of-type {
    font-size: 20px;
  }

  .hero p {
    font-size: 18px;
  }

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

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

  .section {
    padding: 96px 0;
  }

  .section-title,
  .successor-body h2,
  .about-copy h2,
  .cta-band h2 {
    font-size: 48px;
  }

  .owner-inner h2 {
    font-size: 36px;
  }
}

/* Static WordPress subpages mirrored from the approved Next.js pages */
.static-page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--centrum-static-hero-padding-top, 80px) 0 var(--centrum-static-hero-padding-bottom, 96px);
  color: var(--primary-foreground);
  background-image:
    linear-gradient(rgba(7, 31, 52, 0.9), rgba(7, 31, 52, 0.9)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.static-page-hero__inner,
.static-container {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
}

.static-page-hero__inner {
  text-align: center;
}

.static-page-hero h1 {
  max-width: 920px;
  margin: 0 auto 16px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.static-page-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(249, 250, 251, 0.8);
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.55;
}

.static-page-hero__actions,
.static-actions,
.static-actions-center {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

.static-page-hero__actions {
  justify-content: center;
}

@media (min-width: 768px) {
  .static-page-hero {
    padding-top: var(--centrum-static-hero-padding-top-desktop, 156px);
    padding-bottom: var(--centrum-static-hero-padding-bottom-desktop, 128px);
  }
}

.static-actions-center {
  justify-content: center;
}

.static-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  padding: 9px 18px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.static-button .ci-icon {
  width: 16px;
  height: 16px;
}

.static-button--accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.static-button--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.static-button--outline {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--primary-foreground);
}

.static-section {
  padding: 96px 0;
  background: var(--background);
}

.static-section--muted {
  background: var(--secondary);
}

.static-section--dark {
  background: var(--primary);
  color: var(--primary-foreground);
}

.static-section--dark .static-heading,
.static-section--dark .static-subheading,
.static-section--dark h2,
.static-section--dark h3 {
  color: var(--primary-foreground);
}

.static-section--dark .static-lead,
.static-section--dark p,
.static-section--dark li {
  color: rgba(249, 250, 251, 0.8);
}

.static-narrow {
  max-width: 800px;
  text-align: center;
}

.static-intro-answer-section {
  background: var(--background);
}

.static-intro-answer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 56px;
  align-items: center;
}

.static-intro-column {
  max-width: 680px;
}

.static-intro-column .static-heading,
.static-intro-column .static-lead {
  text-align: left;
}

.static-intro-column .static-heading {
  overflow-wrap: normal;
  hyphens: none;
}

.static-answer-card--side {
  align-self: center;
}

.static-answer-card--side h2,
.static-answer-card--side p {
  text-align: left;
}

.static-kicker {
  margin: 0 0 12px;
  color: var(--accent-readable);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.static-heading {
  margin: 0 0 20px;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

.static-subheading {
  margin: 0 0 24px;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.18;
}

.static-lead {
  margin: 0 0 18px;
  color: var(--muted-foreground);
  font-size: 18px;
  line-height: 1.75;
}

.static-center {
  text-align: center;
}

.static-section-title {
  max-width: 760px;
  margin: 0 auto 48px;
}

.static-card-grid {
  display: grid;
  gap: 24px;
}

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

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

.static-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.static-card,
.static-panel,
.static-form-card,
.static-filter-card,
.static-quote-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  color: var(--card-foreground);
}

.static-card {
  padding: 24px;
}

.static-card h2,
.static-card h3 {
  margin: 0 0 10px;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.22;
  overflow-wrap: break-word;
  hyphens: auto;
}

.static-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 15px;
  line-height: 1.6;
}

.static-answer-card {
  padding: 30px;
}

.static-answer-card .static-kicker {
  margin: 0 0 12px;
  color: var(--accent-readable);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.static-answer-card h2 {
  margin-bottom: 14px;
}

.static-answer-card p:not(.static-kicker) {
  max-width: 760px;
  color: var(--muted-foreground);
  font-size: 17px;
  line-height: 1.7;
}

.static-answer-card p:not(.static-kicker) + p {
  margin-top: 12px;
}

.static-answer-card--compact {
  margin-top: 28px;
}

.static-iconbox {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(231, 166, 32, 0.1);
  color: var(--accent);
}

.static-iconbox .ci-icon {
  width: 24px;
  height: 24px;
}

.static-split,
.static-image-split,
.static-contact-grid,
.static-intro-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.static-intro-stats .static-heading,
.static-intro-stats .static-lead {
  text-align: left;
}

.static-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-self: center;
}

.static-stat-grid div {
  min-height: 118px;
  border-radius: 8px;
  background: var(--primary);
  padding: 28px 24px;
  color: var(--primary-foreground);
  text-align: center;
}

.static-stat-grid strong {
  display: block;
  color: var(--accent-readable);
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.static-stat-grid span {
  display: block;
  margin-top: 8px;
  color: var(--primary-foreground);
  font-size: 15px;
  font-weight: 600;
}

.static-panel {
  padding: 32px;
}

.static-checklist {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.static-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--foreground);
  font-size: 16px;
  line-height: 1.5;
}

.static-checklist .ci-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent-readable);
}

.static-tag-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: flex-start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.static-tag-panel span {
  border-radius: 6px;
  background: var(--secondary);
  padding: 10px 13px;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 500;
}

.static-process-list {
  display: grid;
  gap: 24px;
  margin-top: 44px;
}

.static-process-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.static-process-row > span {
  display: inline-flex;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--accent-readable);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
}

.static-process-row h3 {
  margin: 0 0 8px;
  color: var(--foreground);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.static-process-row p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
  text-align: left;
}

.static-cta {
  padding: 72px 0;
}

.static-cta h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.1;
}

.static-cta p {
  margin: 0 auto;
  max-width: 640px;
}

.static-final-cta-light {
  background: var(--background);
  border-top: 1px solid var(--border);
}

.static-final-cta-light .static-lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.static-faq {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  text-align: left;
}

.static-faq details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  padding: 18px 20px;
}

.static-faq summary {
  cursor: pointer;
  color: var(--foreground);
  font-weight: 700;
}

.static-faq p {
  margin: 12px 0 0;
  color: var(--muted-foreground);
  line-height: 1.65;
}

.static-quote-card {
  overflow: hidden;
  padding: 48px 40px;
  text-align: center;
  background: var(--primary);
  color: var(--primary-foreground);
}

.static-quote-card img {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  border-radius: 999px;
  border: 4px solid rgba(213, 166, 66, 0.28);
  object-fit: cover;
  object-position: center top;
}

.static-quote-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--primary-foreground);
}

.static-quote-card p,
.static-quote-card blockquote {
  margin: 0 auto;
  max-width: 420px;
  color: rgba(249, 250, 251, 0.9);
  line-height: 1.6;
}

.static-quote-card blockquote {
  margin-top: 18px;
  padding: 0;
}

.static-contact-list {
  display: grid;
  gap: 24px;
}

.static-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.static-contact-item .static-iconbox {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.static-contact-item h3 {
  margin: 0 0 4px;
  color: var(--foreground);
  font-size: 16px;
  font-weight: 700;
}

.static-contact-item p,
.static-contact-item a {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.6;
  text-decoration: none;
}

.static-contact-item p,
.whitespace-pre-line {
  white-space: pre-line;
}

.static-form-card {
  padding: 32px;
}

.static-form-card form,
.static-filter-card {
  display: grid;
  gap: 16px;
}

.static-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.static-form-card label,
.static-filter-card label {
  display: grid;
  gap: 8px;
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
}

.static-form-card input,
.static-form-card textarea,
.static-filter-card input,
.static-filter-card select {
  width: 100%;
  border: 1px solid var(--input);
  border-radius: 6px;
  background: var(--background);
  padding: 10px 12px;
  color: var(--foreground);
  font: inherit;
  font-size: 14px;
}

.static-submit,
.static-filter-card button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: var(--accent-foreground);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.static-map {
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--muted);
}

.static-map .centrum-consent-map,
.aspect-video > .centrum-consent-map {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.static-map .centrum-consent-map:has(iframe),
.static-map .centrum-consent-map--loaded,
.aspect-video > .centrum-consent-map:has(iframe),
.aspect-video > .centrum-consent-map--loaded {
  display: block;
  padding: 0;
}

.static-map .centrum-consent-map iframe,
.aspect-video > .centrum-consent-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.static-knowledge-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.static-knowledge-tabs a {
  display: grid;
  gap: 8px;
  min-height: 132px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  padding: 24px;
  color: var(--foreground);
  text-decoration: none;
}

.static-knowledge-tabs a.is-active {
  border-color: var(--accent);
  background: rgba(231, 166, 32, 0.1);
}

.static-knowledge-tabs .ci-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.static-knowledge-tabs span {
  color: var(--muted-foreground);
  font-size: 14px;
}

.static-post-card,
.static-listing-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
}

.static-post-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
}

.static-post-card__image img,
.static-listing-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.static-post-card__image div {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
}

.static-post-card__image span {
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
}

.static-post-card__image span + span {
  background: var(--accent);
  color: var(--accent-foreground);
}

.static-post-card__body,
.static-listing-card > div {
  padding: 24px;
}

.static-post-card h3,
.static-listing-card h3 {
  margin: 8px 0 10px;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.28;
}

.static-post-card p,
.static-listing-card p {
  margin: 0;
  color: var(--muted-foreground);
  line-height: 1.55;
}

.static-listings-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.static-filter-card {
  position: sticky;
  top: 112px;
  padding: 20px;
}

.static-filter-card h2 {
  margin: 0;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.2;
}

.static-filter-card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14px;
}

.static-listing-card > img {
  display: block;
  aspect-ratio: 4 / 3;
}

.static-listing-card span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.static-listing-card strong {
  display: block;
  margin: 16px 0;
  color: var(--foreground);
}

.static-legal {
  max-width: 1024px;
  color: var(--muted-foreground);
  line-height: 1.75;
}

.static-legal h2 {
  margin: 40px 0 12px;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.2;
}

.static-legal h3 {
  margin: 28px 0 10px;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.3;
}

.static-legal--editable {
  max-width: 920px;
}

.static-legal--editable > h2:first-of-type {
  margin-top: 0;
}

.static-legal-section {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.static-legal-notice {
  margin: 32px 0 8px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: var(--secondary);
  padding: 20px 24px;
}

.static-legal-notice strong {
  display: block;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.25;
}

.static-legal-notice p {
  margin: 8px 0 0;
}

.static-legal-list {
  margin: 12px 0 18px;
  padding-left: 22px;
}

.static-legal-list li,
.static-legal-ordered-list li {
  margin: 8px 0;
}

.static-legal-ordered-list {
  list-style: none;
  margin: 12px 0 18px;
  padding-left: 0;
}

.static-legal-ordered-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
}

.static-legal-subsection-list {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.static-legal-subsection-list > li {
  margin: 0;
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.static-legal-subsection-list > li:first-child {
  padding-top: 0;
  border-top: 0;
}

.static-legal-subsection-title {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  margin: 0 0 12px;
  color: var(--foreground);
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.static-legal-subsection-title > span:last-child {
  font-weight: 400;
}

.static-legal-subsection-list .static-legal-list {
  margin-top: 14px;
}

.static-legal-clause {
  color: var(--foreground);
  font-weight: 700;
}

@media (max-width: 1023px) {
  .static-card-grid--3,
  .static-card-grid--4,
  .static-knowledge-tabs,
  .static-listings-layout,
  .static-split,
  .static-image-split,
  .static-contact-grid,
  .static-intro-stats,
  .static-intro-answer-grid {
    grid-template-columns: 1fr;
  }

  .static-intro-column {
    max-width: 800px;
    margin: 0 auto;
  }

  .static-intro-column .static-heading,
  .static-intro-column .static-lead,
  .static-answer-card--side h2,
  .static-answer-card--side p {
    text-align: center;
  }

  .static-intro-column .static-actions {
    justify-content: center;
  }

  .static-filter-card {
    position: static;
  }
}

@media (max-width: 767px) {
  .static-page-hero {
    padding: var(--centrum-static-hero-padding-top, 80px) 0 var(--centrum-static-hero-padding-bottom, 96px);
  }

  .static-section {
    padding: 72px 0;
  }

  .static-card-grid--2,
  .static-form-row,
  .static-stat-grid {
    grid-template-columns: 1fr;
  }

  .static-page-hero__actions,
  .static-actions,
  .static-actions-center {
    align-items: stretch;
    flex-direction: column;
  }

  .static-button {
    width: 100%;
  }

  .static-panel,
  .static-form-card {
    padding: 24px;
  }

  .static-process-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
  }

  .static-process-row > span {
    width: 56px;
    height: 56px;
    font-size: 19px;
  }

  .static-map {
    height: 340px;
  }
}

@media (max-width: 479px) {
  .static-process-row {
    grid-template-columns: 1fr;
    justify-items: flex-start;
  }
}

/* Typography parity with the approved Next.js source */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.hero h1,
.section-title,
.process-card h3,
.owner-inner h2,
.service-body h3,
.reason-card h3,
.successor-body h2,
.about-copy h2,
.testimonial-card strong,
.trust-badges strong,
.contact-form h3,
.rating-box strong,
.cta-band h2,
.page-main h1 {
  font-family: var(--font-serif);
  letter-spacing: normal;
}

.main-nav a,
.header-cta,
.button,
.mobile-nav a,
.mobile-menu-cta {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.section-kicker,
.eyebrow,
.owner-inner .kicker-dark,
.hero-owner-card .section-kicker {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.08;
  font-weight: 700;
  text-wrap: balance;
}

.hero p {
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 29.25px;
  font-weight: 400;
}

.hero p:first-of-type {
  font-size: 20px;
  line-height: 32.5px;
}

.hero-owner-card h2 {
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}

.hero-owner-card p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.section-title {
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
}

.section-copy,
.successor-body p,
.about-copy p,
.cta-band p {
  font-size: 18px;
  line-height: 29.25px;
  font-weight: 400;
}

.process-card h3,
.service-body h3,
.reason-card h3,
.contact-form h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.process-card p,
.service-body p,
.service-body li,
.reason-card p,
.site-footer p,
.site-footer a,
.site-footer li {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 22.75px;
  font-weight: 400;
}

.service-body p,
.service-body li {
  font-size: 16px;
  line-height: 24px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  font-size: 16px;
  line-height: 24px;
}

.stat-value,
.step-number,
.trust-badges strong,
.rating-box strong {
  font-family: var(--font-serif);
  font-weight: 700;
}

.stat-value {
  font-size: 30px;
  line-height: 36px;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.owner-inner h2,
.successor-body h2,
.about-copy h2 {
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
}

.owner-inner p:not(.kicker-dark) {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
}

.cta-band h2 {
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 72px;
  }
}

@media (max-width: 1023px) {
  .mobile-nav a,
  .mobile-menu-cta {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
  }

  .section-title,
  .owner-inner h2,
  .successor-body h2,
  .about-copy h2,
  .cta-band h2 {
    font-size: 30px;
    line-height: 33.6px;
    font-weight: 700;
  }

  .section-copy,
  .owner-inner p:not(.kicker-dark),
  .successor-body p,
  .about-copy p,
  .cta-band p {
    font-size: 18px;
    line-height: 29.25px;
  }
}

@media (max-width: 639px) {
  .hero h1 {
    font-size: 36px;
    line-height: 38.88px;
    font-weight: 700;
  }

  .hero p {
    font-size: 16px;
    line-height: 26px;
  }

  .hero p:first-of-type {
    font-size: 18px;
    line-height: 29.25px;
  }

  .hero-actions .button,
  .button {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (min-width: 640px) and (max-width: 767px) {
  .hero h1 {
    font-size: 48px;
    line-height: 51.84px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero h1 {
    font-size: 60px;
    line-height: 64.8px;
  }

  .hero p:first-of-type {
    font-size: 20px;
    line-height: 32.5px;
  }

  .hero p {
    font-size: 18px;
    line-height: 29.25px;
  }

  .section-title,
  .successor-body h2,
  .about-copy h2,
  .cta-band h2 {
    font-size: 48px;
    line-height: 48px;
  }

  .owner-inner h2 {
    font-size: 36px;
    line-height: 40px;
  }
}

/* Unterseiten: Der fixe WordPress-Header braucht oben etwas mehr Luft als die Next.js-Quelle. */
body:not(.home) main > section.relative.overflow-hidden:first-child {
  padding-top: 7.5rem !important;
}

@media (min-width: 768px) {
  body:not(.home) main > section.relative.overflow-hidden:first-child {
    padding-top: 10rem !important;
  }
}

body.admin-bar:not(.home) main > section.relative.overflow-hidden:first-child {
  padding-top: 8.5rem !important;
}

@media (min-width: 768px) {
  body.admin-bar:not(.home) main > section.relative.overflow-hidden:first-child {
    padding-top: 11rem !important;
  }
}

/* Editorial article content fallback for WordPress posts. */
.centrum-article-content {
  color: var(--muted-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.78;
  max-width: 72ch;
}

.centrum-article-content > *:first-child {
  margin-top: 0;
}

.centrum-article-content > *:last-child {
  margin-bottom: 0;
}

.centrum-article-content > p {
  color: var(--muted-text);
  font-size: clamp(1rem, 0.96rem + 0.15vw, 1.08rem);
  line-height: 1.78;
  margin: 0 0 1.35rem;
  max-width: 68ch;
}

.centrum-article-content > p:first-child {
  color: var(--foreground);
  font-size: clamp(1.05rem, 1rem + 0.22vw, 1.16rem);
  line-height: 1.76;
}

.centrum-article-content > h2,
.centrum-article-content > h3,
.centrum-article-content > h4 {
  color: var(--foreground);
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0;
  text-wrap: balance;
}

.centrum-article-content > h2 {
  font-size: clamp(1.9rem, 1.52rem + 1.05vw, 2.55rem);
  line-height: 1.1;
  margin: 3.1rem 0 1rem;
}

.centrum-article-content > h3 {
  font-size: clamp(1.45rem, 1.25rem + 0.55vw, 1.85rem);
  line-height: 1.18;
  margin: 2.4rem 0 0.85rem;
}

.centrum-article-content > h4 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 2rem 0 0.7rem;
}

.centrum-article-content > ul,
.centrum-article-content > ol {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.8rem;
  max-width: 68ch;
  padding: 0;
}

.centrum-article-content > ul {
  list-style: none;
}

.centrum-article-content > ol {
  counter-reset: centrum-article-counter;
  list-style: none;
}

.centrum-article-content > ul > li,
.centrum-article-content > ol > li {
  color: var(--muted-text);
  line-height: 1.7;
  padding-left: 1.65rem;
  position: relative;
}

.centrum-article-content > ul > li::before {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(213, 166, 66, 0.14);
  content: "";
  height: 0.38rem;
  left: 0.35rem;
  position: absolute;
  top: 0.72em;
  width: 0.38rem;
}

.centrum-article-content > ol > li {
  counter-increment: centrum-article-counter;
  padding-left: 2.15rem;
}

.centrum-article-content > ol > li::before {
  align-items: center;
  background: color-mix(in srgb, var(--accent) 16%, #ffffff);
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 999px;
  color: var(--accent-readable);
  content: counter(centrum-article-counter);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  height: 1.35rem;
  justify-content: center;
  left: 0;
  line-height: 1;
  position: absolute;
  top: 0.18rem;
  width: 1.35rem;
}

.centrum-article-content li > ul,
.centrum-article-content li > ol {
  margin: 0.75rem 0 0.25rem;
}

.centrum-article-content strong {
  color: var(--foreground);
  font-weight: 700;
}

.centrum-article-content a {
  border-bottom: 1px solid rgba(213, 166, 66, 0.45);
  color: var(--accent-readable);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.centrum-article-content a:hover,
.centrum-article-content a:focus-visible {
  border-bottom-color: var(--accent-readable);
  color: var(--foreground);
}

.centrum-article-content > blockquote {
  background: rgba(255, 255, 255, 0.66);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--foreground);
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.06rem + 0.45vw, 1.45rem);
  line-height: 1.45;
  margin: 2.2rem 0;
  padding: 1.25rem 1.5rem;
}

.centrum-article-content > figure,
.centrum-article-content > img,
.centrum-article-content > .wp-block-image {
  margin: 2.2rem 0;
}

.centrum-article-content img {
  border-radius: var(--radius);
  height: auto;
  max-width: 100%;
}

.centrum-article-content figcaption {
  color: var(--muted-text);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-top: 0.65rem;
}

.centrum-article-content > hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.4rem 0;
}

@media (max-width: 767px) {
  .centrum-article-content {
    max-width: none;
  }

  .centrum-article-content > p,
  .centrum-article-content > ul,
  .centrum-article-content > ol {
    max-width: none;
  }

  .centrum-article-content > h2 {
    margin-top: 2.45rem;
  }
}
