/* Richtung 02 — Modern-minimalistisch. Voice: präzise, gefräst, hell.
   Palette: Weiß + ein kräftiges Orange (committed), sonst nur Grautöne.
   Typo: Schibsted Grotesk, eine Familie, harte Gewichts-Kontraste. */

:root {
  --bg: #ffffff;
  --ink: oklch(0.2 0.01 60);
  --muted: oklch(0.45 0.01 60);
  --orange: oklch(0.66 0.19 42);
  --orange-deep: oklch(0.58 0.18 40);
  --line: oklch(0.9 0.005 60);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }

.container { max-width: 74rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* Kopf */
header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 20; }

.nav { display: flex; align-items: center; gap: 2rem; padding: 1rem 0; }
.brand { font-weight: 800; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand em { font-style: normal; color: var(--orange); }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--ink); }

.cta {
  background: var(--orange);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 160ms var(--ease);
}
.cta:hover { background: var(--orange-deep); }

/* Hero: Typo trägt, Foto als geordnetes Exponat */
.hero { padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem); }

.hero h1 {
  font-size: clamp(2.6rem, 7.5vw, 5.2rem);
  font-weight: 800;
  max-width: 14ch;
}

.hero h1 .o { color: var(--orange); }

.hero-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-top: 2.5rem;
}

.hero .lede { font-size: 1.2rem; color: var(--muted); max-width: 44ch; }
.hero-actions { display: flex; gap: 0.875rem; margin-top: 1.75rem; flex-wrap: wrap; }

.btn-line {
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.btn-line:hover { background: var(--ink); color: #fff; }

.hero-exponat { width: min(300px, 34vw); }
.hero-exponat img { aspect-ratio: 3/4; object-fit: cover; border-radius: 2px; }
.hero-exponat figcaption { font-size: 0.8rem; color: var(--muted); margin-top: 0.5rem; display: flex; justify-content: space-between; }

/* Marquee-artige Materialzeile: ruhig, statisch */
.material {
  border-block: 1px solid var(--line);
  padding: 1rem 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.material b { color: var(--orange); font-weight: 700; }

/* Sektionen */
section.block { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.block h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 2.5rem; }
.block h2 span { color: var(--orange); }

/* Leistungen als präzise Zeilen (keine Kartengalerie) */
.l-row {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr auto;
  gap: 1.5rem;
  padding: 1.375rem 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  transition: background 160ms var(--ease);
}
.l-row:last-child { border-bottom: 1px solid var(--line); }
.l-row:hover { background: oklch(0.98 0.005 60); }
.l-row h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.l-row p { margin: 0; color: var(--muted); max-width: 56ch; }
.l-row .pfeil { color: var(--orange); font-weight: 800; }

/* Prozess: die eine echte Sequenz der Seite, deshalb nummeriert */
.prozess { background: oklch(0.975 0.005 60); }
.prozess-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: schritt; }
.prozess-step { counter-increment: schritt; }
.prozess-step::before {
  content: counter(schritt, decimal-leading-zero);
  font-weight: 800;
  font-size: 2rem;
  color: var(--orange);
  display: block;
  letter-spacing: -0.03em;
}
.prozess-step h3 { font-size: 1.05rem; margin: 0.5rem 0 0.35rem; }
.prozess-step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Vorher/Nachher */
.ba-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.ba-kopf p { color: var(--muted); margin: 0; }

.ba {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21/10;
  --pos: 50%;
  touch-action: none;
  border-radius: 2px;
}

.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); filter: sepia(0.5) saturate(0.5) contrast(0.85) brightness(0.9); }
.ba .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: var(--orange); translate: -1.5px 0; pointer-events: none; }
.ba .knob {
  position: absolute; top: 50%; left: var(--pos);
  translate: -50% -50%;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--orange); color: #fff;
  display: grid; place-content: center;
  font-weight: 800;
  pointer-events: none;
}
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba .tag { position: absolute; top: 1rem; background: #fff; color: var(--ink); font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; pointer-events: none; }
.ba .tag.links { left: 1rem; }
.ba .tag.rechts { right: 1rem; }
.ba-note { color: var(--muted); font-size: 0.9rem; margin-top: 0.875rem; }

/* Referenzen: großzügiges asymmetrisches Raster */
.werke { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1rem; }
.werke figure { margin: 0; overflow: hidden; border-radius: 2px; position: relative; }
.werke img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: scale 400ms var(--ease); }
.werke figure:hover img { scale: 1.03; }
.werke .stack { display: grid; gap: 1rem; }
.werke .stack img { aspect-ratio: 16/8.4; }
.werke figcaption {
  position: absolute; left: 0.875rem; bottom: 0.875rem;
  background: #fff; color: var(--ink);
  font-size: 0.85rem; font-weight: 700;
  padding: 0.3rem 0.7rem; border-radius: 999px;
}

/* Kontakt: Orange drencht den Abschluss */
.kontakt { background: var(--orange); color: #fff; }
.kontakt h2 { color: #fff; margin-bottom: 1rem; }
.kontakt .kontakt-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.kontakt p { color: oklch(0.97 0.02 45); max-width: 46ch; }

.kontakt .riesig {
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-block;
  border-bottom: 3px solid #fff;
  padding-bottom: 0.2rem;
  margin-top: 1rem;
}

.kontakt address { font-style: normal; font-size: 1rem; line-height: 1.7; }
.kontakt address a { color: #fff; font-weight: 700; }

/* Fußzeile */
footer { padding: 1.5rem 0; font-size: 0.9rem; color: var(--muted); }
.foot-grid { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero-row { animation: rise 700ms var(--ease) both; }
  .hero-row { animation-delay: 120ms; }
  @keyframes rise { from { opacity: 0.001; translate: 0 16px; } }
}

@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-exponat { width: min(300px, 70vw); }
  .prozess-grid { grid-template-columns: repeat(2, 1fr); }
  .werke { grid-template-columns: 1fr; }
  .kontakt .kontakt-grid { grid-template-columns: 1fr; }
  .l-row { grid-template-columns: 1fr; gap: 0.35rem; }
  .l-row .pfeil { display: none; }
  .nav ul { display: none; }
}
