/* ============================================================
   BRANDT & SOHN — Möbelmanufaktur (plantilla-09)
   Design tokens: roble + carbón + cobre. Bricolage Grotesque + Lora.
   Mobile-first. Contenido visible por defecto; los estados de
   pre-animación viven bajo .js y caducan con .js-timeout.
   ============================================================ */

/* ---------- Fuentes autohospedadas (variables) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-var.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-italic-var.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg-0: #161210;
  --bg-1: #1d1712;
  --bg-2: #251c14;
  --paper: #ece1cf;
  --paper-2: #e0d2ba;
  --ink-paper: #241b12;
  --ink-paper-dim: #5f5240;
  --text: #f0e7da;
  --text-dim: #b9a68f;
  --copper: #c97e4e;
  --copper-bright: #e29a63;
  --copper-deep: #9a5c36;
  --line: rgba(240, 231, 218, 0.14);
  --line-paper: rgba(36, 27, 18, 0.18);
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Lora', Georgia, serif;
  --wrap: 76rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, dt, dd, figure, blockquote, p, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
em { font-style: italic; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--copper); color: #1c1108; padding: 0.6rem 1.1rem;
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
  border-radius: 3px; transition: top 0.25s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

::selection { background: var(--copper); color: #1c1108; }

/* ---------- Capa ambiente ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.ambient-glow {
  position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%;
  left: 55%; top: -18%;
  background: radial-gradient(circle, rgba(201, 126, 78, 0.13), transparent 62%);
  filter: blur(10px);
}
.ambient-grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.55;
}

main { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  padding-block: 1.1rem;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(22, 18, 16, 0.86);
  backdrop-filter: blur(14px);
  padding-block: 0.65rem;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; }
/* Sin JS: el header no alterna a "scrolled" -> barra sólida oscura para que su texto claro siga legible sobre la banda clara */
html:not(.js) .site-header { background: rgba(22, 18, 16, 0.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  letter-spacing: 0.02em; text-decoration: none;
}
.brand em { font-style: normal; color: var(--copper); }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 4px;
  background: linear-gradient(145deg, var(--copper), var(--copper-deep));
  color: #1c1108; font-weight: 800; font-size: 1.05rem;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 1.7rem; }
.site-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.92rem;
  letter-spacing: 0.04em; text-decoration: none; color: var(--text-dim);
  transition: color 0.25s ease;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--copper-bright); }
@media (max-width: 47.9rem) { .site-nav { display: none; } }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.85rem 1.6rem; border-radius: 3px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.03em; text-decoration: none; border: 1px solid transparent;
  transition: transform 0.3s var(--ease-out), background 0.3s ease,
              color 0.3s ease, border-color 0.3s ease;
}
.btn-primary { background: var(--copper); color: #1c1108; }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--copper-bright); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--copper); color: var(--copper-bright); }
.btn-copper { background: var(--ink-paper); color: var(--paper); }
.btn-copper:hover, .btn-copper:focus-visible { background: var(--copper-deep); color: #fff; }
.btn-nav { padding: 0.55rem 1.15rem; border-color: var(--line); color: var(--text); font-size: 0.88rem; }
.btn-nav:hover, .btn-nav:focus-visible { border-color: var(--copper); color: var(--copper-bright); }
.btn-block { width: 100%; }

/* ---------- Etiquetas de sección ---------- */
.sec-label {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--copper);
  display: flex; align-items: center; gap: 0.8rem;
}
.sec-label::before { content: ''; width: 2.2rem; height: 1px; background: var(--copper); }
.sec-label-dark { color: var(--copper-deep); }
.sec-label-dark::before { background: var(--copper-deep); }
.sec-title {
  font-family: var(--font-display); font-weight: 800; line-height: 1.04;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.015em;
  margin-top: 1.1rem; max-width: 24ch;
}
.sec-title-dark { color: var(--ink-paper); }
.sec-lead { margin-top: 1.2rem; max-width: 54ch; color: var(--text-dim); }
.sec-lead-dark { color: var(--ink-paper-dim); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: clip; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.03); }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg-0) 2%, rgba(22, 18, 16, 0.35) 38%, rgba(22, 18, 16, 0.55) 100%),
    linear-gradient(100deg, rgba(22, 18, 16, 0.88) 12%, rgba(22, 18, 16, 0.15) 65%);
}
.hero-inner { position: relative; padding-block: 8rem 3rem; }
.hero-kicker {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--copper-bright);
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.4rem, 11vw, 8.2rem); line-height: 0.98;
  letter-spacing: -0.02em; margin-top: 1.4rem; max-width: 56rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero-title .line-inner { display: inline-block; }
.hero-lead { margin-top: 1.8rem; max-width: 44ch; font-size: 1.15rem; color: #ddd2c2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }
.hero-foot {
  position: relative; display: flex; flex-wrap: wrap; gap: 0.8rem 2.6rem;
  padding-block: 1.4rem 2rem; border-top: 1px solid var(--line); margin-top: auto;
}
.hero-foot-item {
  font-family: var(--font-display); font-weight: 500; font-size: 0.86rem;
  letter-spacing: 0.08em; color: var(--text-dim);
  display: flex; align-items: center; gap: 0.55rem;
}
.hero-foot-item::before { content: ''; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--copper); }

/* Estados pre-animación (solo con JS activo y aún sin timeout) */
.js:not(.js-timeout) .hero-title .line-inner { transform: translateY(115%); }
.js:not(.js-timeout) [data-hero-el] { opacity: 0; transform: translateY(24px); }

/* ---------- MANIFEST ---------- */
.manifest { padding-block: clamp(5rem, 11vw, 9rem); background: var(--bg-1); }
.manifest-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .manifest-grid { grid-template-columns: 5fr 7fr; gap: 5rem; } }
.manifest-media { position: relative; }
.manifest-media img { border-radius: 4px; box-shadow: var(--shadow-card); filter: saturate(0.9); }
.manifest-caption {
  margin-top: 0.9rem; font-size: 0.85rem; color: var(--text-dim);
  font-style: italic;
}
.statement {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.22;
  letter-spacing: -0.01em; margin-top: 1.4rem; max-width: 28ch;
}
.statement .w { display: inline-block; }
.js:not(.js-timeout) .statement .w { opacity: 0.16; }
.manifest-list { margin-top: 2.6rem; display: grid; gap: 1.1rem; max-width: 36rem; }
.manifest-list li {
  display: flex; gap: 1.1rem; align-items: baseline;
  padding-top: 1.1rem; border-top: 1px solid var(--line);
}
.ml-num { font-family: var(--font-display); font-weight: 700; color: var(--copper); font-size: 0.9rem; }
.ml-text { color: var(--text-dim); }

/* ---------- ARBEITEN ---------- */
.arbeiten { padding-block: clamp(5rem, 11vw, 9rem); }
.arbeiten-head { margin-bottom: 3.2rem; }
.werk-grid { display: grid; gap: 2.2rem; }
@media (min-width: 60rem) {
  .werk-grid { grid-template-columns: 1fr 1fr; }
  .werk-wide { grid-column: 1 / -1; }
}
.werk { position: relative; }
.werk-link { display: block; text-decoration: none; position: relative; border-radius: 4px; overflow: clip; }
.werk-media { overflow: clip; border-radius: 4px; }
.werk-media img {
  width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 10;
  filter: saturate(0.92);
  transition: transform 0.9s var(--ease-out), filter 0.6s ease;
}
.werk-wide .werk-media img { aspect-ratio: 16 / 8; }
.werk-bar {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.2rem;
  padding: 1.1rem 0.2rem 0;
}
.werk-name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
.werk-name em { color: var(--copper-bright); font-style: italic; font-family: var(--font-body); font-weight: 500; }
.werk-kind { margin-left: auto; font-size: 0.88rem; color: var(--text-dim); font-family: var(--font-display); letter-spacing: 0.06em; }
.werk-ficha {
  position: absolute; inset-inline: 0; bottom: 3.6rem;
  margin: 0 0.9rem; padding: 1.1rem 1.3rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 2.2rem;
  background: rgba(22, 18, 16, 0.88); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 4px;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
}
.werk-ficha dt {
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper);
}
.werk-ficha dd { margin: 0.15rem 0 0; font-size: 0.95rem; }
.werk-link:hover .werk-media img, .werk-link:focus-visible .werk-media img { transform: scale(1.035); filter: saturate(1); }
.werk-link:hover .werk-ficha, .werk-link:focus-visible .werk-ficha { opacity: 1; transform: translateY(0); }
/* Táctil / sin hover: la ficha se muestra siempre, compacta y estática */
@media (hover: none) {
  .werk-ficha { position: static; opacity: 1; transform: none; margin: 0.8rem 0 0; pointer-events: auto; }
}
.js:not(.js-timeout) .werk { opacity: 0; transform: translateY(36px); }

/* ---------- MATERIAL (banda clara + galería arrastrable) ---------- */
.material {
  background: var(--paper); color: var(--ink-paper);
  padding-block: clamp(5rem, 11vw, 9rem);
  background-image: linear-gradient(180deg, var(--paper), var(--paper-2));
}
.material-head { margin-bottom: 3rem; }
.mat-viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding-block: 0.4rem; outline-offset: 4px; }
.mat-viewport:focus-visible { outline: 2px solid var(--copper-deep); }
.js .mat-viewport { overflow: hidden; scroll-snap-type: none; cursor: grab; user-select: none; }
.js .mat-viewport, .js .mat-track { -webkit-user-select: none; }
.js .mat-media img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.js .mat-viewport.is-dragging { cursor: grabbing; }
.mat-track {
  display: flex; gap: 1.4rem; width: max-content;
  padding-inline: max(1.25rem, (100vw - var(--wrap)) / 2);
  will-change: transform;
}
.mat-card {
  width: min(21rem, 78vw); flex: none; scroll-snap-align: start;
  background: #fff; border-radius: 6px; overflow: clip;
  box-shadow: 0 18px 44px -20px rgba(36, 27, 18, 0.35);
  border: 1px solid rgba(36, 27, 18, 0.08);
  display: flex; flex-direction: column;
}
.mat-media { aspect-ratio: 9 / 7; overflow: clip; }
.mat-media img { width: 100%; height: 100%; object-fit: cover; }
.mat-body { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.mat-index {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-deep);
}
.mat-name { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.01em; }
.mat-latin { font-style: italic; color: var(--ink-paper-dim); font-size: 0.95rem; margin-top: -0.3rem; }
.mat-desc { color: var(--ink-paper-dim); font-size: 0.98rem; line-height: 1.6; margin-top: 0.4rem; }
.mat-use { margin-top: auto; padding-top: 0.9rem; font-size: 0.88rem; border-top: 1px solid var(--line-paper); }
.mat-use span { font-family: var(--font-display); font-weight: 600; color: var(--copper-deep); }
.mat-card-cta { background: var(--ink-paper); color: var(--paper); justify-content: center; }
.mat-card-cta .mat-name { color: var(--paper); }
.mat-card-cta .mat-desc { color: rgba(236, 225, 207, 0.75); }
.mat-card-cta .mat-index { color: var(--copper-bright); }
.mat-body-cta { padding-block: 2.4rem; gap: 0.8rem; }
.mat-body-cta .btn { margin-top: 1rem; align-self: flex-start; background: var(--copper); color: #1c1108; }
.mat-body-cta .btn:hover, .mat-body-cta .btn:focus-visible { background: var(--copper-bright); }
.mat-ui { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.mat-hint {
  display: none; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.06em; color: var(--ink-paper-dim);
}
.js .mat-hint { display: inline-flex; }
.mat-hint-icon {
  width: 2.4rem; height: 1px; background: var(--ink-paper-dim); position: relative;
}
.mat-hint-icon::before, .mat-hint-icon::after {
  content: ''; position: absolute; top: -3px; width: 7px; height: 7px;
  border-top: 1px solid var(--ink-paper-dim);
}
.mat-hint-icon::before { left: 0; border-left: 1px solid var(--ink-paper-dim); transform: rotate(-45deg); }
.mat-hint-icon::after { right: 0; border-right: 1px solid var(--ink-paper-dim); transform: rotate(45deg); }
.mat-arrows { margin-left: auto; display: flex; gap: 0.6rem; }
.mat-btn {
  width: 3rem; height: 3rem; border-radius: 50%;
  border: 1px solid var(--line-paper); background: transparent; color: var(--ink-paper);
  font-size: 1.15rem; transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out);
}
.mat-btn:hover, .mat-btn:focus-visible { background: var(--ink-paper); color: var(--paper); transform: translateY(-2px); }

/* ---------- PROZESS ---------- */
.prozess { padding-block: clamp(5rem, 11vw, 9rem); background: var(--bg-1); }
.prozess-head { margin-bottom: 3.5rem; }
.steps { position: relative; display: grid; gap: clamp(3.5rem, 7vw, 6rem); }
.steps-line { position: absolute; left: 0.55rem; top: 0.4rem; bottom: 0.4rem; width: 1px; background: var(--line); }
.steps-line span { display: block; width: 100%; height: 100%; background: var(--copper); transform-origin: top; transform: scaleY(0); }
html:not(.js) .steps-line span, .js-timeout .steps-line span { transform: none; }
@media (max-width: 59.9rem) { .steps-line { display: none; } }
.step { display: grid; gap: 1.8rem; align-items: center; }
@media (min-width: 60rem) {
  .step { grid-template-columns: 5fr 6fr; gap: 4rem; padding-left: 3.2rem; }
  .step:nth-child(odd of .step) .step-copy { order: 2; }
  .step:nth-child(odd of .step) .step-media { order: 1; }
}
.step-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.2rem, 6vw, 4.6rem); line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--copper);
}
.step-title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; margin-top: 0.7rem; }
.step-text { margin-top: 0.9rem; color: var(--text-dim); max-width: 42ch; }
.step-meta {
  margin-top: 1.2rem; font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--copper);
}
.step-media { border-radius: 4px; overflow: clip; box-shadow: var(--shadow-card); }
.step-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.92);
}
.js:not(.js-timeout) .step-media img { clip-path: inset(0 100% 0 0); }
html:not(.js) .step-media img, .js-timeout .step-media img { clip-path: none; }

/* ---------- MEISTER ---------- */
.meister { padding-block: clamp(5rem, 11vw, 9rem); }
.meister-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .meister-grid { grid-template-columns: 7fr 5fr; gap: 5rem; } }
.meister-media img { border-radius: 4px; box-shadow: var(--shadow-card); filter: saturate(0.85); }
.meister-text { margin-top: 1.4rem; color: var(--text-dim); max-width: 52ch; }
.meister-quote {
  margin-top: 2rem; padding-left: 1.4rem; border-left: 2px solid var(--copper);
  max-width: 46ch;
}
.meister-quote p { font-family: var(--font-body); font-style: italic; font-size: 1.25rem; line-height: 1.5; }
.meister-quote footer { margin-top: 0.7rem; font-size: 0.85rem; color: var(--text-dim); }
.meister-quote cite { font-style: normal; }
.facts { display: flex; flex-wrap: wrap; gap: 2.4rem 3.5rem; margin-top: 2.8rem; }
.fact-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; color: var(--copper-bright);
}
.fact-label { margin-top: 0.4rem; font-size: 0.9rem; color: var(--text-dim); }

/* ---------- ANFERTIGUNG ---------- */
.anfertigung {
  background: linear-gradient(180deg, var(--bg-2), var(--bg-0));
  border-top: 1px solid var(--line);
  padding-block: clamp(5rem, 11vw, 9rem) 3rem;
}
.anfertigung-inner { display: grid; gap: 3.5rem; }
@media (min-width: 60rem) { .anfertigung-inner { grid-template-columns: 6fr 5fr; gap: 5rem; } }
.weg { margin-top: 2.4rem; display: grid; gap: 1.4rem; max-width: 36rem; }
.weg li { display: flex; gap: 1.2rem; align-items: baseline; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.weg-num {
  flex: none; width: 2rem; height: 2rem; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--copper); color: var(--copper-bright);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
}
.weg-text { color: var(--text-dim); }
.weg-text strong { color: var(--text); font-family: var(--font-display); font-weight: 600; }
.anfrage {
  background: rgba(240, 231, 218, 0.045); border: 1px solid var(--line);
  border-radius: 6px; padding: clamp(1.6rem, 3vw, 2.4rem);
  display: grid; gap: 1.2rem; align-self: start;
}
.field { display: grid; gap: 0.45rem; }
.field label {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim);
}
.field input, .field textarea {
  background: rgba(22, 18, 16, 0.6); border: 1px solid var(--line);
  border-radius: 3px; color: var(--text); padding: 0.8rem 0.95rem;
  transition: border-color 0.25s ease;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--copper); }
.field ::placeholder { color: rgba(185, 166, 143, 0.55); }
.anfrage-note { font-size: 0.85rem; color: var(--text-dim); font-style: italic; }
.kontakt-details {
  display: flex; flex-wrap: wrap; gap: 1.2rem 3.5rem;
  margin-top: clamp(3rem, 7vw, 5rem); padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.kontakt-details li { display: grid; gap: 0.2rem; }
.kd-label {
  font-family: var(--font-display); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper);
}
.kontakt-details a { text-decoration: none; }
.kontakt-details a:hover { color: var(--copper-bright); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2.2rem; background: var(--bg-0); position: relative; z-index: 1; }
.footer-inner { display: grid; gap: 2.2rem; }
@media (min-width: 48rem) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } }
.brand-lg { font-size: 1.2rem; }
.footer-brand p { margin-top: 0.9rem; color: var(--text-dim); font-size: 0.95rem; }
.footer-nav { display: flex; gap: 3.5rem; }
.footer-nav ul { display: grid; gap: 0.55rem; }
.footer-nav a { text-decoration: none; color: var(--text-dim); font-size: 0.95rem; transition: color 0.25s ease; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--copper-bright); }
.footer-legal { grid-column: 1 / -1; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--text-dim); }

/* ---------- Revelados genéricos ---------- */
.js:not(.js-timeout) [data-reveal] { opacity: 0; transform: translateY(26px); }
.js:not(.js-timeout) [data-reveal-lines] { opacity: 0; transform: translateY(30px); }
.js:not(.js-timeout) [data-clip] { opacity: 0; transform: translateY(30px); }

/* ---------- Reduced motion: todo visible, nada se mueve ---------- */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal-lines], .js [data-clip],
  .js [data-hero-el], .js .werk, .js .hero-title .line-inner,
  .js .statement .w, .js .step-media img {
    opacity: 1 !important; transform: none !important; clip-path: none !important;
  }
  .steps-line span { transform: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001s !important; transition-duration: 0.001s !important;
  }
}
