/* =========================================================
   SCHOBER WORKX — Shared Stylesheet
   Metall. Handwerk. Charakter.
   ========================================================= */

:root {
  --orange: #E8610A;
  --orange-glow: rgba(232, 97, 10, 0.45);
  --orange-soft: rgba(232, 97, 10, 0.12);
  --ink: #0B0B0B;
  --ink-2: #141414;
  --steel: #1E1E1E;
  --steel-2: #262626;
  --rust: #3a2a1f;
  --bone: #F4F1EC;
  --bone-dim: #BFBAB1;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --maxw: 1440px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--bone);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--orange);
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .eyebrow { font-size: 12px; letter-spacing: 0.20em; gap: 10px; }
  .eyebrow::before { width: 24px; }
}

h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }

/* ---------- Layout ---------- */

.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 11, 11, 0.0);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}
.site-header.scrolled {
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bone);
}
.brand .brand-mark-img {
  height: 46px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(232, 97, 10, 0.35));
}
.brand .brand-x { color: var(--orange); }

.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 160ms ease, color 160ms ease;
}
.nav a:hover { opacity: 1; color: var(--orange); }
.nav a.active { color: var(--orange); opacity: 1; }
.nav a.active::after,
.nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  color: var(--bone);
  transition: all 180ms ease;
}
.nav-cta:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 36px; height: 28px;
  position: relative;
  padding: 0;
}
.menu-toggle span {
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: var(--bone);
  transition: transform 220ms ease, opacity 160ms ease, top 220ms ease;
}
.menu-toggle span:nth-child(1) { top: 6px; }
.menu-toggle span:nth-child(2) { top: 13px; }
.menu-toggle span:nth-child(3) { top: 20px; }
.menu-toggle.open span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 13px; transform: rotate(-45deg); }

/* mobile nav */
@media (max-width: 880px) {
  .nav {
    position: fixed;
    inset: 0;
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 var(--gutter);
    gap: 28px;
    transform: translateX(100%);
    transition: transform 320ms cubic-bezier(.7,0,.3,1);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 28px; font-family: var(--font-display); letter-spacing: 0.04em; }
  .nav a:hover::after, .nav a.active::after { display: none; }
  .nav-cta { font-size: 12px; font-family: var(--font-mono); margin-top: 12px; padding: 14px 22px; }
  .menu-toggle { display: block; z-index: 101; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  color: var(--bone);
  background: transparent;
  transition: all 220ms ease;
  position: relative;
}
.btn .arrow {
  width: 24px; height: 1px; background: currentColor;
  position: relative;
  transition: width 220ms ease;
}
.btn .arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 36px; }

.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.btn--primary:hover {
  box-shadow: 0 0 0 1px var(--orange), 0 12px 40px var(--orange-glow);
  transform: translateY(-2px);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ---------- Hero shared ---------- */

.hero {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.35) 0%, rgba(11,11,11,0.6) 55%, var(--ink) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero {
  padding-top: 180px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 28px; }
.page-hero h1 {
  font-size: clamp(64px, 13vw, 200px);
  color: var(--bone);
}
.page-hero h1 .x { color: var(--orange); }
.page-hero__meta {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.page-hero__meta p {
  max-width: 540px;
  color: var(--bone-dim);
  font-size: 16px;
  line-height: 1.65;
}
.page-hero__crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.page-hero__crumbs .sep { margin: 0 10px; color: var(--orange); }

/* ---------- Placeholder image ---------- */

.ph {
  position: relative;
  overflow: hidden;
  background: var(--steel);
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.025) 0px,
      rgba(255,255,255,0.025) 1px,
      transparent 1px,
      transparent 14px
    ),
    radial-gradient(120% 80% at 30% 20%, rgba(232,97,10,0.18), transparent 60%),
    linear-gradient(180deg, #1f1f1f 0%, #0f0f0f 100%);
  color: var(--bone-dim);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}
.ph__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 16px;
  color: var(--bone-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ph__label::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--orange);
  display: inline-block;
}
.ph__corner {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  z-index: 2;
}

/* image-backed placeholder */
.ph--img {
  background-image: none;
  background-color: #0a0a0a;
}
.ph--img > .ph__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 600ms ease;
}
.ph--img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.05) 40%, rgba(11,11,11,0.65) 100%);
  z-index: 1;
  pointer-events: none;
}
.ph--img > .ph__label { z-index: 2; position: relative; }
.card:hover .ph--img > .ph__img,
.gallery-item:hover .ph--img > .ph__img,
.channel:hover .ph--img > .ph__img { transform: scale(1.04); }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 800ms cubic-bezier(.2,.7,.2,1), transform 800ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }

/* line that draws in */
.rule {
  height: 1px;
  width: 100%;
  background: var(--line);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1000ms cubic-bezier(.2,.7,.2,1);
}
.rule.in { transform: scaleX(1); }

/* ---------- Footer ---------- */

.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  margin-top: 120px;
  padding-top: 100px;
}
.footer-cta {
  padding-bottom: 100px;
  border-bottom: 1px solid var(--line);
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.9;
  margin-bottom: 40px;
}
.footer-cta h2 .x { color: var(--orange); }
.footer-cta .actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 80px 0 60px;
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-dim);
  margin-bottom: 22px;
}
.footer-grid p, .footer-grid a {
  font-size: 15px;
  line-height: 1.7;
  color: var(--bone);
  display: block;
}
.footer-grid a:hover { color: var(--orange); }
.footer-brand .brand { font-size: 32px; margin-bottom: 24px; }
.footer-brand .brand .brand-mark-img { height: 64px; }
.footer-brand p { color: var(--bone-dim); max-width: 320px; }
.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.socials a {
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 180ms ease;
}
.socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.footer-bottom a:hover { color: var(--orange); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Generic sections ---------- */

.section {
  padding: 100px 0;
  position: relative;
}
.section--tight { padding: 70px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
}
.section-head h2 .x { color: var(--orange); }
.section-head p {
  color: var(--bone-dim);
  font-size: 16px;
  max-width: 520px;
  margin: 0 0 6px;
  line-height: 1.65;
}
@media (max-width: 880px) {
  .section { padding: 70px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--ink-2);
}
.marquee__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 36px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bone);
}
.marquee__track span.dim { color: transparent; -webkit-text-stroke: 1px var(--line-strong); }
.marquee__track .dot {
  width: 12px; height: 12px;
  background: var(--orange);
  align-self: center;
  transform: rotate(45deg);
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--orange);
  z-index: 200;
  width: 0%;
  transition: width 80ms linear;
}

/* selection */
::selection { background: var(--orange); color: var(--ink); }
