/* Schriften: Inter kommt aus dem zentralen Schriftordner der Website,
   Fraunces und die Kalligrafie liegen projektbezogen daneben. Alle als
   WOFF2 und auf den lateinischen Zeichensatz reduziert. */
@font-face { font-family: "Inter"; src: url("../../fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../../fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/fraunces-650.woff2") format("woff2"); font-weight: 650; font-style: normal; font-display: swap; }
@font-face { font-family: "Nordseeschrift"; src: url("assets/fonts/AlexBrush.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --black: #090a0b;
  --graphite: #181a1d;
  --paper: #f2f1eb;
  --ivory: #fbf7ef;
  --white: #ffffff;
  --yellow: #f2e500;
  --navy: #0c2c58;
  --blue: #17457e;
  --sky: #9fcddd;
  --soft-blue: #d8edf3;
  --creige: #d8cbbb;
  --sand: #efe7dc;
  --gold: #d9a441;
  --line-dark: rgba(9, 10, 11, 0.18);
  --line-light: rgba(255, 255, 255, 0.2);
  --page-gutter: clamp(22px, 4.5vw, 72px);
  --container: 1600px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: "Fraunces", Didot, Georgia, serif;
  --font-script: "Nordseeschrift", "Segoe Script", cursive;
  --font-mono: "Courier New", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
}

img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, video { font: inherit; }

.ambient-fish {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient-fish img {
  position: absolute;
  width: clamp(240px, 25vw, 480px);
  height: auto;
  opacity: 0.055;
  filter: saturate(0.65);
  will-change: transform;
}

.ambient-fish__one {
  top: 31vh;
  animation: fish-swim 48s linear infinite;
}

.ambient-fish__two {
  top: 69vh;
  animation: fish-swim-back 61s linear -29s infinite;
}

@keyframes fish-swim {
  0% { transform: translate3d(-42vw, 0, 0) rotate(-1deg); }
  47% { transform: translate3d(48vw, -24px, 0) rotate(1deg); }
  100% { transform: translate3d(132vw, 8px, 0) rotate(-1deg); }
}

@keyframes fish-swim-back {
  0% { transform: translate3d(132vw, 0, 0) scaleX(-1) rotate(-1deg); }
  53% { transform: translate3d(48vw, 18px, 0) scaleX(-1) rotate(1deg); }
  100% { transform: translate3d(-42vw, -10px, 0) scaleX(-1) rotate(-1deg); }
}

.case-page, .site-header, .site-footer { position: relative; z-index: 1; }

.site-header {
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 var(--page-gutter);
  background: var(--black);
  color: white;
  border-bottom: 1px solid var(--line-light);
}

.pw-brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.pw-brand img { width: 40px; height: 40px; object-fit: contain; }
.pw-brand span { display: grid; line-height: 1.05; }
.pw-brand strong { font-size: 17px; }
.pw-brand small { margin-top: 5px; font-size: 8px; letter-spacing: 0.16em; color: #aeb0b3; }
.project-label, .header-actions, .eyebrow, .section-number, .foundation-index { font: 700 12px/1.2 var(--font-mono); letter-spacing: 0.12em; }
.project-label { color: #aeb0b3; }
.header-actions { justify-self: end; display: flex; gap: 24px; }
.header-actions a { transition: color 180ms ease; }
.header-actions a:first-child { color: var(--sky); }
.header-actions a:hover { color: var(--yellow); }

.hero {
  position: relative;
  min-height: calc(88svh - 88px);
  overflow: hidden;
  color: white;
  background: var(--navy);
}

.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 10, 14, 0.76) 0%, rgba(5, 10, 14, 0.3) 44%, rgba(5, 10, 14, 0.04) 72%); }
.hero-copy { position: relative; z-index: 2; width: min(850px, 90%); padding: clamp(90px, 14vh, 160px) var(--page-gutter) 150px; }
.eyebrow { margin: 0 0 24px; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { margin: 0; font: 500 9rem/0.88 var(--font-display); letter-spacing: 0; }
.hero-lead { max-width: 680px; margin: 32px 0 42px; font-size: 2.1rem; line-height: 1.25; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 2px solid currentColor; font-weight: 700; }
.text-link-light { color: white; }
.text-link:hover { color: var(--yellow); }
.beta-button { display: inline-flex; align-items: center; gap: 11px; margin-top: 18px; padding: 14px 18px; border: 1px solid var(--navy); background: var(--navy); color: white; font-weight: 700; transition: background 180ms ease, color 180ms ease; }
.beta-button:hover { background: var(--blue); }
.beta-button--light { margin: 0; border-color: rgba(255,255,255,0.7); background: rgba(9,10,11,0.18); }
.beta-button--light:hover { background: white; color: var(--navy); }
.hero-meta { position: absolute; z-index: 2; left: var(--page-gutter); right: var(--page-gutter); bottom: 34px; display: flex; gap: 26px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line-light); font: 700 11px/1.2 var(--font-mono); letter-spacing: 0.1em; }

.intro, .challenge, .story-section, .result-section, .property-section, .brand-foundation {
  padding: clamp(80px, 10vw, 150px) var(--page-gutter);
}

.intro, .challenge, .story-section, .result-section, .property-section, .brand-foundation {
  max-width: var(--container);
  margin: 0 auto;
}

.section-number { padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); color: #5e6063; }
.section-number-light { color: rgba(255,255,255,0.62); border-color: var(--line-light); }
.intro-grid, .result-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr); gap: clamp(40px, 8vw, 150px); padding-top: clamp(48px, 7vw, 96px); }
.intro h2, .result-grid h2, .story-head h2, .system-head h2, .cta-section h2, .property-head h2, .brand-foundation h2, .backend-copy h2, .motion-head h2 { margin: 0; font: 500 5.1rem/0.98 var(--font-display); letter-spacing: 0; }
.intro-copy { max-width: 580px; align-self: end; font-size: 1.25rem; }
.intro-copy p:first-child { font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(70px, 10vw, 150px); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.facts div { display: grid; gap: 12px; padding: clamp(26px, 4vw, 52px); border-right: 1px solid var(--line-dark); }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border-right: 0; }
.facts strong { font: 500 5.8rem/0.9 var(--font-display); color: var(--navy); }
.facts span { font-weight: 700; }

.brand-section { display: grid; grid-template-columns: 1.15fr 0.85fr; min-height: 820px; background: var(--navy); color: white; }
.brand-image-wrap { position: relative; min-height: 720px; }
.brand-image-wrap > img { height: 100%; object-fit: cover; }
.image-caption { position: absolute; left: 24px; bottom: 24px; padding: 8px 10px; background: var(--yellow); color: var(--black); font: 700 11px/1 var(--font-mono); letter-spacing: 0.1em; }
.brand-story { display: flex; flex-direction: column; justify-content: center; padding: clamp(50px, 6vw, 100px); }
.brand-logo-panel { width: min(100%, 480px); margin-top: clamp(42px, 5vw, 74px); padding: 28px 34px; border-radius: 6px; background: var(--ivory); }
.brand-logo-panel img { max-height: 250px; object-fit: contain; }
.display-quote { margin: 38px 0 24px; font: 500 3.8rem/1 var(--font-display); }
.brand-story > p:last-of-type { max-width: 600px; color: rgba(255,255,255,0.78); }

.brand-foundation { background: rgba(255,255,255,0.8); }
.brand-foundation__head { display: grid; grid-template-columns: 0.7fr 1.25fr 0.72fr; gap: clamp(34px, 6vw, 100px); align-items: end; }
.brand-foundation__head .section-number { align-self: start; }
.brand-foundation__head p { margin: 0; color: #565b60; }
.brand-foundation__grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 7vw, 92px); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.brand-foundation__grid article { min-width: 0; min-height: 470px; padding: clamp(26px, 3vw, 48px); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.foundation-index { color: var(--blue); }
.type-script { margin: 56px 0 16px; color: var(--navy); font: 400 5rem/1 var(--font-script); }
.type-serif { margin: 0 0 24px; font: 500 2rem/1.12 var(--font-display); }
.type-sans, .layout-system > p, .color-system > p { color: #575d62; }
.layout-demo { display: grid; grid-template-columns: 1.45fr 0.55fr; grid-template-rows: 84px 120px 58px; gap: 8px; margin: 62px 0 34px; }
.layout-demo i { display: block; background: var(--soft-blue); border: 1px solid rgba(12,44,88,0.15); }
.layout-demo i:nth-child(1) { grid-column: 1 / -1; background: var(--navy); }
.layout-demo i:nth-child(2) { grid-row: 2 / 4; background: var(--sky); }
.layout-demo i:nth-child(5), .layout-demo i:nth-child(6) { display: none; }
.swatches { display: grid; grid-template-columns: repeat(5, minmax(46px, 1fr)); margin: 62px 0 34px; }
.swatches span { position: relative; aspect-ratio: 1; background: var(--swatch); border: 1px solid rgba(12,44,88,0.12); }
.swatches i { position: absolute; left: 7px; bottom: 7px; color: white; font: normal 700 8px/1 var(--font-mono); text-transform: uppercase; }
.swatches span:nth-child(n+2) i { color: var(--black); }

.challenge-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.challenge article { min-height: 330px; padding: clamp(24px, 3vw, 48px); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.challenge article > span { color: var(--blue); font: 700 12px/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.challenge h3 { margin: 70px 0 22px; font-size: 2.05rem; line-height: 1.1; }
.challenge p { color: #55585b; }

.property-section { position: relative; }
.property-head { display: grid; grid-template-columns: 0.65fr 1.35fr 0.7fr; gap: clamp(34px, 6vw, 100px); align-items: end; margin-bottom: clamp(54px, 7vw, 92px); }
.property-head .section-number { align-self: start; }
.property-head p { margin: 0; color: #565b60; }
.property-gallery { display: grid; grid-template-columns: 1.3fr 0.7fr; grid-template-rows: repeat(2, minmax(310px, 33vw)); gap: 6px; }
.property-gallery figure { position: relative; margin: 0; overflow: hidden; background: var(--navy); }
.property-gallery .property-feature { grid-row: 1 / 3; }
.property-gallery img { height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.22,1,0.36,1); }
.property-gallery figure:hover img { transform: scale(1.025); }
.property-gallery figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 5px; padding: 52px 24px 22px; color: white; background: linear-gradient(transparent, rgba(5,15,24,0.82)); }
.property-gallery figcaption span { font: 700 10px/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; }
.property-gallery figcaption strong { font-size: 1.75rem; line-height: 1.08; }

.full-image-section { position: relative; min-height: min(820px, 82svh); overflow: hidden; background: var(--black); color: white; }
.full-image-section img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.full-image-section::after { content: ""; position: absolute; inset: 0; background: rgba(6, 9, 12, 0.35); }
.full-image-copy { position: absolute; z-index: 2; left: var(--page-gutter); right: var(--page-gutter); bottom: clamp(54px, 8vw, 110px); max-width: 1100px; }
.full-image-copy .eyebrow { color: var(--yellow); }
.full-image-copy h2 { margin: 0; font: 500 6rem/0.96 var(--font-display); }

.system-section { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(50px, 8vw, 140px); padding: clamp(90px, 12vw, 170px) var(--page-gutter); background: var(--black); color: white; }
.system-head { max-width: 640px; }
.system-head h2 { margin-top: clamp(48px, 7vw, 90px); }
.system-head > p { max-width: 560px; margin-top: 36px; color: rgba(255,255,255,0.68); font-size: 19px; }
.disciplines { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.disciplines div { display: grid; align-content: space-between; min-height: 220px; padding: clamp(24px, 3vw, 46px); border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.disciplines span { color: var(--yellow); font: 700 12px/1 var(--font-mono); }
.disciplines strong { font-size: 1.8rem; }
.disciplines small { color: rgba(255,255,255,0.58); }

.backend-section { display: grid; grid-template-columns: minmax(360px, 0.68fr) minmax(0, 1.32fr); gap: clamp(44px, 6vw, 100px); align-items: start; padding: clamp(86px, 10vw, 150px) var(--page-gutter); background: var(--soft-blue); }
.backend-copy { position: sticky; top: 40px; max-width: 650px; }
.backend-copy h2 {
  margin-top: clamp(44px, 6vw, 76px);
  font-size: 3.4rem;
  overflow-wrap: normal;
}
.backend-copy > p { color: rgba(12,44,88,0.76); font-size: 18px; }
.backend-copy > p:first-of-type { margin-top: 34px; }
.backend-modules { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 38px; border-top: 1px solid rgba(12,44,88,0.2); border-left: 1px solid rgba(12,44,88,0.2); }
.backend-modules span { padding: 12px 14px; border-right: 1px solid rgba(12,44,88,0.2); border-bottom: 1px solid rgba(12,44,88,0.2); font-size: 13px; font-weight: 700; }
.backend-visual { margin: 0; }
.backend-shot-link { display: block; }
.backend-visual img { width: min(100%, 820px); margin-left: auto; border: 1px solid rgba(12,44,88,0.15); border-radius: 6px; box-shadow: 0 24px 70px rgba(12,44,88,0.18); }
.backend-visual figcaption { margin-top: 12px; color: rgba(12,44,88,0.62); font: 700 10px/1.2 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }

.motion-section { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 160px) var(--page-gutter) clamp(130px, 14vw, 220px); background: var(--navy); color: white; }
.motion-section::after { content: ""; position: absolute; z-index: 0; left: -3%; right: -3%; bottom: -34px; height: 150px; background: url("assets/decor/sandkante.webp") center bottom / cover no-repeat; opacity: 0.22; pointer-events: none; }
.motion-head, .motion-grid { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; }
.motion-head { display: grid; grid-template-columns: 0.65fr 1.35fr 0.7fr; gap: clamp(34px, 6vw, 100px); align-items: end; }
.motion-head .section-number { align-self: start; }
.motion-head p { margin: 0; color: rgba(255,255,255,0.7); }
.motion-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: clamp(54px, 7vw, 92px); }
.motion-grid figure { margin: 0; background: var(--black); }
.motion-grid video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--black); }
.motion-grid figcaption { display: flex; gap: 18px; align-items: center; min-height: 86px; padding: 18px 22px; border-top: 1px solid var(--line-light); }
.motion-grid figcaption span { color: var(--sky); font: 700 11px/1 var(--font-mono); }
.motion-grid figcaption strong { font-size: 1.2rem; }

.story-head { display: grid; grid-template-columns: 0.75fr 1.4fr 0.7fr; gap: clamp(30px, 6vw, 100px); align-items: end; margin-bottom: clamp(50px, 8vw, 100px); }
.story-head .section-number { align-self: start; }
.story-head p { margin: 0; color: #5e6063; }
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.story-grid figure { position: relative; margin: 0; aspect-ratio: 16/10; overflow: hidden; background: var(--navy); }
.story-grid .story-large { grid-column: 1 / -1; aspect-ratio: 16/8.2; }
.story-grid img { height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(0.22,1,0.36,1); }
.story-grid figure:hover img { transform: scale(1.025); }
.story-grid figcaption { position: absolute; left: 18px; bottom: 18px; padding: 9px 11px; background: var(--paper); color: var(--black); font: 700 11px/1 var(--font-mono); letter-spacing: 0.05em; }

.result-section { border-top: 1px solid var(--line-dark); }
.result-grid p { max-width: 560px; font-size: 19px; }
.status { display: flex; align-items: center; gap: 10px; margin-top: 36px; font-weight: 700; }
.status span { width: 10px; height: 10px; background: #2f7d4f; border-radius: 50%; box-shadow: 0 0 0 5px rgba(47,125,79,0.12); }

.cta-section { padding: clamp(100px, 13vw, 190px) var(--page-gutter); background: var(--yellow); text-align: center; }
.cta-section .eyebrow { color: var(--black); }
.cta-section p:not(.eyebrow) { max-width: 650px; margin: 34px auto; font-size: 20px; }
.cta-button { display: inline-flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 26px; background: var(--black); color: white; font-weight: 700; transition: background 180ms ease, color 180ms ease; }
.cta-button:hover { background: var(--navy); color: var(--sky); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 42px var(--page-gutter); background: var(--black); color: rgba(255,255,255,0.66); font-size: 13px; }
.site-footer a { justify-self: end; color: white; }
.footer-brand { color: white; font-weight: 700; }
.footer-brand span { margin-left: 8px; color: #989b9e; font-weight: 400; }

@media (max-width: 1120px) {
  .hero h1 { font-size: 7.4rem; }
  .hero-lead { font-size: 1.75rem; }
  .intro h2, .result-grid h2, .story-head h2, .system-head h2, .cta-section h2, .property-head h2, .brand-foundation h2, .motion-head h2 { font-size: 4.1rem; }
  .backend-copy h2 { font-size: 4rem; }
  .full-image-copy h2 { font-size: 4.8rem; }
  .brand-foundation__head, .property-head, .motion-head, .story-head { grid-template-columns: 1fr 1.4fr; }
  .brand-foundation__head p, .property-head p, .motion-head p, .story-head p { grid-column: 2; }
  .brand-foundation__grid { grid-template-columns: 1fr 1fr; }
  .color-system { grid-column: 1 / -1; }
  .backend-section { grid-template-columns: 1fr; }
  .backend-copy { position: static; max-width: 900px; }
}

@media (min-width: 1500px) {
  .backend-copy h2 { font-size: 4.25rem; }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .project-label { display: none; }
  .intro-grid, .result-grid, .brand-section, .system-section { grid-template-columns: 1fr; }
  .brand-image-wrap { min-height: 62svh; }
  .brand-story { min-height: 720px; }
  .challenge-grid { grid-template-columns: repeat(2, 1fr); }
  .property-gallery { grid-template-columns: 1fr; grid-template-rows: none; }
  .property-gallery figure, .property-gallery .property-feature { grid-row: auto; min-height: 520px; }
  .system-section { gap: 80px; }
  .motion-grid { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > div:nth-child(2) { display: none; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { height: 72px; }
  .pw-brand img { width: 34px; height: 34px; }
  .pw-brand strong { font-size: 15px; }
  .pw-brand small { display: none; }
  .header-actions { gap: 12px; font-size: 10px; }
  .header-actions a:first-child { display: none; }
  .hero { min-height: calc(84svh - 72px); }
  .hero-image { object-position: 57% center; }
  .hero-shade { background: rgba(5, 10, 14, 0.52); }
  .hero-copy { width: 100%; padding-top: 72px; }
  .hero h1 { font-size: 3rem; line-height: 0.94; }
  .intro h2, .result-grid h2, .story-head h2, .system-head h2, .cta-section h2, .property-head h2, .brand-foundation h2, .motion-head h2 { font-size: 3rem; }
  .backend-copy h2 { font-size: 2.8rem; }
  .full-image-copy h2 { font-size: 3.2rem; }
  .display-quote { font-size: 3rem; }
  .type-script { font-size: 4rem; }
  .type-serif { font-size: 1.65rem; }
  .challenge h3 { font-size: 1.8rem; }
  .property-gallery figcaption strong { font-size: 1.35rem; }
  .hero-lead { font-size: 22px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-meta { gap: 12px; bottom: 20px; }
  .hero-meta span:last-child { display: none; }
  .facts { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 95px 1fr; align-items: center; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .facts div:last-child { border-bottom: 0; }
  .facts strong { font-size: 48px; }
  .brand-image-wrap { min-height: 52svh; }
  .brand-image-wrap > img { object-position: 67% center; }
  .brand-story { min-height: auto; padding: 68px var(--page-gutter); }
  .brand-logo-panel { padding: 20px; }
  .brand-foundation__head, .property-head, .motion-head, .story-head { grid-template-columns: 1fr; align-items: start; }
  .brand-foundation__head p, .property-head p, .motion-head p, .story-head p { grid-column: auto; }
  .brand-foundation__grid, .challenge-grid, .disciplines, .story-grid { grid-template-columns: 1fr; }
  .brand-foundation__grid article { min-height: auto; }
  .color-system { grid-column: auto; }
  .challenge article { min-height: 260px; }
  .challenge h3 { margin-top: 46px; }
  .property-gallery figure, .property-gallery .property-feature { min-height: 70vw; }
  .property-gallery figcaption { padding-inline: 18px; }
  .full-image-section { min-height: 72svh; }
  .full-image-section img { object-position: 62% center; }
  .disciplines div { min-height: 190px; }
  .backend-section { padding-inline: var(--page-gutter); }
  .backend-copy > p { font-size: 16px; }
  .backend-modules { grid-template-columns: 1fr 1fr; }
  .motion-section { padding-inline: var(--page-gutter); }
  .story-grid .story-large { grid-column: auto; aspect-ratio: 4/5; }
  .story-grid figure { aspect-ratio: 4/5; }
  .story-grid img { object-position: center; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer a { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ambient-fish { display: none; }
  .story-grid img, .property-gallery img, .cta-button, .beta-button { transition: none; }
}


/* =====================================================
   Einbindung in pagewerbung.de
   Kopfnavigation, Rueckweg und erweiterter Fuss
   ===================================================== */
.site-header { grid-template-columns: auto 1fr auto; }

.nh-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font: 700 12px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
}

.nh-nav a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease;
}

.nh-nav a:hover,
.nh-nav a:focus-visible,
.nh-nav a[aria-current="page"] {
  color: var(--yellow);
}

.nh-back {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 30px;
  padding: 30px var(--page-gutter);
  background: var(--black);
  border-top: 1px solid var(--line-light);
  font: 700 12px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.72);
}

.nh-back a {
  color: white;
  transition: color 180ms ease;
}

.nh-back a:hover,
.nh-back a:focus-visible {
  color: var(--yellow);
}

.site-footer { grid-template-columns: 1fr auto 1fr; row-gap: 22px; }

.nh-footer-links {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}

.nh-footer-links a {
  justify-self: auto;
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease;
}

.nh-footer-links a:hover,
.nh-footer-links a:focus-visible {
  color: var(--yellow);
}

.nh-footer-links span { color: #989b9e; }

.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 40;
  padding: 12px 18px;
  background: var(--yellow);
  color: var(--black);
  font: 700 12px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
}

.skip-link:focus {
  left: var(--page-gutter);
  top: 12px;
}

@media (max-width: 1120px) {
  .nh-nav { gap: 18px; font-size: 11px; }
}

@media (max-width: 900px) {
  .site-header { height: auto; grid-template-columns: 1fr auto; padding-block: 16px; }
  .nh-nav { order: 3; grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 620px) {
  .site-footer { grid-template-columns: 1fr; }
  .nh-footer-links { justify-self: start; }
}
