:root {
  --ink: #102c2e;
  --dark: #102c2e;
  --teal: #1d5c59;
  --orange: #ff9b6c;
  --accent: #b44a25;
  --paper: #faf9f5;
  --sand: #eeeee6;
  --line: #cfd4c9;
  --muted: #4c5f5c;
  --gutter: clamp(1.35rem, 5.55vw, 6rem);
  --max: 100rem;
  --section-space: clamp(4.4rem, 7vw, 7.8rem);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, h4, p, dl, dd { margin: 0; }
body { font-size: 16px; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b7511b; outline-offset: 4px; }
.hero :focus-visible, .contact :focus-visible, .gallery-controls :focus-visible { outline-color: #fff; }
#leistungen, #baustellen, #uebergabe, #kontakt { scroll-margin-top: 1rem; }
[hidden] { display: none !important; }
.enhanced { display: none; }
.skip { position: absolute; top: .5rem; left: 1rem; padding: .75rem 1rem; background: white; z-index: 5; transform: translateY(-150%); }
.skip:focus { transform: none; }
.wrap { width: min(100%, var(--max)); padding-inline: var(--gutter); margin-inline: auto; }
.section { padding-block: var(--section-space); }
.masthead { background: var(--paper); }
.navrow, nav, .actions, .button, .nav-contact, .hero-link, .gallery-controls, .photo-place, .overline, .reference, .footer-inner, .contact-email { display: flex; align-items: center; }
.navrow { min-height: 5.25rem; justify-content: space-between; gap: 2rem; }
.wordmark { font-size: clamp(1.65rem, 2.15vw, 2.25rem); font-weight: 850; letter-spacing: -.08em; white-space: nowrap; line-height: 1; }
.wordmark span { color: var(--accent); margin-inline: .035em; }
nav { gap: clamp(1.65rem, 3.2vw, 3.25rem); font-size: .94rem; font-weight: 550; }
nav > a:not(.nav-contact):hover, .footer-inner > a:last-child:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-contact { border: 1px solid var(--ink); gap: 1.1rem; padding: .7rem 1.1rem; border-radius: 3px; }
.nav-contact:hover, .button.outline:hover { background: var(--ink); color: var(--paper); }
.arrow { display: inline-block; width: .98em; height: .98em; flex: 0 0 .98em; position: relative; }
.arrow::before { content: ""; position: absolute; width: 94%; height: 1.6px; left: 1%; top: 46%; background: currentColor; }
.arrow::after { content: ""; position: absolute; border: solid currentColor; border-width: 1.6px 1.6px 0 0; height: 63%; width: 63%; right: 8%; top: 20%; transform: rotate(45deg); }
.arrow.up { transform: rotate(-45deg); }
.hero { --half-width: min(50vw, 50rem); display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); color: var(--paper); }
.hero-copy { padding: clamp(3.2rem, 4.6vw, 5.4rem) clamp(2rem, 4vw, 5rem) clamp(3.1rem, 4.7vw, 5.75rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); position: relative; }
.overline { color: var(--teal); font-size: .695rem; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; gap: .75rem; }
.overline i { width: 1.8rem; height: 2px; background: var(--accent); display: block; }
.overline.light { color: #d5e2db; }
.overline.light i { background: var(--orange); }
h1, h2, h3, h4 { font-weight: 550; }
h1 { font-size: clamp(4.4rem, 6.15vw, 7.2rem); line-height: .965; letter-spacing: -.064em; margin-block: clamp(1.9rem, 2.5vw, 3rem) 1.6rem; }
h1 span, .contact h2 span { color: var(--orange); }
.hero-copy > p { font-size: clamp(1.03rem, 1.28vw, 1.35rem); line-height: 1.52; color: #d4e0da; max-width: 29.8rem; text-wrap: pretty; }
.actions { gap: clamp(1.2rem, 2vw, 2.25rem); flex-wrap: wrap; margin-top: clamp(1.65rem, 2.5vw, 3rem); }
.button { padding: .95rem 1.15rem; min-height: 3.05rem; gap: 1.3rem; font-weight: 650; font-size: .94rem; justify-content: center; width: max-content; max-width: 100%; border-radius: 3px; }
.button.warm { color: var(--dark); background: var(--orange); }
.button.warm:hover { background: #ffb28d; }
.hero-link { gap: .6rem; font-weight: 550; font-size: .91rem; text-underline-offset: .3em; }
.hero-link:hover, .contact-email:hover { text-decoration: underline; }
.hero-link span { font-weight: 400; font-size: 1.1rem; }
.hero-photo { display: flex; position: relative; min-width: 0; align-items: flex-end; background: #424c3c; overflow: hidden; }
.hero-photo > img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.hero-photo::after { content: ""; pointer-events: none; position: absolute; inset: 42% 0 0; background: linear-gradient(to top, rgba(9,22,20,.9), transparent 83%); }
.hero-caption { position: relative; z-index: 1; color: #fff; padding: 2rem clamp(1.4rem, 2.6vw, 3.1rem); display: flex; justify-content: space-between; align-items: end; width: 100%; gap: .75rem; }
.photo-place { font-size: .71rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; gap: .55rem; }
.pin { position: relative; display: inline-block; width: .7rem; height: .7rem; border: 1.5px solid currentColor; border-radius: 50% 50% 50% 0; transform: translateY(-.1em) rotate(-45deg); }
.pin::after { content: ""; position: absolute; width: .17rem; height: .17rem; background: currentColor; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.hero-caption strong { display: block; font-size: clamp(1.1rem, 1.5vw, 1.65rem); margin-top: .4rem; letter-spacing: -.025em; font-weight: 550; text-wrap: balance; }
.js .gallery-controls { display: flex; }
.gallery-controls { gap: .32rem; flex: none; }
.gallery-controls button { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border: 1px solid #a9b5ad; background: rgba(13,31,29,.5); color: white; border-radius: 50%; }
.gallery-controls button:hover { background: #f7f7ed; color: var(--dark); }
.chevron { display: block; width: .52rem; height: .52rem; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateX(-1px) rotate(45deg); }
.chevron.prev { transform: translateX(1px) rotate(-135deg); }
.index { font-size: .67rem; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .04em; padding-inline: .28rem; }
.reference-band { background: var(--sand); border-bottom: 1px solid var(--line); }
.reference-grid { display: grid; grid-template-columns: 1.05fr 1fr 1.05fr; padding-block: 1.85rem; }
.reference { gap: clamp(.75rem, 1.3vw, 1.75rem); align-items: center; padding-inline: clamp(1rem, 2.7vw, 3rem); border-left: 1px solid #c4cbc0; }
.reference:first-child { padding-left: 0; border: 0; }
.reference:last-child { padding-right: 0; }
.reference strong { font-size: clamp(1.55rem, 2.5vw, 3rem); line-height: 1; letter-spacing: -.058em; font-weight: 550; white-space: nowrap; }
.reference strong small { font-size: .72em; }
.reference p { font-size: clamp(.72rem, .83vw, .91rem); line-height: 1.45; color: #475755; }
h2 { font-size: clamp(2.85rem, 4.55vw, 5.45rem); line-height: 1.04; letter-spacing: -.06em; text-wrap: balance; }
h2 span { color: var(--accent); }
.overline + h2, .overline + .split-heading { margin-top: 1.35rem; }
.services, .handover { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(2.75rem, 7.2vw, 8rem); }
.service-list { border-top: 1px solid var(--ink); }
.service-list article { display: grid; grid-template-columns: 2.5rem 1fr; align-items: baseline; gap: .65rem; padding-block: 1.55rem; border-bottom: 1px solid var(--line); }
.service-glyph { font-size: 1.6rem; color: var(--teal); line-height: 1; font-weight: 400; }
.service-list h3, .project-city h3 { font-size: clamp(1.42rem, 2vw, 2.05rem); line-height: 1.18; letter-spacing: -.043em; }
.service-list p, .project > p, .split-heading p, .handover-intro > p, .contact-copy > p { color: var(--muted); line-height: 1.6; text-wrap: pretty; }
.service-list p { margin-top: .5rem; }
.projects { background: #e9ede5; }
.split-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.split-heading > p { max-width: 24rem; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1.65rem, 3.55vw, 4rem); }
.project-city { display: flex; align-items: baseline; gap: .75rem; justify-content: space-between; border-top: 1px solid #70847d; padding-block: 1.25rem 1.15rem; }
.project-city span, .project-gallery figcaption { font-size: .8rem; color: var(--muted); }
.project-picture { position: relative; }
.project-picture > img { aspect-ratio: 1.75; object-fit: cover; object-position: var(--focus, 50% 50%); }
.project-picture .gallery-controls { position: absolute; right: .75rem; bottom: .75rem; background: rgba(9,30,29,.86); color: white; border-radius: 1.5rem; padding: 2px; }
.project-gallery figcaption { line-height: 1.45; margin: .7rem 0 1.15rem; }
.project > p { max-width: 32rem; color: var(--ink); }
.handover-intro > p { margin-block: 1.35rem 1.75rem; max-width: 29rem; }
.button.outline { border: 1px solid var(--ink); }
.casefile { border: 1px solid #afbbb2; align-self: start; background: #fff; }
.case-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; background: var(--ink); color: #fff; padding: 1.2rem 1.4rem; }
.case-head small, .case-head > span, .contact-copy small { font-size: .72rem; font-weight: 600; letter-spacing: .08em; }
.case-head small { color: #b8d0c7; text-transform: uppercase; }
.case-head h3 { font-size: 1.35rem; margin-top: .22rem; letter-spacing: -.02em; }
.case-head > span { border: 1px solid #728c84; border-radius: 3px; padding: .35rem .5rem; font-size: .67rem; }
.js .tabs { display: flex; }
.tabs { padding-inline: 1.25rem; border-bottom: 1px solid #d9dfd8; }
.tabs button { flex: 1; background: none; border: 0; border-bottom: 2px solid transparent; padding: .95rem .25rem .75rem; font-size: .88rem; }
.tabs button[aria-selected=true] { color: var(--ink); font-weight: 700; border-bottom-color: var(--accent); }
.tabs button:hover { background: #f0f3ed; }
.sample-panel { padding: 1.25rem 1.4rem 1.4rem; }
.sample-panel figure > img { height: clamp(8.5rem, 13.5vw, 13rem); object-fit: cover; object-position: 50% 50%; }
.sample-panel figcaption { color: var(--muted); font-size: .84rem; line-height: 1.45; margin-top: .8rem; }
.sample-panel figcaption strong { display: block; margin-bottom: .2rem; color: var(--ink); font-size: .98rem; }
.plan { display: block; width: 100%; max-height: 10.5rem; background: #e8efea; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: .7rem; margin-top: .9rem; }
.values dt { font-size: .76rem; color: var(--muted); margin-bottom: .35rem; }
.values dd { font-size: 1rem; font-weight: 650; }
.protocol { margin-block: .9rem; grid-template-columns: repeat(2,1fr); gap: .8rem 1.5rem; }
.protocol div { border-top: 1px solid var(--line); padding-top: .7rem; }
.protocol dd { font-size: 1.35rem; font-weight: 500; }
.sample-panel h4 { font-size: 1.15rem; }
.case-note { border-top: 1px solid var(--line); padding-top: .7rem; margin-top: .95rem; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.contact { background: var(--dark); color: #fff; }
.contact-grid { padding-block: var(--section-space); display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(2.75rem, 8vw, 9rem); }
.contact-copy > p { color: #d6e2dc; max-width: 28rem; }
.contact-copy small { display: block; color: #bdd0c7; margin-top: 1.5rem; }
.contact-email { width: max-content; max-width: 100%; gap: .7rem; margin-top: .4rem; font-size: clamp(1.45rem, 2.1vw, 2.3rem); letter-spacing: -.035em; text-underline-offset: .2em; }
.contact-email .arrow { color: var(--orange); width: .8em; }
.footer-inner { justify-content: space-between; padding-block: 1.65rem; gap: 1rem; }
.footer-inner > span, .footer-inner > a:last-child { font-size: .83rem; color: var(--muted); }
@media (min-width: 1601px) {
  .hero { width: 100%; grid-template-columns: minmax(50vw,1fr) 1fr; }
}
@media (max-width: 1120px) {
  .reference { flex-direction: column; align-items: start; gap: .45rem; }
  .hero { grid-template-columns: 52% 48%; }
  .hero-caption { flex-wrap: wrap; row-gap: .85rem; }
  .hero-copy { padding-right: 1.6rem; }
  .actions { gap: 1.1rem; }
}
@media (max-width: 800px) {
  .navrow { min-height: 4.6rem; }
  nav { gap: 1.15rem; font-size: .85rem; }
  .hero { grid-template-columns: 53% 47%; }
  h1 { font-size: clamp(3.45rem, 7.85vw, 4.4rem); }
  .hero-copy { padding-block: 2.8rem; }
  .overline { font-size: .635rem; gap: .55rem; letter-spacing: .12em; }
  .services, .handover { gap: 2.25rem; grid-template-columns: .9fr 1.1fr; }
  h2 { font-size: clamp(2.7rem, 5.8vw, 3.3rem); }
  .split-heading { align-items: start; gap: 1.8rem; }
  .split-heading p { max-width: 18rem; }
  .values { grid-template-columns: 1fr; gap: .45rem; }
  .values:not(.protocol) > div { display: flex; justify-content: space-between; align-items: baseline; }
  .protocol { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 670px) {
  :root { --section-space: 3.8rem; }
  .navrow { min-height: 4rem; flex-wrap: wrap; gap: 0; }
  .wordmark { margin-block: .95rem; }
  nav { width: 100%; flex-wrap: wrap; justify-content: start; gap: .35rem .9rem; padding-bottom: .8rem; }
  nav > a { line-height: 1.3; padding-block: .55rem; }
  .js .menu-toggle { padding: .6rem 0 .6rem .8rem; background: transparent; border: 0; display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 550; }
  .bars { width: 1.25rem; height: .5rem; border-block: 1.5px solid var(--ink); }
  .js nav:not(.open) { display: none; }
  .js nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); padding-block: .5rem .75rem; }
  .js nav > a { width: 100%; padding: .7rem 0; }
  .nav-contact { border: 0; }
  .hero { display: block; }
  .hero-copy { padding: 2.3rem var(--gutter) 2.4rem; }
  h1 { font-size: clamp(2.8rem, 14.4vw, 5.3rem); margin: 1.5rem 0 1.15rem; }
  .hero-copy > p { max-width: 30rem; font-size: 1rem; }
  .actions { margin-top: 1.35rem; gap: .85rem 1.15rem; }
  .button { min-height: 2.85rem; padding: .85rem 1rem; gap: .75rem; font-size: .85rem; }
  .hero-link { font-size: .82rem; }
  .hero-photo { min-height: clamp(15rem, 65vw, 23rem); }
  .hero-caption { padding: 1.15rem var(--gutter); flex-wrap: nowrap; align-items: end; }
  .hero-caption strong { font-size: 1.07rem; }
  .gallery-controls { gap: .05rem; }
  .gallery-controls button { width: 2.5rem; height: 2.5rem; }
  .index { font-size: .61rem; }
  .reference-grid { gap: 0; padding-block: 1rem; }
  .reference { padding-inline: .7rem; }
  .reference strong { font-size: clamp(1.2rem, 4.5vw, 1.75rem); }
  .reference p { font-size: .69rem; line-height: 1.35; }
  .reference p br { display: none; }
  .services, .handover, .contact-grid, .project-grid { grid-template-columns: 1fr; }
  .services, .handover { gap: 1.85rem; }
  h2 { font-size: clamp(2.7rem, 9.8vw, 3.65rem); }
  .overline + h2, .overline + .split-heading { margin-top: .95rem; }
  .service-list article { padding-block: 1.2rem; grid-template-columns: 1.65rem 1fr; }
  .split-heading { display: block; margin-bottom: 2rem; }
  .split-heading > p { margin-top: .8rem; max-width: none; }
  .project-grid { gap: 2.25rem; }
  .project-city { padding-block: 1rem .8rem; }
  .project-picture > img { aspect-ratio: 1.42; }
  .project-gallery figcaption { margin-bottom: .7rem; }
  .case-head, .sample-panel { padding: 1.05rem; }
  .tabs { padding-inline: .65rem; }
  .sample-panel figure > img { height: 11rem; }
  .contact-grid { gap: 1.4rem; }
  .footer-inner { padding-block: .6rem; flex-wrap: wrap; }
  .footer-inner > span { display: none; }
}
@media (max-width: 360px) {
  .reference-grid { grid-template-columns: 1fr; }
  .reference { flex-direction: row; align-items: baseline; gap: .7rem; border-left: 0; padding: .55rem 0; }
  .reference strong { min-width: 4.25rem; }
  .reference p { font-size: .75rem; }
  .hero-caption { display: grid; }
}

.hero-copy > p strong { color: #fff; font-weight: 650; }
.company-address { margin: 1.5rem 0 .85rem; line-height: 1.55; color: #d6e2dc; font-style: normal; }
.company-address strong { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; align-items: center; }
.footer-links a, .legal-home { padding: .65rem 0; color: var(--ink); font-size: .9rem; }
.footer-links a:hover, .footer-links [aria-current=page], .legal-home:hover { text-decoration: underline; text-underline-offset: .28em; }
.legal footer { border-top: 1px solid var(--line); }
.legal-title { background: var(--dark); color: #fff; padding-block: clamp(2.8rem, 5vw, 5rem); }
.legal-title h1 { margin-bottom: 0; font-size: clamp(3rem, 7vw, 6.5rem); }
.legal-body { padding-block: clamp(2.5rem, 6vw, 6rem); }
.legal-body section { display: grid; grid-template-columns: minmax(10rem, .8fr) minmax(0, 2fr); gap: clamp(2rem, 6vw, 6rem); padding-block: 1.85rem; border-top: 1px solid var(--line); }
.legal-body section:first-child { border-top: 1px solid var(--ink); }
.legal-body h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); letter-spacing: -.045em; }
.legal-body p, .legal-body address { max-width: 66ch; font-style: normal; line-height: 1.65; }
.legal-body p + p, .legal-body address + p { margin-top: .9rem; }
.legal-body a { color: var(--teal); text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 670px) {
  .legal-title .overline { max-width: 28rem; }
  .legal-body section { grid-template-columns: 1fr; gap: .85rem; padding-block: 1.3rem; }
  .footer-links { gap: .1rem 1rem; }
  .footer-inner { padding-block: .8rem; }
}
