:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --line: #26262a;
  --text: #f2f0ec;
  --muted: #9a978f;
  --accent: #ff5a1f;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #000; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(11, 11, 12, .86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
  padding-block: 12px;
}
.brand {
  font: 700 22px/1 var(--display);
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}
.brand span { color: var(--accent); font-style: italic; }
.nav nav { display: flex; gap: clamp(12px, 3vw, 32px); align-items: center; }
.nav nav a {
  font: 500 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav nav a:hover, .nav nav a.active { color: var(--text); }
.nav .nav-cta { color: var(--text); border: 1px solid var(--accent); padding: 9px 14px; }
.nav .nav-cta:hover { background: var(--accent); color: #000; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  display: flex; align-items: flex-end;
  padding: 0 var(--gutter) clamp(48px, 9vh, 96px);
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.6s ease, transform 7s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(11,11,12,.55) 35%, rgba(11,11,12,.1) 70%, rgba(11,11,12,.5) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; }
.eyebrow {
  font: 500 14px/1 var(--display); letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--accent); }
.hero h1 {
  font: italic 700 clamp(56px, 11vw, 168px)/.86 var(--display);
  text-transform: uppercase; letter-spacing: -.01em;
}
.hero h1 em { font-style: italic; color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.hero p { margin-top: 22px; max-width: 520px; color: #cfccc5; font-size: 17px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 15px/1 var(--display); letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 24px; background: var(--accent); color: #000;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); background: #ff7440; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: var(--text); background: rgba(255,255,255,.06); }
.hero-meta {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 9vh, 96px); z-index: 2;
  text-align: right; font: 500 13px/1.5 var(--display); letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.hero-meta b { display: block; color: var(--text); font-size: 15px; }
.hero-bar { display: flex; gap: 6px; justify-content: flex-end; margin-top: 12px; }
.hero-bar i { width: 22px; height: 2px; background: rgba(255,255,255,.25); }
.hero-bar i.on { background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 12vw, 140px) var(--gutter); max-width: 1600px; margin: 0 auto; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2, .page-title {
  font: italic 700 clamp(44px, 7vw, 96px)/.9 var(--display); text-transform: uppercase;
}
.stats { display: flex; gap: clamp(24px, 4vw, 56px); }
.stats div { font: 700 40px/1 var(--display); }
.stats span {
  display: block; margin-top: 6px; font: 500 12px/1 var(--display);
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filters-wrap { margin-bottom: 28px; }
.filters.sub { align-items: center; }
.filters.sub span { font: 500 12px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--accent); margin-right: 6px; }
.filters.sub button { padding: 8px 13px; font-size: 13px; }
.filters.sub button.on { background: var(--accent); border-color: var(--accent); }
.filters button {
  font: 500 14px/1 var(--display); letter-spacing: .16em; text-transform: uppercase;
  background: none; color: var(--muted); border: 1px solid var(--line);
  padding: 10px 16px; cursor: pointer; transition: all .2s;
}
.filters button:hover { color: var(--text); border-color: #444; }
.filters button.on { background: var(--text); color: #000; border-color: var(--text); }

/* ---------- Album-Karten ---------- */
.albums {
  display: grid; gap: clamp(10px, 1.4vw, 18px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.card {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2);
}
.card.wide { grid-column: span 2; aspect-ratio: auto; }
@media (max-width: 820px) { .card.wide { grid-column: auto; aspect-ratio: 4 / 5; } }
.card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .6s;
  filter: saturate(.92);
}
.card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 55%);
}
.card:hover img { transform: scale(1.05); filter: saturate(1.08); }
.card-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(18px, 2vw, 28px); }
.card-cat {
  font: 500 12px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--accent);
}
.card h3 {
  margin-top: 8px; font: italic 700 clamp(30px, 3vw, 42px)/.95 var(--display); text-transform: uppercase;
}
.card-meta {
  margin-top: 10px; display: flex; gap: 14px; color: #bdbab3;
  font: 500 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
}
.card-arrow {
  position: absolute; right: clamp(18px, 2vw, 28px); bottom: clamp(18px, 2vw, 28px); z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4); font-size: 20px;
  transition: all .3s;
}
.card:hover .card-arrow { background: var(--accent); border-color: var(--accent); color: #000; transform: rotate(-45deg); }

/* ---------- Highlight-Streifen ---------- */
.strip { overflow: hidden; padding-block: 8px; border-block: 1px solid var(--line); }
.strip-track { display: flex; gap: 8px; width: max-content; animation: marquee 80s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip img { height: clamp(160px, 22vw, 280px); width: auto; cursor: zoom-in; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .hero-slide { transition: opacity .6s; transform: none !important; }
}

/* ---------- Über mich / Kontakt ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-img { max-width: 440px; } }
.about-img { position: relative; }
.about-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about-img::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); z-index: -1;
}
.about h2 { margin-bottom: 24px; }
.about p { color: #cfccc5; margin-bottom: 18px; max-width: 560px; }
.gear { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.gear div { background: var(--bg); padding: 18px; }
.gear small { display: block; font: 500 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.gear b { font: 600 18px/1.2 var(--display); letter-spacing: .04em; }

.contact { text-align: center; border-top: 1px solid var(--line); }
.contact h2 { font: italic 700 clamp(48px, 9vw, 132px)/.9 var(--display); text-transform: uppercase; }
.contact h2 span { color: var(--accent); }
.contact p { color: #cfccc5; max-width: 620px; margin: 24px auto 36px; }
.contact .hero-actions { justify-content: center; }
.services { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 48px; color: var(--muted);
  font: 500 14px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.services span::before { content: '◆ '; color: var(--accent); font-size: 10px; vertical-align: 2px; }

/* ---------- Albumseite ---------- */
.album-hero {
  position: relative; min-height: 62svh; display: flex; align-items: flex-end;
  padding: 120px var(--gutter) 48px; overflow: hidden;
}
.album-hero .hero-slide { opacity: 1; transform: none; }
.album-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg), rgba(11,11,12,.45) 60%, rgba(11,11,12,.6));
}
.album-hero > div:not(.hero-slide) { position: relative; z-index: 2; }
.back { display: inline-block; margin-bottom: 20px; color: var(--muted);
  font: 500 14px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.back:hover { color: var(--text); }
.album-hero .card-meta { margin-top: 18px; font-size: 14px; }
.album-hero .card-meta a { color: var(--accent); }

/* Justified Grid: Breite proportional zum Seitenverhältnis */
.grid { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 var(--gutter); max-width: 1800px; margin: 0 auto; }
.grid::after { content: ''; flex-grow: 999; }
.grid a {
  flex: calc(var(--r) * 100) 1 calc(var(--r) * clamp(170px, 22vw, 320px));
  position: relative; overflow: hidden; background: var(--bg-2) center / cover no-repeat;
  cursor: zoom-in;
}
.grid a::before { content: ''; display: block; padding-bottom: calc(100% / var(--r)); }
.grid img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s, transform .8s cubic-bezier(.2,.7,.2,1);
}
.grid img.loaded { opacity: 1; }
.grid a:hover img { transform: scale(1.03); }

.next-album { display: block; margin: clamp(64px, 10vw, 120px) var(--gutter) 0; padding: 40px 0; border-top: 1px solid var(--line);
  max-width: 1800px; }
.next-album small { color: var(--muted); font: 500 14px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; }
.next-album div { font: italic 700 clamp(40px, 7vw, 88px)/1 var(--display); text-transform: uppercase; margin-top: 10px; transition: color .2s; }
.next-album:hover div { color: var(--accent); }

/* ---------- Textseiten ---------- */
.legal { padding-top: 140px; max-width: 760px; }
.legal h1 { margin-bottom: 32px; }
.legal h2 { font: 700 24px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; margin: 32px 0 10px; }
.legal p { color: #cfccc5; margin-bottom: 12px; }
.todo { border-left: 3px solid var(--accent); padding: 12px 16px; background: var(--bg-2); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(5,5,6,.97);
  display: flex; align-items: center; justify-content: center;
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { max-width: calc(100vw - 140px); max-height: 100svh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100svh - 110px); max-width: 100%; object-fit: contain; }
.lightbox figcaption {
  margin-top: 16px; padding: 0 16px; display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: center;
  color: var(--muted); font: 500 13px/1.3 var(--display); letter-spacing: .14em; text-transform: uppercase;
}
.lightbox figcaption b { color: var(--text); font-weight: 500; }
.lb-btn {
  position: absolute; background: none; border: 0; color: var(--text); cursor: pointer;
  font-size: 44px; line-height: 1; width: 64px; height: 64px; opacity: .6; transition: opacity .2s, color .2s;
}
.lb-btn:hover { opacity: 1; color: var(--accent); }
.lb-close { top: 12px; right: 12px; font-size: 26px; }
.lb-prev { left: 8px; top: 50%; translate: 0 -50%; }
.lb-next { right: 8px; top: 50%; translate: 0 -50%; }
@media (max-width: 700px) {
  .lightbox figure { max-width: 100vw; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; translate: none; }
  .lightbox img { max-height: calc(100svh - 170px); }
}

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 32px var(--gutter); border-top: 1px solid var(--line); margin-top: clamp(64px, 10vw, 120px);
  color: var(--muted); font: 500 13px/1 var(--display); letter-spacing: .18em; text-transform: uppercase;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .hero .eyebrow { letter-spacing: .16em; font-size: 12px; line-height: 1.7; flex-wrap: wrap; }
  .hero .eyebrow::before { display: none; }
  /* zwei bis drei Bilder pro Reihe statt einem */
  .grid { gap: 4px; }
  .grid a { flex-basis: calc(var(--r) * 120px); }
  .nav nav a:not(.nav-cta) { display: none; }
  .hero-meta { display: none; }
  .stats div { font-size: 32px; }
}
