:root {
  --bg: #f6f3ee;
  --ink: #16140f;
  --muted: #7a7468;
  --line: #ddd7cb;
  --accent: #8a6a3d;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Helvetica Neue", Inter, "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
code { background: #ebe6dc; padding: 2px 6px; border-radius: 3px; font-size: .9em; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .04em; }
.top nav { display: flex; gap: clamp(14px, 3vw, 36px); }
.top nav a {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
.top nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--ink); transition: width .3s;
}
.top nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: end;
}
.hero-img { height: 100svh; overflow: hidden; background: #e4ded1; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.8s ease-out both; }
@keyframes settle { from { transform: scale(1.06); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-text { padding: var(--gutter); padding-bottom: 12vh; }
.eyebrow { font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 8vw, 7rem); line-height: .95; letter-spacing: -.01em;
  margin-bottom: 36px;
}
.cta {
  display: inline-block; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
  border-bottom: 1px solid var(--ink); padding-bottom: 6px;
  transition: color .2s, border-color .2s;
}
.cta:hover { color: var(--accent); border-color: var(--accent); }

.hero-contact {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem);
}
.hero-contact a { border-bottom: 1px solid var(--line); transition: border-color .2s, color .2s; }
.hero-contact a:hover { border-color: var(--ink); color: var(--accent); }
.hero-contact span { color: var(--muted); font-size: .9em; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 140px) var(--gutter); }
.section h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: clamp(28px, 4vw, 56px);
}

/* ---------- Shoot-Raster ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(20px, 3vw, 44px); }
.card { display: block; }
.thumb { aspect-ratio: 3 / 4; overflow: hidden; background: #e4ded1; }
.thumb img, .noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.card:hover .thumb img { transform: scale(1.05); }
.cap { padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.cap h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.cap span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.empty { color: var(--muted); }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; border-top: 1px solid var(--line); }
.about:not(:has(.about-img)) { grid-template-columns: minmax(0, 720px); }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-text p { font-size: 1.05rem; max-width: 52ch; margin-bottom: 32px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 18px 28px; }
.stats dt { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.stats dd { font-family: var(--serif); font-size: 1.4rem; }

/* ---------- Kontakt ---------- */
.contact { border-top: 1px solid var(--line); }
.contact-links { display: flex; flex-wrap: wrap; gap: 14px 40px; font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2rem); }
.contact-links a { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.contact-links a:hover { border-color: var(--ink); }

/* ---------- Footer ---------- */
.foot {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 28px var(--gutter); border-top: 1px solid var(--line);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.foot a:hover { color: var(--ink); }

/* ---------- Shoot-Unterseite ---------- */
.shoot { padding: 120px var(--gutter) 40px; }
.shoot-head { max-width: 900px; margin-bottom: clamp(36px, 6vw, 80px); }
.shoot-head h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1; margin-bottom: 28px; }
.lead { font-size: 1.1rem; max-width: 60ch; margin-top: 28px; color: #3a362d; }

.gallery { columns: 3 320px; column-gap: clamp(12px, 2vw, 28px); }
.item { display: block; break-inside: avoid; margin: 0 0 clamp(12px, 2vw, 28px); overflow: hidden; background: #e4ded1; cursor: zoom-in; }
.item img { width: 100%; height: auto; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .6s; }
.item:hover img { transform: scale(1.03); }
.item.video { cursor: default; }
.item video { width: 100%; height: auto; background: #000; }

.shoot-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 0 24px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.shoot-nav a { border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.shoot-nav a:hover { border-color: var(--ink); }

/* ---------- Lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(10, 9, 7, .95);
  align-items: center; justify-content: center;
}
.lb.open { display: flex; }
.lb img { max-width: 92vw; max-height: 90vh; object-fit: contain; }
.lb button {
  position: absolute; background: none; border: 0; color: #f6f3ee;
  font-size: 2.2rem; cursor: pointer; padding: 18px; line-height: 1; opacity: .75;
}
.lb button:hover { opacity: 1; }
.lb .x { top: 6px; right: 10px; }
.lb .prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb .next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb .count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #bdb6a6; font-size: .72rem; letter-spacing: .2em; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Mobil ---------- */
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img { height: 70svh; }
  .hero-text { padding-top: 32px; padding-bottom: 56px; }
  .about { grid-template-columns: 1fr; }
  .top nav a:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Tag-Filter ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(24px, 3vw, 40px); }
.shoot-head .filters { margin: 24px 0 0; }
.chip {
  font: inherit; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.card[hidden], .none[hidden] { display: none; }

/* ---------- Hero-Buttons ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.cta-solid {
  background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  padding: 13px 22px; transition: background .2s, color .2s, border-color .2s;
}
.cta-solid:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.sedcard .cta-solid { margin-top: 8px; }

/* ---------- Sedcard-Seite ---------- */
.sed-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sed-photos { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.6vw, 20px); }
.sed-photo { display: block; overflow: hidden; background: #e4ded1; cursor: zoom-in; aspect-ratio: 3 / 4; }
.sed-photo.main { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.sed-photos.single .sed-photo.main { grid-column: 1 / -1; }
.sed-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.sed-photo:hover img { transform: scale(1.03); }
.sed-info { position: sticky; top: 100px; }
.sed-info h2 { font-family: var(--serif); font-weight: 300; font-size: 1.8rem; margin: 0 0 18px; }
.sed-info h2:not(:first-child) { margin-top: 44px; }
.sed-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
.sed-about { max-width: 46ch; }
.sed-contact { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-family: var(--serif); font-size: 1.35rem; }
.sed-contact a { border-bottom: 1px solid var(--line); transition: border-color .2s; }
.sed-contact a:hover { border-color: var(--ink); }
.sed-contact span { color: var(--muted); }
@media (max-width: 800px) {
  .sed-layout { grid-template-columns: 1fr; }
  .sed-info { position: static; }
}
