/* ==========================================================================
   Wiemerskamp Wandgestaltung
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Brand palette */
  --tiefgrau: #1A1A1A;
  --schiefer: #4B4B4B;
  --salbei: #7E8378;
  --sand: #B7A992;
  --putz: #F5F3EE;

  /* Derived */
  --ink: var(--tiefgrau);
  --muted: #615F59;
  --sand-deep: #8A7A60;
  --sand-ink: #6E6049; /* sand tone for small text: ≥ 4.5:1 on putz, putz-2 and putz-3 */
  --putz-2: #EDE9E1;
  --putz-3: #E3DDD1;
  --line: rgba(26, 26, 26, .14);
  --dark: #161616;
  --on-dark: #EEEBE4;
  --on-dark-muted: #A29F97;
  --line-dark: rgba(245, 243, 238, .14);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4.4vw, 72px);
  --wrap: 1480px;
  --header: 76px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-brush: cubic-bezier(.75, 0, .25, 1);
}

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

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--putz);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
::selection { background: var(--sand); color: var(--ink); }

:focus-visible { outline: 2px solid var(--sand-deep); outline-offset: 3px; }

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

.skip {
  position: fixed; z-index: 200; left: 12px; top: 12px;
  padding: 12px 18px; background: var(--ink); color: var(--putz);
  transform: translateY(-160%); transition: transform .2s;
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.i { width: 1.15em; height: 1.15em; flex: none; }

/* --- Type ---------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: .9em;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 9px;
  flex: none;
  background: url("../img/stroke.svg") center / 100% 100% no-repeat;
}

.h2 {
  font-size: clamp(2.3rem, 4.8vw, 4.75rem);
  line-height: 1.02;
  font-weight: 420;
  font-stretch: 118%;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.section-intro {
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.fine { font-size: 13px; line-height: 1.55; color: var(--muted); }

.link {
  display: inline-flex; align-items: center; gap: .5em;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: right bottom; }

/* Hand-painted stroke behind a word */
.brush { position: relative; white-space: nowrap; }
.brush::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -.05em;
  right: -.1em;
  bottom: .02em;
  height: .44em;
  background: url("../img/stroke.svg") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s var(--ease-brush) .55s;
}
.is-in .brush::before, .no-motion .brush::before { clip-path: inset(0 0 0 0); }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  --h: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8em;
  height: var(--h);
  padding: 0 26px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 560;
  font-stretch: 108%;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 14px; }
.btn-dark { background: var(--ink); color: var(--putz); }
.btn-dark:hover { background: #33322F; }
.btn-ghost { border: 1px solid rgba(26, 26, 26, .35); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(26, 26, 26, .04); }
.btn-light { background: var(--putz); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-wide { width: 100%; justify-content: space-between; }

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header);
  padding-top: env(safe-area-inset-top, 0px);
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(245, 243, 238, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden:focus-within { transform: none; } /* never hide a header that holds keyboard focus */

.brand { display: flex; align-items: center; gap: 14px; justify-self: start; }
.brand-signet { width: 44px; }
.brand-word { width: 168px; transform: translateY(3px); }

.nav { display: flex; gap: 34px; font-size: 14.5px; font-weight: 500; }
.nav a {
  position: relative;
  padding-block: 6px;
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
}
.nav a:hover, .nav a.is-active { background-size: 100% 1px; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 22px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-open .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  padding: calc(var(--header) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--putz);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 420;
  font-stretch: 118%;
  letter-spacing: -.03em;
}
.mobile-menu nav small { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.mobile-menu-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.mobile-menu:not([hidden]) { animation: menu-in .45s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

/* --- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(640px, 100svh);
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--wall);
  overflow: hidden;
}
/* freshly painted wall in window light, rendered once as a still (portrait crop for phones) */
.hero, .nf { --wall: #E4E2DD url("../img/hero-wand-quer.jpg") left bottom / cover no-repeat; }
@media (max-aspect-ratio: 3 / 4) {
  .hero, .nf { --wall: #E4E2DD url("../img/hero-wand-hoch.jpg") left bottom / cover no-repeat; }
}

.hero-inner {
  align-self: end;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: calc(var(--header) + 40px) var(--gutter) clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: end;
  column-gap: clamp(24px, 4vw, 64px);
}
/* in tall or square windows the content shrinks with the width but the hero
   keeps its height, so anchoring it at the bottom leaves an empty wall above */
@media (max-aspect-ratio: 5/4) {
  .hero-inner { align-self: center; }
}

.hero-text { container-type: inline-size; }
.hero-title {
  isolation: isolate;
  /* sized to the column so "Handschrift." never gets clipped by .line overflow */
  font-size: clamp(2.4rem, 14.5cqi, 8.2rem);
  line-height: .9;
  font-weight: 400;
  font-stretch: 125%;
  letter-spacing: -.055em;
  margin-left: -.05em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: block; }
.hero-title .brush::before { filter: brightness(.68) saturate(1.3); height: .4em; bottom: .01em; }

.hero-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  margin-top: clamp(28px, 3.6vw, 52px);
  flex-wrap: wrap;
}
.hero-lead { max-width: 36ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.5; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Colour fan deck: strips pivot around a rivet near their lower end */
.fan {
  --fh: clamp(340px, 36vw, 540px);
  position: relative;
  justify-self: center;
  align-self: center;
  width: calc(var(--fh) * 1.3);
  max-width: 100%;
  height: var(--fh);
}
.fan-strip {
  position: absolute;
  left: calc(50% - var(--fh) * .095);
  bottom: 2%;
  width: calc(var(--fh) * .19);
  height: calc(var(--fh) * .84);
  display: flex;
  flex-direction: column;
  padding: 5px 5px calc(var(--fh) * .14);
  border-radius: 7px;
  background: #FBFAF7;
  box-shadow: 0 1px 0 rgba(26, 26, 26, .05), 0 14px 28px -14px rgba(40, 30, 20, .45);
  transform-origin: 50% calc(100% - var(--fh) * .07);
  transform: rotate(calc(-4deg + var(--i) * 1.2deg));
  transition: transform 1.5s var(--ease) calc(.45s + var(--i) * 70ms);
}
.fan.is-in .fan-strip, :root:not(.js) .fan-strip { transform: rotate(calc(-40deg + var(--i) * 11.5deg)); }
.fan-strip span {
  display: flex; justify-content: space-between; align-items: baseline; gap: 4px;
  padding: 4px 3px 7px;
  font-size: calc(var(--fh) * .024);
  font-weight: 600;
  font-stretch: 112%;
  white-space: nowrap;
}
.fan-strip b { flex: 1; background: var(--c); }
.fan-strip b + b { margin-top: 2px; }
.fan-pin {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(2% + var(--fh) * .07);
  width: 14px; height: 14px;
  border-radius: 50%;
  transform: translate(-50%, 50%);
  background: radial-gradient(circle at 35% 35%, #EDE8DF, #9A9283 70%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

.hero-bar {
  max-width: var(--wrap);
  width: 100%;
  margin-inline: auto;
  padding: 0 var(--gutter) env(safe-area-inset-bottom, 0px);
}
.hero-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-top: 1px solid rgba(26, 26, 26, .16);
  min-height: 64px;
}
.hero-scroll {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(26, 26, 26, .25);
  border-radius: 50%;
  transition: background-color .3s, color .3s;
}
.hero-scroll:hover { background: var(--ink); color: var(--putz); }

/* --- Statement ----------------------------------------------------------- */

.statement { padding-top: clamp(96px, 13vw, 200px); }
.statement-text {
  margin-top: 32px;
  max-width: 19em;
  font-size: clamp(1.75rem, 3.7vw, 3.65rem);
  line-height: 1.12;
  font-weight: 400;
  font-stretch: 112%;
  letter-spacing: -.03em;
  text-wrap: pretty;
}
.statement-text .muted { color: var(--sand-deep); }

.band {
  --inset: 0px;
  margin-top: clamp(64px, 8vw, 120px);
  position: relative;
}
.band img {
  width: 100%;
  /* follows the wide format of the photo so it isn't cropped and blown up */
  height: clamp(300px, 44vw, 700px);
  object-fit: cover;
  object-position: 68% 50%; /* keeps the sideboard in view when narrow screens crop the sides */
  clip-path: inset(0 var(--inset));
  will-change: clip-path;
}
.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px clamp(28px, 4vw, 64px);
  padding-block: clamp(72px, 9vw, 140px);
}
.promises li { border-top: 1px solid var(--line); padding-top: 24px; }
.promises .num, .svc-num, .work-num {
  font-size: 12.5px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: .12em;
  color: var(--sand-ink);
}
.promises h3 {
  margin: 18px 0 12px;
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 480;
  font-stretch: 115%;
  letter-spacing: -.015em;
}
.promises p { color: var(--muted); }

/* --- Section heads ------------------------------------------------------- */

.section-head {
  display: grid;
  gap: 26px;
  margin-bottom: clamp(48px, 6vw, 88px);
}

/* --- Techniques ---------------------------------------------------------- */

.techniques {
  background: var(--putz-2);
  padding-block: clamp(96px, 11vw, 168px);
}
/* sits under the big heading, so it needs more presence than the side intros */
.techniques .section-intro, .works .section-intro {
  max-width: none;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.svc-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px clamp(20px, 2.6vw, 44px);
}
.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.svc-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--putz-3);
  margin-bottom: 26px;
}
/* slight zoom crops the frame a little tighter onto the work */
.svc-img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(1.06);
  transform-origin: var(--pos, 50% 50%);
  transition: transform .9s var(--ease);
}
.svc-name {
  margin: 14px 0 14px;
  font-size: clamp(1.75rem, 2.6vw, 2.6rem);
  line-height: 1.05;
  font-weight: 420;
  font-stretch: 118%;
  letter-spacing: -.035em;
}
.svc-desc { color: var(--muted); max-width: 36ch; }
.svc-points {
  width: 100%;
  margin: 22px 0 26px;
  border-top: 1px solid var(--line);
}
.svc-points li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.svc-go {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: .6em;
  padding-bottom: 3px;
  font-size: 14px; font-weight: 560;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
}
/* whole card is clickable via the link */
.svc-go .i { transition: transform .35s var(--ease); }
.svc-go:hover .i { transform: translateX(4px); }
.svc:hover .svc-swatch img { transform: scale(1.08); }

.advice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px clamp(28px, 4vw, 64px);
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--putz);
}
.advice-chips { display: flex; }
.advice-chips i {
  width: clamp(40px, 4.4vw, 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px var(--line), 0 0 0 3px var(--putz);
}
.advice-chips i + i { margin-left: -14px; }
.advice-title {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  line-height: 1.15;
  font-weight: 480;
  font-stretch: 115%;
  letter-spacing: -.02em;
}
.advice-copy p { color: var(--muted); max-width: 62ch; }

.also {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 24px clamp(16px, 2.4vw, 40px);
  margin-top: clamp(48px, 6vw, 80px);
}
.also-title {
  font-size: 1.25rem;
  font-weight: 480;
  font-stretch: 115%;
  letter-spacing: -.015em;
}
.also-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
}
.also-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.also-list .i { color: var(--sand-deep); }

/* --- Works --------------------------------------------------------------- */

.works { padding-block: clamp(96px, 11vw, 168px); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: clamp(56px, 7vw, 112px);
  align-items: start;
}
.work-a { grid-column: 1 / 8; }
.work-b { grid-column: 9 / 13; margin-top: clamp(80px, 12vw, 200px); }
.work-c { grid-column: 2 / 7; }
.work-d { grid-column: 8 / 13; }

.work-img { overflow: hidden; background: var(--putz-3); }
.work-a .work-img { aspect-ratio: 4 / 3; }
.work-b .work-img { aspect-ratio: 4 / 5; }
.work-c .work-img { aspect-ratio: 4 / 5; }
.work-d .work-img { aspect-ratio: 5 / 4; }
.work-img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translateY(var(--py, 0px)) scale(1.12);
  will-change: transform;
}
.work-b img { object-position: 50% 50%; }
.work-c img { object-position: 50% 50%; }

.work figcaption {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 4px 0;
  margin-top: 18px;
}
.work-num { grid-row: span 2; padding-top: .35em; }
.work-title { font-size: 1.15rem; font-weight: 500; font-stretch: 110%; letter-spacing: -.01em; }
.work-meta { font-size: 14px; color: var(--muted); }

/* --- Process ------------------------------------------------------------- */

.process {
  background: var(--putz-3);
  padding-block: clamp(96px, 11vw, 168px);
}
.process-track { position: relative; }
.process-line {
  width: 100%;
  height: 40px;
  margin-bottom: 28px;
  overflow: visible;
  clip-path: inset(-10px calc(var(--draw, 0) * 100%) -10px -10px);
}
.process-line path {
  fill: none;
  stroke: var(--sand-deep);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px clamp(24px, 3vw, 48px);
}
.step-num {
  display: block;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 300;
  font-stretch: 125%;
  letter-spacing: -.04em;
  color: var(--sand-deep);
}
.steps h3 {
  margin: 22px 0 12px;
  font-size: 1.3rem;
  line-height: 1.2;
  font-weight: 480;
  font-stretch: 115%;
  letter-spacing: -.015em;
}
.steps p { color: var(--muted); }

/* --- FAQ ----------------------------------------------------------------- */

.faq { padding-block: clamp(96px, 11vw, 168px); }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px clamp(32px, 6vw, 112px);
  align-items: start;
}
.faq .section-head { position: sticky; top: calc(var(--header) + 32px); margin-bottom: 0; }
.faq-list { border-bottom: 1px solid var(--line); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.3;
  font-weight: 460;
  font-stretch: 112%;
  letter-spacing: -.015em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .i { width: 22px; height: 22px; transition: transform .4s var(--ease); }
.faq-list details[open] summary .i { transform: rotate(45deg); }
.faq-a { padding: 0 3rem 28px 0; color: var(--muted); max-width: 62ch; }
.faq-list details[open] .faq-a { animation: faq-in .5s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* --- Contact ------------------------------------------------------------- */

.contact {
  background: var(--dark);
  color: var(--on-dark);
  padding-block: clamp(96px, 11vw, 168px);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px clamp(40px, 7vw, 128px);
  align-items: start;
}
.contact-intro { display: grid; gap: 30px; }
.contact-title {
  isolation: isolate;
  font-size: clamp(3rem, 6.2vw, 6.6rem);
  line-height: .94;
  font-weight: 400;
  font-stretch: 125%;
  letter-spacing: -.055em;
}
.contact-lead { max-width: 36ch; color: var(--on-dark-muted); font-size: 1.1rem; }
.contact-direct { display: grid; gap: 4px; }
.contact-direct a {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 0;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 450;
  font-stretch: 110%;
  letter-spacing: -.01em;
}
.contact-direct .i { width: 22px; height: 22px; color: var(--sand); }
.contact-direct small, .site-footer small {
  display: block;
  font-size: 11.5px; font-weight: 600; font-stretch: 125%;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 4px;
}
.contact-direct a span { transition: color .3s; }
.contact-direct a:hover span { color: var(--sand); }

.form { display: grid; gap: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 8px; }
.field > span, .chips legend {
  font-size: 12px; font-weight: 600; font-stretch: 125%;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--on-dark-muted);
}
.field em { font-style: normal; letter-spacing: .04em; text-transform: none; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(245, 243, 238, .4);
  border-radius: 0;
  background: transparent;
  font-size: 17px;
  outline: none;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field textarea::placeholder { color: rgba(238, 235, 228, .55); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sand); box-shadow: 0 1px 0 0 var(--sand); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23A29F97' stroke-width='1.6'/%3E%3C/svg%3E") right center / 18px no-repeat;
}
.field select option { color: var(--ink); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #E08C6C; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { float: left; width: 100%; margin-bottom: 12px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid rgba(245, 243, 238, .4);
  border-radius: 99px;
  font-size: 14.5px;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chips label:hover span { border-color: rgba(245, 243, 238, .65); }
.chips input:checked + span { background: var(--putz); color: var(--ink); border-color: var(--putz); }
.chips input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 3px; }

.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--on-dark-muted); line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sand); flex: none; }
.consent a { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.consent.is-invalid span { color: #E08C6C; }

.form-status { min-height: 1.5em; font-size: 15px; color: var(--sand); }
.form-status.is-error { color: #E08C6C; }
.form.is-sent .field, .form.is-sent .field-row, .form.is-sent .chips, .form.is-sent .consent, .form.is-sent button { display: none; }
.form.is-sent .form-status {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.35;
  font-stretch: 110%;
  color: var(--on-dark);
  padding: 32px 0;
  border-top: 1px solid var(--line-dark);
}

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

.site-footer {
  background: var(--dark);
  color: var(--on-dark);
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}
.site-footer .wrap { border-top: 1px solid var(--line-dark); }
.footer-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px clamp(48px, 7vw, 112px);
  padding-block: clamp(36px, 4vw, 52px);
}
/* *-footer.png are recoloured from the dark PNGs' alpha (--on-dark, signet 62 % --sand),
   because the light PNGs have dark fringes. PLATZHALTER: replace with an SVG logo later. */
.footer-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.footer-signet, .footer-wordmark { display: block; height: auto; }
.footer-signet { width: 44px; aspect-ratio: 345 / 250; }
.footer-wordmark { width: 168px; aspect-ratio: 640 / 68; transform: translateY(3px); }
.footer-contact {
  display: grid;
  gap: 2px;
  font-style: normal;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--on-dark-muted);
}
.footer-contact a, .footer-legal a { transition: color .3s; }
.footer-contact a { color: var(--on-dark); }
.footer-contact a:hover, .footer-legal a:hover { color: var(--sand); }
.footer-legal { display: flex; gap: 24px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 13.5px;
  color: var(--on-dark-muted);
}
.footer-cc { font-size: inherit; color: inherit; transition: color .3s; }
.footer-cc:hover { color: var(--sand); }

/* --- Consent banner ------------------------------------------------------ */

/* corner (legal pages): the page stays usable */
.cc {
  position: fixed;
  z-index: 150;
  left: 12px; right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 20px;
  background: var(--putz);
  color: var(--ink);
  border: 1px solid rgba(26, 26, 26, .2);
  box-shadow: 0 18px 50px rgba(26, 26, 26, .18);
  font-size: 14.5px;
  line-height: 1.55;
}
@media (min-width: 700px) {
  .cc { left: auto; right: 24px; bottom: 24px; width: 520px; padding: 28px; }
}

/* centred (all other pages): a dialog over a dimmed page */
.cc-wrap.is-modal {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(22, 22, 22, .55);
  animation: cc-fade .35s var(--ease);
}
.cc-wrap.is-modal .cc {
  position: relative;
  inset: auto;
  width: min(540px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: clamp(24px, 5vw, 40px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  animation: cc-rise .45s var(--ease);
}
.cc-locked, .cc-locked body { overflow: hidden; }
@keyframes cc-fade { from { opacity: 0; } }
@keyframes cc-rise { from { opacity: 0; transform: translateY(16px); } }

.cc-signet { width: 44px; height: auto; margin-bottom: 18px; }
.cc-wrap:not(.is-modal) .cc-signet { width: 36px; margin-bottom: 14px; }
.cc-title { margin-bottom: 10px; font-size: 1.15rem; font-weight: 600; font-stretch: 112%; letter-spacing: -.01em; }
.is-modal .cc-title { font-size: clamp(1.3rem, 2.4vw, 1.55rem); }
.cc-title:focus { outline: none; }
.cc p { color: var(--muted); }
.cc a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cc-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; margin-top: 14px; }
.cc-links { display: flex; gap: 18px; font-size: 13.5px; }
.cc-settings { display: grid; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.cc-opt { display: flex; gap: 12px; align-items: flex-start; }
.cc-opt input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--ink); }
.cc-opt label { cursor: pointer; }
.cc-opt input:disabled + label { cursor: default; }
.cc-opt small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.cc-tag { font-size: 12px; color: var(--muted); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.cc-actions .btn { flex: 1 1 140px; }
.cc-more {
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 0;
}
@media print { .cc { display: none !important; } }

/* --- Reveal -------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js .hero-title .line[data-reveal] { opacity: 1; transform: none; }
.js .hero-title .line[data-reveal] > span {
  transform: translateY(105%);
  transition: transform 1.25s var(--ease) var(--d, 0s);
}
.js .hero-title .line.is-in > span { transform: none; }

/* --- Legal pages --------------------------------------------------------- */

.legal { padding: calc(var(--header) + clamp(48px, 7vw, 96px)) 0 clamp(80px, 10vw, 140px); }
.legal .wrap { max-width: 920px; }
.legal h1 {
  margin: 28px 0 48px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 420;
  font-stretch: 125%;
  letter-spacing: -.045em;
}
.legal h2 { margin: 48px 0 12px; font-size: 1.35rem; font-weight: 500; font-stretch: 112%; letter-spacing: -.01em; }
.legal h3 { margin: 28px 0 8px; font-size: 1.05rem; font-weight: 600; }
.legal p, .legal li { color: var(--muted); max-width: 68ch; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal p + p, .legal ul + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-top: 12px; }
.legal li + li { margin-top: 6px; }
.legal .legal-source { margin-top: 48px; font-size: 13px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal .note {
  padding: 18px 20px;
  background: var(--putz-2);
  border-left: 3px solid var(--sand);
  color: var(--ink);
  font-size: 15px;
}
.site-header.is-solid { background: rgba(245, 243, 238, .92); box-shadow: 0 1px 0 var(--line); }

/* 404: the hero's sunlit wall with a paint chip whose colour field is punched out */
.nf {
  position: relative;
  isolation: isolate;
  min-height: max(640px, 100svh);
  display: grid;
  background: var(--wall);
  overflow: hidden;
}
.nf-inner {
  align-self: center;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: calc(var(--header) + 40px) var(--gutter) clamp(48px, 6vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(24px, 5vw, 80px);
}
.nf-copy { container-type: inline-size; }
.nf-title {
  isolation: isolate;
  margin: 24px 0 26px;
  /* sized to the column so "ist noch leer." stays on one line */
  font-size: clamp(2.4rem, 12.5cqi, 6.4rem);
  line-height: .95;
  font-weight: 400;
  font-stretch: 125%;
  letter-spacing: -.05em;
}
.nf-title .brush::before { filter: brightness(.68) saturate(1.3); }
.nf-lead { max-width: 38ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; }
.nf-exit { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.nf-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 22px; font-size: 14.5px; }
.nf-links span { color: var(--muted); }
.nf-links a { background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; padding-bottom: 2px; }
.nf-links a:hover { color: var(--sand-ink); }

/* the chip: card stock around a punched-out field, so the wall shows through */
.nf-chip {
  --cw: clamp(230px, 24vw, 360px);
  justify-self: center;
  width: var(--cw);
  transform: rotate(-6deg);
  filter: drop-shadow(0 22px 26px rgba(40, 30, 20, .26)) drop-shadow(0 1px 1px rgba(26, 26, 26, .08));
  animation: chip-in 1.4s var(--ease) .2s both;
}
.nf-chip-hole {
  display: block;
  aspect-ratio: 1 / 1.08;
  border: calc(var(--cw) * .05) solid #FBFAF7;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  box-shadow: inset 0 3px 10px rgba(40, 30, 20, .2), inset 0 0 0 1px rgba(26, 26, 26, .06);
}
.nf-chip figcaption {
  position: relative;
  display: grid;
  gap: 2px;
  padding: calc(var(--cw) * .06) calc(var(--cw) * .07) calc(var(--cw) * .14);
  background: #FBFAF7;
  border-radius: 0 0 10px 10px;
}
/* rivet hole like on the fan deck */
.nf-chip figcaption::after {
  content: "";
  position: absolute;
  left: 50%; bottom: calc(var(--cw) * .05);
  width: 12px; height: 12px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 35% 35%, #EDE8DF, #9A9283 70%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.nf-chip-no {
  font-size: calc(var(--cw) * .2);
  line-height: 1;
  font-weight: 400;
  font-stretch: 125%;
  letter-spacing: -.04em;
}
.nf-chip-name { margin-top: 10px; font-size: 15px; font-weight: 600; font-stretch: 112%; }
.nf-chip-meta { font-size: 13px; color: var(--muted); }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(28px) rotate(-14deg); }
}

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1180px) {
  .nav, .header-phone { display: none; }
  .menu-btn { display: block; }
  .site-header { grid-template-columns: 1fr auto; }
}

@media (max-width: 900px) {
  :root { --header: 68px; }
  .brand-signet { width: 38px; }
  .brand-word { width: 136px; }
  .header-actions .btn-sm { display: none; }

  .nf-inner { grid-template-columns: 1fr; row-gap: 56px; }
  .nf-chip { --cw: min(52vw, 220px); }

  .hero-inner { grid-template-columns: 1fr; }
  .fan { --fh: min(64vw, 320px); order: -1; justify-self: end; margin-bottom: 8px; }

  .promises { grid-template-columns: 1fr; gap: 36px; }


  .svc-list { grid-template-columns: 1fr; gap: 64px; }
  .svc-img { aspect-ratio: 16 / 10; }
  .advice { grid-template-columns: 1fr; }
  .also { grid-template-columns: 1fr; }


  .works-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .work-a, .work-b, .work-c, .work-d { grid-column: 1; margin-top: 0; }
  .work-b { width: 82%; justify-self: end; }
  .work-c { width: 82%; }

  .steps { grid-template-columns: 1fr 1fr; }
  .process-line { display: none; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq .section-head { position: static; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; }
  .footer-contact { text-align: center; }
}

@media (max-width: 560px) {
  .also-list { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-bar { font-size: 12.5px; }
  .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .work-b, .work-c { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
  .faq-a { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .hero-title .line[data-reveal] > span { opacity: 1; transform: none; }
  .brush::before { clip-path: none; }
  .work-img img { transform: scale(1.02); }
}

/* Personal introduction */
.personal { padding-block:clamp(72px,9vw,136px); background:var(--putz-2); }
.personal-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(36px,7vw,108px); align-items:center; }
.personal-photo { margin:0; max-width:520px; width:100%; }
.personal-photo img { display:block; width:100%; height:auto; aspect-ratio:5 / 6; object-fit:cover; }
.personal-photo figcaption { margin-top:14px; font-size:13px; letter-spacing:.02em; color:var(--muted); }
.personal-photo figcaption strong { color:var(--ink); font-weight:600; }
.personal-copy { min-width:0; max-width:590px; }
.personal-copy .eyebrow { margin-bottom:26px; }
.personal-copy h2 { font-size:clamp(2rem,4.1vw,4.3rem); line-height:1.06; letter-spacing:-.045em; font-weight:500; margin:0 0 28px; }
.personal-copy > p:not(.eyebrow) { max-width:43ch; color:var(--muted); line-height:1.7; margin:0 0 18px; }
.personal-copy > .personal-lead { font-size:clamp(18px,1.5vw,22px); color:var(--ink); }
.personal-actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px 32px; margin-top:34px; }
@media(max-width:899px) {
 .personal-grid { grid-template-columns:1fr; gap:36px; }
 .personal-photo { max-width:440px; }
 .personal-copy h2 { font-size:clamp(2rem,7vw,3.7rem); }
}
