/* ==========================================================================
   Melzer Ingenieure — zentrales Stylesheet
   Richtung: modern-markant. Farben: Navy (#1B2440) + Amber (#E9A13B) aus dem
   Logo, neutrales Off-White + Weiß im Wechsel. Typografie: Lexend (Headlines)
   + Source Sans 3 (Fließtext), lokal gehostet (DSGVO), Monospace für Labels.
   ========================================================================== */

/* Lexend latin */
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/lexend-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;
}
/* Lexend latin-ext */
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/lexend-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;
}
/* Source Sans 3 latin */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/source-sans-3-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;
}
/* Source Sans 3 latin-ext */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/source-sans-3-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;
}

:root {
  /* Farben */
  --navy-900: #141B31;
  --navy-800: #1B2440;
  --navy-700: #263252;
  --navy-100: #E7E9F0;
  --amber-500: #E9A13B;
  --amber-600: #C9821F;
  --amber-100: #FBEED8;
  --bg: #F6F6F4;            /* neutrales Off-White */
  --surface: #FFFFFF;       /* reines Weiß für Karten & Wechselflächen */
  --surface-alt: #EFEFEC;
  --border: #E4E4E0;
  --border-strong: #CFCFC9;
  --ink: #1B2440;           /* Überschriften */
  --text: #3C4459;          /* Fließtext */
  --text-muted: #67708A;
  --text-on-dark: #F5F3EE;
  --text-on-dark-muted: #B9BECF;
  --error: #B4231F;
  --success: #1E7A3C;

  /* Typografie */
  --font-display: "Lexend", "Segoe UI", system-ui, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-mono: "Cascadia Code", Consolas, "SF Mono", ui-monospace, monospace;

  /* Maße */
  --container: 1160px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(27, 36, 64, 0.06), 0 2px 8px rgba(27, 36, 64, 0.05);
  --shadow-md: 0 2px 6px rgba(27, 36, 64, 0.07), 0 10px 28px rgba(27, 36, 64, 0.09);

  /* Z-Ebenen */
  --z-header: 100;
  --z-dropdown: 110;
  --z-skip: 1000;
}

/* --------------------------------------------------------------------------
   Reset & Grundlagen
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;   /* Anker/Snap-Ziele nicht unter dem sticky Header (76px) verstecken */
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}
/* Ausgewogenere Zeilenumbrüche in Überschriften */
h1, h2, .statement { text-wrap: balance; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;               /* 17px */
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); letter-spacing: -0.005em; }
h4 { font-size: 1.1rem; letter-spacing: -0.005em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-800); text-decoration-color: rgba(233, 161, 59, 0.7); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--amber-600); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }

strong { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber-500);
  outline-offset: 2px;
  border-radius: 2px;
}

::selection { background: var(--amber-100); color: var(--navy-900); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-skip);
  background: var(--navy-800);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

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

/* --------------------------------------------------------------------------
   Eyebrow (technisches Label) & Sektionen
   -------------------------------------------------------------------------- */

.eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: "// "; color: var(--amber-500); }

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt { background: var(--surface); }   /* Wechsel Off-White / Weiß */
/* Neben-Abschnitt: kompakter und leiser als die Hauptkapitel */
.section--tight { padding-block: clamp(2.4rem, 5vw, 3.8rem); }
.section--tight h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
.section--tight .section-head { margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.section--dark { background: var(--navy-800); }
.section--dark h2, .section--dark h3 { color: var(--text-on-dark); }
.section--dark p { color: var(--text-on-dark-muted); }
.section--dark .eyebrow { color: var(--text-on-dark-muted); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head--center { margin-inline: auto; text-align: center; }
/* Etwas kleinerer Schnitt für lange Überschriften, die einzeilig bleiben sollen */
.section-head--fit h2 { font-size: clamp(1.85rem, 3.3vw, 2.35rem); }

.lead { font-size: 1.15rem; color: var(--text); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.85rem 1.5rem;
  min-height: 48px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}
/* Mobile: etwas kompakter – 44px Mindesthöhe bleibt für die Tippfläche
   erhalten (WCAG 2.5.5), nur das Padding wird knapper. */
@media (max-width: 640px) {
  .btn { padding: 0.6rem 1.1rem; min-height: 44px; }
  .nav-cta { padding: 0.5rem 1rem; min-height: 44px; }
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; transition: transform 200ms ease-out; }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--amber-500); color: var(--navy-900); }
.btn--primary:hover { background: var(--amber-600); color: var(--navy-900); }

.btn--secondary { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn--secondary:hover { background: var(--navy-800); color: #fff; }

.section--dark .btn--secondary,
.btn--ghost-light { background: transparent; color: var(--text-on-dark); border-color: rgba(255, 255, 255, 0.55); }
.section--dark .btn--secondary:hover,
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

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

.brand { display: inline-flex; align-items: center; }
.brand img { width: 190px; height: auto; }

.nav-toggle {
  display: none;
  position: relative;
  background: none;
  border: 0;
  padding: 0.35rem;
  cursor: pointer;
  color: var(--navy-800);
}
/* Ohne feste Maße kollabiert das Icon im leeren Flex-Container auf 0x0
   (der globale img,svg-Reset setzt height:auto). Die sichtbare Box bleibt
   kompakt, damit sie neben dem Wordmark auf 375px-Screens noch passt; die
   44x44px-Tippfläche (WCAG) kommt über das unsichtbare ::after, das per
   position:absolute aus dem Flex-Layout genommen ist und daher nichts
   verdrängt. */
.nav-toggle::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
}
.nav-toggle svg { width: 22px; height: 22px; flex: none; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.5vw, 1.4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
  padding: 0.6rem 0.7rem;
  border-radius: var(--radius);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 160ms ease-out, background-color 160ms ease-out;
}
.nav-link:hover { color: var(--amber-600); }

/* Micro-Interaktion: animierte Unterstreichung (nicht auf dem CTA-Button) */
.nav-link:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 5px;
  height: 2px;
  background: var(--amber-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease-out;
}
.nav-link:not(.nav-cta):hover::after,
.nav-link:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--amber-500); border-radius: var(--radius) var(--radius) 0 0; }

.nav-cta {
  background: var(--amber-500);
  color: var(--navy-900);
  padding: 0.65rem 1.15rem;
  min-height: 44px;
}
.nav-cta:hover { background: var(--amber-600); color: var(--navy-900); }
.nav-cta[aria-current="page"] { box-shadow: none; border-radius: var(--radius); }

/* Dropdown (Desktop) */
.has-dropdown { position: relative; }
.dropdown-toggle svg { transition: transform 180ms ease-out; }
.dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: var(--z-dropdown);
  min-width: 330px;
  list-style: none;
  margin: 0;
  padding: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: none;
}
.dropdown.is-open { display: block; }

.dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius);
}
.dropdown a:hover { background: var(--surface-alt); color: var(--navy-800); }
.dropdown a[aria-current="page"] { background: var(--amber-100); color: var(--navy-900); }

/* Mobile Navigation */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  /* Etwas engerer Abstand zwischen Wordmark und Button, damit auf
     schmalen Screens (ab ca. 360px) kein horizontaler Überlauf entsteht. */
  .header-inner { gap: 0.8rem; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem clamp(1.1rem, 4vw, 2rem) 1.3rem;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.is-open { display: flex; }

  .nav-link { width: 100%; justify-content: space-between; padding: 0.8rem 0.6rem; }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber-500); border-radius: 0 var(--radius) var(--radius) 0; }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: var(--surface-alt);
    margin: 0.2rem 0 0.5rem;
  }
  .dropdown.is-open { display: block; }

  .nav-cta { margin-top: 0.6rem; justify-content: center; }
  .nav-cta[aria-current="page"] { box-shadow: none; }

  /* Scroll-Sperre für die Seite, solange das Vollbild-Menü offen ist */
  body.nav-open { overflow: hidden; }

  /* backdrop-filter erzeugt einen eigenen Containing Block für
     position:fixed-Nachfahren (hier: #nav-menu) – der Header selbst
     würde dann statt des Viewports als Bezugsrahmen dienen und das
     Menü auf Header-Höhe zusammenschrumpfen lassen. Während das Menü
     offen ist, gibt es hinter dem Header ohnehin nichts mehr zu weich-
     zeichnen, daher kann der Effekt hier gefahrlos pausiert werden. */
  body.nav-open .site-header,
  body.nav-open .site-header-d { backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* --------------------------------------------------------------------------
   Marker-Akzent (illustrative Verspieltheit): wie mit dem Textmarker gezogen
   -------------------------------------------------------------------------- */

.mark {
  display: inline-block;
  white-space: nowrap;
  background: var(--amber-500);
  color: var(--navy-900);
  padding: 0.02em 0.14em;
  border-radius: 0.12em;
  transform: rotate(-1.2deg);
}

/* --------------------------------------------------------------------------
   Hero (Startseite): vollflächiges Bild mit Navy-Verlauf
   -------------------------------------------------------------------------- */

.hero--full {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88svh, 800px);
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--navy-900);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 60%;   /* Gebäude mit Wireframe rechts im Fokus */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(20, 27, 49, 0.94) 0%,
    rgba(20, 27, 49, 0.82) 38%,
    rgba(20, 27, 49, 0.45) 68%,
    rgba(20, 27, 49, 0.18) 100%);
}

.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-content h1 { color: #fff; max-width: 15em; margin-bottom: 0.45em; }
.hero-content .eyebrow { color: var(--text-on-dark-muted); }
.hero-content .lead { color: var(--text-on-dark); max-width: 33rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
}

@media (max-width: 700px) {
  .hero--full { min-height: 0; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(20, 27, 49, 0.93) 0%,
      rgba(20, 27, 49, 0.86) 60%,
      rgba(20, 27, 49, 0.65) 100%);
  }
}

/* --------------------------------------------------------------------------
   Vertrauensleiste
   -------------------------------------------------------------------------- */

.trustbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.trustbar ul {
  list-style: none;
  margin: 0;
  padding: 1.2rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.4rem;
  justify-content: space-between;
}
.trustbar li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 500;
}
.trustbar svg { color: var(--amber-500); flex: none; }
@media (max-width: 700px) {
  .trustbar ul { flex-direction: column; gap: 0.7rem; }
}

/* --------------------------------------------------------------------------
   Nutzen-Säulen
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--amber-500);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar h3 { margin-bottom: 0.45em; }
.pillar p { color: var(--text); font-size: 1rem; margin: 0; }

/* --------------------------------------------------------------------------
   Leistungs-Karten
   -------------------------------------------------------------------------- */

.service-grid {
  display: grid;
  gap: 1.3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}
.service-card:hover {
  border-color: var(--amber-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.service-card .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber-600);
  letter-spacing: 0.1em;
}
.service-card h3 { font-size: 1.15rem; margin: 0; }
.service-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.service-card h3 a::after { content: ""; position: absolute; inset: 0; }
.service-card p { font-size: 0.95rem; color: var(--text); margin: 0; flex-grow: 1; }
.service-card .more {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.4rem;
  transition: color 180ms ease-out, transform 200ms ease-out;
}
.service-card:hover .more { color: var(--amber-600); transform: translateX(4px); }

/* SEO-Themenblöcke */
.topic-grid {
  display: grid;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .topic-grid { grid-template-columns: repeat(3, 1fr); } }

.topic {
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.15rem;
}
.topic h3 { font-size: 1.05rem; margin-bottom: 0.35em; }
.topic p { font-size: 0.93rem; margin-bottom: 0.6em; }
.topic a { font-size: 0.93rem; font-weight: 600; }

/* --------------------------------------------------------------------------
   Prozess-Zeitstrahl (nach Designvorlage)
   -------------------------------------------------------------------------- */

.process {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 44rem;
}

.process li {
  position: relative;
  padding: 0 0 2.6rem 4.4rem;
}
.process li:last-child { padding-bottom: 0; }

.process li::before {
  /* Verbindungslinie */
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 3.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--border-strong);
}
.process li:last-child::before { display: none; }

.process .step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 3.1rem;
  height: 3.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--amber-500);
  font-family: var(--font-mono);
  font-size: 1rem;
}
.process h3 { margin-bottom: 0.3em; }
.process p { color: var(--text); margin: 0; }

/* --------------------------------------------------------------------------
   Projektgalerie
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.gallery figure { margin: 0; }
.gallery .img-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.gallery img {
  width: 100%;
  transition: transform 400ms ease-out;
}
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { padding-top: 0.8rem; }
.gallery figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.gallery figcaption span { font-size: 0.93rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Kundenlogo-Karussell
   -------------------------------------------------------------------------- */

.logo-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 8vw, 6rem);
  width: max-content;
  animation: marquee 28s linear infinite;
  padding-block: 0.5rem;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }

.logo-track img {
  height: 56px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 200ms ease-out, opacity 200ms ease-out;
}
.logo-track img:hover { filter: grayscale(0); opacity: 1; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   CTA-Band
   -------------------------------------------------------------------------- */

.cta-band { background: var(--navy-800); }
.cta-band .inner {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-band .inner { grid-template-columns: 1.4fr 1fr; }
  .cta-band .actions { justify-self: end; text-align: right; }
}
.cta-band h2 { color: var(--text-on-dark); margin-bottom: 0.3em; }
.cta-band p { color: var(--text-on-dark-muted); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.cta-band .phone {
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.cta-band .phone:hover { color: var(--amber-500); }
.cta-band .phone svg { color: var(--amber-500); }

/* --------------------------------------------------------------------------
   Referenzen-Teaser: Bildvorschau mit drei Projektfotos, verlinkt auf /#projekte
   -------------------------------------------------------------------------- */
.ref-preview-grid { display: grid; gap: 1.2rem; margin: 0 0 2.2rem; }
@media (min-width: 760px) { .ref-preview-grid { grid-template-columns: repeat(3, 1fr); } }
.ref-preview-grid figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.ref-preview-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.ref-preview-grid figure:hover img { transform: scale(1.05); }
.ref-preview-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 0.9rem 0.7rem;
  background: linear-gradient(to top, rgba(18, 21, 27, 0.82), transparent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
}
.ref-preview-actions { text-align: center; }

/* --------------------------------------------------------------------------
   Unterseiten: Hero, Breadcrumb, Inhalt
   -------------------------------------------------------------------------- */

.page-hero {
  padding-block: clamp(2.8rem, 6vw, 5rem);
  background: linear-gradient(115deg, var(--navy-900), var(--navy-800) 55%, var(--navy-700));
}
.page-hero h1 { color: #fff; max-width: 52rem; }
.page-hero .lead { color: var(--text-on-dark); max-width: 44rem; }
.page-hero .eyebrow { color: var(--text-on-dark-muted); }
.page-hero .breadcrumb a { color: var(--text-on-dark-muted); }
.page-hero .breadcrumb a:hover { color: var(--amber-500); }
.page-hero .breadcrumb [aria-current="page"] { color: var(--text-on-dark); }
.page-hero .breadcrumb li + li::before { color: var(--navy-700); }

.breadcrumb { margin-bottom: 1.6rem; }
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.breadcrumb li + li::before { content: "/"; margin-right: 0.5rem; color: var(--border-strong); }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber-600); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* Zweispaltiges Inhaltslayout mit Bild */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--imgleft .split-figure { order: -1; }
}
.split-figure { margin: 0; }
.split-figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: 100%;
}
.split-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-top: 0.5rem;
}

/* Bild-dominanter Split: großes, hohes Bild + Text daneben */
.bgs { display: grid; gap: clamp(1.8rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: stretch; margin-top: clamp(1.6rem, 3vw, 2.2rem); }
@media (min-width: 900px) { .bgs { grid-template-columns: 1.35fr 1fr; } }
.bgs figure { margin: 0; position: relative; }
.bgs figure img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); display: block; }
/* Technische Pläne: nichts zuschneiden (Legende bliebe sonst außerhalb) */
.bgs figure.bgs-figure--plan img { object-fit: contain; background: #fff; padding: 1rem; box-sizing: border-box; }
.bgs-txt p { line-height: 1.75; }
.bgs-cta { margin-top: 1.7rem; }

/* KI-Kennzeichnung auf generierten Bildern (Transparenzpflicht Art. 50 EU AI Act) */
.ai-tag {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  background: rgba(18, 21, 27, 0.72);
  color: #F5F6F8;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius);
  pointer-events: none;
}

/* Merkmalliste mit Haken */
.checklist {
  list-style: none;
  margin: 0 0 1.1em;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.checklist li {
  position: relative;
  padding-left: 2rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 1.15rem;
  height: 0.62rem;
  border-left: 3px solid var(--amber-500);
  border-bottom: 3px solid var(--amber-500);
  transform: rotate(-45deg);
}
.checklist strong { display: inline; }

/* Ausklappbares FAQ – ohne JavaScript, Antworten stehen immer im HTML */
.faq-acc { border-top: 1px solid var(--border); }
.faq-acc details { border-bottom: 1px solid var(--border); }
.faq-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.15s ease;
}
.faq-acc summary::-webkit-details-marker { display: none; }
.faq-acc summary:hover { color: var(--amber-600); }
.faq-acc summary:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; }
.faq-acc .sign { flex: none; margin-left: auto; position: relative; width: 1.15rem; height: 1.15rem; }
.faq-acc .sign::before,
.faq-acc .sign::after {
  content: "";
  position: absolute;
  background: var(--amber-500);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.faq-acc .sign::before { width: 100%; height: 2px; }
.faq-acc .sign::after { width: 2px; height: 100%; transition: transform 0.2s ease, opacity 0.2s ease; }
.faq-acc details[open] .sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-acc .answer {
  padding: 0 2.15rem 1.3rem 0;
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-muted);
  max-width: 980px;   /* Fragen voll breit, Antworttext auf angenehme Zeilenlänge */
}
@media (prefers-reduced-motion: reduce) { .faq-acc .sign::after { transition: none; } }

/* Ansprechpartner: das Büro zuerst, die Person als Beleg */
.about-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.2rem);
}
.about-box .kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin: 0 0 0.6rem;
}
.about-box h3 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); line-height: 1.3; margin: 0 0 1.3rem; }
.about-split { display: grid; gap: 1.6rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .about-split { grid-template-columns: 1fr auto; gap: 2.5rem; } }
/* Variante mit Foto: Bild startet auf Höhe der Überschrift, statt neben der Liste */
.about-box--photo { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .about-box--photo { grid-template-columns: 1fr auto; gap: 2.5rem; align-items: start; }
  .about-box--photo .about-person { margin-top: 1.8rem; }
}
.about-box .checklist { margin: 0; }
.about-box .checklist li { font-size: 0.95rem; }
.about-person { text-align: center; max-width: 14rem; }
.about-person img {
  width: 192px;
  height: 192px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.about-person .nm { display: block; font-weight: 600; color: var(--ink); margin-top: 0.7rem; font-size: 0.95rem; }
.about-person .ro { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.15rem; }
.about-box .more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Niveau-Vergleich (Fachbauleitung): zwei gegenübergestellte Karten */
.niv-cards { display: grid; gap: clamp(1.1rem, 2.5vw, 1.6rem); grid-template-columns: 1fr; }
@media (min-width: 780px) { .niv-cards { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.niv-col { display: flex; flex-direction: column; }
.niv-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.niv-card--featured { border-color: var(--amber-500); box-shadow: 0 0 0 1px var(--amber-500) inset; }
.niv-badge {
  position: absolute;
  top: -0.75rem;
  left: 1.7rem;
  background: var(--amber-500);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}
.niv-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin: 0 0 0.5rem;
}
.niv-card h3 { font-size: 1.2rem; margin: 0 0 0.4rem; color: var(--ink); }
.niv-lead { font-size: 0.95rem; color: var(--text-muted); margin: 0 0 1.2rem; }
.niv-card .checklist { margin: 0 0 1.4rem; }
.niv-card .checklist li { font-size: 0.94rem; }
.niv-when {
  margin: auto 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}
.niv-when strong { color: var(--ink); }
.niv-cta { margin-top: 1.4rem; text-align: center; }

/* Hinweisband: warum uns beauftragen */
.why-band {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--amber-100);
  border-left: 4px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 1.3rem 1.6rem;
  margin: clamp(2rem, 4vw, 2.8rem) 0 0;
}
.why-band svg { flex: none; color: var(--amber-600); margin-top: 0.15rem; }
.why-band p { margin: 0; font-size: 1.02rem; line-height: 1.5; color: var(--ink); }

/* Fachbegriff-Erklärung */
.term-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.6rem 0;
}
.bgs-txt .term-box:last-child { margin-bottom: 0; }
.term-box h3, .term-box h4 { font-size: 1.02rem; margin-bottom: 0.3em; }
.term-box p { font-size: 0.97rem; margin: 0; }
.term-box p + p { margin-top: 0.6em; }

/* Verwandte Leistungen */
.related-grid {
  display: grid;
  gap: 1.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 700px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }

.related-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.3rem 1.15rem;
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out;
}
.related-card:hover { border-color: var(--amber-500); box-shadow: var(--shadow-sm); }
/* Pfeil signalisiert: Karte ist ein Link */
.related-card::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background-color: var(--amber-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 180ms ease-out;
}
.related-card:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .related-card::after { transition: none; } }
.related-card h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.related-card h3:last-child { margin-bottom: 0; }   /* Karte nur mit Titel, ohne Beschreibung */
.related-card h3 a { text-decoration: none; color: var(--ink); }
.related-card h3 a::after { content: ""; position: absolute; inset: 0; }
.related-card p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   Über uns
   -------------------------------------------------------------------------- */

.founder-figure { margin: 0; max-width: 380px; }
.founder-figure img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.founder-figure figcaption {
  padding-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quali-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) { .quali-list { grid-template-columns: repeat(2, 1fr); } }
.quali-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.quali-list svg { color: var(--amber-500); flex: none; margin-top: 0.2rem; }
.quali-list strong { display: block; font-family: var(--font-display); margin-bottom: 0.15em; }
.quali-list span { font-size: 0.93rem; color: var(--text-muted); }

/* ============ Cookie-Banner ============ */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--ink); color: var(--text-on-dark);
  border-top: 3px solid var(--amber-500);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.cookie-banner.is-hiding { transform: translateY(100%); opacity: 0; }
.cookie-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 1.1rem clamp(1rem, 4vw, 2rem);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.9rem 1.6rem; justify-content: space-between;
}
.cookie-text { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--text-on-dark-muted); max-width: 52rem; }
.cookie-text a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.7rem; flex: none; }
@media (max-width: 560px) {
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cookie-banner { transition: none; } }

/* ============ Über uns – „Editorial" (Firma im Vordergrund) ============ */

/* Asymmetrischer Magazin-Split-Hero */
.about-hero-split { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.4rem); align-items: center; }
@media (min-width: 900px) { .about-hero-split { grid-template-columns: 1.05fr 0.95fr; } }
.about-headline { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); font-size: clamp(2.2rem, 5.4vw, 3.7rem); margin: 0.6rem 0 0; text-wrap: balance; }
.about-headline .u { border-bottom: 0.07em solid var(--copper); padding-bottom: 0.04em; }
.about-lead { color: var(--text); font-size: 1.14rem; line-height: 1.72; max-width: 33rem; margin: 1.5rem 0 0; }
.about-portrait { margin: 0; }
.about-portrait img { width: 100%; height: 100%; max-height: 66vh; object-fit: cover; display: block; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface-alt); }
.about-portrait figcaption { margin-top: 0.8rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* Schlanke Vertrauens-Zeile */
.trust-row { list-style: none; margin: 0; padding: clamp(1.2rem, 3vw, 1.7rem) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-wrap: nowrap; justify-content: center; gap: clamp(0.9rem, 2.2vw, 2.4rem); width: max-content; margin-inline: auto; }
.trust-row li { display: flex; align-items: center; gap: 0.6rem; font-size: clamp(0.82rem, 1.2vw, 0.98rem); color: var(--ink); font-weight: 600; white-space: nowrap; }
.trust-row svg { color: var(--copper); flex: none; }
/* Vollflächiges Kupfer-Band (Nachweis-Zeile) */
.trust-band { background: var(--copper-deep); overflow-x: auto; }
.trust-band .trust-row { border-top: 0; border-bottom: 0; }
.trust-band .trust-row li { color: #fff; }
.trust-band .trust-row svg { color: #fff; }

/* Leistungsseite: Vertrauens-Leiste unter dem Hero – volle Breite */
.svc-trust-band { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow-x: auto; }
.svc-trust { list-style: none; margin: 0; padding: clamp(0.9rem, 2.1vw, 1.2rem) 0; display: flex; flex-wrap: nowrap; justify-content: center; gap: clamp(0.9rem, 2.2vw, 1.6rem); width: max-content; margin-inline: auto; }
.svc-trust li { display: flex; align-items: center; gap: 0.45rem; font-size: clamp(0.82rem, 1.2vw, 0.98rem); color: var(--ink); white-space: nowrap; font-weight: 600; }
.svc-trust svg { color: var(--copper); flex: none; width: 18px; height: 18px; }

/* Mobile: 2-Spalten-Raster statt horizontalem Scrollen – die Texte sind
   zu lang, um per flex-wrap zuverlässig zu zweit in eine Zeile zu passen
   (führt sonst zu 4 Einzelzeilen statt eines kompakten 2-zeiligen Banners). */
@media (max-width: 640px) {
  .trust-band, .svc-trust-band { overflow-x: visible; }
  .trust-row, .svc-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: auto;
    max-width: 30rem;
    column-gap: 0.9rem;
    row-gap: 0.7rem;
  }
  .trust-row li, .svc-trust li { white-space: normal; }
}

/* Leistungsseite: „Was ist enthalten" als scannbare Icon-Liste */
.svc-list { list-style: none; margin: clamp(1.4rem, 3vw, 2rem) 0 0; padding: 0; display: grid; gap: 1.7rem 3rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.svc-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.svc-list svg { color: var(--copper); flex: none; margin-top: 0.15rem; }
.svc-list strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; margin-bottom: 0.15rem; }
.svc-list span { color: var(--text); font-size: 0.94rem; line-height: 1.55; }

/* Leistungsseite: Leistungsumfang mit Angebots-Karte (zweispaltig) */
.offer-cols { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.2rem); }
@media (min-width: 980px) { .offer-cols { grid-template-columns: minmax(0, 1fr) 340px; align-items: stretch; } }
.offer-cols .svc-list { margin-top: 0; }
.offer-side { display: flex; }
.offer-card { background: var(--ink-panel); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); box-shadow: 0 22px 55px rgba(18,21,27,.22); display: flex; flex-direction: column; flex: 1; width: 100%; }
@media (min-width: 980px) { .offer-card { position: sticky; top: 92px; } }
.offer-card h3 { color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin: 0 0 0.5rem; }
.offer-card .sub { color: var(--text-on-dark-muted); margin: 0 0 1.3rem; font-size: 0.98rem; line-height: 1.6; }
.offer-card ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.7rem; }
.offer-card li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-on-dark); font-size: 0.96rem; line-height: 1.4; }
.offer-card li svg { color: var(--copper); flex: none; margin-top: 0.1rem; }
.offer-card .btn { width: 100%; justify-content: center; margin-top: auto; }
.offer-phone { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1rem; color: #fff; text-decoration: none; font-family: var(--font-display); font-size: 1.05rem; }
.offer-phone svg { color: var(--copper); }
.offer-phone:hover { color: var(--copper); }

/* Saubere Überschriften-Umbrüche */
h1, h2, h3 { text-wrap: balance; }

/* Großes, versetztes Gründer-Zitat */
.founder-quote { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 60rem; }
@media (min-width: 820px) { .founder-quote { grid-template-columns: auto 1fr; gap: 2.4rem; align-items: start; } }
.founder-quote .side { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper); padding-top: 0.6rem; white-space: nowrap; }
.founder-quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.42; color: var(--ink); letter-spacing: -0.01em; }
.founder-quote blockquote .u { border-bottom: 0.06em solid var(--copper); }
.founder-quote cite { display: block; margin-top: 1.3rem; font-style: normal; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

/* Werte als Bento-Raster mit Akzent- und Fotozelle */
.value-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin-top: clamp(2rem, 4vw, 2.8rem); }
@media (min-width: 760px) { .value-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; } }
.value-cell { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem 1.7rem; transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
.value-cell strong { display: block; font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 1.1rem; margin-bottom: 0.4rem; transition: color 0.25s ease; }
.value-cell span { color: var(--text); font-size: 0.96rem; line-height: 1.6; transition: color 0.25s ease; }
/* Hover: Kachel färbt sich in Tinte (Dunkelblau) */
.value-cell:not(.value-cell--photo):hover { background: var(--ink-panel); border-color: var(--ink-panel); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18, 21, 27, 0.18); }
.value-cell:not(.value-cell--photo):hover strong { color: #fff; }
.value-cell:not(.value-cell--photo):hover span { color: var(--text-on-dark-muted); }
@media (prefers-reduced-motion: reduce) { .value-cell:not(.value-cell--photo):hover { transform: none; } }
.value-cell--accent { background: var(--ink-panel); border-color: var(--ink-panel); }
.value-cell--accent strong { color: #fff; }
.value-cell--accent span { color: var(--text-on-dark-muted); }
.value-cell--photo { padding: 0; overflow: hidden; position: relative; min-height: 180px; }
@media (min-width: 760px) { .value-cell--photo { grid-row: span 2; } }
.value-cell--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------------------
   Kontakt & Formular
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 3fr 2fr; } }

.contact-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.6rem;
}
.contact-aside h2 { font-size: 1.25rem; }
.contact-aside address { font-style: normal; }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.65rem 0;
}
.contact-line svg { color: var(--amber-600); flex: none; margin-top: 0.25rem; }
.contact-line a { text-decoration: none; font-weight: 600; }
.contact-line a:hover { color: var(--amber-600); }
.contact-line small { display: block; color: var(--text-muted); }

.form-grid {
  display: grid;
  gap: 1.15rem;
}
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-field--full { grid-column: 1 / -1; }
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.form-field .req { color: var(--amber-600); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  min-height: 48px;
  transition: border-color 160ms ease-out;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(233, 161, 59, 0.35);
}

.form-field .hint {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}
.form-field .error-msg {
  display: none;
  font-size: 0.88rem;
  color: var(--error);
  margin-top: 0.3rem;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: var(--error); }
.form-field.has-error .error-msg { display: block; }

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.92rem;
}
.form-consent input {
  width: 1.25rem;
  height: 1.25rem;
  min-height: 0;
  margin-top: 0.2rem;
  accent-color: var(--navy-800);
  flex: none;
}

.form-status {
  display: none;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-weight: 600;
}
.form-status.is-success { display: block; background: #E8F4EC; color: var(--success); border: 1px solid #BFDECA; }
.form-status.is-error { display: block; background: #FBEAE9; color: var(--error); border: 1px solid #EFC5C3; }

/* Honeypot: für Menschen unsichtbar, für Bots ein sichtbares Feld.
   Bewusst nicht display:none – manche Bots ignorieren solche Felder. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: var(--text-on-dark-muted);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2.4rem;
  padding-bottom: 2.8rem;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer-wordmark .w1 { color: var(--amber-500); font-weight: 700; }
.footer-wordmark .w2 { color: #fff; font-weight: 300; }

.site-footer h2 {
  font-size: 0.88rem;
  font-family: var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: var(--text-on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--amber-500); }
.site-footer address { font-style: normal; display: grid; gap: 0.45rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem 0;
  font-size: 0.85rem;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
}

/* --------------------------------------------------------------------------
   Rechtstexte
   -------------------------------------------------------------------------- */

.legal { max-width: 46rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.placeholder-note {
  background: var(--amber-100);
  border: 1px dashed var(--amber-600);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: var(--navy-900);
}

/* --------------------------------------------------------------------------
   Scroll-Reveal (dezent) & Bewegungsreduzierung
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms ease-out, transform 450ms ease-out;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .logo-track .dup { display: none; }
}

/* --------------------------------------------------------------------------
   Druck
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
