/* Richtung 03 — Bildstark. Voice: Maserung, Tageslicht, Werkstatt.
   Die Fotos SIND das Design: Vollbild-Hero, große Bildflächen, wenig Text.
   Typo: Bricolage Grotesque (Display) + Hanken Grotesk (Text). */

:root {
  --bg: oklch(0.16 0.012 60);
  --paper: oklch(0.97 0.006 80);
  --ink-on-dark: oklch(0.95 0.01 80);
  --ink: oklch(0.22 0.015 60);
  --muted-on-dark: oklch(0.75 0.02 75);
  --muted: oklch(0.45 0.02 60);
  --amber: oklch(0.75 0.13 70);
  --scrim: oklch(0.13 0.02 60 / 0.55);
  --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-on-dark);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

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

/* Einheitliches Foto-Grading: die 2010er-Bilder werden satter, wärmer, kontrastreicher.
   Gleicht Farbstiche zwischen den Aufnahmen an — größter Hebel bleibt trotzdem: neue Fotos. */
.hero > img, .band > img, .ba img, .ld > img {
  filter: contrast(1.1) saturate(1.14) brightness(0.99) sepia(0.06);
}
.ba .before { filter: sepia(0.5) saturate(0.5) contrast(0.85) brightness(0.85); }

:focus-visible { outline: 2.5px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; margin: 0; line-height: 1.05; text-wrap: balance; }

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

/* Navigation liegt auf dem Hero */
header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
}

.nav { display: flex; align-items: center; gap: 1.5rem; padding: 1.25rem 0; }
.brand { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.15rem; color: #fff; text-decoration: none; text-shadow: 0 1px 8px oklch(0 0 0 / 0.4); }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; text-shadow: 0 1px 6px oklch(0 0 0 / 0.5); }
.nav ul a:hover { color: var(--amber); }

.cta {
  background: var(--amber);
  color: oklch(0.2 0.03 70);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: filter 160ms var(--ease);
}
.cta:hover { filter: brightness(1.08); }

/* Vollbild-Hero: das Foto ist die Bühne */
.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: end center;
  isolation: isolate;
}

.hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Ken-Burns: kaum merkliches Wachsen gibt dem Hero Leben */
@media (prefers-reduced-motion: no-preference) {
  .hero > img { animation: kenburns 24s var(--ease) both; }
  @keyframes kenburns { from { scale: 1; } to { scale: 1.07; } }
}

.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, transparent 30%, oklch(0.13 0.02 60 / 0.35) 100%),
    linear-gradient(to top, oklch(0.13 0.02 60 / 0.88) 0%, oklch(0.13 0.02 60 / 0.2) 45%, oklch(0.13 0.02 60 / 0.4) 100%);
  z-index: -1;
}

.hero-inner { text-align: center; padding: 0 1.25rem clamp(3rem, 9vh, 5.5rem); max-width: 60rem; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; color: #fff; }
.hero .lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted-on-dark); margin: 1.25rem auto 2rem; max-width: 48ch; }
.hero-actions { display: flex; gap: 0.875rem; justify-content: center; flex-wrap: wrap; }

.btn-ghost {
  color: #fff;
  border: 1.5px solid oklch(1 0 0 / 0.6);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.btn-ghost:hover { background: oklch(1 0 0 / 0.12); border-color: #fff; }

/* Bild-Text-Bänder */
.band { position: relative; min-height: 70svh; display: grid; align-items: center; isolation: isolate; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; background: var(--scrim); z-index: -1; }

.band-inner { padding: clamp(3rem, 8vw, 5rem) 0; max-width: 34rem; }
.band-inner.rechts { margin-left: auto; text-align: right; }
.band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); color: #fff; margin-bottom: 1rem; }
.band p { color: var(--muted-on-dark); font-size: 1.1rem; }
.band .mehr { color: var(--amber); font-weight: 700; text-decoration: none; display: inline-block; margin-top: 1rem; transition: translate 180ms var(--ease); }
.band .mehr:hover { text-decoration: underline; text-underline-offset: 4px; translate: 3px 0; }
.band h2, .band p { text-shadow: 0 1px 12px oklch(0 0 0 / 0.35); }

/* Heller Einschub: Leistungen kompakt */
.leistungen { background: var(--paper); color: var(--ink); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.leistungen h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.leistungen .intro { color: var(--muted); max-width: 56ch; margin-bottom: 2.5rem; }

.l-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid oklch(0.85 0.01 70); }
.l-cell { padding: 1.5rem; border-right: 1px solid oklch(0.85 0.01 70); border-bottom: 1px solid oklch(0.85 0.01 70); }
.l-cell:nth-child(3n) { border-right: none; }
.l-cell:nth-child(n+4) { border-bottom: none; }
.l-cell h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.l-cell p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Vorher/Nachher auf dunkel */
.ba-sektion { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.ba-sektion h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); text-align: center; color: #fff; margin-bottom: 0.75rem; }
.ba-sektion .intro { text-align: center; color: var(--muted-on-dark); margin-bottom: 2.5rem; }

.ba { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 16/9; --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.85); }
.ba .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--amber); translate: -1px 0; pointer-events: none; }
.ba .knob {
  position: absolute; top: 50%; left: var(--pos);
  translate: -50% -50%;
  width: 46px; height: 46px;
  border-radius: 999px;
  background: var(--amber); color: oklch(0.2 0.03 70);
  display: grid; place-content: center;
  font-weight: 800;
  pointer-events: none;
  box-shadow: 0 4px 16px oklch(0 0 0 / 0.45);
}
.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; background: oklch(0 0 0 / 0.6); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 3px; pointer-events: none; }
.ba .tag.links { left: 1rem; }
.ba .tag.rechts { right: 1rem; }
.ba-note { text-align: center; color: var(--muted-on-dark); font-size: 0.9rem; margin-top: 1rem; }

/* Kontakt */
.kontakt { background: var(--paper); color: var(--ink); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.kontakt h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
.kontakt p { color: var(--muted); max-width: 46ch; }
.kontakt address { font-style: normal; display: grid; gap: 0.875rem; font-size: 1.05rem; }
.kontakt address a { color: var(--ink); font-weight: 700; }
.kontakt .tel {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid var(--amber);
}

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

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

@media (max-width: 860px) {
  .l-grid { grid-template-columns: 1fr; }
  .l-cell { border-right: none !important; border-bottom: 1px solid oklch(0.85 0.01 70) !important; }
  .l-cell:last-child { border-bottom: none !important; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .band-inner.rechts { margin-left: 0; text-align: left; }
  .nav ul { display: none; }
}
