/* ==========================================================================
   Phil — Portfolio
   ========================================================================== */

:root {
  --c-black: #0b0c08;
  --c-black-soft: #131409;
  --c-military: #4b5320;
  --c-military-light: #8a9a3f;
  --c-military-pale: #c7d18f;
  --c-cream: #f3ede0;
  --c-cream-dim: #e8e0cd;
  --c-beige: #ece3cf;
  --c-white: #fbf9f3;
  --c-line: rgba(243, 237, 224, 0.14);
  --c-line-dark: rgba(11, 12, 8, 0.14);

  --font-display: "Unbounded", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1240px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--c-black);
  color: var(--c-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

section {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section--light {
  background: var(--c-cream);
  color: var(--c-black);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-military-light);
}

.section--light .eyebrow {
  color: var(--c-military);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

/* -------------------------------------------------------------------------
   Grain overlay
   ------------------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------------------------------------------------------------------------
   Custom cursor
   ------------------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-military-light);
  pointer-events: none;
  z-index: 1000;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), border 0.25s var(--ease);
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor--ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--c-military-light);
  pointer-events: none;
  z-index: 1000;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), opacity 0.35s var(--ease), transform 0.08s linear;
  opacity: 0.6;
}

.cursor.is-hover {
  width: 8px;
  height: 8px;
}

.cursor--ring.is-hover {
  width: 76px;
  height: 76px;
  opacity: 1;
  background: rgba(138, 154, 63, 0.08);
}

@media (hover: none), (pointer: coarse) {
  .cursor,
  .cursor--ring {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Scroll progress bar
   ------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--c-military), var(--c-military-light) 60%, var(--c-military-pale));
  z-index: 1001;
  pointer-events: none;
}

/* -------------------------------------------------------------------------
   Marquee
   ------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-black-soft);
  padding: 1rem 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1.6rem;
  white-space: nowrap;
  animation: marqueeScroll 26s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  color: var(--c-cream-dim);
  transition: color 0.3s var(--ease);
}

.marquee__item:hover {
  color: var(--c-military-light);
}

.marquee__dot {
  color: var(--c-military-light);
  font-size: 0.9rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* -------------------------------------------------------------------------
   Nav
   ------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--gutter);
  color: var(--c-cream);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), padding 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  background: rgba(11, 12, 8, 0.72);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--c-line);
}

.nav.on-light {
  color: var(--c-black);
}

.nav.on-light.is-scrolled {
  background: rgba(243, 237, 224, 0.78);
  border-bottom-color: var(--c-line-dark);
}

.nav__logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav__logo span {
  color: var(--c-military-light);
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav__links a {
  position: relative;
  padding: 0.2rem 0;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  display: none;
  border: 1px solid currentColor;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav__cta:hover {
  background: var(--c-military-light);
  color: var(--c-black);
  border-color: var(--c-military-light);
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 600;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--c-black);
  color: var(--c-cream);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.4rem;
  padding: 0 var(--gutter);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 500;
}

.mobile-menu__contact {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--c-military-pale);
}

@media (min-width: 860px) {
  .nav__links,
  .nav__cta {
    display: inline-flex;
  }
  .nav__toggle {
    display: none;
  }
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding-top: 7.5rem;
  overflow: hidden;
}

@media (min-width: 760px) {
  .hero {
    display: flex;
    align-items: center;
    padding-top: 6.5rem;
  }
}

.hero__bg-word {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 30vw, 22rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 237, 224, 0.06);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__eyebrow {
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.hero.is-ready .hero__eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.hero__title {
  font-size: clamp(2.3rem, 9vw, 5.4rem);
  text-transform: uppercase;
  overflow-wrap: break-word;
  text-shadow: 0 2px 24px rgba(11, 12, 8, 0.75);
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line span {
  display: inline-block;
  max-width: 100%;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
}

.hero.is-ready .hero__title .line:nth-child(1) span { transition-delay: 0.1s; }
.hero.is-ready .hero__title .line:nth-child(2) span { transition-delay: 0.22s; }
.hero.is-ready .hero__title .line:nth-child(3) span { transition-delay: 0.34s; }

.hero.is-ready .hero__title .line span {
  transform: translateY(0);
}

.hero__title .highlight {
  color: var(--c-black);
  -webkit-text-stroke: 1.5px var(--c-military-light);
  text-stroke: 1.5px var(--c-military-light);
}

.hero__sub {
  margin-top: 1.8rem;
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--c-cream-dim);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: 0.45s;
}

.hero__sub strong {
  color: var(--c-white);
  font-weight: 600;
}

.hero.is-ready .hero__sub {
  opacity: 1;
  transform: translateY(0);
}

.hero__actions {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: 0.58s;
}

.hero.is-ready .hero__actions {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--c-military-light);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.btn--solid {
  background: var(--c-military-light);
  color: var(--c-black);
}

.btn--solid:hover {
  transform: translateY(-3px);
  background: var(--c-military-pale);
}

.btn--outline {
  color: var(--c-cream);
}

.btn--outline:hover {
  transform: translateY(-3px);
  background: rgba(138, 154, 63, 0.12);
}

.section--light .btn--outline {
  color: var(--c-black);
}

.hero__portrait {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: clamp(170px, 52vw, 420px);
  opacity: 0;
  transform: translateY(-24px) scale(1.04);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.hero.is-ready .hero__portrait {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero__portrait-frame {
  position: relative;
  border: 1px solid var(--c-line);
  padding: 10px;
  background: var(--c-black);
}

.hero__portrait-frame img,
.hero__portrait-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  will-change: transform;
}

.hero__portrait-frame img {
  object-position: center 78%;
}

@media (min-width: 420px) {
  .hero__portrait-frame {
    padding: 14px;
  }
}

.hero__mute-toggle {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 12, 8, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(243, 237, 224, 0.4);
  color: var(--c-cream);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero__mute-toggle:hover {
  border-color: var(--c-military-light);
  transform: scale(1.06);
}

.hero__mute-toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero__mute-toggle .icon-unmuted {
  display: none;
}

.hero__mute-toggle.is-unmuted .icon-muted {
  display: none;
}

.hero__mute-toggle.is-unmuted .icon-unmuted {
  display: block;
}

.hero__portrait-tag {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--c-military);
  color: var(--c-cream);
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1rem;
  border: 1px solid var(--c-black);
}

@media (min-width: 760px) {
  .hero__portrait-tag {
    top: -16px;
    left: -16px;
    bottom: auto;
    right: auto;
  }
}

.hero__scroll {
  position: relative;
  margin: 2.5rem 0 1.5rem var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-cream-dim);
}

@media (min-width: 760px) {
  .hero__scroll {
    position: absolute;
    top: calc(100svh - 4.5rem);
    left: var(--gutter);
    margin: 0;
  }
}

.hero__scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--c-military-light), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.4); transform-origin: top; }
}

/* -------------------------------------------------------------------------
   Vorstellung / iPhone-Mockup
   ------------------------------------------------------------------------- */
.phone-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.phone-intro__text {
  max-width: 30rem;
}

.phone-intro__text h2 {
  margin-top: 1rem;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  text-transform: uppercase;
}

.phone-intro__text p:last-child {
  margin-top: 1.2rem;
  color: var(--c-cream-dim);
  font-size: 1.05rem;
}

.phone-mockup {
  position: relative;
  width: clamp(210px, 62vw, 300px);
  transition: opacity 0.6s var(--ease-pop), transform 0.8s var(--ease-pop);
}

.phone-mockup.reveal {
  opacity: 0;
  transform: translateY(70px) scale(0.72) rotate(-3deg);
}

.phone-mockup.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

.phone-mockup__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--c-black-soft);
  border: 3px solid #2a2c1f;
  border-radius: 2.4rem;
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(243, 237, 224, 0.06);
}

.phone-mockup__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  pointer-events: none;
  box-shadow: inset 0 0 0 2px rgba(243, 237, 224, 0.08);
  z-index: 5;
}

.phone-mockup__flash {
  position: absolute;
  inset: 10px;
  border-radius: 1.7rem;
  background: var(--c-military-pale);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
}

.phone-mockup.is-visible .phone-mockup__flash {
  animation: screenFlash 1s ease-out 0.35s both;
}

@keyframes screenFlash {
  0% { opacity: 0; }
  8% { opacity: 0.85; }
  22% { opacity: 0.1; }
  32% { opacity: 0.5; }
  45% { opacity: 0; }
  100% { opacity: 0; }
}

.phone-mockup__island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  background: #0a0b07;
  border-radius: 999px;
  z-index: 3;
}

.phone-mockup__video {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.7rem;
  object-fit: cover;
  display: block;
  background: var(--c-black);
  opacity: 0;
  transform: scaleY(0.015);
  filter: brightness(3.5) saturate(0.2);
}

.phone-mockup.is-visible .phone-mockup__video {
  animation: screenPowerOn 0.9s cubic-bezier(0.22, 0.9, 0.32, 1) 0.35s both;
}

@keyframes screenPowerOn {
  0% { opacity: 1; transform: scaleY(0.015); filter: brightness(4) saturate(0); }
  30% { opacity: 1; transform: scaleY(0.015); filter: brightness(4) saturate(0); }
  55% { opacity: 1; transform: scaleY(1); filter: brightness(2.4) saturate(1.3); }
  75% { filter: brightness(0.85) saturate(1); }
  100% { opacity: 1; transform: scaleY(1); filter: brightness(1) saturate(1); }
}

@media (prefers-reduced-motion: reduce) {
  .phone-mockup__video {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .phone-mockup.is-visible .phone-mockup__video,
  .phone-mockup.is-visible .phone-mockup__flash {
    animation: none;
  }
}

.phone-mockup__button {
  position: absolute;
  background: #2a2c1f;
}

.phone-mockup__button--power {
  right: -3px;
  top: 22%;
  width: 3px;
  height: 70px;
  border-radius: 0 3px 3px 0;
}

.phone-mockup__button--vol1,
.phone-mockup__button--vol2 {
  left: -3px;
  width: 3px;
  height: 40px;
  border-radius: 3px 0 0 3px;
}

.phone-mockup__button--vol1 {
  top: 18%;
}

.phone-mockup__button--vol2 {
  top: 28%;
}

@media (min-width: 760px) {
  .phone-intro {
    grid-template-columns: auto minmax(280px, 26rem);
    justify-content: center;
    gap: 3.5rem;
    text-align: left;
    justify-items: stretch;
  }

  .phone-intro__text {
    max-width: 26rem;
  }
}

/* -------------------------------------------------------------------------
   Reveal utility
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  filter: blur(6px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  filter: blur(5px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.41s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.59s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.68s; }

/* -------------------------------------------------------------------------
   Section heads
   ------------------------------------------------------------------------- */
.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.split-word > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.7s var(--ease);
}

.reveal.is-visible .split-word > span {
  transform: translateY(0);
}

.section-head p {
  margin-top: 1.2rem;
  color: var(--c-cream-dim);
  font-size: 1.05rem;
}

.section--light .section-head p {
  color: #4a4736;
}

/* -------------------------------------------------------------------------
   Über mich
   ------------------------------------------------------------------------- */
.about {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

.about__text {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
}

.about__text p + p {
  margin-top: 1.4rem;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-line-dark);
  border: 1px solid var(--c-line-dark);
  margin-top: 2.5rem;
}

.about__fact {
  background: var(--c-cream);
  padding: 1.4rem;
}

.about__fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--c-military);
}

.about__fact span {
  font-size: 0.82rem;
  color: #5a5640;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 860px) {
  .about {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }
}

/* -------------------------------------------------------------------------
   Reichweite / Stats
   ------------------------------------------------------------------------- */
.stats {
  background: var(--c-black);
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.stat {
  background: var(--c-black);
  padding: clamp(2.5rem, 6vw, 4rem) 2rem;
  text-align: center;
  position: relative;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 6rem);
  color: var(--c-military-light);
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.15em;
}

.stat.is-counting .stat__number {
  animation: statPop 0.7s var(--ease-pop) both;
}

@keyframes statPop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}

.stat__suffix {
  font-size: 0.4em;
}

.stat__label {
  margin-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-cream-dim);
}

@media (min-width: 760px) {
  .stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Marken / Logo wall
   ------------------------------------------------------------------------- */
.brands__note {
  margin-bottom: 2.5rem;
  color: var(--c-cream-dim);
  max-width: 40rem;
}

.brand-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
}

.brand-wall.reveal-stagger > * {
  transform: translateY(18px) scale(0.8) rotate(-4deg);
  transition: opacity 0.6s var(--ease-pop), transform 0.6s var(--ease-pop), filter 0.6s var(--ease-pop), color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.brand-wall.reveal-stagger.is-visible > * {
  transform: translateY(0) scale(1) rotate(0deg);
}

.brand-wall__item {
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  padding: 2.4rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  text-align: center;
  color: var(--c-cream-dim);
  filter: grayscale(1);
  opacity: 0.55;
  transition: color 0.4s var(--ease), opacity 0.4s var(--ease), filter 0.4s var(--ease), transform 0.4s var(--ease);
}

.brand-wall__item:hover {
  color: var(--c-military-light);
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-4px);
}

.brand-wall__item--tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (min-width: 620px) {
  .brand-wall {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .brand-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Leistungen / Skills
   ------------------------------------------------------------------------- */
.skills {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.skill-card {
  border: 1px solid var(--c-line-dark);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.skill-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-military);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  z-index: 0;
}

.skill-card:hover::before {
  transform: translateY(0);
}

.skill-card:hover {
  border-color: var(--c-military);
}

.skill-card:hover * {
  color: var(--c-cream) !important;
}

.skill-card__index,
.skill-card__title,
.skill-card__desc {
  position: relative;
  z-index: 1;
}

.skill-card__index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--c-military);
}

.skill-card__title {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.skill-card__desc {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  color: #55523d;
}

.tools {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.tools__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #55523d;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--c-line-dark);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--c-white);
}

.tool-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-military);
}

@media (min-width: 700px) {
  .skills {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .skills {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Portfolio
   ------------------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: none;
  border: 1px solid var(--c-line);
  color: var(--c-cream-dim);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.filter-btn:hover {
  border-color: var(--c-military-light);
  color: var(--c-white);
}

.filter-btn.is-active {
  background: var(--c-military-light);
  border-color: var(--c-military-light);
  color: var(--c-black);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  perspective: 1200px;
}

.project-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  border: 1px solid var(--c-line);
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}

.project-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(199, 209, 143, 0.55), transparent 55%);
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--c-black-soft);
}

.project-card__media video,
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.project-card:hover .project-card__media video,
.project-card:hover .project-card__media img {
  transform: scale(1.06);
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 12, 8, 0.92) 0%, rgba(11, 12, 8, 0.15) 45%, rgba(11, 12, 8, 0) 70%);
}

.project-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) scale(0.7);
  border-radius: 50%;
  border: 1px solid rgba(251, 249, 243, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 2;
  background: rgba(11, 12, 8, 0.35);
  backdrop-filter: blur(4px);
}

.project-card:hover .project-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-card__play svg {
  width: 16px;
  height: 16px;
  fill: var(--c-white);
  margin-left: 3px;
}

.project-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem;
  z-index: 1;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}

.project-card:hover .project-card__body {
  transform: translateY(0);
}

.project-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-military-pale);
  border: 1px solid rgba(199, 209, 143, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--c-white);
}

.project-card__brand {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--c-cream-dim);
}

.project-card__desc {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--c-cream-dim);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), opacity 0.4s var(--ease);
}

.project-card:hover .project-card__desc {
  max-height: 6rem;
  opacity: 1;
}

@media (min-width: 640px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-card:nth-child(3n+2) {
    transform: translateY(40px);
  }
  .project-card:nth-child(3n+2).is-visible {
    transform: translateY(0);
  }
}

@media (min-width: 1000px) {
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 12, 8, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
  padding: 4rem 1.2rem;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__inner {
  position: relative;
  max-width: 420px;
  width: 100%;
}

.lightbox__inner video {
  width: 100%;
  max-height: 82vh;
  border: 1px solid var(--c-line);
}

.lightbox__close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: 1px solid var(--c-line);
  color: var(--c-cream);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__meta {
  margin-top: 1rem;
  color: var(--c-cream-dim);
  font-size: 0.9rem;
}

.lightbox__meta strong {
  display: block;
  color: var(--c-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

/* -------------------------------------------------------------------------
   Sprachen
   ------------------------------------------------------------------------- */
.languages {
  display: grid;
  gap: 1.6rem;
  max-width: 40rem;
}

.language {
  display: grid;
  gap: 0.6rem;
}

.language__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.language__row span:last-child {
  font-size: 0.8rem;
  color: var(--c-military);
  font-family: var(--font-body);
  font-weight: 600;
}

.language__bar {
  height: 6px;
  background: var(--c-line-dark);
  overflow: hidden;
}

.language__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-military), var(--c-military-light));
  width: 0;
  transition: width 1.4s var(--ease);
}

.language.is-visible .language__bar-fill {
  width: var(--level);
}

/* -------------------------------------------------------------------------
   Kontakt
   ------------------------------------------------------------------------- */
.contact {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

.contact__info {
  display: grid;
  gap: 1.6rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--c-line);
}

.contact-item span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-military-light);
}

.contact-item a,
.contact-item p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  text-transform: none;
}

.contact-item a {
  transition: color 0.3s var(--ease);
}

.contact-item a:hover {
  color: var(--c-military-light);
}

.form {
  display: grid;
  gap: 1.4rem;
}

.field {
  position: relative;
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-cream-dim);
}

.field input,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.1rem;
  transition: border-color 0.3s var(--ease);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-military-light);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form__submit {
  justify-self: start;
  margin-top: 0.6rem;
}

.form__note {
  font-size: 0.8rem;
  color: var(--c-cream-dim);
  margin-top: -0.4rem;
}

@media (min-width: 860px) {
  .contact {
    grid-template-columns: 0.8fr 1.2fr;
  }
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.footer {
  background: var(--c-black-soft);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--c-line);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--c-line);
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
}

.footer__brand span {
  color: var(--c-military-light);
}

.footer__socials {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials a {
  border: 1px solid var(--c-line);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.footer__socials a:hover {
  border-color: var(--c-military-light);
  color: var(--c-military-light);
}

.footer__bottom {
  padding-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--c-cream-dim);
}

@media (min-width: 700px) {
  .footer__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* -------------------------------------------------------------------------
   Misc
   ------------------------------------------------------------------------- */
.hairline {
  height: 1px;
  background: var(--c-line);
  width: 100%;
}

::selection {
  background: var(--c-military-light);
  color: var(--c-black);
}
