/* Städtebau + Freiraum – Design 2026, Stufe 2
   Klassisch-modern: Serifen-Überschriften (Source Serif 4), Mulish für Text und Bedienung, Luftbilder als Bühne,
   Ziegelrot nur als Akzent, feine Linien statt Kästen. Kontraste WCAG AA. */

:root {
  --red: #b0270b;
  --red-strong: #c8300f;
  --red-dark: #8a1e08;
  --ink: #161614;
  --text: #3b3b38;
  --muted: #6a6964;
  --line: #e2dfd8;
  --line-strong: #cfcbc2;
  --paper: #fcfbf8;
  --tint: #f4f2ed;
  --dark: #151513;
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-sans: "Mulish", "Muli", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --hdr: 84px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --focus: 3px solid #0b5cad;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font: 400 17px/1.7 var(--f-sans); color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
main:focus { outline: none; }
::selection { background: #f3c9bd; color: var(--ink); }
.wrap { width: min(var(--wrap), 100% - 64px); margin-inline: auto; }

.sr-only { 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 { position: fixed; left: -999px; top: 8px; z-index: 300; background: #fff; color: #000; padding: 12px 16px; font-weight: 700; }
.skip:focus { left: 12px; }
.deco { font-weight: 400; color: var(--muted); }
.deco--arrow { display: none; }
.subnav .deco, .mnav .deco, .sitemap .deco, .breadcrumb .deco, .btn .deco { display: none; }

.ico { display: inline-block; width: 1em; height: 1em; background: currentColor; flex: none;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico--tel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }

/* ---------- Typo-Bausteine ---------- */
.label { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 600 12px/1 var(--f-sans); letter-spacing: 2.4px; text-transform: uppercase; color: var(--muted); }
.label__no { color: var(--red); }
.label__line { width: 40px; height: 1px; background: currentColor; opacity: .5; }
.sec--dark .label { color: #a9a8a1; }
.sec--dark .label__no { color: #ff9a82; }
.sec__t { font: 300 clamp(34px, 4vw, 54px)/1.08 var(--f-serif); letter-spacing: -.6px; color: var(--ink); margin: 0; }
.sec__lead { font: 400 18px/1.7 var(--f-sans); color: var(--muted); margin: 20px 0 0; max-width: 56ch; }
.more { display: inline-flex; gap: 8px; font: 600 14px var(--f-sans); letter-spacing: .4px; color: var(--ink); text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid currentColor; white-space: nowrap; }
.more:hover { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 12px 24px; font: 600 14px/1.2 var(--f-sans); letter-spacing: .6px; color: var(--ink);
  background: transparent; border: 1px solid var(--ink); border-radius: var(--radius); text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: transparent; color: #fff; }
.btn--line-light { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--line-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--lg { min-height: 56px; padding: 16px 30px; font-size: 15px; }
.btn--sm { min-height: 40px; padding: 8px 18px; }

/* ---------- Kopfzeile ---------- */
.hdr { position: sticky; top: 0; z-index: 100; background: rgba(252, 251, 248, .94); backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--line); transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s; }
.hdr__in { width: min(1400px, 100% - 64px); margin-inline: auto; height: var(--hdr); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: 0 1 auto; min-width: 0; color: var(--ink); }
.brand__mark { width: 14px; height: 14px; background: var(--red-strong); flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__name { font: 400 22px/1.1 var(--f-serif); letter-spacing: -.2px; white-space: nowrap; }
.brand__plus { color: var(--red-strong); }
.brand__sub { font: 600 10.5px/1.4 var(--f-sans); letter-spacing: 2.6px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.brand:hover { color: var(--ink); }
.mainnav { margin-left: auto; }
.mainnav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.mainnav a { position: relative; display: block; padding: 10px 12px; font: 500 14.5px var(--f-sans); letter-spacing: .3px; color: var(--text); text-decoration: none; }
.mainnav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.mainnav a:hover { color: var(--ink); }
.mainnav a:hover::after, .mainnav a.is-current::after { transform: scaleX(1); }
.mainnav a.is-current { color: var(--ink); }
.mainnav a.is-current::after { background: var(--red-strong); height: 2px; }
.hdr__actions { display: flex; align-items: center; gap: 18px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; font: 600 14.5px var(--f-sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
.hdr__tel .ico { color: var(--red); }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; cursor: pointer; color: var(--ink); }
.menu-btn__bars { display: grid; gap: 7px; justify-items: center; }
.menu-btn__bars span { width: 22px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

/* Startseite: transparente Kopfzeile über dem Luftbild, wird beim Scrollen hell */
.is-home .hdr--overlay { position: fixed; left: 0; right: 0; background: transparent; border-color: rgba(255, 255, 255, .18); backdrop-filter: none; color: #fff; }
.is-home .hdr--overlay .brand, .is-home .hdr--overlay .mainnav a, .is-home .hdr--overlay .hdr__tel, .is-home .hdr--overlay .menu-btn { color: #fff; }
.is-home .hdr--overlay .brand__sub { color: rgba(255, 255, 255, .78); }
.is-home .hdr--overlay .hdr__tel .ico { color: #ffb19f; }
.is-home .hdr--overlay .menu-btn { border-color: rgba(255, 255, 255, .5); }
.is-home .hdr--overlay.is-solid, .menu-open .hdr--overlay { background: rgba(252, 251, 248, .96); border-color: var(--line); backdrop-filter: saturate(1.3) blur(12px); }
.is-home .hdr--overlay.is-solid .brand, .menu-open .hdr--overlay .brand,
.is-home .hdr--overlay.is-solid .hdr__tel,
.is-home .hdr--overlay.is-solid .menu-btn, .menu-open .hdr--overlay .menu-btn { color: var(--ink); }
.is-home .hdr--overlay.is-solid .mainnav a { color: var(--text); }
.is-home .hdr--overlay.is-solid .brand__sub, .menu-open .hdr--overlay .brand__sub { color: var(--muted); }
.is-home .hdr--overlay.is-solid .hdr__tel .ico { color: var(--red); }
.is-home .hdr--overlay.is-solid .menu-btn, .menu-open .hdr--overlay .menu-btn { border-color: var(--line-strong); }

/* Mobiles Menü */
.mnav { position: fixed; inset: var(--hdr) 0 0; z-index: 99; background: var(--paper); overflow-y: auto; padding: 24px 28px 80px; }
.mnav[hidden] { display: none; }
.mnav__cta { width: 100%; margin-bottom: 10px; }
.mnav ul { list-style: none; margin: 16px 0 0; padding: 0; }
.mnav ul ul { margin: 0 0 10px 2px; padding-left: 16px; border-left: 1px solid var(--line); }
.mnav a:not(.btn) { display: block; padding: 10px 0; color: var(--text); text-decoration: none; font: 16px/1.35 var(--f-sans); }
.mnav > ul > li > a:not(.btn) { font: 400 24px/1.25 var(--f-serif); color: var(--ink); border-top: 1px solid var(--line); padding: 16px 0 10px; }
.mnav a.current { color: var(--red) !important; }
body.menu-open { overflow: hidden; }

/* ---------- Startseite: Hero ---------- */
.hhero { position: relative; display: flex; flex-direction: column; min-height: 100svh; color: #fff;
  background: #2d2f29 var(--hero) center 45% / cover no-repeat; isolation: isolate; overflow: hidden; }
.hhero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14, 14, 12, .82) 0%, rgba(14, 14, 12, .55) 42%, rgba(14, 14, 12, .12) 78%),
              linear-gradient(0deg, rgba(14, 14, 12, .55) 0%, rgba(14, 14, 12, 0) 35%); }
.hhero__in { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr) + 60px) 0 60px; }
.kicker { display: flex; align-items: center; gap: 14px; font: 600 12px/1.4 var(--f-sans); letter-spacing: 2.8px; text-transform: uppercase; color: rgba(255, 255, 255, .88); margin: 0 0 26px; }
.kicker::before { content: ""; width: 14px; height: 14px; background: var(--red-strong); flex: none; }
.hhero__t { font: 300 clamp(42px, 6.4vw, 92px)/1.02 var(--f-serif); letter-spacing: -1.6px; color: #fff; margin: 0; max-width: 14ch; }
.hhero__lead { font: 400 clamp(17px, 1.5vw, 20px)/1.65 var(--f-sans); color: rgba(255, 255, 255, .9); max-width: 50ch; margin: 30px 0 40px; }
.hhero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hhero__bar { border-top: 1px solid rgba(255, 255, 255, .22); background: rgba(14, 14, 12, .3); backdrop-filter: blur(4px); }
.hhero__facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0;
  font: 500 14px/1.4 var(--f-sans); letter-spacing: .4px; color: rgba(255, 255, 255, .94); }
.hhero__facts li { padding: 22px 24px 22px 0; display: flex; gap: 12px; align-items: center; }
.hhero__facts li + li { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .22); }
.hhero__facts li::before { content: "" / ""; width: 6px; height: 6px; background: #ff8f78; flex: none; }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(80px, 11vw, 150px) 0; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark); color: #cfcec8; }
.sec--dark .sec__t, .sec--dark h3 { color: #fff; }
.sec--dark .sec__lead { color: #b5b4ad; }
.sec__head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.sec__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.split__head { position: sticky; top: calc(var(--hdr) + 40px); }

/* Leistungen als Register */
.svcs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.svc a { display: grid; grid-template-columns: 48px minmax(0, 1fr) 28px; grid-template-areas: "no t go" "no x go"; column-gap: 20px; row-gap: 4px;
  padding: 26px 4px; border-bottom: 1px solid var(--line-strong); text-decoration: none; color: inherit; transition: padding .35s var(--ease), background-color .35s var(--ease); }
.svc__no { grid-area: no; font: 400 15px/1.6 var(--f-serif); color: var(--red); padding-top: 4px; }
.svc__t { grid-area: t; font: 400 clamp(22px, 2.2vw, 28px)/1.25 var(--f-serif); color: var(--ink); letter-spacing: -.2px; }
.svc__x { grid-area: x; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 52ch; }
.svc__go { grid-area: go; align-self: center; width: 22px; height: 22px; position: relative; }
.svc__go::before { content: ""; position: absolute; inset: 0; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s var(--ease), background-color .2s; }
.svc a:hover { background: #fff; padding-left: 16px; padding-right: 12px; }
.svc a:hover .svc__t { color: var(--red); }
.svc a:hover .svc__go::before { transform: translateX(4px); background: var(--red); }

/* Referenzen: ruhiges Magazin-Raster */
.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
.pcard--big { grid-column: span 2; grid-row: span 2; }
.pcard a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.pcard__img { display: block; overflow: hidden; background: #d9d6ce; aspect-ratio: 4 / 3; }
.pcard--big .pcard__img { aspect-ratio: auto; flex: 1; min-height: 360px; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.pcard a:hover img { transform: scale(1.035); }
.pcard__meta { display: flex; flex-direction: column; gap: 4px; padding-top: 18px; }
.pcard__place { font: 600 11.5px/1.4 var(--f-sans); letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); }
.pcard__t { font: 400 clamp(20px, 1.8vw, 24px)/1.3 var(--f-serif); color: var(--ink); }
.pcard--big .pcard__t { font-size: clamp(26px, 2.6vw, 34px); }
.pcard a:hover .pcard__t { color: var(--red); }

/* Leitsatz */
.statement { position: relative; padding: clamp(110px, 16vw, 220px) 0; background: #2d2f29 var(--img) center / cover no-repeat; color: #fff; isolation: isolate; }
.statement::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 14, 12, .62); }
.statement__t { margin: 0 auto; max-width: 22ch; text-align: center; font: 300 clamp(30px, 4.2vw, 58px)/1.18 var(--f-serif); letter-spacing: -.6px; color: #fff; }

/* Auszeichnungen als Zeitleiste */
.aws { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.aw { display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 8px 0; position: relative; }
.aw::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--red-strong); }
.aw + .aw { padding-left: 28px; border-left: 1px solid var(--line); }
.aw + .aw::before { left: 28px; }
.aw__y { font: 300 48px/1 var(--f-serif); color: var(--ink); letter-spacing: -1px; }
.aw__t { font: 600 16px/1.4 var(--f-sans); color: var(--ink); }
.aw__x { font-size: 14.5px; color: var(--muted); }

/* Arbeitsweise */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.step { border-top: 1px solid var(--line-strong); padding-top: 26px; }
.step__no { display: block; font: 300 44px/1 var(--f-serif); color: var(--red); margin-bottom: 22px; }
.step__t { font: 400 24px/1.25 var(--f-serif); margin: 0 0 10px; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Büro */
.team { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.team__fig { margin: 0; max-width: 420px; }
.team__fig figcaption { font: 12.5px/1.5 var(--f-sans); color: var(--muted); padding-top: 10px; }
.team__img { aspect-ratio: 4 / 5; overflow: hidden; background: #d9d6ce; }
.team__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.people { list-style: none; margin: 34px 0 34px; padding: 26px 0 0; display: grid; grid-template-columns: 1fr; gap: 24px; border-top: 1px solid var(--line); }
.people li { display: flex; flex-direction: column; gap: 2px; }
.people strong { font: 400 22px/1.3 var(--f-serif); color: var(--ink); }
.people span { color: var(--muted); font-size: 14.5px; letter-spacing: .3px; }

/* Kontakt */
.contact-sec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.cinfo { list-style: none; margin: 44px 0 0; padding: 0; display: grid; border-top: 1px solid #34342f; }
.cinfo li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid #34342f; font: 400 20px/1.45 var(--f-serif); color: #fff; }
.cinfo__k { font: 600 11.5px/2.4 var(--f-sans); letter-spacing: 2.2px; text-transform: uppercase; color: #a9a8a1; }
.cinfo a { color: #fff; text-decoration: none; }
.cinfo a:hover { color: #ffb19f; text-decoration: underline; }
.contact-card { background: var(--paper); color: var(--text); padding: clamp(28px, 3.6vw, 48px); }

/* ---------- Unterseiten ---------- */
.phero { position: relative; color: #fff; background: #2d2f29 var(--hero) center / cover no-repeat; isolation: isolate; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 14, 12, .8), rgba(14, 14, 12, .3) 70%); }
.phero__in { min-height: clamp(260px, 32vw, 400px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 48px 0 40px; }
.phero__t { margin: 0; font: 300 clamp(36px, 4.8vw, 66px)/1.06 var(--f-serif); letter-spacing: -1px; color: #fff; max-width: 22ch; overflow-wrap: break-word; hyphens: auto; }
.phero .breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; font: 600 12px/1.6 var(--f-sans); letter-spacing: 1.6px; text-transform: uppercase; }
.phero .breadcrumb li + li::before { content: "/" / ""; margin: 0 10px; color: rgba(255, 255, 255, .55); }
.phero .breadcrumb a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.phero .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.phero .breadcrumb a[aria-current] { color: #fff; }

.page { display: grid; gap: clamp(40px, 6vw, 96px); padding: clamp(56px, 7vw, 100px) 0 clamp(80px, 10vw, 140px); }
.page--aside { grid-template-columns: 250px minmax(0, 1fr); grid-template-areas: "aside main"; }
.page--single { grid-template-columns: minmax(0, 880px); justify-content: center; }
.page__main { grid-area: main; min-width: 0; max-width: 900px; }
.page--single .page__main { grid-area: auto; }
.page__aside { grid-area: aside; }
.subnav { position: sticky; top: calc(var(--hdr) + 32px); max-height: calc(100vh - var(--hdr) - 64px); overflow-y: auto; padding-right: 6px; }
.subnav::before { content: "In diesem Bereich"; display: block; margin-bottom: 14px; font: 600 11.5px var(--f-sans); letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); }
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav > ul { border-top: 1px solid var(--line); }
.subnav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font: 14.5px/1.45 var(--f-sans); color: var(--muted); text-decoration: none; transition: color .2s, padding .3s var(--ease); }
.subnav a:hover { color: var(--ink); padding-left: 6px; }
.subnav a.current { color: var(--ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--red-strong); padding-left: 14px; }
.subnav a.parent { color: var(--ink); }
.subnav .l2 a { padding-left: 16px; font-size: 14px; }
.subnav .l2 a.current { padding-left: 22px; }
.subnav .l3 a { padding-left: 28px; font-size: 13.5px; }

/* ---------- Inhaltsblöcke (Import + eigene) ---------- */
.page__main .h1, .page__main .h2, .page__main .h3 { margin: 0; font-weight: 400; overflow-wrap: break-word; hyphens: auto; }
.page__main .h1 { font: 300 clamp(34px, 4vw, 52px)/1.1 var(--f-serif); color: var(--ink); text-transform: none; letter-spacing: -.8px; margin-bottom: 10px; }
.page__main .h2 { font: 400 clamp(22px, 2.3vw, 30px)/1.3 var(--f-serif); color: #4a4a46; }
.page__main .h3 { font: 600 15px/1.5 var(--f-sans); letter-spacing: .3px; color: var(--red); }
.page__main .h2.sec { font: 600 12px/1.4 var(--f-sans); letter-spacing: 2.4px; text-transform: uppercase; color: var(--ink);
  margin: 56px 0 18px; padding: 0; border: 0; display: flex; align-items: center; gap: 16px; }
.page__main .h2.sec::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.text { font: 400 17px/1.75 var(--f-sans); color: var(--text); overflow-wrap: break-word; hyphens: auto; max-width: 68ch; }
.text p { margin: 0; }
.text p + p { margin-top: .9em; }
.text ul, .text ol { margin: .6em 0; padding-left: 20px; }
.text li { padding-left: 4px; }
.text li + li { margin-top: .45em; }
.text li::marker { color: var(--red); }
.text a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text a:hover { color: var(--red); }
.text strong { color: var(--ink); font-weight: 700; }
.text table { border-collapse: collapse; width: 100%; }
.text td, .text th { padding: 8px 10px; vertical-align: top; border-bottom: 1px solid var(--line); }
.text.todo { background: #fff4d6; border-left: 3px solid #a86f00; padding: 16px 20px; }
.text + .text, .text + .fg, .fg + .text { margin-top: 1em; }
.lead { font: 300 22px/1.6 var(--f-serif); color: var(--ink); margin: 0 0 1em; }
.small { font-size: 13.5px; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.sp { width: 100%; }

.grid { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; }
.col { width: var(--w); min-width: 0; flex: 1 1 var(--w); }
.col.empty { flex: 0 1 calc(var(--w) * .3); }

.fig { margin: 0; width: var(--fw, auto); max-width: 100%; }
.fig.maxed { width: 100%; }
.fig.maxed img { width: 100%; }
.fig.a1 { margin-right: auto; }
.fig.a2 { margin-left: auto; margin-right: auto; }
.fig.a3 { margin-left: auto; }
.fig img { width: 100%; }
.fig figcaption { font: 13px/1.5 var(--f-sans); letter-spacing: .2px; color: var(--muted); padding-top: 10px; }
.fig a { display: block; overflow: hidden; }
.lb { cursor: zoom-in; }
.textimg::after { content: ""; display: table; clear: both; }
.fig.float { float: left; width: var(--fw, 40%); margin: 6px 28px 14px 0; }
.fig.float.a3 { float: right; margin: 6px 0 14px 28px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.fg { display: grid; gap: 28px 18px; margin: 20px 0 10px; }
.fg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fg__item { margin: 0; }
.fg__item a { display: block; overflow: hidden; background: #e7e4dd; }
.fg__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .9s var(--ease); }
.fg--2 .fg__item img { aspect-ratio: auto; object-fit: contain; }
.fg__item a:hover img { transform: scale(1.03); }
.fg__item figcaption { font: 13px/1.5 var(--f-sans); color: var(--muted); padding-top: 8px; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__img { display: block; overflow: hidden; background: #e7e4dd; }
.card__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1s var(--ease); }
.card__link:hover .card__img img { transform: scale(1.035); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; flex: 1; }
.card__place { font: 600 11.5px/1.3 var(--f-sans); letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted); }
.card__title { font: 400 24px/1.25 var(--f-serif); color: var(--ink); }
.card__link:hover .card__title { color: var(--red); }
.card__text { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.card__more { margin-top: auto; padding-top: 10px; font: 600 13.5px var(--f-sans); letter-spacing: .4px; color: var(--ink); }

.quote { margin: 32px 0; padding: 4px 0 4px 28px; border-left: 2px solid var(--red-strong); }
.quote blockquote { margin: 0; }
.quote p { margin: 0; font: 300 italic clamp(22px, 2.2vw, 28px)/1.45 var(--f-serif); color: var(--ink); }
.quote figcaption { font: 13.5px var(--f-sans); letter-spacing: .3px; color: var(--muted); margin-top: 12px; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 6px 0 0; border-top: 1px solid var(--ink); }
.facts div { padding: 16px 20px 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 11px/1.3 var(--f-sans); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font: 400 18px/1.4 var(--f-serif); color: var(--ink); }

.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.btn-wrap { margin: 8px 0; }
.btn-wrap.a1 { text-align: left; }
.btn-wrap.a2 { text-align: center; }
.btn-wrap.a3 { text-align: right; }

.dl { display: flex; gap: 16px; align-items: flex-start; margin: 14px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font: 15px/1.5 var(--f-sans); }
.dl__icon { flex: 0 0 40px; }
.dl__icon img { width: 40px; height: 40px; }
.dl__body p { margin: 0; }
.dl__title { color: var(--ink); }
.dl__name { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.dl__info { font-size: 13px; color: var(--muted); }
.dl__btn { margin-top: 10px; min-height: 38px; padding: 6px 16px; font-size: 13px; }

/* Formular */
.contact { display: grid; gap: 20px; font: 15px var(--f-sans); color: var(--text); }
.contact label { display: block; font: 600 11.5px var(--f-sans); letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.contact label input, .contact label textarea { display: block; width: 100%; margin-top: 8px; }
.contact .req { color: var(--red); }
.contact input, .contact textarea { font: 400 17px var(--f-sans); letter-spacing: 0; text-transform: none; padding: 12px 0; border: 0; border-bottom: 1px solid #8f8d86; border-radius: 0; background: transparent; color: var(--ink); }
.contact textarea { resize: vertical; min-height: 120px; }
.contact input:focus, .contact textarea:focus { border-bottom-color: var(--ink); outline: none; box-shadow: 0 2px 0 var(--ink); }
.contact .small { text-transform: none; letter-spacing: 0; }
.contact .btn { justify-self: start; background: var(--red); border-color: var(--red); color: #fff; min-height: 54px; padding: 14px 34px; }
.contact .btn:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* Suche */
.search { display: flex; flex-wrap: wrap; gap: 10px; }
.search input { flex: 1 1 260px; min-width: 0; font: 17px var(--f-sans); padding: 12px 0; border: 0; border-bottom: 1px solid #8f8d86; background: transparent; }
.search input:focus { outline: none; box-shadow: 0 2px 0 var(--ink); }
.search button { font: 600 14px var(--f-sans); letter-spacing: .6px; padding: 12px 24px; background: var(--ink); color: #fff; border: 0; border-radius: var(--radius); cursor: pointer; }
.search--big { margin: 0 0 32px; max-width: 600px; }
.results { padding-left: 22px; }
.results li { margin: 0 0 24px; }
.results li::marker { color: var(--red); }
.results a { font: 400 22px/1.3 var(--f-serif); color: var(--ink); }
.results a:hover { color: var(--red); }
.results p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.results mark { background: #f8dcd3; color: inherit; }

.sitemap, .sitemap ul { list-style: none; padding-left: 18px; font: 16px/1.9 var(--f-sans); }
.sitemap { padding-left: 0; }
.sitemap > li > a { font: 400 22px/2 var(--f-serif); color: var(--ink); }
.sitemap a { color: var(--text); text-decoration: none; }
.sitemap a:hover { color: var(--red); text-decoration: underline; }

/* ---------- Fußzeile ---------- */
.ftr { background: var(--dark); color: #bdbcb5; font-size: 15px; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { color: #ffb19f; text-decoration: underline; }
.ftr__top { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 72px); border-bottom: 1px solid #2f2f2b; }
.ftr__claim { margin: 0; max-width: 20ch; font: 300 clamp(30px, 3.6vw, 50px)/1.12 var(--f-serif); letter-spacing: -.6px; color: #fff; }
.ftr__cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ftr__cta-btns .btn--light:hover { color: #fff; text-decoration: none; }
.ftr__cta-btns .btn--line-light:hover { color: var(--ink); text-decoration: none; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.ftr__grid p { margin: 0 0 14px; line-height: 1.65; }
.ftr__brand { display: flex; align-items: center; gap: 12px; font: 400 22px var(--f-serif); color: #fff; }
.ftr__plus { color: #ff8f78; }
.ftr__h { font: 600 11.5px var(--f-sans) !important; letter-spacing: 2.4px; text-transform: uppercase; color: #9a9993; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #2f2f2b; padding: 22px 0 30px; font-size: 13px; color: #9a9993; }
.ftr__base a { color: #bdbcb5; }

.callbar { display: none; }
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--paper); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.totop::before { content: ""; position: absolute; left: 18px; top: 20px; width: 10px; height: 10px; border: solid var(--ink); border-width: 1.5px 0 0 1.5px; transform: rotate(45deg); }
.totop.show { opacity: 1; pointer-events: auto; }

/* ---------- Einblenden beim Scrollen ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .hhero__in > * { animation: rise 1s var(--ease) both; }
  .hhero__in > :nth-child(2) { animation-delay: .08s; }
  .hhero__in > :nth-child(3) { animation-delay: .16s; }
  .hhero__in > :nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; background: rgba(12, 12, 11, .95); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 72px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; }
.lightbox p { color: #e8e7e2; font: 14px var(--f-sans); margin: 14px 0 0; text-align: center; }
.lightbox button { position: absolute; background: transparent; border: 1px solid rgba(255, 255, 255, .3); color: #fff; cursor: pointer; line-height: 1; width: 48px; height: 48px; border-radius: 50%; font-size: 24px; }
.lightbox button:hover { background: rgba(255, 255, 255, .14); }
.lightbox .lb-close { top: 16px; right: 18px; font-size: 28px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; top: 30px; left: 24px; margin: 0; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #aaa; }

/* ---------- Responsiv ---------- */
@media (max-width: 1240px) {
  .hdr__tel-txt { display: none; }
  .mainnav a { padding: 10px 9px; font-size: 14px; }
}
@media (max-width: 1060px) {
  :root { --hdr: 70px; }
  .mainnav, .hdr__tel { display: none; }
  .menu-btn { display: grid; place-items: center; }
  .hdr__actions { margin-left: auto; }
  .split, .team, .contact-sec { grid-template-columns: 1fr; }
  .split__head { position: static; }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard--big { grid-column: span 2; grid-row: auto; }
  .pcard--big .pcard__img { aspect-ratio: 16 / 9; min-height: 0; }
  .aws, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .aw:nth-child(3) { border-left: 0; padding-left: 0; }
  .aw:nth-child(3)::before { left: 0; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .page--aside { grid-template-columns: 1fr; grid-template-areas: "main" "aside"; }
  .subnav { position: static; max-height: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 80px; }
  .wrap { width: calc(100% - 40px); }
  .hdr__in { width: calc(100% - 32px); gap: 12px; }
  .brand { gap: 10px; }
  .brand__mark { width: 11px; height: 11px; }
  .brand__name { font-size: 19px; }
  .brand__sub { font-size: 9.5px; letter-spacing: 2px; }
  .hdr__cta { display: none; }
  .hhero { min-height: 92svh; }
  .hhero__in { padding: calc(var(--hdr) + 40px) 0 40px; }
  .hhero::before { background: linear-gradient(180deg, rgba(14, 14, 12, .55), rgba(14, 14, 12, .82)); }
  .hhero__t { letter-spacing: -1px; }
  .btn--lg { width: 100%; }
  .hhero__facts { grid-template-columns: 1fr; }
  .hhero__facts li { padding: 12px 0 !important; border-left: 0 !important; }
  .hhero__facts li + li { border-top: 1px solid rgba(255, 255, 255, .18); }
  .pcards, .aws, .steps, .cards, .ftr__grid, .people { grid-template-columns: 1fr; }
  .pcard--big { grid-column: auto; }
  .aw + .aw { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .aw + .aw::before { left: 0; }
  .svc a { grid-template-columns: 36px minmax(0, 1fr) 22px; column-gap: 14px; padding: 22px 0; }
  .svc a:hover { padding-left: 0; padding-right: 0; background: transparent; }
  .cinfo li { grid-template-columns: 1fr; gap: 2px; }
  .grid { flex-direction: column; gap: 16px; }
  .col { width: 100% !important; flex-basis: auto; }
  .col.empty { display: none; }
  .fig { margin-left: auto; margin-right: auto; }
  .fig.float { float: none; margin: 0 0 14px; width: 100%; }
  .fg--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: 1fr; }
  .callbar { display: flex; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 90; justify-content: center; align-items: center; gap: 10px;
    min-height: 54px; background: var(--red); color: #fff; font: 600 15px var(--f-sans); letter-spacing: .6px; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
  .callbar:hover { color: #fff; }
  .totop { bottom: 84px; right: 16px; }
  .lightbox { padding: 64px 8px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; }
}

@media (forced-colors: active) {
  .btn, .svc a { border: 1px solid CanvasText; }
  .mainnav a.is-current, .subnav a.current { outline: 2px solid Highlight; }
  .brand__mark, .kicker::before { forced-color-adjust: none; }
}
@media print {
  .hdr, .mnav, .ftr, .totop, .callbar, .page__aside { display: none; }
  .phero, .hhero, .statement { color: #000; background: none; min-height: 0; }
  .phero::before, .hhero::before, .statement::before { display: none; }
  .hhero__t, .phero__area, .statement__t { color: #000; }
}

/* ---------- Projektseiten: einheitliches Raster für importierte Inhalte ---------- */
.page__main > .sp + .h2.sec, .page__main > .h2.sec:first-child { margin-top: 24px; }
.page__main .h2:not(.sec) { margin-top: 40px; margin-bottom: 4px; }
.page__main .h3 { margin-top: 28px; margin-bottom: 6px; }
.page__main .h2:not(.sec) + .h3 { margin-top: 6px; }
.page__main > .h2:not(.sec):first-child, .page__main > .h3:first-child { margin-top: 0; }
.page__main > .text, .page__main > .fig, .page__main > .grid, .page__main > .fg, .page__main > .dl, .page__main > .quote, .page__main > .facts { margin-top: 16px; }
.page__main .grid { gap: clamp(20px, 3vw, 40px); margin-top: 20px; }
.page__main .grid .fig, .page__main .grid .fig.a1, .page__main .grid .fig.a3 { width: 100%; margin-left: 0; margin-right: 0; }
.page__main .grid .fig + .fig { margin-top: 20px; }
.page__main .grid .col > * + * { margin-top: 12px; }
.page__main .grid .col > .h3:first-child, .page__main .grid .col > .h2:first-child { margin-top: 0; }
.fg--natural { align-items: start; }
.fg--natural .fg__item img { aspect-ratio: auto; object-fit: contain; }
.fg--natural .fg__item a { background: transparent; }
/* „weiter …“ als klarer Textlink statt Kasten */
.page__main .btn-wrap .btn { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: none;
  font: 600 15px var(--f-sans); letter-spacing: .3px; color: var(--ink); }
.page__main .btn-wrap .btn::after { content: "→" / ""; margin-left: 8px; transition: transform .25s var(--ease); }
.page__main .btn-wrap .btn:hover { color: var(--red); border-color: var(--red); background: none; }
.page__main .btn-wrap .btn:hover::after { transform: translateX(4px); }
.page__main .btn-wrap.a2, .page__main .btn-wrap.a3 { text-align: left; }
.page__main hr { margin: 32px 0; border-top-color: var(--line-strong); }
