/* ==========================================================================
   Web Bauwerk — web-bauwerk.de
   K3 edytorski: czerń #0C0D10 / złamana biel #F5F3EE / bursztyn #F59E0B
   Space Grotesk (nagłówki) + Inter (tekst) + mono (detale rzemiosła)
   ========================================================================== */

/* ---------- Fonts (lokalne, variable) ---------- */
@font-face {
  font-family: "Space Grotesk";
  src: url("../assets/fonts/space-grotesk-var.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0C0D10;
  --ink-2: #14161B;
  --ink-3: #1D2026;
  --paper: #F5F3EE;
  --paper-2: #ECE8DF;
  --amber: #F59E0B;
  --amber-deep: #B45309;

  --tx-on-dark: #F5F3EE;
  --tx-on-dark-mut: rgba(245, 243, 238, 0.64);
  --tx-on-light: #0C0D10;
  --tx-on-light-mut: rgba(12, 13, 16, 0.66);

  --line-on-dark: rgba(245, 243, 238, 0.14);
  --line-on-light: rgba(12, 13, 16, 0.16);

  --font-head: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 72px);
  --sec-y: clamp(72px, 12vh, 148px);

  --ease: cubic-bezier(0.22, 0.9, 0.3, 1);
  --t-fast: 0.25s;
  --t-med: 0.55s;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--ink);
  color: var(--tx-on-dark);
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.6s var(--ease);
}
body.theme-light { background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 0.5em; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--amber); color: var(--ink); padding: 10px 18px;
  font-family: var(--font-head); text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ---------- Sekcje: rytm ciemne / jasne ---------- */
.sec { position: relative; padding: var(--sec-y) 0; }
.sec-dark { background: var(--ink); color: var(--tx-on-dark); }
.sec-dark.sec-alt { background: var(--ink-2); }
.sec-light { background: var(--paper); color: var(--tx-on-light); }

/* ziarno papieru na jasnych sekcjach (detal rzemiosła) */
.sec-light::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}
.sec-light > * { position: relative; z-index: 1; }

/* numeracja sekcji — mały monospace (detal rzemiosła) */
.sec-head { display: flex; align-items: baseline; gap: 1.25rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.sec-no {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em;
  color: var(--amber); white-space: nowrap;
}
.sec-no::after { content: ""; display: inline-block; width: 42px; height: 1px; background: currentColor; margin: 0 0 4px 12px; vertical-align: middle; opacity: 0.7; }
.sec-title { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0; max-width: 18ch; }
.sec-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; }
.sec-dark .sec-lead { color: var(--tx-on-dark-mut); }
.sec-light .sec-lead { color: var(--tx-on-light-mut); }

.mono-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; }
.hr-line { border: 0; height: 1px; margin: 0; }
.sec-dark .hr-line { background: var(--line-on-dark); }
.sec-light .hr-line { background: var(--line-on-light); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 0.95rem 1.7rem; min-height: 44px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform var(--t-fast) var(--ease), background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #FFB020; }
.btn-ghost-dark { border-color: var(--line-on-dark); color: var(--tx-on-dark); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--tx-on-dark); }
.btn-ghost-light { border-color: var(--line-on-light); color: var(--tx-on-light); background: transparent; }
.btn-ghost-light:hover { border-color: var(--tx-on-light); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Ikony (cienkie linearne) ---------- */
.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(12, 13, 16, 0.94); border-bottom-color: var(--line-on-dark); }
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--paper); }
.brand-mark { width: 62px; height: 27px; flex: none; }
.brand-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.14rem;
  letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1;
  border-left: 2px solid var(--amber); padding-left: 0.85rem;
}
.brand-dot { color: var(--amber); }

.site-nav ul { display: flex; gap: clamp(1rem, 2.5vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  font-family: var(--font-head); font-size: 0.98rem; text-decoration: none;
  color: var(--tx-on-dark-mut); padding: 6px 2px; position: relative;
}
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--paper); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--amber);
}
.site-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.6rem); }
.nav-cta { font-size: 1.02rem; padding: 0.75rem 1.4rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 12px; cursor: pointer;
  flex-direction: column; gap: 7px; z-index: 130;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--paper); transition: transform 0.3s var(--ease), opacity 0.3s; }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 0; z-index: 120;
    background: var(--ink);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 96px var(--pad) 48px; gap: 2.2rem;
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    visibility: hidden;
  }
  .site-nav.open { transform: translateX(0); visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0.4rem; counter-reset: navno; }
  .site-nav ul a:not(.btn) {
    font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 600; color: var(--paper);
    counter-increment: navno; display: inline-flex; align-items: baseline; gap: 0.9rem;
  }
  .site-nav ul a:not(.btn)::before {
    content: "0" counter(navno); font-family: var(--font-mono); font-size: 0.8rem; color: var(--amber);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
}

/* ==========================================================================
   01 HERO
   ========================================================================== */
.hero { padding: calc(72px + clamp(40px, 8vh, 96px)) 0 clamp(56px, 9vh, 110px); background: var(--ink); color: var(--tx-on-dark); position: relative; }
.hero-kicker { color: var(--amber); margin-bottom: 1.6rem; }
.hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 6rem);
  letter-spacing: -0.035em; line-height: 0.98;
  margin: 0 0 1.4rem; max-width: 15ch;
}
.hero h1 .h1-mut { color: var(--tx-on-dark-mut); }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--tx-on-dark-mut); max-width: 52ch; margin-bottom: 2.2rem; }
.hero-sub strong { color: var(--paper); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: clamp(3rem, 7vh, 5rem); }
.hero-cta .btn { font-size: 1.05rem; padding: 1.05rem 1.9rem; }
@media (max-width: 640px) { .hero-cta .btn { width: 100%; } }

/* --- Suwak przed/po — centralny element strony --- */
.ba { max-width: 1080px; margin: 0 auto; }
.ba-chrome {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink-3); border: 1px solid var(--line-on-dark); border-bottom: 0;
  padding: 10px 16px;
}
.ba-dots { display: flex; gap: 6px; }
.ba-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(245,243,238,0.22); }
.ba-url {
  flex: 1; text-align: center; font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--tx-on-dark-mut); background: rgba(0,0,0,0.3); padding: 4px 12px; margin: 0 8px;
  border-radius: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.ba-stage {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border: 1px solid var(--line-on-dark); user-select: none;
  container-type: inline-size; touch-action: pan-y;
  --pos: 50%;
}
@media (max-width: 560px) { .ba-stage { aspect-ratio: 4 / 3.4; } }
.ba-pane { position: absolute; inset: 0; overflow: hidden; }
.ba-new { clip-path: inset(0 0 0 var(--pos)); }
.ba-divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: var(--amber); z-index: 4; pointer-events: none;
}
.ba-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,0.45);
}
.ba-grip svg { width: 22px; height: 22px; }
.ba-range {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none;
}
.ba-range:focus-visible ~ .ba-divider .ba-grip { outline: 3px solid var(--paper); outline-offset: 2px; }
.ba-caption b { font-weight: 400; padding: 2px 7px; }
.ba-cap-old { background: rgba(245,243,238,0.12); color: var(--paper); }
.ba-cap-new { background: var(--amber); color: var(--ink); }
.ba-caption {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--tx-on-dark-mut);
  padding: 12px 4px 0; letter-spacing: 0.06em;
}
.ba-hint { text-align: center; margin-top: 1.4rem; color: var(--tx-on-dark-mut); font-size: 0.95rem; }

/* --- Lewa strona suwaka: strona z 2012 --- */
.old-site {
  position: absolute; inset: 0; background: #E7DFC9; color: #333;
  font-family: "Times New Roman", Times, serif; overflow: hidden;
  line-height: 1.35;
}
.old-band { background: #1F3A6E; color: #fff; padding: 2.2cqw 3cqw; display: flex; align-items: center; gap: 2.5cqw; }
.old-band svg { width: 7cqw; height: 7cqw; flex: none; }
.old-firm { font-size: 3.6cqw; font-weight: bold; font-style: italic; }
.old-firm small { display: block; font-size: 1.7cqw; font-style: normal; font-weight: normal; color: #C9D4EA; }
.old-nav { display: flex; gap: 0.8cqw; padding: 1.2cqw 3cqw; background: #CFC9B4; border-bottom: 2px solid #9E977E; }
.old-nav span {
  font-family: Verdana, Geneva, sans-serif; font-size: 1.55cqw; padding: 0.7cqw 1.6cqw;
  background: #E4DEC9; border: 2px outset #F5F0DC; color: #1F3A6E; white-space: nowrap;
}
.old-body { padding: 2.6cqw 3.4cqw; }
.old-welcome { text-align: center; color: #8B1A1A; font-size: 3.3cqw; font-weight: bold; text-decoration: underline; margin: 0 0 1.6cqw; }
.old-text { font-size: 1.9cqw; text-align: justify; margin: 0 0 1.4cqw; color: #444; }
.old-text a { color: #0000CC; }
.old-new { background: #FFF9C2; border: 1px dashed #B8A200; font-family: Verdana, sans-serif; font-size: 1.6cqw; padding: 0.9cqw 1.4cqw; margin: 0 0 1.6cqw; color: #6B5D00; }
.old-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 2cqw;
  background: #CFC9B4; border-top: 2px solid #9E977E; padding: 1.3cqw 3.4cqw;
  font-family: Verdana, sans-serif; font-size: 1.4cqw; color: #5C5744;
}
.old-counter { background: #000; color: #3CFF5E; font-family: var(--font-mono); padding: 0.5cqw 1.2cqw; letter-spacing: 0.18em; font-size: 1.5cqw; }

/* --- Prawa strona suwaka: strona w moim stylu --- */
.new-site {
  position: absolute; inset: 0; background: var(--ink); color: var(--paper);
  font-family: var(--font-body); overflow: hidden;
}
.new-head { display: flex; align-items: center; justify-content: space-between; padding: 2.2cqw 3.4cqw; border-bottom: 1px solid var(--line-on-dark); }
.new-logo { font-family: var(--font-head); font-weight: 700; font-size: 2.1cqw; letter-spacing: -0.02em; }
.new-logo i { color: var(--amber); font-style: normal; }
.new-nav { display: flex; gap: 2.6cqw; font-size: 1.45cqw; color: var(--tx-on-dark-mut); }
.new-pill { background: var(--amber); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.45cqw; padding: 0.8cqw 1.8cqw; }
.new-body { display: grid; grid-template-columns: 1.25fr 1fr; gap: 3cqw; padding: 4.2cqw 3.4cqw 0; align-items: start; }
.new-h {
  font-family: var(--font-head); font-weight: 600; font-size: 5.2cqw;
  line-height: 0.98; letter-spacing: -0.03em; margin: 0 0 1.8cqw;
}
.new-h i { color: var(--amber); font-style: normal; }
.new-sub { font-size: 1.7cqw; color: var(--tx-on-dark-mut); margin: 0 0 2.4cqw; max-width: 34cqw; line-height: 1.5; }
.new-stars { font-size: 1.6cqw; color: var(--amber); letter-spacing: 0.2em; margin-bottom: 2.4cqw; }
.new-stars b { color: var(--paper); letter-spacing: 0; font-weight: 600; margin-left: 0.8cqw; }
.new-ctas { display: flex; gap: 1.4cqw; }
.new-btn { font-family: var(--font-head); font-weight: 600; font-size: 1.7cqw; padding: 1.2cqw 2.4cqw; white-space: nowrap; }
.new-btn-a { background: var(--amber); color: var(--ink); }
.new-btn-g { border: 1px solid var(--line-on-dark); color: var(--paper); }
.new-photo {
  aspect-ratio: 4 / 4.4; background: var(--ink-3); border: 1px solid var(--line-on-dark);
  position: relative; overflow: hidden;
}
.new-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.new-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(12,13,16,0.78) 0%, rgba(12,13,16,0.15) 32%, rgba(12,13,16,0) 55%);
}
.new-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34%; height: 3px; background: var(--amber); z-index: 2; }
.new-photo span {
  position: absolute; left: 1.6cqw; bottom: 1.6cqw; z-index: 2;
  font-family: var(--font-mono); font-size: 1.15cqw; letter-spacing: 0.12em; color: var(--tx-on-dark-mut);
}
.new-foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 3cqw; padding: 1.6cqw 3.4cqw; border-top: 1px solid var(--line-on-dark);
  font-family: var(--font-mono); font-size: 1.25cqw; letter-spacing: 0.1em; color: var(--tx-on-dark-mut);
}
.new-foot i { color: var(--amber); font-style: normal; }
@media (max-width: 560px) {
  .new-nav { display: none; }
  .new-body { grid-template-columns: 1fr; }
  .new-photo { display: none; }
  .new-h { font-size: 7cqw; }
  .new-sub { font-size: 2.6cqw; max-width: none; }
  .new-btn { font-size: 2.6cqw; padding: 1.8cqw 3cqw; }
  .new-stars { font-size: 2.4cqw; }
  .new-logo { font-size: 3.2cqw; }
  .new-pill { font-size: 2.2cqw; padding: 1.2cqw 2.4cqw; }
  .new-foot { font-size: 2cqw; }
  .old-text { font-size: 2.8cqw; }
  .old-welcome { font-size: 4.6cqw; }
  .old-firm { font-size: 5cqw; }
  .old-firm small { font-size: 2.6cqw; }
  .old-nav span { font-size: 2.3cqw; }
  .old-new { font-size: 2.4cqw; }
  .old-foot { font-size: 2.1cqw; }
  .old-counter { font-size: 2.2cqw; }
  .old-band svg { width: 10cqw; height: 10cqw; }
}

/* ==========================================================================
   02 PASEK KONKRETÓW
   ========================================================================== */
.facts { padding: clamp(48px, 8vh, 88px) 0; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 0 clamp(1rem, 2.5vw, 2.5rem); border-left: 1px solid var(--line-on-light); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; }
.fact-num sup { font-size: 0.45em; font-weight: 600; }
.fact-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-on-light-mut); margin-top: 0.6rem; }
@media (max-width: 820px) {
  .facts-grid { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* ==========================================================================
   03 CO KOSZTUJE STARA STRONA — asymetryczny układ, wielkie liczby
   ========================================================================== */
.cost-row {
  display: grid; grid-template-columns: minmax(140px, 0.9fr) 2fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 5vh, 3.2rem) 0;
  border-top: 1px solid var(--line-on-dark);
  align-items: start;
}
.cost-row:last-of-type { border-bottom: 1px solid var(--line-on-dark); }
.cost-num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: 0.9; letter-spacing: -0.04em;
  color: var(--amber);
}
.cost-num small { font-size: 0.4em; font-weight: 600; }
.cost-body h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); margin-bottom: 0.5rem; }
.cost-body p { color: var(--tx-on-dark-mut); max-width: 58ch; margin: 0; }
.cost-src { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(245,243,238,0.4); margin-top: 0.8rem; }
@media (max-width: 640px) { .cost-row { grid-template-columns: 1fr; gap: 0.8rem; } }
.cost-punch { margin-top: clamp(2.5rem, 6vh, 4rem); font-family: var(--font-head); font-size: clamp(1.3rem, 2.8vw, 2rem); max-width: 30ch; }
.cost-punch em { font-style: normal; color: var(--amber); }

/* ==========================================================================
   Marquee — wolny pas fraz między sekcjami
   ========================================================================== */
.marquee {
  overflow: hidden; white-space: nowrap; background: var(--ink);
  border-top: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark);
  padding: 18px 0;
}
.marquee-track { display: inline-flex; animation: marquee 48s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-head); font-size: 1.05rem; color: var(--tx-on-dark-mut);
  padding: 0 1.4rem; display: inline-flex; align-items: center; gap: 2.8rem;
}
.marquee-track span::after { content: ""; width: 6px; height: 6px; background: var(--amber); display: inline-block; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   04 DOWODY WYDAJNOŚCI
   ========================================================================== */
.perf-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .perf-grid { grid-template-columns: 1fr; } }

.lh-big { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.4rem, 9vw, 7rem); line-height: 0.9; letter-spacing: -0.04em; margin-bottom: 0.6rem; }
.lh-big i { font-style: normal; color: var(--amber); }
.lh-sub { color: var(--tx-on-light-mut); max-width: 44ch; }
.lh-rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.8rem, 2vw, 1.6rem); margin: 2.2rem 0 0; }
.lh-ring { text-align: center; margin: 0; }
@media (max-width: 480px) { .lh-rings { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; } }
.lh-ring svg { width: 100%; max-width: 96px; margin: 0 auto; }
.lh-ring .ring-bg { stroke: var(--line-on-light); }
.lh-ring .ring-val { stroke: var(--ink); stroke-linecap: butt; transition: stroke-dashoffset 0.6s var(--ease); }
.lh-ring text { font-family: var(--font-head); font-weight: 700; font-size: 26px; fill: var(--ink); }
.lh-ring figcaption { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-on-light-mut); margin-top: 0.5rem; }

.weight { margin-top: 0.4rem; }
.weight h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.wbar { margin-bottom: 1.6rem; }
.wbar-label { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; margin-bottom: 0.5rem; color: var(--tx-on-light-mut); }
.wbar-label b { color: var(--ink); font-weight: 600; }
.wbar-track { height: 14px; background: rgba(12,13,16,0.08); border: 1px solid var(--line-on-light); }
.wbar-fill { height: 100%; width: 0; transition: width 0.6s var(--ease); }
.wbar-me .wbar-fill { background: var(--amber); }
.wbar-wp .wbar-fill { background: rgba(12,13,16,0.55); }
.perf-note { margin-top: 2rem; font-size: 1.02rem; }
.perf-note a { color: inherit; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.perf-note a:hover { color: var(--amber-deep); }
.perf-claim { font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.4rem); margin-top: 2.4rem; }

/* ==========================================================================
   05 PAKIETY
   ========================================================================== */
.packs { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.2rem, 2.5vw, 2rem); align-items: stretch; }
@media (max-width: 820px) { .packs { grid-template-columns: 1fr; } }
.pack { border: 1px solid var(--line-on-dark); padding: clamp(1.6rem, 3.5vw, 2.6rem); display: flex; flex-direction: column; position: relative; background: var(--ink); }
.pack-hot { border-color: var(--amber); background: var(--ink-2); }
.pack-flag {
  position: absolute; top: -1px; right: -1px;
  background: var(--amber); color: var(--ink);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px;
}
.pack h3 { font-size: 1.45rem; margin-bottom: 0.2rem; }
.pack-for { color: var(--tx-on-dark-mut); font-size: 0.95rem; margin-bottom: 1.4rem; }
.pack-price { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.3rem; }
.pack-price small { font-size: 0.38em; font-weight: 500; color: var(--tx-on-dark-mut); letter-spacing: 0; }
.pack-terms { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--tx-on-dark-mut); margin-bottom: 1.6rem; }
.pack ul { list-style: none; margin: 0 0 1.8rem; padding: 0; flex: 1; }
.pack li { padding: 0.55rem 0 0.55rem 1.7rem; position: relative; border-top: 1px solid var(--line-on-dark); font-size: 0.98rem; }
.pack li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 9px; height: 9px; background: var(--amber); }
.pack li.li-mut { color: var(--tx-on-dark-mut); }
.pack li.li-mut::before { background: var(--line-on-dark); }
.pack .btn { align-self: flex-start; }

.betreuung { margin-top: clamp(1.2rem, 2.5vw, 2rem); border: 1px solid var(--line-on-dark); display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
@media (max-width: 820px) { .betreuung { grid-template-columns: 1fr; } }
.bet-cell { padding: clamp(1.4rem, 3vw, 2.2rem); border-left: 1px solid var(--line-on-dark); }
.bet-cell:first-child { border-left: 0; }
@media (max-width: 820px) { .bet-cell { border-left: 0; border-top: 1px solid var(--line-on-dark); } .bet-cell:first-child { border-top: 0; } }
.bet-cell h3 { font-size: 1.3rem; }
.bet-cell h4 { font-size: 1.05rem; margin-bottom: 0.1rem; }
.bet-price { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; margin: 0.2rem 0 0.6rem; }
.bet-price small { font-size: 0.5em; font-weight: 500; color: var(--tx-on-dark-mut); }
.bet-cell p { color: var(--tx-on-dark-mut); font-size: 0.94rem; margin: 0; }
.bet-note { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--tx-on-dark-mut); margin-top: 0.8rem; display: block; }

.modules { margin-top: clamp(2.5rem, 5vh, 4rem); }
.module {
  display: grid; grid-template-columns: minmax(120px, 0.55fr) 2fr auto;
  gap: clamp(1rem, 3vw, 3rem); align-items: center;
  padding: clamp(1.4rem, 3vw, 2rem) 0; border-top: 1px solid var(--line-on-dark);
}
.module:last-child { border-bottom: 1px solid var(--line-on-dark); }
.module-price { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--amber); white-space: nowrap; }
.module h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.module p { color: var(--tx-on-dark-mut); margin: 0; max-width: 60ch; font-size: 0.98rem; }
.module .mono-label { color: var(--tx-on-dark-mut); }
@media (max-width: 700px) { .module { grid-template-columns: 1fr; gap: 0.5rem; } }
.tax-note { margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--tx-on-dark-mut); }

/* ==========================================================================
   06 PROCES — pionowa oś, krok 3 wyróżniony
   ========================================================================== */
.steps { list-style: none; margin: 0; padding: 0; max-width: 780px; counter-reset: step; }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 84px 1fr; gap: clamp(1.2rem, 3vw, 2.4rem);
  padding: clamp(1.6rem, 3.5vh, 2.4rem) 0; border-top: 1px solid var(--line-on-light);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line-on-light); }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-mono); font-size: 1rem; letter-spacing: 0.1em;
  color: var(--tx-on-light-mut); padding-top: 0.35rem;
}
.step h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-bottom: 0.4rem; }
.step p { color: var(--tx-on-light-mut); margin: 0; max-width: 56ch; }
.step-hot::before { color: var(--amber); font-weight: 700; }
.step-hot h3 em { font-style: normal; box-shadow: inset 0 -0.35em 0 rgba(245, 158, 11, 0.35); }
.step-time { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-on-light-mut); margin-top: 0.7rem; }
@media (max-width: 560px) { .step { grid-template-columns: 48px 1fr; } }

/* ==========================================================================
   07 WEBSITE-CHECK — formularz-konwersja
   ========================================================================== */
.check-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .check-grid { grid-template-columns: 1fr; } }
.check-copy h2 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); max-width: 14ch; }
.check-copy .free { color: var(--amber); }
.check-points { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.check-points li { display: flex; gap: 0.9rem; padding: 0.65rem 0; color: var(--tx-on-dark-mut); align-items: baseline; }
.check-points li b { color: var(--paper); font-weight: 600; }
.check-points .icon { width: 18px; height: 18px; flex: none; transform: translateY(2px); color: var(--amber); }

.form { display: grid; gap: 1.1rem; }
.form-field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; color: var(--tx-on-dark-mut); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 52px; padding: 0.85rem 1rem;
  background: var(--ink-2); border: 1px solid var(--line-on-dark); color: var(--paper);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color var(--t-fast);
}
.sec-light .form-field input, .sec-light .form-field select, .sec-light .form-field textarea {
  background: #fff; border-color: var(--line-on-light); color: var(--ink);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--amber); }
.form .btn { justify-self: start; font-size: 1.05rem; padding: 1.05rem 2rem; }
.form-note { font-size: 0.85rem; color: var(--tx-on-dark-mut); margin: 0; }
.sec-light .form-note { color: var(--tx-on-light-mut); }
.sec-light .form-field label { color: var(--tx-on-light-mut); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line-on-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-on-light); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 2vw, 1.3rem);
  padding: 1.3rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.4rem; color: var(--amber);
  flex: none; transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--tx-on-light-mut); margin: 0 0 1.4rem; max-width: 64ch; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--tx-on-dark); padding: clamp(56px, 9vh, 96px) 0 110px; border-top: 1px solid var(--line-on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-claim { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2rem); max-width: 18ch; margin: 1rem 0 1.6rem; }
.site-footer h4 { font-size: 0.9rem; font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-on-dark-mut); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: var(--tx-on-dark-mut); text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.footer-bottom {
  margin-top: clamp(2.5rem, 6vh, 4rem); padding-top: 1.6rem; border-top: 1px solid var(--line-on-dark);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  font-size: 0.85rem; color: var(--tx-on-dark-mut);
}
.footer-regio { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; line-height: 2; }

/* ---------- Sticky mobile bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-on-dark);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 56px; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  text-decoration: none;
}
.mobile-bar .mb-wa { background: var(--amber); color: var(--ink); }
.mobile-bar .mb-check { background: var(--ink); color: var(--paper); }
.mobile-bar svg { width: 20px; height: 20px; }
@media (max-width: 820px) { .mobile-bar { display: grid; } .site-footer { padding-bottom: 140px; } }

/* ---------- WhatsApp float (desktop) ---------- */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--amber); color: var(--ink);
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  transition: transform var(--t-fast) var(--ease);
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); animation-play-state: paused; }
.wa-float svg { width: 29px; height: 29px; }
.wa-float::after {
  content: ""; position: absolute; top: 2px; right: 2px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #E1306C; border: 2px solid var(--ink);
}
@media (min-width: 821px) { .wa-float { display: flex; } }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(0,0,0,0.35), 0 0 0 0 rgba(245,158,11,0.55); }
  50% { box-shadow: 0 6px 24px rgba(0,0,0,0.35), 0 0 0 10px rgba(245,158,11,0); }
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 110;
  max-width: 380px; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-on-light); padding: 1.3rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  display: none;
}
.cookie.show { display: block; }
.cookie p { font-size: 0.88rem; margin: 0 0 1rem; }
.cookie a { color: inherit; }
.cookie-actions { display: flex; gap: 0.6rem; }
.cookie-actions .btn { font-size: 0.88rem; padding: 0.6rem 1.1rem; min-height: 40px; }
@media (max-width: 560px) { .cookie { left: 12px; right: 12px; bottom: 72px; max-width: none; } }

/* ==========================================================================
   Podstrony
   ========================================================================== */
.page-hero { padding: calc(72px + clamp(48px, 9vh, 110px)) 0 clamp(48px, 8vh, 90px); background: var(--ink); }
.page-hero h1 { font-size: clamp(2.4rem, 6.5vw, 5rem); max-width: 16ch; margin-bottom: 1rem; }
.page-hero .sec-lead { color: var(--tx-on-dark-mut); }
.breadcrumb { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--tx-on-dark-mut); margin-bottom: 2rem; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--amber); }

/* --- Leistungen --- */
.svc {
  display: grid; grid-template-columns: minmax(90px, 0.4fr) 1.6fr 1fr;
  gap: clamp(1.2rem, 3.5vw, 3.5rem);
  padding: clamp(2.2rem, 5vh, 3.4rem) 0; border-top: 1px solid var(--line-on-light);
}
.svc:last-of-type { border-bottom: 1px solid var(--line-on-light); }
.svc-no { font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.12em; color: var(--amber); }
.svc h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.7rem; }
.svc-body p { color: var(--tx-on-light-mut); max-width: 62ch; }
.svc-side { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em; line-height: 2.1; color: var(--tx-on-light-mut); }
.svc-side b { color: var(--ink); font-weight: 600; display: block; font-size: 1.35rem; font-family: var(--font-head); letter-spacing: -0.02em; margin-bottom: 0.2rem; }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; gap: 0.6rem; } }

/* --- Referenzen --- */
.case { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } }
.frame { border: 1px solid var(--line-on-dark); background: var(--ink-3); }
.sec-light .frame { border-color: var(--line-on-light); background: #fff; }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-bottom: 1px solid var(--line-on-dark); }
.sec-light .frame-bar { border-bottom-color: var(--line-on-light); }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(128,128,128,0.35); }
.frame-bar span { flex: 1; text-align: center; font-family: var(--font-mono); font-size: 0.7rem; color: var(--tx-on-light-mut); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sec-dark .frame-bar span { color: var(--tx-on-dark-mut); }
.frame img { width: 100%; height: auto; }
.case-shots { position: relative; }
.case-phone {
  position: absolute; right: -12px; bottom: -32px; width: clamp(120px, 22%, 180px);
  border: 1px solid var(--line-on-dark); background: var(--ink);
  border-radius: 18px; overflow: hidden; box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.case-phone img { width: 100%; height: auto; }
.case-meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--tx-on-dark-mut); margin-bottom: 1rem; }
.case h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.case-facts { list-style: none; padding: 0; margin: 1.6rem 0; }
.case-facts li { border-top: 1px solid var(--line-on-dark); padding: 0.7rem 0; display: flex; justify-content: space-between; gap: 1.5rem; font-size: 0.95rem; }
.case-facts li:last-child { border-bottom: 1px solid var(--line-on-dark); }
.case-facts li b { font-family: var(--font-head); white-space: nowrap; }
.case-facts li span { color: var(--tx-on-dark-mut); text-align: right; }

.refs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.refs-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 780px; }
@media (max-width: 960px) { .refs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .refs-grid { grid-template-columns: 1fr; } }
.ref-card { text-decoration: none; color: inherit; display: block; }
.ref-card .frame { transition: transform var(--t-fast) var(--ease), border-color var(--t-fast); overflow: hidden; }
.ref-card:hover .frame { transform: translateY(-4px); border-color: var(--amber); }
.ref-card img { transition: transform 0.5s var(--ease); }
.ref-card:hover img { transform: scale(1.03); }
.ref-title { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin: 0.9rem 0 0.15rem; }
.ref-sub { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-on-light-mut); }
.ref-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--line-on-light); padding: 3px 8px; margin-left: 0.6rem; color: var(--tx-on-light-mut);
}

.honest {
  border: 1px solid var(--amber); padding: clamp(1.8rem, 4vw, 3rem);
  max-width: 880px; margin: 0 auto; position: relative; background: var(--ink-2);
}
.honest .mono-label { color: var(--amber); }
.honest h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0.8rem 0 1.2rem; max-width: 24ch; }
.honest p { color: var(--tx-on-dark-mut); max-width: 64ch; }
.honest p b { color: var(--paper); font-weight: 600; }

/* --- Über mich --- */
.about-grid { display: grid; grid-template-columns: minmax(260px, 0.85fr) 1.3fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.about-photo { aspect-ratio: 4 / 5; background: var(--ink-3); border: 1px solid var(--line-on-dark); position: relative; overflow: hidden; }
.sec-light .about-photo { background: var(--paper-2); border-color: var(--line-on-light); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .ph-note {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--tx-on-light-mut);
  text-align: center; padding: 1rem;
}
.about-photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30%; height: 3px; background: var(--amber); }
.about-body .big-quote { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 1.6rem; }
.about-body p { color: var(--tx-on-light-mut); max-width: 60ch; }
.about-body p strong { color: var(--ink); }
.about-facts { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.5rem, 4vw, 3.5rem); justify-content: start; margin: 2.4rem 0; }
@media (max-width: 560px) { .about-facts { grid-template-columns: 1fr 1fr; } }

/* --- Kontakt --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.wa-card { border: 1px solid var(--amber); padding: clamp(1.6rem, 3.5vw, 2.4rem); background: var(--ink-2); }
.wa-card h2 { font-size: 1.6rem; }
.wa-card p { color: var(--tx-on-dark-mut); }
.wa-qr { display: flex; gap: 1.4rem; align-items: center; margin-top: 1.6rem; }
.wa-qr-box {
  width: 128px; height: 128px; flex: none; background: var(--paper); color: var(--ink);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.08em; padding: 10px;
}
.wa-qr-box img { width: 100%; height: 100%; }
.wa-qr p { font-size: 0.88rem; margin: 0; }
@media (max-width: 560px) { .wa-qr { display: none; } }
.contact-alt { margin-top: 1.8rem; }
.contact-alt li { border-top: 1px solid var(--line-on-dark); padding: 0.85rem 0; display: flex; gap: 1rem; align-items: baseline; }
.contact-alt { list-style: none; padding: 0; }
.contact-alt .mono-label { color: var(--tx-on-dark-mut); width: 92px; flex: none; }
.contact-alt a { color: var(--paper); text-decoration-color: var(--amber); text-underline-offset: 4px; }

/* --- Impressum / Datenschutz / 404 --- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.5rem; margin-top: 2.4em; }
.legal p, .legal li { color: var(--tx-on-light-mut); }
.legal a { text-decoration-color: var(--amber); text-underline-offset: 3px; }

.err-page { min-height: 72vh; display: flex; align-items: center; }
.err-code { font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 22vw, 16rem); line-height: 0.85; letter-spacing: -0.05em; color: var(--amber); margin: 0; }
.err-page h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 1rem 0 0.6rem; }
.err-page p { color: var(--tx-on-dark-mut); max-width: 44ch; }

/* --- CTA końcowe (podstrony) --- */
.cta-final { text-align: left; }
.cta-final h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; }
.cta-final p { color: var(--tx-on-dark-mut); max-width: 50ch; }
.cta-final .hero-cta { margin-bottom: 0; margin-top: 2rem; }

/* ==========================================================================
   Animacje wejścia (IntersectionObserver dodaje .in)
   ========================================================================== */
.rv { opacity: 0; transform: translateY(24px); transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
.rv-d4 { transition-delay: 0.32s; }

/* nagłówki: linie wjeżdżające (clip-path reveal) */
.clip-line { display: block; overflow: hidden; }
.clip-line > span { display: block; transform: translateY(110%); transition: transform 0.6s var(--ease); }
.in .clip-line > span, .clip-line.in > span { transform: none; }
.clip-line:nth-child(2) > span { transition-delay: 0.1s; }
.clip-line:nth-child(3) > span { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv, .clip-line > span { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .btn, .ref-card .frame, .ref-card img, .wa-float { transition: none; }
  .wa-float { animation: none; }
  .lh-ring .ring-val, .wbar-fill { transition: none; }
  body { transition: none; }
}
