:root {
  --ink: #17191b;
  --ink-soft: #25282b;
  --paper: #f3f0e9;
  --paper-deep: #e4ded4;
  --amber: #f1a43c;
  --amber-dark: #b86516;
  --steel: #9ba1a5;
  --line: rgba(23, 25, 27, 0.16);
  --max: 1180px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
  transition: background-color 220ms ease, color 220ms ease;
}

.scroll-progress {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--amber);
  pointer-events: none;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  background: var(--paper);
  padding: 0.65rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(10, 11, 12, 0.78), transparent);
  pointer-events: none;
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(19, 21, 22, 0.7);
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(18, 20, 21, 0.76);
  color: #fff;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-weight: 750;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  margin-left: auto;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(18, 20, 21, 0.68);
  color: #fff;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
  border-color: var(--amber);
  background: rgba(18, 20, 21, 0.92);
  transform: translateY(-1px);
}

.theme-symbol {
  color: var(--amber);
  font-size: 1rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  padding: 0.65rem 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: 760px;
  color: #fff;
  background: #141618;
  overflow: hidden;
}

.hero-picture,
.hero-picture::after,
.hero-picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-picture {
  z-index: -2;
}

.hero-picture img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.035) translateY(var(--parallax-y, 0));
  transition: transform 100ms linear;
}

.hero-picture::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 11, 12, 0.94) 0%, rgba(10, 11, 12, 0.67) 34%, rgba(10, 11, 12, 0.08) 72%),
    linear-gradient(0deg, rgba(10, 11, 12, 0.82) 0%, transparent 52%);
}

.hero-content {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  padding: 10.5rem 0 5rem;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(3.3rem, 8vw, 7.3rem);
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--amber);
  background: var(--amber);
  color: #1a140c;
  text-decoration: none;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease;
}

.button::after {
  content: "↗";
  margin-left: 0.7rem;
}

.button:hover {
  transform: translateY(-2px);
  background: #ffb755;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(18, 20, 21, 0.6);
  color: #fff;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section.dark {
  background: var(--ink);
  color: #fff;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 610px;
  margin-bottom: 0;
  color: #5c6062;
  font-size: 1.08rem;
}

.dark .section-heading p {
  color: rgba(255, 255, 255, 0.65);
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.discipline-card {
  position: relative;
  min-height: 440px;
  padding: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
  text-decoration: none;
  overflow: hidden;
}

.discipline-card::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 16rem;
  height: 16rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 2.5rem transparent, 0 0 0 2.6rem var(--line), 0 0 0 5rem transparent, 0 0 0 5.1rem var(--line);
  transition: transform 300ms ease;
}

.discipline-card:hover::after {
  transform: scale(1.08) rotate(7deg);
}

.card-number,
.spec-label {
  color: var(--amber-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.discipline-card h3 {
  max-width: 420px;
  margin: 5rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -0.055em;
}

.discipline-card p {
  max-width: 450px;
  color: #666a6c;
}

.card-link {
  margin-top: 2rem;
  font-weight: 850;
}

.card-link::after {
  content: " →";
  color: var(--amber-dark);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.equipment-card {
  position: relative;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: #ebe6dd;
  overflow: hidden;
}

.equipment-card::before {
  content: attr(data-machine);
  position: absolute;
  right: -0.04em;
  bottom: -0.2em;
  color: rgba(23, 25, 27, 0.055);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.equipment-card h3 {
  max-width: 500px;
  margin: 2.8rem 0 1rem;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
}

.equipment-card p {
  position: relative;
  max-width: 520px;
  color: #5c6062;
}

.mini-specs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}

.mini-specs li {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 750;
}

.machine-ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--ink);
  color: #fff;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 28s linear infinite;
}

.ticker-set {
  display: flex;
  gap: 3rem;
  padding: 1rem 1.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-set span::before {
  content: "◆";
  margin-right: 1rem;
  color: var(--amber);
  font-size: 0.65rem;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.process-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.process-item,
.feature-item {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.process-item span {
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.process-item h3,
.feature-item h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.45rem;
}

.process-item p {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-inner strong {
  color: #fff;
}

.page-hero {
  min-height: 620px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

.machine-tag {
  display: inline-flex;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(12, 14, 15, 0.55);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-hero.printing .hero-picture img {
  object-position: 60% center;
}

.page-hero.cnc .hero-picture img {
  object-position: 86% center;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.intro-grid h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
}

.intro-copy {
  font-size: 1.12rem;
  color: #54585a;
}

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

.spec-list li {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  margin-top: 3rem;
}

.feature-item {
  border-color: var(--line);
}

.feature-item p {
  color: #64686a;
}

.spec-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 4rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.spec-tile {
  min-height: 180px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--paper);
}

.spec-value {
  display: block;
  margin-top: 1.5rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.spec-note {
  margin: 0.65rem 0 0;
  color: #666a6c;
  font-size: 0.88rem;
}

.material-lab {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.material-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.material-button {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.material-button:hover,
.material-button[aria-pressed="true"] {
  border-color: var(--amber);
  background: var(--amber);
  color: #19130b;
}

.material-output {
  min-height: 255px;
  padding: clamp(1.6rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(241, 164, 60, 0.14), transparent 55%),
    var(--ink-soft);
}

.material-output h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.05em;
}

.material-output p {
  max-width: 610px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.material-changed .material-output h3,
.material-changed .material-output p {
  animation: material-in 320ms ease both;
}

.material-changed .material-output p {
  animation-delay: 60ms;
}

@keyframes material-in {
  from { opacity: 0; transform: translateY(8px); }
}

.source-note {
  margin: 1.2rem 0 0;
  color: #74787a;
  font-size: 0.82rem;
}

.source-note a {
  text-underline-offset: 0.2em;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.75,.25,1);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.next-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--amber);
  color: #1b140b;
  text-decoration: none;
}

.next-link small {
  display: block;
  margin-bottom: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.next-link strong {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.next-link > span:last-child {
  font-size: 3rem;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 5rem;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .theme-toggle {
    order: 2;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 0.25rem);
    left: 1rem;
    right: 1rem;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(18, 20, 21, 0.97);
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
  }

  .hero,
  .page-hero {
    min-height: 680px;
  }

  .hero-picture img {
    object-position: 62% center;
  }

  .hero-picture::after {
    background:
      linear-gradient(90deg, rgba(10, 11, 12, 0.9), rgba(10, 11, 12, 0.3)),
      linear-gradient(0deg, rgba(10, 11, 12, 0.88) 0%, rgba(10, 11, 12, 0.12) 74%);
  }

  .section-heading,
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .discipline-grid {
    grid-template-columns: 1fr;
  }

  .equipment-grid,
  .material-lab {
    grid-template-columns: 1fr;
  }

  .spec-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discipline-card {
    min-height: 360px;
  }

  .process-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand span:last-child {
    font-size: 0.93rem;
  }

  .theme-toggle {
    min-width: 2.65rem;
    justify-content: center;
    padding-inline: 0.65rem;
  }

  .theme-toggle [data-theme-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 5rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .spec-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .spec-dashboard {
    grid-template-columns: 1fr;
  }

  .spec-tile {
    min-height: 145px;
  }
}

/* Heller und dunkler Showcase-Modus */
html[data-theme="dark"] {
  --paper: #101214;
  --paper-deep: #191c1f;
  --line: rgba(255, 255, 255, 0.15);
  color-scheme: dark;
}

html[data-theme="dark"] body {
  color: #f1eee7;
}

html[data-theme="dark"] .section-heading p,
html[data-theme="dark"] .discipline-card p,
html[data-theme="dark"] .equipment-card p,
html[data-theme="dark"] .intro-copy,
html[data-theme="dark"] .feature-item p,
html[data-theme="dark"] .spec-note,
html[data-theme="dark"] .source-note,
html[data-theme="dark"] .service-card p,
html[data-theme="dark"] .brief-copy,
html[data-theme="dark"] .order-panel > div:last-child,
html[data-theme="dark"] .contact-intro > p:last-of-type,
html[data-theme="dark"] .contact-facts p,
html[data-theme="dark"] .form-heading p,
html[data-theme="dark"] .demo-form-note,
html[data-theme="dark"] .consent-field,
html[data-theme="dark"] .field-counter,
html[data-theme="dark"] .legal-muted,
html[data-theme="dark"] .legal-source {
  color: #aeb3b5;
}

html[data-theme="dark"] .equipment-card,
html[data-theme="dark"] .contact-form {
  background: #1c1f22;
}

html[data-theme="dark"] .equipment-card::before {
  color: rgba(255, 255, 255, 0.045);
}

html[data-theme="dark"] .mini-specs li {
  background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form select,
html[data-theme="dark"] .contact-form textarea {
  border-color: rgba(255, 255, 255, 0.2);
  background: #111315;
  color: #f3f0e9;
}

html[data-theme="dark"] .contact-form input::placeholder,
html[data-theme="dark"] .contact-form textarea::placeholder {
  color: #7d8386;
}

html[data-theme="dark"] .form-status {
  border-color: rgba(105, 205, 129, 0.36);
  background: #17321f;
  color: #d9f5df;
}

html[data-theme="dark"] .form-status p {
  color: #acd5b6;
}

html[data-theme="dark"] .demo-legal-notice strong,
html[data-theme="dark"] .legal-source a {
  color: #ffb45b;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-picture img {
    transform: none;
  }
}

/* Showcase-Ausbau */
.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy small {
  margin-top: 0.35rem;
  color: var(--amber);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 11, 12, 0.42);
  color: rgba(255, 255, 255, 0.7);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
}

.hero-proof strong {
  color: var(--amber);
  font-size: 0.9rem;
}

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

.service-card {
  min-height: 390px;
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  background: var(--paper);
}

.service-card h3 {
  margin: 4rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.05em;
}

.service-card p {
  color: #5c6062;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 750;
}

.discipline-grid-dark {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.project-brief,
.order-panel,
.data-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.project-brief h2,
.order-panel h2,
.data-guide h2 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
}

.brief-copy,
.order-panel > div:last-child {
  color: #54585a;
  font-size: 1.08rem;
}

.check-list {
  margin: 1.8rem 0 2.2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "↳";
  position: absolute;
  left: 0;
  color: var(--amber-dark);
  font-weight: 900;
}

.check-list.light li {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
}

.check-list.light li::before {
  color: var(--amber);
}

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

.order-panel .button {
  margin-top: 1rem;
}

.footer-expanded > div {
  display: grid;
  gap: 0.35rem;
}

.footer-expanded {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3rem;
}

.footer-expanded small {
  color: rgba(255, 255, 255, 0.42);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.67rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  align-items: center;
  gap: 1.3rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--amber);
}

.contact-hero,
.legal-hero {
  min-height: 590px;
}

.contact-hero .hero-picture img {
  object-position: 70% center;
}

.legal-hero .hero-picture img {
  object-position: 45% center;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(460px, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -0.055em;
}

.contact-intro > p:last-of-type {
  color: #5c6062;
  font-size: 1.08rem;
}

.contact-facts {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.contact-facts article {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  column-gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-facts span {
  grid-row: 1 / 3;
  color: var(--amber-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.contact-facts h3,
.contact-facts p {
  margin-bottom: 0;
}

.contact-facts p {
  margin-top: 0.35rem;
  color: #666a6c;
  font-size: 0.9rem;
}

.contact-form {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background: #ebe6dd;
}

.form-heading {
  margin-bottom: 1.75rem;
}

.form-heading h2 {
  margin: 0.65rem 0 0.4rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.form-heading p {
  margin-bottom: 0;
  color: #6d7173;
  font-size: 0.82rem;
}

.demo-form-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: #686c6e;
  font-size: 0.76rem;
}

.demo-form-note strong {
  color: var(--amber-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.form-section legend {
  margin-bottom: 1.2rem;
  padding: 0;
  color: var(--amber-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-grid .form-field {
  margin-bottom: 0;
}

.form-field-full {
  margin-top: 1.2rem;
}

.contact-form label:not(.consent-field) {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
}

.contact-form label > span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 25, 27, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.48);
  color: var(--ink);
  padding: 0.85rem 0.9rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.field-counter {
  justify-self: end;
  color: #737779;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.4rem 0 1.5rem;
  color: #5c6062;
  font-size: 0.82rem;
}

.form-submit {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.form-submit .consent-field {
  margin-top: 0;
}

.consent-field input {
  width: 1rem;
  margin-top: 0.25rem;
  accent-color: var(--amber-dark);
}

.consent-field span {
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.form-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin: 1.5rem 0 0;
  padding: 1.2rem;
  border: 1px solid rgba(52, 112, 67, 0.35);
  background: #e4f2e5;
  color: #24462d;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.form-status[hidden] {
  display: none;
}

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

.form-status strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.form-status p {
  margin-bottom: 0;
  color: #46634e;
  font-size: 0.82rem;
}

.status-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #347043;
  color: #fff;
  font-weight: 900;
}

.data-guide {
  align-items: center;
}

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

.demo-legal-notice {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 1.5rem;
  border: 1px solid #c46d1b;
  background: rgba(241, 164, 60, 0.13);
}

.demo-legal-notice strong {
  color: #8c480d;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-transform: uppercase;
}

.demo-legal-notice p {
  margin: 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.legal-card {
  min-height: 310px;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper);
}

.legal-card h2 {
  margin: 3rem 0 1.5rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.045em;
}

.legal-card address {
  font-style: normal;
}

.legal-muted {
  color: #737779;
  font-size: 0.82rem;
}

.legal-source {
  max-width: 760px;
  margin-top: 2rem;
  color: #666a6c;
  font-size: 0.85rem;
}

.legal-source a {
  color: var(--amber-dark);
  font-weight: 800;
}

@media (max-width: 1000px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card h3 {
    margin-top: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .project-brief,
  .order-panel,
  .data-guide {
    grid-template-columns: 1fr;
  }

  .demo-legal-notice {
    grid-template-columns: 1fr;
  }

  .footer-expanded {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-links {
    width: 100%;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 620px) {
  .header-inner {
    gap: 0.5rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-copy > span:first-child {
    font-size: 0.8rem;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    padding-inline: 0.65rem;
    font-size: 0.78rem;
  }

  .hero-proof,
  .demo-form-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.25rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}
