:root {
  --green: #007500;
  --green-deep: #005d18;
  --green-muted: #8fc58c;
  --paper: #f4f0e8;
  --paper-bright: #faf8f3;
  --ink: #111311;
  --ink-soft: #3b3e39;
  --line: #d8d2c7;
  --line-dark: rgba(244, 240, 232, 0.18);
  --max: 1440px;
  --pad: clamp(24px, 4.2vw, 64px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.13;
  pointer-events: none;
  z-index: 20;
  background-image: radial-gradient(rgba(17, 19, 17, 0.22) 0.7px, transparent 0.7px);
  background-size: 4px 4px;
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: "Archivo", sans-serif;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.91;
  text-transform: uppercase;
}

.container {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(244, 240, 232, 0.78);
}

.eyebrow-green {
  color: var(--green-muted);
}

.button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid transparent;
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-green {
  background: var(--green);
  color: var(--paper-bright);
}

.button-green:hover {
  background: var(--green-deep);
}

.button-cream {
  background: var(--paper-bright);
  color: var(--ink);
}

.button-cream:hover {
  background: #e5ddd0;
}

.button-outline {
  border-color: rgba(244, 240, 232, 0.48);
  color: var(--paper-bright);
}

.button-outline:hover {
  border-color: var(--paper-bright);
  background: rgba(244, 240, 232, 0.09);
}

.site-header {
  background: var(--paper-bright);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-row {
  align-items: center;
  display: flex;
  gap: clamp(20px, 3vw, 48px);
  height: 112px;
}

.brand {
  align-items: center;
  display: flex;
  gap: 17px;
  margin-right: auto;
}

.brand-icon {
  align-items: center;
  background: var(--green);
  display: inline-flex;
  height: 78px;
  justify-content: center;
  width: 78px;
}

.brand-icon img {
  height: 56px;
  width: auto;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.brand-wordmark strong {
  font-family: "Archivo", sans-serif;
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 900;
  letter-spacing: -0.045em;
}

.brand-wordmark small {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 2.6vw, 38px);
}

.main-nav a {
  font-family: "Archivo", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav a:hover {
  color: var(--green);
}

.nav-toggle {
  display: none;
}

.nav-burger {
  display: none;
  cursor: pointer;
  width: 36px;
  height: 28px;
  position: relative;
  flex-shrink: 0;
}

.nav-burger span {
  background: var(--ink);
  border-radius: 2px;
  display: block;
  height: 3px;
  left: 0;
  position: absolute;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  width: 100%;
}

.nav-burger span:nth-child(1) { top: 4px; }
.nav-burger span:nth-child(2) { top: 13px; }
.nav-burger span:nth-child(3) { top: 22px; }

.nav-toggle:checked ~ .nav-burger span:nth-child(1) {
  top: 13px;
  transform: rotate(45deg);
}
.nav-toggle:checked ~ .nav-burger span:nth-child(2) {
  opacity: 0;
}
.nav-toggle:checked ~ .nav-burger span:nth-child(3) {
  top: 13px;
  transform: rotate(-45deg);
}

.hero {
  background: var(--green);
  color: var(--paper-bright);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -42vw;
  right: -19vw;
  height: min(72vw, 820px);
  width: min(72vw, 820px);
  border: 1px solid rgba(244, 240, 232, 0.09);
  transform: rotate(45deg);
}

.hero-cube {
  bottom: -84px;
  opacity: 0.09;
  position: absolute;
  right: clamp(-74px, -3vw, -28px);
  width: clamp(320px, 37vw, 540px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(470px, 1fr) 372px;
  gap: clamp(52px, 9vw, 128px);
  min-height: clamp(640px, calc(100vh - 112px), 760px);
  padding-block: clamp(68px, 9vh, 104px);
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  color: var(--paper-bright);
  font-size: clamp(84px, 10vw, 156px);
  margin: clamp(32px, 6vh, 66px) 0 34px;
}

.hero-lead {
  color: rgba(244, 240, 232, 0.87);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.55;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: clamp(38px, 7vh, 60px);
}

.proof {
  align-self: center;
  border: 1px solid rgba(244, 240, 232, 0.29);
  background: rgba(0, 55, 14, 0.17);
  backdrop-filter: blur(3px);
  padding: 30px;
}

.proof-brand {
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  gap: 19px;
  margin-bottom: 28px;
  padding-bottom: 27px;
}

.proof-brand img {
  height: 55px;
  width: auto;
}

.proof-brand strong {
  color: var(--paper-bright);
  font-family: "Archivo", sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.proof-title {
  color: rgba(244, 240, 232, 0.72);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding-bottom: 26px;
  text-transform: uppercase;
}

.proof-line {
  align-items: end;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 28px 0;
}

.proof-line strong {
  color: var(--paper-bright);
  font-family: "Archivo", sans-serif;
  font-size: 68px;
  letter-spacing: -0.06em;
  line-height: 0.85;
  white-space: nowrap;
}

.proof-line span {
  color: rgba(244, 240, 232, 0.78);
  font-size: 13px;
  line-height: 1.55;
  text-transform: uppercase;
}

.proof-note {
  color: var(--paper-bright);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 2.15;
  padding-top: 26px;
  text-transform: uppercase;
}

.field-image {
  background: var(--ink);
  margin: 0;
  position: relative;
}

.field-image img {
  height: min(72vh, 810px);
  object-fit: cover;
  object-position: center 46%;
  width: 100%;
}

.field-image figcaption {
  align-items: center;
  background: var(--ink);
  bottom: 0;
  color: var(--paper);
  display: flex;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(10px, 0.9vw, 13px);
  font-weight: 500;
  justify-content: space-between;
  left: 0;
  letter-spacing: 0.2em;
  padding: 25px var(--pad);
  position: absolute;
  right: 0;
  text-transform: uppercase;
}

.field-image figcaption span:first-child {
  color: var(--green-muted);
}

.capabilities {
  padding: clamp(76px, 10vw, 134px) 0;
}

.section-intro {
  align-items: end;
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(38px, 7vw, 110px);
  margin-bottom: clamp(54px, 8vw, 92px);
}

.section-intro h2,
.projects h2 {
  font-size: clamp(42px, 5.6vw, 79px);
  margin-top: 26px;
}

.intro-text {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
}

.services-grid {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.services-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.service {
  min-height: 520px;
  padding: clamp(30px, 3.3vw, 48px);
  transition: background 180ms ease, color 180ms ease;
}

.service + .service {
  border-left: 1px solid var(--line);
}

.service:hover {
  background: var(--green);
  color: var(--paper-bright);
}

.service-number {
  color: var(--green);
  font-family: "Archivo", sans-serif;
  font-size: clamp(68px, 7vw, 100px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
  margin-bottom: clamp(45px, 6vw, 76px);
}

.service:hover .service-number {
  color: var(--paper-bright);
}

.service h3 {
  font-size: clamp(26px, 2.4vw, 34px);
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin-bottom: 24px;
}

.service > p:not(.service-number) {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 30px;
}

.service:hover > p:not(.service-number) {
  color: rgba(244, 240, 232, 0.83);
}

.service ul {
  color: var(--ink-soft);
  display: grid;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  gap: 15px;
  letter-spacing: 0.08em;
  list-style: none;
  margin-top: auto;
  text-transform: uppercase;
}

.service li::before {
  color: var(--green);
  content: "-> ";
}

.service:hover ul,
.service:hover li::before {
  color: var(--paper-bright);
}

.mandate {
  background: var(--ink);
  color: var(--paper);
  display: grid;
  grid-template-columns: 46% 54%;
}

.mandate-image img {
  height: 100%;
  min-height: 790px;
  object-fit: cover;
  object-position: center center;
  width: 100%;
}

.mandate-content {
  padding: clamp(54px, 6.1vw, 98px) clamp(40px, 7vw, 105px);
}

.mandate-content h2 {
  color: var(--paper-bright);
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: 0.95;
  margin: 35px 0 34px;
}

.mandate-text {
  color: rgba(244, 240, 232, 0.73);
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.7;
  margin-bottom: 47px;
  max-width: 620px;
}

.mandate-text strong {
  color: var(--green-muted);
}

.mandate-list {
  border-top: 1px solid var(--line-dark);
}

.mandate-list div {
  border-bottom: 1px solid var(--line-dark);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 18px 0;
}

.mandate-list span,
.mandate-list strong {
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mandate-list strong {
  color: rgba(244, 240, 232, 0.55);
}

.projects {
  background: var(--paper-bright);
  padding: clamp(76px, 10vw, 134px) 0;
}

.projects-head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: clamp(48px, 7vw, 78px);
}

.text-link {
  border-bottom: 2px solid var(--ink);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding-bottom: 13px;
  text-transform: uppercase;
}

.text-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.project-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
}

.project-grid--equal {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .project-grid--equal { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .project-grid--equal { grid-template-columns: 1fr; }
}

/* Platzhalter-Cube-Block für Karten ohne Foto — gleiche Aspect-Ratio wie Bild-Cards */
.project-card--no-image .cube-placeholder {
  aspect-ratio: 0.94 / 1;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.project-card--no-image .cube-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(244, 240, 232, 0.18) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: 0.7;
}
.project-card--no-image .cube-placeholder img {
  width: 38%;
  max-width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.refs-region-head {
  grid-column: 1 / -1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  padding: 32px 0 8px;
  border-top: 1px solid var(--line);
}
.refs-region-head:first-child { border-top: 0; padding-top: 0; }

.project-card {
  background: var(--paper);
}

.project-card img {
  aspect-ratio: 4 / 3 !important;
  height: auto;
  object-fit: cover;
  width: 100%;
  display: block;
}

.project-card-large img {
  aspect-ratio: 1.16 / 1 !important;
}

/* Auf Refs-Seite: alle Cards gleiche Höhe */
.project-grid--equal .project-card,
.project-grid--equal .project-card-large {
  display: flex;
  flex-direction: column;
}
.project-grid--equal .project-card img,
.project-grid--equal .project-card-large img {
  aspect-ratio: 4 / 3 !important;
}

.project-meta {
  border: 1px solid var(--line);
  border-top: 0;
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 230px;
}
.project-meta h3 { line-height: 1.05; }
.project-meta .desc {
  color: var(--ink-soft);
  font-family: "Public Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-meta span:last-child {
  margin-top: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.project-meta p {
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  margin-bottom: 17px;
  text-transform: uppercase;
}

.project-meta h3 {
  font-size: clamp(22px, 2.1vw, 29px);
  line-height: 1.05;
  margin-bottom: 20px;
}

.project-meta span {
  color: #65665f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Referenzen: flat catalogue with controls and fixed-height cards */
.refs-controls {
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(38px, 5vw, 56px);
  padding-bottom: clamp(30px, 4vw, 42px);
}

.refs-controls__header {
  align-items: baseline;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.refs-controls__header .eyebrow {
  margin: 0;
}

.refs-count {
  color: var(--ink-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.refs-tools {
  align-items: end;
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  justify-content: space-between;
  margin-top: 30px;
}

.filter-bar {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-pill {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  min-height: 45px;
  padding: 0 17px;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.filter-pill:is(:hover, :focus-visible),
.filter-pill.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper-bright);
}

.sort-field {
  color: var(--ink-soft);
  display: grid;
  flex: 0 0 190px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sort-field select {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  cursor: pointer;
  font: 600 12px "IBM Plex Mono", monospace;
  height: 45px;
  letter-spacing: 0.08em;
  padding: 0 34px 0 14px;
  text-transform: uppercase;
}

.reference-grid {
  display: grid;
  gap: clamp(18px, 2vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reference-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.reference-card[hidden] {
  display: none;
}

.reference-card__media {
  aspect-ratio: 4 / 3;
  flex: none;
  overflow: hidden;
}

.reference-card__media > img {
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.reference-card:hover .reference-card__media > img:not([src$="cube-mark.svg"]) {
  transform: scale(1.025);
}

.reference-card .project-meta {
  min-height: 292px;
  padding: 23px 22px 24px;
}

.reference-card .project-meta > p:first-child {
  margin: 0;
  min-height: 2.45em;
}

.reference-card .project-meta h3 {
  display: -webkit-box;
  font-size: clamp(21px, 1.75vw, 27px);
  height: 3.16em;
  margin-bottom: 18px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.reference-card .project-meta .desc {
  flex: 0 0 4.5em;
  margin: 0;
  min-height: 4.5em;
}

.reference-card.project-card--no-image .cube-placeholder {
  aspect-ratio: 4 / 3;
  height: auto;
}

.reference-card.project-card--no-image .cube-placeholder img {
  aspect-ratio: auto !important;
  height: auto;
  width: clamp(68px, 29%, 122px);
}

.refs-empty,
.refs-load-error {
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font: 500 16px/1.5 "Public Sans", sans-serif;
  grid-column: 1 / -1;
  padding: 38px;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 1050px) {
  .refs-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-field {
    flex-basis: auto;
    max-width: 230px;
  }

  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .references-page {
    overflow-x: clip;
  }

  .refs-body {
    overflow-x: hidden;
  }

  .refs-controls__header {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .filter-pill {
    flex: none;
  }

  .sort-field,
  .sort-field select {
    max-width: none;
    width: 100%;
  }

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

  .proof-line {
    align-items: start;
    gap: 6px;
    grid-template-columns: 1fr;
    padding: 22px 0;
  }

  .proof-line strong {
    font-size: 52px;
  }
}

.closing {
  background: var(--green);
  color: var(--paper-bright);
  padding: clamp(68px, 9vw, 115px) 0;
}

.closing-grid {
  align-items: start;
  display: grid;
  gap: clamp(40px, 5vw, 80px);
  grid-template-columns: 0.48fr 1.2fr 0.75fr;
}

.closing h2 {
  color: var(--paper-bright);
  font-size: clamp(43px, 5vw, 72px);
}

.closing-grid > div:last-child p {
  color: rgba(244, 240, 232, 0.82);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 34px;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 46px 0;
}

.footer-row {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: 1.1fr 1.15fr 1fr auto;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 22px;
}

.footer-cube {
  align-items: center;
  background: var(--green);
  display: inline-flex;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.footer-cube img {
  height: 50px;
}

.footer-logo {
  color: var(--paper-bright);
  font-family: "Archivo", sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.91;
}

.footer-row p,
.footer-contact a,
.footer-legal {
  color: rgba(244, 240, 232, 0.65);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 2;
  text-transform: uppercase;
}

.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact a:hover {
  color: var(--paper-bright);
}

.appear {
  animation: lift 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 {
  animation-delay: 110ms;
}

.delay-2 {
  animation-delay: 180ms;
}

@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }

  .nav-burger {
    display: block;
    margin-left: auto;
    order: 2;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle:checked ~ .main-nav {
    background: var(--paper);
    border-top: 2px solid var(--green);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 22px;
    left: 0;
    padding: 32px clamp(20px, 5vw, 48px) 40px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 50;
  }

  .nav-toggle:checked ~ .main-nav a {
    font-size: 17px;
  }

  .site-header {
    position: relative;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .proof {
    max-width: 570px;
  }

  .section-intro,
  .mandate,
  .closing-grid {
    grid-template-columns: 1fr;
  }

  .mandate-image img {
    max-height: 600px;
    min-height: 0;
  }

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

  .project-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .header-row {
    height: 84px;
  }

  .brand-icon {
    height: 58px;
    width: 58px;
  }

  .brand-icon img {
    height: 42px;
  }

  .brand-wordmark small,
  .header-cta {
    display: none;
  }

  .hero-grid {
    padding-block: 54px;
  }

  .hero-cube {
    bottom: 40px;
    opacity: 0.055;
    right: -72px;
    width: 268px;
  }

  .hero h1 {
    font-size: clamp(58px, 20vw, 82px);
  }

  .button {
    flex-grow: 1;
    padding-inline: 17px;
  }

  .proof {
    padding: 25px;
  }

  .proof-brand img {
    height: 49px;
  }

  .proof-line {
    align-items: start;
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 22px 0;
  }

  .proof-line strong {
    font-size: 56px;
  }

  .field-image img {
    height: 56vh;
  }

  .field-image figcaption {
    align-items: start;
    flex-direction: column;
    gap: 10px;
    line-height: 1.8;
  }

  .services-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service {
    min-height: 0;
  }

  .service + .service {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .project-card-large {
    grid-column: auto;
  }

  .project-card img,
  .project-card-large img {
    aspect-ratio: 1.1 / 1;
  }

  .mandate-content {
    padding-inline: var(--pad);
  }

  .mandate-list div {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .projects-head {
    align-items: start;
    flex-direction: column;
    gap: 34px;
  }

  .footer-row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* ─── PRESS-Sektion ──────────────────────────────────── */
.press {
  background: var(--paper-bright);
  padding: clamp(72px, 9vw, 132px) 0;
  border-top: 1px solid var(--line);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(48px, 6vw, 80px);
}

@media (max-width: 900px) { .press-grid { grid-template-columns: 1fr; } }

.press-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.press-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--green-deep);
}

.press-source {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
}

.press-card h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  font-weight: 800;
  flex: 1;
}

.press-excerpt {
  font-family: "Public Sans", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.press-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: auto;
}

/* Press-Card footer: Datum + Tag */
.press-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.press-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0, 117, 0, 0.08);
  padding: 4px 10px;
  border-radius: 0;
}
