/* Inter (SIL Open Font License 1.1) – lokal ausgeliefert, kein externes CDN. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/inter-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

:root {
  --navy-950: #06111f;
  --navy-900: #0b1728;
  --navy-850: #0f1d31;
  --navy-800: #13243b;
  --navy-700: #1b3150;
  --gold-700: #965d20;
  --gold-600: #b56f27;
  --gold-500: #c98535;
  --gold-400: #dda458;
  --ink: #0a1627;
  --text: #172235;
  --muted: #5d6776;
  --line: #d9dde3;
  --surface: #f5f7fa;
  --white: #ffffff;
  --success: #1f7a4c;
  --shadow-sm: 0 12px 30px rgba(6, 17, 31, 0.1);
  --shadow-lg: 0 24px 70px rgba(6, 17, 31, 0.2);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-height: 92px;
  /* Heller Header. Das Marken-Gold käme auf Weiß nur auf 2,97:1, daher für
     Schrift die dunkleren Varianten. */
  --header-bg: #ffffff;
  --header-ink: #141821;
  --header-line: #e2e6ec;
  --nav-security: #15467a;
  --nav-services: #b45309;
  --font: "Inter", "Avenir Next", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open {
  overflow-x: clip;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--white);
  /* Dunkel, damit er sich vom hellen Header abhebt. */
  background: var(--navy-950);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(6, 17, 31, 0.28);
  transform: translateY(-150%);
}

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

/* Der ausgeblendete Sprunglink darf keinen Schatten in den weißen Header werfen. */
.skip-link:not(:focus) {
  box-shadow: none;
}

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

.section {
  padding: 104px 0;
}

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

.surface {
  background: var(--surface);
}

.dark-surface {
  color: var(--white);
  background: var(--navy-900);
}

.section-heading {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 52px;
}

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

.section-heading h2,
.content-heading {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.dark-surface .section-heading h2,
.dark-surface .content-heading {
  color: var(--white);
}

.section-heading p,
.lead-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--gold-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* Auf dunklem Grund helles Gold (8,6:1), auf hellem Grund dunkles Gold (5,4:1). */
.page-hero-dark .eyebrow,
.dark-surface .eyebrow,
.contact-section .eyebrow,
.home-hero .eyebrow {
  color: var(--gold-400);
}

.dark-surface .section-heading p,
.dark-surface .lead-copy {
  color: #c7d0dc;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

/* Dunkler Text auf Gold statt Weiß: 6,0:1 bis 8,1:1 statt zuvor 3,1:1. */
.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  border-color: var(--gold-500);
  box-shadow: 0 12px 28px rgba(181, 111, 39, 0.22);
}

.button-primary:hover {
  background: var(--gold-400);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
  border-color: #aeb5bf;
}

.dark-surface .button-secondary,
.page-hero-dark .button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.button-secondary:hover {
  color: var(--gold-700);
  border-color: var(--gold-500);
}

.icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-small {
  width: 20px;
  height: 20px;
}

/* Markenzeichen wie das WhatsApp-Glyph sind Füllformen, die übrigen Icons
   sind Konturen. */
.icon-brand {
  fill: currentColor;
  stroke: none;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  color: var(--header-ink);
  background: var(--header-bg);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.header-inner {
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 170px;
  align-items: center;
}

.brand img {
  width: 158px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 38px);
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  color: var(--header-ink);
  font-size: 0.96rem;
  font-weight: 600;
}

/* Die beiden Bereiche tragen die Farbe ihrer Seite, alles andere bleibt
   schwarz. Die Marker sitzen im Markup, damit es in allen drei Sprachen
   greift. */
.site-nav a[data-nav="security"] {
  color: var(--nav-security);
}

.site-nav a[data-nav="services"] {
  color: var(--nav-services);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.language-switcher a {
  display: inline-flex;
  min-width: 40px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.language-switcher a[aria-current="true"],
.language-switcher a:hover {
  color: var(--gold-700);
  background: #f3f5f8;
}

.header-cta {
  min-height: 46px;
  padding-inline: 18px;
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--header-ink);
  background: transparent;
  border: 1px solid var(--header-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.home-hero {
  position: relative;
  color: var(--white);
  background: var(--navy-950);
}

.home-intro {
  display: grid;
  position: relative;
  z-index: 2;
  gap: 18px;
  max-width: 950px;
  margin-inline: auto;
  padding: 70px 24px 52px;
  text-align: center;
}

.home-intro h1 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Umbruch nach Sinn: jeder Satz eine Zeile, statt mitten im Satzgefüge. */
.home-intro h1 .headline-line {
  display: block;
}

.home-intro h1 strong {
  color: var(--gold-400);
  font-weight: 800;
}

.home-intro p {
  max-width: 780px;
  margin: 0 auto;
  color: #d7dee8;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.path-panel {
  display: flex;
  min-height: 520px;
  position: relative;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy-900);
  background-position: center;
  background-size: cover;
}

.path-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 31, 0.04) 0%, rgba(6, 17, 31, 0.4) 45%, rgba(6, 17, 31, 0.95) 100%);
  content: "";
}

@media (min-width: 901px) {
  /* Überschrift und Panels liegen in derselben Rasterspalte, damit die Fotos
     hinter der Überschrift durchlaufen. Zeile 1 reserviert aber die Höhe der
     Überschrift und Zeile 2 hat eine Mindesthöhe für den Panel-Text – dadurch
     können sich beide Blöcke nicht mehr überlagern, auch nicht bei längeren
     Übersetzungen. Vorher lag .home-intro absolut und ragte 119 px in die
     Panel-Überschriften. */
  .home-hero {
    display: grid;
    grid-template-rows: auto minmax(430px, 1fr);
  }

  .home-intro {
    width: min(100%, 1040px);
    z-index: 2;
    grid-row: 1;
    grid-column: 1;
    justify-self: center;
    padding-top: 68px;
    padding-bottom: 40px;
    pointer-events: none;
  }

  .home-split {
    grid-row: 1 / span 2;
    grid-column: 1;
  }

  .path-panel {
    min-height: 740px;
  }

  /* Beide Panels sind unten ausgerichtet. Ohne gleiche Textblockhöhe stünden
     die Überschriften auf unterschiedlicher Höhe, sobald ein Absatz eine
     Zeile mehr braucht. */
  .path-content p {
    min-height: calc(3 * 1.65em);
  }

  .path-panel::before {
    background: linear-gradient(180deg, rgba(6, 17, 31, 0.82) 0%, rgba(6, 17, 31, 0.5) 46%, rgba(6, 17, 31, 0.96) 100%);
  }
}

.path-panel:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

/* Hero-Fotos in passender Groesse statt einmal 1800px fuer alle: auf dem
   Handy laedt 640px statt 1800px. image-set liefert WebP, wo unterstuetzt,
   sonst JPEG. */
.path-security {
  background-image: image-set(url("../images/security-hero-640.webp") type("image/webp"), url("../images/security-hero-640.jpg") type("image/jpeg"));
}

.path-services {
  background-image: image-set(url("../images/services-hero-640.webp") type("image/webp"), url("../images/services-hero-640.jpg") type("image/jpeg"));
}

@media (min-width: 641px) {
  .path-security {
    background-image: image-set(url("../images/security-hero-1024.webp") type("image/webp"), url("../images/security-hero-1024.jpg") type("image/jpeg"));
  }

  .path-services {
    background-image: image-set(url("../images/services-hero-1024.webp") type("image/webp"), url("../images/services-hero-1024.jpg") type("image/jpeg"));
  }
}

/* Ab hier teilen sich zwei Panels die Breite, jedes braucht also nur die
   halbe Fensterbreite. */
@media (min-width: 901px) {
  .path-security {
    background-image: image-set(url("../images/security-hero-1024.webp") type("image/webp"), url("../images/security-hero-1024.jpg") type("image/jpeg"));
  }

  .path-services {
    background-image: image-set(url("../images/services-hero-1024.webp") type("image/webp"), url("../images/services-hero-1024.jpg") type("image/jpeg"));
  }
}

@media (min-width: 1600px) {
  .path-security {
    background-image: image-set(url("../images/security-hero-1440.webp") type("image/webp"), url("../images/security-hero-1440.jpg") type("image/jpeg"));
  }

  .path-services {
    background-image: image-set(url("../images/services-hero-1440.webp") type("image/webp"), url("../images/services-hero-1440.jpg") type("image/jpeg"));
  }
}

.path-content {
  width: min(100%, 620px);
  padding: clamp(34px, 5vw, 72px);
}

.path-content h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

/* Goldener Akzentstrich unter der Bereichsüberschrift (aus dem Entwurf). */
.path-content h2::after {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 16px;
  background: var(--gold-500);
  border-radius: 2px;
  content: "";
}

.path-content p {
  max-width: 530px;
  margin: 0 0 28px;
  color: #e1e6ed;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.trust-band {
  color: var(--ink);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.trust-item {
  display: flex;
  min-height: 132px;
  align-items: center;
  gap: 20px;
  padding: 26px 34px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--line);
}

.trust-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  background: var(--navy-950);
  border-radius: 50%;
}

.trust-item strong {
  display: block;
  font-size: 1.03rem;
  line-height: 1.35;
}

.dual-overview {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.dual-overview h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(2.2rem, 4.8vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.dual-overview > div > p {
  color: var(--muted);
  font-size: 1.12rem;
}

.overview-links {
  display: grid;
  border-top: 1px solid var(--line);
}

.overview-link {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.overview-link:hover h3,
.overview-link:hover .link-arrow {
  color: var(--gold-700);
}

.overview-number {
  color: var(--gold-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.overview-link h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.3rem;
  transition: color 180ms ease;
}

.overview-link p {
  margin: 0;
  color: var(--muted);
}

.link-arrow {
  color: var(--ink);
  transition: color 180ms ease, transform 180ms ease;
}

.overview-link:hover .link-arrow {
  transform: translateX(4px);
}

/* Startseite: echte Bewertungen und Referenzbilder statt einer zweiten
   Aufzaehlung der beiden Bereiche, die der Hero schon zeigt. */
.home-reviews {
  display: grid;
  gap: 18px;
}

.home-reviews .review-card {
  min-height: 0;
  background: var(--surface);
}

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

.reference-item {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: var(--radius-md);
}

.reference-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 240ms ease;
}

.reference-item:hover img {
  transform: scale(1.03);
}

.reference-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 44px 18px 16px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(6, 17, 31, 0) 0%, rgba(6, 17, 31, 0.88) 100%);
  font-size: 1rem;
  font-weight: 700;
}

.reference-actions {
  justify-content: center;
  margin-top: 34px;
}

.coverage-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: clamp(38px, 6vw, 72px);
  color: var(--white);
  background: var(--navy-850);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.coverage-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.coverage-panel p {
  margin: 0;
  color: #c9d2de;
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-list span {
  padding: 9px 13px;
  color: #f0f3f7;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.92rem;
}

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero-dark {
  color: var(--white);
  background: var(--navy-950);
}

.page-hero-light {
  color: var(--ink);
  background: var(--surface);
}

.page-hero-grid {
  display: grid;
  min-height: 650px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
}

.page-hero-copy {
  display: flex;
  position: relative;
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(28px, 5vw, 76px) 72px max(24px, calc((100vw - var(--container)) / 2));
}

.page-hero-copy h1 {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: clamp(3rem, 5.7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.services-hero .page-hero-copy h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.security-hero .page-hero-copy h1 {
  font-size: clamp(2.7rem, 4.5vw, 4.75rem);
}

.page-hero-copy > p {
  max-width: 680px;
  margin: 0 0 34px;
  color: #cbd4df;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.page-hero-light .page-hero-copy > p {
  color: #3f4c5d;
}

.page-hero-media {
  min-height: 100%;
  position: relative;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.services-hero .hero-proof {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.95fr) minmax(0, 1fr);
}

.page-hero-light .hero-proof {
  border-color: #cbd0d7;
}

.hero-proof-item {
  display: flex;
  min-width: 0;
  min-height: 98px;
  align-items: center;
  gap: 10px;
  padding: 18px 0 0;
  color: #eef2f7;
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-proof-item span {
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.page-hero-light .hero-proof-item {
  color: var(--ink);
}

.hero-proof-item + .hero-proof-item {
  padding-left: 0;
  border-left: 0;
}

.page-hero-light .hero-proof-item + .hero-proof-item {
  border-color: #cbd0d7;
}

.hero-proof-item .icon {
  flex: 0 0 auto;
  color: var(--gold-500);
}

.page-hero-light .hero-proof-item .icon {
  color: var(--gold-700);
}

.security-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.security-service {
  padding: 34px 30px;
}

.security-service + .security-service {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.security-service .icon,
.service-item .icon {
  width: 44px;
  height: 44px;
  color: var(--gold-400);
}

.security-service h3 {
  margin: 24px 0 10px;
  font-size: 1.23rem;
}

.security-service p {
  margin: 0;
  color: #bfc9d6;
  font-size: 0.96rem;
}

.qualification-grid,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.qualification-list,
.process-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.qualification-item,
.process-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.qualification-item strong,
.process-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.qualification-item p,
.process-item p {
  margin: 0;
  color: var(--muted);
}

.number-marker {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--gold-700);
  background: #fff7ed;
  border: 1px solid #edc99e;
  border-radius: 50%;
  font-weight: 800;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  min-height: 220px;
  padding: 32px 28px;
}

.service-item:not(:nth-child(3n + 1)) {
  border-left: 1px solid var(--line);
}

.service-item:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.service-item h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 1.14rem;
}

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

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

.project-card {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.project-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.project-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
}

.project-image:focus-visible {
  z-index: 1;
  outline-offset: -5px;
}

.project-image + .project-image {
  border-left: 3px solid var(--white);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.project-card:hover img {
  transform: scale(1.025);
}

.project-label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  color: var(--white);
  background: rgba(6, 17, 31, 0.86);
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-image:last-child .project-label {
  right: 14px;
  left: auto;
  background: rgba(140, 86, 29, 0.96);
}

.project-card figcaption {
  padding: 20px 22px 22px;
}

.project-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

/* Nur die Bildunterschrift einfärben – sonst überschreibt die Regel
   per Spezifität das Weiß der Vorher/Nachher-Badges auf den Fotos. */
.project-card figcaption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 17, 0.95);
  backdrop-filter: blur(12px);
}

.lightbox-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(calc(100% - 48px), 1500px);
  height: min(calc(100% - 48px), 940px);
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.lightbox-figure {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 16px;
}

.lightbox-media {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
}

.lightbox-image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  user-select: none;
}

.lightbox-caption {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  line-height: 1.4;
  text-align: center;
}

.lightbox-caption span {
  color: #b9c2cf;
}

.lightbox-caption span::before {
  content: "·";
  margin-right: 10px;
  color: var(--gold-400);
}

.lightbox-control {
  display: grid;
  width: 54px;
  height: 54px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(19, 36, 59, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lightbox-control:hover {
  color: var(--white);
  background: var(--gold-600);
  border-color: var(--gold-400);
  transform: scale(1.05);
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
}

.lightbox-previous {
  grid-column: 1;
  grid-row: 1;
}

.lightbox-next {
  grid-column: 3;
  grid-row: 1;
}

.lightbox-counter {
  grid-column: 2;
  grid-row: 2;
  justify-self: center;
  color: #b9c2cf;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.review-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.stars {
  color: var(--gold-700);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.review-card blockquote {
  margin: 22px 0 28px;
  color: var(--text);
  font-size: 1rem;
}

.review-card cite {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

.review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

.plain-link {
  color: var(--gold-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.plain-link:hover {
  color: var(--gold-700);
}

.legal-hero {
  padding: 72px 0 58px;
  color: var(--white);
  background: var(--navy-900);
}

.legal-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.7rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.legal-hero p {
  max-width: 720px;
  margin: 0;
  color: #c7d0dc;
}

.legal-content {
  max-width: 900px;
}

.legal-section {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:first-child {
  padding-top: 0;
}

.legal-section h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.2;
}

.legal-section h3 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

/* Telefon- und E-Mail-Angaben im Impressum werden angetippt. Etwas Luft
   um den Link herum, ohne den Textfluss zu sprengen. */
.legal-section a {
  display: inline-block;
  padding: 5px 2px;
  color: var(--gold-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-section a:hover {
  color: var(--ink);
}

.legal-section p,
.legal-section li {
  color: #465264;
}

.legal-section p {
  margin: 0 0 10px;
}

.legal-section ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

.legal-section a {
  color: var(--gold-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 18px;
  padding: 18px 20px;
  background: #fff7ed;
  border-left: 4px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.contact-section {
  color: var(--white);
  background: var(--navy-900);
}

.contact-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.contact-copy > p {
  margin: 0 0 30px;
  color: #c7d0dc;
  font-size: 1.12rem;
}

.contact-options {
  display: grid;
  gap: 12px;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  color: #eef2f6;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-option:hover {
  color: var(--gold-400);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 5vw, 46px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #edf1f6;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Optionale Felder als solche kennzeichnen: kuerzer wirkendes Formular
   ohne dass Angaben verloren gehen, die jemand freiwillig macht. */
.field-optional {
  color: #a9b4c2;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--white);
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #8995a5;
}

.field-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 6px 0;
  color: #bfc8d4;
  font-size: 0.9rem;
  line-height: 1.6;
  cursor: pointer;
}

.field-consent input {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  margin-top: 1px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

.field-consent a {
  display: inline-block;
  padding: 4px 0;
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.site-footer {
  padding: 48px 0 28px;
  color: #b9c3cf;
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 44px;
  padding-bottom: 38px;
}

.footer-brand img {
  width: 170px;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
}

.footer-title {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 2px;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  width: fit-content;
  align-items: center;
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
}

/* Zurückhaltender Urheberhinweis, klar von Kontakt und Rechtlichem getrennt. */
.footer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.3em;
  margin: 18px 0 0;
  color: #b9c3cf;
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-400);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-credit a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .footer-credit {
    justify-content: flex-start;
    padding-right: 72px;
  }
}

/* Schnellkontakt: auf dem Handy als kompakte, vertikale Button-Gruppe am
   rechten Rand. Auf dem Desktop bleibt es beim einzelnen WhatsApp-Button. */
.action-bar {
  display: none;
}

.whatsapp-float {
  display: inline-flex;
  width: 56px;
  height: 56px;
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #127a46;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .action-bar {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 950;
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }

  .action-bar-item {
    display: inline-flex;
    width: 50px;
    height: 50px;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--navy-900);
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(4, 10, 20, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .action-bar-item:hover,
  .action-bar-item:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(4, 10, 20, 0.34);
  }

  .action-bar-item:first-child {
    color: var(--gold-400);
  }

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

  .action-bar-item .icon {
    width: 21px;
    height: 21px;
  }

  .action-bar-whatsapp {
    color: var(--white);
    background: #127a46;
  }

  /* Die Button-Gruppe ersetzt auf dem Handy den einzelnen WhatsApp-Button. */
  .whatsapp-float {
    display: none;
  }

  /* Am Seitenende bleiben beide Buttons frei von den Footer-Angaben. */
  .site-footer {
    padding-bottom: calc(132px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 1100px) {
  :root {
    --header-height: 82px;
  }

  .header-inner {
    gap: 18px;
  }

  .site-nav {
    gap: 18px;
  }

  .header-cta {
    display: none;
  }

  .brand img {
    width: 138px;
  }

  .page-hero-grid {
    min-height: 610px;
    grid-template-columns: 1fr 0.9fr;
  }

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

  .security-service:nth-child(3) {
    border-left: 0;
  }

  .security-service:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .page-hero-copy .button-row {
    gap: 10px;
  }

  .page-hero-copy .button {
    gap: 10px;
    padding-inline: 18px;
  }
}

@media (max-width: 900px) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

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

  .section {
    padding: 82px 0;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: grid;
    position: fixed;
    z-index: 1001;
    top: calc(var(--header-height) + 8px);
    right: max(14px, env(safe-area-inset-right, 0px));
    width: min(320px, calc(100vw - 28px));
    align-content: start;
    justify-content: stretch;
    gap: 2px;
    max-height: calc(100dvh - var(--header-height) - 24px);
    padding: 10px;
    overflow-y: auto;
    background: var(--header-bg);
    border: 1px solid var(--header-line);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(6, 17, 31, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 160ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav a {
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a[aria-current="page"] {
    background: #f3f5f8;
  }

  .site-nav a::after {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .language-switcher {
    gap: 2px;
    padding: 0 4px;
    border: 1px solid var(--header-line);
    border-radius: var(--radius-sm);
  }

  .language-switcher a {
    min-width: 38px;
  }

  .home-split,
  .dual-overview,
  .coverage-panel,
  .qualification-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .path-panel {
    min-height: 500px;
  }

  .path-panel:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

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

  .trust-item {
    min-height: 100px;
    padding: 20px 0;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .coverage-panel {
    gap: 34px;
  }

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

  .page-hero-copy {
    padding: 64px 24px 50px;
  }

  .page-hero-media {
    min-height: 430px;
  }

  .page-hero-media img {
    position: absolute;
    inset: 0;
  }

  .hero-proof {
    margin-top: 36px;
  }

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

  .service-item:not(:nth-child(3n + 1)) {
    border-left: 0;
  }

  .service-item:nth-child(n + 4) {
    border-top: 0;
  }

  .service-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .service-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .reference-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  /* Drittes Bild ueber die volle Breite, damit keine Luecke entsteht. */
  .reference-item:last-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  :root {
    --header-height: 78px;
  }

  body {
    font-size: 15.5px;
  }

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

  .section,
  .section-compact {
    padding: 68px 0;
  }

  .brand img {
    width: 106px;
  }

  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 8px;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .home-intro {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .home-split {
    gap: 14px;
    padding: 14px;
    background: var(--navy-950);
  }

  .path-panel,
  .path-panel:first-child {
    display: block;
    min-height: 0;
    padding-top: 56.28%;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-md);
  }

  .path-panel::before {
    display: none;
  }

  .path-content {
    width: 100%;
    padding: 24px 20px 22px;
    background: var(--navy-900);
  }

  .path-content h2 {
    margin-bottom: 8px;
    font-size: 1.85rem;
  }

  .path-content p {
    margin-bottom: 20px;
    font-size: 0.96rem;
  }

  .path-content .button {
    width: 100%;
  }

  .trust-item {
    gap: 14px;
  }

  .trust-icon {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .overview-link {
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
  }

  .coverage-panel {
    padding: 30px 22px;
    border-radius: var(--radius-md);
  }

  .page-hero-copy {
    padding: 52px 18px 42px;
  }

  .page-hero-copy h1,
  .services-hero .page-hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
    hyphens: none;
    overflow-wrap: break-word;
  }

  .security-hero .page-hero-copy h1 {
    font-size: clamp(2rem, 7.5vw, 3.2rem);
  }

  .page-hero-copy > p {
    font-size: 1.04rem;
  }

  .page-hero-copy .button-row,
  .page-hero-copy .button {
    width: 100%;
  }

  .hero-proof,
  .services-hero .hero-proof {
    grid-template-columns: 1fr;
  }

  .hero-proof-item {
    min-height: 64px;
    padding: 14px 0;
  }

  .hero-proof-item + .hero-proof-item {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .page-hero-light .hero-proof-item + .hero-proof-item {
    border-color: #cbd0d7;
  }

  .page-hero-media {
    min-height: 330px;
  }

  .security-services {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .security-service {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .security-service + .security-service {
    border-left: 0;
  }

  .security-service:nth-child(n + 3) {
    border-top: 0;
  }

  .security-service .icon {
    grid-row: 1 / span 2;
  }

  .security-service h3 {
    margin: 0 0 6px;
  }

  .service-list {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .service-item {
    display: grid;
    min-height: 0;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
  }

  .service-item:nth-child(even),
  .service-item:nth-child(n + 3) {
    border-top: 0;
    border-left: 0;
  }

  .service-item .icon {
    grid-row: 1 / span 2;
  }

  .service-item h3 {
    margin: 0 0 6px;
  }

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

  .project-images {
    grid-template-columns: 1fr 1fr;
  }

  .lightbox-shell {
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    grid-template-rows: minmax(0, 1fr) 54px auto;
    gap: 12px;
  }

  .lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 1;
    padding-top: 62px;
  }

  .lightbox-caption {
    display: grid;
    gap: 2px;
    font-size: 0.9rem;
  }

  .lightbox-caption span::before {
    content: none;
  }

  .lightbox-control {
    width: 50px;
    height: 50px;
  }

  .lightbox-previous {
    grid-column: 1;
    grid-row: 2;
  }

  .lightbox-next {
    grid-column: 3;
    grid-row: 2;
  }

  .lightbox-counter {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }

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

  .contact-form {
    padding: 24px 18px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }
}

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


/* Qualitätsrunde: klare Einstiege, echte Projektbezüge und kurze Antworten. */
.home-location,
.home-choices {
  display: none;
}

.owner-contact {
  margin-top: 30px;
  padding: 22px 0 0 22px;
  border-left: 3px solid var(--gold-500);
}

.owner-contact h3 {
  margin: 8px 0;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.3;
}

.owner-contact p {
  margin: 0 0 12px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-700);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a.text-link:hover,
a:hover .text-link {
  color: var(--ink);
}

.review-source {
  margin-top: 28px;
}

.reference-story {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.reference-story-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
}

.reference-story h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.reference-story p {
  margin: 0 0 14px;
  color: var(--muted);
}

.reference-story .text-link {
  margin-top: auto;
}

.project-card[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.contact-form[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.project-card figcaption h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.3;
}

.project-facts {
  margin: 0 0 12px;
}

.project-facts > div + div {
  margin-top: 14px;
}

.project-facts dt {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.project-facts dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.project-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 7vw, 90px);
}

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

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

.faq-list summary {
  padding: 22px 4px;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 650;
  cursor: pointer;
}

.faq-list summary::marker {
  color: var(--gold-700);
}

.faq-list details[open] summary {
  padding-bottom: 12px;
}

.faq-list details > p {
  margin: 0;
  padding: 0 4px 24px;
  color: var(--muted);
}

.enquiry-hint {
  margin: 8px 0 0;
  color: #bfc9d6;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-brand picture {
  display: inline-flex;
  padding: 8px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--white);
}

.footer-brand picture img {
  width: 154px;
  height: auto;
  margin-bottom: 0;
}

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

  .home-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    text-align: left;
  }

  .home-choices a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 76px;
    padding: 14px 12px;
    border: 1px solid rgba(210, 172, 110, 0.55);
    border-radius: 12px;
    background: var(--navy-900);
  }

  .home-choices a:hover {
    border-color: var(--gold-400);
    background: var(--navy-850);
  }

  .home-choices strong {
    color: var(--gold-400);
    font-size: 0.94rem;
  }

  .home-choices span {
    margin-top: 5px;
    color: #d7dee8;
    font-size: 0.76rem;
  }

  .home-intro {
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .home-intro {
    position: relative;
    width: 100%;
    height: auto;
    max-width: none;
    padding: 26px 14px 12px;
    gap: 16px;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    text-align: left;
  }

  .home-intro h1 {
    width: 100%;
    margin: 0;
    font-size: clamp(1.55rem, 6.6vw, 2rem);
    line-height: 1.16;
  }

  .home-intro > p:not(.home-location) {
    display: none;
  }

  .home-intro .home-location {
    display: block;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .home-choices strong {
    font-size: 0.84rem;
  }

  .services-hero .page-hero-copy h1 {
    font-size: clamp(2rem, 8.5vw, 2.6rem);
  }

  .reference-strip {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .reference-story-copy {
    padding: 22px;
  }
}
