/* Holger Fleig — site styles */
:root {
  --bg: #0c0c0d;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --line: #2a2a2e;
  --text: #ecebe8;
  --muted: #9a9892;
  --accent: #f5a01a;
  --accent-ink: #1a1000;
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
  --font-display: "Avenir Next Condensed", "Helvetica Neue", "Arial Narrow", system-ui, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 600 12px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: .01em; line-height: 1.05; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4vw, 48px); text-transform: uppercase; }
.lead { color: var(--muted); font-size: 19px; max-width: 60ch; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px;
  font: 600 14px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
}
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #ffb43d; color: var(--accent-ink); }
.textlink { font: 600 13px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.textlink:hover { color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand b { font: 600 21px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; }
.brand span { font: 500 11px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.nav { display: flex; gap: 28px; }
.nav a { font: 600 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--muted); padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--accent); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent); }
}

/* Hero */
.hero { position: relative; overflow: hidden; min-height: min(88vh, 820px); display: flex; align-items: flex-end; padding: 0; }
.hero-wall {
  position: absolute; inset: -10% -5%; display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px;
  transform: rotate(-6deg) scale(1.1); opacity: .42; animation: drift 90s linear infinite alternate;
}
.hero-wall img { width: 100%; aspect-ratio: 716/1013; object-fit: cover; border-radius: 2px; filter: grayscale(.35); }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(12,12,13,.55) 0%, rgba(12,12,13,.25) 35%, rgba(12,12,13,.92) 82%, var(--bg) 100%),
  radial-gradient(ellipse at 20% 80%, rgba(12,12,13,.85), transparent 60%); }
@keyframes drift { from { transform: rotate(-6deg) scale(1.1) translateY(0); } to { transform: rotate(-6deg) scale(1.1) translateY(-12%); } }
@media (prefers-reduced-motion: reduce) { .hero-wall { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 700px) { .hero-wall { grid-template-columns: repeat(5, 1fr); } }
.hero-content { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vw, 96px); padding-top: 120px; }
.hero h1 { font-size: clamp(52px, 10vw, 136px); text-transform: uppercase; letter-spacing: .02em; line-height: .92; }
.hero h1 small { display: block; font-size: .3em; letter-spacing: .14em; color: var(--accent); margin-top: 18px; font-weight: 500; }
.hero .lead { color: #c9c7c1; margin: 24px 0 32px; }
.specialties { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 32px; padding: 0; list-style: none; }
.specialties li { font: 600 13px/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--text); display: flex; align-items: center; gap: 22px; }
.specialties li + li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page header (sub pages) */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(40px, 7vw, 88px); text-transform: uppercase; }
.page-head .lead { margin-top: 18px; }

/* Filter */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 32px 0 8px; }
.filters button { font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Project grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: clamp(16px, 2vw, 28px) clamp(14px, 1.6vw, 22px); }
@media (max-width: 480px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.card { position: relative; text-decoration: none; display: block; }
.card .poster { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-3); aspect-ratio: 716/1013; }
.card .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .5s; }
.card .play {
  position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(12,12,13,.7); display: grid; place-items: center; color: var(--text); transition: background .3s, color .3s;
}
a.card:hover .poster img { transform: scale(1.04); filter: brightness(1.08); }
a.card:hover .play { background: var(--accent); color: var(--accent-ink); }
a.card:hover h3 { color: var(--accent); }
.card h3 { font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-top: 14px; text-transform: none; transition: color .2s; }
.card .sub { font-size: 14px; color: var(--text); opacity: .75; }
.card .roles { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.card[hidden] { display: none; }

/* Showreels */
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.reel h3 { font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-top: 14px; }
.reel.main { grid-column: 1 / -1; }
.reel.main h3 { display: none; }

/* Video player (click to load) */
.player { position: relative; aspect-ratio: 16/9; background: var(--bg-3); border-radius: var(--radius); overflow: hidden; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-btn {
  position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; color: var(--text);
  background: radial-gradient(ellipse at center, #26262a 0%, #121214 75%); display: grid; place-items: center; font: inherit;
}
.player-btn .bgimg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(22px) brightness(.45) saturate(1.2); }
.player-btn .ring {
  position: relative; width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.6); display: grid; place-items: center; transition: all .25s;
}
.player-btn:hover .ring { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.06); }
.player-btn .label { position: absolute; left: 20px; bottom: 16px; right: 20px; text-align: left; font-size: 12px; color: rgba(236,235,232,.65); }
.player-btn .label b { display: block; font: 600 clamp(15px, 2vw, 20px)/1.2 var(--font-display); color: var(--text); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }

/* Equipment / specialties */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.equip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 40px; }
.equip div { border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 32px; }
.equip h3 { font-family: var(--font); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.equip ul { list-style: none; padding: 0; margin: 0; color: #cfcdc8; }
.equip li { padding: 3px 0; }
.equip a { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about img { border-radius: var(--radius); width: 100%; filter: grayscale(.15); }
.about p { color: #cfcdc8; max-width: 62ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 40px; margin-top: 36px; }
.facts div { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 24px; }
.facts h3 { font-family: var(--font); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.facts ul { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 3px 0; }

/* Project detail */
.project { padding-top: clamp(32px, 5vw, 64px); }
.back { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 28px; }
.project-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .project-grid { grid-template-columns: 1fr; } }
.project h1 { font-size: clamp(36px, 6vw, 72px); text-transform: uppercase; }
.project .subtitle { font-size: clamp(18px, 2.2vw, 24px); color: var(--muted); margin-top: 10px; }
.project .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 32px; padding: 0; list-style: none; }
.project .tags li { font: 600 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #cfcdc8; }
.credits { margin: 0; display: grid; gap: 0; }
.credits div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.credits dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.credits dd { margin: 0; }
.aside-poster { border-radius: var(--radius); margin-bottom: 28px; }
@media (max-width: 860px) { .aside-poster { max-width: 220px; } }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(48px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line); }
.pager a { text-decoration: none; max-width: 45%; }
.pager small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pager span { font-weight: 600; }
.pager .next { text-align: right; margin-left: auto; }

/* Contact */
.contact-big { font: 600 clamp(28px, 5.4vw, 68px)/1.05 var(--font-display); text-transform: uppercase; text-decoration: none; display: inline-block; word-break: break-word; }
.contact-big:hover { color: var(--accent); }
.contact-lines { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 28px; color: var(--muted); }
.contact-lines a { color: var(--text); }

/* Legal text */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; text-transform: none; font-family: var(--font); margin: 40px 0 10px; }
.legal p, .legal li { color: #cfcdc8; }
.todo { background: #4a2d00; color: #ffd08a; padding: 2px 6px; border-radius: 3px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { text-decoration: none; }

/* Placeholder card (no poster yet) */
.ph { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 18px;
  background: radial-gradient(ellipse at 30% 20%, #2b2418 0%, #161515 60%, #101011 100%); border: 1px solid var(--line); border-radius: var(--radius); }
.ph::before { content: ""; position: absolute; top: 18px; left: 18px; width: 28px; height: 2px; background: var(--accent); }
.ph-year { font: 600 12px/1 var(--font); letter-spacing: .16em; color: var(--accent); }
.ph-title { font: 600 clamp(20px, 2.2vw, 26px)/1.05 var(--font-display); text-transform: uppercase; color: var(--text); text-wrap: balance; }
.ph-sub { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ShotPlan landing page */
.sp-hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px);
  background: radial-gradient(ellipse 70% 60% at 85% 30%, rgba(120,180,240,.16), transparent 70%), radial-gradient(ellipse 50% 50% at 10% 90%, rgba(245,160,26,.08), transparent 70%); }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .sp-hero-grid { grid-template-columns: 1fr; } }
.sp-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 28px; box-shadow: 0 12px 40px rgba(120,180,240,.25); }
.sp-hero h1 { font-size: clamp(56px, 9vw, 112px); text-transform: none; letter-spacing: -.01em; }
.sp-claim { font: 600 clamp(22px, 2.8vw, 32px)/1.2 var(--font-display); color: var(--accent); margin: 12px 0 0; }
.sp-hero .lead { margin: 18px 0 30px; color: #c9c7c1; }
.sp-status { font-size: 14px; color: var(--muted); margin-top: 18px; }
.sp-device { background: #1f1f22; border: 1px solid #3a3a40; border-radius: 28px; padding: clamp(10px, 1.4vw, 18px);
  box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.04); transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.sp-device img { border-radius: 14px; width: 100%; }
@media (max-width: 900px) { .sp-device { transform: none; } }
.sp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .sp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sp-features { grid-template-columns: 1fr; } }
.sp-feature { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.sp-ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(120,180,240,.12); color: #8cc4f5; margin-bottom: 18px; }
.sp-feature h3 { font-family: var(--font); font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.sp-feature p { margin: 0; color: #b9b7b1; font-size: 15px; }
.sp-steps { list-style: none; margin: 0; padding: 0; }
.sp-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.sp-steps li > span { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-weight: 600; }
.sp-steps h3 { font-family: var(--font); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.sp-steps p { margin: 0; color: #b9b7b1; }
.sp-export { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .sp-export { grid-template-columns: 1fr; } }
.sp-sheet { border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }

/* Genre sections (Cinematographer page) */
.chip { font: 600 12px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.genre { padding: clamp(40px, 5vw, 64px) 0 0; scroll-margin-top: 80px; }
.genre:last-of-type { padding-bottom: clamp(64px, 8vw, 104px); }
.genre h2 { font-size: clamp(24px, 3vw, 36px); }
.genre .section-head { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 28px; }
.genre .count { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card .sub.dir { font-size: 13px; opacity: .6; margin-top: 2px; }

/* Showreel als Popup */
.video-modal { padding: 0; border: 0; background: transparent; width: min(92vw, calc(84vh * 16 / 9), 1200px); max-width: none; max-height: none; overflow: visible; }
.video-modal::backdrop { background: rgba(5,5,6,.88); backdrop-filter: blur(6px); }
.video-modal[open] { animation: modal-in .25s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.video-modal-frame { position: relative; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; top: -48px; right: -4px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; }
.video-modal-close:hover { background: var(--accent); color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .video-modal[open] { animation: none; } }

/* Alle Projekte: Filter */
.filters button .n { opacity: .55; margin-left: 4px; font-weight: 500; }
.filters button:hover { border-color: var(--accent); color: var(--accent); }
.filters button[aria-pressed="true"]:hover { color: var(--bg); }
.page-head .filters { margin-top: 28px; }
.card[hidden] { display: none; }
#project-flat[hidden], .genre-view[hidden] { display: none; }
.genre-view .genre:first-child { padding-top: 32px; }
.genre-view .genre:last-child { padding-bottom: clamp(64px, 8vw, 104px); }
