/* =================================================
   LANGE INDUSTRIAL DESIGN — Production stylesheet
   Tokens locked: accent #D9461C · Geist/Geist Mono · 2-col project grid
   ================================================= */

/* Self-hosted Geist (DSGVO-konform, kein Third-Party-Request) */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/geist-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;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/geist-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;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/geistmono-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;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/geistmono-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;
}

:root {
  --bg:        #F4F2EE;
  --bg-2:      #ECE9E4;
  --surface:   #FFFFFF;
  --ink:       #0E0E0E;
  --ink-soft:  #2A2A29;
  --muted:     #6E6B66;
  --line:      #D9D5CD;
  --line-2:    #C7C2B8;
  --accent:    #D9461C;
  --accent-ink:#FFFFFF;

  --font-sans: "Geist", "Neue Haas Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1480px;
  --pad-x: clamp(20px, 4vw, 56px);

  --fs-mono: 11px;
  --fs-body: 17px;
  --fs-lead: clamp(20px, 1.5vw, 24px);
  --fs-h2:   clamp(28px, 3.4vw, 52px);
  --fs-h1:   clamp(40px, 5.6vw, 88px);
}

/* RESET ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: clip; }
html { scroll-padding-top: 64px; }
/* Native fallback if Lenis hasn't initialised yet or fails to load */
html:not(.lenis) { scroll-behavior: smooth; }

/* Lenis hooks (added by the library at runtime) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* Focus visibility ─────────────────────────────── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Visually hidden (a11y) ────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 8px; top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 1000;
  transform: translateY(-200%);
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }

/* UTILITIES ─────────────────────────────────────── */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.rule { height: 1px; background: var(--line); width: 100%; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(24px, 4vw, 80px);
  padding: clamp(56px, 8vw, 120px) 0 clamp(32px, 4vw, 56px);
  align-items: end;
}
.section-head .label { padding-top: 6px; }
.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 14px; }
}

/* NAV ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 70%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav .brand {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav .brand .dot {
  width: 8px; height: 8px; background: var(--accent); border-radius: 50%;
  flex: 0 0 8px;
}
.nav .brand { min-width: 0; }
@media (max-width: 480px) {
  .nav .brand .brand-suffix { display: none; }
}
.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: clamp(14px, 2vw, 32px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav ul a {
  position: relative;
  padding: 8px 2px;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav ul a:hover { color: var(--accent); }
.nav .nav-cta {
  display: inline-flex;
  align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .15s ease;
}
.nav .nav-cta:hover { background: var(--accent); }

/* Language switch (DE | EN) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lang-switch__current {
  color: var(--ink);
  font-weight: 600;
}
.lang-switch__alt {
  color: var(--muted);
  transition: color .15s ease;
}
.lang-switch__alt:hover { color: var(--accent); }
.lang-switch__sep {
  color: var(--line-2);
  padding: 0 2px;
}

/* Mobile hamburger */
.nav-mobile-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform .25s ease, opacity .15s ease;
}
.nav-mobile-toggle span::before,
.nav-mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease;
}
.nav-mobile-toggle span::before { top: -7px; }
.nav-mobile-toggle span::after { top: 7px; }
.nav-mobile-toggle[aria-expanded="true"] span { background: transparent; }
.nav-mobile-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 49;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%);
  transition: transform .3s ease;
  visibility: hidden;
}
.mobile-drawer.is-open { transform: translateY(0); visibility: visible; }
.mobile-drawer ul {
  list-style: none;
  margin: 0; padding: clamp(16px, 4vw, 32px) var(--pad-x);
  display: grid;
  gap: 4px;
}
.mobile-drawer ul a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-drawer ul a:hover { color: var(--accent); }
.mobile-drawer .nav-cta {
  display: inline-flex;
  align-items: center; gap: 8px;
  margin-top: 18px;
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .nav ul { display: none; }
  .nav .nav-cta { display: none; }
  .nav .lang-switch { display: none; }   /* hide the in-nav switcher; drawer has its own */
  .nav-mobile-toggle { display: inline-flex; }
}

/* Lang switch inside the mobile drawer */
.mobile-drawer-lang {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-start;
}
.mobile-drawer-lang .lang-switch { font-size: 13px; }

/* HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.hero .bg {
  position: absolute; inset: 0;
  z-index: -2;
  background: #0a0a0a;
}
.hero video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero .scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 35%, rgba(0,0,0,.65) 100%);
  z-index: -1;
}
.hero-inner {
  width: 100%;
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.hero-meta .left,
.hero-meta .right { display: flex; gap: 24px; flex-wrap: wrap; }
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 22ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-tail {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
}
.scroll-cue .line {
  display: block;
  width: 28px; height: 1px;
  background: rgba(255,255,255,.6);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(.4); transform-origin: left; }
  50%      { transform: scaleX(1);  transform-origin: left; }
}

/* PROJECTS ──────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px) clamp(20px, 2.5vw, 40px);
  padding-bottom: clamp(56px, 8vw, 120px);
}
@media (max-width: 760px) {
  .projects-grid { grid-template-columns: 1fr; }
}
.project {
  display: block;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 0;
  background: transparent;
}
.project .media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
  border: 1px solid var(--line);
}
.project .media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.project .media .corner {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.85);
  padding: 4px 8px;
}
.project .media .open {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 36px; height: 36px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .35s ease, opacity .25s ease, background .15s ease;
}
.project:hover .open,
.project:focus-visible .open { transform: translateY(0); opacity: 1; }
.project:hover .open,
.project:focus-visible .open { background: var(--accent); }
.project .meta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px 16px;
  padding-top: 16px;
}
.project .meta h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.project .meta .yr {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.project .meta p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 15px;
  max-width: 56ch;
}

/* LOGO MARQUEE ──────────────────────────────────── */
.clients {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 6vw, 72px) 0;
  overflow: hidden;
  background: var(--bg);
}
.clients-head {
  padding-bottom: clamp(28px, 4vw, 48px);
}
.clients-head .label { margin-bottom: 12px; }
.clients-head h2 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 32ch;
}
.marquee {
  position: relative;
  overflow: hidden;
  --gap: clamp(48px, 6vw, 96px);
  display: flex;
  gap: var(--gap);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
/* Two identical lists side-by-side; both translate left by exactly
   their own width + one gap, so when the keyframe loops, the second list
   is now where the first was — invisible snap. */
.marquee-list {
  display: flex;
  gap: var(--gap);
  flex-shrink: 0;
  list-style: none;
  margin: 0; padding: 0;
  animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-list { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto;
  height: 36px;
  display: flex;
  align-items: center;
  color: var(--ink);
  opacity: .72;
  transition: opacity .2s ease, color .2s ease;
}
.marquee-item:hover { opacity: 1; color: var(--accent); }
.marquee-item img,
.marquee-item svg { height: 100%; width: auto; }
@keyframes marquee {
  to { transform: translateX(calc(-100% - var(--gap))); }
}

/* SERVICES ──────────────────────────────────────── */
.services {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding-bottom: clamp(64px, 8vw, 120px);
}
@media (max-width: 880px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service {
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 48px);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
  min-height: 480px;
}
.services-grid .service + .service { border-left: 0; }
@media (max-width: 880px) {
  .services-grid .service + .service { border-left: 1px solid var(--line); border-top: 0; }
}
.service .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; justify-content: space-between;
}
.service h3 {
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.service p {
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  line-height: 1.45;
  max-width: 42ch;
}
.service ul {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.service ul li {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.service ul li::before {
  content: "→";
  color: var(--accent);
  font-family: var(--font-mono);
}

/* PROCESS ───────────────────────────────────────── */
.process { padding-bottom: clamp(64px, 8vw, 120px); }
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  counter-reset: phase;
}
.phase {
  position: relative;
  padding: 28px 20px 32px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.phase:last-child { border-right: 0; padding-right: 0; }
.phase::before {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  background: var(--accent);
  border-radius: 50%;
}
.phase .pn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.phase h3 {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.phase p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.phase .deliver {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
@media (max-width: 880px) {
  .process-track {
    grid-template-columns: 1fr;
    border-top: 0;
    border-left: 1px solid var(--ink);
  }
  .phase {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0 24px 24px;
  }
  .phase:last-child { border-bottom: 0; }
  .phase::before { top: 28px; left: -5px; }
}

/* CONTACT ───────────────────────────────────────── */
.contact { background: var(--ink); color: #fff; }
.contact .section-head h2 { color: #fff; }
.contact .section-head .label,
.contact .section-head .label * { color: rgba(255,255,255,.55); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-side {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vw, 40px);
  min-width: 0;
}
.contact-portrait {
  margin: 0;
  position: relative;
  overflow: hidden;
  /* Aligns the image's right edge with the start of the h2 headline
     (section-head uses 1fr 2fr → headline begins at ~33% of container;
     contact-side column is ~45% of container → ~73% of column). */
  max-width: 72%;
}
@media (max-width: 880px) {
  .contact-portrait { max-width: 420px; }
}
.contact-portrait img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.contact-portrait figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.contact-info dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.contact-info .row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  align-items: baseline;
}
.contact-info dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.contact-info dd {
  margin: 0;
  font-size: 17px;
  color: #fff;
}
.contact-info dd a:hover { color: var(--accent); }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form .field { display: flex; flex-direction: column; gap: 8px; }
.contact-form .field.wide { grid-column: 1 / -1; }
.contact-form label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font: inherit;
  padding: 10px 0;
  outline: none;
  transition: border-color .15s ease;
  border-radius: 0;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-bottom-color: var(--accent);
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form select:focus-visible { outline: none; }
.contact-form select { color: #fff; }
.contact-form select option { background: var(--ink); color: #fff; }
.contact-form .submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.contact-form .submit-row .privacy-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.5);
  max-width: 36ch;
}
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background .15s ease, transform .15s ease;
}
.contact-form button[type="submit"]:hover { background: #fff; color: var(--ink); }
.contact-form button[type="submit"][disabled] { opacity: .55; cursor: wait; }
.form-status {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.7);
  min-height: 1em;
}
.form-status.is-error { color: #ff7a55; }
.form-status.is-success { color: var(--accent); }

/* FOOTER ────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.55);
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(40px, 5vw, 72px) 0 clamp(28px, 3vw, 40px);
}
/* When the "Folgen" nav is commented out, collapse to 3 columns */
.footer-inner:not(:has(nav[aria-label="Folgen"])) {
  grid-template-columns: 2fr 1fr 1fr;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer .brand-big {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.6;
}
.footer .brand-big .dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.footer ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
  font-size: 14px;
}
.footer ul a { color: rgba(255,255,255,.7); }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
}

/* MODAL ─────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  background: rgba(14,14,14,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.modal.is-open { display: flex; }
.modal-card {
  background: var(--bg);
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border: 1px solid var(--line);
  position: relative;
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 880px) {
  .modal-card { grid-template-columns: 1fr; }
}
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 40px; height: 40px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  z-index: 2;
  transition: background .15s ease;
}
.modal-close:hover { background: var(--accent); }
.modal-media {
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.modal-media .shot {
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  display: grid; place-items: center;
  overflow: hidden;
}
.modal-media .shot img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.modal-media .shot.split {
  aspect-ratio: 4 / 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}
.modal-media .shot.split > div {
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.modal-media .shot.split > div img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.modal-body {
  padding: clamp(28px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.modal-body .eyebrow {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal-body h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.modal-body .lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.modal-body dl {
  margin: 0;
  border-top: 1px solid var(--line);
}
.modal-body dl .row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.modal-body dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal-body dd { margin: 0; font-size: 14px; }

/* LEGAL PAGE LAYOUT ─────────────────────────────── */
.legal {
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(64px, 8vw, 120px);
}
.legal .container { max-width: 800px; }
.legal h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.legal h2 {
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 40px 0 12px;
}
.legal h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 24px 0 8px;
}
.legal p, .legal ul, .legal address {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.legal address { font-style: normal; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }
.legal ul { padding-left: 20px; }
.legal .back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal .back:hover { color: var(--accent); }

/* REDUCED MOTION ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-list { animation: none; }
  .scroll-cue .line { animation: none; }
  .hero video { display: none; }
}
