/* Dahms Maschinenhandel — Mitrovic-Style Redesign
   Squarespace-inspired · Hybrid hell/dunkel · Brand-Rot #E30613
*/

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

:root {
  --red: #E30613;
  --red-dark: #B0050F;
  --red-soft: #FCE7E9;
  --white: #FFFFFF;
  --warm: #F5F3EF;
  --warm-2: #EAE6DE;
  --ink: #1A1A1A;
  --ink-soft: #2B2B2B;
  --mute: #7A7A7A;
  --line: rgba(26, 26, 26, 0.1);
  --line-light: rgba(245, 243, 239, 0.14);
  --shadow: 0 16px 50px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 30px 80px rgba(26, 26, 26, 0.12);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

/* === UTILITIES === */
.sh {
  max-width: 1280px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}
.eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 1.25rem;
  text-transform: none;
}
.eyebrow.light { color: var(--red); }
.sh-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.sh-title em { font-style: italic; color: var(--red); }
.sh-title .red { color: var(--red); }
.sh-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 44rem;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
  letter-spacing: -0.005em;
}
.btn-full { width: 100%; border-radius: 100px; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover {
  background: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(227, 6, 19, 0.25);
}
.btn-line {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-line-light {
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
}
.btn-line-light:hover {
  background: var(--white);
  color: var(--ink);
}

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}
.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  background: var(--red);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  flex-shrink: 0;
}
.brand-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.brand-sub {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--mute);
}

.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2.25rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.25s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--white);
}

/* === HERO Full-Viewport === */
.hero {
  background: var(--white);
  padding: 4rem 2rem 3rem;
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-left {
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 2rem;
}
.hero-tag .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.15);
  animation: pulse 2s infinite;
}
.hero-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(3rem, 6.5vw, 5.75rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 2rem;
}
.hero-title em { font-style: italic; color: var(--red); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  max-width: 580px;
}
.hero-meta > div { display: flex; flex-direction: column; gap: 0.35rem; }
.hero-meta strong {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--red);
}
.hero-meta span {
  font-size: 0.82rem;
  color: var(--mute);
  font-weight: 500;
}

.hero-right {
  position: relative;
  animation: fadeUp 1.1s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
.hero-img {
  height: 85vh;
  min-height: 620px;
  max-height: 880px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 62% 72% at 58% 50%, #000 30%, rgba(0,0,0,0.72) 62%, rgba(0,0,0,0.28) 85%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 72% at 58% 50%, #000 30%, rgba(0,0,0,0.72) 62%, rgba(0,0,0,0.28) 85%, transparent 100%);
  filter: saturate(0.95) contrast(1.02);
}
.hero-img-tag {
  /* fallback auf drop-shadow weil box-shadow bei mask nicht wirkt */
  filter: drop-shadow(0 16px 50px rgba(26, 26, 26, 0.12));
}
.hero-img-tag {
  position: absolute;
  left: -1.5rem;
  bottom: 2rem;
  background: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
  max-width: 260px;
}
.hero-img-tag span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.hero-img-tag strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
  color: var(--ink);
}
.hero-img-tag small {
  font-size: 0.85rem;
  color: var(--mute);
}

/* === MARQUEE === */
.marquee {
  background: var(--ink);
  color: var(--white);
  padding: 1.4rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.marquee-track .sep { color: var(--red); opacity: 0.7; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === SERVICES (Stacked 600px cards) === */
.services {
  padding: 8rem 0 6rem;
  background: var(--white);
}
.svc-stack {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: var(--warm);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}
.svc:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.svc-reverse {
  direction: rtl;
}
.svc-reverse > * { direction: ltr; }

.svc-img {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  min-height: 400px;
}
.svc-num {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: 'DM Serif Display', serif;
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
  padding: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.svc-badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.45rem 1rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 100px;
}
.svc-body {
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-tag {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 1rem;
}
.svc-body h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.svc-body h3 em { font-style: italic; color: var(--red); }
.svc-body > p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.02rem;
}
.svc-link {
  font-weight: 500;
  color: var(--red);
  font-size: 0.95rem;
  transition: color 0.25s;
  align-self: flex-start;
}
.svc-link:hover { color: var(--ink); }

/* === QUOTE SCROLL-FILL === */
.quote-section {
  padding: 10rem 2rem;
  background: var(--warm);
}
.quote-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.quote-eyebrow {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 2rem;
}
.quote-scroll {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 2.5rem;
}
.quote-scroll .w {
  display: inline-block;
  margin: 0 0.15em;
  color: rgba(26, 26, 26, 0.18);
  transition: color 0.3s;
}
.quote-scroll .w.filled { color: var(--ink); }
.quote-source {
  font-size: 0.95rem;
  color: var(--mute);
  font-style: italic;
}

/* === CINEMATIC PANEL (Firmenaufloesung) === */
.panel {
  padding: 8rem 2rem;
  background: var(--white);
}
.panel-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.panel-left {
  position: relative;
}
.panel-img {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}
.panel-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.panel-title em { font-style: italic; color: var(--red); }
.panel-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 32rem;
}
.panel-steps {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step:hover { border-color: var(--red); }
.step-num {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--red);
  line-height: 1;
}
.step h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.step p {
  font-size: 0.94rem;
  color: var(--mute);
  line-height: 1.65;
}

/* === CINEMATIC FULLSCREEN ===  */
.cinematic {
  position: relative;
  height: 80vh;
  min-height: 540px;
  max-height: 760px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.cinematic-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.1);
  transform: scale(1.02);
  transition: transform 10s linear;
}
.cinematic:hover .cinematic-img { transform: scale(1.1); }
.cinematic-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.5) 55%, rgba(26, 26, 26, 0.2) 100%);
}
.cinematic-inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
  width: 100%;
}
.cinematic-tag {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 1.5rem;
}
.cinematic-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
  max-width: 14ch;
}
.cinematic-title em { font-style: italic; color: var(--red); }
.cinematic-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 38rem;
  line-height: 1.65;
}

/* === DMG === */
.dmg {
  padding: 8rem 2rem;
  background: var(--warm);
}
.dmg-grid {
  max-width: 1280px;
  margin: 4rem auto 3rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.dmg-tile {
  background: var(--white);
  padding: 2.5rem 1rem;
  text-align: center;
  border-radius: 6px;
  transition: all 0.3s;
}
.dmg-tile:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.dmg-tile strong {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
  transition: color 0.3s;
}
.dmg-tile:hover strong { color: var(--white); }
.dmg-tile span {
  font-size: 0.82rem;
  color: var(--mute);
  font-weight: 500;
}
.dmg-tile:hover span { color: rgba(255, 255, 255, 0.85); }
.dmg-cta {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

/* === MACHINES GRID === */
.machines {
  padding: 8rem 2rem;
  background: var(--white);
}
.mt-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.mt {
  background: var(--warm);
  padding: 2.25rem 1.75rem;
  border-radius: 6px;
  transition: all 0.3s;
  cursor: pointer;
}
.mt:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.mt-ic {
  color: var(--red);
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.mt:hover .mt-ic { color: var(--red); }
.mt h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}
.mt p {
  font-size: 0.88rem;
  color: var(--mute);
  transition: color 0.3s;
}
.mt:hover p { color: rgba(255, 255, 255, 0.7); }

/* === INVENTORY === */
.inventory {
  padding: 8rem 2rem;
  background: var(--white);
}
.inv-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.inv-card {
  background: var(--warm);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}
.inv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.inv-img {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
}
.inv-status {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
}
.inv-status-res {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}
.inv-body {
  padding: 1.5rem;
}
.inv-cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--red);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.inv-body h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--ink);
}
.inv-body dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}
.inv-body dl > div { display: flex; flex-direction: column; gap: 0.1rem; }
.inv-body dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.inv-body dd {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}
.inv-footer {
  max-width: 1280px;
  margin: 3rem auto 0;
  padding: 0 2rem;
  text-align: center;
}

/* === TESTIMONIALS === */
.testimonials {
  padding: 8rem 2rem;
  background: var(--warm);
}
.t-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.t {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s;
}
.t:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.t-stars {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 0.1em;
}
.t blockquote {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}
.t figcaption {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.t strong { font-weight: 600; font-size: 0.95rem; }
.t span { font-size: 0.82rem; color: var(--mute); }

/* === CONTACT === */
.contact {
  padding: 8rem 2rem;
  background: var(--ink);
  color: var(--white);
}
.ct-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
}
.ct-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.ct-title em { font-style: italic; color: var(--red); }
.ct-sub {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  max-width: 32rem;
}
.ct-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
}
.ct-list li {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.ct-list strong {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
}
.ct-list span, .ct-list a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.25s;
}
.ct-list a:hover { color: var(--red); }

.ct-form {
  display: grid;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.5rem;
  border-radius: 8px;
}
.ct-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ct-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.ct-form input,
.ct-form select,
.ct-form textarea {
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 400;
  padding: 0.95rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  outline: none;
  transition: all 0.25s;
  border-radius: 6px;
}
.ct-form input:focus,
.ct-form select:focus,
.ct-form textarea:focus {
  border-color: var(--red);
  background: rgba(255, 255, 255, 0.08);
}
.ct-form textarea { resize: vertical; }

/* === FOOTER === */
.footer {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.ft-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.ft-brand .brand-sub { color: rgba(255, 255, 255, 0.55); }
.ft-t {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 24rem;
  line-height: 1.65;
}
.ft-col { display: grid; gap: 0.85rem; }
.ft-h {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.ft-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s;
}
.ft-col a:hover { color: var(--white); }
.ft-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.ft-bottom a { color: var(--red); }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.15); }
  50% { box-shadow: 0 0 0 10px rgba(227, 6, 19, 0.03); }
}
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner, .panel-inner, .ct-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { max-width: 520px; }
  .svc, .svc-reverse { grid-template-columns: 1fr; min-height: auto; direction: ltr; }
  .svc-img { min-height: 320px; aspect-ratio: 4/3; }
  .dmg-grid { grid-template-columns: repeat(3, 1fr); }
  .mt-grid { grid-template-columns: repeat(2, 1fr); }
  .inv-grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .hero-meta strong { font-size: 1.75rem; }
  .ft-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-inner { grid-template-columns: auto auto; padding: 0.85rem 1.25rem; gap: 1rem; }
  .nav-links { display: none; }
  .nav-cta { font-size: 0.8rem; padding: 0.55rem 1rem; }
  .brand-sub { display: none; }
  .hero, .services, .panel, .dmg, .machines, .testimonials, .contact, .quote-section, .cinematic {
    padding-left: 1.25rem; padding-right: 1.25rem;
  }
  .hero { padding-top: 3rem; padding-bottom: 4rem; }
  .services, .panel, .dmg, .machines, .testimonials, .contact, .quote-section {
    padding-top: 5rem; padding-bottom: 5rem;
  }
  .hero-img-tag { left: 1rem; right: 1rem; max-width: none; }
  .svc-body { padding: 2.5rem 1.75rem; }
  .svc-body h3 { font-size: 1.85rem; }
  .dmg-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .mt-grid { grid-template-columns: 1fr; }
  .inv-grid { grid-template-columns: 1fr; }
  .ct-form .row { grid-template-columns: 1fr; }
  .ct-list li { grid-template-columns: 1fr; gap: 0.3rem; }
  .ct-form { padding: 1.75rem 1.25rem; }
  .ft-inner { grid-template-columns: 1fr; padding: 3rem 1.25rem 2rem; gap: 2rem; }
  .ft-bottom { flex-direction: column; padding: 1.5rem 1.25rem; text-align: center; }
  .hero-meta { grid-template-columns: 1fr; gap: 1.25rem; }
  .quote-scroll { font-size: 1.6rem; }
}
