/* ==========================================================
   Bausachverständiger Thüringen – finales Frontend
   Schnell, responsiv, barrierearm, ohne Frontend-JavaScript
   ========================================================== */

:root {
  --ink: #17232b;
  --muted: #596873;
  --navy: #102a3a;
  --navy-deep: #081b27;
  --navy-2: #1a4057;
  --accent: #bd8749;
  --accent-dark: #855827;
  --paper: #ffffff;
  --soft: #f4f7f8;
  --line: #d9e2e6;
  --success: #236c50;
  --shadow: 0 18px 48px rgba(16, 42, 58, 0.11);
  --radius: 18px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main,
section,
article,
div,
nav,
header,
footer,
figure {
  min-width: 0;
}

img,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

p,
ul,
ol,
figure {
  margin-top: 0;
}

p,
li,
span,
strong,
h1,
h2,
h3 {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin-top: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  color: var(--navy);
  font-weight: 750;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4vw, 3.9rem);
  line-height: 1.07;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 1.55vw, 1.4rem);
  line-height: 1.25;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 8px;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #efcb99;
}

/* Header -------------------------------------------------- */
.topbar {
  color: #dce7ed;
  background: var(--navy-deep);
  font-size: 0.86rem;
}

.topbar__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar p {
  margin: 0;
}

.topbar a {
  color: #fff;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar__contact {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: #fff;
  background: rgba(16, 42, 58, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(8, 27, 39, 0.08);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(16, 42, 58, 0.94);
    backdrop-filter: blur(12px);
  }
}

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

.brand {
  display: inline-flex;
  max-width: 260px;
  min-width: 0;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 213px;
  max-width: 100%;
}

.desktop-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.8vw, 28px);
  color: #eef5f8;
  font-size: 0.94rem;
  font-weight: 700;
  white-space: nowrap;
}

.desktop-nav a {
  text-decoration: none;
}

.desktop-nav a:not(.nav-cta):hover,
.desktop-nav a:not(.nav-cta):focus-visible {
  color: #efcb99;
}

.nav-cta {
  padding: 12px 18px;
  color: var(--navy-deep);
  background: #fff;
  border-radius: 999px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #eef4f6;
}

.mobile-nav {
  display: none;
  position: relative;
  flex: 0 0 auto;
}

.mobile-nav summary {
  padding: 10px 14px;
  color: var(--navy-deep);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.mobile-nav nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(310px, calc(100vw - 28px));
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.mobile-nav nav a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}

.mobile-nav nav a:hover,
.mobile-nav nav a:focus-visible {
  background: var(--soft);
}

/* Buttons ------------------------------------------------- */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

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

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

.button--secondary {
  color: var(--navy);
  background: #fff;
  border-color: #bfcbd2;
}

.button--secondary:hover {
  border-color: var(--navy);
}

.button--light {
  color: var(--navy-deep);
  background: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent-dark);
}

/* Hero ---------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(58px, 6.5vw, 88px);
  background:
    radial-gradient(circle at 12% 52%, rgba(189, 135, 73, 0.10), transparent 28%),
    linear-gradient(180deg, #f7f9fa 0%, #ffffff 100%);
}

.hero__banner-shell {
  width: min(1380px, calc(100% - 32px));
  margin-inline: auto;
  padding-top: clamp(18px, 2.2vw, 30px);
}

.hero__media {
  margin: 0;
  overflow: hidden;
  background: #dfe7eb;
  border: 1px solid #dbe4e8;
  border-radius: clamp(12px, 1.5vw, 20px);
  box-shadow: 0 18px 46px rgba(16, 42, 58, 0.13);
}

.hero__media picture {
  display: block;
}

.hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 382;
  object-fit: cover;
}

.hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: start;
  gap: clamp(36px, 6vw, 82px);
  padding-top: clamp(42px, 5vw, 68px);
}

.hero__headline,
.hero__content {
  min-width: 0;
}

.hero__headline h1 {
  max-width: 760px;
  margin-bottom: 0;
}

.hero__lead {
  max-width: 690px;
  margin-bottom: 26px;
  color: #44535d;
  font-size: clamp(1.04rem, 1.35vw, 1.18rem);
  line-height: 1.68;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  color: #45535c;
  list-style: none;
  font-size: 0.93rem;
  font-weight: 700;
}

.hero__facts li {
  position: relative;
  padding-left: 18px;
}

.hero__facts li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--success);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Trust strip --------------------------------------------- */
.trust-strip {
  color: #fff;
  background: var(--navy);
}

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

.trust-strip article {
  display: flex;
  min-width: 0;
  min-height: 138px;
  align-items: center;
  gap: 16px;
  padding: 28px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.trust-strip article:first-child {
  padding-left: 0;
}

.trust-strip article:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-strip__number {
  flex: 0 0 auto;
  color: #efcb99;
  font-size: 1.05rem;
  font-weight: 900;
}

.trust-strip strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1rem;
  line-height: 1.35;
}

.trust-strip p {
  margin: 0;
  color: #c8d5dc;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Sections ------------------------------------------------ */
.section {
  padding: clamp(70px, 8.5vw, 118px) 0;
}

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

.section--dark {
  color: #dce7ed;
  background: var(--navy);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 46px;
}

.section-heading > p:last-child {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

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

/* Service cards ------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: #c8d2d8;
  box-shadow: 0 16px 38px rgba(16, 42, 58, 0.09);
  transform: translateY(-3px);
}

.service-card > img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.service-card__body p {
  margin-bottom: 18px;
  color: var(--muted);
}

.service-card__body a {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.service-card__body a:hover {
  color: var(--navy);
}

/* Split section ------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(44px, 7vw, 94px);
}

.split > div:first-child > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.check-list {
  display: grid;
  gap: 14px;
}

.check-list > div {
  position: relative;
  min-width: 0;
  padding: 22px 22px 22px 58px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.check-list > div::before {
  position: absolute;
  top: 24px;
  left: 22px;
  display: grid;
  width: 24px;
  height: 24px;
  content: "✓";
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.check-list strong,
.check-list span {
  display: block;
}

.check-list strong {
  margin-bottom: 4px;
  color: var(--navy);
  line-height: 1.4;
}

.check-list span {
  color: var(--muted);
  font-size: 0.94rem;
}

/* Steps --------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  position: relative;
  min-width: 0;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li > span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  color: #fff;
  background: var(--navy);
  border-radius: 12px;
  place-items: center;
  font-weight: 900;
}

.steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Quality ------------------------------------------------- */
.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(46px, 7vw, 100px);
}

.quality-points {
  display: grid;
  gap: 26px;
}

.quality-points article {
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.quality-points article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.quality-points p {
  margin-bottom: 0;
  color: #c8d5dc;
}

/* FAQ ----------------------------------------------------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(42px, 7vw, 90px);
}

.faq__intro {
  position: sticky;
  top: 122px;
}

.faq__intro > p:not(.eyebrow) {
  color: var(--muted);
}

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

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  line-height: 1.45;
  list-style: none;
}

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

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  content: "+";
  color: var(--accent-dark);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  padding: 0 36px 22px 0;
  margin-bottom: 0;
  color: var(--muted);
}

/* CTA ----------------------------------------------------- */
.cta {
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, #1f465d 100%);
}

.cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: center;
  gap: 50px;
  padding-block: clamp(54px, 7vw, 82px);
}

.cta h2 {
  color: #fff;
}

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

.cta__actions {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-left: clamp(0px, 3vw, 36px);
}

.cta__phone {
  max-width: 100%;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.cta__actions span {
  color: #c7d5dc;
  font-size: 0.9rem;
}

/* Footer -------------------------------------------------- */
.site-footer {
  color: #bdc9cf;
  background: #091821;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 0.8fr 1fr;
  gap: 40px;
  padding: 62px 0 48px;
}

.brand--footer {
  margin-bottom: 18px;
  padding: 0;
  background: transparent;
}

.footer__brand p {
  max-width: 360px;
}

.site-footer h2 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0;
}

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

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  color: #dbe5ea;
}

.site-footer address {
  margin-bottom: 16px;
  font-style: normal;
  overflow-wrap: anywhere;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 0.85rem;
}

.footer__bottom p {
  margin: 0;
}

/* Accessibility ------------------------------------------ */
:focus-visible {
  outline: 3px solid #e0a961;
  outline-offset: 3px;
}

/* Desktop -> compact navigation before it can collide ----- */
@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero__intro,
  .split,
  .quality-grid,
  .faq__grid,
  .cta__inner {
    grid-template-columns: 1fr;
  }


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

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

  .faq__intro {
    position: static;
  }

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

@media (max-width: 820px) {
  .topbar__inner > p {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .hero__banner-shell {
    width: min(100% - 24px, 1380px);
    padding-top: 14px;
  }

  h1 {
    font-size: clamp(2.15rem, 8.2vw, 3.5rem);
  }

  h2 {
    font-size: clamp(1.75rem, 6.5vw, 2.65rem);
  }
}

/* Mobile -------------------------------------------------- */
@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .topbar__inner {
    min-height: 34px;
  }

  .topbar__contact span,
  .topbar__contact a:last-child {
    display: none;
  }

  .header__inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    max-width: calc(100% - 92px);
  }

  .brand img {
    width: 168px;
  }

  .hero__intro {
    gap: 30px;
    padding-top: 38px;
  }

  .hero__actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero__facts {
    display: grid;
    gap: 8px;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
    padding-block: 12px;
  }

  .trust-strip article,
  .trust-strip article:first-child,
  .trust-strip article:last-child {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }

  .service-grid,
  .steps,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card > img {
    height: auto;
    aspect-ratio: 6 / 5;
    object-fit: cover;
  }
.cta__actions {
    padding-left: 0;
  }

  .footer__grid {
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand img {
    width: 150px;
  }

  .mobile-nav summary {
    padding: 9px 12px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.09;
  }

  h2 {
    line-height: 1.15;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .section {
    padding-block: 62px;
  }

  .service-card__body,
  .steps li {
    padding: 22px;
  }

  .faq summary {
    padding-right: 36px;
  }

  .faq details p {
    padding-right: 0;
  }
}

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

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


/* Standard-Unterseiten ------------------------------------ */
.page-hero {
  padding-block: clamp(58px, 8vw, 96px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(189, 135, 73, 0.24), transparent 34%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.page-hero--compact {
  padding-block: clamp(54px, 7vw, 84px);
}

.page-hero .eyebrow {
  color: #efcb99;
}

.page-hero h1 {
  max-width: 900px;
  color: #fff;
}

.page-hero__lead {
  max-width: 820px;
  margin-bottom: 0;
  color: #dbe7ed;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.contact-card {
  display: grid;
  gap: 5px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 42, 58, 0.07);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: #b8c7cf;
  box-shadow: var(--shadow);
}

.contact-card__label {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--navy);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.contact-card > span:last-child {
  color: var(--muted);
}

.contact-note {
  padding: clamp(26px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-note h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.clean-list {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.legal-page__inner {
  display: grid;
  gap: 20px;
  max-width: 900px;
}

.legal-card {
  padding: clamp(24px, 4vw, 36px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 42, 58, 0.06);
}

.legal-card h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.legal-card p:last-child,
.legal-card address:last-child {
  margin-bottom: 0;
}

.legal-card address {
  font-style: normal;
}

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

/* SEO-Fachtexte & Standortseiten ------------------------- */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: start;
}

.content-grid__main {
  max-width: 820px;
}

.content-grid__main > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.03rem;
}

.info-panel {
  padding: clamp(24px, 3.5vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(16, 42, 58, 0.08);
}

.info-panel h3 {
  margin-bottom: 18px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.editorial-grid--reverse .editorial-card:first-child {
  order: 2;
}

.editorial-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 46px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.editorial-card--accent {
  background: #f7f1e9;
  border-color: #e7d5bf;
}

.editorial-card p:last-child {
  margin-bottom: 0;
}

.light-copy {
  color: #c8d5dc;
}

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

.location-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16, 42, 58, 0.06);
}

.location-card__tag {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--accent-dark);
  background: #f7f1e9;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.location-card p {
  color: var(--muted);
}

.location-card a {
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.location-hero {
  padding-block: clamp(64px, 8vw, 104px);
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(189, 135, 73, 0.25), transparent 34%),
    linear-gradient(135deg, var(--navy-deep), var(--navy));
}

.location-hero .eyebrow,
.location-hero h1 {
  color: #fff;
}

.location-hero .eyebrow {
  color: #efcb99;
}

.location-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.location-hero__facts {
  padding: 28px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.location-hero__facts > strong {
  display: block;
  margin-bottom: 16px;
  color: #fff;
  font-size: 1.15rem;
}

.clean-list--light {
  margin-bottom: 0;
  color: #e3edf1;
}

.clean-list--light li::before {
  background: #efcb99;
}

.local-phone {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

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

.topic-grid article {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.topic-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 1120px) {
  .content-grid,
  .location-hero__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .editorial-grid,
  .topic-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .editorial-grid--reverse .editorial-card:first-child {
    order: initial;
  }

  .location-hero__facts,
  .info-panel,
  .location-card,
  .editorial-card,
  .topic-grid article {
    padding: 22px;
  }
}

/* Standortübersicht – skalierbar für viele Städte -------- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.locations-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 108px);
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(189, 135, 73, 0.28), transparent 30%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 68%, #173b50 100%);
}

.locations-hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 430px;
  height: 430px;
  content: "";
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255,255,255,0.025),
    0 0 0 140px rgba(255,255,255,0.018);
  pointer-events: none;
}

.locations-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.locations-hero h1 {
  max-width: 900px;
  margin-bottom: 24px;
  color: #fff;
}

.locations-hero__lead {
  max-width: 780px;
  margin-bottom: 0;
  color: #dce8ee;
  font-size: clamp(1.04rem, 1.35vw, 1.19rem);
}

.locations-hero__panel {
  padding: clamp(26px, 4vw, 38px);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.locations-hero__number {
  display: block;
  margin-bottom: 2px;
  color: #efcb99;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
}

.locations-hero__panel strong {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 1.08rem;
}

.locations-hero__panel p {
  margin-bottom: 18px;
  color: #d4e0e6;
  font-size: 0.95rem;
}

.locations-hero__panel a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.locations-hero__panel a:hover,
.locations-hero__panel a:focus-visible {
  color: #efcb99;
}

.locations-heading {
  max-width: 820px;
}

.locations-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.locations-card {
  display: flex;
  min-width: 0;
  min-height: 310px;
  flex-direction: column;
  padding: clamp(26px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 42, 58, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.locations-card:hover {
  border-color: #bdcbd2;
  box-shadow: 0 20px 48px rgba(16, 42, 58, 0.11);
  transform: translateY(-3px);
}

.locations-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.locations-card__region {
  display: inline-flex;
  padding: 6px 10px;
  color: var(--accent-dark);
  background: #f7f1e9;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.locations-card__arrow {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--soft);
  border-radius: 50%;
  place-items: center;
  font-weight: 900;
}

.locations-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

.locations-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.locations-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-weight: 850;
  text-decoration: none;
}

.locations-card__link:hover,
.locations-card__link:focus-visible {
  color: var(--accent-dark);
}

.locations-directory__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  margin-bottom: 40px;
}

.locations-directory__head > div > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.locations-az {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.locations-az a {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  place-items: center;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
}

.locations-az a:hover,
.locations-az a:focus-visible {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.locations-directory__list {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(16, 42, 58, 0.05);
}

.locations-letter {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.locations-letter:last-child {
  border-bottom: 0;
}

.locations-letter__label {
  display: grid;
  min-height: 104px;
  color: var(--navy);
  background: #eef3f5;
  place-items: center;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
}

.locations-letter__content {
  padding: 18px;
}

.locations-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.locations-city-link {
  display: flex;
  min-width: 0;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.locations-city-link:hover,
.locations-city-link:focus-visible {
  background: var(--soft);
  border-color: var(--line);
  transform: translateX(2px);
}

.locations-city-link span:first-child {
  min-width: 0;
}

.locations-city-link strong,
.locations-city-link small {
  display: block;
}

.locations-city-link strong {
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.3;
}

.locations-city-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.locations-city-link > span:last-child {
  flex: 0 0 auto;
  color: var(--accent-dark);
  font-weight: 900;
}

.locations-request {
  padding-top: clamp(64px, 7vw, 92px);
}

.locations-request__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding: clamp(30px, 5vw, 54px);
  color: #fff;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius);
}

.locations-request__inner h2 {
  color: #fff;
}

.locations-request__inner p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: #d6e2e8;
}

.locations-request__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.locations-request__actions .button--primary {
  color: var(--navy-deep);
  background: #fff;
}

.locations-request__actions .button--primary:hover,
.locations-request__actions .button--primary:focus-visible {
  background: #eef4f6;
}

.locations-request__phone {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 850;
  text-decoration: none;
}

.locations-request__phone:hover,
.locations-request__phone:focus-visible {
  color: #efcb99;
}

@media (max-width: 1020px) {
  .locations-hero__grid,
  .locations-request__inner {
    grid-template-columns: 1fr;
  }

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

  .locations-directory__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .locations-az {
    justify-content: flex-start;
  }

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

@media (max-width: 700px) {
  .locations-card-grid,
  .locations-link-grid {
    grid-template-columns: 1fr;
  }

  .locations-card {
    min-height: 0;
  }

  .locations-letter {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .locations-letter__label {
    min-height: 84px;
    font-size: 1.5rem;
  }

  .locations-letter__content {
    padding: 10px;
  }

  .locations-city-link {
    min-height: 62px;
    padding: 10px 12px;
  }

  .locations-request__inner,
  .locations-hero__panel {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .locations-letter {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .locations-letter__label {
    font-size: 1.25rem;
  }

  .locations-az a {
    width: 36px;
    height: 36px;
  }
}


/* ==========================================================
   Stadtseiten – starke lokale Money-Pages
   ========================================================== */
.local-breadcrumb {
  padding: 13px 0;
  color: var(--muted);
  background: #f7f9fa;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.local-breadcrumb .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.local-breadcrumb a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.local-breadcrumb a:hover,
.local-breadcrumb a:focus-visible {
  text-decoration: underline;
}

.city-money-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(189, 135, 73, 0.18), transparent 34%),
    linear-gradient(135deg, #071a25 0%, #102a3a 58%, #173f55 100%);
}

.city-money-hero::after {
  position: absolute;
  right: -180px;
  bottom: -270px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  content: "";
}

.city-money-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.65fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
}

.city-money-hero h1 {
  max-width: 900px;
  color: #fff;
}

.city-money-hero__lead {
  max-width: 820px;
  margin-bottom: 30px;
  color: #dbe7ed;
  font-size: clamp(1.06rem, 1.45vw, 1.24rem);
  line-height: 1.72;
}

.city-money-hero__lead strong {
  color: #fff;
}

.city-money-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.button--hero {
  color: var(--navy-deep);
  background: #fff;
}

.button--hero:hover,
.button--hero:focus-visible {
  background: #edf4f6;
}

.city-money-hero__phone {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 850;
  text-decoration: none;
}

.city-money-hero__phone:hover,
.city-money-hero__phone:focus-visible {
  color: #efcb99;
}

.city-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.city-trust-chips li {
  padding: 8px 12px;
  color: #e7eff3;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
}

.expert-card {
  padding: clamp(26px, 3.5vw, 38px);
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 22px;
  box-shadow: 0 28px 68px rgba(0,0,0,0.22);
}

.expert-card__kicker {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.expert-card h2 {
  margin-bottom: 2px;
  font-size: clamp(1.7rem, 2.2vw, 2.25rem);
}

.expert-card__role {
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

.expert-card__credentials {
  display: grid;
  gap: 10px;
}

.expert-card__credentials p {
  margin: 0;
  padding: 14px 15px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.expert-card__credentials strong {
  color: var(--navy);
}

.expert-card__contact {
  display: inline-flex;
  margin-top: 22px;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}

.expert-card__contact:hover,
.expert-card__contact:focus-visible {
  color: var(--accent-dark);
}

.city-jumpnav {
  position: sticky;
  z-index: 50;
  top: 86px;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16,42,58,0.04);
}

@supports (backdrop-filter: blur(10px)) {
  .city-jumpnav {
    background: rgba(255,255,255,0.90);
    backdrop-filter: blur(10px);
  }
}

.city-jumpnav__inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  white-space: nowrap;
}

.city-jumpnav__inner > span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.city-jumpnav a {
  padding: 7px 10px;
  color: var(--navy);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.city-jumpnav a:hover,
.city-jumpnav a:focus-visible {
  background: var(--soft);
}

.city-split,
.city-content-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: start;
  gap: clamp(42px, 7vw, 86px);
}

.city-split--reverse {
  grid-template-columns: minmax(330px, 0.76fr) minmax(0, 1.24fr);
}

.city-intro p:not(.eyebrow),
.city-content-main p {
  color: #34454f;
  font-size: 1.02rem;
}

.city-check-panel,
.city-side-note {
  padding: clamp(24px, 3.2vw, 34px);
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.city-check-panel--accent {
  background: #fff9f2;
  border-color: #ead8c2;
}

.city-check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.city-check-list li {
  position: relative;
  padding-left: 28px;
  color: #33444e;
}

.city-check-list li::before {
  position: absolute;
  top: 0.13em;
  left: 0;
  width: 18px;
  height: 18px;
  color: #fff;
  background: var(--success);
  border-radius: 50%;
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
}

.city-check-list--light li {
  color: #e5eef2;
}

.city-check-list--light li::before {
  color: var(--navy-deep);
  background: #efcb99;
}

.section-heading--wide {
  max-width: 920px;
}

.local-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.local-context-card {
  position: relative;
  min-height: 100%;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16,42,58,0.045);
}

.local-context-card__number {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.local-context-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.local-source-note {
  max-width: 920px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.local-source-note a {
  color: var(--navy);
  font-weight: 750;
}

.service-intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.service-intent-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(16,42,58,0.045);
}

.service-intent-card__label {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 5px 9px;
  color: var(--accent-dark);
  background: #fff6ea;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-intent-card p {
  color: var(--muted);
}

.service-intent-card a {
  margin-top: auto;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.service-intent-card a:hover,
.service-intent-card a:focus-visible {
  color: var(--accent-dark);
}

.city-deep-dive {
  scroll-margin-top: 150px;
}

.city-deep-dive__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(44px, 7vw, 84px);
}

.city-deep-dive__panel {
  padding: clamp(26px, 3.6vw, 38px);
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
}

.city-deep-dive__panel h3 {
  color: #fff;
}

#bauschaeden,
#bauabnahme,
#beweissicherung,
#immobilienbewertung,
#faq {
  scroll-margin-top: 150px;
}

.city-side-note {
  position: sticky;
  top: 170px;
}

.credential-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
}

.credential-feature__card {
  padding: clamp(28px, 4vw, 42px);
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.credential-feature__badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  color: var(--accent-dark);
  background: #fff6e9;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.credential-feature__card a {
  color: var(--navy);
  font-weight: 850;
  text-decoration: none;
}

.expert-profile {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(46px, 7vw, 92px);
}

.expert-profile__credentials {
  display: grid;
  gap: 14px;
}

.expert-profile__credentials article {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 18px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.expert-profile__credentials article > span {
  grid-row: 1 / span 2;
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--navy);
  background: #eef3f5;
  border-radius: 12px;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 900;
}

.expert-profile__credentials h3 {
  margin-bottom: 5px;
}

.expert-profile__credentials p {
  margin-bottom: 0;
  color: var(--muted);
}

.city-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.city-process-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.city-process-grid article > span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.city-process-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.city-area__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: start;
  gap: clamp(40px, 7vw, 88px);
}

.city-area__links {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.city-area__links h3 {
  margin: 0;
  padding: 20px 22px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.city-area__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.city-area__links a:last-child {
  border-bottom: 0;
}

.city-area__links a:hover,
.city-area__links a:focus-visible {
  background: var(--soft);
}

.city-final-cta {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .city-money-hero__grid,
  .city-split,
  .city-split--reverse,
  .city-content-columns,
  .city-deep-dive__grid,
  .credential-feature,
  .expert-profile,
  .city-area__grid {
    grid-template-columns: 1fr;
  }

  .expert-card,
  .city-check-panel,
  .city-side-note,
  .credential-feature__card,
  .city-area__links {
    max-width: 760px;
  }

  .city-side-note {
    position: static;
  }

  .local-context-grid,
  .service-intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .city-jumpnav {
    top: 78px;
  }

  .city-money-hero {
    padding: 48px 0 54px;
  }

  .city-money-hero__lead {
    font-size: 1rem;
  }

  .city-money-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .city-money-hero__actions .button {
    width: 100%;
  }

  .city-money-hero__phone {
    text-align: center;
  }

  .city-trust-chips {
    display: grid;
  }

  .city-trust-chips li {
    border-radius: 10px;
  }

  .local-context-grid,
  .service-intent-grid,
  .city-process-grid {
    grid-template-columns: 1fr;
  }

  .service-intent-card {
    min-height: 0;
  }

  .expert-profile__credentials article {
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    padding: 18px;
  }

  .expert-profile__credentials article > span {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .local-breadcrumb {
    font-size: 0.76rem;
  }

  .expert-card,
  .city-check-panel,
  .city-side-note,
  .local-context-card,
  .service-intent-card,
  .city-deep-dive__panel,
  .credential-feature__card {
    padding: 20px;
  }
}

/* Erfurt: vier gleichwertige lokale Gebäudekontexte */
.local-context-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .local-context-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .local-context-grid--four {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================
   CTA / BUTTONS – finale einheitliche Gestaltung
   ========================================================== */

/* Basisbuttons etwas hochwertiger */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 13px 22px;

  border: 1px solid transparent;
  border-radius: 12px;

  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 8px 22px rgba(16, 42, 58, 0.12);

  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 42, 58, 0.18);
}


/* Primärer dunkler Button */
.button--primary {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: #fff;
  background: var(--navy-2);
  border-color: var(--navy-2);
}


/* Weißer Button */
.button--light {
  color: var(--navy-deep);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.button--light:hover,
.button--light:focus-visible {
  color: var(--navy-deep);
  background: #f2f6f8;
}


/* Hero-Button */
.button--hero {
  color: var(--navy-deep);
  background: #fff;
  border-color: #fff;
}

.button--hero:hover,
.button--hero:focus-visible {
  color: var(--navy-deep);
  background: #edf4f6;
  border-color: #edf4f6;
}


/* In PHP bereits verwendet, bisher aber nicht vorhanden */
.button--full {
  width: 100%;
}


/* ----------------------------------------------------------
   Stadtseiten: Ansprechpartner-CTA
   ---------------------------------------------------------- */

.expert-card__contact {
  display: inline-flex;
  min-height: 46px;

  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 22px;
  padding: 11px 18px;

  color: #fff;
  background: var(--navy);

  border: 1px solid var(--navy);
  border-radius: 11px;

  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;

  box-shadow: 0 7px 18px rgba(16, 42, 58, 0.14);

  transition:
    transform 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.expert-card__contact:hover,
.expert-card__contact:focus-visible {
  color: #fff;
  background: var(--navy-2);

  transform: translateY(-1px);

  box-shadow: 0 10px 24px rgba(16, 42, 58, 0.19);
}


/* ----------------------------------------------------------
   Stadtseiten: Leistungs-Karten
   ---------------------------------------------------------- */

.service-intent-card a {
  display: inline-flex;
  min-height: 44px;
  width: fit-content;

  align-items: center;
  justify-content: center;
  gap: 9px;

  margin-top: auto;
  padding: 10px 16px;

  color: #fff;
  background: var(--navy);

  border: 1px solid var(--navy);
  border-radius: 10px;

  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.25;

  text-decoration: none;

  transition:
    transform 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.service-intent-card a:hover,
.service-intent-card a:focus-visible {
  color: #fff;
  background: var(--navy-2);

  transform: translateY(-1px);

  box-shadow: 0 8px 20px rgba(16, 42, 58, 0.16);
}


/* ----------------------------------------------------------
   Immobilienbewertung / Zertifizierung
   ---------------------------------------------------------- */

.credential-feature__card a {
  display: inline-flex;
  min-height: 46px;

  align-items: center;
  justify-content: center;
  gap: 9px;

  margin-top: 8px;
  padding: 11px 18px;

  color: #fff;
  background: var(--navy);

  border: 1px solid var(--navy);
  border-radius: 11px;

  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;

  box-shadow: 0 7px 18px rgba(16, 42, 58, 0.13);

  transition:
    transform 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.credential-feature__card a:hover,
.credential-feature__card a:focus-visible {
  color: #fff;
  background: var(--navy-2);

  transform: translateY(-1px);

  box-shadow: 0 10px 24px rgba(16, 42, 58, 0.18);
}


/* ----------------------------------------------------------
   Startseite: Leistungs-Karten
   ---------------------------------------------------------- */

.service-card__body a {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;

  align-items: center;
  justify-content: center;
  gap: 8px;

  margin-top: auto;
  padding: 10px 16px;

  color: #fff;
  background: var(--navy);

  border: 1px solid var(--navy);
  border-radius: 10px;

  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;

  transition:
    transform 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.service-card__body a:hover,
.service-card__body a:focus-visible {
  color: #fff;
  background: var(--navy-2);

  transform: translateY(-1px);

  box-shadow: 0 8px 20px rgba(16, 42, 58, 0.16);
}


/* ----------------------------------------------------------
   Standort-Karten
   ---------------------------------------------------------- */

.locations-card__link {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;

  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: auto;
  padding: 10px 16px;

  color: #fff;
  background: var(--navy);

  border: 1px solid var(--navy);
  border-radius: 10px;

  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;

  transition:
    transform 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.locations-card__link:hover,
.locations-card__link:focus-visible {
  color: #fff;
  background: var(--navy-2);

  transform: translateY(-1px);

  box-shadow: 0 8px 20px rgba(16, 42, 58, 0.16);
}


/* ----------------------------------------------------------
   Standort-Hero CTA
   ---------------------------------------------------------- */

.locations-hero__panel a {
  display: inline-flex;
  min-height: 44px;

  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 10px 16px;

  color: var(--navy-deep);
  background: #fff;

  border: 1px solid #fff;
  border-radius: 10px;

  font-weight: 850;
  text-decoration: none;

  transition:
    transform 150ms ease,
    background-color 150ms ease;
}

.locations-hero__panel a:hover,
.locations-hero__panel a:focus-visible {
  color: var(--navy-deep);
  background: #edf4f6;

  transform: translateY(-1px);
}


/* ----------------------------------------------------------
   Mobil
   ---------------------------------------------------------- */

@media (max-width: 700px) {

  .service-intent-card a,
  .service-card__body a,
  .locations-card__link,
  .expert-card__contact,
  .credential-feature__card a {
    width: 100%;
  }

}
/* ==========================================================
   Partnerseite – passend zum bestehenden Navy/Gold-Design
   ========================================================== */

.partner-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.partner-hero__badge {
  display: grid;
  width: clamp(150px, 15vw, 190px);
  aspect-ratio: 1;
  place-items: center;
  align-content: center;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px);
}

.partner-hero__badge span {
  color: #efcb99;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.partner-hero__badge small {
  margin-top: 8px;
  color: #dce8ee;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-heading {
  max-width: 820px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.partner-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 38px rgba(16,42,58,0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partner-card:hover {
  border-color: #bdcbd2;
  box-shadow: 0 22px 52px rgba(16,42,58,0.12);
  transform: translateY(-3px);
}

.partner-card__logo-wrap {
  display: grid;
  min-height: 260px;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 22%, rgba(189,135,73,0.10), transparent 34%),
    linear-gradient(145deg, #f6f8f9, #edf2f4);
  border-right: 1px solid var(--line);
  place-items: center;
}

.partner-card__logo-wrap img {
  width: 100%;
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
}

.partner-card__fallback {
  display: grid;
  width: 112px;
  height: 112px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-2));
  border: 5px solid #fff;
  border-radius: 28px;
  box-shadow: 0 12px 30px rgba(16,42,58,0.16);
  place-items: center;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.partner-card__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(26px, 3.5vw, 38px);
}

.partner-card__category {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 6px 10px;
  color: var(--accent-dark);
  background: #fff6e9;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.partner-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.partner-card p {
  margin-bottom: 24px;
  color: var(--muted);
}

.partner-card__link {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding: 11px 18px;
  color: #fff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(16,42,58,0.14);
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.partner-card__link:hover,
.partner-card__link:focus-visible {
  color: #fff;
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: 0 11px 26px rgba(16,42,58,0.20);
}

.partner-note__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: clamp(38px, 7vw, 90px);
}

.partner-note__grid > div:first-child > p:last-child {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
}

.partner-note__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.partner-note__phone {
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 850;
  text-decoration: none;
}

.partner-note__phone:hover,
.partner-note__phone:focus-visible {
  color: var(--accent-dark);
}

@media (max-width: 1040px) {
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .partner-card {
    grid-template-columns: 170px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .partner-hero__inner,
  .partner-note__grid {
    grid-template-columns: 1fr;
  }

  .partner-hero__badge {
    width: 140px;
  }
}

@media (max-width: 620px) {
  .partner-card {
    grid-template-columns: 1fr;
  }

  .partner-card__logo-wrap {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .partner-card__logo-wrap img {
    max-width: 170px;
    max-height: 120px;
  }

  .partner-card__link,
  .partner-note__actions .button {
    width: 100%;
  }
}