/* ═══════════════════════════════════════════
   Patrick Herget Consulting — Stylesheet
   ═══════════════════════════════════════════ */

/* ── SELF-HOSTED FONTS (GDPR) ────────── */

/* DM Sans — latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/dm-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* DM Sans — latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(../fonts/dm-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat — latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Montserrat — latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 200 600;
  font-display: swap;
  src: url(../fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gold: #C9A35B;
  --gold-light: #E2C48A;
  --black: #080808;
  --dark: #101010;
  --dark-2: #161616;
  --grey: #2A2A2A;
  --grey-mid: #555;
  --grey-light: #999;
  --white: #F4F2EE;
  --white-dim: rgba(244,242,238,0.7);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); }


/* ── NAV ───────────────────────────────── */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 64px;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
nav.scrolled {
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 20px 64px;
}

.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 300; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; gap: 48px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--grey-light);
  text-decoration: none; transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }


/* ── SCROLL ANIMATION HERO ─────────────── */

.scroll-container {
  height: 420vh; /* scroll runway — controls pacing */
  position: relative;
  padding: 0; /* override the general section padding — this section is full-bleed */
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#frame-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Soft radial fade — wide enough to cover video, gradual enough to feel seamless */
  mask-image: radial-gradient(ellipse 48% 68% at 50% 48%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 48% 68% at 50% 48%, black 30%, transparent 70%);
  will-change: transform;
}

/* Hero dim overlay — darkens animation at start, controlled by JS */
.hero-dim {
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0.55;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Hero intro text — visible at scroll start, positioned above the cubes */
.hero-intro {
  position: absolute;
  top: 12%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero-intro.visible {
  opacity: 1;
  pointer-events: auto;
}

.hero-intro .hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  justify-content: center;
  margin-bottom: 28px;
}
.eyebrow-line { width: 36px; height: 1px; background: var(--gold); }
.eyebrow-text {
  font-size: 11px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
}

.hero-name {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 200; line-height: 1.08;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 2px 40px rgba(0,0,0,0.6);
}
.hero-name .gold { color: var(--gold); display: block; }

.hero-tagline {
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin-top: 24px;
  text-shadow: 0 1px 20px rgba(0,0,0,0.5);
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.scroll-cue.visible {
  opacity: 1;
}
.scroll-cue span {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--grey-mid);
}
.scroll-cue-bar {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--grey-mid), transparent);
  animation: barPulse 2s ease-in-out infinite;
}


/* ── PHASE OVERLAY CARDS ───────────────── */

.phase-card {
  position: absolute;
  width: 480px;
  padding: 60px 52px;

  /* Glassmorphism */
  background: rgba(8, 8, 8, 0.65);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(201, 163, 91, 0.15);

  /* Hidden by default */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
  z-index: 10;
}
.phase-card.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Gold top-border accent */
.phase-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s ease 0.15s;
}
.phase-card.visible::before {
  transform: scaleX(1);
}

/* Card positions are set dynamically by JS (scroll-animation.js)
   based on where the video actually renders on screen.
   These are fallbacks only. */
.phase-card {
  top: 50%;
  transform: translateY(-50%) translateY(20px);
}
.phase-card.visible {
  transform: translateY(-50%);
}

.phase-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 20px;
}

.phase-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; font-weight: 200;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.phase-body {
  font-size: 15px; line-height: 1.85;
  color: var(--white-dim);
}


/* Hero outro — CTA at end of scroll */
.hero-outro {
  position: absolute;
  bottom: 15%;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero-outro.visible {
  opacity: 1;
  pointer-events: auto;
}

.hero-outro .outro-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 200; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-outro .outro-heading .gold { color: var(--gold); }

/* Scroll progress bar */
.scroll-progress-bar {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 20;
  transition: none;
}


/* ── SHARED COMPONENTS ─────────────────── */

.btn-gold {
  display: inline-flex; align-items: center;
  background: var(--gold); color: var(--black);
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; text-decoration: none;
  padding: 17px 36px;
  position: relative; overflow: hidden;
  transition: color 0.3s;
}
.btn-gold::after {
  content: ''; position: absolute; inset: 0;
  background: var(--gold-light);
  transform: translateX(-101%); transition: transform 0.3s ease;
}
.btn-gold span { position: relative; z-index: 1; }
.btn-gold:hover::after { transform: translateX(0); }

.btn-ghost {
  font-size: 11px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--grey-light);
  text-decoration: none; transition: color 0.25s;
}
.btn-ghost:hover { color: var(--gold); }


/* ── SECTION BASE ──────────────────────── */

section { padding: 120px 64px; }

.label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 20px;
}
.label-line { width: 36px; height: 1px; background: var(--gold); }
.label-text {
  font-size: 11px; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
}

.section-h {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 200; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.15;
  margin-bottom: 56px;
}
.section-h .gold { color: var(--gold); }


/* ── UBER MICH ─────────────────────────── */

#ueber-mich {
  background: linear-gradient(to bottom, var(--black) 0%, var(--dark) 15%);
  padding-bottom: 0;
}

.about-grid {
  display: grid; grid-template-columns: 2.25fr 1fr;
  gap: 80px; align-items: start;
  max-width: 1740px;
  margin: 0 auto;
}
.about-grid > :last-child {
  height: 0;
  min-height: 100%;
  overflow: hidden;
}

.about-body {
  font-size: 18px; line-height: 1.85;
  color: var(--white-dim); margin-bottom: 28px;
}
.about-body strong { color: var(--white); font-weight: 400; }

.about-quote {
  position: relative;
  border-left: none;
  padding: 4px 0 4px 28px;
  margin: 44px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 200;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); line-height: 1.6;
}
.about-quote::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2px;
  height: 0;
  background: var(--gold);
  transition: height 0.8s ease 0.5s;
}
.about-quote.in::before {
  height: 100%;
}
.about-quote span { color: var(--gold); }

/* Values */
.values { display: flex; flex-direction: column; gap: 0; margin-top: 8px; }
.value-row {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.value-row:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.value-dot {
  width: 6px; height: 6px; background: var(--gold);
  border-radius: 50%; flex-shrink: 0;
}
.value-inline {
  font-size: 16px; color: var(--grey-light); line-height: 1.6; margin: 0;
}
.value-inline strong {
  color: var(--white); font-weight: 500;
}

/* Photo aside */
.photo-aside { position: relative; height: 100%; }
.photo-aside img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: grayscale(25%);
  display: block;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}
.photo-frame {
  position: absolute; top: -14px; left: -14px;
  right: -14px; bottom: -14px;
  border: 1px solid rgba(201,163,91,0.35);
  pointer-events: none;
}

/* Scroll-linked text spotlight — paragraphs dim/brighten as you scroll */
.about-body.reveal.in,
.about-quote.reveal.in {
  transition: opacity 0.4s ease, transform 0.65s ease;
}
.about-body.dimmed { opacity: 0.35; }
.about-quote.dimmed { opacity: 0.35; }

/* Pulsing gold — quote line */
@keyframes pulseGoldLine {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}
.about-quote.alive::before {
  animation: pulseGoldLine 3.5s ease-in-out infinite;
}

/* Pulsing gold — value dots */
@keyframes pulseGoldDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,163,91,0); }
  50%      { opacity: 0.6; box-shadow: 0 0 6px 2px rgba(201,163,91,0.25); }
}
.value-dot.alive {
  animation: pulseGoldDot 3.5s ease-in-out infinite;
}


/* ── LOGIK / ANSATZ ────────────────────── */

#logik {
  background: linear-gradient(to bottom, var(--dark) 0%, var(--black) 5%);
}

.logik-content {
  max-width: 1740px;
  margin-left: auto;
  margin-right: auto;
}

.logik-intro {
  font-size: 17px; color: var(--white-dim);
  line-height: 1.75; max-width: 600px; margin-bottom: 72px;
}

.logik-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1740px;
  margin-left: auto;
  margin-right: auto;
}
.logik-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.logik-card {
  background: var(--dark-2); padding: 52px 36px 56px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.logik-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.logik-card:hover::before { transform: scaleX(1); }
.logik-card:hover { background: #1c1c1c; }

.logik-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px; font-weight: 200; letter-spacing: 0.1em;
  color: rgba(201,163,91,0.12); line-height: 1;
  margin-bottom: 20px;
}
.logik-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px; font-weight: 400; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white); margin-bottom: 14px;
}
.logik-body {
  font-size: 14px; line-height: 1.8; color: var(--grey-light);
}

.logik-arrow {
  position: absolute; right: -14px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; color: var(--gold);
  z-index: 2; pointer-events: none;
}


/* ── CTA ───────────────────────────────── */

#kontakt {
  background: var(--black);
  text-align: center; padding: 160px 64px;
  position: relative; overflow: hidden;
}
#kontakt::before {
  content: 'PHC';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 320px; font-weight: 200; letter-spacing: 0.2em;
  color: rgba(201,163,91,0.035);
  pointer-events: none; white-space: nowrap; line-height: 1;
}

.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }

.cta-label {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 36px;
}
.cta-label-line { width: 24px; height: 1px; background: var(--gold); }
.cta-label-text {
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold);
}

.cta-h {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 200; letter-spacing: 0.1em;
  text-transform: uppercase; line-height: 1.15;
  margin-bottom: 28px;
}
.cta-h .gold { color: var(--gold); }

.cta-sub {
  font-size: 16px; color: var(--white-dim);
  line-height: 1.75; margin-bottom: 52px;
  max-width: 520px; margin-left: auto; margin-right: auto;
}


/* ── LEGAL PAGES ──────────────────────── */

.legal-page {
  padding: 140px 64px 100px;
  max-width: 860px;
  margin: 0 auto;
}
.legal-page h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 200;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 48px;
}
.legal-page h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-top: 48px;
  margin-bottom: 16px;
}
.legal-page h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin-top: 32px;
  margin-bottom: 12px;
}
.legal-page h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-top: 24px;
  margin-bottom: 8px;
}
.legal-page p {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-page ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-page li {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 4px;
}
.legal-page a {
  color: var(--gold);
  text-decoration: none;
}
.legal-page a:hover {
  text-decoration: underline;
}
.legal-page strong {
  color: var(--white);
  font-weight: 500;
}

/* ── FOOTER ────────────────────────────── */

footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 36px 64px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 300;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--grey-light);
}
.footer-copy { font-size: 12px; color: var(--grey-light); }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-light); text-decoration: none; transition: color 0.25s;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 2px;
}
.footer-links a:hover { color: var(--gold); border-bottom-color: var(--gold); }


/* ── ANIMATIONS ────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes barPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }


/* ── COOKIE CONSENT BANNER ────────────── */

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: rgba(16, 16, 16, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201, 163, 91, 0.18);
  padding: 24px 64px;
  transform: translateY(100%);
  transition: transform 0.45s ease;
}
.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cookie-text {
  font-size: 14px;
  color: var(--grey-light);
  line-height: 1.6;
  margin: 0;
}
.cookie-text a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s;
}
.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.cookie-btn-decline {
  background: transparent;
  color: var(--grey-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie-btn-decline:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}
.cookie-btn-accept {
  background: var(--gold);
  color: var(--black);
}
.cookie-btn-accept:hover {
  background: var(--gold-light);
}

@media (max-width: 767px) {
  .cookie-banner { padding: 20px 24px; }
  .cookie-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .cookie-text { font-size: 13px; }
  .cookie-buttons { width: 100%; }
  .cookie-btn { flex: 1; padding: 12px 16px; }
}


/* ── RESPONSIVE ────────────────────────── */

@media (max-width: 1024px) {
  .scroll-container {
    height: 380vh;
  }
}

@media (max-width: 1440px) {
  /* Über mich — tighter on smaller screens */
  #ueber-mich { padding: 80px 48px; }
  .about-grid { gap: 48px; max-width: 1200px; }
  .section-h { font-size: clamp(28px, 3.5vw, 44px); margin-bottom: 40px; }
  .about-body { font-size: 16px; margin-bottom: 20px; }
  .about-quote { font-size: 16px; margin: 32px 0; }
  .value-row { padding: 18px 0; }
  .value-title { font-size: 14px; }
  .value-body { font-size: 12px; }

  /* Logik — tighter on smaller screens */
  #logik { padding: 80px 48px; }
  .logik-content { max-width: 1200px; }
  .logik-grid { max-width: 1200px; }
  .logik-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .logik-intro { font-size: 15px; margin-bottom: 48px; }
  .logik-card { padding: 32px 28px; }
  .logik-num { font-size: 36px; margin-bottom: 14px; }
  .logik-title { font-size: 14px; margin-bottom: 10px; }
  .logik-body { font-size: 13px; }
}

@media (max-width: 767px) {
  /* Mobile: no scroll animation */
  nav, nav.scrolled { padding: 20px 28px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.15em; }

  /* Replace scroll animation with static hero */
  .scroll-container { height: auto; }
  .sticky-wrapper {
    position: relative;
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    padding: 120px 28px 60px;
  }
  #frame-canvas { display: none; }
  .scroll-progress-bar { display: none; }
  .scroll-cue { display: none; }

  /* Show intro text always on mobile */
  .hero-intro {
    position: relative;
    top: auto; left: auto;
    transform: none;
    opacity: 1 !important;
    margin-bottom: 40px;
  }

  /* Mobile static fallback image — hidden, cube only makes sense with scroll animation */
  .mobile-hero-img {
    display: none;
  }

  /* Phase cards become vertical stack on mobile */
  .phase-card {
    position: relative !important;
    width: 100% !important;
    top: auto !important; left: auto !important;
    right: auto !important; bottom: auto !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 2px;
    pointer-events: auto;
  }
  .phase-card::before {
    transform: scaleX(1) !important;
  }

  /* Hero outro on mobile */
  .hero-outro {
    position: relative;
    bottom: auto; left: auto;
    transform: none;
    opacity: 1 !important;
    pointer-events: auto;
    margin-top: 40px;
  }

  section { padding: 80px 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-aside { display: none; }
  .logik-grid { grid-template-columns: 1fr; }
  .logik-arrow { display: none; }
  #kontakt { padding: 100px 28px; }
  #kontakt::before { font-size: 160px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
}

/* Hide mobile-only elements on desktop */
@media (min-width: 768px) {
  .mobile-hero-img { display: none; }
}
