/* ── THEME TOKENS ─────────────────────────────────────────────── */
:root {
  --bg:       #f5f4f0;
  --bg2:      #edecea;
  --text:     #111110;
  --text2:    #57574f;
  --text3:    #a0a098;
  --border:   rgba(255,255,255,0.1);
  --accent:   #a8e000;
  --accent-t: rgba(168,224,0,0.1);
  --nav-bg:   rgba(20,22,18,0.55);
  --card-bg:  #ffffff;
  --invert:   0;
  --vid-scrim: rgba(245,244,240,0.1);
  --font-body: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}
[data-theme="dark"] {
  --bg:       #0d0d0b;
  --bg2:      #151512;
  --text:     #f0efeb;
  --text2:    #8a8a80;
  --text3:    #555550;
  --border:   rgba(255,255,255,0.07);
  --accent:   #a8e000;
  --accent-t: rgba(168,224,0,0.08);
  --nav-bg:   rgba(13,13,11,0.88);
  --card-bg:  #1a1a16;
  --invert:   1;
}

/* ── RESET ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5; overflow-x: hidden;
  transition: background .35s, color .35s;
}
h1, h2, h3, h4,
.hero-h1, .hero-label, .s-title, .s-num, .s-eyebrow,
.mstat-num, .mstat-tagline, .l-title, .l-num, .t-title, .t-label,
.sec-title, .page-title, .section-label, .fact-num,
.k-social-handle, .cta-text h2, .ueber-text-side h1,
.l-hero h1, .port-hero h1, .k-hero h1, .legal-hero h1,
.skill-card h3, .p-tag {
  font-family: var(--font-heading);
}

/* ── NAV ──────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 100%; z-index: 300;
  height: 76px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 28px;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  transition: background .35s, border-color .35s,
              top .45s cubic-bezier(.22,1,.36,1),
              max-width .45s cubic-bezier(.22,1,.36,1),
              height .45s cubic-bezier(.22,1,.36,1),
              border-radius .45s cubic-bezier(.22,1,.36,1),
              box-shadow .45s cubic-bezier(.22,1,.36,1);
}
nav.npm-scrolled {
  top: 14px;
  max-width: 760px;
  height: 60px;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
@media (max-width: 860px) {
  nav.npm-scrolled { max-width: calc(100% - 28px); }
}
nav ul, nav li { list-style: none; margin: 0; padding: 0; }

.nav-center {
  display: flex; align-items: center; gap: 0;
}

.nav-left, .nav-right-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
}

.nav-left a, .nav-right-links a {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.65); text-decoration: none;
  padding: 6px 14px; border-radius: 7px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-left a:hover, .nav-left a.active,
.nav-right-links a:hover, .nav-right-links a.active {
  color: #fff; background: rgba(255,255,255,0.1);
}

.logo {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; padding: 0 18px;
  opacity: .88; transition: opacity .2s;
}
.logo:hover { opacity: 1; }
.logo img {
  height: 64px; display: block;
  transition: filter .35s, height .45s cubic-bezier(.22,1,.36,1);
  filter: none;
}
nav.npm-scrolled .logo img { height: 44px; }

.nav-controls {
  position: absolute; right: 28px;
  display: flex; align-items: center; gap: 8px;
}

.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 34px; height: 34px; flex-shrink: 0;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.15);
  background: transparent; cursor: pointer; z-index: 301;
}
.nav-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: rgba(255,255,255,0.7);
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
}
.nav-mobile-menu ul { list-style: none; padding: 10px 0 18px; }
.nav-mobile-menu ul li a {
  display: block; padding: 14px 24px;
  font-size: 17px; font-weight: 600;
  color: rgba(255,255,255,0.7); text-decoration: none;
  transition: color .15s, background .15s;
  border-radius: 0;
}
.nav-mobile-menu ul li a:hover,
.nav-mobile-menu ul li a.active { color: #fff; }
.nav-mobile-menu ul li a.active { color: var(--accent); }
.nav-mobile-menu ul li a.nav-mobile-cta {
  margin: 8px 16px 4px;
  padding: 13px 20px;
  background: var(--accent); color: #000 !important;
  border-radius: 8px; font-weight: 700; font-size: 15px;
  text-align: center;
}

.theme-btn {
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15); background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: background .15s, color .15s;
}
.theme-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.theme-btn svg { display: block; }

.nav-cta {
  background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 700;
  padding: 8px 18px; border-radius: 7px;
  text-decoration: none; transition: opacity .15s;
}
[data-theme="dark"] .nav-cta { color: #000; }
.nav-cta:hover { opacity: .82; }

/* ── PAGE SHELL ───────────────────────────────────────────────── */
.page-body { padding-top: 64px; }

/* ── SECTION BASICS ───────────────────────────────────────────── */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
section.std { padding: 96px 0; }
.section-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
h1.page-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.05;
  margin-bottom: 24px;
}
h2.sec-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: 18px;
}
p.sec-lead { font-size: 16px; color: var(--text2); line-height: 1.75; }

/* ── DIVIDER ──────────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0 40px; }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo img {
  height: 20px; filter: invert(var(--invert)); opacity: .45;
  transition: opacity .2s, filter .35s;
}
.footer-logo:hover img { opacity: .75; }
.footer-copy { font-size: 12px; color: var(--text2); }
.footer-right { display: flex; gap: 22px; }
.footer-right a { font-size: 12px; color: var(--text3); text-decoration: none; }
.footer-right a:hover { color: var(--text); }

/* ── REVEAL ───────────────────────────────────────────────────── */
.r {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.r.on { opacity: 1; transform: none; }
.r-d1 { transition-delay: .08s; }
.r-d2 { transition-delay: .16s; }
.r-d3 { transition-delay: .24s; }
.r-d4 { transition-delay: .32s; }

/* ── TAG PILLS ────────────────────────────────────────────────── */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag {
  font-size: 12.5px; color: var(--text2);
  border: 1px solid var(--border); border-radius: 6px;
  padding: 5px 13px; background: var(--card-bg);
  transition: color .15s, border-color .15s;
}
.tag:hover { color: var(--accent); border-color: var(--accent); }

/* ── KONTAKT LINKS ────────────────────────────────────────────── */
.k-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 22px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 10px; text-decoration: none; color: var(--text);
  transition: border-color .15s, transform .2s;
}
.k-link:hover { border-color: var(--accent); transform: translateX(3px); }
.k-link-left { display: flex; flex-direction: column; gap: 3px; }
.k-label { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); }
.k-val { font-size: 15px; font-weight: 600; }
.k-arrow { color: var(--text3); font-size: 18px; transition: color .15s; }
.k-link:hover .k-arrow { color: var(--accent); }

/* ── RESPONSIVE (global) ──────────────────────────────────────── */
@media (max-width: 860px) {
  nav { padding: 0 18px; justify-content: space-between; }
  .nav-left        { display: none; }
  .nav-right-links { display: none; }
  .nav-controls { position: static; }
  .nav-center {
    position: absolute; left: 0; right: 0; top: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
  }
  .nav-center .logo { pointer-events: auto; padding: 0; }
  .logo img { height: 48px; }
  .nav-hamburger { display: flex; position: relative; z-index: 1; }
  .nav-controls { position: relative; z-index: 1; }
  .nav-cta { display: none; }
  .nav-mobile-menu {
    display: none;
    position: fixed; top: 76px; left: 0; right: 0; z-index: 299;
    background: rgba(13,13,11,0.97);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: top .45s cubic-bezier(.22,1,.36,1);
  }
  nav.npm-scrolled + .nav-mobile-menu { top: 60px; }
  .wrap { padding: 0 22px; }
  .divider { margin: 0 22px; }
  footer { padding: 28px 22px; flex-direction: column; align-items: flex-start; gap: 12px; }
  section.std { padding: 72px 0; }

  .skills-grid { grid-template-columns: 1fr !important; }

  .teaser-grid { grid-template-columns: 1fr 1fr !important; padding: 0 22px !important; }
  .t-card:first-child { grid-row: span 1 !important; aspect-ratio: 3/4 !important; }

  .facts-row { flex-wrap: wrap; }
  .fact { min-width: 120px; }

  .hero-body { padding: 0 24px 10vh !important; }

  .s-panel { left: 24px !important; right: 24px !important; }
  .s-progress { left: 24px !important; }
  .s-arrows { right: 24px !important; }

  .reel-track img { height: 180px !important; }
}

@media (max-width: 540px) {
  .hero-body { padding: 0 18px 8vh !important; }
  .hero-h1 { font-size: clamp(34px, 9vw, 72px) !important; }
  .hero-btns { flex-direction: column; }
  .btn-white, .btn-ghost-white { text-align: center; padding: 13px 24px; }

  .teaser-grid { grid-template-columns: 1fr !important; }
  .t-card:first-child { grid-row: span 1 !important; aspect-ratio: 3/4 !important; }

  .reel-track img { height: 140px !important; }

  .s-panel { padding: 0 !important; left: 18px !important; right: 18px !important; }
  .s-num { font-size: clamp(72px, 18vw, 120px) !important; margin-bottom: 16px !important; }
  .s-title { font-size: clamp(20px, 5vw, 36px) !important; }
  .s-desc { font-size: 14px !important; }
  .s-progress { left: 18px !important; bottom: 24px !important; }
  .s-arrows { right: 18px !important; bottom: 24px !important; }

  footer { padding: 24px 18px; }
  .footer-right { flex-wrap: wrap; gap: 14px; }

  .port-grid { columns: 1 !important; }
}

/* ══════════════════════════════════════════════════════════════
   HOME (front-page)
   ══════════════════════════════════════════════════════════════ */
#curtain {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; flex-direction: column; pointer-events: none;
}
.curtain-half {
  flex: 1; background: #060605;
  transition: transform .55s cubic-bezier(.76,0,.24,1);
}
.curtain-logo {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity .4s;
}
.curtain-logo img { height: 80px; filter: none; animation: logoBreath 1s ease-in-out infinite alternate; }
@keyframes logoBreath { from { opacity: .6; } to { opacity: 1; } }
#curtain.open .curtain-half:first-child { transform: translateY(-100%); }
#curtain.open .curtain-half:last-child  { transform: translateY(100%); }
#curtain.open .curtain-logo { opacity: 0; }
#curtain.gone { display: none; }

#hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: -10%; width: 120%; height: 120%;
  object-fit: cover; z-index: 0;
  transform-origin: center center; will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(0,0,0,.15) 0%, rgba(0,0,0,.05) 35%,
    rgba(0,0,0,.55) 70%, rgba(0,0,0,.9) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 0.4s steps(1) infinite;
}
@keyframes grain {
  0%   { background-position: 0 0; }
  20%  { background-position: -40px 20px; }
  40%  { background-position: 20px -40px; }
  60%  { background-position: -20px -20px; }
  80%  { background-position: 40px 40px; }
  100% { background-position: -10px 30px; }
}

.hero-body {
  position: relative; z-index: 3;
  padding: 0 24px 12vh; max-width: 820px;
  text-align: center;
}
.hero-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 24px;
  opacity: 0; animation: fadeUp .6s .9s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-h1 { font-size: clamp(44px, 6.4vw, 88px); font-weight: 650; line-height: 1.05; letter-spacing: -.03em; color: #fff; margin-bottom: 0; }
.hero-h1 em { font-style: normal; color: var(--accent); }
.wr { display: inline-block; overflow: hidden; vertical-align: bottom; }
.wr span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordUp .85s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes wordUp   { to { transform: translateY(0); } }
@keyframes fadeUp   { to { opacity: 1; transform: none; } }

.hero-sub {
  font-size: clamp(15px, 1.7vw, 18px);
  color: rgba(255,255,255,.6); line-height: 1.7;
  max-width: 460px; margin-bottom: 38px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .7s 1.7s cubic-bezier(.16,1,.3,1) forwards;
}
.hero-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .7s 1.95s cubic-bezier(.16,1,.3,1) forwards;
}
.btn-white {
  background: #fff; color: #111;
  padding: 14px 30px; border-radius: 8px;
  font-weight: 700; font-size: 14px; text-decoration: none;
  transition: transform .3s cubic-bezier(.16,1,.3,1);
  display: inline-block;
}
.btn-ghost-white {
  border: 1.5px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85);
  padding: 14px 30px; border-radius: 8px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: border-color .2s, color .2s, transform .3s cubic-bezier(.16,1,.3,1);
  display: inline-block;
}
.btn-ghost-white:hover { border-color: rgba(255,255,255,.7); color: #fff; }

.scroll-hint {
  position: absolute; bottom: 28px; right: 52px; z-index: 3;
  color: rgba(255,255,255,.35); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeUp .6s 2.4s ease forwards;
}
.scroll-hint-bar {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,.35), transparent);
  animation: barPulse 2s 2.4s ease-in-out infinite;
}
@keyframes barPulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: .3; transform: scaleY(.5); }
}

#midstrip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 40px;
}
.midstrip-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 0; flex-wrap: wrap;
}
.mstat {
  flex: 1; min-width: 140px;
  display: flex; flex-direction: column; gap: 6px;
  padding: 0 32px;
}
.mstat:first-child { padding-left: 0; }
.mstat-num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900; letter-spacing: -.04em; line-height: 1;
  color: var(--text);
}
.mstat-num em { font-style: normal; color: var(--accent); }
.mstat-label {
  font-size: 13px; color: var(--text2); font-weight: 500;
}
.mstat-tagline {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 700; letter-spacing: -.02em;
  color: var(--text); line-height: 1.45;
}
.mstat-div {
  width: 1px; align-self: stretch;
  background: var(--border); flex-shrink: 0;
}
@media (max-width: 640px) {
  #midstrip { padding: 32px 22px; }
  .mstat { padding: 12px 0; min-width: 45%; }
  .mstat-div { display: none; }
}

#reel {
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
#reel::before, #reel::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px;
  z-index: 2; pointer-events: none;
}
#reel::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
#reel::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.reel-track {
  display: flex; gap: 4px;
  will-change: transform; width: max-content;
  cursor: grab;
}
.reel-track.dragging { cursor: grabbing; }
.reel-track img {
  height: 220px; width: auto; flex-shrink: 0; display: block;
  object-fit: cover; cursor: pointer;
  filter: none;
  transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.reel-track img:hover {
  transform: scale(1.04);
  z-index: 1; position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
#reelLb { position:fixed;inset:0;z-index:9000;background:rgba(0,0,0,.92);display:none;align-items:center;justify-content:center;cursor:zoom-out }
#reelLb.open { display:flex }
#reelLb img { max-width:94vw;max-height:90vh;object-fit:contain;border-radius:6px;pointer-events:none }
#reelLbClose { position:absolute;top:20px;right:26px;background:none;border:none;color:rgba(255,255,255,.5);font-size:30px;cursor:pointer;line-height:1;transition:color .15s }
#reelLbClose:hover { color:#fff }

#story { position: relative; background: #060605; margin-top: 72px; }
.story-sticky {
  position: relative; height: 100vh; min-height: 560px;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
}
.story-bg { position: absolute; inset: 0; }
.story-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity .9s ease;
  filter: brightness(.45) saturate(.7);
}
.story-bg img.active { opacity: 1; }
.story-progressline {
  position: absolute; top: 0; left: 0; height: 2px;
  background: var(--accent); z-index: 20;
  transition: width .4s ease;
}
.story-panels { position: relative; z-index: 10; width: 100%; max-width: 960px; padding: 0 52px; }
.s-panel {
  position: absolute; top: 50%; left: 52px; right: 52px;
  transform: translateY(-50%) translateX(60px);
  opacity: 0; will-change: transform, opacity; pointer-events: none;
  transition: opacity .45s ease, transform .45s cubic-bezier(.16,1,.3,1);
}
.s-panel.from-left  { transform: translateY(-50%) translateX(-60px); }
.s-panel.active     { opacity: 1; transform: translateY(-50%) translateX(0); pointer-events: auto; }
.s-panel.exit-left  { opacity: 0; transform: translateY(-50%) translateX(-60px); }
.s-panel.exit-right { opacity: 0; transform: translateY(-50%) translateX(60px); }
.s-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px; display: block;
}
.s-num {
  font-size: clamp(96px, 20vw, 240px); font-weight: 900;
  letter-spacing: -.055em; line-height: .92; color: #fff; margin-bottom: 28px; display: block;
}
.s-num span { color: var(--accent); }
.s-title {
  font-size: clamp(24px, 4vw, 52px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.15; color: #fff;
  margin-bottom: 20px; display: block; max-width: 640px;
}
.s-desc { font-size: clamp(14px,1.6vw,18px); color: rgba(255,255,255,.42); line-height: 1.75; max-width: 480px; }
.s-progress {
  position: absolute; bottom: 40px; left: 52px;
  display: flex; align-items: center; gap: 10px; z-index: 20;
}
.s-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  transition: background .4s, width .4s; cursor: pointer;
}
.s-dot.active { background: var(--accent); width: 24px; border-radius: 3px; }
.s-arrows {
  position: absolute; bottom: 32px; right: 52px; z-index: 20;
  display: flex; gap: 10px;
}
.s-arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  user-select: none;
}
.s-arrow:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.s-arrow:disabled { opacity: .25; cursor: default; pointer-events: none; }

#teaser { background: var(--bg); padding: 100px 0; }
.teaser-head { margin-bottom: 56px; }
.teaser-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }
.t-card {
  position: relative; overflow: hidden;
  aspect-ratio: 3/4; text-decoration: none; background: var(--bg2);
}
.t-card:first-child { aspect-ratio: auto; grid-row: span 2; }
.t-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.16,1,.3,1), filter .4s;
  filter: brightness(.82) saturate(.85);
}
.t-card:hover img { transform: scale(1.06); filter: brightness(.96) saturate(1.05); }
.t-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.t-label {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 5px;
}
.t-title { font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -.02em; line-height: 1.2; }
.t-arrow {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px;
  opacity: 0; transform: translate(5px,-5px);
  transition: opacity .25s, transform .25s;
}
.t-card:hover .t-arrow { opacity: 1; transform: none; }

.line-reveal {
  display: block; overflow: hidden;
}
.line-reveal span {
  display: block;
  transform: translateY(100%);
  transition: transform .9s cubic-bezier(.16,1,.3,1);
}
.line-reveal.on span { transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   ÜBER MICH
   ══════════════════════════════════════════════════════════════ */
.ueber-hero {
  padding: 80px 0 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.ueber-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: end;
  max-width: 1160px; margin: 0 auto; padding: 64px 40px 0;
}
.ueber-text-side { padding-bottom: 64px; }
.ueber-text-side h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800; letter-spacing: -.038em;
  line-height: 1.06; margin-bottom: 24px;
}
.ueber-text-side h1 em { font-style: normal; color: var(--accent); }
.ueber-text-side p {
  font-size: 16px; color: var(--text2); line-height: 1.8;
  margin-bottom: 16px; max-width: 480px;
}
.ueber-photo-col { align-self: end; }
.ueber-photo-col img {
  width: 100%; display: block;
  border-radius: 14px 14px 0 0;
  object-fit: cover; object-position: top;
  aspect-ratio: 4/5;
  filter: brightness(.95) saturate(.95);
}

.facts-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.fact {
  padding: 36px 40px;
  border-right: 1px solid var(--border);
}
.fact:last-child { border-right: none; }
.fact-num {
  font-size: 40px; font-weight: 800; letter-spacing: -.04em;
  color: var(--accent); line-height: 1;
}
.fact-label { font-size: 13px; color: var(--text3); margin-top: 4px; }

.skills-section { padding: 96px 0; }
.skills-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 3px;
  margin-top: 48px;
}
.skill-card {
  background: var(--card-bg); border: 1px solid var(--border);
  padding: 32px 28px; border-radius: 4px;
  transition: background .15s;
}
.skill-card:hover { background: var(--bg2); }
.skill-card h3 {
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  margin-bottom: 10px;
}
.skill-card p { font-size: 14px; color: var(--text2); line-height: 1.7; }

@media (max-width: 860px) {
  .ueber-hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 22px 0; }
  .ueber-photo-col img { aspect-ratio: 4/3; border-radius: 12px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: none; }
  .fact:nth-child(3) { border-top: 1px solid var(--border); grid-column: span 2; }
  .skills-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   LEISTUNGEN
   ══════════════════════════════════════════════════════════════ */
.l-hero {
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--border);
}
.l-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800; letter-spacing: -.038em; line-height: 1.06;
  margin-bottom: 20px;
}
.l-hero h1 em { font-style: normal; color: var(--accent); }
.l-hero p { font-size: 17px; color: var(--text2); line-height: 1.7; max-width: 520px; }

.leist-list { padding: 80px 0; }
.leist-item {
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  gap: 32px; align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  transition: background .15s;
}
.leist-item:last-child { border-bottom: 1px solid var(--border); }
.l-num {
  font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: .08em; padding-top: 4px;
}
.l-title {
  font-size: clamp(18px, 2.2vw, 26px); font-weight: 700;
  letter-spacing: -.025em; line-height: 1.25;
}
.l-desc { font-size: 15px; color: var(--text2); line-height: 1.75; }

.cta-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px;
}
.cta-text p { font-size: 16px; color: var(--text2); }
.btn-accent {
  background: var(--accent); color: #fff;
  padding: 15px 30px; border-radius: 8px;
  font-weight: 700; font-size: 14px; text-decoration: none;
  white-space: nowrap; transition: opacity .15s, transform .15s;
  flex-shrink: 0;
}
[data-theme="dark"] .btn-accent { color: #000; }
.btn-accent:hover { opacity: .85; transform: translateY(-1px); }

@media (max-width: 860px) {
  .leist-item { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .l-num { display: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   PORTFOLIO
   ══════════════════════════════════════════════════════════════ */
.port-hero { padding: 120px 0 64px; border-bottom: 1px solid var(--border); }
.port-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800; letter-spacing: -.038em; line-height: 1.06;
  margin-bottom: 18px;
}
.port-hero h1 em { font-style: normal; color: var(--accent); }
.port-hero p { font-size: 16px; color: var(--text2); max-width: 480px; line-height: 1.7; }

.filter-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 24px 0; border-bottom: 1px solid var(--border);
}
.f-btn {
  padding: 7px 16px; border-radius: 7px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1px solid var(--border);
  background: transparent; color: var(--text2);
  transition: background .15s, color .15s, border-color .15s;
}
.f-btn:hover { background: var(--bg2); color: var(--text); }
.f-btn.on { background: var(--accent); color: #000; border-color: var(--accent); }
[data-theme="light"] .f-btn.on { color: #fff; }

.port-grid {
  columns: 3; column-gap: 4px;
  padding: 4px 0;
}
.p-item {
  break-inside: avoid; margin-bottom: 4px;
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--bg2);
  transform-style: preserve-3d;
  transition: box-shadow .3s;
}
.p-item:hover { box-shadow: 0 24px 60px rgba(0,0,0,.35); z-index: 2; }
.p-item img {
  width: 100%; display: block;
  transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  filter: none;
}
.p-item:hover img { filter: none; }
.p-item-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
  opacity: 0; transition: opacity .25s;
  display: flex; align-items: flex-end;
}
.p-item:hover .p-item-label { opacity: 1; }
.p-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  background: rgba(0,0,0,.5); backdrop-filter: blur(6px);
  padding: 4px 10px; border-radius: 4px;
}

#lb {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.94);
  display: none; align-items: center; justify-content: center;
}
#lb.open { display: flex; }
#lb img {
  max-width: 92vw; max-height: 92vh;
  object-fit: contain; border-radius: 6px;
}
#lb-close {
  position: absolute; top: 20px; right: 24px;
  color: rgba(255,255,255,.6); font-size: 28px;
  cursor: pointer; background: none; border: none;
  transition: color .15s;
}
#lb-close:hover { color: #fff; }

@media (max-width: 860px) {
  .port-grid { columns: 2; }
}
@media (max-width: 480px) {
  .port-grid { columns: 1; }
}

/* ══════════════════════════════════════════════════════════════
   KONTAKT
   ══════════════════════════════════════════════════════════════ */
.k-hero { padding: 120px 0 80px; border-bottom: 1px solid var(--border); }
.k-hero h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800; letter-spacing: -.038em; line-height: 1.06;
  margin-bottom: 18px;
}
.k-hero h1 em { font-style: normal; color: var(--accent); }
.k-hero p { font-size: 16px; color: var(--text2); max-width: 480px; line-height: 1.7; }

.k-body { padding: 80px 0; }
.k-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.k-links { display: flex; flex-direction: column; gap: 12px; }

.k-social {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 26px;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; text-decoration: none; color: var(--text);
  transition: border-color .2s, transform .25s cubic-bezier(.22,1,.36,1);
}
.k-social:hover { border-color: var(--accent); transform: translateY(-3px); }
.k-social-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 22px;
  transition: background .2s;
}
.k-social:hover .k-social-icon { background: var(--accent-t); border-color: var(--accent); }
.k-social-text { flex: 1; }
.k-social-platform { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); margin-bottom: 3px; }
.k-social-handle { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.k-social-arrow { color: var(--text3); font-size: 20px; transition: color .2s, transform .2s; }
.k-social:hover .k-social-arrow { color: var(--accent); transform: translate(2px,-2px); }

.k-img-wrap { position: sticky; top: 80px; }
.k-img-wrap img {
  width: 100%; border-radius: 14px; display: block;
  filter: brightness(.92) saturate(.9);
}
.k-img-caption {
  margin-top: 14px; font-size: 12px; color: var(--text3); letter-spacing: .03em;
}

@media (max-width: 860px) {
  .k-grid { grid-template-columns: 1fr; gap: 48px; }
  .k-img-wrap { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   RECHTLICHES (Impressum / Datenschutz)
   ══════════════════════════════════════════════════════════════ */
.legal-hero { padding: 120px 0 64px; border-bottom: 1px solid var(--border); }
.legal-hero h1 { font-size: clamp(36px,5vw,64px); font-weight: 800; letter-spacing:-.035em; line-height:1.06; }
.legal-body { padding: 72px 0 100px; }
.legal-block { margin-bottom: 48px; }
.legal-block h2 { font-size: 17px; font-weight: 700; margin-bottom: 12px; letter-spacing:-.01em; }
.legal-block h3 { font-size: 14px; font-weight: 700; margin: 20px 0 8px; color: var(--text); }
.legal-block p, .legal-block address { font-size: 15px; color: var(--text2); line-height: 1.8; font-style: normal; margin-bottom: 12px; }
.legal-block ul { font-size: 15px; color: var(--text2); line-height: 1.8; padding-left: 20px; margin-bottom: 12px; }
.legal-block a { color: var(--accent); text-decoration: none; }
.legal-block a:hover { text-decoration: underline; }
.legal-note {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 20px 24px; font-size: 13px; color: var(--text2); line-height: 1.7;
  margin-top: 48px;
}

/* ══════════════════════════════════════════════════════════════
   FREIER BLOCK-BEREICH (nativer WordPress-Editor)
   Wird für alle Bereiche verwendet, die per the_content() frei mit
   Blöcken bearbeitbar sind (Teaser, Leistungen, Skills, Kontakt-Links …)
   ══════════════════════════════════════════════════════════════ */
.np-blocks { padding: 80px 0; }
.np-blocks .wrap > *:first-child { margin-top: 0; }
.np-blocks p { color: var(--text2); line-height: 1.75; font-size: 15px; }
.np-blocks h2, .np-blocks h3, .np-blocks h4 {
  font-weight: 800; letter-spacing: -.02em; color: var(--text); margin-bottom: 12px;
}
.np-blocks a:not(.wp-block-button__link) { color: var(--accent); }
.np-blocks .wp-block-image img { border-radius: 10px; display: block; }
.np-blocks .wp-block-button__link {
  background: var(--accent); color: #fff; border-radius: 8px;
  font-weight: 700; padding: 13px 26px; text-decoration: none;
}
[data-theme="dark"] .np-blocks .wp-block-button__link { color: #000; }
.np-blocks .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent; color: var(--text); border: 1.5px solid var(--border);
}

/* NP-Karte: wiederverwendbares Block-Pattern für Teaser/Leistungen/Skills/Kontakt */
.np-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; height: 100%; box-sizing: border-box;
}
.np-card .wp-block-image { margin: -28px -28px 20px; }
.np-card .wp-block-image img { border-radius: 12px 12px 0 0; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.np-card h3 { font-size: 17px; margin-bottom: 8px; }
.np-card p { font-size: 14px; margin-bottom: 0; }
.np-card .np-card-num { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; margin-bottom: 8px; display: block; }

/* ── COOKIE-HINWEIS (nur Info, keine Wahlmöglichkeit nötig — keine Tracking-Cookies) ── */
.cookie-notice {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 9998;
  max-width: 640px; margin: 0 auto;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { font-size: 13px; color: var(--text2); line-height: 1.6; margin: 0; flex: 1; min-width: 220px; }
.cookie-notice a { color: var(--accent); text-decoration: none; }
.cookie-notice a:hover { text-decoration: underline; }
.cookie-notice button {
  background: var(--accent); color: #fff; border: none; border-radius: 7px;
  padding: 10px 22px; font-weight: 700; font-size: 13px; cursor: pointer; flex-shrink: 0;
}
[data-theme="dark"] .cookie-notice button { color: #000; }
.cookie-notice button:hover { opacity: .85; }
@media (max-width: 540px) {
  .cookie-notice { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  .cookie-notice button { width: 100%; }
}
