:root {
  --ink: #10252b;
  --muted: #5f6e72;
  --surface: #f7f5ef;
  --paper: #ffffff;
  --line: rgba(16, 37, 43, .14);
  --accent: #b68a55;
  --accent-dark: #7a5632;
  --deep: #0f2d35;
  --header-h: 76px;
  --parallax: 0;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(247, 245, 239, .96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(16, 37, 43, .08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  font-size: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: .86;
  transition: opacity .2s ease, color .2s ease;
}

.site-nav a:hover { opacity: 1; color: var(--accent); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 11px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("../images/akku-factory-exterior.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04) translateY(calc(var(--parallax) * .08px));
  will-change: transform;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(9, 29, 35, .88), rgba(9, 29, 35, .46) 42%, rgba(9, 29, 35, .1) 72%),
              linear-gradient(0deg, rgba(9, 29, 35, .78), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 80px) clamp(48px, 9vh, 90px);
}

.eyebrow,
.section-label {
  display: block;
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 12vw, 142px);
  line-height: .9;
  letter-spacing: 0;
}

.hero p {
  max-width: 570px;
  margin: 22px 0 0;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid currentColor;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.section {
  padding: clamp(72px, 10vw, 140px) clamp(18px, 6vw, 80px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(150px, 240px) minmax(0, 850px);
  gap: clamp(28px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
}

.section-copy p,
.split-text p,
.sustainability p,
.fiber-copy p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.production {
  background: var(--paper);
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(38px, 6vw, 70px);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process-item {
  min-height: 260px;
  padding: 34px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.process-item:last-child { border-right: 0; }
.process-item span { color: var(--accent); font-weight: 900; }
.process-item p { color: var(--muted); margin: 0; }

.fiber-story {
  height: 220vh;
  background: var(--deep);
  color: #fff;
}

.fiber-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: var(--header-h) clamp(18px, 6vw, 80px) 40px;
  overflow: hidden;
}

.fiber-copy p { color: rgba(255,255,255,.72); }

.loom {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.thread {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d7b37c, #fff3d7, #d7b37c, transparent);
  transform: translateX(calc((var(--parallax) - 600) * .18px));
  opacity: .88;
}

.thread-1 { top: 18%; }
.thread-2 { top: 34%; transform: translateX(calc((600 - var(--parallax)) * .14px)); }
.thread-3 { top: 52%; }
.thread-4 { top: 70%; transform: translateX(calc((600 - var(--parallax)) * .2px)); }

.fabric-plane {
  position: absolute;
  right: 6%;
  top: 12%;
  width: min(410px, 58vw);
  height: 76%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, rgba(182,138,85,.8), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.22);
  transform: rotate(-5deg) translateY(calc((var(--parallax) - 900) * .04px));
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  background: var(--paper);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.feature-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.sustainability {
  background:
    linear-gradient(rgba(247,245,239,.88), rgba(247,245,239,.96)),
    repeating-linear-gradient(90deg, rgba(16,37,43,.08) 0 1px, transparent 1px 28px);
}

.gallery-section {
  background: var(--paper);
}

.gallery {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  filter: saturate(.96) contrast(1.03);
}

.gallery img:first-child {
  grid-row: span 2;
  min-height: 560px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(34px, 7vw, 90px);
}

address {
  margin-top: 26px;
  font-style: normal;
  color: var(--muted);
}

address a {
  color: var(--ink);
  font-weight: 800;
}

.map {
  margin-top: 28px;
  height: 300px;
  background: #dde3e1;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfaf6;
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
  border-radius: 0;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(182, 138, 85, .35);
  border-color: var(--accent);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.site-footer {
  padding: 26px clamp(18px, 6vw, 80px);
  background: var(--deep);
  color: rgba(255,255,255,.72);
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: #22c55e;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(16, 37, 43, .22);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.message-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--surface);
}

.form-result {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 56px);
  background: #fff;
  border: 1px solid var(--line);
}

.result-brand {
  margin-bottom: 34px;
}

.form-result h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1;
}

.form-result p {
  color: var(--muted);
  margin: 0 0 26px;
}

@media (max-width: 860px) {
  .site-header {
    height: 68px;
    --header-h: 68px;
  }

  .menu-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 18px 18px;
    background: rgba(247,245,239,.98);
    color: var(--ink);
    transform: translateY(-130%);
    transition: transform .25s ease;
    box-shadow: 0 18px 34px rgba(16, 37, 43, .1);
  }

  .site-nav.is-open { transform: translateY(0); }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }

  .hero {
    min-height: 92svh;
  }

  .hero-bg { background-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(9, 29, 35, .9), rgba(9, 29, 35, .16)); }

  .intro,
  .process-grid,
  .fiber-sticky,
  .split-section,
  .gallery,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .process-grid { border-top: 0; }
  .process-item { min-height: auto; border-right: 0; border-top: 1px solid var(--line); }
  .fiber-story { height: auto; }
  .fiber-sticky { position: relative; min-height: 880px; }
  .loom { min-height: 420px; }
  .gallery img:first-child { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .hero-bg,
  .thread,
  .fabric-plane {
    transform: none;
  }
}
