/* ==========================================================================
   Kentaur Lift — vertical/mechanical identity
   Palette: near-black graphite ink, engineered violet, single amber lamp accent
   Type: Big Shoulders (display, condensed/industrial) / IBM Plex Sans (body) / IBM Plex Mono (data)
   Layout: page as shaft — fixed floor-indicator rail doubles as navigation
   ========================================================================== */

:root {
  --ink: #0a0b12;
  --ink-panel: #131420;
  --ink-panel-2: #191b2a;
  --steel: #6d7089;
  --steel-dim: #2c2e40;
  --violet: #7259e8;
  --violet-dim: #34294f;
  --amber: #e2a53c;
  --paper: #eeecf5;
  --paper-dim: #a7a5bd;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-tag: 'Big Shoulders Text', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --rail-w: 220px;
  --topbar-h: 64px;
  --max-w: 1180px;
  --ease-lift: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Text reveal — headings and intro copy slide in from the left as they enter view */
.reveal-side {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 0.9s var(--ease-lift), transform 0.9s var(--ease-lift);
}
.reveal-side.is-visible { opacity: 1; transform: translateX(0); }

/* Fixed ambient backdrop — the poster artwork, dimmed, holding still while the shaft scrolls past it */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  background-image:
    linear-gradient(180deg, rgba(10, 11, 18, 0.9) 0%, rgba(10, 11, 18, 0.82) 45%, rgba(10, 11, 18, 0.94) 100%),
    url('assets/hero-kentaur.jpeg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, dl { margin: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.dim { color: var(--paper-dim); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 0.95; letter-spacing: 0.01em; text-wrap: balance; color: var(--paper); text-transform: uppercase; }

/* ---------- lamp indicator ---------- */
.lamp {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--steel-dim);
  display: inline-block;
  box-shadow: none;
}
.lamp-pulse, .is-active .lamp, .lamp.lit {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(226, 165, 60, 0.75);
}
.lamp-pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease-lift), background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--violet);
  color: #fff;
  border-color: var(--violet);
  position: relative;
}
.btn-primary:hover { background: #8266ee; }
.btn-lamp {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover .btn-lamp { background: var(--amber); box-shadow: 0 0 6px rgba(226,165,60,0.8); }
.btn-line {
  color: var(--paper-dim);
  border-bottom: 1px solid var(--steel-dim);
  border-radius: 0;
  padding: 14px 4px;
}
.btn-line:hover { color: var(--paper); border-color: var(--steel); }
.btn-block { width: 100%; justify-content: center; }
.topbar-partner {
  padding: 9px 18px;
  font-size: 0.85rem;
  border: 1px solid var(--steel-dim);
  color: var(--paper-dim);
  font-family: var(--font-body);
}
.topbar-partner:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- partner modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 11, 18, 0.86);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-card {
  position: relative;
  background: var(--ink-panel);
  border: 1px solid var(--steel-dim);
  max-width: 640px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  transform: translateY(14px);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal-card { transform: translateY(0); }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 32px; height: 32px;
  background: var(--ink); border: 1px solid var(--steel-dim);
  color: var(--paper-dim); font-size: 1.4rem; line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: var(--amber); border-color: var(--amber); }
.modal-image { background: #fff; }
.modal-image img { width: 100%; display: block; }
.modal-body { padding: 34px; }
.modal-body > .mono { font-size: 0.76rem; letter-spacing: 0.08em; }
.modal-body h3 { font-size: 1.7rem; margin: 10px 0 16px; }
.modal-body .lead { color: var(--paper-dim); font-size: 0.96rem; margin: 0 0 24px; max-width: none; }
.modal-facts-intro { font-size: 0.72rem; letter-spacing: 0.08em; margin: 0 0 14px; }
.modal-facts { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.modal-facts li { position: relative; padding-left: 18px; color: var(--paper); font-size: 0.92rem; }
.modal-facts li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; background: var(--amber); }

/* ---------- topbar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--topbar-h);
  background: var(--ink-panel);
  border-bottom: 1px solid var(--steel-dim);
}
.topbar-inner {
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 32px; height: 32px; color: var(--amber); flex-shrink: 0; }
.brand span {
  font-family: var(--font-tag); font-weight: 700; font-size: 1.4rem;
  letter-spacing: 0.04em; color: var(--paper); text-transform: uppercase;
}
.brand em { font-style: normal; color: var(--violet); }

.topbar-readout { display: none; align-items: center; gap: 10px; font-size: 0.82rem; }
.topbar-readout .mono:first-of-type { color: var(--amber); font-weight: 500; }

.lang-switch { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-btn {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  background: transparent; border: 1px solid var(--steel-dim); border-radius: 3px;
  cursor: pointer; opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.lang-btn:hover { opacity: 1; border-color: var(--steel); }
.lang-btn.is-active { opacity: 1; border-color: var(--amber); }
.flag-icon { width: 26px; height: 17px; display: block; border-radius: 1px; }

/* ---------- mobile language dropdown (hidden on desktop) ---------- */
.lang-dropdown { display: none; position: relative; flex-shrink: 0; }
.lang-dropdown-toggle {
  display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 10px;
  background: transparent; border: 1px solid var(--steel-dim); border-radius: 3px;
  cursor: pointer; color: var(--paper-dim);
  transition: border-color 0.2s ease;
}
.lang-dropdown-toggle:hover { border-color: var(--steel); }
.lang-caret { width: 10px; height: 6px; transition: transform 0.2s ease; }
.lang-dropdown.open .lang-caret { transform: rotate(180deg); }
.lang-dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 150px;
  background: var(--ink-panel); border: 1px solid var(--steel-dim); border-radius: 3px;
  padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 110;
}
.lang-dropdown.open .lang-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  background: transparent; border: none; border-radius: 2px;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--paper-dim);
  cursor: pointer; text-align: left;
}
.lang-dropdown-item:hover { background: var(--ink-panel-2); color: var(--paper); }
.lang-dropdown-item.is-active { color: var(--amber); }
.lang-dropdown-item .flag-icon { width: 22px; height: 15px; }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { width: 20px; height: 1.5px; background: var(--paper); }

/* ---------- floor rail (desktop nav) ---------- */
.floor-rail {
  position: fixed; left: 0; top: var(--topbar-h); bottom: 0;
  width: var(--rail-w);
  padding: 48px 0 48px 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 90;
}
.rail-track {
  position: absolute; left: 15px; top: 48px; bottom: 48px; width: 1px;
  background: var(--steel-dim);
}
.rail-car {
  position: absolute; left: -3.5px; top: 0;
  width: 8px; height: 8px; border-radius: 1px;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(226,165,60,0.7);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: top 0.6s var(--ease-lift), opacity 0.3s ease;
}
.floor-item {
  display: flex; align-items: baseline; gap: 12px;
  color: var(--steel);
  transition: color 0.2s ease;
}
.floor-item:hover { color: var(--paper-dim); }
.floor-item .floor-num {
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem;
  width: 2ch;
}
.floor-item .floor-label {
  font-family: var(--font-tag); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  opacity: 0; transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.floor-item.is-active { color: var(--paper); }
.floor-item.is-active .floor-num { color: var(--amber); }
.floor-item.is-active .floor-label,
.floor-item:hover .floor-label { opacity: 1; transform: translateX(0); }

/* ---------- mobile nav overlay ---------- */
.mobile-nav {
  display: none;
  position: fixed; inset: var(--topbar-h) 0 0 0; z-index: 95;
  background: var(--ink);
  flex-direction: column;
  padding: 32px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 4px;
  font-family: var(--font-tag); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--paper);
  border-bottom: 1px solid var(--steel-dim);
}
.mobile-nav a .mono { color: var(--amber); font-size: 1rem; }

/* ---------- floors / sections ---------- */
main { margin-left: var(--rail-w); padding-top: var(--topbar-h); }
.floor { padding: 120px 0; border-bottom: 1px solid var(--steel-dim); position: relative; }
.floor:last-of-type { border-bottom: none; }

.floor-tag {
  display: inline-block;
  color: var(--amber);
  font-size: 0.82rem; letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.floor-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 8px; }
.lead { color: var(--paper-dim); max-width: 60ch; font-size: 1.05rem; margin-top: 24px; }

/* ---------- hero (floor 00) ---------- */
.floor-hero { padding-top: 64px; padding-bottom: 90px; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  min-height: calc(100vh - var(--topbar-h) - 64px);
}
.status-readout { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.status-readout .mono { font-size: 0.82rem; color: var(--paper-dim); letter-spacing: 0.08em; }
.hero-copy h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  margin-bottom: 26px;
}
.hero-copy h1 span { color: var(--violet); }
.hero-sub { color: var(--paper-dim); font-size: 1.08rem; max-width: 46ch; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }

.hero-shaft {
  position: relative;
  animation: shaftFadeIn 1.2s var(--ease-lift) 0.2s both;
}
@keyframes shaftFadeIn {
  from { opacity: 0; transform: translateY(56px); }
  to { opacity: 1; transform: translateY(0); }
}
.shaft-frame {
  aspect-ratio: 3 / 4;
}
.shaft-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 32% 38%;
  mask-image: radial-gradient(ellipse 100% 100% at center, #000 90%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at center, #000 90%, transparent 100%);
}
.shaft-tag {
  position: absolute; bottom: -14px; right: 14px;
  background: var(--ink); padding: 4px 10px;
  border: 1px solid var(--steel-dim);
  font-size: 0.72rem; color: var(--steel);
  letter-spacing: 0.06em;
}

/* ---------- readout strip (floor 01) ---------- */
.readout-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
}
.readout {
  background: var(--ink-panel);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--steel-dim);
}
.readout-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 0.85;
  color: var(--paper);
  letter-spacing: 0.01em;
}
.readout-label {
  font-family: var(--font-mono);
  color: var(--steel);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- manifest (lift types floor 02 / services floor 04) ---------- */
.manifest { margin-top: 48px; border-top: 1px solid var(--steel-dim); }
.manifest-row {
  display: grid; grid-template-columns: 60px 44px 1fr; gap: 24px; align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--steel-dim);
}
.manifest-code {
  font-size: 1.45rem; color: var(--violet); font-weight: 500; padding-top: 2px;
}
.manifest-icon { width: 30px; height: 30px; color: var(--steel); margin-top: 3px; }
.manifest-text h3 { font-family: var(--font-tag); text-transform: none; font-weight: 700; font-size: 1.3rem; letter-spacing: 0; margin-bottom: 9px; }
.manifest-text p { color: var(--paper-dim); max-width: 58ch; font-size: 1.05rem; }

/* ---------- finish / colour picker (floor 03) ---------- */
.finish-picker {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.finish-preview-frame {
  border: 1px solid rgba(44, 46, 64, 0.25);
  background: var(--ink-panel);
  height: 620px;
  overflow: hidden;
}
.finish-preview-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.25s ease; }
.finish-preview-caption {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 14px; font-size: 0.88rem;
}
.finish-preview-caption .range { color: var(--paper); font-weight: 500; letter-spacing: 0.04em; }
.finish-preview-caption .name { color: var(--steel); }

.finish-groups {
  display: flex; flex-direction: column; gap: 30px;
  height: 620px; overflow-y: auto;
  padding-right: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--steel-dim) transparent;
}
.finish-groups::-webkit-scrollbar { width: 6px; }
.finish-groups::-webkit-scrollbar-track { background: transparent; }
.finish-groups::-webkit-scrollbar-thumb { background: var(--steel-dim); }
.finish-groups::-webkit-scrollbar-thumb:hover { background: var(--steel); }
.finish-group-label {
  display: block; color: var(--steel); font-size: 0.76rem;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.finish-swatches { display: flex; flex-wrap: wrap; gap: 14px; }
.swatch {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  width: 58px; background: none; border: none; padding: 0; cursor: pointer;
}
.swatch-color {
  width: 58px; height: 58px; background: var(--swatch-color);
  border: 1px solid var(--steel-dim); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.swatch:hover .swatch-color { border-color: var(--steel); }
.swatch.active .swatch-color { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber); }
.swatch-code { font-size: 0.66rem; color: var(--steel); letter-spacing: 0.02em; }
.swatch.active .swatch-code { color: var(--amber); }

/* ---------- spec grid (why us, floor 05) ---------- */
.spec-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.spec { background: var(--ink); padding: 34px; border: 1px solid var(--steel-dim); }
.spec-icon { width: 26px; height: 26px; color: var(--amber); margin-bottom: 18px; }
.spec h3 { font-family: var(--font-tag); text-transform: none; font-weight: 700; font-size: 1.1rem; letter-spacing: 0; margin-bottom: 10px; }
.spec p { color: var(--paper-dim); font-size: 0.95rem; }

/* ---------- maintenance alert banner (floor 05) ---------- */
.maintenance-alert {
  margin-top: 36px;
  display: flex; align-items: center; gap: 28px;
  background: var(--ink); border: 1px solid var(--steel-dim); border-left: 3px solid var(--amber);
  padding: 22px 30px;
}
.maintenance-alert-time { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.maintenance-alert-icon { width: 30px; height: 30px; color: var(--amber); }
.maintenance-alert-num { font-size: 1.4rem; color: var(--amber); font-weight: 500; }
.maintenance-alert-text { display: flex; flex-direction: column; gap: 4px; }
.maintenance-alert-text strong { font-family: var(--font-tag); font-weight: 700; font-size: 1.05rem; color: var(--paper); }
.maintenance-alert-text .mono { font-size: 0.8rem; letter-spacing: 0.04em; }

/* ---------- sub-heading + offer grid (floor 05) ---------- */
.floor-head-sub { margin-top: 56px; }
.floor-head-sub .floor-tag { margin-bottom: 0; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.offer-card { display: flex; flex-direction: column; }
.offer-card .spec-icon { color: var(--violet); }
.offer-card h3 { margin-bottom: 0; }

.trust-strip {
  margin-top: 48px;
  background: var(--violet-dim); border: 1px solid var(--violet);
  padding: 36px 40px;
  display: flex; flex-direction: column; gap: 26px;
}
.trust-strip-lead { display: flex; align-items: flex-start; gap: 18px; }
.trust-strip-icon { width: 30px; height: 30px; color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.trust-strip-lead p { color: var(--paper-dim); font-size: 1.02rem; max-width: 58ch; }
.trust-strip-lead strong { color: var(--paper); }
.trust-strip-badges { display: flex; border-top: 1px solid rgba(238,236,245,0.14); padding-top: 24px; }
.trust-badge { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 24px; border-left: 1px solid rgba(238,236,245,0.14); }
.trust-badge:first-child { border-left: none; padding-left: 0; }
.trust-badge-icon { width: 22px; height: 22px; color: var(--amber); flex-shrink: 0; }
.trust-badge span { font-size: 0.78rem; letter-spacing: 0.03em; color: var(--paper-dim); }

/* ---------- reference gallery (floor 07) ---------- */
.ref-gallery { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.ref-item { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--ink); }
.ref-item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(0.15) contrast(1.02); transition: transform 0.5s var(--ease-lift), filter 0.5s ease, opacity 0.5s ease; }
.ref-item:hover img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }
.ref-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  font-size: 0.7rem; letter-spacing: 0.05em; color: var(--paper);
  background: linear-gradient(to top, rgba(10,11,18,0.88), rgba(10,11,18,0));
}

/* ---------- kontakt (floor 06) ---------- */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.kontakt-info h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 18px 0 8px; }

.spec-sheet { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; }
.spec-sheet div { display: flex; gap: 18px; font-size: 0.92rem; padding-bottom: 14px; border-bottom: 1px solid var(--steel-dim); }
.spec-sheet dt { color: var(--steel); width: 13ch; flex-shrink: 0; }
.spec-sheet dd { color: var(--paper); }
.spec-sheet dd a { color: var(--paper); border-bottom: 1px solid var(--steel-dim); }
.spec-sheet dd a:hover { color: var(--amber); border-color: var(--amber); }

.kontakt-form {
  background: var(--ink-panel);
  border: 1px solid var(--steel-dim);
  padding: 36px;
  display: flex; flex-direction: column; gap: 22px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-family: var(--font-mono); font-size: 0.76rem; color: var(--steel); letter-spacing: 0.06em; text-transform: uppercase; }
.form-row input, .form-row textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--steel-dim);
  padding: 8px 2px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.98rem;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--violet); }
.form-note { text-align: center; font-size: 0.86rem; color: var(--amber); min-height: 1.2em; }

/* ---------- music widget ---------- */
.music-widget {
  position: fixed; right: 24px; bottom: 24px; z-index: 150;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.music-toggle {
  width: 52px; height: 52px;
  background: var(--ink-panel);
  border: 1px solid var(--steel-dim);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; position: relative;
  transition: border-color 0.2s ease;
}
.music-toggle:hover { border-color: var(--amber); }
.music-icon { width: 20px; height: 20px; color: var(--paper-dim); }
.music-toggle:hover .music-icon { color: var(--paper); }
.music-toggle .lamp { position: absolute; top: 7px; right: 7px; }
.music-panel {
  width: min(300px, calc(100vw - 48px));
  background: var(--ink-panel);
  border: 1px solid var(--steel-dim);
  padding: 12px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.music-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
.music-panel iframe { display: block; border-radius: 2px; }
.music-caption { font-size: 0.7rem; letter-spacing: 0.06em; margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--steel-dim); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  padding: 28px 0;
  font-size: 0.8rem;
}
.footer-nav { display: flex; gap: 18px; }
.footer-nav a { color: var(--steel); }
.footer-nav a:hover { color: var(--amber); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  :root { --rail-w: 0px; }
  .floor-rail { display: none; }
  main { margin-left: 0; }
  .topbar-readout { display: flex; }
  .topbar-cta { display: none; }
  .hamburger { display: flex; }
  .lang-switch { display: none; }
  .lang-dropdown { display: block; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-shaft { max-width: 360px; }
  .spec-grid { grid-template-columns: 1fr; }
  .readout-strip { grid-template-columns: repeat(2, 1fr); }
  .kontakt-grid { grid-template-columns: 1fr; gap: 48px; }
  .manifest-row { grid-template-columns: 44px 34px 1fr; }
  .finish-picker { grid-template-columns: 1fr; gap: 32px; }
  .finish-preview { max-width: 360px; }
  .finish-preview-frame { height: auto; aspect-ratio: 3 / 4; }
  .finish-groups { height: auto; overflow-y: visible; padding-right: 0; }
  .offer-grid { grid-template-columns: 1fr; }
  .maintenance-alert { flex-direction: column; align-items: flex-start; gap: 14px; }
  .trust-strip-badges { flex-direction: column; gap: 18px; }
  .trust-badge { border-left: none; padding: 0; border-top: 1px solid rgba(238,236,245,0.14); padding-top: 18px; }
  .trust-badge:first-child { border-top: none; padding-top: 0; }
  .ref-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .topbar-inner { gap: 10px; padding: 0 16px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand span { font-size: 1.1rem; }
  .lang-dropdown-toggle { height: 36px; padding: 0 8px; gap: 6px; }
  .lang-dropdown-toggle .flag-icon { width: 22px; height: 15px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .floor { padding: 80px 0; }
  .readout-num { font-size: 2.1rem; }
  .readout { padding: 22px 18px; }
  .spec-sheet div { flex-direction: column; gap: 4px; }
  .swatch, .swatch-color { width: 50px; height: 50px; }
  .modal-body { padding: 24px; }
  .modal-body h3 { font-size: 1.4rem; }
}
