/* Layout: schwarze Galerie. Kopfzeile mit Logo und zwei Menüpunkten, darunter volle Breite für Bilder.
   Violett/Flieder nur als Akzent (Links, aktive Navigation, Jahres-Linien, Hover). Bewusst nur ein dunkles Thema. */
:root {
  --bg: #0A090C;          /* fast Schwarz, leicht violett */
  --surface: #131017;
  --line: #262030;
  --fg: #E7E2ED;          /* gebrochenes Weiß */
  --muted: #9A91A6;
  --accent: #B9A0E6;      /* Flieder */
  --accent-deep: #4A2E6A; /* tiefes Violett */
  --display: "Play", "Segoe UI", system-ui, sans-serif;
  --body: "Play", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}

@font-face { font-family: "Play"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/play-400.woff") format("woff"); }
@font-face { font-family: "Play"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/play-700.woff") format("woff"); }

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--fg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Kopf */
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-block: 22px; }
.brand { display: block; line-height: 0; }
.brand img { width: min(300px, 62vw); }
.nav { display: flex; gap: 28px; font: 700 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.nav a { color: var(--fg); text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Fuß */
.site-foot { margin-top: 96px; border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-block: 24px 40px; color: var(--muted); font-size: 14px; }
.site-foot nav { display: flex; gap: 22px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }

/* Typo */
.eyebrow { margin: 0; font: 700 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: .01em; text-wrap: balance; }
.page-title { margin: 8px 0 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.lead { color: var(--muted); max-width: 62ch; margin: 14px 0 0; }

/* Startseite */
.hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background: var(--surface); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,9,12,0) 35%, rgba(10,9,12,.55) 65%, rgba(10,9,12,.96) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 48px; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { margin: 0; font-size: clamp(30px, 4.6vw, 58px); line-height: 1.04; max-width: 18ch; }
.hero p { margin: 0; color: #CFC7D9; max-width: 52ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--accent); color: var(--fg); background: rgba(74,46,106,.35); font: 700 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; transition: background-color .15s ease; }
.btn:hover { background: var(--accent-deep); color: var(--fg); }
.btn--quiet { border-color: var(--line); background: transparent; }
.btn--quiet:hover { border-color: var(--accent); background: transparent; }
.social { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.social a { color: #CFC7D9; text-decoration: none; padding-block: 6px; border-bottom: 1px solid transparent; }
.social a::after { content: " ↗"; color: var(--accent); }
.social a:hover { color: var(--fg); border-bottom-color: var(--accent); }

.latest { padding-top: 56px; display: flex; flex-direction: column; gap: 18px; }
.latest__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.latest__head h2 { margin: 0; font-size: 22px; }

/* Portfolio */
.page-head { padding-top: 28px; padding-bottom: 8px; }
.tabs { display: flex; gap: 24px; margin-top: 26px; border-bottom: 1px solid var(--line); font: 700 14px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.tabs a { color: var(--muted); text-decoration: none; padding-bottom: 12px; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.tabs a:hover { color: var(--fg); }
.tabs a[aria-current="page"] { color: var(--fg); border-bottom-color: var(--accent); }

.year { padding-top: 44px; display: flex; flex-direction: column; gap: 16px; }
.year h2 { margin: 0; display: flex; align-items: center; gap: 16px; font-size: 20px; color: var(--fg); font-variant-numeric: tabular-nums; }
.year h2::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent-deep), transparent); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 45%), 1fr)); gap: 6px; }
.grid a { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.grid .cap { position: absolute; inset: auto 0 0 0; padding: 30px 12px 10px; background: linear-gradient(180deg, transparent, rgba(10,9,12,.92)); color: var(--fg); font: 700 14px/1.2 var(--display); letter-spacing: .02em; opacity: 0; transition: opacity .25s ease; }
.grid a:hover img, .grid a:focus-visible img { transform: scale(1.03); filter: saturate(1.06); }
.grid a:hover .cap, .grid a:focus-visible .cap { opacity: 1; }

/* Bildseite */
.photo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-top: 12px; }
.photo__img { justify-self: end; width: auto; max-width: 100%; max-height: calc(100vh - 140px); }
.photo__info { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; min-width: 0; }
.photo__info h1 { margin: 0; font-size: 32px; line-height: 1.1; }
.photo__info p { margin: 0; color: #CDC6D6; }
.meta { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.pager { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font: 700 14px/1.3 var(--display); letter-spacing: .06em; }
.pager a { text-decoration: none; }
.pager span { color: var(--line); }
.back { font: 700 13px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }

/* Videos */
.videos { list-style: none; margin: 0; padding: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 40px 28px; }
.videos li { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.videos video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--surface); border: 1px solid var(--line); }
.videos h2 { margin: 0; font-size: 22px; }
.videos p { margin: 0; color: #CDC6D6; }

/* Textseiten */
.prose { max-width: 68ch; padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.prose h1 { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.prose h2 { margin: 18px 0 0; font-size: 22px; }
.prose p, .prose ul { margin: 0; }
.prose ul { padding-left: 1.1em; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--fg); }

@media (max-width: 960px) {
  .photo { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .photo__img { justify-self: stretch; width: 100%; max-height: none; }
  .photo__info { position: static; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { gap: 20px; font-size: 14px; }
  .hero { min-height: 72vh; }
  .site-foot { margin-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
