/* ============================================================
   FW Recycling — Apple-style redesign
   Photography-first, edge-to-edge light/dark tiles.
   One accent: Action Blue (#0066cc). One shadow: product imagery.
   Type: system SF Pro (Apple devices) -> Inter fallback.
   ============================================================ */

:root {
  /* Accent — the single interactive color */
  --blue: #0066cc;
  --blue-focus: #0071e3;
  --blue-on-dark: #2997ff;

  /* Ink / text */
  --ink: #1d1d1f;
  --ink-80: #333333;
  --ink-48: #7a7a7a;
  --on-dark: #ffffff;
  --muted-on-dark: #cccccc;

  /* Surfaces */
  --white: #ffffff;
  --parchment: #f5f5f7;
  --pearl: #fafafc;
  --tile-dark: #272729;
  --tile-dark-2: #2a2a2c;
  --black: #000000;

  /* Lines */
  --divider: #f0f0f0;
  --hairline: #e0e0e0;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", system-ui, "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2.25rem, 1.55rem + 3.1vw, 3.5rem);   /* ~36 -> 56 */
  --fs-display: clamp(1.85rem, 1.4rem + 1.9vw, 2.5rem); /* ~30 -> 40 */
  --fs-lead: clamp(1.3rem, 1.12rem + 0.8vw, 1.75rem);   /* ~21 -> 28 */
  --fs-tagline: clamp(1.15rem, 1.06rem + 0.4vw, 1.31rem);
  --fs-body: 1.0625rem;                                  /* 17px */
  --fs-caption: 0.875rem;                                /* 14px */

  /* Radius */
  --r-sm: 8px;
  --r-md: 11px;
  --r-lg: 18px;
  --r-pill: 9999px;

  /* The only shadow in the system: product imagery resting on a surface */
  --shadow-product: 0 5px 30px 3px rgba(0, 0, 0, 0.22);

  --container: 1080px;
  --container-wide: 1320px;
  --pad-x: clamp(1.25rem, 4vw, 2rem);
  --section: clamp(3.5rem, 7vw, 5.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.47;
  letter-spacing: -0.012em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--blue-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
::selection {
  background: var(--blue);
  color: #fff;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.container--wide {
  max-width: var(--container-wide);
}

/* ---------- Buttons (pill grammar) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 11px 22px;
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.012em;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease), background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}
.btn--lg {
  padding: 14px 28px;
  font-size: 1.125rem;
  font-weight: 300;
}
.btn:active {
  transform: scale(0.96);
}
.btn--primary {
  background: var(--blue);
  color: #fff;
}
.btn--primary:hover {
  background: var(--blue-focus);
}
.btn--secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--secondary:hover {
  background: rgba(0, 102, 204, 0.06);
}
/* on dark tiles */
.btn--secondary.on-dark {
  color: var(--blue-on-dark);
  border-color: var(--blue-on-dark);
}
.btn--secondary.on-dark:hover {
  background: rgba(41, 151, 255, 0.12);
}
.btn--block {
  width: 100%;
}

/* link with chevron */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--blue);
  font-size: var(--fs-body);
}
.link-more svg {
  width: 1em;
  height: 1em;
}
.on-dark .link-more,
.link-more.on-dark {
  color: var(--blue-on-dark);
}

/* ---------- Header (frosted sub-nav style) ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 247, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 56px;
  overflow: visible;
}
.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}
/* Logo overflows the fixed-height bar on purpose (transparent bg) */
.brand__logo {
  width: auto;
  height: 112px;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  padding: 0.4rem 0.8rem;
  font-size: var(--fs-caption);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: color 0.18s ease;
}
.nav a:hover {
  color: var(--blue);
}
.header__cta {
  flex: 0 0 auto;
  padding: 7px 16px;
  font-size: var(--fs-caption);
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border-radius: var(--r-sm);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}
.nav-toggle .icon-close {
  display: none;
}
body.nav-open .nav-toggle .icon-open {
  display: none;
}
body.nav-open .nav-toggle .icon-close {
  display: block;
}
.nav-mobile {
  display: none;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-mobile__inner {
  display: flex;
  flex-direction: column;
  padding-block: 0.5rem 1.25rem;
}
.nav-mobile a {
  padding: 0.85rem 0.25rem;
  font-size: 1.31rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-bottom: 1px solid var(--divider);
}
.nav-mobile .btn {
  margin-top: 1rem;
}

/* ============================================================
   TILE SYSTEM — full-bleed, alternating surfaces, no gaps.
   The surface color change is the section divider.
   ============================================================ */
.tile {
  padding-block: var(--section);
  background: var(--white);
  color: var(--ink);
}
.tile--parchment {
  background: var(--parchment);
}
.tile--dark {
  background: var(--tile-dark);
  color: var(--on-dark);
}
.tile--black {
  background: var(--black);
  color: var(--on-dark);
}

/* Centered head used across product-style tiles */
.tile__head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.tile__head--tight {
  max-width: 640px;
}
.tile__eyebrow {
  display: block;
  font-size: var(--fs-tagline);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.tile--dark .tile__eyebrow {
  color: var(--blue-on-dark);
}
.tile__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.022em;
}
.tile__lead {
  margin-top: 0.9rem;
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ink-80);
}
.tile--dark .tile__lead {
  color: var(--muted-on-dark);
}
.tile__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3rem, 6vw, 5rem) var(--section);
  text-align: center;
}
.hero__inner {
  max-width: 820px;
  margin: 0 auto;
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.028em;
}
.hero__title .accent {
  color: var(--blue);
}
.hero__lead {
  margin: 1rem auto 0;
  max-width: 30ch;
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink-80);
}
.hero__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: center;
}
.hero__visual {
  margin: clamp(2.5rem, 5vw, 3.75rem) auto 0;
  max-width: 1000px;
}
.hero__media {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-product);
}

/* ---------- Facts strip ---------- */
.facts {
  padding-block: clamp(2rem, 4vw, 3rem);
}
.facts__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem 1rem;
  text-align: center;
}
.fact__value {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.fact__label {
  margin-top: 0.2rem;
  font-size: var(--fs-caption);
  color: var(--ink-48);
}
.fact + .fact,
.facts__list .fact {
  position: relative;
}
.facts__list .fact:not(:first-child)::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 2.4rem;
  background: var(--hairline);
}

/* ---------- Cards (Vorteile) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: transform 0.2s var(--ease), border-color 0.2s ease;
}
.card:hover {
  border-color: #cfcfd4;
}
.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.1rem;
  color: var(--blue);
}
.card__icon svg {
  width: 28px;
  height: 28px;
}
.card h3 {
  font-size: 1.31rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.card p {
  font-size: var(--fs-body);
  line-height: 1.47;
  color: var(--ink-80);
}

/* ---------- Gallery (Material, on dark) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.gcard__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-product);
}
.gcard__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}
.gcard h3 {
  margin-top: 1.25rem;
  font-size: 1.31rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--on-dark);
}
.gcard p {
  margin-top: 0.3rem;
  font-size: var(--fs-body);
  line-height: 1.47;
  color: var(--muted-on-dark);
}

/* ---------- Steps (Ablauf) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.step__num {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue);
}
.step__title {
  margin-top: 0.9rem;
  font-size: 1.31rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.step__text {
  margin-top: 0.4rem;
  font-size: var(--fs-body);
  line-height: 1.47;
  color: var(--ink-80);
}
.steps__note {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  color: var(--ink-48);
  font-size: var(--fs-caption);
}
.steps__note svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex: 0 0 auto;
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__media {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-product);
}
.about__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.about__text {
  margin-top: 1rem;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-80);
}
.about__points {
  margin-top: 1.6rem;
  display: grid;
  gap: 0.65rem;
}
.about__points li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
}
.about__points svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  flex: 0 0 auto;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.contact__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 13ch;
}
.contact__lead {
  margin-top: 1rem;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-80);
}
.contact__direct {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.5rem;
}
.contact__direct-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--hairline);
  color: var(--ink);
}
.contact__direct-item:last-child {
  border-bottom: 1px solid var(--hairline);
}
.contact__direct-icon {
  color: var(--blue);
  flex: 0 0 auto;
}
.contact__direct-icon svg {
  width: 22px;
  height: 22px;
}
.contact__direct-label {
  display: block;
  font-size: var(--fs-caption);
  color: var(--ink-48);
}
.contact__direct-value {
  font-size: var(--fs-body);
  color: var(--ink);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form__field--full {
  grid-column: 1 / -1;
}
.contact-form__field label {
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  letter-spacing: -0.012em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #a1a1a6;
}
.contact-form__field textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--blue-focus);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}
.contact-form__check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 0.7rem;
  margin-top: 1.1rem;
  color: var(--ink-80);
  font-size: var(--fs-caption);
  line-height: 1.4;
}
.contact-form__check input {
  margin-top: 0.1rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--blue);
}
.contact-form__check a {
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.contact-form__status {
  min-height: 1.3rem;
  margin-top: 0.9rem;
  font-size: var(--fs-caption);
  line-height: 1.45;
  color: var(--ink-48);
}
.contact-form__status--pending {
  color: var(--blue);
}
.contact-form__status--success {
  color: #1c7a43;
}
.contact-form__status--error {
  color: #c0392b;
}
.contact-form__submit {
  margin-top: 1.25rem;
}
.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ---------- Media placeholder ----------
   Replace each .ph block with <img ...> once photos are ready. */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--parchment);
  border: 1px solid var(--hairline);
  color: var(--ink-48);
}
.ph--on-dark {
  background: #1f1f21;
  border-color: rgba(255, 255, 255, 0.12);
}
.ph__inner {
  display: grid;
  justify-items: center;
  gap: 0.4rem;
  text-align: center;
  padding: 1.5rem;
}
.ph__inner svg {
  width: 36px;
  height: 36px;
  color: var(--blue);
  opacity: 0.85;
}
.ph__label {
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
}
.ph--on-dark .ph__label {
  color: var(--on-dark);
}
.ph__hint {
  font-size: 0.8rem;
  color: var(--ink-48);
}
.ph--on-dark .ph__hint {
  color: var(--muted-on-dark);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--parchment);
  color: var(--ink-80);
  padding-block: 48px 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.85fr));
  gap: 2rem;
  align-items: start;
}
.footer__column {
  display: flex;
  flex-direction: column;
}
.footer__column--brand {
  max-width: 24rem;
}
.footer__logo {
  width: 150px;
  height: auto;
  object-fit: contain;
}
.footer__tag {
  margin-top: 0.7rem;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--ink-48);
}
.footer__description {
  margin-top: 0.6rem;
  max-width: 32ch;
  font-size: var(--fs-caption);
  line-height: 1.5;
  color: var(--ink-80);
}
.footer__heading {
  margin: 0 0 0.4rem;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--ink-48);
}
.footer__stack {
  display: flex;
  flex-direction: column;
  font-size: var(--fs-body);
  line-height: 2.1;
}
.footer__stack span {
  color: var(--ink-80);
}
.footer__stack a,
.footer__links a {
  color: var(--ink-80);
  transition: color 0.18s ease;
}
.footer__stack a:hover,
.footer__links a:hover {
  color: var(--blue);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.75rem;
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--ink-48);
}

/* ============================================================
   Legal pages (reuse .section utilities, Apple-styled)
   ============================================================ */
.section {
  padding-block: var(--section);
}
.section--alt {
  background: var(--parchment);
}
.section__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.section__lead {
  margin-top: 1rem;
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink-80);
}
.section__lead--center {
  margin-inline: auto;
  text-align: center;
  max-width: 56ch;
}
.eyebrow {
  display: inline-block;
  font-size: var(--fs-tagline);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.legal-hero__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.legal-page {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}
.legal-page__inner {
  max-width: 820px;
  margin: 0 auto;
}
.legal-copy {
  color: var(--ink-80);
}
.legal-block + .legal-block {
  margin-top: 1.85rem;
}
.legal-block h2 {
  margin-bottom: 0.5rem;
  font-size: 1.31rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.legal-block p {
  font-size: var(--fs-body);
  line-height: 1.6;
}
.legal-block p + p,
.legal-block ul + p {
  margin-top: 0.9rem;
}
.legal-list {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}
.legal-list li {
  font-size: var(--fs-body);
  line-height: 1.6;
}
.legal-list li + li {
  margin-top: 0.35rem;
}
.legal-placeholder {
  color: var(--blue);
  font-weight: 600;
}
.legal-note {
  margin-bottom: 1.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  font-size: var(--fs-caption);
  line-height: 1.55;
}

/* ---------- Reveal-on-scroll (quiet) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* Media reveals get a subtle scale-in for a premium feel */
.hero__visual.reveal {
  transform: translateY(20px) scale(0.985);
}
.reveal[data-delay="1"] {
  transition-delay: 0.07s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.14s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.21s;
}

/* Hover-only enhancements — skipped on touch to avoid sticky states */
@media (hover: hover) and (pointer: fine) {
  .card {
    transition: transform 0.3s var(--ease-out), border-color 0.2s ease;
  }
  .card:hover {
    transform: translateY(-4px);
  }
  .gcard {
    transition: transform 0.4s var(--ease-out);
  }
  .gcard:hover {
    transform: translateY(-4px);
  }
  .gcard:hover .gcard__media {
    transform: scale(1.045);
  }
  .step__num {
    transition: transform 0.3s var(--ease-out);
  }
  .step:hover .step__num {
    transform: translateY(-3px);
  }
  .footer__stack a,
  .footer__links a,
  .nav a {
    transition: color 0.18s ease, opacity 0.18s ease;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about__media {
    order: -1;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    max-width: 560px;
    margin-inline: auto;
  }
  .about__points {
    justify-items: center;
  }
  .about__points li {
    justify-content: center;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .contact__title {
    max-width: none;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .facts__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .facts__list .fact:nth-child(odd)::before {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header__cta {
    display: none;
  }
  body.nav-open .nav-mobile {
    display: block;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 60px;
  }
  .header__inner {
    height: 52px;
  }
  .brand__logo {
    height: 84px;
  }
  .cards,
  .gallery,
  .steps {
    grid-template-columns: 1fr;
  }
  .facts__list {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .facts__list .fact::before {
    display: none !important;
  }
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
  .contact-form__submit {
    width: 100%;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  .footer__column--brand {
    grid-column: 1 / -1;
  }
  .hero__actions,
  .tile__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .btn,
  .tile__actions .btn {
    width: 100%;
  }
}

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

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