/* Designsprache der os-Oberflächen: Schwarz/Weiß, Oswald + Inter, weiße Buttons */
:root {
  --bg: #0B0C0E;
  --bg-2: #111215;
  --line: #22252A;
  --text: #EDEEF0;
  --muted: #8C9097;
  --white: #F4F5F6;

  --f-head: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-logo: "Montserrat", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: var(--white); color: var(--bg); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--white); color: var(--bg); padding: 10px 14px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h2 {
  font: 600 clamp(30px, 3.6vw, 44px)/1.05 var(--f-head);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.label {
  font: 500 12px/1.4 var(--f-head);
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(180deg, #FFFFFF, #D9DBDE);
  color: #0B0C0E;
  font: 600 14px/1 var(--f-head);
  text-transform: uppercase;
  letter-spacing: .14em;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.btn:hover { background: #FFFFFF; }
.btn--ghost { background: transparent; color: var(--text); border-color: #3A3E45; }
.btn--ghost:hover { background: rgba(255, 255, 255, .06); border-color: #5A5F68; }
.btn--sm { padding: 10px 16px; font-size: 13px; }
.btn--lg { padding: 16px 26px; font-size: 15px; }

/* ---------- Logo ---------- */
.lockup { display: inline-flex; align-items: center; gap: .2em; font-family: var(--f-logo); color: #fff; }
.lockup__mark { height: 1.05em; width: auto; }
.lockup__name { display: flex; flex-direction: column; }
.lockup__ello { font-weight: 800; font-size: 1em; line-height: .78; letter-spacing: -.035em; }
.lockup__dev { font-weight: 500; font-size: max(.17em, 7px); line-height: 1; letter-spacing: .44em; margin-top: .45em; }
.brand { font-size: 30px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
.nav.is-scrolled {
  background: rgba(11, 12, 14, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a:not(.btn) {
  font: 500 14px/1 var(--f-head);
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted);
  transition: color .2s ease;
}
.nav__links a:not(.btn):hover { color: var(--white); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent;
  border: 1px solid #3A3E45; border-radius: 10px;
  cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav__toggle span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 110px var(--gutter) 120px;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #2A2E34, var(--bg) 70%);
  text-align: center;
}
.hero__head { display: flex; flex-direction: column; align-items: center; }
.hero__title { font-size: clamp(56px, 9vw, 128px); }
.hero__head .label { margin-top: 28px; }
.hero__lead { margin-top: 14px; max-width: 520px; color: var(--muted); font-size: 17px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* Ladeanimation: Elemente erscheinen nacheinander */
.hero__head > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero__head > :nth-child(2) { animation-delay: .15s; }
.hero__head > :nth-child(3) { animation-delay: .25s; }
.hero__head > :nth-child(4) { animation-delay: .35s; }
.hero__title .lockup__mark { animation: mark-in 1s cubic-bezier(.2, .8, .2, 1) both; }

.hero__scroll {
  position: absolute; left: 0; right: 0; bottom: 28px;
  width: max-content; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: rise .9s .6s ease both;
}
.hero__scroll .label { letter-spacing: .3em; padding-left: .3em; }
.hero__line {
  width: 1px; height: 44px;
  background: linear-gradient(var(--white), transparent);
  transform-origin: top;
  animation: drip 2s ease-in-out infinite;
}

/* ---------- Bühne ---------- */
.stage {
  padding: 0 var(--gutter);
  perspective: 1400px;
}
.stage__shot {
  width: 100%; max-width: 1120px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .95);
  transform-origin: 50% 0;
  will-change: transform, opacity;
}

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mark-in { from { opacity: 0; transform: translateX(-24px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes drip {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Scroll-Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .show.reveal .show__img { transform: translateX(-48px); opacity: 0; transition: opacity .9s ease, transform 1s cubic-bezier(.2, .8, .2, 1); }
.js .show.reveal:nth-of-type(even) .show__img { transform: translateX(48px); }
.js .show.reveal .show__text { transform: translateY(24px); opacity: 0; transition: opacity .8s .2s ease, transform .9s .2s cubic-bezier(.2, .8, .2, 1); }
.js .show.reveal { opacity: 1; transform: none; }
.js .reveal.is-visible,
.js .show.reveal.is-visible .show__img,
.js .show.reveal.is-visible .show__text { opacity: 1; transform: none; }

/* ---------- Über mich ---------- */
.about { padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 8vw, 104px); }
.about__grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about__text h2 { margin-top: 10px; font-size: clamp(36px, 4.6vw, 60px); }
.about__text p:not(.label) { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 520px; }
.about__text p:nth-of-type(2) { margin-top: 24px; color: var(--text); font-size: 19px; }

.path { list-style: none; padding: 0; margin: 0; position: relative; }
.path::before {
  content: ""; position: absolute; left: 5px; top: 10px; bottom: 10px;
  width: 1px; background: var(--line);
}
.path li {
  position: relative;
  display: grid; grid-template-columns: 110px 1fr; column-gap: 20px;
  padding: 0 0 36px 32px;
}
.path li:last-child { padding-bottom: 0; }
.path li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--muted);
}
.path li:last-child::before { background: var(--white); border-color: var(--white); }
.path__when {
  grid-row: span 2;
  font: 500 13px/1.9 var(--f-head);
  text-transform: uppercase; letter-spacing: .2em;
  color: var(--muted);
}
.path__what { font: 600 26px/1.15 var(--f-head); text-transform: uppercase; }
.path__note { margin-top: 4px; color: var(--muted); font-size: 15px; }

.about__cta {
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.about__cta p { font: 500 clamp(20px, 2vw, 26px)/1.3 var(--f-head); text-transform: uppercase; letter-spacing: .02em; max-width: 640px; }

/* ---------- Scripts ---------- */
.scripts { border-top: 1px solid var(--line); }
.scripts { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); }
.intro { max-width: 620px; margin-bottom: clamp(40px, 6vw, 72px); }
.intro h2 { margin-top: 10px; }
.intro > p:last-child { margin-top: 12px; color: var(--muted); }

.show {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--line);
}
.show:nth-of-type(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.show:nth-of-type(even) .show__img { order: 2; }
.show__img { width: 100%; border-radius: 10px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.show__text h3 {
  margin-top: 8px;
  font: 600 clamp(28px, 2.8vw, 38px)/1.05 var(--f-head);
  text-transform: uppercase;
}
.show__text > p:not(.label) { margin-top: 12px; color: var(--muted); }
.show__text ul { list-style: none; padding: 0; margin: 20px 0 0; }
.show__text li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }

/* ---------- Galerie ---------- */
.gallery { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.gallery__grid {
  margin-top: 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px;
}
.gallery img { width: 100%; border-radius: 8px; }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.gallery figcaption b {
  display: block;
  font: 600 16px/1.3 var(--f-head);
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--text);
}

/* ---------- Alle Ressourcen ---------- */
.all { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.all__list { margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
.all__list div {
  display: grid; grid-template-columns: 170px 1fr; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.all__list dt { font: 400 14px/1.5 Consolas, ui-monospace, monospace; color: var(--white); }
.all__list dd { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Kontakt ---------- */
.contact { padding: clamp(64px, 8vw, 112px) 0; border-top: 1px solid var(--line); }
.contact__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.contact h2 { margin-top: 10px; }
.contact__inner > div > p:last-child { margin-top: 12px; color: var(--muted); max-width: 440px; }
.contact__links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.contact__mail { font-weight: 500; text-decoration: underline; text-underline-offset: 5px; }
.contact__mail:hover { color: #fff; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-2); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 24px; font: 500 13px/1 var(--f-head); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.footer__links a:hover { color: #fff; }
.footer__copy { width: 100%; font-size: 13px; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .show, .show:nth-of-type(even) { grid-template-columns: 1fr; }
  .show:nth-of-type(even) .show__img { order: 0; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .all__list { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; top: 76px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px;
    background: var(--bg-2);
    border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 12px; color: var(--text); }
  .nav__links .btn { margin-top: 6px; }
  .hero { padding-top: 120px; }
  .gallery__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand { font-size: 26px; }
  .hero__actions .btn { width: 100%; }
  .all__list div { grid-template-columns: 1fr; gap: 2px; }
  .path li { grid-template-columns: 1fr; }
  .path__when { grid-row: auto; }
  .about__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal, .js .show.reveal .show__img, .js .show.reveal .show__text { opacity: 1; transform: none; }
  .stage__shot { transform: none !important; opacity: 1 !important; }
}

.contact__name { display: flex; align-items: baseline; gap: 10px; font: 500 18px/1 var(--f-head); text-transform: uppercase; letter-spacing: .06em; }
