/* Robust Global Typography & Font-Family Hierarchy */
body {
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif !important;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.button,
.header-call,
.mobile-call,
.section-label,
.eyebrow,
summary,
.city-group-title,
.hero-facts b,
.trust b,
.contact h2,
.contact a {
  font-family:
    "Manrope",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif !important;
  letter-spacing: -0.035em;
}

.contact h2 {
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}

.contact p {
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif !important;
}

:root {
  --navy: #202421;
  --blue: #a34827;
  --yellow: #d5a237;
  --pale: #f3eee6;
  --ink: #242824;
  --muted: #6a665f;
  --line: #ddd4c7;
}
body {
  background: #f6f0e5;
}
.brand.brand-image {
  display: block;
  width: 205px;
  height: 78px;
  margin-right: auto;
  overflow: hidden;
}
.brand.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.topline {
  color: #f2eade;
}
.topline i {
  background: #67c384;
  box-shadow: 0 0 0 4px #67c38423;
}
.hero-shade { background: linear-gradient(90deg, rgba(20,24,22,0.92) 0%, rgba(20,24,22,0.65) 45%, rgba(20,24,22,0) 100%) !important; }
.header-call,
.hero .button.yellow,
.detail-hero .button.yellow {
  background: #d5a237;
  border-color: #d5a237;
  color: #202421;
}
.hero .button,
.subhero .button,
.header-call {
  border-radius: 10px;
}
.hero-facts {
  overflow: hidden;
  border-radius: 14px;
}
.hero-facts div:first-child {
  border-radius: 14px 0 0 14px;
}
.hero-facts div:last-child {
  border-radius: 0 14px 14px 0;
}
.safe-gallery {
  padding: 0 0 118px;
}
.gallery-intro,
.gallery-grid {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.gallery-intro {
  margin-bottom: 44px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-grid figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #2a2d29;
}
.gallery-grid .gallery-feature {
  grid-column: auto; grid-row: auto;
  min-height: 674px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-grid figure:hover img {
  transform: scale(1.035);
}
.gallery-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 48px 22px 20px;
  background: rgba(22, 25, 23, 0.88));
  color: #fff;
}
.gallery-grid figcaption b,
.gallery-grid figcaption span {
  display: block;
}
.gallery-grid figcaption b {
  font-family: Manrope;
  font-size: 18px;
}
.gallery-grid figcaption span {
  margin-top: 4px;
  color: #ece4d8;
  font-size: 13px;
  line-height: 1.45;
}
.gallery-grid a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.gallery-grid a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -4px;
}
.detail-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 25, 23, 0.88),
    rgba(24, 27, 25, 0.65) 44%,
    rgba(24, 27, 25, 0.12)
  );
}
.detail-hero > div {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 76px;
}
.detail-hero h1 {
  max-width: 820px;
  margin: 12px 0 18px;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.detail-hero p {
  max-width: 650px;
  font-size: 18px;
  line-height: 1.65;
}
.detail-hero .button.yellow {
  border-radius: 10px;
}
.detail-copy {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0;
}
.detail-copy .lead-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
  margin-bottom: 68px;
}
.detail-copy h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.07;
  letter-spacing: -0.045em;
}
.detail-copy h3 {
  font-size: 23px;
  margin: 34px 0 10px;
}
.detail-copy p {
  max-width: 780px;
  font-size: 17px;
  line-height: 1.75;
}
.detail-copy .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 42px 0 74px;
}
.detail-copy .cards article {
  position: relative;
  display: flex;
  min-height: 360px;
  justify-content: flex-end;
  flex-direction: column;
  overflow: hidden;
  padding: 0 26px 27px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #252824;
  color: #fff;
}
.detail-copy .cards article:after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background: rgba(22, 25, 23, 0.88) 20%,
    rgba(19, 22, 20, 0.88) 100%
  );
}
.detail-copy .cards article > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-copy .cards h3,
.detail-copy .cards p {
  position: relative;
  z-index: 1;
}
.detail-copy .cards h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 22px;
}
.detail-copy .cards p {
  margin: 0;
  color: #f1e8db;
  font-size: 14px;
  line-height: 1.55;
}
.detail-copy .process-list {
  margin: 30px 0 65px;
  border-top: 1px solid var(--line);
}
.detail-copy .process-list article {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.detail-copy .process-list span {
  color: var(--blue);
  font-weight: 800;
}
.detail-copy .process-list h3 {
  margin: 0;
}
.detail-copy .faq-detail {
  margin-top: 64px;
}
.detail-copy details {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.detail-copy summary {
  font-family: Manrope;
  font-weight: 800;
  cursor: pointer;
}
.detail-copy details p {
  padding-top: 8px;
}
.detail-related {
  background: var(--pale);
  padding: 80px 0;
}
.detail-related > div {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}
.detail-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.detail-related a {
  display: block;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.detail-related a:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.detail-copy .process-list span {
  display: none;
}
.detail-copy .process-list article {
  grid-template-columns: 1fr;
}
/* Nummernmarkierungen werden auf allen Seiten ausgeblendet. */
.service-grid > article > span,
.steps > article > span {
  display: none;
}
.service-grid h3 {
  margin-top: 0;
}
.steps h3 {
  margin-top: 0;
}
@media (max-width: 680px) {
  .hero-shade {
    background: rgba(22, 25, 23, 0.88);
  }
  .safe-gallery {
    padding: 0 0 75px;
  }
  .gallery-intro,
  .gallery-grid {
    width: min(100% - 30px, var(--max));
  }
  .gallery-intro {
    display: block;
    margin-bottom: 30px;
  }
  .gallery-intro h2 {
    margin-bottom: 20px;
    font-size: 38px;
  }
  .gallery-intro > p:last-child {
    font-size: 16px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .gallery-grid figure {
    min-height: 210px;
    border-radius: 10px;
  }
  .gallery-grid .gallery-feature {
    grid-column: auto;
    grid-row: auto;
    min-height: 390px;
  }
  .gallery-grid figcaption {
    padding: 42px 14px 14px;
  }
  .gallery-grid figcaption b {
    font-size: 16px;
  }
  .gallery-grid figcaption span {
    font-size: 12px;
  }
  html,
  body {
    overflow-x: clip;
  }
  .eligibility {
    grid-template-columns: minmax(0, 1fr);
  }
  .eligibility > div,
  .eligibility aside {
    min-width: 0;
    width: 100%;
  }
  .eligibility li {
    overflow-wrap: anywhere;
  }
  .detail-hero {
    min-height: 520px;
  }
  .detail-hero > div,
  .detail-copy,
  .detail-related > div {
    width: min(100% - 30px, var(--max));
  }
  .detail-hero > div {
    padding: 90px 0 48px;
  }
  .detail-hero h1 {
    font-size: 50px;
  }
  .detail-copy {
    padding: 70px 0;
  }
  .detail-copy .lead-grid,
  .detail-copy .cards {
    display: block;
  }
  .detail-copy .cards article {
    margin: 14px 0;
  }
  .detail-copy .process-list article {
    grid-template-columns: 45px 1fr;
    gap: 12px;
  }
}

/* Einsatzfelder: bewusst als redaktionelle Fachliste statt als gleichförmige Kacheln. */
.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(42px, 7vw, 108px);
  row-gap: 0;
  margin-top: 62px;
  border-top: 1px solid var(--line);
}
.service-grid article,
.service-grid article:first-child,
.service-grid article:nth-child(3) {
  position: relative;
  min-height: 190px;
  padding: 31px 0 33px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.service-grid > article > span {
  display: none;
}
.service-grid h3 {
  max-width: 18ch;
  margin: 0 0 11px;
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.service-grid p {
  max-width: 39ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}
@media (max-width: 680px) {
  .service-grid {
    grid-template-columns: 1fr;
    margin-top: 43px;
  }
  .service-grid article,
  .service-grid article:first-child,
  .service-grid article:nth-child(3) {
    min-height: 0;
    padding: 25px 0 27px;
  }
  .service-grid h3 {
    max-width: 22ch;
    font-size: 22px;
  }
}

/* Bildgestützte Leistungsübersicht: echte Motive, ruhige Informationsebene. */
.service-grid.service-grid--visual {
  gap: 16px;
  margin-top: 56px;
  border: 0;
}
.service-grid--visual article,
.service-grid--visual article:first-child,
.service-grid--visual article:nth-child(3) {
  display: grid;
  min-height: 210px;
  grid-template-columns: 42% 1fr;
  grid-template-rows: 1fr auto 1fr;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
}
.service-grid--visual article > img {
  grid-column: 1;
  grid-row: 1/-1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-grid--visual h3 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 20px 22px 0;
  max-width: 18ch;
  font-size: 23px;
  line-height: 1.05;
}
.service-grid--visual p {
  grid-column: 2;
  grid-row: 3;
  margin: 0;
  padding: 10px 22px 22px;
  align-self: start;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.55;
}
.service-grid--visual article:hover {
  border-color: #bcae9d;
}
.service-grid--visual article {
  position: relative;
  cursor: pointer;
}
.service-grid--visual .service-card-link {
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
}
.service-grid--visual .service-card-link:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: -4px;
}
@media (max-width: 680px) {
  .service-grid.service-grid--visual {
    gap: 12px;
    margin-top: 36px;
  }
  .service-grid--visual article,
  .service-grid--visual article:first-child,
  .service-grid--visual article:nth-child(3) {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: 180px auto auto;
    padding: 0;
  }
  .service-grid--visual article > img {
    grid-column: 1;
    grid-row: 1;
  }
  .service-grid--visual h3 {
    grid-column: 1;
    grid-row: 2;
    padding: 18px 18px 0;
    font-size: 22px;
  }
  .service-grid--visual p {
    grid-column: 1;
    grid-row: 3;
    padding: 9px 18px 20px;
  }
}

/* Der Schlüsselservice-Teaser bleibt kompakt statt durch ein quadratisches Foto unnötig hoch zu werden. */
.split-feature figure {
  height: clamp(330px, 32vw, 430px);
  overflow: hidden;
  border-radius: 18px;
}
.split-feature img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 55%;
  border-radius: inherit;
}
.split-feature figcaption {
  display: none;
}
@media (max-width: 680px) {
  .split-feature figure {
    height: 300px;
  }
}

/* Projektstandard: Inhaltselemente erhalten auf jeder Seite dieselbe ruhige Rundung. */
:root {
  --surface-radius: 16px;
  --control-radius: 10px;
}
.button,
.header-call {
  border-radius: var(--control-radius);
}
.service-grid--visual article,
.detail-copy .cards article,
.eligibility aside {
  border-radius: var(--surface-radius);
  overflow: hidden;
}
.split-feature figure,
.areas img,
.subhero img {
  border-radius: var(--surface-radius);
}

/* Die Kontaktleiste und Navigation bleiben beim Scrollen auf jeder Seite fest oben fixiert */
.topline {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header {
  position: sticky;
  top: 38px;
  z-index: 999;
  background: #f6f0e5;
  box-shadow: 0 8px 24px rgba(32, 36, 33, 0.12);
}
@media (max-width: 680px) {
  .nav {
    top: 108px;
  }
}

/* Umfangreiche Fachseiten: klare Leseführung statt einer wiederholten Standardvorlage. */
.detail-preparation {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.62fr);
  gap: 8vw;
  align-items: start;
  margin: 22px 0 72px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-preparation h2,
.detail-prose h2 {
  font-size: clamp(31px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.detail-preparation aside {
  padding: 28px 30px;
  border-radius: var(--surface-radius);
  background: var(--navy);
  color: #fff;
}
.detail-preparation aside h3 {
  margin: 0 0 16px;
  font-size: 21px;
}
.detail-preparation ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.detail-preparation li {
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #e8e1d6;
}
.detail-preparation li:before {
  content: "✓";
  margin-right: 10px;
  color: var(--yellow);
}
.detail-prose {
  max-width: 780px;
  margin: 0 0 58px;
}
.detail-prose p {
  font-size: 17px;
  line-height: 1.75;
}
.detail-related p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}
@media (max-width: 680px) {
  .detail-preparation {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 52px;
    padding: 32px 0;
  }
  .detail-preparation aside {
    padding: 24px;
  }
  .detail-prose {
    margin-bottom: 44px;
  }
  .detail-prose p {
    font-size: 16px;
  }
}

/* Fachseiten: eigenständige Sicherheitsoptik in Anthrazit, Schwarz und Gold. */
body[data-detail] {
  background: #1b201e;
  color: #f4eee3;
}
body[data-detail] .header {
  background: #f6f0e5;
  color: #242824;
}
body[data-detail] .detail-copy {
  color: #f4eee3;
}
body[data-detail] .detail-copy p {
  color: #d7d0c4;
}
body[data-detail] .detail-copy .lead-grid {
  margin-bottom: 76px;
  padding-bottom: 58px;
  border-bottom: 1px solid rgba(213, 162, 55, 0.38);
}
body[data-detail] .detail-copy .lead-grid h2 {
  color: #f7f1e6;
}
body[data-detail] .detail-copy .cards {
  margin-top: 0;
  margin-bottom: 82px;
}
body[data-detail] .detail-copy .cards article {
  border-color: rgba(213, 162, 55, 0.52);
  background: #252a27;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}
body[data-detail] .detail-preparation {
  margin-top: 0;
  padding: 52px 0;
  border-color: rgba(213, 162, 55, 0.38);
}
body[data-detail] .detail-preparation h2 {
  color: #f7f1e6;
}
body[data-detail] .detail-preparation aside {
  border: 1px solid rgba(213, 162, 55, 0.7);
  background: #111614;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}
body[data-detail] .detail-prose {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  column-gap: 9vw;
  align-items: center;
  max-width: none;
  margin: 0 0 24px;
  padding: 40px 42px;
  border: 1px solid rgba(213, 162, 55, 0.45);
  border-radius: var(--surface-radius);
  background: #252a27;
}
body[data-detail] .detail-prose h2 {
  margin: 0;
  color: #f7f1e6;
}
body[data-detail] .detail-prose p {
  margin: 0;
  color: #d7d0c4;
}
body[data-detail] .detail-process {
  margin-top: 76px;
  padding: 54px 42px;
  border: 1px solid rgba(213, 162, 55, 0.5);
  border-radius: var(--surface-radius);
  background: #111614;
}
body[data-detail] .detail-process h2,
body[data-detail] .faq-detail h2 {
  color: #f7f1e6;
}
body[data-detail] .detail-process .process-list {
  border-color: rgba(213, 162, 55, 0.35);
}
body[data-detail] .detail-process .process-list article {
  border-color: rgba(255, 255, 255, 0.14);
}
body[data-detail] .detail-process .process-list p {
  color: #d7d0c4;
}
body[data-detail] .faq-detail {
  margin-top: 72px;
  padding: 48px 42px;
  border-radius: var(--surface-radius);
  background: #252a27;
}
body[data-detail] .faq-detail details {
  border-color: rgba(213, 162, 55, 0.35);
}
body[data-detail] .faq-detail summary {
  color: #f7f1e6;
}
body[data-detail] .faq-detail details p {
  color: #d7d0c4;
}
body[data-detail] .detail-related {
  background: #111614;
  color: #f7f1e6;
}
body[data-detail] .detail-related p {
  color: #d7d0c4;
}
body[data-detail] .detail-related a {
  border-color: rgba(213, 162, 55, 0.55);
  background: #252a27;
  color: #f7f1e6;
}
body[data-detail] .detail-related a:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}
@media (max-width: 680px) {
  body[data-detail] .detail-copy .lead-grid {
    margin-bottom: 48px;
    padding-bottom: 40px;
  }
  body[data-detail] .detail-prose {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
  body[data-detail] .detail-process,
  body[data-detail] .faq-detail {
    margin-top: 48px;
    padding: 34px 24px;
  }
}

/* Startseite: dieselbe Schwarz-Anthrazit-Gold-Sprache wie die Fachseiten. */
body.site-home {
  background: #1b201e;
  color: #f4eee3;
}
body.site-home .header {
  background: #f6f0e5;
  color: #242824;
}
body.site-home .intro,
body.site-home .safe-gallery,
body.site-home .eligibility,
body.site-home .areas {
  color: #f4eee3;
}
body.site-home .two-col h2,
body.site-home .gallery-intro h2,
body.site-home .eligibility h2,
body.site-home .areas h2 {
  color: #f7f1e6;
}
body.site-home .two-col > div:last-child > p,
body.site-home .gallery-intro > p:last-child,
body.site-home .eligibility p,
body.site-home .areas p {
  color: #d7d0c4;
}
body.site-home .section-label {
  color: var(--yellow);
}
body.site-home .service-grid--visual article {
  background: #252a27;
  border-color: rgba(213, 162, 55, 0.46);
}
body.site-home .service-grid--visual h3 {
  color: #f7f1e6;
}
body.site-home .service-grid--visual p {
  color: #d7d0c4;
}
body.site-home .service-grid--visual article:hover {
  border-color: var(--yellow);
}
body.site-home .gallery-grid figure {
  border-color: rgba(213, 162, 55, 0.48);
}
body.site-home .costs,
body.site-home .faq {
  background: #252a27;
  color: #f4eee3;
}
body.site-home .costs h2,
body.site-home .faq h2 {
  color: #f7f1e6;
}
body.site-home .costs p,
body.site-home .faq p {
  color: #d7d0c4;
}
body.site-home .faq details {
  border-color: rgba(213, 162, 55, 0.35);
}
body.site-home .faq summary {
  color: #f7f1e6;
}
body.site-home .eligibility aside {
  border: 1px solid rgba(213, 162, 55, 0.7);
  background: #111614;
}
body.site-home .area-tags span,
body.site-home .area-tags a {
  border-color: rgba(213, 162, 55, 0.55);
  color: #f4eee3;
}

/* Schlüsselservice übernimmt dieselbe Anthrazit-Gold-Sprache wie Start- und Fachseiten. */
body.site-keyservice {
  background: #1b201e;
  color: #f4eee3;
}
body.site-keyservice .header {
  background: #f6f0e5;
  color: #242824;
}
body.site-keyservice .subhero {
  background: #1b201e;
  color: #f4eee3;
}
body.site-keyservice .subhero p:not(.eyebrow),
body.site-keyservice .two-col > div:last-child > p {
  color: #d7d0c4;
}
body.site-keyservice .subhero h1,
body.site-keyservice .two-col h2 {
  color: #f7f1e6;
}
body.site-keyservice .intro {
  color: #f4eee3;
}
body.site-keyservice .service-grid--visual article {
  background: #252a27;
  border-color: rgba(213, 162, 55, 0.62);
}
body.site-keyservice .service-grid--visual h3 {
  color: #f7f1e6;
}
body.site-keyservice .service-grid--visual p {
  color: #d7d0c4;
}
body.site-keyservice .service-grid--visual article:hover {
  border-color: var(--yellow);
}
body.site-keyservice .faq {
  background: #252a27;
  color: #f4eee3;
}
body.site-keyservice .faq h2 {
  color: #f7f1e6;
}
body.site-keyservice .faq p {
  color: #d7d0c4;
}
body.site-keyservice .subhero {
  margin-top: 18px;
}

/* Schlüsselservice-Hero bewusst kompakt, damit das Hochformat nicht die Seite dominiert. */
@media (min-width: 681px) {
  body.site-keyservice .subhero {
    min-height: 0;
    height: 480px;
    padding-top: 20px;
    align-items: stretch;
    overflow: hidden;
  }
  body.site-keyservice .subhero > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 42px;
    padding-bottom: 42px;
  }
  body.site-keyservice .subhero h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 3.35vw, 50px);
  }
  body.site-keyservice .subhero p:not(.eyebrow) {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.55;
  }
  body.site-keyservice .subhero img {
    width: 100%;
    max-width: 100%;
    height: 440px;
    min-height: 0;
    justify-self: stretch;
  }
}
@media (max-width: 680px) {
  body.site-keyservice .subhero {
    margin-top: 10px;
  }
}

/* Neuer, kompakter Hero für den Schlüsselservice: eigenständige Karte statt Halbseitenbild. */
@media (min-width: 681px) {
  body.site-keyservice .subhero {
    width: min(var(--max), calc(100% - 48px));
    height: 440px;
    margin: 32px auto 0;
    padding: 0;
    grid-template-columns: minmax(0, 1fr) 380px;
    border: 1px solid rgba(213, 162, 55, 0.52);
    border-radius: var(--surface-radius);
    background: #252a27;
    overflow: hidden;
  }
  body.site-keyservice .subhero > div {
    padding: 48px 58px;
  }
  body.site-keyservice .subhero h1 {
    max-width: 640px;
    font-size: clamp(38px, 3.25vw, 52px);
  }
  body.site-keyservice .subhero img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: 72% center;
    justify-self: stretch;
    border-radius: 0;
  }
}
body.site-keyservice .faq details {
  border-color: rgba(213, 162, 55, 0.35);
}

/* Die feste Kopfzeile darf den Hero-Text nicht verdecken. */
@media (min-width: 681px) {
  .site-home .hero,
  .detail-hero {
    overflow: clip;
  }
  .site-home .hero-inner,
  .detail-hero > div {
    position: sticky;
    top: 134px;
    z-index: 1;
  }
}

/* Projektweiter Goldstandard für alle Details, Kacheln und Handlungswege. */
.section-label,
.text-link {
  color: var(--yellow);
}
.text-link {
  font-weight: 800;
}
.button.dark {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #171b19;
}
.button.dark:hover {
  border-color: #f0c65b;
  background: #f0c65b;
}
.service-grid--visual article,
.detail-copy .cards article {
  border-color: rgba(213, 162, 55, 0.62);
}
.service-grid--visual article:hover,
.detail-copy .cards article:hover {
  border-color: var(--yellow);
}
.detail-preparation aside,
.eligibility aside {
  border: 1px solid rgba(213, 162, 55, 0.72);
}
.faq details,
.detail-copy .process-list {
  border-color: rgba(213, 162, 55, 0.4);
}

/* Kontaktabschluss bewusst kompakt halten – gleiche Proportion auf jeder Seite. */
.contact {
  padding-top: 32px;
  padding-bottom: 32px;
}
.contact h2 {
  max-width: 650px;
  margin-bottom: 14px;
  font-size: clamp(34px, 3.15vw, 48px);
}
.contact p {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.45;
}
@media (max-width: 680px) {
  .contact {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .contact h2 {
    font-size: 34px;
  }
}

/* ==========================================================================
   EINSATZGEBIETE / DISTRICT NETWORK (Stil wie Referenzprojekt)
   ========================================================================== */
.district-network {
  padding: 68px 0 58px;
  background: #1b201e;
  border-top: 1px solid rgba(213, 162, 55, 0.25);
  display: block;
}
.district-network-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: center;
}
.district-network-copy .section-label {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: none;
  margin-bottom: 10px;
}
.district-network-copy h2 {
  color: #f7f1e6;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.district-network-copy p {
  color: #d7d0c4;
  font-size: 15px;
  line-height: 1.55;
  max-width: 480px;
  margin: 0;
}
.district-network-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}
.district-network-links a {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(213, 162, 55, 0.45);
  background: #252a27;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #f7f1e6;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--control-radius);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.district-network-links a span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.district-network-links a b {
  font-size: 15px;
  color: var(--yellow);
  transition: transform 0.2s ease;
}
.district-network-links a:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  background: #2d342f;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.district-network-links a:hover b {
  transform: translateX(3px);
}
.district-network-links .district-overview-link {
  background: var(--yellow);
  color: #171b19 !important;
  border-color: var(--yellow);
  font-weight: 800;
}
.district-network-links .district-overview-link b {
  color: #171b19;
}
.district-network-links .district-overview-link:hover {
  background: #f0c65b;
  border-color: #f0c65b;
  color: #171b19 !important;
}
@media (max-width: 960px) {
  .district-network-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 580px) {
  .district-network-links {
    grid-template-columns: 1fr;
  }
}

/* NRW-Ortsübersicht: jede Stadt als klare eigene Kachel, mit zweitem Weg zu ihren Stadtteilen. */
.location-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.location-directory-card {
  display: flex;
  min-height: 172px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(213, 162, 55, 0.55);
  border-radius: var(--surface-radius);
  background: #252a27;
}
.location-directory-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.15;
}
.location-directory-card h3 a {
  color: #f7f1e6;
  text-decoration: none;
}
.location-directory-card h3 a:hover {
  color: var(--yellow);
}
.location-directory-card p {
  margin: 0 0 20px;
  color: #d7d0c4 !important;
  font-size: 14px;
  line-height: 1.45;
}
.location-directory-card .text-link {
  margin-top: auto;
  text-decoration: none;
  font-size: 14px;
}
.location-directory-card .text-link:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .location-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .location-directory {
    grid-template-columns: 1fr;
  }
  .location-directory-card {
    min-height: 0;
    padding: 18px;
  }
}

/* Einsatzgebiete: Stadt als Überschrift, die zugehörigen Stadtteile direkt darunter im Raster. */
.area-directory-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 96px;
  color: #f4eee3;
}
.area-directory-intro {
  max-width: 760px;
  margin-bottom: 42px;
}
.area-directory-intro h2 {
  margin: 0 0 16px;
  color: #f7f1e6;
  font-size: clamp(42px, 4.2vw, 66px);
  line-height: 1.02;
}
.area-directory-intro p:last-child {
  margin: 0;
  color: #d7d0c4;
  line-height: 1.65;
}
.area-city-directory {
  display: grid;
  gap: 42px;
}
.area-city {
  padding-top: 34px;
  border-top: 1px solid rgba(213, 162, 55, 0.35);
}
.area-city:first-child {
  padding-top: 0;
  border-top: 0;
}
.area-city h3 {
  margin: 0 0 18px;
  color: #f7f1e6;
  font-size: clamp(30px, 2.7vw, 44px);
  line-height: 1.05;
}
.area-city-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid rgba(213, 162, 55, 0.5);
  border-left: 1px solid rgba(213, 162, 55, 0.5);
}
.area-city-links a {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 13px;
  border-right: 1px solid rgba(213, 162, 55, 0.5);
  border-bottom: 1px solid rgba(213, 162, 55, 0.5);
  background: #252a27;
  color: #f7f1e6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  transition:
    background 0.18s,
    color 0.18s;
}
.area-city-links a:hover {
  background: #d5a237;
  color: #171b19;
}
.area-city-links span {
  color: var(--yellow);
  font-size: 16px;
}
.area-city-links a:hover span {
  color: inherit;
}
.area-rest {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid rgba(213, 162, 55, 0.45);
}
.area-rest h3 {
  margin: 0;
  color: #f7f1e6;
  font-size: clamp(30px, 2.7vw, 44px);
  line-height: 1.05;
}
.area-rest > p {
  margin: 12px 0 22px;
  color: #cfc5b4;
}
.area-rest-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-top: 1px solid rgba(213, 162, 55, 0.5);
  border-left: 1px solid rgba(213, 162, 55, 0.5);
}
.area-rest-links a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-right: 1px solid rgba(213, 162, 55, 0.5);
  border-bottom: 1px solid rgba(213, 162, 55, 0.5);
  background: #252a27;
  color: #f7f1e6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    background 0.18s,
    color 0.18s;
}
.area-rest-links a:hover {
  background: #d5a237;
  color: #171b19;
}
.area-rest-links span {
  color: var(--yellow);
  font-size: 15px;
}
.area-rest-links a:hover span {
  color: inherit;
}
.area-directory-page .hero,
.area-directory-page .trust,
.area-directory-page .intro,
.area-directory-page .dark-process,
.area-directory-page .split-feature,
.area-directory-page .faq,
.area-directory-page .contact {
  display: none;
}
.area-directory-page .area-directory-section {
  padding-top: 54px;
}
@media (max-width: 900px) {
  .area-city-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .area-directory-section {
    width: calc(100% - 30px);
    padding: 54px 0 64px;
  }
  .area-directory-intro {
    margin-bottom: 30px;
  }
  .area-city-directory {
    gap: 30px;
  }
  .area-city {
    padding-top: 28px;
  }
  .area-city-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .area-city-links a {
    min-height: 58px;
    padding: 11px;
    font-size: 13px;
  }
  .area-rest {
    margin-top: 38px;
    padding-top: 28px;
  }
  .area-rest-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .area-rest-links a {
    min-height: 54px;
    padding: 10px;
    font-size: 13px;
  }
}

/* Navigation durchgehend über die volle Seitenbreite; Inhalte bleiben ausgerichtet. */
.header {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
}
@media (max-width: 680px) {
  .header {
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* Footer: echtes Logo, kompakte Spalten und ein sauberer Abschluss. */
footer {
  grid-template-columns: 1.35fr 0.72fr 0.9fr;
  gap: 42px;
  padding-top: 38px;
  padding-bottom: 18px;
  align-items: start;
}
footer .brand.inverse {
  display: block;
  width: 146px;
  height: 58px;
  margin: 0;
  border-radius: 16px;
  background: url("assets/logo-tresoroeffnung-nrw-gold.png") center/100% 100%
    no-repeat;
  clip-path: inset(0 round 16px);
  overflow: hidden;
}
footer .brand.inverse > span {
  display: none;
}
footer .footer-brand p {
  max-width: 340px;
  margin: 14px 0 0;
}
footer > div:not(.footer-brand) b,
footer > div:not(.footer-brand) a {
  margin-bottom: 8px;
}
footer > small {
  margin-top: 4px;
  padding-top: 16px;
}
@media (max-width: 680px) {
  footer {
    gap: 24px;
    padding-top: 32px;
    padding-bottom: 14px;
  }
  footer .footer-brand p {
    margin-top: 10px;
  }
}

/* Breadcrumbs folgen der tatsächlichen Themenhierarchie und bleiben lesbar. */
.breadcrumbs {
  width: min(var(--max), calc(100% - 48px));
  margin: 22px auto 0;
  color: #bdb6aa;
  font-size: 14px;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li + li:before {
  content: "›";
  margin-right: 8px;
  color: var(--yellow);
}
.breadcrumbs a {
  color: #f4eee3;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
@media (max-width: 680px) {
  .breadcrumbs {
    width: calc(100% - 30px);
    margin-top: 16px;
    font-size: 13px;
  }
}

/* Keine Hero-Inhalte beim Scrollen festsetzen: Text und Bild behalten ihre natürliche Proportion. */
@media (min-width: 681px) {
  .site-home .hero-inner,
  .detail-hero > div {
    position: relative;
    top: auto;
  }
}

/* Hero: Der seitliche Innenabstand darf sich nicht an der gesamten
   Viewportbreite orientieren. Sonst bleibt bei breiten Bildschirmen nur eine
   schmale Textspalte und der Hero wird durch die Umbrüche unnötig hoch. */
@media (min-width: 681px) {
  .site-home .hero-inner {
    padding-right: min(48vw, 600px);
  }
  .site-home .hero > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Lücke im Intro-Bereich auf allen Seiten beseitigen: 
   Kompaktere H2-Schriftgröße, damit die linke Spalte nicht 8 Zeilen hoch wird 
   und der untere Text direkt nach oben rückt. */
.intro {
  padding: 54px 0 72px;
}
.two-col {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.two-col h2 {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}
.two-col h3 {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-top: 0;
}
.two-col > div:last-child > p {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.two-col > div:last-child > p:last-child {
  margin-bottom: 0;
}
.two-col.local-context {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(213, 162, 55, 0.25);
}
@media (max-width: 680px) {
  .intro {
    padding: 40px 0 54px;
  }
  .two-col {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .two-col h2 {
    font-size: 26px;
  }
  .two-col h3 {
    font-size: 20px;
  }
  .two-col.local-context {
    margin-top: 22px;
    padding-top: 18px;
  }
}

/* Ablauf-Bereich (Dark Process): Großzügig, modern und elegant gestaltete 3-Schritte-Karten mit echten Bildern */
.dark-process {
  padding: 88px 0 96px;
  background: #181c1a;
  border-top: 1px solid rgba(213, 162, 55, 0.2);
  border-bottom: 1px solid rgba(213, 162, 55, 0.2);
}
.dark-process h2 {
  max-width: 820px;
  margin: 12px 0 0;
  color: #f7f1e6;
  font-size: clamp(28px, 2.9vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.03em;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 48px;
}
.steps article {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
  background: #232825;
  border: 1px solid rgba(213, 162, 55, 0.32);
  border-top: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.steps article:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}
.steps .step-img-box {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #171b19;
}
.steps .step-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.steps article:hover .step-img-box img {
  transform: scale(1.05);
}
.steps .step-badge,
.steps .step-num {
  display: none !important;
}
.steps .step-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.steps h3 {
  margin: 0 0 12px;
  color: #f7f1e6;
  font-size: 19px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.steps p {
  margin: 0;
  color: #cfc5b4;
  font-size: 14.5px;
  line-height: 1.62;
}
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 36px;
  }
  .steps .step-img-box {
    height: 200px;
  }
  .steps .step-body {
    padding: 22px 20px 24px;
  }
  .dark-process {
    padding: 60px 0 68px;
  }
}

/* Stadtteil-Raster nach Vorlage aus Bild 2 und 3 */
.district-unified-section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 60px 0 80px;
}
.district-unified-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 46px;
}
.district-unified-intro h2 {
  color: #f7f1e6;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}
.district-unified-intro p {
  color: #d7d0c4;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

.city-group-title {
  color: #f7f1e6;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.15;
  margin: 48px 0 20px;
  letter-spacing: -0.02em;
}
.district-btn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  margin-bottom: 28px;
}
.district-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  min-height: 50px;
  background: #252a27;
  color: #f7f1e6 !important;
  border: 1px solid rgba(213, 162, 55, 0.45);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
  transition: all 0.2s ease;
}
.district-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.district-btn b {
  color: var(--yellow);
  font-size: 17px;
  font-weight: 800;
  transition: transform 0.2s ease;
}
.district-btn:hover {
  background: #2d342f;
  color: #fff !important;
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.district-btn:hover b {
  transform: translateX(4px);
}

@media (max-width: 960px) {
  .district-btn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
  }
}
@media (max-width: 620px) {
  .district-unified-section {
    width: calc(100% - 30px);
    padding: 40px 0 60px;
  }
  .district-unified-intro {
    text-align: left;
    margin-bottom: 30px;
  }
  .district-btn-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .district-btn {
    padding: 12px 16px;
    font-size: 14px;
    min-height: 46px;
  }
}

/* ==========================================================================
   MOBILE TYPOGRAPHY & OVERFLOW FIXES (Niemals abgeschnittene Texte)
   ========================================================================== */
*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
  max-width: 100vw;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
summary,
button {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .topline {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }
  .header {
    position: sticky !important;
    top: 38px !important;
    z-index: 999 !important;
    height: 70px;
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  }
  .brand.brand-image {
    width: 145px;
    height: 52px;
  }

  /* Hero: Natürlicher Fluss statt position:absolute - Kein Überlappen mit dem Header */
  .hero {
    position: relative;
    min-height: auto !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 24px 0 42px !important;
    overflow: hidden;
  }
  .hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  }
  .hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(22, 25, 23, 0.88) 0%,
      rgba(23, 27, 29, 0.85) 60%,
      rgba(23, 27, 29, 0.96) 100%
    );
    z-index: -1;
  }
  .hero-inner {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    width: min(calc(100% - 32px), var(--max)) !important;
    margin: 0 auto !important;
    padding: 10px 0 0 !important;
    text-align: left;
  }
  .hero .eyebrow,
  p.eyebrow,
  .eyebrow {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--yellow) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: normal !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    line-height: 1.35 !important;
    text-transform: none !important;
  }
  .hero h1 {
    font-size: clamp(23px, 6.4vw, 30px) !important;
    line-height: 1.18 !important;
    margin-bottom: 14px !important;
    max-width: 100% !important;
    word-break: break-word !important;
    letter-spacing: -0.03em;
  }
  .hero-text {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
    max-width: 100% !important;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    width: 100%;
  }
  .hero-actions .button {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    padding: 12px 16px;
    justify-content: center;
  }
  .hero-note {
    font-size: 12px;
    margin-top: 12px;
    line-height: 1.4;
  }
  .hero-facts {
    display: none !important;
  }

  /* Trust Bar */
  .trust > div {
    grid-template-columns: 1fr 1fr !important;
    gap: 0;
  }
  .trust article {
    padding: 14px 10px !important;
    min-height: auto !important;
  }
  .trust article b {
    font-size: 13px !important;
    margin-bottom: 3px;
  }
  .trust article span {
    font-size: 11px !important;
    line-height: 1.35;
  }

  /* Überschriften */
  .two-col h2,
  .gallery-intro h2,
  .dark-process h2,
  .faq h2,
  .contact h2,
  .city-group-title,
  .district-unified-intro h2 {
    font-size: clamp(22px, 5.5vw, 28px) !important;
    line-height: 1.2 !important;
  }

  /* Kacheln */
  .district-btn-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .district-btn {
    padding: 11px 14px !important;
    min-height: 44px !important;
    font-size: 13.5px !important;
  }
  .district-btn span {
    white-space: normal !important;
    word-break: break-word !important;
    text-overflow: unset !important;
  }

  /* Ablauf Schritte */
  .steps {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .steps .step-img-box {
    height: 175px !important;
  }
  .steps .step-body {
    padding: 16px 14px 20px !important;
  }
  .steps .step-body h3 {
    font-size: 16.5px !important;
    line-height: 1.3 !important;
  }
  .steps .step-body p {
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  /* Mobile Footer - 1 Column clean layout without cramped/truncated text */
  footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: 36px 16px 20px !important;
    text-align: left !important;
    width: min(calc(100% - 32px), var(--max)) !important;
    margin: 0 auto !important;
  }
  footer .footer-brand {
    max-width: 100% !important;
  }
  footer .footer-brand p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    color: #d7d0c4 !important;
  }
  footer > div:not(.footer-brand) {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-top: 16px !important;
    width: 100% !important;
  }
  footer > div:not(.footer-brand) b {
    font-size: 15px !important;
    color: var(--yellow) !important;
    margin-bottom: 8px !important;
    display: block !important;
  }
  footer > div:not(.footer-brand) a,
  footer > div:not(.footer-brand) p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    white-space: normal !important;
    color: #d7d0c4 !important;
    display: block !important;
    margin-bottom: 6px !important;
  }
  footer > small {
    grid-column: auto !important;
    margin-top: 8px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #cfc5b4 !important;
    width: 100% !important;
  }

  /* Sticky Call Bar */
  .mobile-call {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 999;
    background: var(--yellow);
    color: #171b19;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  }
  body {
    padding-bottom: 60px !important;
  }
}

/* Gold / Champagne text styling for hero facts, trust bar and sublines */
.hero-facts b {
  color: #f7f1e6 !important;
}
.hero-facts span {
  color: #dfba73 !important;
}
.trust b {
  color: #f7f1e6 !important;
}
.trust span,
.trust article span {
  color: #dfba73 !important;
}
.district-network-copy p,
.gallery-intro p {
  color: #d7d0c4 !important;
}

/* All Section-Labels & Subheaders in Gold across dark sections */
.section-label,
.section-label.light,
.section-label.dark,
p.section-label,
.eyebrow,
.city-group-title {
  color: #dfba73 !important;
  letter-spacing: normal !important;
}

/* Gold Contact Banner: Dark text on gold background */
.contact,
.contact h2,
.contact a,
.contact p,
.contact .section-label,
.contact .section-label.light,
.contact p.section-label {
  color: #171b19 !important;
}

.contact p {
  color: #242824 !important;
}
.contact .section-label {
  color: rgba(23, 27, 25, 0.85) !important;
}

/* ==========================================================================
   PERFECT RESPONSIVE FOOTER (No cut-off or squeezed text on mobile/tablets)
   ========================================================================== */
@media screen and (max-width: 920px) {
  footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    padding: 36px 16px 20px !important;
    text-align: left !important;
    width: min(calc(100% - 32px), var(--max)) !important;
    margin: 0 auto !important;
  }
  footer .footer-brand {
    max-width: 100% !important;
    width: 100% !important;
  }
  footer .footer-brand p {
    font-size: 14px !important;
    line-height: 1.55 !important;
    max-width: 100% !important;
    color: #d7d0c4 !important;
    margin-top: 12px !important;
  }
  footer > div:not(.footer-brand) {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding-top: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  footer > div:not(.footer-brand) b {
    font-size: 15px !important;
    color: var(--yellow) !important;
    margin-bottom: 8px !important;
    display: block !important;
  }
  footer > div:not(.footer-brand) a,
  footer > div:not(.footer-brand) p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    word-break: break-word !important;
    white-space: normal !important;
    color: #d7d0c4 !important;
    display: block !important;
    margin-bottom: 6px !important;
  }
  footer > small {
    grid-column: auto !important;
    margin-top: 8px !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    color: #cfc5b4 !important;
    width: 100% !important;
    display: block !important;
  }
}

/* Startseite: klarere Typografie und Kontrast, ohne die bestehende Struktur zu verändern. */
@media (min-width: 681px) {
  body.site-home .hero h1 {
    font-size: clamp(48px, 4.8vw, 60px);
  }
}

body.site-home .section-label,
body.site-home .section-label.light,
body.site-home .section-label.dark,
body.site-home p.section-label,
body.site-home .eyebrow {
  letter-spacing: normal !important;
  text-transform: none !important;
}

body.site-home .steps article {
  border-top: 1px solid rgba(213, 162, 55, 0.32);
}

body.site-home .safe-gallery figcaption {
  background: rgba(22, 25, 23, 0.93);
}

body.site-home .dark-process .steps p,
body.site-home .costs p,
body.site-home .faq p,
body.site-home .gallery-intro p,
body.site-home .eligibility li,
body.site-home footer p,
body.site-home footer > div:not(.footer-brand) a,
body.site-home footer > small {
  color: #efe8dd !important;
}

/* Original Warm Gold-Beige Subtitle Highlights (#dfba73) */
.hero-facts span,
body.site-home .hero-facts span,
.trust span,
.trust article span,
body.site-home .trust span,
body.site-home .trust article span,
.steps span,
body.site-home .steps span {
  color: #dfba73 !important;
}

/* Einheitlicher leuchtender Gold-Beige Ton für alle Section-Labels & Eyebrows */
.section-label,
.section-label.light,
.section-label.dark,
p.section-label,
.safe-gallery .section-label,
.gallery-intro .section-label,
.intro .section-label,
.dark-process .section-label,
.costs .section-label,
.faq .section-label,
.district-network .section-label,
.eyebrow,
.city-group-title,
body.site-home .section-label,
body.site-home .eyebrow {
  color: #dfba73 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  display: block !important;
  margin-bottom: 12px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Auf dem goldenen Kontaktband bleibt die Beschriftung bewusst dunkel lesbar. */
.contact .section-label,
.contact .section-label.light,
.contact p.section-label {
  color: #171b19 !important;
}


/* ==========================================================================
   GLOBAL GOLD-BEIGE (#dfba73) TEXT HIGHLIGHTS (ALL 1000+ PAGES)
   ========================================================================== */
html body .hero-facts span,
html body .hero-facts div span,
html body .trust span,
html body .trust article span,
html body .steps span,
html body .steps article span,
html body .dark-process .steps span,
html body .section-label,
html body .section-label.light,
html body .section-label.dark,
html body p.section-label,
html body .eyebrow,
html body p.eyebrow,
html body .city-group-title,
html body .area-directory-copy .section-label,
html body .district-network-copy .section-label,
html body .safe-gallery .section-label,
html body .gallery-intro .section-label {
  color: #dfba73 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html body .hero-facts b,
html body .hero-facts div b,
html body .trust b,
html body .trust article b {
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html body .contact .section-label,
html body .contact p.section-label {
  color: #171b19 !important;
}


/* ==========================================================================
   UNIVERSAL WARM LIGHT-BEIGE BODY TEXT (#efe8dd) ON ALL 1000+ PAGES
   ========================================================================== */
html body p,
html body .two-col p,
html body .two-col > div > p,
html body .two-col > div:last-child > p,
html body .split-feature p,
html body .split-feature div p,
html body .intro p,
html body .hero-text,
html body .hero-note,
html body .costs p,
html body .eligibility p,
html body .eligibility li,
html body .dark-process p,
html body .steps p,
html body .subhero p,
html body .detail-copy p,
html body .detail-copy .lead-grid p,
html body .faq p,
html body .district-network-copy p,
html body .area-directory-intro p,
html body .area-rest p,
html body footer p,
html body footer a,
html body footer small {
  color: #efe8dd !important;
}

/* Headers on all dark pages */
html body h1,
html body h2,
html body h3,
html body .two-col h2,
html body .split-feature h2,
html body .intro h2,
html body .dark-process h2,
html body .faq h2,
html body .subhero h1,
html body .detail-copy h2,
html body .detail-copy h3 {
  color: #f7f1e6 !important;
}

/* On golden contact banner, keep text crisp and dark */
html body .contact p,
html body .contact h2,
html body .contact a {
  color: #171b19 !important;
}

/* Impressum bleibt auf hellem Grund vollständig lesbar. */
html body main.legal {
  color: #202421 !important;
}

html body main.legal h1,
html body main.legal h2 {
  color: #202421 !important;
}

html body main.legal p {
  color: #607084 !important;
}

html body main.legal .section-label {
  color: #d5a237 !important;
}

html body main.legal a:not(.brand) {
  color: #b85a2a !important;
}

/* Mobil: Die Tresorarten-Kacheln behalten einen eigenen Bildbereich.
   Die Beschriftung liegt nicht mehr über dem Foto, damit jedes Motiv sichtbar bleibt. */
@media (max-width: 680px) {
  .safe-gallery .gallery-grid figure,
  .safe-gallery .gallery-grid .gallery-feature {
    align-self: start;
    min-height: 0;
    height: auto;
  }

  .safe-gallery .gallery-grid a {
    display: flex;
    height: auto;
    min-height: 0;
    flex-direction: column;
  }

  .safe-gallery .gallery-grid img {
    height: 140px;
    flex: 0 0 140px;
    object-fit: cover;
  }

  /* Auf kleinen Bildschirmen haben alle Kacheln dieselbe Bildhöhe.
     So entsteht neben der ersten Kachel keine ungenutzte Rasterlücke. */
  .safe-gallery .gallery-grid .gallery-feature img {
    height: 140px;
    flex-basis: 140px;
  }

  .safe-gallery .gallery-grid figcaption {
    position: static;
    min-height: 118px;
    padding: 14px;
    background: #161917;
  }
}
