/* ==========================================================================
   NOVAX Hoch- & Tiefbau GmbH · Design-System
   Farben: Gold und Anthrazit aus dem Logo, Kalkweiß, Betongrau, Weiß
   Schriften: Archivo (Überschriften), Source Sans 3 (Text), lokal gehostet
   ========================================================================== */

/* ---------- Schriften (lokal, keine externen Server) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
  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: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 500 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Grundwerte ---------- */
:root {
  --gold: #AB7E24;
  --gold-hover: #BD8E2E;
  --gold-text: #8A6519;          /* dunkleres Gold für Text auf hellem Grund */
  --anthrazit: #16181A;
  --anthrazit-2: #202326;
  --kalk: #F4F1EA;
  --kalk-2: #EAE5DA;
  --beton: #6B675F;
  --weiss: #FFFFFF;
  --linie: rgba(22, 24, 26, .12);
  --linie-hell: rgba(244, 241, 234, .14);
  --text-hell: rgba(244, 241, 234, .78);

  --schrift-titel: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --schrift-text: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --radius: 3px;
  --schatten: 0 1px 2px rgba(22, 24, 26, .06), 0 18px 40px -18px rgba(22, 24, 26, .35);
  --header-h: 78px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
/* Sanftes Scrollen nur bei Klicks innerhalb der Seite; beim Öffnen einer Seite wird direkt gesprungen */
html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html, html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--anthrazit);
  background: var(--kalk);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--schrift-titel);
  font-stretch: 118%;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -.005em;
  margin: 0 0 .55em;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 1.1rem + 3.4vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 1.15rem + 1.9vw, 2.7rem); }
h3 { font-size: 1.3rem; font-stretch: 110%; line-height: 1.2; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--anthrazit); color: var(--kalk);
  padding: .75rem 1.25rem; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Kleine Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  margin: 0 0 1.1rem;
  font-family: var(--schrift-titel);
  font-stretch: 112%;
  font-weight: 650;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: none; }
.on-dark .eyebrow { color: var(--gold); }

.lead { font-size: 1.2rem; line-height: 1.55; color: var(--beton); max-width: 38em; }
.on-dark .lead { color: var(--text-hell); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 54px;
  padding: .85rem 1.6rem;
  font-family: var(--schrift-titel);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .2s, color .2s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: var(--anthrazit); }
.btn--gold:hover { background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 12px 26px -12px rgba(171, 126, 36, .8); }
.btn--sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.textlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--schrift-titel);
  font-stretch: 108%;
  font-weight: 700;
  font-size: .98rem;
  color: var(--gold-text);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease);
}
.textlink svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.textlink:hover { background-size: 100% 2px; }
.textlink:hover svg { transform: translateX(3px); }
.on-dark .textlink { color: var(--gold); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem 1.5rem; }
.checklist li { position: relative; padding-left: 1.15rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--gold); }

.badge {
  display: inline-block;
  font-family: var(--schrift-titel);
  font-stretch: 110%;
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .3rem .6rem;
  background: var(--weiss);
  color: var(--gold-text);
  border: 1px solid var(--gold);
}

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, .95);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--linie); box-shadow: 0 8px 24px -18px rgba(22, 24, 26, .45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: var(--header-h); }
.logo { display: inline-flex; flex: none; }
.logo img { height: 46px; width: auto; }

.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 44px;
  padding: .5rem .9rem;
  font-family: var(--schrift-titel);
  font-stretch: 105%;
  font-weight: 600;
  font-size: .95rem;
  color: var(--anthrazit);
  text-decoration: none;
}
.nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 5px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta-item { margin-left: .9rem; }

.has-sub { position: relative; display: flex; align-items: center; }
.has-sub > .nav-link { padding-right: .15rem; }
.has-sub > .nav-link::after { right: .15rem; }
.sub-toggle {
  display: inline-grid; place-items: center;
  width: 34px; height: 44px; padding: 0;
  background: none; border: 0; color: var(--anthrazit); cursor: pointer;
}
.sub-toggle svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }

.subnav {
  position: absolute; top: calc(100% + 10px); left: 50%;
  width: min(760px, 92vw);
  padding: 1.75rem 1.9rem 1.5rem;
  background: var(--weiss);
  border-top: 3px solid var(--gold);
  box-shadow: var(--schatten);
  opacity: 0; visibility: hidden;
  transform: translate(-42%, 8px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.subnav-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.subnav-title {
  margin: 0 0 .5rem;
  font-family: var(--schrift-titel); font-stretch: 112%; font-weight: 650;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--beton);
}
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav li a {
  display: block; padding: .42rem 0;
  font-weight: 600; color: var(--anthrazit); text-decoration: none;
  transition: color .2s, transform .2s var(--ease);
}
.subnav li a:hover { color: var(--gold-text); transform: translateX(3px); }
.subnav-all { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--linie); }

@media (min-width: 1001px) {
  .has-sub.open .subnav,
  .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translate(-42%, 0); }
}
@media (min-width: 1001px) and (hover: hover) {
  .has-sub:hover .subnav { opacity: 1; visibility: visible; transform: translate(-42%, 0); }
}

.menu-toggle {
  display: none; align-items: center; gap: .65rem;
  min-height: 44px; padding: .5rem 0 .5rem .75rem;
  background: none; border: 0; cursor: pointer;
  font-family: var(--schrift-titel); font-stretch: 105%; font-weight: 650; font-size: .95rem;
  color: var(--anthrazit);
}
.menu-toggle-lines { position: relative; width: 22px; height: 2px; background: currentColor; transition: background-color .2s; }
.menu-toggle-lines::before, .menu-toggle-lines::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor;
  transition: transform .3s var(--ease);
}
.menu-toggle-lines::before { transform: translateY(-7px); }
.menu-toggle-lines::after { transform: translateY(7px); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after { transform: rotate(-45deg); }

/* Kopfzeile auf Tablet und Handy: eigenes Menü zum Aufklappen */
@media (max-width: 1000px) {
  :root { --header-h: 66px; }
  /* Ohne Unschärfe-Effekt, sonst kann sich das Menü nicht über die ganze Höhe öffnen */
  .site-header { background: var(--kalk); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .logo img { height: 38px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    overflow-y: auto; overscroll-behavior: contain;
    padding: .5rem var(--gutter) 2.5rem;
    background: var(--kalk);
    border-top: 1px solid var(--linie);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--linie); }
  .nav-link { min-height: 58px; padding: .75rem 0; font-size: 1.2rem; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--gold-text); }
  .has-sub { flex-wrap: wrap; }
  .has-sub > .nav-link { flex: 1; }
  .sub-toggle { width: 58px; height: 58px; }
  .sub-toggle svg { width: 18px; height: 18px; }
  .subnav {
    position: static; display: none; width: 100%;
    padding: 0 0 1.25rem; background: none; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .subnav::before { display: none; }
  .has-sub.open .subnav { display: block; }
  .subnav-inner { grid-template-columns: 1fr; gap: 1rem; }
  .subnav li a { padding: .5rem 0 .5rem .9rem; border-left: 2px solid var(--kalk-2); }
  .subnav-all { border-top: 0; margin-top: .5rem; padding-top: 0; }
  .nav-cta-item { margin: 0; padding-top: 1.75rem; border-bottom: 0 !important; }
  .nav-cta-item .btn { width: 100%; min-height: 58px; font-size: 1.05rem; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.section--weiss { background: var(--weiss); }
.section--dunkel { background: var(--anthrazit); color: var(--kalk); }
.section--dunkel h2, .section--dunkel h3 { color: var(--weiss); }
.section-head { max-width: 58rem; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head p { font-size: 1.125rem; color: var(--beton); max-width: 44rem; }
.section--dunkel .section-head p { color: var(--text-hell); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; }
.section-head--split > div { max-width: 46rem; }

/* ---------- Kopfbereich Startseite ---------- */
.hero { position: relative; background: var(--anthrazit); color: var(--kalk); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 85% 15%, rgba(171, 126, 36, .16), transparent 60%),
    linear-gradient(rgba(244, 241, 234, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(244, 241, 234, .035) 1px, transparent 1px) 0 0 / 32px 32px;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.hero h1 { color: var(--weiss); margin-bottom: .45em; }
.hero h1 .gold { color: var(--gold); }
.hero .lead { font-size: 1.22rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.1rem; }
.hero-werte {
  display: flex; flex-wrap: wrap; gap: .5rem 1.4rem;
  list-style: none; margin: 3rem 0 0; padding: 1.4rem 0 0;
  border-top: 1px solid var(--linie-hell);
  font-family: var(--schrift-titel); font-stretch: 112%; font-weight: 600;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-hell);
}
.hero-werte li { display: inline-flex; align-items: center; gap: 1.4rem; }
.hero-werte li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-media { position: relative; z-index: 0; }
.hero-media::before {
  content: ""; position: absolute; z-index: -1;
  top: -18px; left: -18px; right: 18px; bottom: 18px;
  border: 2px solid var(--gold);
}
.hero-media img { width: 100%; aspect-ratio: 726 / 768; object-fit: cover; }

/* Computer und Tablet: Bild füllt den ganzen Kopfbereich als Hintergrund, Text steht davor.
   (Auf dem Handy bleibt das Bild oben und der Text darunter, siehe Handy-Abschnitt.) */
@media (min-width: 761px) {
  .hero { display: flex; align-items: center; min-height: clamp(560px, 86vh, 820px); }
  .hero::before { z-index: 1; }
  .hero-grid { position: static; display: block; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
  .hero-text { position: relative; z-index: 2; max-width: 46rem; }
  .hero .lead { max-width: 34em; }
  .hero-media { position: absolute; inset: 0; z-index: 0; }
  .hero-media::before { display: none; }
  .hero-media::after {
    content: ""; position: absolute; inset: 0;
    background:
      linear-gradient(90deg, rgba(22, 24, 26, .95) 0%, rgba(22, 24, 26, .9) 42%, rgba(22, 24, 26, .62) 60%, rgba(22, 24, 26, .22) 80%, rgba(22, 24, 26, .08) 100%),
      linear-gradient(0deg, rgba(22, 24, 26, .6) 0%, rgba(22, 24, 26, 0) 30%);
  }
  .hero-media picture { display: block; width: 100%; height: 100%; }
  .hero-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 92% 50%; }
}
/* Tablet: Text reicht weiter ins Bild, daher gleichmäßiger abdunkeln */
@media (min-width: 761px) and (max-width: 1000px) {
  .hero-text { max-width: 36rem; }
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(22, 24, 26, .94) 0%, rgba(22, 24, 26, .82) 55%, rgba(22, 24, 26, .55) 100%),
      linear-gradient(0deg, rgba(22, 24, 26, .7) 0%, rgba(22, 24, 26, 0) 34%);
  }
}
@media (min-width: 761px) and (prefers-reduced-motion: no-preference) {
  /* ganz langsames Heranzoomen beim Laden, kaum merklich */
  .hero-media img { animation: hero-zoom 2.8s var(--ease) both; }
  @keyframes hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
}

/* ---------- Kopfbereich Unterseiten ---------- */
.page-hero { position: relative; background: var(--anthrazit); color: var(--kalk); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50rem 24rem at 90% 0%, rgba(171, 126, 36, .18), transparent 60%),
    linear-gradient(rgba(244, 241, 234, .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(244, 241, 234, .035) 1px, transparent 1px) 0 0 / 32px 32px;
}
.page-hero .container { position: relative; padding-block: clamp(3.5rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.page-hero h1 { color: var(--weiss); max-width: 18ch; }
.page-hero--klein h1 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); }

/* ---------- Platzhalter für fehlende Fotos ---------- */
.ph {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  display: grid; place-items: center; overflow: hidden;
  background-color: var(--anthrazit);
  background-image:
    radial-gradient(circle at 82% 18%, rgba(171, 126, 36, .28), transparent 55%),
    linear-gradient(rgba(244, 241, 234, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 241, 234, .05) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}
.ph-icon {
  display: grid; place-items: center;
  width: clamp(76px, 24%, 124px); aspect-ratio: 1;
  border: 2px solid var(--gold); color: var(--gold);
  transition: transform .6s var(--ease);
}
.ph-icon svg { width: 56%; height: 56%; }
.ph-initialen {
  font-family: var(--schrift-titel); font-stretch: 125%; font-weight: 800;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); letter-spacing: .04em; color: var(--gold);
}

/* ---------- Leistungen auf der Startseite ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); }
.tile {
  display: flex; flex-direction: column;
  background: var(--weiss); color: inherit; text-decoration: none;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--linie);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.tile-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--anthrazit); }
.tile-media img, .tile-media .ph { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; transition: transform .7s var(--ease); }
.tile-media img { object-position: 50% 62%; }
.tile-media img.pos-oben { object-position: 50% 35%; }
.tile:hover .tile-media img { transform: scale(1.04); }
.tile:hover .ph-icon { transform: scale(1.06); }
.tile-body { display: flex; flex-direction: column; gap: .9rem; flex: 1; padding: 1.75rem 1.9rem 2rem; }
.tile-body h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); margin: 0; }
.tile-body p { color: var(--beton); margin: 0; }
.tile-body .textlink { margin-top: auto; padding-top: .6rem; align-self: flex-start; }

.mehr-leistungen { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.mehr-leistungen h3 { font-size: 1.05rem; font-stretch: 112%; margin-bottom: 1.1rem; }
.service-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.service-link {
  display: flex; align-items: center; gap: .85rem; height: 100%;
  min-height: 64px; padding: .9rem 1rem;
  background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
  color: var(--anthrazit); text-decoration: none; font-weight: 600; line-height: 1.25;
  transition: border-color .25s, transform .3s var(--ease);
}
.service-link .icon { width: 30px; height: 30px; flex: none; color: var(--gold); }
.service-link .pfeil { width: 16px; height: 16px; margin-left: auto; flex: none; color: var(--gold-text); opacity: .0; transform: translateX(-4px); transition: opacity .25s, transform .25s var(--ease); }
.service-link:hover { border-color: var(--gold); transform: translateY(-2px); }
.service-link:hover .pfeil { opacity: 1; transform: none; }

/* ---------- Stärken / Grundsätze ---------- */
.staerken { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.staerke { padding-top: 1.5rem; border-top: 2px solid var(--anthrazit); transition: border-color .35s; }
.staerke:hover { border-color: var(--gold); }
.staerke-nr {
  display: block; margin-bottom: .9rem;
  font-family: var(--schrift-titel); font-stretch: 125%; font-weight: 800;
  font-size: .85rem; letter-spacing: .12em; color: var(--gold-text);
}
.staerke p { color: var(--beton); }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: schritt; }
.steps--drei { grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding-top: 3.6rem; }
.step::before {
  counter-increment: schritt; content: counter(schritt, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--schrift-titel); font-stretch: 125%; font-weight: 800; font-size: 1.55rem; line-height: 1;
  color: var(--gold);
}
.step::after {
  content: ""; position: absolute; top: .78rem; left: 3.5rem; right: -1rem; height: 1px;
  background: linear-gradient(90deg, rgba(171, 126, 36, .7), rgba(171, 126, 36, .1));
}
.step:last-child::after { right: 0; }
.step h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.step p { color: var(--beton); }
.section--dunkel .step p { color: var(--text-hell); }

/* ---------- Referenzen ---------- */
.ref-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.ref-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--weiss); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--linie);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ref-card:hover { transform: translateY(-4px); box-shadow: var(--schatten); }
.ref-media { position: relative; }
.ref-media .badge { position: absolute; left: 1rem; top: 1rem; z-index: 1; }
.ref-card:hover .ph-icon { transform: scale(1.06); }
.ref-body { padding: 1.35rem 1.5rem 1.6rem; }
/* Erste Zeile: Leistung in Gold. Zweite Zeile: Ort und Jahr in normaler Schrift. */
.ref-meta { margin: 0 0 .6rem; color: var(--beton); font-size: .95rem; font-weight: 600; line-height: 1.4; }
.ref-meta span:first-child {
  display: block; margin-bottom: .2rem;
  font-family: var(--schrift-titel); font-stretch: 110%; font-weight: 600;
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text);
}
.ref-meta span:nth-child(3) { display: inline-flex; align-items: center; gap: .55rem; margin-left: .55rem; }
.ref-meta span:nth-child(3)::before { content: ""; width: 5px; height: 5px; background: var(--gold); }
.ref-body h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.ref-body p { color: var(--beton); font-size: 1rem; }
.ref-grid [hidden] { display: none; }
.ref-media { overflow: hidden; background: var(--anthrazit); }
.ref-media[data-galerie-klick] { cursor: zoom-in; }
.ref-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.ref-card:hover .ref-media img { transform: scale(1.04); }
.ref-anzahl {
  position: absolute; right: .8rem; bottom: .8rem;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .65rem; border-radius: var(--radius);
  background: rgba(22, 24, 26, .82); color: var(--kalk);
  font-family: var(--schrift-titel); font-stretch: 105%; font-weight: 600; font-size: .78rem;
}
.ref-anzahl svg { width: 16px; height: 16px; color: var(--gold); }
.ref-body .textlink--button { margin-top: .9rem; }
.textlink--button { border: 0; background-color: transparent; padding: 0 0 3px; cursor: pointer; font: inherit; font-family: var(--schrift-titel); font-stretch: 108%; font-weight: 700; font-size: .98rem; }

/* ---------- Bildergalerie der Referenzen ---------- */
.galerie {
  width: min(1100px, calc(100vw - 2rem)); max-width: none; max-height: calc(100vh - 2rem);
  padding: 0; border: 0; border-radius: var(--radius);
  background: var(--anthrazit); color: var(--kalk);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  overflow: hidden;
}
.galerie::backdrop { background: rgba(10, 11, 12, .88); }
.galerie[open] { display: flex; flex-direction: column; }
.galerie-kopf { display: flex; align-items: center; gap: 1rem; padding: .7rem .7rem .7rem 1.4rem; border-bottom: 1px solid var(--linie-hell); }
.galerie-titel { flex: 1; margin: 0; font-size: 1.05rem; font-stretch: 108%; color: var(--weiss); }
.galerie-zaehler { margin: 0; font-size: .9rem; color: var(--text-hell); white-space: nowrap; }
.galerie-zu, .galerie-pfeil {
  display: inline-grid; place-items: center; flex: none;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.galerie-zu { background: transparent; color: var(--kalk); }
.galerie-zu:hover { background: rgba(244, 241, 234, .1); }
.galerie-zu svg, .galerie-pfeil svg { width: 22px; height: 22px; }
.galerie-bild { margin: 0; display: flex; flex-direction: column; min-height: 0; flex: 1; }
.galerie-buehne { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; background: #0e0f10; }
.galerie-buehne img {
  display: block; width: auto; height: auto;
  max-width: 100%; max-height: calc(100vh - 2rem - 140px);
  object-fit: contain;
}
.galerie-pfeil { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(22, 24, 26, .75); color: var(--kalk); border: 1px solid rgba(171, 126, 36, .6); }
.galerie-pfeil:hover { background: var(--gold); color: var(--anthrazit); }
.galerie-pfeil--zurueck { left: .8rem; }
.galerie-pfeil--weiter { right: .8rem; }
.galerie-bild figcaption { padding: .8rem 1.4rem 1rem; font-size: .95rem; color: var(--text-hell); }
body.galerie-offen { overflow: hidden; }

.filter { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.filter-btn {
  min-height: 44px; padding: .5rem 1.1rem;
  font-family: var(--schrift-titel); font-stretch: 105%; font-weight: 650; font-size: .92rem;
  background: var(--weiss); color: var(--anthrazit);
  border: 1px solid var(--linie); border-radius: var(--radius); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--gold); }
.filter-btn[aria-pressed="true"] { background: var(--anthrazit); color: var(--kalk); border-color: var(--anthrazit); }
.filter-status { margin: -1rem 0 1.5rem; color: var(--beton); font-size: .95rem; }

/* ---------- Abschluss-Aufforderung ---------- */
.cta-box {
  position: relative;
  display: grid; grid-template-columns: 1.5fr auto; align-items: center; gap: 2rem 3rem;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--anthrazit); color: var(--kalk);
  overflow: hidden;
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(36rem 18rem at 100% 100%, rgba(171, 126, 36, .22), transparent 65%);
}
.cta-box::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(171, 126, 36, .45); pointer-events: none; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: var(--weiss); margin-bottom: .4em; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); }
.cta-box p { color: var(--text-hell); max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.cta-tel { color: var(--text-hell); font-size: .98rem; }
.cta-tel a { color: var(--kalk); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(171, 126, 36, .6); }
.cta-tel a:hover { color: var(--gold); }

/* ---------- Leistungsseite ---------- */
.jumpbar {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(244, 241, 234, .97);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.jumpbar ul {
  display: flex; gap: .5rem; list-style: none;
  max-width: var(--container); margin: 0 auto; padding: .7rem var(--gutter);
  overflow-x: auto; scrollbar-width: none;
}
.jumpbar ul::-webkit-scrollbar { display: none; }
.jumpbar a {
  display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .85rem;
  white-space: nowrap; text-decoration: none;
  font-family: var(--schrift-titel); font-stretch: 104%; font-weight: 600; font-size: .88rem;
  color: var(--anthrazit); background: var(--weiss);
  border: 1px solid var(--linie); border-radius: var(--radius);
  transition: background-color .2s, color .2s, border-color .2s;
}
.jumpbar a:hover { border-color: var(--gold); }
.jumpbar a.is-active { background: var(--anthrazit); color: var(--kalk); border-color: var(--anthrazit); }

/* Abstand nach oben beim Springen: Kopfzeile ist schon über scroll-padding berücksichtigt, hier kommt nur die Sprungleiste dazu */
.leistung { padding-block: clamp(3.5rem, 7vw, 6rem); scroll-margin-top: 46px; }
.leistung:nth-of-type(even) { background: var(--weiss); }
.leistung-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.leistung--rechts .leistung-media { order: 2; }
.leistung-media { position: relative; }
.leistung-media img, .leistung-media .ph { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.leistung-media img.pos-unten { object-position: 50% 70%; }
.leistung-nr {
  display: block; margin-bottom: .8rem;
  font-family: var(--schrift-titel); font-stretch: 125%; font-weight: 800;
  font-size: .85rem; letter-spacing: .12em; color: var(--gold-text);
}
.leistung-nr span { color: var(--beton); font-weight: 600; }
.leistung-text > p { color: var(--beton); font-size: 1.1rem; }
.leistung-text .checklist { margin: 1.5rem 0 1.9rem; }

/* ---------- Über uns ---------- */
.zwei-spalten { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.zwei-spalten .ph { aspect-ratio: 4 / 5; }
.zwei-spalten--gebiet { grid-template-columns: 1.45fr 1fr; }
/* Foto mit versetztem Goldrahmen, wie das Rahmen-Zeichen im Logo */
.bild-rahmen { position: relative; z-index: 0; margin: 18px 18px 0 0; }
.bild-rahmen::before {
  content: ""; position: absolute; z-index: -1;
  top: -18px; right: -18px; bottom: 18px; left: 18px;
  border: 2px solid var(--gold);
}
.bild-rahmen img { width: 100%; aspect-ratio: 470 / 421; object-fit: cover; }
.text-block p { color: var(--beton); font-size: 1.1rem; }
.text-block p.stark { color: var(--anthrazit); font-size: 1.25rem; font-weight: 600; line-height: 1.45; }

.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.person { background: var(--weiss); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--linie); }
.person .ph { aspect-ratio: 4 / 3; }
.person-body { padding: 1.25rem 1.5rem 1.5rem; }
/* Nur eine Person: Karte quer statt hoch, damit kein leerer Platz daneben entsteht */
.team > .person:only-child { grid-column: 1 / -1; display: flex; align-items: center; max-width: 600px; }
.team > .person:only-child .ph { width: 220px; flex: none; aspect-ratio: 1; }
.person-foto { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 25%; }
.team > .person:only-child .person-foto { width: 220px; flex: none; aspect-ratio: 1; }
.team > .person:only-child .person-body { padding: 1.5rem 2rem; }
.team > .person:only-child .person-body h3 { font-size: 1.5rem; }
.person-body h3 { margin-bottom: .2rem; }
.person-body p { color: var(--beton); margin: 0; }

.fakten { display: grid; gap: 0; margin: 0; }
.fakten div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; padding: 1.1rem 0; border-top: 1px solid var(--linie-hell); }
.fakten div:last-child { border-bottom: 1px solid var(--linie-hell); }
.fakten dt { font-family: var(--schrift-titel); font-stretch: 110%; font-weight: 650; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: .2rem; }
.fakten dd { margin: 0; color: var(--kalk); }

/* ---------- Kontakt ---------- */
.kontakt-grid { display: grid; grid-template-columns: 1.65fr 1fr; align-items: start; gap: clamp(1.5rem, 4vw, 3rem); }
.form-card { background: var(--weiss); padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius); box-shadow: 0 1px 0 var(--linie); }
.form-card h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.form-hinweis { color: var(--beton); font-size: .95rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field--voll { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .97rem; }
.field .pflicht { color: var(--gold-text); }
.field .freiwillig { font-weight: 400; color: var(--beton); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px;
  padding: .8rem .95rem;
  font: inherit; font-size: 1rem; color: var(--anthrazit);
  background: #FCFBF8;
  border: 1px solid #CFC8BA; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6519' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B6AE9E; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--gold); background: var(--weiss);
  box-shadow: 0 0 0 3px rgba(171, 126, 36, .22);
}
.check { display: flex; gap: .8rem; align-items: flex-start; grid-column: 1 / -1; font-size: .97rem; }
.check input { width: 24px; height: 24px; margin: .05rem 0 0; flex: none; accent-color: var(--gold); cursor: pointer; }
.check { cursor: pointer; }
.check a { color: var(--gold-text); font-weight: 600; }
.hp-feld { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-absenden { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form-absenden small { color: var(--beton); }
.form-status { display: none; margin-top: 1.25rem; padding: 1rem 1.2rem; border-left: 4px solid var(--gold); background: #FBF6EA; }
.form-status.is-sichtbar { display: block; }
.form-status.is-fehler { border-color: #A3261C; background: #FBEDEB; color: #6E1912; }

.kontakt-box { background: var(--anthrazit); color: var(--kalk); padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius); position: relative; }
.kontakt-box::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(171, 126, 36, .35); pointer-events: none; }
.kontakt-box h2 { color: var(--weiss); font-size: 1.35rem; }
.kontakt-liste { margin: 1.25rem 0 0; }
.kontakt-liste div { padding: .85rem 0; border-top: 1px solid var(--linie-hell); }
.kontakt-liste dt { font-family: var(--schrift-titel); font-stretch: 110%; font-weight: 650; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.kontakt-liste dd { margin: 0; }
.kontakt-liste a { color: var(--kalk); text-decoration: none; font-weight: 600; font-size: 1.08rem; position: relative; z-index: 1; }
.kontakt-liste a:hover { color: var(--gold); }

/* ---------- Rechtliche Seiten ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.35rem; font-stretch: 110%; margin-top: 2.4rem; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6rem; }
.prose p, .prose li { color: #3D3B37; }
.prose a { color: var(--gold-text); font-weight: 600; }
.prose ul { padding-left: 1.2rem; }
.hinweis-box { margin-bottom: 2.5rem; padding: 1.2rem 1.4rem; background: #FBF6EA; border: 1px solid var(--gold); border-left-width: 4px; }
.hinweis-box p { color: var(--anthrazit); margin: 0; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--anthrazit); color: var(--text-hell); border-top: 3px solid var(--gold); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 26em; }
.footer-title {
  margin: 0 0 1rem;
  font-family: var(--schrift-titel); font-stretch: 112%; font-weight: 650;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.site-footer address { font-style: normal; line-height: 1.85; }
.site-footer a { color: var(--kalk); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 1.5rem;
  padding-block: 1.5rem; border-top: 1px solid var(--linie-hell); font-size: .92rem;
}
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { display: inline-block; padding-block: .25rem; }

/* ---------- Aufforderung unten auf dem Handy ---------- */
.mobile-cta { display: none; }

/* ---------- Sanftes Einblenden beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
  .reveal-ready [data-reveal="2"] { transition-delay: .08s; }
  .reveal-ready [data-reveal="3"] { transition-delay: .16s; }
  .reveal-ready [data-reveal="4"] { transition-delay: .24s; }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1000px) {
  .service-links { grid-template-columns: repeat(2, 1fr); }
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.75rem; }
  .step:nth-child(2n)::after { right: 0; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .kontakt-box { max-width: 36rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ==========================================================================
   Handy: eigener Durchgang
   Weniger Schmuck, kompaktere Abstände, Bilder kürzer, alles einspaltig,
   eine feste Schaltfläche „Angebot anfragen“ am unteren Rand.
   ========================================================================== */
@media (max-width: 760px) {
  body { font-size: 1.03rem; }
  h1, h2 { font-stretch: 104%; }
  h1 { font-size: clamp(2rem, 1.3rem + 3.6vw, 2.6rem); }
  .section { padding-block: 3.5rem; }
  .section-head { margin-bottom: 1.9rem; }
  .section-head p, .lead { font-size: 1.06rem; }
  .section-head--split { display: block; }
  .section-head--split .textlink { margin-top: .5rem; }

  /* Startseite Kopfbereich: Bild oben und flacher, Werte-Zeile entfällt */
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; padding-block: 0 3rem; }
  .hero-media { order: -1; margin: 0 calc(var(--gutter) * -1); }
  .hero-media::before { display: none; }
  .hero-media img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
  .hero .lead { font-size: 1.08rem; }
  .hero-actions { margin-top: 1.5rem; }
  .hero-actions .btn { width: 100%; }
  .hero-werte { display: none; }

  .page-hero .container { padding-block: 2.75rem 2.5rem; }

  .tiles { grid-template-columns: 1fr; }
  .tile-body { padding: 1.35rem 1.25rem 1.5rem; }
  .checklist { gap: .4rem 1rem; font-size: .98rem; }
  .service-links { grid-template-columns: 1fr; gap: .5rem; }
  .service-link { min-height: 56px; padding: .7rem .9rem; }
  .service-link .icon { width: 24px; height: 24px; }
  .service-link .pfeil { opacity: 1; transform: none; }

  .staerken { grid-template-columns: 1fr; gap: 1.75rem; }
  .staerke { padding-top: 1.1rem; }

  /* Ablauf als senkrechte Zeitleiste */
  .steps, .steps--drei { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 0 0 1.75rem 3.6rem; }
  .step:last-child { padding-bottom: 0; }
  .step::before { font-size: 1.25rem; top: .1rem; }
  .step::after { top: 2rem; bottom: .4rem; left: .9rem; right: auto; width: 1px; height: auto; background: rgba(171, 126, 36, .5); }
  .step:last-child::after { display: none; }

  /* Referenzen-Vorschau auf der Startseite: waagerecht wischen statt drei Kacheln untereinander */
  .ref-grid--vorschau {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .75rem;
    scrollbar-width: none;
  }
  .ref-grid--vorschau::-webkit-scrollbar { display: none; }
  .ref-grid--vorschau > li { flex: 0 0 82%; scroll-snap-align: start; }
  .ref-grid { grid-template-columns: 1fr; }

  .cta-box { grid-template-columns: 1fr; padding: 2.25rem 1.5rem; }
  .cta-box::after { inset: 8px; }
  .cta-actions { align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  .leistung { padding-block: 3rem; scroll-margin-top: 40px; }
  .leistung-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .leistung--rechts .leistung-media { order: 0; }
  .leistung-media { margin: 0 calc(var(--gutter) * -1); }
  .leistung-media img, .leistung-media .ph { aspect-ratio: 16 / 9; }
  .leistung-text > p { font-size: 1.04rem; }
  .jumpbar ul { padding-block: .55rem; }
  .jumpbar a { min-height: 38px; font-size: .84rem; }

  .zwei-spalten { grid-template-columns: 1fr; gap: 2rem; }
  .zwei-spalten .ph { aspect-ratio: 16 / 10; }
  .bild-rahmen { margin: 12px 12px 0 0; }
  .bild-rahmen::before { top: -12px; right: -12px; bottom: 12px; left: 12px; }
  .text-block p.stark { font-size: 1.12rem; }

  /* Geschäftsführung kompakt nebeneinander statt großer Kacheln */
  .team { grid-template-columns: 1fr; gap: .75rem; }
  .person { display: flex; align-items: center; }
  .person .ph { width: 92px; flex: none; aspect-ratio: 1; }
  .person .ph-icon { width: 64px; border-width: 1px; }
  .person .ph-initialen { font-size: 1.2rem; }
  .person-body { padding: .9rem 1.1rem; }
  .team > .person:only-child .ph { width: 92px; }
  .person .person-foto, .team > .person:only-child .person-foto { width: 92px; flex: none; aspect-ratio: 1; }
  .team > .person:only-child .person-body { padding: .9rem 1.1rem; }
  .team > .person:only-child .person-body h3 { font-size: 1.3rem; }

  .fakten div { grid-template-columns: 1fr; gap: .25rem; }

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

  /* Filter der Referenzen: eine Zeile zum Wischen statt mehrerer Zeilen */
  .filter {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) .25rem;
  }
  .filter::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }

  /* Galerie auf dem Handy: volle Breite, Pfeile kleiner */
  .galerie { width: 100vw; max-height: 100vh; height: 100%; border-radius: 0; }
  .galerie-kopf { padding-left: 1rem; }
  .galerie-titel { font-size: .95rem; }
  .galerie-buehne img { max-height: calc(100vh - 160px); }
  .galerie-pfeil { width: 42px; height: 42px; }
  .galerie-pfeil--zurueck { left: .4rem; }
  .galerie-pfeil--weiter { right: .4rem; }
  .form-absenden .btn { width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-links { display: none; }
  .footer-brand img { height: 44px; }

  .mobile-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(22, 24, 26, .96);
    border-top: 1px solid rgba(171, 126, 36, .45);
    transform: translateY(110%);
    transition: transform .35s var(--ease);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { width: 100%; min-height: 50px; }
  .hat-mobile-cta .footer-bottom { padding-bottom: 6rem; }
}

@media (max-width: 380px) {
  .logo img { height: 32px; }
  .eyebrow { letter-spacing: .12em; gap: .6rem; }
  .eyebrow::before { width: 20px; }
  /* Wort „Menü“ nur optisch ausblenden, für Screenreader bleibt es lesbar */
  .menu-toggle-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .checklist { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .mobile-cta, .jumpbar, .site-footer { display: none; }
  body { background: #fff; }
}
