/* =============================================
   IM OBJEKTIV — style.css
   ============================================= */

/* =============================================
   LOADING SCREEN
   ============================================= */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#site-loader.loader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.loader-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: #F0EDE8;
  letter-spacing: 0.08em;
}

.loader-bar {
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: 1px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: #B8724A;
  transition: width 0.15s ease;
  border-radius: 1px;
}

@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Syne-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Syne-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Syne-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Syne-ExtraBold.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/Outfit-Light.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/Outfit-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Outfit-Medium.woff2') format('woff2');
}

:root {
  --bg:            #131313;
  --surface:       #1C1C1C;
  --border:        #2B2B2B;
  --text-primary:  #DEDEDE;
  --text-secondary:#8A8A8A;
  --accent:        #B8724A;
  --accent-hover:  #C97F55;
  --font-display:  'Bebas Neue', sans-serif;
  --font-heading:  'Syne', sans-serif;
  --font-body:     'Outfit', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img, video { display: block; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* =============================================
   LOGO CIRCLE
   ============================================= */
.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--text-primary);
  background: transparent;
}

.logo-circle.small {
  width: 28px;
  height: 28px;
  border-width: 1.5px;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 2rem 3vw 2rem 6vw;
  transition: padding 0.4s ease, background 0.4s ease;
}

.site-header.scrolled {
  padding: 0.8rem 3vw 0.8rem 6vw;
  background: rgba(19, 19, 19, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
}

.header-logo-img {
  height: 80px;
  width: auto;
  display: block;
  margin-left: -178px;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  opacity: 0.7;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .header-logo {
  transform: translateX(-40px);
}

.site-header.scrolled .header-nav {
  transform: translateX(40px);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header-nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--text-primary); }


.nav-instagram {
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-instagram:hover {
  opacity: 1;
  transform: scale(1.08);
}

.nav-cta {
  padding: 0.8rem 2rem;
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  border-radius: 2px;
  color: #111 !important;
  font-weight: 600 !important;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: #c4601a !important;
  border-color: #c4601a !important;
  color: #111 !important;
}

/* =============================================
   HERO
   ============================================= */
.hero-standalone {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-layout {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 6vw;
  gap: 4vw;
}

.hero-layout .hero-content {
  flex: 1;
  padding: 0;
}

.hero-video-right {
  flex: 0 0 38%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.hero-fs-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 6px;
  padding: 7px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.hero-video-wrap:hover .hero-fs-btn { opacity: 1; }

.hero-seek-toast {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  z-index: 20;
}

.hero-seek-toast.visible { opacity: 1; }

/* Fullscreen: video fills container */
.hero-video-wrap:-webkit-full-screen .hero-fs-btn,
.hero-video-wrap:fullscreen .hero-fs-btn { display: none; }

.hero-video-wrap:-webkit-full-screen,
.hero-video-wrap:fullscreen {
  border-radius: 0;
  background: #000;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap:-webkit-full-screen video,
.hero-video-wrap:fullscreen video {
  width: auto;
  height: 100vh;
  max-width: 100vw;
  object-fit: contain;
  border-radius: 0 !important;
  transform: scale(1.3);
  transform-origin: center center;
}

/* ---- Fullscreen Controls ---- */
.hero-fs-controls {
  display: none;
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 56px 18px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  align-items: center;
  gap: 14px;
  transition: opacity 0.3s;
  z-index: 30;
}

.hero-video-wrap:-webkit-full-screen .hero-fs-controls,
.hero-video-wrap:fullscreen .hero-fs-controls { display: flex; }

.hero-fs-controls.hfc-hidden { opacity: 0; pointer-events: none; }

.hfc-playpause {
  background: none; border: none; color: #fff; cursor: pointer;
  padding: 4px; display: flex; align-items: center; flex-shrink: 0;
}

.hfc-time {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}

.hfc-progress {
  flex: 1;
  position: relative;
  height: 4px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.hfc-progress:hover { height: 6px; }

.hfc-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

.hfc-progress-thumb {
  position: absolute;
  width: 13px; height: 13px;
  background: #fff;
  border-radius: 50%;
  left: 0%;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.hfc-progress:hover .hfc-progress-thumb { opacity: 1; }

.hfc-exit-fs {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.hfc-exit-fs:hover { opacity: 1; }

.hero-video-right video {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(19, 19, 19, 0.55) 0%,
    rgba(19, 19, 19, 0.35) 40%,
    rgba(19, 19, 19, 0.80) 80%,
    rgba(19, 19, 19, 1.00) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 6vw;
}

.hero-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 12rem);
  line-height: 0.88;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.hero-heading .word-wrap {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
}

.hero-heading .word-wrap:first-child {
  margin-bottom: -0.15em;
}

.hero-heading .word-wrap .word {
  background: linear-gradient(to bottom, #666666 0%, #FFFFFF 45%, #AAAAAA 70%, #333333 90%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-heading .word-wrap:last-child {
  overflow: visible;
  position: relative;
  padding-bottom: 0;
}

.hero-heading .word-wrap:last-child::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #B8724A 0%, #333333 18%);
  pointer-events: none;
}

.hero-heading .word {
  display: block;
  transform: translateY(110%);
  opacity: 0;
}

.hero-cta-btn {
  display: inline-block;
  background: var(--accent);
  color: #131313;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  margin-bottom: 2.5rem;
  opacity: 0;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(184, 114, 74, 0.35);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.54rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0;
}

#scroll-hint-center {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.975rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#scroll-hint-center.visible {
  opacity: 1;
}

#scroll-hint-center svg {
  display: block;
  width: 21px;
  height: 31px;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

#scroll-hint-left,
#scroll-hint-right {
  position: fixed;
  bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.975rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

#scroll-hint-left  { left: 2.5rem; }
#scroll-hint-right { right: 2.5rem; }

#scroll-hint-left.visible,
#scroll-hint-right.visible {
  opacity: 1;
}

#scroll-hint-left svg,
#scroll-hint-right svg {
  display: block;
  width: 21px;
  height: 31px;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.975rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-hint svg {
  display: block;
  width: 21px;
  height: 31px;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.section-scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.8rem;
  font-family: var(--font-body);
  font-size: 0.975rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #B8B8B8;
  opacity: 0;
}

.section-scroll-hint svg {
  display: block;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}


.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--text-primary);
  text-shadow: 0 0 60px rgba(184,114,74,0.2);
  margin-bottom: 0.9rem;
}

.section-body {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.7;
  color: #B8B8B8;
  max-width: 38ch;
}

/* =============================================
   CONTENT SECTIONS (normaler Scroll, nach Canvas)
   ============================================= */
.content-section .section-heading {
  font-size: clamp(3.2rem, 5vw, 6rem);
}

#section-001 { z-index: 5; }
#section-002 { z-index: 6; }
#section-003 { z-index: 7; min-height: 100vh; padding-top: calc(var(--header-h, 72px) + 4vh); padding-bottom: 0; }

.s003-cta-section {
  padding: 0;
}

.s003-cta-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.s003-box {
  padding: 8vh 6vw 6vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.s003-box--cta {
  text-align: center;
  align-items: center;
  background: transparent;
  padding: 6vh 6vw 0;
  min-height: auto;
}

.s003-box--cta .cta-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--text-primary);
}

.s003-box--cta .cta-subtext {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 36ch;
}

.s003-box--cta .cta-note {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#section-003 .section-heading {
  white-space: nowrap;
}

#flash-word {
  color: var(--accent);
}

.content-section {
  position: relative;
  background: var(--bg);
  z-index: 5;
  padding: 12vh 6vw 6vh;
  display: flex;
  align-items: flex-start;
}

.content-section--locked {
  min-height: 100vh;
}

.s001-inner {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#section-001::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(184,114,74,0.18) 0%, transparent 22%);
  pointer-events: none;
  z-index: 0;
}


#section-001 .section-inner {
  position: relative;
  z-index: 1;
}

.content-section .section-inner {
  max-width: 780px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-section .section-inner.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   SECTION 001 PAIN-POINT CARDS
   ============================================= */
.pain-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}

.pain-card {
  background: #1A1A1A;
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.25s ease;
}

.pain-card:hover {
  border-top-color: var(--accent-hover);
  background: #1E1E1E;
}

.pain-card-icon {
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.pain-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.pain-card-body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

.section-inner.in-view .pain-card {
  opacity: 1;
  transform: translateY(0);
}

.section-inner.in-view .pain-card:nth-child(1) { transition-delay: 0.05s; }
.section-inner.in-view .pain-card:nth-child(2) { transition-delay: 0.15s; }
.section-inner.in-view .pain-card:nth-child(3) { transition-delay: 0.25s; }
.section-inner.in-view .pain-card:nth-child(4) { transition-delay: 0.35s; }

/* =============================================
   SECTION WITH VIDEO BACKGROUND (section-002)
   ============================================= */
.content-section--video-bg {
  overflow: hidden;
  min-height: 100vh;
  padding: 12vh 0 6vh;
}

.section-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(19,19,19,0.88) 0%,
    rgba(19,19,19,0.55) 38%,
    rgba(19,19,19,0.15) 65%,
    transparent 100%
  );
}

.section-video-bg canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.section-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

/* Liquid glass — wrapper (transparent, just positions the stack) */
.content-section--video-bg .section-inner {
  position: relative;
  z-index: 1;
  margin-left: 4vw;
  margin-top: -20px;
  max-width: 62vw;
  padding: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Shared glass panel style */
.glass-panel {
  padding: 1.6rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  border-radius: 16px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.4);
}

.glass-panel--heading {
  align-self: flex-start;
  width: fit-content;
}

.s002-heading-mobile { display: none; }
.mobile-divider-video { display: none; }

.glass-panel--heading .section-heading {
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  margin-bottom: 0;
  white-space: nowrap;
}

.glass-panel--body {
  align-self: flex-start;
  width: 72%;
}

.glass-panel--body .section-body {
  max-width: 100%;
}

/* =============================================
   CTA SECTION (in scroll container)
   ============================================= */
.section-cta {
  position: fixed;
  bottom: 0;
  top: auto;
  left: 0;
  right: 0;
  transform: none;
  min-height: auto;
  padding: 4vh 6vw 6vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to top, rgba(19,19,19,0.96) 55%, transparent 100%);
  z-index: 10;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.cta-num {
  font-size: 1.15em;
  color: var(--accent);
  line-height: 0.85;
  display: inline-block;
  vertical-align: middle;
}

.cta-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--text-primary);
}

.cta-body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 40ch;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 1.5rem 3.75rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s;
  pointer-events: auto;
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.cta-note {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  clip-path: inset(0 100% 0 0);
  white-space: nowrap;
}

@keyframes writeOnLTR {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

.write-on-rtl {
  clip-path: inset(0 100% 0 0);
  animation: writeOnLTR 0.6s ease forwards;
  animation-delay: 0.4s;
}

/* =============================================
   CTA FLOW SECTION — fixed am Viewport-Bottom, Prozess scrollt drüber
   ============================================= */
.cta-flow-section {
  position: relative;
  z-index: 8;
  background: var(--bg);
  min-height: 100vh;
  padding: 12vh 6vw 6vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 1;
}

.cta-flow-section.is-visible {
  pointer-events: auto;
}

/* =============================================
   REGULAR SECTIONS (after scroll container)
   ============================================= */
.regular-section {
  background: var(--bg);
  position: relative;
  z-index: 12;
  padding: 5vh 6vw;
}

#prozess {
  margin-top: 0;
}

.regular-section::before {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--border);
  margin-bottom: 2rem;
}

.regular-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-label-static {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.regular-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}

/* =============================================
   TIMELINE (So funktioniert's)
   ============================================= */
.timeline {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

.tl-item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 3.5rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-content {
  flex: 1;
  padding: 0 2.5rem;
}

.tl-item:nth-child(odd) .tl-content  { text-align: right; }
.tl-item:nth-child(even) .tl-content { text-align: left; }

.tl-side {
  flex: 1;
}

.tl-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tl-num {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.tl-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.tl-body {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

.tl-item:nth-child(1) { transition-delay: 0.0s; }
.tl-item:nth-child(2) { transition-delay: 0.1s; }
.tl-item:nth-child(3) { transition-delay: 0.2s; }
.tl-item:nth-child(4) { transition-delay: 0.3s; }

/* =============================================
   PROJEKTE CAROUSEL
   ============================================= */
.projekte-section { padding-top: 8vh; }

.projekte-carousel-wrap {
  overflow: hidden;
  padding: 2rem 5vw 3rem;
}

.projekte-carousel {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: carousel-scroll 28s linear infinite;
}

.projekte-carousel:hover {
  animation-play-state: paused;
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.projekt-card {
  width: 19vw;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.projekt-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-6px);
}

.projekt-thumb {
  aspect-ratio: 9 / 16;
  background: #0e0e0e;
  overflow: hidden;
  position: relative;
}

.projekt-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.projekt-card:hover .projekt-thumb video { opacity: 1; }

.projekt-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
}

.projekt-info {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.projekt-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.projekt-type {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* =============================================
   REFERENZEN
   ============================================= */
.ref-section { padding-top: 4vh; }

.ref-cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.ref-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(30px);
  flex: 0 0 calc(50% - 0.75rem);
  transition: border-color 0.25s;
}

.ref-card[data-video] { cursor: pointer; user-select: none; }

.ref-card:hover { border-color: var(--accent); }

.ref-avatar {
  flex-shrink: 0;
}

.ref-avatar-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.ref-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ref-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.ref-platform {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

.ref-play {
  color: var(--text-secondary);
  transition: color 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.ref-card:hover .ref-play { color: var(--accent); }

.ref-ext-link { text-decoration: none; }

/* =============================================
   VIDEO MODAL
   ============================================= */
.vmodal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.vmodal.is-open { display: flex; }

.vmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.vmodal-inner {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 520px);
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
}

.vmodal-video {
  width: 100%;
  display: block;
  max-height: 88vh;
  object-fit: contain;
}

.vmodal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.vmodal-close:hover { background: var(--accent); }

/* =============================================
   MAP
   ============================================= */
.map-section {
  width: 100%;
  height: 400px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 12;
  background: var(--bg);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 6vw 2rem;
  position: relative;
  z-index: 12;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.impressum-block {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =============================================
   PROGRESS NAV
   ============================================= */
#progress-nav {
  position: fixed;
  right: 2rem;
  top: 0;
  bottom: 0;
  height: fit-content;
  margin-block: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

#progress-nav.visible {
  opacity: 1;
}

.pnav-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  cursor: pointer;
  pointer-events: auto;
}

.pnav-label {
  font-family: var(--font-body);
  font-size: 1.44rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #303030;
  transition: color 0.35s ease;
  white-space: nowrap;
}

.pnav-item:hover .pnav-label {
  color: #606060;
}

.pnav-item.pnav-done .pnav-label {
  color: #5A5A5A;
}

.pnav-item.pnav-active .pnav-label {
  color: var(--accent);
}

.pnav-dot-wrap {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.pnav-dot-wrap svg {
  display: block;
  width: 38px;
  height: 38px;
  overflow: visible;
}

.dot-bg {
  fill: #181818;
  stroke: #282828;
  stroke-width: 1;
}

/* viewBox stays 0 0 16 16, SVG rendered at 32×32 — strokes scale 2×
   r=4.5 in SVG units → circumference 28.27 (unchanged, SVG-unit space) */
.dot-ring {
  fill: none;
  stroke: #2A2A2A;
  stroke-width: 1.5;
  stroke-dasharray: 28.27;
  stroke-dashoffset: 28.27;
  transition: stroke-dashoffset 0.23s ease-out,
              stroke 0.23s ease-out;
}

.pnav-item.pnav-pre .dot-ring {
  stroke-dashoffset: 14.14;
  stroke: var(--accent);
}

.pnav-item.pnav-done .dot-ring,
.pnav-item.pnav-active .dot-ring {
  stroke-dashoffset: 0;
  stroke: var(--accent);
}

.pnav-seg {
  position: relative;
  width: 38px;
  height: 110px;
  display: flex;
  justify-content: center;
}

/* Dashed grey background line */
.pnav-seg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    #282828 0px,
    #282828 5px,
    transparent 5px,
    transparent 12px
  );
}

/* Orange fill — driven by JS, no CSS transition for scrub precision */
.pnav-seg-fill {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background: var(--accent);
  z-index: 1;
}

@media (max-width: 900px) {
  #progress-nav { display: none; }
}

/* =============================================
   MOBILE
   ============================================= */
@media (max-width: 900px) {
  .align-left,
  .align-right {
    padding: 2rem 5vw;
    align-items: flex-end;
    padding-bottom: 10vh;
  }

  .section-inner {
    max-width: 90vw;
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--border);
  }

  .section-heading {
    font-size: 2.2rem;
  }

  .section-body { display: none; }

  .section-cta {
    padding: 3vh 4vw 5vh;
  }

  .marquee-text { font-size: 20vw; }

  .hero-heading { font-size: clamp(4.5rem, 18vw, 8rem); }

  .regular-heading { font-size: clamp(2rem, 6vw, 3rem); }

  .footer-inner { flex-direction: column; gap: 1rem; }
}

@media (max-width: 480px) {
  .header-nav a:not(.nav-cta) { display: none; }
}

/* =============================================
   MOBILE LAYOUT — @media (max-width: 768px)
   ============================================= */

@media (max-width: 768px) {

  /* Hide desktop-only chrome */
  #scroll-hint-center, #scroll-hint-left, #scroll-hint-right,
  .scroll-nav, .scroll-hint, #progress-nav { display: none !important; }

  /* ---- Header ---- */
  .site-header { padding: 1rem 6vw; }
  .header-inner { justify-content: center; }
  .header-nav { display: none !important; }
  .header-logo-img { height: 56px; margin-left: 0; transition: height 0.35s ease; }
  .site-header.scrolled { padding: 0.45rem 6vw; }
  .site-header.scrolled .header-logo-img { height: 38px; }
  .site-header.scrolled .header-logo,
  .site-header.scrolled .header-nav { transform: none !important; }

  /* ---- Hero ---- */
  .hero-standalone {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-layout { flex-direction: column; padding: 0; gap: 0; }
  .hero-layout .hero-content { display: flex; flex-direction: column; padding: 16vh 8vw 5vw; order: 1; }
  .hero-label { display: none; }
  .hero-video-right { order: 2; flex: none; width: 100%; padding: 0 6vw 6vw; border-radius: 0; }
  .hero-video-right video { border-radius: 12px; max-height: 40vh; width: 100%; object-fit: cover; }
  .hero-fs-btn { display: none; }
  .hero-fs-controls { display: none !important; }
  .hero-heading { font-size: clamp(3.8rem, 15vw, 6rem); margin-bottom: 1rem; }
  .hero-tagline { font-size: clamp(1rem, 4.2vw, 1.3rem); margin-bottom: 1.5rem; }
  .hero-cta-btn { display: block; text-align: center; width: 100%; font-size: 1rem; touch-action: manipulation; }
  .cta-button   { touch-action: manipulation; }
  .nav-cta      { touch-action: manipulation; }
  a             { touch-action: manipulation; }

  /* ---- Sections: always visible, no desktop scroll animations ---- */
  .content-section .section-inner {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .pain-card { opacity: 1 !important; transform: translateY(0) !important; }
  .ref-card  { opacity: 1 !important; transform: translateY(0) !important; }
  .tl-item   { opacity: 1 !important; transform: translateY(0) !important; }

  /* ---- Section 001 ---- */
  .section-inner {
    position: relative !important;
    z-index: 1 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    background: rgba(13, 13, 13, 0.62) !important;
    backdrop-filter: blur(22px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(140%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-top: 1px solid rgba(184, 114, 74, 0.40) !important;
    border-radius: 16px !important;
    padding: 1.5rem 1rem !important;
  }
  .s001-inner { max-width: 100% !important; }
  .pain-cards { grid-template-columns: 1fr; }

  .section-heading,
  .content-section .section-heading { font-size: clamp(1.9rem, 6.5vw, 2.8rem); overflow-wrap: break-word; line-height: 1.1; }
  .section-body    { display: block !important; font-size: 1rem; max-width: 44ch; }
  .section-scroll-hint { display: none !important; }

  /* ---- Kamera-Video Divider (002 → 003) ---- */
  .mobile-divider-video {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
  }
  .mobile-divider-video video {
    width: 100%;
    height: auto;
    display: block;
  }
  .mobile-divider-video canvas {
    width: 100%;
    display: block;
  }

  /* ---- Section 002 (video bg) ---- */
  .content-section--video-bg { padding: 10vh 6vw 6vh; min-height: unset; }
  .content-section--video-bg .section-video-bg video { display: none; }
  .content-section--video-bg .section-video-bg canvas { display: none; }
  .content-section--video-bg .section-video-bg { background: var(--bg); }
  .content-section--video-bg .section-video-bg::after { display: none; }
  .content-section--video-bg .section-inner {
    margin-left: 0; max-width: 100%; margin-top: 0;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }
  .glass-panel { width: 100%; }
  .glass-panel--heading { align-self: stretch; width: 100%; }
  .glass-panel--heading .section-heading { white-space: normal; font-size: clamp(2rem, 7vw, 3rem); }
  .s002-heading-mobile { display: block; }
  .s002-heading-desktop { display: none; }
  .glass-panel--body { margin-left: 0; width: 100%; }

  /* ---- Section 003 + CTA ---- */
  #section-003 { min-height: unset; padding-top: 0; }
  #section-003 .section-heading { white-space: normal; }
  .s003-box { padding: 5vh 5vw 3vh; min-height: unset; }
  .s003-box--cta { padding: 3vh 5vw 8vh; }
  .cta-heading { font-size: clamp(2rem, 8vw, 3.5rem); }
  .cta-button { display: block; width: 100%; padding: 1.2rem 2rem; font-size: 1rem; text-align: center; margin-top: 1.5rem; }
  .cta-note { clip-path: none; opacity: 0.7; font-size: 0.58rem; }

  /* ---- Prozess / Timeline ---- */
  #prozess { margin-top: 0; padding-top: 5vh; }
  .regular-section::before { display: none; }
  .timeline::before { left: 20px; transform: none; }
  .tl-item { flex-direction: column; padding-left: 52px; padding-bottom: 2.5rem; position: relative; }
  .tl-node { position: absolute; left: 0; top: 0; }
  .tl-side { display: none; }
  .tl-content { padding: 0; text-align: left !important; }
  .tl-title { font-size: 1.2rem; }
  .tl-body  { font-size: 0.9rem; }

  /* ---- Referenzen ---- */
  .ref-cards { flex-direction: column; }
  .ref-card  { flex: 0 0 100%; }

  /* ---- Map ---- */
  .map-section { height: 280px; }

  /* ---- Footer ---- */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-logo-img { height: 48px; }

}
