/* ============================================================
   Wall Print — Stylesheet
   Palette: ink-graphite ground + emerald→azure gradient accent
   Type: Space Grotesk (display) · IBM Plex Sans (body) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  /* ---- Color ---- */
  --ground:    #0B0E12;   /* ink graphite near-black */
  --surface:   #12161C;   /* elevated panels */
  --surface-2: #171D25;   /* cards on alt sections */
  --line:      rgba(233, 240, 244, 0.09);
  --line-soft: rgba(233, 240, 244, 0.05);
  --text:      #ECF1F3;
  --muted:     #8B959E;
  --muted-2:   #5E6970;
  --accent:    #2FE6A6;   /* emerald — green end */
  --accent-2:  #36B6F2;   /* azure — blue end */
  --grad: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --grad-soft: linear-gradient(120deg, rgba(47,230,166,0.16), rgba(54,182,242,0.16));

  /* ---- Type ---- */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  /* ---- Layout ---- */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-h: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 12px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--ground);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* faint print-dot atmosphere — kept low so motion+accent carry intensity */
  background-image: radial-gradient(rgba(233,240,244,0.022) 1px, transparent 1px);
  background-size: 26px 26px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: #042018; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---- Shared type ---- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad);
  color: #04231A;
  box-shadow: 0 6px 24px -8px rgba(47,230,166,0.45);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(54,182,242,0.55); }
.btn--ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn--block { width: 100%; padding-block: 1rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  /* extend the bar (and its background) up into the iOS status-bar / notch area,
     while keeping the logo + links below the safe-area inset */
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11,14,18,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand__mark { display: inline-flex; filter: drop-shadow(0 2px 8px rgba(54,182,242,0.25)); }
.brand__mark img { display: block; border-radius: 8px; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand__tld { color: var(--muted); font-weight: 500; }

.nav__links { display: flex; gap: 1.9rem; }
.nav__links a {
  font-size: 0.95rem; color: var(--muted); position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--grad); transition: width .25s ease; border-radius: 2px;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 0.75rem; }
.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 99;
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1rem var(--gutter) 1.5rem;
  background: rgba(11,14,18,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 0.85rem 0.25rem; color: var(--text); border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
.mobile-menu .btn { margin-top: 0.75rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(2rem, 6vw, 5rem)); padding-bottom: clamp(2.5rem, 6vw, 5rem); overflow: hidden; }
.hero__glow {
  position: absolute; top: -10%; right: -5%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at 60% 40%, rgba(54,182,242,0.18), transparent 62%),
              radial-gradient(circle at 40% 60%, rgba(47,230,166,0.14), transparent 60%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__title {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.7rem, 6.2vw, 5.4rem);
  line-height: 0.98; letter-spacing: -0.035em;
  margin-bottom: 1.4rem;
}
.hero__lead { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 34ch; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.4rem; }

.spec-strip { display: flex; flex-wrap: wrap; gap: 1.6rem 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.spec-strip li { display: flex; flex-direction: column; }
.spec-strip__num { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1; }
.spec-strip__unit { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

.hero__trust {
  position: relative; z-index: 1;
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em;
  color: var(--muted-2); margin-top: clamp(2rem, 5vw, 3.5rem); text-align: center;
}

/* ---- Interactive particle fog (full-width ambient hero layer) ---- */
.hero__particles {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; display: block;
  pointer-events: none; /* never blocks the text/buttons; cursor tracked on the hero */
}

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding-block: clamp(4rem, 9vw, 7.5rem); position: relative; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,0.014), rgba(255,255,255,0) 30%); }
.section--alt::before, .section--alt::after { /* hairline separators */
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--line-soft);
}
.section--alt::before { top: 0; }
.section--alt::after { bottom: 0; }

.section__head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; flex-wrap: wrap; }
.section__title { font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; }
.section__intro { color: var(--muted); margin-top: 1rem; font-size: 1.08rem; max-width: 52ch; }

/* ============================================================
   OBERFLÄCHEN — icon-led material cards (photo = subtle texture)
   ============================================================ */
.surface-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.surface-card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.8rem;
  background: var(--surface);
  min-height: 230px;
  transition: transform .25s ease, border-color .25s ease;
}
.surface-card::before { /* duotone photo texture, low opacity */
  content: ""; position: absolute; inset: 0;
  background-image: var(--bg); background-size: cover; background-position: center;
  opacity: 0.16; transition: opacity .3s ease, transform .5s ease; transform: scale(1.02);
  z-index: 0;
}
.surface-card::after { /* keep text readable + push photo to bottom corner */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(160deg, var(--surface) 30%, rgba(18,22,28,0.4) 100%);
}
.surface-card > * { position: relative; z-index: 1; }
.surface-card:hover { transform: translateY(-4px); border-color: rgba(47,230,166,0.4); }
.surface-card:hover::before { opacity: 0.3; transform: scale(1.06); }
.surface-card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1.2rem;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--line);
}
.surface-card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.surface-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.surface-card p { color: var(--muted); font-size: 0.98rem; }

/* ============================================================
   ABLAUF — numbered steps (a real sequence)
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: step; }
.step {
  position: relative; padding: 1.8rem 1.5rem; border-radius: var(--radius);
  background: var(--surface-2); border: 1px solid var(--line);
  border-top: 2px solid transparent;
  transition: border-color .25s ease, transform .25s ease;
}
.step:hover { transform: translateY(-4px); border-top-color: var(--accent); }
.step__num {
  font-family: var(--mono); font-weight: 500; font-size: 0.9rem;
  letter-spacing: 0.1em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 1.4rem;
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   PROJEKTE — filterable gallery with brand duotone
   ============================================================ */
.filter { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.filter__btn {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em;
  padding: 0.5rem 0.95rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.filter__btn:hover { color: var(--text); border-color: var(--muted); }
.filter__btn.is-active { color: #04231A; background: var(--grad); border-color: transparent; font-weight: 500; }

.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px; gap: 1.1rem;
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: opacity .35s ease, transform .35s ease;
}
.gallery__item.is-tall { grid-row: span 2; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85) contrast(1.02);
  transition: transform .6s cubic-bezier(0.2,0,0.1,1), filter .4s ease;
}
.gallery__item::before { /* brand duotone overlay — unifies placeholder photos */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(155deg, rgba(54,182,242,0.28), rgba(11,14,18,0.1) 45%, rgba(47,230,166,0.22)),
              linear-gradient(0deg, rgba(11,14,18,0.85), transparent 55%);
  mix-blend-mode: normal;
  transition: opacity .35s ease;
}
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1) contrast(1.05); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1rem 1.1rem;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--text);
}
.gallery__cat {
  display: inline-block; margin-bottom: 0.4rem;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(11,14,18,0.5); border: 1px solid var(--line);
  padding: 0.2rem 0.5rem; border-radius: 5px;
}
.gallery__item.is-hidden { display: none; }

/* ============================================================
   VORTEILE — feature grid
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feature {
  padding: 1.8rem 1.6rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface);
  transition: transform .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(54,182,242,0.4); }
.feature__icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1.2rem;
  display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line);
}
.feature__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-family: var(--display); font-weight: 600; font-size: 1.18rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* ============================================================
   TECHNOLOGIE — spec sheet + image
   ============================================================ */
.tech { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tech__media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.tech__media img { width: 100%; aspect-ratio: 7/5; object-fit: cover; filter: saturate(0.9) contrast(1.03); }
.tech__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(150deg, rgba(54,182,242,0.18), transparent 50%, rgba(47,230,166,0.16));
}
.tech__badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em;
  background: rgba(11,14,18,0.65); border: 1px solid var(--line); backdrop-filter: blur(8px);
  padding: 0.5rem 0.75rem; border-radius: 8px; color: var(--text);
}
.specs { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.specs__row {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 0.95rem 0; border-bottom: 1px solid var(--line-soft);
}
.specs__row dt { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.specs__row dd { font-family: var(--display); font-weight: 500; text-align: right; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__list { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact__list li { display: flex; flex-direction: column; gap: 0.2rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-soft); }
.contact__label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span:not(.contact__label) { font-family: var(--display); font-size: 1.1rem; font-weight: 500; }
.contact__list a:hover { color: var(--accent); }

.contact__form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem); display: grid; gap: 1.1rem;
}
.field { display: grid; gap: 0.45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--text);
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,230,166,0.15);
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B959E' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95rem center; padding-right: 2.4rem; }
.field input.is-invalid, .field textarea.is-invalid { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,0.14); }
.form-note { font-family: var(--mono); font-size: 0.82rem; min-height: 1.2em; }
.form-note.is-ok { color: var(--accent); }
.form-note.is-err { color: #ff8585; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 4.5rem); padding-bottom: 2rem; background: linear-gradient(180deg, rgba(255,255,255,0.012), transparent); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-soft); }
.footer__brand p { color: var(--muted); margin-top: 1rem; max-width: 30ch; font-size: 0.95rem; }
.footer__col h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col a, .footer__col span { color: var(--text); font-size: 0.95rem; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding-top: 1.6rem; }
.footer__bottom p { font-family: var(--mono); font-size: 0.76rem; color: var(--muted-2); letter-spacing: 0.04em; }

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-nav { height: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); display: flex; align-items: center; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(11,14,18,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); z-index: 50; }
.legal-nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.legal-nav .btn--sm { font-family: var(--display); }
.legal { max-width: 760px; padding-block: clamp(3rem, 7vw, 5rem); }
.legal h1 { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.legal > p.eyebrow { margin-bottom: 1.5rem; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; margin: 2.4rem 0 0.7rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.6rem; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal ul { list-style: disc; padding-left: 1.3rem; }
.legal .note { font-family: var(--mono); font-size: 0.8rem; color: var(--muted-2); border-left: 2px solid var(--accent); padding: 0.5rem 0 0.5rem 1rem; margin: 1.5rem 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(0.2,0.7,0.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* headline leads on mobile; the 3D room follows so it doesn't trap the top of the page */
  .hero__lead { max-width: 48ch; }
  .surface-grid, .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tech, .contact { grid-template-columns: 1fr; }
  .tech__media { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__actions .btn--sm { display: none; }
  .nav__toggle { display: flex; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .surface-grid, .features, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item.is-tall { grid-row: span 1; }
  .section__head--row { align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
