/* MIKETIKE – Cinematography */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */

@font-face {
  font-family: "Abel";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/abel-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Pathway Gothic One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pathway-gothic-one-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Pathway Gothic One";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pathway-gothic-one-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-400.woff2") format("woff2");
}

:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --bg-3: #1c1c1c;
  --line: #2a2a2a;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --accent: #ffed00;
  --rec: #ff3b30;
  --max: 1240px;
  --bar-h: 76px; /* Höhe der Menüleiste = oberer Letterbox-Balken */
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-head: "Pathway Gothic One", "Arial Narrow", sans-serif;
  --font-body: "Abel", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

*, *::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-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Topbar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.topbar.is-scrolled,
body:not(.has-hero) .topbar {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--bar-h);
}

.logo img {
  width: 170px;
  filter: invert(1);
}

.nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  position: relative;
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover { color: var(--accent); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin-bottom: 8px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle span:last-child { margin-bottom: 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  animation: slowzoom 18s var(--ease) forwards;
}

@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.35) 45%, rgba(0,0,0,0.2) 100%);
}

/* Letterbox-Balken */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-top: var(--bar-h) solid var(--bg);
  border-bottom: 5vh solid #000;
}

/* Sucher-Ecken */
.viewfinder {
  position: absolute;
  inset: calc(var(--bar-h) + 28px) var(--gutter) calc(5vh + 24px);
  z-index: 3;
  pointer-events: none;
}

.viewfinder i {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 0 solid rgba(255, 255, 255, 0.55);
}
.viewfinder i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.viewfinder i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.viewfinder i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.viewfinder i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }

.rec {
  position: absolute;
  top: 14px;
  right: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.8);
}

.rec::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rec);
  animation: blink 1.4s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.slate {
  position: absolute;
  top: 14px;
  left: 44px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.8);
}

.hero-content {
  position: absolute;
  z-index: 4;
  left: 0; right: 0;
  bottom: calc(5vh + 56px);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(52px, 9vw, 140px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero h1 .sep { color: var(--accent); }

.hero .kicker {
  margin-top: 18px;
  font-size: clamp(18px, 2vw, 24px);
  color: #d8d8d8;
}

.scroll-hint {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: calc(5vh + 60px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  color: var(--muted);
  text-decoration: none;
}

/* ---------- Seiten-Kopf (Unterseiten) ---------- */

.page-head {
  padding: 170px 0 60px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
  font-weight: 400;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.page-head h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 150px);
  line-height: 0.9;
  text-transform: uppercase;
}

/* ---------- Abschnitte ---------- */

.section { padding: 90px 0; }

.about {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.about figure { margin: 0; position: relative; }

.about figure img {
  width: 100%;
  filter: grayscale(1) contrast(1.05);
}

.about figure::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--accent);
  z-index: -1;
}

.about-text { position: relative; z-index: 1; }

.about-text .lead {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.about-text p + p { margin-top: 22px; }
.about-text p:not(.lead) { color: #cfcfcf; }

/* ---------- Kontakt ---------- */

.contact-intro strong { font-weight: 400; color: var(--muted); display: block; margin-bottom: 18px; }

.contact-lines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-lines a {
  display: block;
  padding: 26px 24px;
  background: var(--bg);
  text-decoration: none;
  transition: background 0.2s;
}

.contact-lines a:hover { background: var(--bg-3); }

.contact-lines small {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.contact-lines span {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.4vw, 30px);
  word-break: break-word;
}

/* ---------- Impressum ---------- */

.legal {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px 64px;
  max-width: 980px;
}

.legal h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 6px;
}

.legal-block { color: #cfcfcf; }
.legal-block p + p { margin-top: 14px; }
.legal-block a { color: var(--text); }
.legal-block a:hover { color: var(--accent); }

/* ---------- Kontaktband & Footer ---------- */

.band {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 70px 0;
}

.band .wrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.band-logo img { width: 230px; filter: invert(1); }

.band-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 40px;
  font-size: 18px;
}

.band-contact a { text-decoration: none; }
.band-contact a:hover { color: var(--accent); }
.band-contact b { color: var(--muted); font-weight: 400; margin-right: 6px; }
.band-contact .copy { flex-basis: 100%; text-align: right; color: var(--muted); font-size: 15px; }

.site-footer {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
}

.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

.meta-links a + a::before { content: "·"; margin: 0 10px; color: #555; }

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .nav-toggle { display: block; position: relative; z-index: 60; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    padding: 0 var(--gutter);
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }

  body.nav-open { overflow: hidden; }
  /* backdrop-filter würde das fixierte Overlay auf die Topbar begrenzen */
  body.nav-open .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open .nav { opacity: 1; visibility: visible; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

  .nav ul { flex-direction: column; gap: 8px; }
  .nav a { font-size: 56px; line-height: 1.2; }
  .nav a::after { display: none; }

  .logo { position: relative; z-index: 60; }
  .logo img { width: 140px; }

  .about { grid-template-columns: 1fr; }
  .about figure::after { inset: 10px -10px -10px 10px; }

  .contact-lines { grid-template-columns: 1fr; }
  .legal { grid-template-columns: 1fr; gap: 28px; }

  .band .wrap { grid-template-columns: 1fr; }
  .band-contact { justify-content: flex-start; flex-direction: column; }
  .band-contact .copy { text-align: left; }
}

@media (max-width: 560px) {
  :root { --bar-h: 64px; }
  body { font-size: 18px; }
  .slate { left: 16px; }
  .rec { right: 16px; }
  .viewfinder { inset: calc(var(--bar-h) + 20px) 16px calc(5vh + 16px); }
  .viewfinder i { width: 18px; height: 18px; }
  .hero-content { bottom: calc(5vh + 40px); }
  .scroll-hint { display: none; }
  .page-head { padding: 130px 0 40px; }
  .section { padding: 56px 0; }
  .site-footer .wrap { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
