/* Richtung 04 — Dunkel-edel. Voice: Räuchereiche, Messing, Manufaktur.
   Drenched Dark: die Fläche IST die Farbe (warmes Fast-Schwarz), Messing als Licht.
   Typo: Marcellus (Kapitalis-Ruhe) + Mulish (klarer Text). */

:root {
  --bg: oklch(0.17 0.015 55);
  --bg-lift: oklch(0.21 0.018 55);
  --ink: oklch(0.93 0.015 80);
  --muted: oklch(0.72 0.02 75);
  --brass: oklch(0.78 0.11 85);
  --brass-deep: oklch(0.68 0.11 80);
  --line: oklch(0.32 0.02 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: "Mulish", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Marcellus", serif; font-weight: 400; margin: 0; line-height: 1.12; text-wrap: balance; }

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

/* Kopf */
header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: oklch(0.17 0.015 55 / 0.9); backdrop-filter: blur(10px); z-index: 20; }

.nav { display: flex; align-items: center; gap: 1.75rem; padding: 1.1rem 0; }
.brand { font-family: "Marcellus", serif; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: 0.14em; text-transform: uppercase; }
.brand b { color: var(--brass); font-weight: 400; }
.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: 600; font-size: 0.9rem; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--brass); }

.cta {
  color: var(--bg);
  background: var(--brass);
  padding: 0.6rem 1.3rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 180ms var(--ease);
}
.cta:hover { background: var(--brass-deep); }

/* Hero: Split — Wortmarke links, Werkstück rechts */
.hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }

.hero h1 { font-size: clamp(2.4rem, 5.8vw, 4.2rem); }
.hero h1 em { font-style: normal; color: var(--brass); }
.hero .lede { color: var(--muted); font-size: 1.15rem; margin: 1.5rem 0 2.25rem; max-width: 44ch; }

.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.btn-ghost {
  color: var(--brass);
  border: 1px solid var(--brass);
  padding: 0.6rem 1.3rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}
.btn-ghost:hover { background: var(--brass); color: var(--bg); }

.hero-img { position: relative; }
.hero-img img { aspect-ratio: 4/5; object-fit: cover; }
.hero-img::after {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--brass);
  z-index: -1;
}
.hero-img figcaption { color: var(--muted); font-size: 0.85rem; margin-top: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Leitsatz-Band */
.leitsatz { border-block: 1px solid var(--line); padding: clamp(2.5rem, 6vw, 4rem) 0; text-align: center; }
.leitsatz p { font-family: "Marcellus", serif; font-size: clamp(1.3rem, 3vw, 1.9rem); max-width: 28ch; margin: 0 auto; }
.leitsatz p em { font-style: normal; color: var(--brass); }

/* Sektionen */
section.block { padding: clamp(3.5rem, 9vw, 6rem) 0; }
.block h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
.block .intro { color: var(--muted); max-width: 56ch; margin-bottom: 3rem; }

/* Leistungen: ruhige zweispaltige Liste mit Messing-Initial */
.gewerke { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 4rem; }
.gewerk { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
.gewerk .initial {
  font-family: "Marcellus", serif;
  font-size: 1.9rem;
  color: var(--brass);
  border: 1px solid var(--line);
  width: 3.25rem; height: 3.25rem;
  display: grid; place-content: center;
}
.gewerk h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.gewerk p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* Galerie: ein großes Bild, zwei kleine */
.galerie { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.25rem; }
.galerie figure { margin: 0; position: relative; overflow: hidden; }
.galerie img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; transition: scale 500ms var(--ease), filter 500ms var(--ease); }
.galerie figure:hover img { scale: 1.03; filter: brightness(1.08); }
.galerie .stack { display: grid; gap: 1.25rem; }
.galerie .stack img { aspect-ratio: 16/9.2; }
.galerie figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--bg);
  color: var(--brass);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
}

/* Vorher/Nachher */
.ba-wrap { max-width: 54rem; margin: 0 auto; }
.ba { position: relative; overflow: hidden; aspect-ratio: 16/9.5; --pos: 50%; touch-action: none; }
.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.82); }
.ba .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--brass); pointer-events: none; }
.ba .knob {
  position: absolute; top: 50%; left: var(--pos);
  translate: -50% -50%;
  width: 46px; height: 46px;
  border-radius: 999px;
  border: 1px solid var(--brass);
  background: var(--bg);
  color: var(--brass);
  display: grid; place-content: center;
  font-weight: 700;
  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; bottom: 1rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); background: oklch(0.17 0.015 55 / 0.8); padding: 0.35rem 0.8rem; pointer-events: none; }
.ba .tag.links { left: 1rem; }
.ba .tag.rechts { right: 1rem; }
.ba-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 1.25rem; }

/* Kontakt */
.kontakt { background: var(--bg-lift); border-block: 1px solid var(--line); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.kontakt address { font-style: normal; display: grid; gap: 1rem; }
.kontakt .k-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); display: block; margin-bottom: 0.2rem; }
.kontakt a { color: var(--ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--brass); }
.kontakt .frei { color: var(--muted); font-size: 0.95rem; }

/* Fußzeile */
footer { padding: 1.75rem 0; font-size: 0.875rem; 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-grid > * { animation: rise 800ms var(--ease) both; }
  .hero-img { animation-delay: 150ms; }
  @keyframes rise { from { opacity: 0.001; translate: 0 18px; } }
}

@media (max-width: 860px) {
  .hero-grid, .gewerke, .galerie, .kontakt-grid { grid-template-columns: 1fr; }
  .hero-img::after { inset: 0.75rem -0.5rem -0.75rem 0.75rem; }
  .nav ul { display: none; }
}
