/* ==========================================================================
   Gashi Garten und Tiefbau — site stylesheet.

   Every value here is lifted from the design handoff's inline styles. Colours
   are authored in oklch() (source of truth); the layout is fluid: almost
   every size is a clamp() and multi-column areas use auto-fit grids, so
   there are only three real breakpoints (1240 / 1080 / 760).
   ========================================================================== */

:root {
  /* sRGB fallbacks first — older mobile browsers (iOS < 15.4, Android WebView /
     Chrome < 111) don't parse oklch(); without these the overlay menu drew
     its white logo on a transparent (white) ground. */
  --ink:        #13231d;
  --ink-2:      #1e332b;
  --deep:       #0d1915;
  --cream:      #f7f5ef;
  --cream-2:    #faf8f5;
  --ftr-text:   #edebe5;
  --muted:      #f1eee7;
  --muted-2:    #eeebe2;
  --ph:         #e7e4dd;
  --green:      #007f37;
  --green-hover:#006527;
  --green-link: #006c28;
  --green-light:#6fd087;
  --success:    #326234;

  --sans: 'Familjen Grotesk', 'Helvetica Neue', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --gx: clamp(16px, 4vw, 56px);          /* horizontal page gutter */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@supports (color: oklch(0.5 0.1 150)) {
  :root {
    --ink:        oklch(0.24 0.025 170);   /* footer, overlay, dark sections */
    --ink-2:      oklch(0.30 0.03 170);    /* primary text, strong surface */
    --deep:       oklch(0.20 0.02 170);    /* shadows only */
    --cream:      oklch(0.97 0.008 90);    /* page ground */
    --cream-2:    oklch(0.98 0.005 90);    /* light text on dark */
    --ftr-text:   oklch(0.94 0.008 90);
    --muted:      oklch(0.95 0.01 90);
    --muted-2:    oklch(0.94 0.012 90);    /* section grounds */
    --ph:         oklch(0.92 0.01 90);     /* image placeholder */
    --green:      oklch(0.52 0.145 150);
    --green-hover:oklch(0.44 0.13 150);
    --green-link: oklch(0.46 0.14 150);
    --green-light:oklch(0.78 0.14 150);
    --success:    oklch(0.45 0.09 145);
  }
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--cream);
  color: var(--ink-2);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink-2); text-decoration: none; }
a:hover { color: var(--green-link); }
::selection { background: var(--ink); color: var(--cream-2); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1, h2, h3 { font-family: var(--sans); margin: 0; }

.sr-only {
  position: absolute; 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: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--cream-2);
  font-size: 14px;
}
.skip-link:focus { top: 12px; color: var(--cream-2); }

/* Shared vocabulary ------------------------------------------------------- */

.eyebrow {
  margin: 0 0 20px; font-size: 11px; font-family: var(--mono);
  letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55;
}
.eyebrow--intro { margin-bottom: 24px; }
.eyebrow--nomargin { margin: 0; }
.eyebrow--light { opacity: 0.6; }
.eyebrow--strong { opacity: 0.7; }

.link-line {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  padding-bottom: 6px; border-bottom: 1px solid oklch(0.30 0.03 170 / 0.35);
  font-size: 14px; letter-spacing: 0.02em; transition: border-color 0.2s, color 0.2s;
}
.link-line:hover { border-color: var(--green-link); }
.link-line--light { border-color: var(--green); color: var(--cream); margin-top: 24px; }
.link-line--light:hover { color: var(--green-light); border-color: var(--green); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn {
  display: inline-block; padding: 16px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.btn--lg { padding: 18px 30px; font-size: 15px; }
.btn--green { background: var(--green); color: var(--cream-2); letter-spacing: 0.02em; }
.btn--green:hover { background: var(--green-hover); color: var(--cream-2); }
.btn--glass { background: oklch(0.98 0.005 90 / 0.14); color: var(--cream-2); }
.btn--glass:hover { background: var(--cream-2); color: oklch(0.25 0.03 170); }
.btn--lg.btn--glass:hover { background: oklch(0.98 0.005 90 / 0.26); color: var(--cream-2); }
.btn--ink { background: var(--ink-2); color: var(--cream); }
.btn--ink:hover { background: var(--ink); color: var(--cream-2); }
.btn--ink-deep { background: var(--ink); color: var(--cream-2); }
.btn--ink-deep:hover { background: var(--cream); color: var(--ink-2); }
.btn--outline { border: 1px solid oklch(0.30 0.03 170 / 0.3); color: var(--ink-2); }
.btn--outline:hover { background: var(--ink-2); color: var(--cream); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.hdr-wrap { position: sticky; top: 0; z-index: 100; }
.hdr {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  padding: 16px var(--gx);
  background: oklch(0.97 0.008 90 / 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(0.30 0.03 170 / 0.12);
  transition: padding 0.25s ease;
}
.hdr-wrap.is-scrolled .hdr { padding-top: 9px; padding-bottom: 9px; }
.hdr__logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hdr__logo img { height: clamp(26px, 3vw, 34px); width: auto; }

.hdr__nav { display: flex; align-items: center; gap: clamp(6px, 1.6vw, 22px); }
.hdr__link {
  display: flex; align-items: center; padding: 9px 14px;
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.005em;
  color: var(--ink-2); opacity: 0.8; transition: opacity 0.2s;
}
.hdr__link span { white-space: nowrap; }
.hdr__link:hover { opacity: 1; color: var(--ink-2); }
.hdr__link.is-active { font-weight: 700; opacity: 1; }

.hdr__right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.hdr__phone {
  display: flex; align-items: center; gap: 8px; line-height: 1;
  font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-2); opacity: 0.9; transition: color 0.2s, opacity 0.2s;
}
.hdr__phone svg { flex-shrink: 0; display: block; position: relative; top: 0.5px; }
.hdr__phone:hover { opacity: 1; color: var(--green-hover); }
.hdr__cta {
  flex-shrink: 0; white-space: nowrap; padding: 11px 22px; border-radius: 999px;
  background: var(--green); color: var(--cream-2); font-size: 14px; font-weight: 600;
  transition: background 0.25s;
}
.hdr__cta:hover { background: var(--green-hover); color: var(--cream-2); }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 12px; border: 0; border-radius: 999px;
  background: oklch(0.30 0.03 170 / 0.07); cursor: pointer;
}
.burger span {
  display: block; height: 1.5px; background: var(--ink-2); border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.18s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1239px) { .hdr__phone { display: none; } }
@media (max-width: 1079px) {
  .hdr__nav, .hdr__right { display: none; }
  .burger { display: flex; }
}

/* Full-screen overlay menu (< 1080px) */

.overlay {
  position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column;
  background: #13231d; background: var(--ink); color: var(--cream-2);
  opacity: 0; transition: opacity 0.3s ease;
}
.overlay[hidden] { display: none; }
.overlay.is-open { opacity: 1; }
.overlay__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gx); border-bottom: 1px solid oklch(0.98 0.005 90 / 0.14);
}
.overlay__top img { height: 30px; width: auto; }
.overlay__close {
  width: 46px; height: 46px; border: 0; border-radius: 999px;
  background: oklch(0.98 0.005 90 / 0.14); color: var(--cream-2);
  font-size: 20px; line-height: 1; cursor: pointer;
}
.overlay__nav {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 24px var(--gx); overflow-y: auto;
}
.overlay__link {
  display: flex; align-items: baseline; gap: 18px; padding: 14px 0;
  border-bottom: 1px solid oklch(0.98 0.005 90 / 0.12); color: var(--cream-2);
  font-size: clamp(30px, 9vw, 44px); line-height: 1; letter-spacing: -0.02em;
  transition: color 0.2s;
}
.overlay__link:hover { color: var(--green-light); }
.overlay__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; opacity: 0.5; }
.overlay__ctas { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 var(--gx) 32px; }
.overlay__cta {
  flex: 1; min-width: 140px; text-align: center; padding: 17px 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--cream-2); transition: background 0.25s;
}
.overlay__cta--green { background: var(--green); }
.overlay__cta--green:hover { background: var(--green-hover); color: var(--cream-2); }
.overlay__cta--ghost { background: oklch(0.98 0.005 90 / 0.14); }
.overlay__cta--ghost:hover { background: oklch(0.98 0.005 90 / 0.26); color: var(--cream-2); }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Home — hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end;
  padding: clamp(32px, 6vw, 80px) var(--gx); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, oklch(0.20 0.02 170 / 0.45) 0%, oklch(0.20 0.02 170 / 0.15) 35%, oklch(0.18 0.02 170 / 0.84) 100%);
}
.hero__body { position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; color: var(--cream-2); }
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  font-size: 11px; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
}
.hero__title {
  font-weight: 600; font-size: clamp(40px, 7.2vw, 104px); line-height: 0.98; letter-spacing: -0.025em;
  max-width: 16ch; text-wrap: balance;
}
.hero__row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px; margin-top: clamp(28px, 4vw, 48px);
}
.hero__lead { margin: 0; max-width: 46ch; font-size: clamp(15px, 1.35vw, 18px); line-height: 1.6; opacity: 0.92; }

/* Marquee */

.marquee { background: var(--ink-2); color: var(--cream); overflow: hidden; }
.marquee__track {
  display: flex; width: max-content; padding: 15px 0;
  animation: gashi-marquee 38s linear infinite;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
}
.marquee__group { display: flex; gap: 40px; padding-right: 40px; align-items: center; }
.marquee__dot { opacity: 0.5; }
@keyframes gashi-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Intro */

.intro {
  max-width: 1400px; margin: 0 auto; padding: clamp(56px, 9vw, 130px) var(--gx);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 80px); align-items: start;
}
.intro__title { font-weight: 600; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.intro__text { margin: 0; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; max-width: 54ch; }

/* Service index — the signature element */

.sindex { background: var(--muted-2); border-block: 1px solid oklch(0.30 0.03 170 / 0.12); }
.sindex__inner { max-width: 1400px; margin: 0 auto; padding: clamp(48px, 7vw, 100px) var(--gx); }
.sindex__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: clamp(32px, 5vw, 64px);
}
.sindex__title { font-weight: 600; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -0.02em; }
.sindex__list { border-top: 1px solid oklch(0.30 0.03 170 / 0.22); }
.sindex__row {
  display: grid; grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr) 28px;
  align-items: baseline; gap: clamp(12px, 2vw, 32px);
  padding: clamp(18px, 2.4vw, 34px) 0; border-bottom: 1px solid oklch(0.30 0.03 170 / 0.22);
  cursor: pointer; transition: opacity 0.3s;
}
.sindex__list.has-hover .sindex__row:not(.is-hover) { opacity: 0.4; }
.sindex__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; opacity: 0.5; }
.sindex__h { font-weight: 600; font-size: clamp(22px, 3vw, 42px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.sindex__p { margin: 0; font-size: 14.5px; line-height: 1.55; opacity: 0.72; }
.sindex__arrow { display: block; font-size: 17px; text-align: right; color: var(--green-link); opacity: 0; transition: opacity 0.25s; }
.sindex__row.is-hover .sindex__arrow { opacity: 1; }

.sindex__preview {
  position: fixed; z-index: 60; pointer-events: none; left: 0; top: 0;
  width: 320px; height: 220px; transform: translate(-50%, -50%) scale(0.92); opacity: 0;
  transition: opacity 0.3s, transform 0.4s var(--ease);
  overflow: hidden; border-radius: 3px; box-shadow: 0 18px 50px oklch(0.20 0.02 170 / 0.28);
}
.sindex__preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sindex__preview-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.sindex__preview-img.is-active { opacity: 1; }

@media (max-width: 759px) {
  .sindex__row { grid-template-columns: 36px minmax(0, 1fr); }
  .sindex__p { grid-column: 2; }
  .sindex__arrow, .sindex__preview { display: none; }
  .sindex__list.has-hover .sindex__row:not(.is-hover) { opacity: 1; }
}

/* Feature band */

.feature {
  position: relative; background: var(--muted-2);
  background-image:
    repeating-linear-gradient(90deg, oklch(0.30 0.03 170 / 0.07) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, oklch(0.30 0.03 170 / 0.07) 0 1px, transparent 1px 44px);
  border-block: 1px solid oklch(0.30 0.03 170 / 0.12);
  padding: clamp(32px, 6vw, 96px) var(--gx);
}
.feature__inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center;
}
.feature__fig {
  position: relative; margin: 0; overflow: hidden; align-self: stretch;
  min-height: clamp(320px, 46vw, 620px);
}
.feature__img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.feature__cap {
  position: absolute; left: 0; bottom: 0; display: flex; gap: 14px; padding: 10px 16px;
  background: var(--ink); color: var(--cream-2);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
}
.feature__cap-sep { opacity: 0.55; }
.feature__card {
  position: relative; z-index: 2;
  margin: clamp(0px, 3vw, 40px) 0 clamp(0px, 3vw, 40px) clamp(-88px, -5vw, 0px);
  background: var(--ink-2); color: var(--cream);
  padding: clamp(32px, 5vw, 76px) clamp(20px, 4vw, 64px);
  box-shadow: -24px 24px 0 var(--green);
  display: flex; flex-direction: column; justify-content: center;
}
.feature__title {
  font-weight: 600; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.06; letter-spacing: -0.02em;
  margin: 0 0 24px; max-width: 18ch; text-wrap: balance;
}
.feature__text { margin: 0; font-size: 16.5px; line-height: 1.65; max-width: 48ch; opacity: 0.85; }
.feature__more { margin-top: 36px; padding-top: 28px; border-top: 1px solid oklch(0.97 0.008 90 / 0.2); }
.feature__sub { margin: 0 0 10px; font-size: 21px; }
.feature__subtext { margin: 0; font-size: 15px; line-height: 1.6; max-width: 50ch; opacity: 0.78; }
@media (max-width: 759px) {
  /* Single column: the card sits below the photo, so the overlap margin and
     the green offset shadow need room on the left. */
  .feature__card { margin-left: 0; margin-top: 0; }
  .feature__inner { padding-left: 12px; }
}

/* Works (home) + tiles (shared with portfolio) */

.works { max-width: 1400px; margin: 0 auto; padding: clamp(56px, 9vw, 130px) var(--gx); }
.works__head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 5vw, 64px);
}
.works__title { font-weight: 600; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.works__text { margin: 0; font-size: 16px; line-height: 1.65; max-width: 50ch; opacity: 0.8; }
.works .link-line { margin-top: 24px; }
.works__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(10px, 1.2vw, 18px);
}
.tile { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tile__frame { overflow: hidden; border-radius: 3px; background: oklch(0.90 0.01 90); }
.tile__img {
  width: 100%; height: clamp(240px, 30vw, 400px); object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.tile:hover .tile__img { transform: scale(1.04); }
.tile__cap { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; letter-spacing: 0.04em; opacity: 0.65; }

/* Closing CTA (home) */

.closing { background: var(--ink); color: var(--cream-2); }
.closing__inner {
  max-width: 1400px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) var(--gx);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.closing__title { font-weight: 600; font-size: clamp(32px, 4.4vw, 62px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.closing__text { margin: 0 0 32px; font-size: 17px; line-height: 1.6; max-width: 46ch; }
.closing__facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; font-size: 14px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Page intros (Leistungen, Portfolio, Über uns, Kontakt)
   -------------------------------------------------------------------------- */

.page-intro {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) var(--gx) clamp(32px, 5vw, 64px);
}
.page-intro--tight { padding-bottom: 0; }
.page-intro--contact { padding-bottom: clamp(32px, 5vw, 56px); }
.page-intro__title {
  font-weight: 600; font-size: clamp(32px, 4.6vw, 68px); line-height: 1.05; letter-spacing: -0.025em;
  text-wrap: balance;
}
.page-intro__title--long { max-width: 22ch; }
.page-intro__title--about { font-size: clamp(36px, 5.4vw, 80px); line-height: 1.0; max-width: 18ch; }
.page-intro__title--contact { font-size: clamp(36px, 5.6vw, 82px); line-height: 1.0; max-width: 16ch; }
.page-intro__lead { margin: 28px 0 0; max-width: 48ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; opacity: 0.82; }
.page-intro__lead--wide { margin-top: clamp(28px, 4vw, 44px); max-width: 62ch; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; }

/* --------------------------------------------------------------------------
   Leistungen — service explorer
   -------------------------------------------------------------------------- */

.explorer {
  max-width: 1400px; margin: 0 auto; padding: 0 var(--gx) clamp(56px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 56px); align-items: start;
}
.explorer__list { border-top: 1px solid oklch(0.30 0.03 170 / 0.18); }
.explorer__item {
  width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 18px;
  padding: clamp(16px, 1.8vw, 24px) 4px; background: transparent; border: 0;
  border-bottom: 1px solid oklch(0.30 0.03 170 / 0.18); text-align: left; cursor: pointer;
  color: inherit; transition: padding-left 0.3s, opacity 0.3s;
}
.explorer__item:hover { padding-left: 14px; }
.explorer__num { font-size: 11px; letter-spacing: 0.12em; opacity: 0.45; }
.explorer__name { font-size: clamp(22px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -0.015em; opacity: 0.45; transition: opacity 0.3s; }
.explorer__item.is-active .explorer__name { opacity: 1; }
.explorer__arrow { font-size: 18px; opacity: 0; color: var(--green-link); transition: opacity 0.3s; }
.explorer__item.is-active .explorer__arrow { opacity: 1; }
.explorer__detail { position: sticky; top: 96px; }
.explorer__panel[hidden] { display: none; }
.explorer__frame { overflow: hidden; border-radius: 4px; background: var(--ph); }
.explorer__img { width: 100%; height: clamp(280px, 42vw, 520px); object-fit: cover; }
.explorer__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 20px; }
.explorer__title { margin: 0; font-size: clamp(20px, 2vw, 28px); }
.explorer__count { font-size: 11px; letter-spacing: 0.16em; opacity: 0.45; }
.explorer__body { margin: 12px 0 0; font-size: 16px; line-height: 1.65; max-width: 46ch; opacity: 0.8; }
.explorer .link-line { margin-top: 24px; }
@media (max-width: 759px) { .explorer__detail { position: static; } }

/* Full-bleed band */

.band { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.band__text {
  background: var(--ink-2); color: var(--cream);
  padding: clamp(40px, 6vw, 96px) clamp(20px, 4vw, 72px);
  display: flex; flex-direction: column; justify-content: center;
}
.band__title { font-weight: 600; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 24px; text-wrap: balance; }
.band__p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.65; max-width: 48ch; opacity: 0.85; }
.band__p--last { margin-bottom: 0; }
.band__btn { align-self: flex-start; margin-top: 32px; }
.band__img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }

/* FAQ */

.faq {
  max-width: 1400px; margin: 0 auto; padding: clamp(56px, 9vw, 130px) var(--gx);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 80px); align-items: start;
}
.faq__intro { position: sticky; top: 96px; }
.faq__title { font-weight: 600; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.06; letter-spacing: -0.02em; margin: 0 0 24px; text-wrap: balance; }
.faq__text { margin: 0; font-size: 16px; line-height: 1.65; max-width: 46ch; opacity: 0.8; }
.faq__list { border-top: 1px solid oklch(0.30 0.03 170 / 0.18); }
.faq__item { border-bottom: 1px solid oklch(0.30 0.03 170 / 0.18); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(18px, 2vw, 26px) 0; background: transparent; border: 0; cursor: pointer;
  font-size: clamp(18px, 1.7vw, 23px); line-height: 1.25; text-align: left; color: inherit;
}
.faq__plus { font-size: 22px; opacity: 0.5; transition: transform 0.3s; }
.faq__item.is-open .faq__plus { transform: rotate(45deg); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height 0.45s var(--ease); }
.faq__item.is-open .faq__a { max-height: 400px; }
.faq__a p { margin: 0 0 24px; max-width: 56ch; font-size: 15.5px; line-height: 1.65; opacity: 0.8; }
@media (max-width: 759px) { .faq__intro { position: static; } }

/* CTA bar (Leistungen: ink, Portfolio: ink-2) */

.cta-bar { background: var(--ink); color: var(--cream-2); }
.cta-bar--ink { background: var(--ink-2); color: var(--cream); }
.cta-bar__inner {
  max-width: 1400px; margin: 0 auto; padding: clamp(44px, 7vw, 96px) var(--gx);
  display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.cta-bar__title { font-weight: 600; font-size: clamp(28px, 3.6vw, 50px); line-height: 1.05; letter-spacing: -0.02em; max-width: 18ch; }
.cta-bar__title--short { font-size: clamp(30px, 4vw, 56px); max-width: none; }

/* --------------------------------------------------------------------------
   Portfolio
   -------------------------------------------------------------------------- */

.pf-head {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(48px, 8vw, 110px) var(--gx) clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 64px); align-items: end;
}
.pf-head__title { font-weight: 600; font-size: clamp(38px, 5.6vw, 82px); line-height: 1.0; letter-spacing: -0.025em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 11px 20px; border-radius: 999px; border: 1px solid oklch(0.30 0.03 170 / 0.25);
  background: transparent; color: var(--ink-2); font-size: 13px; letter-spacing: 0.02em;
  cursor: pointer; transition: background 0.25s, color 0.25s;
}
.filter.is-active { background: var(--ink-2); color: var(--cream); }
.pf-grid {
  max-width: 1400px; margin: 0 auto; padding: 0 var(--gx) clamp(56px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(10px, 1.4vw, 20px); align-items: start;
}
.pf-grid__empty { grid-column: 1 / -1; margin: 0; padding: 40px 0; font-size: 15px; opacity: 0.6; }
.tile--pf .tile__btn {
  display: block; width: 100%; padding: 0; border: 0; background: transparent;
  cursor: zoom-in; text-align: left; border-radius: 3px;
}
.tile--pf .tile__frame { background: var(--ph); }
.tile--pf .tile__img { height: clamp(240px, 28vw, 380px); transition: transform 0.7s var(--ease); }
.tile--feature .tile__img { height: clamp(300px, 38vw, 520px); }
.tile--pf:hover .tile__img { transform: scale(1.045); }
.tile.is-filtered { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 110; background: rgba(11,22,18,0.94); background: oklch(0.18 0.02 170 / 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 64px); cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.lightbox__cap {
  position: absolute; bottom: 28px; left: 0; right: 0; text-align: center;
  color: oklch(0.95 0.008 90); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7;
}
@media (max-width: 759px) { .lightbox__cap { bottom: 70px; } }

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

.about { max-width: 1400px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gx) clamp(56px, 9vw, 120px); }
.about__frame { overflow: hidden; border-radius: 4px; background: var(--ph); }
.about__img { width: 100%; height: clamp(300px, 52vw, 640px); object-fit: cover; }
.about__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 80px); margin-top: clamp(32px, 5vw, 64px);
}
.about__lead { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; max-width: 34ch; }
.about__sub { margin: 0 0 12px; font-size: clamp(21px, 2vw, 28px); }
.about__text { margin: 0; font-size: 16px; line-height: 1.65; max-width: 54ch; opacity: 0.82; }
.about .link-line { margin-top: 24px; }

.pillars { background: var(--muted-2); border-block: 1px solid oklch(0.30 0.03 170 / 0.12); }
.pillars__inner { max-width: 1400px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) var(--gx); }
.pillars__head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px);
}
.pillars__title { font-weight: 600; font-size: clamp(30px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.pillars__text { margin: 0; font-size: 16px; line-height: 1.65; max-width: 48ch; opacity: 0.82; }
.pillars .link-line { margin-top: 24px; }
.pillars__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0;
  border-top: 1px solid oklch(0.30 0.03 170 / 0.14); border-left: 1px solid oklch(0.30 0.03 170 / 0.14);
}
.pillar {
  background: var(--muted-2);
  border-right: 1px solid oklch(0.30 0.03 170 / 0.14); border-bottom: 1px solid oklch(0.30 0.03 170 / 0.14);
  padding: clamp(24px, 2.6vw, 40px); min-height: 230px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  transition: background 0.25s;
}
.pillar:hover { background: var(--cream); }
.pillar__num { font-size: 15px; opacity: 0.45; }
.pillar__title { font-weight: 400; font-size: clamp(19px, 1.8vw, 25px); line-height: 1.15; margin: 0 0 12px; text-wrap: balance; }
.pillar__body { margin: 0; font-size: 14.5px; line-height: 1.6; opacity: 0.75; }

.contact-band { background: var(--ink); color: var(--cream-2); }
.contact-band__inner {
  max-width: 1400px; margin: 0 auto; padding: clamp(44px, 7vw, 96px) var(--gx);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.contact-band__title { font-weight: 600; font-size: clamp(30px, 4vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; text-wrap: balance; }
.contact-band__text { margin: 0; font-size: 17px; line-height: 1.6; max-width: 44ch; }
.contact-band__facts { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.5; }
.contact-band__facts a { color: var(--cream-2); }
.contact-band__facts a:hover { color: oklch(0.98 0.005 90 / 0.75); }

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact {
  max-width: 1400px; margin: 0 auto; padding: 0 var(--gx) clamp(56px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
.facts {
  display: flex; flex-direction: column; gap: 1px;
  background: oklch(0.30 0.03 170 / 0.16); border: 1px solid oklch(0.30 0.03 170 / 0.16);
}
.facts__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  background: var(--cream); padding: clamp(20px, 2.2vw, 30px); color: var(--ink-2);
  transition: background 0.25s;
}
.facts__row--wrap { flex-wrap: wrap; }
a.facts__row:hover { background: var(--muted-2); color: var(--ink-2); }
.facts__label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.55; }
.facts__value { font-size: clamp(18px, 1.8vw, 24px); }
.facts__value--lg { font-size: clamp(20px, 2.2vw, 30px); }
.facts__value--addr { text-align: right; line-height: 1.3; }

.map {
  margin-top: 20px; border: 1px solid oklch(0.30 0.03 170 / 0.16);
  height: clamp(200px, 26vw, 300px); position: relative; overflow: hidden; background: var(--muted);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__gate {
  position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; padding: 24px;
  background: var(--muted); border: 0; cursor: pointer; color: var(--ink-2); text-align: center;
  transition: background 0.25s;
}
.map__gate:hover { background: var(--muted-2); }
.map__gate-title {
  padding: 12px 22px; border-radius: 999px; background: var(--ink-2); color: var(--cream);
  font-size: 14px; font-weight: 500;
}
.map__gate-text { max-width: 40ch; font-size: 12.5px; line-height: 1.5; opacity: 0.7; }
.map__link {
  display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em; color: rgb(6, 132, 67);
}

.form { display: flex; flex-direction: column; gap: 18px; }
.form__title { margin: 0; font-size: clamp(22px, 2.2vw, 30px); }
.form__two { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--msg { margin-top: 8px; }
.field__label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; }
.field input, .field textarea {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid oklch(0.30 0.03 170 / 0.3);
  border-radius: 0; background: transparent; font-size: 16px; color: var(--ink-2); outline: none;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--green-link); }
.field.has-error input, .field.has-error textarea { border-color: var(--ink-2); border-bottom-width: 2px; }
.field__error { font-size: 13px; letter-spacing: 0; text-transform: none; opacity: 1; color: var(--ink-2); }

.chips { margin: 8px 0 0; padding: 0; border: 0; min-width: 0; }
.chips__legend { padding: 0; margin-bottom: 12px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  border: 1px solid oklch(0.30 0.03 170 / 0.25); background: transparent; color: var(--ink-2);
  font-size: 13px; line-height: 1.2; transition: background 0.2s, color 0.2s;
}
.chip input:checked + span { background: var(--green); color: var(--cream-2); border-color: var(--green); }
.chip input:focus-visible + span { outline: 2px solid var(--green-link); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; cursor: pointer; }
.consent input { width: 20px; height: 20px; min-width: 20px; margin: 2px 0 0; accent-color: var(--green); cursor: pointer; }
.consent span { font-size: 14px; line-height: 1.5; opacity: 0.8; }
.consent a { color: var(--green-link); }
.consent.has-error span { opacity: 1; }

.form__submit {
  align-self: flex-start; margin-top: 12px; padding: 18px 34px; border: 0; border-radius: 999px;
  background: var(--ink-2); color: var(--cream); font-size: 15px; cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.form__submit:hover { background: var(--green); color: var(--cream-2); }
.form__ok { margin: 0; font-size: 14px; color: var(--success); }
.form__err {
  margin: 0; padding: 14px 18px; border: 1px solid oklch(0.30 0.03 170 / 0.3);
  border-left: 3px solid var(--green); background: var(--muted); font-size: 14px; line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Prose pages (Impressum, Datenschutz) and 404
   -------------------------------------------------------------------------- */

.prose { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 110px) var(--gx) clamp(56px, 9vw, 120px); }
.prose__title { font-weight: 600; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 8px; }
.prose h2 { font-weight: 600; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.01em; margin: 40px 0 12px; }
.prose h3 { font-weight: 500; font-size: 17px; margin: 24px 0 8px; }
.prose p, .prose li { font-size: 15.5px; line-height: 1.65; margin: 0 0 14px; opacity: 0.85; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--green-link); text-decoration: underline; text-underline-offset: 3px; }
.prose code { font-family: var(--mono); font-size: 13px; }
.todo { background: oklch(0.90 0.09 90); color: var(--ink-2); padding: 1px 4px; }

.notfound { max-width: 720px; margin: 0 auto; padding: clamp(72px, 12vw, 160px) var(--gx); text-align: center; }
.notfound .eyebrow--intro { text-align: center; }
.notfound__title { font-weight: 600; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -0.025em; }
.notfound__text { margin: 18px auto 32px; max-width: 46ch; font-size: 16px; line-height: 1.65; opacity: 0.8; }
.notfound .btn-row { justify-content: center; }

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

.ftr { background: var(--ink); color: var(--ftr-text); }
.ftr__grid {
  max-width: 1400px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--gx) 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(28px, 4vw, 64px);
}
.ftr__about { min-width: 0; }
.ftr__about img { height: 46px; width: auto; margin: 0 0 18px; }
.ftr__about p { margin: 0; font-size: 14.5px; line-height: 1.65; max-width: 46ch; opacity: 0.75; }
.ftr__label { margin: 0 0 16px; font-size: 11px; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.55; }
.ftr__links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.ftr__links--contact { line-height: 1.55; }
.ftr__links a { color: var(--ftr-text); transition: color 0.2s; }
.ftr__links a:hover { color: var(--green-light); }
.ftr__addr { opacity: 0.75; }
.ftr__bottom {
  max-width: 1400px; margin: 0 auto; padding: 0 var(--gx) 40px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: 12px; opacity: 0.55;
}
.ftr__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 22px; }
.ftr__legal { display: flex; gap: 10px; }
.ftr__legal a { color: inherit; }
.ftr__credit {
  display: inline-flex; align-items: center; gap: 7px; color: inherit;
  transition: color 0.2s, opacity 0.2s;
}
.ftr__credit:hover { color: var(--cream-2); opacity: 1; }
.ftr__credit-mark {
  position: relative; display: inline-block; width: 20px; height: 18px;
  overflow: hidden; flex: 0 0 auto;
}
.ftr__credit-mark img {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px;
  max-width: none; transform: translate(-50%, -50%); mix-blend-mode: screen;
}
@media (max-width: 759px) {
  .ftr__bottom, .ftr__meta { align-items: flex-start; flex-direction: column; }
}

/* Cookie banner — shown only while boot.js found no stored choice */

.cookie {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink); color: var(--ftr-text);
  box-shadow: 0 -10px 34px oklch(0.20 0.02 170 / 0.3);
}
html.needs-consent .cookie { display: block; }
.cookie__inner {
  max-width: 1400px; margin: 0 auto; padding: clamp(18px, 2.4vw, 26px) var(--gx);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
}
.cookie p { margin: 0; flex: 1 1 320px; min-width: 0; font-size: 14px; line-height: 1.6; opacity: 0.85; max-width: 76ch; }
.cookie p a { color: var(--green-light); }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__btn { border-radius: 999px; font-size: 14px; cursor: pointer; transition: background 0.2s; }
.cookie__btn--ghost { padding: 14px 24px; border: 1px solid oklch(0.94 0.008 90 / 0.35); background: transparent; color: var(--ftr-text); }
.cookie__btn--ghost:hover { background: oklch(0.94 0.008 90 / 0.12); }
.cookie__btn--green { padding: 14px 26px; border: 0; background: var(--green); color: var(--cream-2); font-weight: 500; }
.cookie__btn--green:hover { background: var(--green-hover); }
@media (max-width: 759px) { .cookie { bottom: 54px; } }
