/* ============================================================
   FONTS (Lokal aus assets/fonts/)
   ============================================================ */

/* --- Space Grotesk --- */
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin-400-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin-500-normalwoff2")
    format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin-600-normal.woff2")
    format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-latin-700-normal.woff2")
    format("woff2");
}

/* --- JetBrains Mono --- */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-v24-latin-regular.woff2")
    format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-v24-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-v24-latin-700woff2") format("woff2");
}

/* --- Instrument Serif --- */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-v5-latin-regular.woff2")
    format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-v5-latin-italic.woff2")
    format("woff2");
}

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --bg: #0d0c09;
  --bg-2: #15130e;
  --surface: #1c1a15;
  --surface-2: #262218;
  --line: rgba(255, 236, 200, 0.1);
  --line-2: rgba(255, 236, 200, 0.18);
  --text: #f4ede0;
  --text-2: #b8ad9a;
  --muted: #7a7263;
  --bronze: #d49254;
  --bronze-2: #b87333;
  --bronze-3: #8a5523;
  --bronze-glow: rgba(212, 146, 84, 0.16);

  --display: "Space Grotesk", -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", serif;

  --container: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection {
  background: var(--bronze);
  color: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 18px var(--pad-x);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  transition:
    background 0.25s ease,
    border-bottom-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 12, 9, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--text);
}
.nav .brand .dot {
  width: 7px;
  height: 7px;
  background: var(--bronze);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--bronze);
}
.nav .brand b {
  font-weight: 700;
  letter-spacing: 0.12em;
}
.nav .links {
  margin-left: auto;
  display: flex;
  gap: 24px;
  color: var(--text-2);
}
.nav .links a {
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}
.nav .links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav .links a:hover {
  color: var(--text);
}
.nav .links a:hover::after {
  transform: scaleX(1);
}
.nav .lang {
  margin-left: 24px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
}
.nav .lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.nav .lang button.on {
  background: var(--bronze);
  color: var(--bg);
}

@media (max-width: 780px) {
  .nav .links {
    display: none;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding: 120px var(--pad-x) 60px;
  overflow: hidden;
  isolation: isolate;
}
.hero .meta {
  position: absolute;
  top: 84px;
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.18em;
}
.hero .meta .role {
  display: flex;
  gap: 18px;
}
.hero .meta .role span::before {
  content: "//";
  color: var(--bronze);
  margin-right: 6px;
}

/* silhouette figure */
.hero-figure {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(46vw, 520px);
  aspect-ratio: 3/4;
  z-index: 2;
  pointer-events: none;
}
.hero-figure .frame {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(212, 146, 84, 0.04),
      rgba(212, 146, 84, 0.18) 70%,
      rgba(212, 146, 84, 0.32)
    ),
    repeating-linear-gradient(
      135deg,
      rgba(212, 146, 84, 0.08) 0 6px,
      transparent 6px 14px
    );
  border: 1px solid var(--line-2);
  overflow: hidden;
}
.hero-figure .frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center 80%,
    rgba(13, 12, 9, 0) 0%,
    rgba(13, 12, 9, 0.85) 90%
  );
}
.hero-figure svg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80%;
  color: #2c2820;
  opacity: 0.9;
}
.hero-figure .caption {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--bronze);
  padding: 4px 8px;
  border: 1px solid var(--bronze-3);
  background: rgba(13, 12, 9, 0.5);
}

/* hero name */
.hero-name {
  position: relative;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 13vw, 220px);
  line-height: 0.82;
  letter-spacing: -0.045em;
  pointer-events: none;
  margin: 0;
}
.hero-name .left,
.hero-name .right {
  flex: 0 0 auto;
  position: relative;
}
.hero-name .right {
  color: var(--bronze);
}
.hero-name .left::before {
  content: attr(data-num);
  position: absolute;
  top: -18px;
  left: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.2em;
  font-weight: 400;
}
@media (max-width: 1100px) {
  .hero-name {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: clamp(64px, 18vw, 180px);
  }
  .hero-name .right {
    align-self: flex-end;
  }
}
@media (max-width: 560px) {
  .hero-name {
    font-size: clamp(56px, 22vw, 120px);
  }
}

/* marquee scrolls behind the figure at z-index 1 */
.hero-marquee {
  position: absolute;
  left: 0;
  right: 0;
  top: 45%;
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(28px, 6vw, 64px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 146, 84, 0.45);
  white-space: nowrap;
  letter-spacing: 0.04em;
  z-index: 1;
  pointer-events: none;
  animation: marquee 38s linear infinite;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero-lower {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.16em;
  z-index: 4;
}
.hero-lower .tagline {
  font-family: var(--display);
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text);
  max-width: 380px;
  line-height: 1.4;
  text-transform: none;
}
.hero-lower .tagline em {
  font-style: normal;
  color: var(--bronze);
}
.scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-cue .bar {
  width: 32px;
  height: 1px;
  background: var(--bronze);
  position: relative;
  overflow: hidden;
}
.scroll-cue .bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  background: var(--bg);
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(160%);
  }
}

/* ============================================================
   SECTION SHELL
   ============================================================ */
section {
  position: relative;
  padding: clamp(80px, 12vh, 140px) 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--bronze);
  text-transform: uppercase;
}
.eyebrow .num {
  color: var(--text-2);
}
.eyebrow .line {
  width: 32px;
  height: 1px;
  background: var(--bronze);
}

.h-display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 14px 0 0;
}
.h-display em {
  font-style: normal;
  color: var(--bronze);
}
.h-display .ser {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}
.reveal.d4 {
  transition-delay: 0.32s;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-top: 36px;
}
.about-grid .lead {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--text);
}
.about-grid .lead em {
  font-style: normal;
  color: var(--bronze);
}
.about-grid .lead .ser {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.factcard {
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 24px;
}
.factcard h6 {
  margin: 0 0 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--bronze);
  text-transform: uppercase;
}
.factcard ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.factcard ul li {
  display: flex;
  gap: 14px;
  font-size: 15px;
  color: var(--text);
}
.factcard ul li .k {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  min-width: 64px;
  letter-spacing: 0.1em;
  padding-top: 3px;
}
.factcard ul li .v {
  flex: 1;
}

@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   4BL SECTION
   ============================================================ */
.bl-section {
  position: relative;
  padding: 0;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    #11100b 30%,
    #11100b 70%,
    var(--bg) 100%
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bl-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
  min-height: 90vh;
}
.bl-copy {
  padding: clamp(60px, 10vh, 120px) var(--pad-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.bl-copy .word4bl {
  font-family: var(--display);
  font-weight: 700;
  color: var(--bronze);
  font-size: clamp(90px, 12vw, 200px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 0;
}
.bl-copy .tagline {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
  color: var(--text);
  max-width: 460px;
}
.bl-copy .desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 460px;
}
.bl-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* tag pill */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(255, 236, 200, 0.03);
  white-space: nowrap;
}
.tag.bronze {
  border-color: var(--bronze-3);
  color: var(--bronze);
  background: rgba(212, 146, 84, 0.06);
}

.bl-cta-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid var(--bronze);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze);
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.btn:hover {
  background: var(--bronze);
  color: var(--bg);
}
.btn.primary {
  background: var(--bronze);
  color: var(--bg);
}
.btn.primary:hover {
  background: var(--text);
  border-color: var(--text);
}
.btn .arrow {
  transition: transform 0.2s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Sorgt dafür, dass das Bild den Container füllt, ohne gestaucht zu werden */
  display: block;
}

/* phone stage */
.bl-stage {
  position: relative;
  border-left: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% 55%,
      rgba(212, 146, 84, 0.16),
      transparent 70%
    ),
    radial-gradient(
      ellipse 100% 60% at 50% 100%,
      rgba(212, 146, 84, 0.06),
      transparent 70%
    ),
    linear-gradient(180deg, #15130e, #0e0d09);
}
.bl-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 236, 200, 0.04) 1px, transparent 1px) 0 0/100%
      60px,
    linear-gradient(90deg, rgba(255, 236, 200, 0.04) 1px, transparent 1px) 0
      0/60px 100%;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.bl-stage .stage-label {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-2);
}
.bl-stage .stage-label b {
  color: var(--bronze);
  font-weight: 500;
}

.phones {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}
.phone {
  position: absolute;
  width: clamp(140px, 16vw, 200px);
  aspect-ratio: 9/19.5;
  border-radius: 36px;
  background: linear-gradient(160deg, #1c1a15, #0a0907);
  border: 1px solid rgba(255, 236, 200, 0.14);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.55),
    0 10px 20px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 236, 200, 0.04);
  padding: 7px;
  transition: transform 1.1s cubic-bezier(0.22, 0.7, 0.2, 1);
  will-change: transform;
}
.phone .notch {
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  width: 40%;
  height: 18px;
  background: #000;
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(255, 236, 200, 0.06);
  z-index: 2;
}
.phone .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1812, #0d0c09);
}
.phone .ui {
  position: absolute;
  inset: 0;
  padding: 24px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: var(--text);
}
.phone .ui .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--text-2);
  margin-bottom: 4px;
}
.phone .ui .h {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.phone .ui .h .b {
  color: var(--bronze);
}
.phone .ui .sub {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--text-2);
  letter-spacing: 0.1em;
}

/* progress ring */
.ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: conic-gradient(
    var(--bronze) calc(var(--v, 0.72) * 100%),
    rgba(255, 236, 200, 0.08) 0
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px auto 0;
}
.ring .inner {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
}
.ring .inner small {
  font-family: var(--mono);
  font-size: 7px;
  color: var(--text-2);
  letter-spacing: 0.1em;
}

/* day strip */
.daystrip {
  display: flex;
  justify-content: space-between;
  gap: 3px;
}
.daystrip .d {
  flex: 1;
  border: 1px solid rgba(255, 236, 200, 0.08);
  height: 30px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-family: var(--mono);
  font-size: 7px;
  color: var(--text-2);
}
.daystrip .d.done {
  background: var(--bronze);
  color: var(--bg);
  border-color: var(--bronze);
}
.daystrip .d.today {
  border-color: var(--bronze);
  color: var(--bronze);
}

/* habit row */
.habit {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 9px;
}
.habit .check {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--bronze);
}
.habit.done .check {
  background: var(--bronze);
}
.habit.done .name {
  color: var(--text-2);
  text-decoration: line-through;
}
.habit .name {
  flex: 1;
  font-family: var(--display);
  font-weight: 500;
  color: var(--text);
  font-size: 10px;
}
.habit .streak {
  font-family: var(--mono);
  font-size: 8px;
  color: var(--bronze);
}

/* bar graph */
.graph {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 54px;
  padding-top: 6px;
}
.graph span {
  flex: 1;
  background: rgba(255, 236, 200, 0.12);
  border-radius: 2px;
}
.graph span.b {
  background: var(--bronze);
}

/* ui module card */
.module {
  border: 1px solid var(--line);
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 236, 200, 0.02);
}
.module h7 {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--text-2);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.note-callout {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--bronze);
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.note-callout .dot {
  width: 6px;
  height: 6px;
  background: var(--bronze);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--bronze);
}

@media (max-width: 980px) {
  .bl-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .bl-stage {
    border-left: none;
    border-top: 1px solid var(--line);
    height: 560px;
  }
}

/* ============================================================
   PROJECTS (TMF + WEB)
   ============================================================ */
.projects {
  padding: clamp(80px, 12vh, 140px) 0;
}
.projects-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 18px;
}
.proj {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.proj:hover {
  border-color: var(--bronze-3);
  transform: translateY(-4px);
}

.proj .visual {
  position: relative;
  flex: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      ellipse at center,
      rgba(212, 146, 84, 0.14),
      transparent 70%
    ),
    linear-gradient(180deg, #1a1812, #13110d);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.proj .footer {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proj .footer .role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--bronze);
  text-transform: uppercase;
}
.proj .footer h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.proj .footer .desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}
.proj .footer .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-2);
  letter-spacing: 0.1em;
}
.proj .footer .meta .arr {
  color: var(--bronze);
}

/* TMF phone tilt */
.proj.tmf .phone-tilt {
  position: relative;
  width: 200px;
  aspect-ratio: 9/19.5;
  border-radius: 30px;
  background: linear-gradient(160deg, #1c1a15, #0a0907);
  border: 1px solid rgba(255, 236, 200, 0.14);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  padding: 6px;
  transform: rotate(-7deg);
  transition: transform 0.4s ease;
}
.proj.tmf:hover .phone-tilt {
  transform: rotate(-3deg) translateY(-6px);
}
.proj.tmf .phone-tilt .notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 38%;
  height: 16px;
  background: #000;
  border-radius: 0 0 10px 10px;
}
.proj.tmf .phone-tilt .screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #0d0c09;
  position: relative;
}
.chat-msg {
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 9px;
  line-height: 1.3;
  max-width: 80%;
}
.chat-msg.ai {
  background: rgba(212, 146, 84, 0.16);
  color: var(--text);
  border: 1px solid rgba(212, 146, 84, 0.3);
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.chat-msg.user {
  background: var(--bronze);
  color: var(--bg);
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  font-weight: 500;
}
.chat-tools {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px;
  font-family: var(--mono);
  font-size: 7px;
  color: var(--bronze);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-tools .pulse {
  width: 5px;
  height: 5px;
  background: var(--bronze);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.6);
    opacity: 0.4;
  }
}

/* Browser mockups */
.proj.web .visual {
  padding: 30px 20px 0;
  align-items: flex-end;
}
.browser {
  width: 100%;
  max-width: 340px;
  border-radius: 8px 8px 0 0;
  background: #1f1d17;
  border: 1px solid var(--line-2);
  border-bottom: none;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.proj.web:hover .browser {
  transform: translateY(-8px);
}
.browser .bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #15130e;
  border-bottom: 1px solid var(--line);
}
.browser .bar .d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
}
.browser .bar .url {
  flex: 1;
  margin-left: 6px;
  background: #0d0c09;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser .canvas {
  aspect-ratio: 16/10;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.browser.derm .canvas {
  background:
    radial-gradient(
      ellipse at 70% 30%,
      rgba(212, 146, 84, 0.28),
      transparent 60%
    ),
    linear-gradient(180deg, #1a1812, #11100b);
}
.browser.kard .canvas {
  background:
    radial-gradient(
      ellipse at 30% 70%,
      rgba(212, 146, 84, 0.2),
      transparent 60%
    ),
    linear-gradient(180deg, #13110d, #1a1812);
}
.browser .canvas .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 7px;
  color: var(--text-2);
  letter-spacing: 0.1em;
}
.browser .canvas .navbar b {
  color: var(--bronze);
  font-weight: 500;
}
.browser .canvas .hh {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.browser .canvas .hh em {
  font-style: normal;
  color: var(--bronze);
}
.browser .canvas .sub {
  font-family: var(--display);
  font-size: 8px;
  color: var(--text-2);
  max-width: 60%;
}
.browser .canvas .pillrow {
  margin-top: auto;
  display: flex;
  gap: 4px;
}
.browser .canvas .pillrow span {
  font-family: var(--mono);
  font-size: 6px;
  color: var(--text);
  border: 1px solid var(--bronze-3);
  padding: 2px 6px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.browser-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top; /* Zeigt den oberen Teil der Webseite, falls das Bild sehr lang ist */
  display: block;
}

@media (max-width: 980px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   STACK
   ============================================================ */
.skills-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 48px;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.skill-card {
  border: 1px solid var(--line);
  padding: 24px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--bronze);
  transform: scaleY(0.25);
  transform-origin: top;
  transition: transform 0.4s ease;
}
.skill-card:hover {
  border-color: var(--bronze-3);
}
.skill-card:hover::before {
  transform: scaleY(1);
}
.skill-card h6 {
  margin: 0 0 4px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--bronze);
  text-transform: uppercase;
}
.skill-card h5 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.skill-card .items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

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

/* ============================================================
   PROCESS / STICKMAN JOURNEY
   ============================================================ */
.journey {
  padding: clamp(80px, 12vh, 140px) 0;
  border-top: 1px solid var(--line);
}
.journey .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.journey .head .right {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  max-width: 340px;
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.journey .head .right b {
  color: var(--bronze);
  font-weight: 500;
}

.strip {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 50px 0 70px;
  margin: 0 calc(-1 * var(--pad-x));
  background: radial-gradient(
    ellipse 60% 70% at 50% 50%,
    rgba(212, 146, 84, 0.08),
    transparent 70%
  );
}
/* path line below stations */
.strip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--bronze-3) 10%,
    var(--bronze-3) 90%,
    transparent
  );
  opacity: 0.5;
}

.stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding: 0 var(--pad-x);
}
.station {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding-bottom: 30px;
}
.station svg {
  width: 130px;
  height: 180px;
  color: var(--text);
}
.station .stage-n {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--bronze);
}
.station .stage-lbl {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.station .stage-sub {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--text-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: -8px;
}

/* arrows between stations */
.arrows {
  position: absolute;
  left: 0;
  right: 0;
  top: 38%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  pointer-events: none;
  padding: 0 var(--pad-x);
}
.arrows .a {
  position: relative;
}
.arrows .a::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 1px;
  background: var(--bronze);
}
.arrows .a:last-child::after {
  display: none;
}
.arrows .a::before {
  content: "";
  position: absolute;
  right: -26px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--bronze);
  border-right: 1px solid var(--bronze);
}
.arrows .a:last-child::before {
  display: none;
}

/* bronze traveler walking on the path */
.traveler {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 64px;
  height: 90px;
  color: var(--bronze);
  animation: walk 16s linear infinite;
  filter: drop-shadow(0 0 12px rgba(212, 146, 84, 0.5));
  z-index: 5;
}
@keyframes walk {
  0% {
    left: var(--pad-x);
    transform: translateX(0);
  }
  100% {
    left: calc(100% - var(--pad-x));
    transform: translateX(-100%);
  }
}
.traveler .legs {
  transform-origin: 50% 30%;
  animation: legs 0.4s steps(2) infinite;
}
.traveler .body-bob {
  animation: bob 0.4s steps(2) infinite;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}
@keyframes legs {
  0%,
  100% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(-1);
  }
}

/* per-station micro-animations */
.talk-mouth {
  transform-origin: center;
  animation: talkA 1.2s ease-in-out infinite;
}
@keyframes talkA {
  0%,
  100% {
    transform: scaleY(0.4);
  }
  50% {
    transform: scaleY(1.2);
  }
}
.talk-bubble {
  animation: bubble 2.2s ease-in-out infinite;
}
@keyframes bubble {
  0%,
  100% {
    opacity: 0.55;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.design-arm {
  transform-origin: 42px 60px;
  animation: scribble 1.6s ease-in-out infinite;
}
@keyframes scribble {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(10deg);
  }
}
.dev-arms {
  transform-origin: 50% 60%;
  animation: type 0.3s steps(2) infinite;
}
@keyframes type {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5px);
  }
}
.cloud {
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.cloud-bits line {
  animation: rain 1.8s linear infinite;
}
.cloud-bits line:nth-child(2) {
  animation-delay: 0.3s;
}
.cloud-bits line:nth-child(3) {
  animation-delay: 0.6s;
}
@keyframes rain {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}
.gear {
  transform-origin: center;
  animation: spin 4s linear infinite;
}
.gear.r {
  animation-direction: reverse;
  animation-duration: 6s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.rocket {
  animation: launch 3.4s ease-in-out infinite;
}
@keyframes launch {
  0%,
  25% {
    transform: translateY(0);
  }
  55% {
    transform: translateY(-16px);
  }
  75% {
    transform: translateY(-34px);
    opacity: 1;
  }
  100% {
    transform: translateY(-70px);
    opacity: 0;
  }
}
.smoke {
  animation: smoke 3.4s ease-in-out infinite;
}
@keyframes smoke {
  0%,
  25% {
    opacity: 0;
  }
  55%,
  80% {
    opacity: 0.7;
    transform: translateY(3px) scale(1.15);
  }
  100% {
    opacity: 0;
  }
}
.zerotwo .one {
  animation: countup 3.4s steps(2) infinite;
}
@keyframes countup {
  0%,
  49% {
    opacity: 0.3;
  }
  50%,
  100% {
    opacity: 1;
  }
}

@media (max-width: 780px) {
  .stations,
  .arrows {
    grid-template-columns: repeat(3, 1fr);
  }
  .station svg {
    width: 96px;
    height: 140px;
  }
  .station:nth-child(n + 4) {
    margin-top: 30px;
  }
}

/* ============================================================
   EXPERIENCE
   ============================================================ */
.timeline {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.tline-row {
  display: grid;
  grid-template-columns: 140px 1fr 220px;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.25s ease;
}
.tline-row:hover {
  background: rgba(212, 146, 84, 0.04);
}
.tline-row .when {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--bronze);
  letter-spacing: 0.1em;
}
.tline-row .what {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tline-row .what .dot {
  width: 6px;
  height: 6px;
  background: var(--bronze);
  border-radius: 50%;
}
.tline-row .where {
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.08em;
}

@media (max-width: 780px) {
  .tline-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .tline-row .where {
    text-align: left;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: clamp(100px, 14vh, 160px) 0;
  text-align: center;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 146, 84, 0.12),
    transparent 60%
  );
  pointer-events: none;
}
.contact .big {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 18px 0 0;
}
.contact .big .ser {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--bronze);
}
.contact .links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.contact .links .btn {
  padding: 18px 28px;
  font-size: 13px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.foot {
  border-top: 1px solid var(--line);
  padding: 30px var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.06em;
}
footer.foot .left {
  display: flex;
  gap: 18px;
  align-items: center;
}
footer.foot .left .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bronze);
}
footer.foot a {
  color: var(--text-2);
}
footer.foot a:hover {
  color: var(--bronze);
}

/* ============================================================
   BILINGUAL SWAP  (default EN; add lang="de" to <html> for DE)
   ============================================================ */
[data-de] {
  display: none;
}
html[lang="de"] [data-en] {
  display: none;
}
html[lang="de"] [data-de] {
  display: initial;
}

/* ============================================================
   PROCESS — MOBILE RAPPEL
   ============================================================ */
@media (max-width: 780px) {
  /* hide horizontal arrows + retire the horizontal path */
  .journey .arrows {
    display: none;
  }

  .journey .strip {
    overflow: hidden;
    padding: 80px 0 100px;
  }

  /* turn the horizontal path line into a vertical rope guide */
  .journey .strip::before {
    top: 0;
    bottom: 0;
    left: 44px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(212, 146, 84, 0.45) 8%,
      rgba(212, 146, 84, 0.45) 92%,
      transparent
    );
  }

  /* jagged rock face on the left */
  .journey .strip::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    background:
      repeating-linear-gradient(
        110deg,
        rgba(212, 146, 84, 0.06) 0 3px,
        transparent 3px 9px
      ),
      linear-gradient(
        90deg,
        rgba(212, 146, 84, 0.18),
        rgba(212, 146, 84, 0.04) 80%,
        transparent
      );
    border-right: 1px solid rgba(212, 146, 84, 0.3);
    clip-path: polygon(
      0 0,
      100% 0,
      82% 4%,
      96% 8%,
      74% 13%,
      92% 17%,
      78% 22%,
      96% 27%,
      76% 32%,
      90% 37%,
      80% 42%,
      94% 47%,
      72% 52%,
      92% 57%,
      78% 62%,
      90% 67%,
      74% 72%,
      94% 77%,
      80% 82%,
      92% 87%,
      76% 92%,
      90% 97%,
      0 100%
    );
    pointer-events: none;
  }

  /* stations stack vertically on the right of the mountain */
  .journey .stations {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-left: 80px;
    padding-right: var(--pad-x);
  }

  .journey .station {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 18px;
    padding-bottom: 0;
    position: relative;
    margin-top: 0 !important; /* kills the old `nth-child(n+4)` offset */
  }

  /* bronze waypoint dot — sits on the path line */
  .journey .station::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bronze);
    box-shadow: 0 0 14px rgba(212, 146, 84, 0.8);
    transform: translateY(-50%);
    z-index: 3;
  }

  .journey .station svg {
    width: 64px;
    height: 92px;
    flex-shrink: 0;
  }

  .journey .station > div:not(.stage-n) {
    flex: 1;
  }

  .journey .station .stage-n {
    position: absolute;
    top: 4px;
    right: 0;
    font-size: 10px;
    opacity: 0.7;
  }

  /* the rappelling figure */
  .journey .traveler {
    position: absolute;
    top: 60px; /* JS controls this */
    left: 14px;
    width: 56px;
    height: 70px;
    color: var(--bronze);
    animation: none; /* disable the desktop `walk` keyframes */
    z-index: 6;
    transition: top 0.08s linear;
    filter: drop-shadow(0 6px 14px rgba(212, 146, 84, 0.55));
  }

  /* rotated into a rappel pose — feet kicked against the wall on the left */
  .journey .traveler svg {
    transform: rotate(70deg);
    transform-origin: 50% 50%;
    animation: rappel-sway 2.4s ease-in-out infinite;
  }

  /* kill the desktop walk-cycle sub-animations */
  .journey .traveler .body-bob,
  .journey .traveler .legs {
    animation: none;
  }

  /* the rope — extends up off-screen, clipped by .strip overflow:hidden */
  .journey .traveler::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 50%;
    width: 1.5px;
    height: 2000px;
    background: linear-gradient(
      180deg,
      transparent 0,
      rgba(212, 146, 84, 0.35) 3%,
      var(--bronze) 30%
    );
    transform: translateX(-50%);
    pointer-events: none;
  }

  /* kick-off impact glow on the wall */
  .journey .traveler::after {
    content: "";
    position: absolute;
    left: -16px;
    top: 38%;
    width: 20px;
    height: 8px;
    background: radial-gradient(
      ellipse at right,
      rgba(212, 146, 84, 0.55),
      transparent 70%
    );
    animation: rappel-impact 2.4s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes rappel-sway {
    0%,
    100% {
      transform: rotate(70deg) translateY(0);
    }
    35% {
      transform: rotate(56deg) translate(3px, -2px);
    } /* push off */
    65% {
      transform: rotate(76deg) translate(-1px, 1px);
    } /* swing back */
  }

  @keyframes rappel-impact {
    0%,
    55%,
    100% {
      opacity: 0;
      transform: scale(0.5);
    }
    65%,
    78% {
      opacity: 0.7;
      transform: scale(1);
    }
  }
}

/* ============================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --pad-x: clamp(18px, 3vw, 40px);
  }

  /* Sections etwas kompakter */
  section {
    padding: clamp(70px, 10vh, 110px) 0;
  }

  /* 4BL Stage darf kleiner werden */
  .bl-copy {
    padding: clamp(50px, 8vh, 90px) var(--pad-x);
  }
  .phone {
    width: clamp(120px, 14vw, 170px);
  }
}

/* ============================================================
   RESPONSIVE — TABLET / LARGE PHONE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  /* NAV */
  .nav {
    padding: 14px var(--pad-x);
  }
  .nav .brand {
    font-size: 11px;
  }
  .nav .lang {
    margin-left: auto;
  }

  /* HERO */
  .hero {
    min-height: auto;
    padding: 110px var(--pad-x) 40px;
    align-items: stretch;
  }
  .hero .meta {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 30px;
  }
  .hero .meta .role {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-figure {
    position: relative;
    left: auto;
    transform: none;
    width: min(70vw, 320px);
    margin: 40px auto 30px;
  }
  .hero-marquee {
    top: auto;
    bottom: 38%;
    font-size: clamp(28px, 8vw, 52px);
  }
  .hero-lower {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 30px;
  }
  .hero-lower .tagline {
    max-width: 100%;
  }
  .scroll-cue {
    display: none;
  }

  /* ABOUT */
  .about-grid {
    gap: 28px;
    margin-top: 28px;
  }
  .factcard {
    padding: 20px;
  }
  .about-grid .lead {
    font-size: clamp(20px, 4vw, 26px);
  }

  /* 4BL */
  .bl-stage {
    height: clamp(380px, 60vh, 520px);
  }
  .phone {
    width: clamp(120px, 22vw, 170px);
  }
  .bl-copy .tagline,
  .bl-copy .desc {
    max-width: 100%;
  }
  .bl-cta-row {
    flex-wrap: wrap;
  }
  .bl-cta-row .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .note-callout {
    bottom: 16px;
    right: 16px;
    font-size: 9px;
  }

  /* PROJECTS */
  .proj {
    min-height: auto;
  }
  .proj .visual {
    min-height: 240px;
    padding: 30px 16px 0;
  }
  .browser {
    max-width: 280px;
  }
  .proj.tmf .phone-tilt {
    width: 170px;
  }
  .proj .footer {
    padding: 18px 20px;
  }
  .proj .footer h4 {
    font-size: 24px;
  }

  /* SKILLS */
  .skills-grid {
    gap: 12px;
  }
  .skill-card {
    padding: 20px;
  }

  /* CONTACT */
  .contact {
    padding: clamp(70px, 12vh, 120px) 0;
  }
  .contact .big {
    font-size: clamp(44px, 11vw, 90px);
  }
  .contact .links {
    gap: 10px;
    margin-top: 30px;
  }
  .contact .links .btn {
    padding: 14px 22px;
    font-size: 12px;
  }
}

/* ============================================================
   RESPONSIVE — STANDARD PHONE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  :root {
    --pad-x: 18px;
  }

  /* NAV — "/ 2026" wegblenden, Brand kompakter */
  .nav {
    padding: 12px var(--pad-x);
    font-size: 11px;
  }
  .nav .brand span:last-child > span {
    display: none;
  } /* "/ 2026" */
  .nav .brand b {
    letter-spacing: 0.1em;
  }
  .nav .lang button {
    padding: 4px 8px;
    font-size: 10px;
  }

  /* HERO */
  .hero-name {
    font-size: clamp(44px, 18vw, 88px);
    gap: 2px;
  }
  .hero-name .left::before {
    font-size: 9px;
    top: -14px;
  }
  .hero-figure {
    width: min(78vw, 280px);
    margin: 30px auto 20px;
  }
  .hero-marquee {
    font-size: clamp(22px, 7vw, 38px);
  }
  .hero .meta {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .hero-lower .tagline {
    font-size: 13px;
  }

  /* H2 Display kleiner */
  .h-display {
    font-size: clamp(34px, 9vw, 56px);
  }

  /* ABOUT — Factcard responsiv */
  .factcard ul li {
    flex-direction: column;
    gap: 2px;
  }
  .factcard ul li .k {
    min-width: 0;
    padding-top: 0;
  }

  /* 4BL */
  .bl-copy {
    padding: 60px var(--pad-x) 50px;
  }
  .bl-copy .word4bl {
    font-size: clamp(72px, 22vw, 120px);
  }
  .bl-copy .tagline {
    font-size: clamp(18px, 5vw, 24px);
  }
  .bl-copy .desc {
    font-size: 14px;
  }
  .bl-cta-row .btn {
    flex-basis: 100%;
  }
  .bl-stage {
    height: clamp(360px, 56vh, 460px);
  }
  .phone {
    width: clamp(108px, 28vw, 150px);
  }

  /* PROJECTS */
  .browser {
    max-width: 240px;
  }
  .proj.tmf .phone-tilt {
    width: 150px;
  }
  .proj .footer h4 {
    font-size: 22px;
  }
  .proj .footer .desc {
    font-size: 13px;
  }

  /* STACK */
  .skill-card {
    padding: 18px;
  }
  .skill-card h5 {
    font-size: 16px;
  }

  /* JOURNEY — Mobile-Rappel feiner */
  .journey .stations {
    padding-left: 70px;
    gap: 40px;
  }
  .journey .station svg {
    width: 56px;
    height: 80px;
  }
  .journey .station .stage-lbl {
    font-size: 13px;
  }
  .journey .station .stage-sub {
    font-size: 8px;
  }
  .journey .traveler {
    width: 48px;
    height: 60px;
    left: 12px;
  }

  /* TIMELINE */
  .tline-row {
    padding: 18px 0;
    gap: 4px;
  }
  .tline-row .when {
    font-size: 11px;
  }
  .tline-row .what {
    font-size: 18px;
  }
  .tline-row .where {
    font-size: 11px;
  }

  /* CONTACT */
  .contact .big {
    font-size: clamp(38px, 12vw, 64px);
  }
  .contact .links {
    flex-direction: column;
    align-items: stretch;
  }
  .contact .links .btn {
    justify-content: center;
  }

  /* FOOTER */
  footer.foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px var(--pad-x);
  }
}

/* ============================================================
   RESPONSIVE — EXTRA SMALL (≤360px)
   ============================================================ */
@media (max-width: 360px) {
  :root {
    --pad-x: 14px;
  }

  .nav {
    padding: 10px var(--pad-x);
  }
  .hero-name {
    font-size: clamp(38px, 16vw, 72px);
  }
  .h-display {
    font-size: clamp(30px, 8vw, 48px);
  }
  .bl-copy .word4bl {
    font-size: clamp(64px, 20vw, 100px);
  }
  .contact .big {
    font-size: clamp(34px, 11vw, 56px);
  }
}
