/* =========================================================
   ALEX SCHEURER – Stylesheet
   Farben & Schriften zentral hier oben ändern.
   ========================================================= */

:root {
  --bg: #0c0c0e;
  --bg-alt: #121215;
  --card: #18181c;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2efe9;
  --muted: #9a978f;
  --accent: #e3a94b;          /* Akzentfarbe (warmes Gold) */
  --accent-ink: #141008;

  --font: "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  --max: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Filmkorn-Overlay */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 100;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); }
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -.03em; line-height: 1.02; }
h2 { font-size: clamp(36px, 6vw, 72px); }
h3 { font-size: 22px; letter-spacing: -.01em; }
em { font-style: italic; font-weight: 300; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #f0bd65; }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.06); }
.btn-big { padding: 20px 38px; font-size: 17px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(12, 12, 14, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom-color: var(--line);
}
.logo { font-weight: 800; letter-spacing: .14em; font-size: 15px; }
.logo span { font-weight: 300; margin-left: 6px; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.nav-links a { color: var(--muted); transition: color .25s; }
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta { color: var(--text); border: 1px solid rgba(255,255,255,.3); padding: 9px 18px; border-radius: 999px; }
.nav-links .nav-cta:hover { background: var(--text); color: var(--bg); }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; z-index: 60; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav.open .nav-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--bg);
    font-size: 28px;
    opacity: 0; pointer-events: none;
    transition: opacity .35s;
  }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }
  .nav-links .nav-cta { font-size: 20px; padding: 14px 28px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 140px var(--pad) clamp(70px, 12vh, 130px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, rgba(227,169,75,.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(80,110,160,.14), transparent 60%),
    var(--bg);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,14,.35) 0%, rgba(12,12,14,.1) 40%, var(--bg) 100%); }
.hero-inner { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; }
.hero h1 { font-size: clamp(54px, 11vw, 150px); margin-bottom: 30px; }
.hero-lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: #cfccc4; margin: 0 0 38px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-hint { position: absolute; right: var(--pad); bottom: 40px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 820px) { .scroll-hint { display: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 13vw, 170px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-lead { color: var(--muted); font-size: 18px; margin: 22px 0 0; }

/* ---------- Portfolio ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter button {
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-size: 14px;
  transition: all .25s;
}
.filter button:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.filter button.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

.projekt {
  position: relative; display: block; width: 100%; text-align: left;
  aspect-ratio: 16 / 10; min-height: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: var(--card);
  transition: opacity .4s, transform .4s var(--ease);
}
.projekt.gross { grid-column: span 2; aspect-ratio: auto; min-height: 380px; }
.projekt.gross:last-child { grid-column: 1 / -1; min-height: 460px; }
@media (max-width: 1000px) and (min-width: 621px) { .projekt:not(.gross) { grid-column: 1 / -1; aspect-ratio: auto; min-height: 380px; } }
@media (max-width: 620px) { .projekt.gross, .projekt.gross:last-child { grid-column: auto; aspect-ratio: auto; min-height: 340px; } }
.projekt.hidden { display: none; }

.projekt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85) brightness(.8); }
.projekt:hover img { transform: scale(1.05); filter: saturate(1) brightness(.9); }

.projekt-placeholder {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    linear-gradient(135deg, rgba(227,169,75,.10), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.025) 22px 23px),
    var(--card);
  color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}

.projekt-info {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 22px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.projekt-info h3 { font-size: 19px; }
.projekt.gross .projekt-info h3 { font-size: clamp(22px, 2.6vw, 32px); }
.projekt-info small { display: block; color: #bdbab2; font-size: 13px; margin-top: 4px; }
.projekt-hinweis { margin: 10px 0 0; max-width: 46ch; color: var(--text); font-size: 15px; line-height: 1.45; }
.projekt-badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
@media (max-width: 620px) {
  .projekt:has(.projekt-hinweis) { aspect-ratio: 4 / 5; }
  .projekt-hinweis { font-size: 14px; }
}
.projekt-kat { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }

.play {
  position: absolute; top: 50%; left: 50%;
  width: 66px; height: 66px; margin: -33px 0 0 -33px;
  border-radius: 50%;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.35);
  opacity: 0; transform: scale(.8);
  transition: opacity .35s, transform .35s var(--ease);
}
.play::before { content: ""; position: absolute; left: 26px; top: 21px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.projekt:hover .play, .projekt:focus-visible .play { opacity: 1; transform: scale(1); }
@media (hover: none) { .play { opacity: 1; transform: scale(.85); } }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }
.service { background: var(--bg-alt); padding: 36px 30px 34px; display: flex; flex-direction: column; transition: background .4s; }
.service:hover { background: var(--card); }
.service-nr { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 46px; }
.service h3 { margin-bottom: 14px; }
.service p { color: var(--muted); font-size: 15.5px; margin: 0 0 24px; }
.service .service-tags { margin: auto 0 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: #c9c5bb; }

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.about-img { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--card); }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.about-img.no-img {
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.08) 0 16%, transparent 16.5%),
    radial-gradient(ellipse 34% 26% at 50% 78%, rgba(255,255,255,.06) 0 99%, transparent 100%),
    linear-gradient(160deg, rgba(227,169,75,.12), transparent 60%),
    var(--card);
}
.about-img figcaption {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(12,12,14,.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px;
  display: flex; flex-direction: column; line-height: 1.3;
}
.about-img figcaption strong { font-size: 15px; }
.about-img figcaption span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.about-text h2 { margin-bottom: 30px; }
.about-lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--text); }
.about-text p { color: var(--muted); }
.gear { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 44px 0 0; padding-top: 30px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { .gear { grid-template-columns: 1fr 1fr; } }
.gear dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.gear dd { margin: 0; font-size: 15px; color: #d8d4cb; line-height: 1.75; }

/* ---------- Kontakt ---------- */
.contact { background: radial-gradient(ellipse 70% 60% at 85% 100%, rgba(227,169,75,.12), transparent 60%), var(--bg); }
.contact-title { font-size: clamp(60px, 13vw, 170px); margin-bottom: clamp(50px, 7vw, 90px); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; align-items: flex-start; font-size: 19px; }
.contact-item .label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-item a:hover { color: var(--accent); }
.copy { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 0; }
.copy:hover { color: var(--text); }
.copy.done { color: var(--accent); }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; margin-top: 54px; }
.socials { display: flex; gap: 28px; }
.socials a { color: var(--muted); position: relative; }
.socials a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: var(--accent); transition: right .35s var(--ease); }
.socials a:hover { color: var(--text); }
.socials a:hover::after { right: 0; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer a:hover { color: var(--text); }

/* ---------- Video-Popup ---------- */
.modal {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(5,5,6,.94);
  display: grid; place-items: center;
  padding: 70px var(--pad) 40px;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-frame { width: 100%; max-width: 1200px; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; overflow: hidden; }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-frame.foto { aspect-ratio: auto; background: none; width: auto; max-width: 100%; }
.modal-frame.foto img { max-width: 100%; max-height: calc(100vh - 140px); margin: 0 auto; border-radius: 10px; }
.modal-close { position: absolute; top: 18px; right: 22px; font-size: 40px; line-height: 1; color: var(--text); opacity: .7; }
.modal-close:hover { opacity: 1; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.page { padding: 150px 0 110px; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(44px, 7vw, 80px); margin-bottom: 50px; }
.page h2 { font-size: 22px; letter-spacing: -.01em; margin: 44px 0 12px; line-height: 1.3; }
.page p, .page li { color: #cfccc4; }
.page a { color: var(--accent); }
.page .back { display: inline-block; margin-bottom: 40px; color: var(--muted); font-size: 15px; }
.page .back:hover { color: var(--text); }
.hinweis { border: 1px dashed rgba(227,169,75,.5); border-radius: 10px; padding: 14px 18px; font-size: 15px; color: var(--accent) !important; }

/* ---------- Stationen-Leiste ---------- */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.clients .container { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; }
.clients-label { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.clients-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 34px; }
.clients-list li { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: #d8d4cb; }

/* ---------- Lebenslauf ---------- */
.cv { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.cv li { display: grid; grid-template-columns: 110px 1fr; column-gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cv-zeit { grid-row: span 2; font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.cv-rolle { font-size: 16px; color: var(--text); }
.cv-firma { font-size: 14px; color: var(--muted); }
.cv-more { margin-top: 18px; }
.cv-more a { color: var(--accent); }
.cv-more a:hover { text-decoration: underline; }

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  body::after { animation: none; }
}
