/* ============================================================
   CHRISTOPHER GAWOLLEK – Photography
   styles.css
   ============================================================ */

/* ---- @font-face: Franie (self-hosted) ----------------------
   Place font files in /fonts/:
     fonts/Franie-Thin.woff2         (weight 200, normal)
     fonts/Franie-ThinItalic.woff2   (weight 200, italic)
     fonts/Franie-Regular.woff2      (weight 400, normal)
     fonts/Franie-Italic.woff2       (weight 400, italic)
     fonts/Franie-Bold.woff2         (weight 700, normal)
     fonts/Franie-BoldItalic.woff2   (weight 700, italic)
     fonts/Franie-Black.woff2        (weight 900, normal)
     fonts/Franie-BlackItalic.woff2  (weight 900, italic)
   Fallback: Josefin Sans via Google Fonts (loaded in HTML)
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Franie';
  src: url('fonts/Franie-Thin.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('fonts/Franie-ThinItalic.woff2') format('woff2');
  font-weight: 200;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('fonts/Franie-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('fonts/Franie-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('fonts/Franie-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('fonts/Franie-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('fonts/Franie-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Franie';
  src: url('fonts/Franie-BlackItalic.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ---- CSS Variables ---- */
:root {
  --bg:        #0a0a0a;
  --bg-alt:    #0f0f0f;
  --text:      #efefef;
  --muted:     #666666;
  --border:    rgba(255, 255, 255, 0.07);
  --accent:    #89f336;
  --nav-h:     72px;
  --ease:      0.4s ease;
  --font-main: 'Franie', 'Josefin Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
}

body.intro-active { overflow: hidden; }

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

/* Bildschutz aktiv – Rechtsklick, Drag & Drop deaktiviert */
img {
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

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

.hidden { display: none !important; }

/* ============================================================
   LOGO SPLIT: bold italic heavy / regular italic thin
   Used in nav and intro
   ============================================================ */
.logo-bold {
  font-weight: 900;
  font-style: italic;
  color: var(--accent);
}

.logo-regular {
  font-weight: 200;
  font-style: italic;
}

/* ============================================================
   INTRO / LOADER
   Black fullscreen. Green wave (.intro-fill) sweeps from
   left to right. JS adds .start class to trigger the
   CSS transition. On transitionend the overlay fades out.
   ============================================================ */
#intro {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

#intro.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Green fill starts at 0 width; JS adds .start to animate */
.intro-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0%;
  background: var(--accent);
  z-index: 1;
}

.intro-fill.start {
  width: 100%;
  transition: width 2s cubic-bezier(0.4, 0, 0.6, 1);
}

/* Name sits above the fill; always white in this context */
.intro-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-main);
  font-size: clamp(1.4rem, 4vw, 3.5rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
}

/* Override the green logo-bold tint inside the intro only */
#intro .logo-bold {
  color: #ffffff;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.1s ease, height 0.1s ease,
              background 0.1s ease, border-color 0.1s ease;
  mix-blend-mode: difference;
}

.cursor.expanded {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

/* ============================================================
   NAVIGATION – always dark & fixed
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--ease);
}

nav.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-logo {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 0.88rem;
}

/* Desktop nav links – hidden on mobile */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  justify-content: center;
}

.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.5;
  transition: opacity var(--ease);
  position: relative;
  font-weight: 400;
}

.nav-links a:hover,
.nav-links a.active { opacity: 1; }

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-end;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-main);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  cursor: none;
  padding: 3px 2px;
  transition: color var(--ease);
}

.lang-btn.active { color: var(--text); }
.lang-btn:hover  { color: var(--text); }

/* Hamburger – shown on mobile only */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: opacity var(--ease);
}

/* Hide bars when mobile menu is open */
.hamburger.menu-open span { opacity: 0; }

/* ============================================================
   FULLSCREEN MOBILE MENU OVERLAY
   display: none by default; JS sets display: flex then adds
   .open (opacity 0→1, 0.25s). On close, .open is removed
   and display: none is set after the 0.25s transition.

   NOTE: !important needed because the global `nav {}` rule
   also matches .mobile-menu-nav (position:fixed, top:0, etc.)
   and would otherwise pull the inner nav to the top-left.
   ============================================================ */
#mobile-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #0a0a0a !important;
  z-index: 9999 !important;
  display: none;            /* JS switches to flex on open */
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#mobile-menu.open { opacity: 1; }

/* Reset every child element so nothing drifts left */
#mobile-menu nav,
#mobile-menu ul,
#mobile-menu li,
#mobile-menu a {
  position: static !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  grid-template-columns: none !important;
}

/* Re-apply flex column to the ul so items stack */
#mobile-menu ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Close button – top-right, small & subtle like hamburger */
.mobile-menu-close {
  position: absolute !important;
  top: 20px !important;
  right: 20px !important;
  width: auto !important;
  background: none !important;
  border: none !important;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px 6px;
  opacity: 0.5;
  cursor: none;
  transition: opacity var(--ease);
  text-align: center !important;
}

.mobile-menu-close:hover { opacity: 1; }

/* Links – same size & style as desktop .nav-links a */
.mobile-menu-nav a {
  font-family: var(--font-main) !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  font-style: normal !important;
  color: #ffffff !important;
  padding: 0.45rem 0 !important;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

.mobile-menu-nav a:hover { opacity: 1; }

/* ============================================================
   HERO – full viewport, no text
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--bg);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Hero text – quote + subline, centered over image */
.hero-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  pointer-events: none;
}

.hero-quote {
  font-family: var(--font-main);
  font-size: clamp(3.2rem, 8vw, 5rem);
  font-weight: 700;
  font-style: normal;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeIn 1.5s ease 0.2s forwards;
}

.hero-subline {
  font-family: var(--font-main);
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  opacity: 0;
  animation: fadeIn 1.5s ease 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s ease forwards 1s;
}

.hero-scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollBob 2.2s ease-in-out infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollBob {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.85; transform: scaleY(1.15); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================================
   SCROLL FADE-IN
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.22s; }
.delay-3 { transition-delay: 0.38s; }
.delay-4 { transition-delay: 0.55s; }

/* ============================================================
   SECTION BASE
   ============================================================ */
.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 400;
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* ============================================================
   INTRO SEQUENCE – scroll-driven word reveal, line layout
   3 scenes × 300vh. Each scene has two .intro-scene-text
   blocks (lang-de / lang-en). Lines are independently
   aligned. Words drop in from above on scroll activation.
   ============================================================ */
.intro-scene {
  height: 300vh;
  position: relative;
}

.intro-scene-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  overflow: hidden;
}

/* Text block – column of lines */
.intro-scene-text {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  width: 100%;
  padding: 0 6vw;
  font-family: var(--font-main);
  font-weight: 900;
  font-style: normal;
  text-transform: uppercase;
  pointer-events: none;
  will-change: transform;
}

/* Individual line – row of words */
.intro-line {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 0.35em;
  width: 100%;
  flex-wrap: nowrap;
}

.intro-line.align-left   { justify-content: flex-start; }
.intro-line.align-right  { justify-content: flex-end; }
.intro-line.align-center { justify-content: center; }

/* Base word state – dim + shifted up, never wraps mid-word */
.word {
  display: inline-block;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.15);
  transform: translateY(-20px);
  transition: color 0.3s ease,
              transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-right: 0.05em;
}

/* Size variants */
.word.size-sm {
  font-size: clamp(1.8rem, 4.5vw, 5rem);
}
.word.size-xl {
  font-size: clamp(3.5rem, 9vw, 10rem);
  line-height: 0.95;
}

/* Active state – full brightness, settled position */
.word.active {
  color: rgba(255, 255, 255, 1);
  transform: translateY(0);
}

/* Green dot/comma/period – always visible in accent colour */
.intro-dot {
  color: var(--accent) !important;
  font-size: 1.2em;
  font-style: normal;
}

/* ============================================================
   PORTFOLIO -- FULLSCREEN SCROLL STORYTELLING
   Each .story-section is 250vh tall. The image inside
   .story-sticky is position: sticky so it locks to the
   viewport while the parent scrolls beneath it.
   JS calculates sticky progress (0-1) and toggles
   .story-label.visible at 30% / 80%.
   ============================================================ */
.story-section {
  position: relative;
  height: 250vh;
}

.story-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  /* Images set as CSS background-image via inline style in HTML */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--bg);
}

/* Transparent click-interceptor over photo containers */
.photo-guard {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background: transparent;
  pointer-events: none; /* scroll/animations pass through; contextmenu JS handles right-click */
}

/* Vignette -- gradient from bottom for text legibility */
.story-sticky::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.30) 25%,
    transparent        60%
  );
  pointer-events: none;
  z-index: 1;
}

/* Text label -- bottom-left, floats over image + vignette */
.story-label {
  position: absolute;
  bottom: 40px;
  left: 40px;
  z-index: 2;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.story-label.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Title -- main line */
.story-title {
  display: block;
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 300;
  font-style: normal;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.65rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

/* Camera + coordinates -- small caps meta lines */
.story-meta {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
  line-height: 2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* Scroll progress indicator -- right edge, vertically centred */
.story-progress {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 120px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.story-progress-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.85);
  /* JS sets transform: translateY() */
}

/* ============================================================
   ABOUT
   ============================================================ */
#ueber-mich {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
  padding: 9rem 5%;
  background: var(--bg-alt);
}

.about-img-wrap { position: relative; }

.about-img-wrap img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  filter: grayscale(12%);
}

.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--accent);
  z-index: -1;
  pointer-events: none;
}

.about-text {
  color: rgba(255,255,255,0.52);
  line-height: 2;
  margin-bottom: 1.4rem;
  font-size: 0.93rem;
  font-weight: 300;
}

/* EULEN MEDIA inline link */
.eulen-link {
  color: #E78408;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.eulen-link:hover {
  color: #ff8e00;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2.8rem;
  margin-top: 2.8rem;
  border-top: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-family: var(--font-main);
  font-size: 2.6rem;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ============================================================
   CONTACT TEASER
   ============================================================ */
#kontakt-teaser {
  padding: 11rem 5%;
  text-align: center;
}

.teaser-title {
  font-family: var(--font-main);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 1.8rem;
}

.teaser-sub {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 440px;
  margin: 0 auto 3.5rem;
  line-height: 1.9;
  font-weight: 300;
}

/* ============================================================
   BUTTON
   ============================================================ */
.btn {
  display: inline-block;
  padding: 1rem 3rem;
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: none;
  font-weight: 400;
  transition: background var(--ease), border-color var(--ease);
}

.btn:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.8);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2.8rem 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.07em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-self: center;
}

.footer-links a {
  font-size: 0.7rem;
  color: var(--muted);
  transition: color var(--ease);
  letter-spacing: 0.07em;
}

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

.footer-social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  justify-self: end;
}

.footer-social a {
  color: var(--muted);
  display: flex;
  align-items: center;
  transition: color var(--ease);
}

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

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 6rem) 5% 4rem;
  text-align: center;
}

.page-hero .section-label { margin-bottom: 1.2rem; }

.page-title {
  font-family: var(--font-main);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.contact-wrap {
  padding: 2rem 5% 9rem;
  max-width: 660px;
  margin: 0 auto;
}

.contact-form .form-group { margin-bottom: 2.2rem; }

.contact-form label {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.75rem 0;
  outline: none;
  transition: border-color 0.3s ease;
  cursor: none;
}

.contact-form input:focus,
.contact-form textarea:focus { border-bottom-color: rgba(255,255,255,0.45); }

.contact-form textarea { height: 160px; resize: none; padding-top: 0.5rem; }

.btn-submit {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 1rem 3rem;
  cursor: none;
  font-weight: 400;
  transition: background var(--ease), border-color var(--ease);
  margin-top: 0.8rem;
}

.btn-submit:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.8); }
.btn-submit:disabled { opacity: 0.4; }

.form-error {
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 300;
  color: #cc4444;
  line-height: 1.7;
}

.form-error a {
  color: #cc4444;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   STATIC PAGES (Impressum / Datenschutz)
   ============================================================ */
.static-wrap {
  padding: calc(var(--nav-h) + 5rem) 5% 7rem;
  max-width: 820px;
  margin: 0 auto;
}

.static-wrap h1 {
  font-family: var(--font-main);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 200;
  margin-bottom: 3.5rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.static-wrap h2 {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,0.75);
}

.static-wrap p,
.static-wrap li {
  color: rgba(255,255,255,0.48);
  line-height: 1.9;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  font-weight: 300;
}

.static-wrap ul { padding-left: 1.4rem; }

.static-wrap a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.static-wrap .back-link {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 3.5rem;
  font-weight: 400;
  transition: color var(--ease);
}

.static-wrap .back-link:hover { color: var(--text); }

/* ============================================================
   RESPONSIVE – TABLET (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
  #ueber-mich { gap: 5rem; }
}

/* ============================================================
   RESPONSIVE – MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor { display: none; }

  /* Compact nav: logo left, nav-right (lang + hamburger) right */
  nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-logo { font-size: 0.78rem; }

  /* Hide desktop nav links on mobile */
  .nav-links { display: none; }

  /* Show hamburger */
  .hamburger { display: flex; }

  .nav-right { gap: 1rem; }

  /* Intro sequence – mobile: centred stacked layout */
  .intro-scene-text {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15em;
    padding: 0 4vw;
    text-align: center;
  }
  .intro-line {
    justify-content: center !important;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.2em;
  }
  .word.size-sm { font-size: clamp(1.8rem, 9vw, 3rem); white-space: normal; }
  .word.size-xl { font-size: clamp(3rem, 16vw, 6rem); white-space: normal; }

  /* Scroll storytelling: slightly shorter on mobile */
  .story-section { height: 200vh; }

  .story-label {
    bottom: 24px;
    left: 20px;
  }

  .story-title { font-size: clamp(1.3rem, 6vw, 1.8rem); }

  .story-progress { right: 16px; }

  /* About */
  #ueber-mich {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 6rem 5%;
  }

  /* Loader: top-to-bottom sweep on mobile */
  .intro-fill {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 0%;
  }
  .intro-fill.start {
    height: 100%;
    width: 100%;
    transition: height 2s cubic-bezier(0.4, 0, 0.6, 1);
  }

  .about-img-wrap img { height: 400px; }
  /* Keep green accent border on mobile */

  #kontakt-teaser { padding: 8rem 5%; }

  footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-social { justify-self: center; }
}

/* Übergang Szene 3 → erstes Foto */
.story-section:first-child {
  transition: none;
  will-change: transform;
}
