@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --ink: #171615;
  --graphite: #242424;
  --graphite-2: #30302d;
  --plaster: #f5f1e8;
  --paper: #fbfaf6;
  --cream: #ede5d2;
  --stone: #d8d0c2;
  --line: rgba(23, 22, 21, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --copper: #a45d38;
  --copper-2: #c88752;
  --moss: #536155;
  --moss-deep: #2d3a30;
  --white: #ffffff;
  --muted: #6f6a61;
  --shadow: 0 24px 70px rgba(20, 18, 15, 0.18);
  --shadow-deep: 0 30px 80px rgba(20, 18, 15, 0.22);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Manrope", "Inter Tight", Optima, Candara, "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(23, 22, 21, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 22, 21, 0.028) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.brand img {
  width: 188px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  place-items: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.nav-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::before {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-2px) rotate(-90deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 4px;
  color: #3f3c36;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(164, 93, 56, 0.11);
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn,
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 760;
  line-height: 1.1;
  min-height: 44px;
  text-align: center;
}

.btn {
  padding: 14px 18px;
  font-size: 15px;
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(164, 93, 56, 0.24);
}

.btn-primary:hover {
  background: #8f4c2d;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.btn-light:hover {
  border-color: rgba(164, 93, 56, 0.42);
}

.mini-btn {
  padding: 10px 13px;
  font-size: 14px;
  background: var(--ink);
  color: var(--white);
}

.hero {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(200, 135, 82, 0.18), transparent 30%),
    var(--ink);
  background-size: 54px 54px, 54px 54px, auto, auto;
  color: var(--white);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 46px;
  align-items: center;
  padding: 64px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f0d8bd;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--copper-2);
}

.hero-logo {
  width: 290px;
  margin-bottom: 34px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 720px;
  margin-top: 18px;
  font-family: var(--display);
  font-size: 68px;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 96;
}

.lead {
  max-width: 640px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 680px;
  margin-top: 44px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.hero-proof span {
  min-height: 92px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.hero-proof strong {
  display: block;
  margin-bottom: 5px;
  color: var(--white);
  font-size: 16px;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  border-left: 1px solid var(--line-dark);
}

.hero-photo {
  position: absolute;
  inset: 22px 0 70px 40px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(23, 22, 21, 0.48), transparent 52%),
    linear-gradient(0deg, rgba(23, 22, 21, 0.42), transparent 40%);
}

.measurement {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 76%;
  min-height: 176px;
  padding: 24px;
  background: var(--plaster);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.measurement::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 22px;
  width: 86px;
  height: 86px;
  background: url("logo-symbol-color.svg") center/contain no-repeat;
  opacity: 0.18;
}

.measurement b {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.measurement p {
  max-width: 360px;
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--plaster);
}

.section.dark {
  background: var(--graphite);
  color: var(--white);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 42px;
}

.section-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
}

h2 {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.014em;
  font-variation-settings: "opsz" 60;
}

h3 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 28;
}

.section-head p,
.rich p {
  color: var(--muted);
  font-size: 18px;
}

.dark .section-head p,
.dark .rich p {
  color: rgba(255, 255, 255, 0.72);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eee7dc;
}

.trust-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 108px;
  padding: 24px 20px;
  border-left: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.service-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 220px 1fr 150px;
  gap: 26px;
  align-items: center;
  padding: 28px;
  background: var(--paper);
}

.service-row:hover {
  background: #fffdf8;
}

.service-index {
  color: var(--copper);
  font-weight: 820;
}

.service-row p {
  color: var(--muted);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--ink);
  font-weight: 790;
}

.arrow-link::after {
  content: ">";
  color: var(--copper);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.material-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.material-tile {
  min-height: 164px;
  padding: 20px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  position: relative;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 18px),
    var(--graphite);
}

.material-tile:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    var(--moss);
}

.material-tile:nth-child(3) {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.11) 0 2px, transparent 2px 16px),
    #80634c;
}

.material-tile:nth-child(4) {
  background:
    linear-gradient(90deg, rgba(164, 93, 56, 0.24), transparent),
    #35312c;
}

.material-tile strong {
  position: relative;
  z-index: 1;
  max-width: 190px;
  font-size: 18px;
}

.process {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}

.process-step {
  min-height: 250px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.055);
  counter-increment: step;
}

.process-step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 38px;
  color: var(--copper-2);
  font-family: var(--display);
  font-size: 52px;
  line-height: 1;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
}

.process-step p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.reference-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.reference-item {
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.reference-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background:
    linear-gradient(135deg, rgba(164, 93, 56, 0.22), transparent 45%),
    repeating-linear-gradient(90deg, rgba(23, 22, 21, 0.18) 0 1px, transparent 1px 22px);
}

.reference-item:nth-child(2)::before {
  background:
    linear-gradient(135deg, rgba(83, 97, 85, 0.28), transparent 52%),
    repeating-linear-gradient(0deg, rgba(23, 22, 21, 0.15) 0 1px, transparent 1px 18px);
}

.reference-item:nth-child(3)::before {
  background:
    linear-gradient(135deg, rgba(128, 99, 76, 0.3), transparent 52%),
    repeating-linear-gradient(45deg, rgba(23, 22, 21, 0.14) 0 2px, transparent 2px 18px);
}

.reference-item h3,
.reference-item p,
.reference-item span {
  position: relative;
  z-index: 1;
}

.reference-item span {
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 9px;
  background: rgba(23, 22, 21, 0.86);
  color: var(--white);
  font-size: 12px;
  font-weight: 760;
}

.reference-item p {
  margin-top: 8px;
  color: var(--muted);
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.area-box {
  min-height: 220px;
  padding: 28px;
  background: var(--paper);
}

.area-box strong {
  display: block;
  margin-bottom: 14px;
  font-size: 20px;
}

.area-box p {
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--line);
  background: var(--paper);
}

.faq summary {
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 800;
}

.faq details p {
  padding: 0 22px 22px;
  color: var(--muted);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  background: var(--ink);
  color: var(--white);
}

.cta-panel p {
  max-width: 660px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 84px 0 72px;
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 42px;
  align-items: end;
}

.page-hero h1 {
  margin-top: 14px;
  font-size: 60px;
  font-variation-settings: "opsz" 80;
}

.breadcrumbs {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.scope-item {
  min-height: 210px;
  padding: 24px;
  background: var(--paper);
}

.scope-item p {
  margin-top: 10px;
  color: var(--muted);
}

.two-col-text {
  columns: 2;
  column-gap: 52px;
}

.two-col-text p {
  margin-bottom: 18px;
  color: var(--muted);
  break-inside: avoid;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 34px;
  align-items: start;
}

.form {
  display: grid;
  gap: 14px;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(23, 22, 21, 0.18);
  border-radius: 4px;
  background: #fffdf8;
  padding: 12px 13px;
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.contact-facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-facts a,
.contact-facts div {
  display: block;
  padding: 22px;
  background: var(--plaster);
}

.contact-facts span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
  text-transform: uppercase;
}

.contact-facts strong {
  display: block;
  margin-top: 5px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.legal {
  max-width: 840px;
}

.legal h2 {
  margin-top: 42px;
  margin-bottom: 14px;
  font-size: 32px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 20px;
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 54px 0 30px;
}

.footer-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 0.7fr);
  gap: 32px;
}

.footer-logo {
  width: 218px;
  margin-bottom: 20px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 15px;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 40px));
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
}

.mobile-contact {
  display: none;
}

@media (max-width: 1060px) {
  .nav {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    z-index: 70;
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    margin-left: auto;
  }

  .hero-inner,
  .split,
  .page-hero .wrap,
  .contact-layout,
  .section-head {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 56px 0 64px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .process {
    grid-template-columns: 1fr 1fr;
  }

  .reference-grid,
  .scope-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-row {
    grid-template-columns: 170px 1fr;
  }

  .service-row .arrow-link {
    justify-content: flex-start;
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 72px;
  }

  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 164px;
  }

  .wrap,
  .hero-inner,
  .trust-grid,
  .footer-grid {
    width: min(var(--max), calc(100% - 28px));
  }

  h1,
  .page-hero h1 {
    font-size: 42px;
    line-height: 1.02;
    font-variation-settings: "opsz" 60;
  }

  h2 {
    font-size: 34px;
    font-variation-settings: "opsz" 36;
  }

  .process-step::before {
    font-size: 40px;
    margin-bottom: 22px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-inner {
    padding: 38px 0 46px;
  }

  .hero-logo {
    display: none;
  }

  .hero-proof {
    display: none;
  }

  .trust-grid,
  .process,
  .reference-grid,
  .scope-grid,
  .area-grid,
  .material-board,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    inset: 0 0 82px 0;
  }

  .hero-visual {
    min-height: 350px;
    border-left: 0;
    margin-top: 16px;
  }

  .measurement {
    width: calc(100% - 28px);
    right: 14px;
    min-height: 128px;
    padding: 18px;
  }

  .section,
  .page-hero {
    padding: 64px 0;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }

  .service-row .arrow-link {
    grid-column: auto;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .two-col-text {
    columns: 1;
  }

  .mobile-contact {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line-dark);
    background: var(--ink);
  }

  .mobile-contact a {
    min-height: 58px;
    display: grid;
    place-items: center;
    color: var(--white);
    font-weight: 820;
  }

  .mobile-contact a + a {
    border-left: 1px solid var(--line-dark);
    background: var(--copper);
  }
}

/* ---------- v4 mobile hardening 06.08.2026 ---------- */
@media (max-width: 720px) {
  html, body { overflow-x: hidden; }

  .hero-inner h1,
  .page-hero h1 {
    font-size: clamp(34px, 9.4vw, 46px);
    line-height: 1.04;
    letter-spacing: -0.02em;
  }

  .section-head h2 { font-size: 26px; line-height: 1.2; }
  .lead { font-size: 17px; line-height: 1.55; }

  .hero-visual { min-height: 420px; }
  .hero-photo img { width: 100%; height: 100%; object-fit: cover; }

  /* obrazy na pelna szerokosc ekranu, bez marginesow bocznych */
  .service-hero-photo .photo-frame,
  .ablauf-bg-photo,
  .trust-bg-photo {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }

  .photo-frame { aspect-ratio: 4 / 3; overflow: hidden; }
  .photo-frame img,
  .area-photo img,
  .reference-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

  .area-photo { aspect-ratio: 4 / 3; overflow: hidden; }

  section.section { padding-top: 42px; padding-bottom: 42px; }

  .btn, .mini-btn {
    min-height: 54px;
    padding-left: 22px;
    padding-right: 22px;
    font-size: 16px;
  }

  .nav-toggle { width: 48px; height: 48px; }
  .nav-links a { padding: 16px 12px; font-size: 16px; }
}

/* ---------- v4 plywajacy przycisk WhatsApp 06.08.2026 ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #0b3d20;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15, 60, 32, 0.28);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.wa-float:hover,
.wa-float:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(15, 60, 32, 0.34);
}
.wa-float svg { width: 26px; height: 26px; flex: 0 0 26px; }

@media (max-width: 720px) {
  .wa-float {
    right: 14px;
    bottom: 86px;
    padding: 14px;
    gap: 0;
  }
  .wa-float .wa-label { display: none; }
  .wa-float svg { width: 28px; height: 28px; flex-basis: 28px; }
}

@media print { .wa-float { display: none; } }

/* ---------- production layouts migrated from the former launch stylesheet ---------- */
.service-hero-photo {
  position: relative;
  max-width: 1280px;
  margin: 0 auto 56px;
  padding: 0 24px;
}

.service-hero-photo .photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 2px;
  background: #1a1a1a;
  box-shadow: 0 30px 80px rgba(20, 18, 15, 0.18);
}

.service-hero-photo .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trust-strip {
  position: relative;
  overflow: hidden;
}

.trust-strip .trust-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.trust-strip .trust-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: contrast(1.05) saturate(0.78);
}

.trust-strip .trust-grid {
  position: relative;
  z-index: 1;
}

.section.dark.with-bg {
  position: relative;
  overflow: hidden;
}

.section.dark .ablauf-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
}

.section.dark .ablauf-bg-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.85);
}

.section.dark .wrap {
  position: relative;
  z-index: 1;
}

.reference-item.with-slot {
  min-height: 340px;
  padding: 0;
}

.reference-item.with-slot::before {
  display: none;
}

.reference-item.with-slot .slot-copy {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  padding: 16px;
  background: rgba(20, 18, 15, 0.84);
  color: #fff;
}

.reference-item.with-slot .slot-copy span {
  margin-bottom: 9px;
  color: #f0d8bd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-item.with-slot .slot-copy p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.area-with-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 28px;
}

.area-with-photo .area-photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 2px;
}

.area-with-photo .area-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.area-with-photo .area-photo .photo-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #fff;
  z-index: 2;
}

.area-with-photo .area-photo .photo-caption::before {
  content: "";
  position: absolute;
  inset: -18px;
  background: linear-gradient(0deg, rgba(20, 18, 15, 0.62), transparent 65%);
  z-index: -1;
}

.area-with-photo .area-photo .photo-caption strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}

.area-with-photo .area-photo .photo-caption span {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

.measurement {
  font-family: "Fraunces", Georgia, serif;
  border: none;
  border-left: 3px solid var(--copper, #a45d38);
}

.measurement b {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.measurement p {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 400;
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 4px;
  color: #3f3c36;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
  cursor: pointer;
}

.nav-dropdown .dropdown-toggle:hover,
.nav-dropdown .dropdown-toggle.is-active,
.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown:focus-within .dropdown-toggle {
  background: rgba(164, 93, 56, 0.11);
  color: #171615;
}

.nav-dropdown .caret {
  font-size: 10px;
  line-height: 1;
  margin-top: 2px;
  color: #a45d38;
  transition: transform 200ms ease;
}

.nav-dropdown:hover .caret,
.nav-dropdown:focus-within .caret {
  transform: rotate(180deg);
}

.nav-dropdown .dropdown-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 320px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #fbfaf6;
  border: 1px solid rgba(23, 22, 21, 0.14);
  box-shadow: 0 30px 80px rgba(20, 18, 15, 0.22);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
  z-index: 60;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 0s;
}

.nav-dropdown .dropdown-panel a {
  padding: 12px 14px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  color: #3f3c36;
  white-space: nowrap;
  letter-spacing: -0.005em;
}

.nav-dropdown .dropdown-panel a:hover,
.nav-dropdown .dropdown-panel a.is-active {
  background: rgba(164, 93, 56, 0.11);
  color: #171615;
}

.nav-dropdown .dropdown-panel a.is-active {
  position: relative;
}

.nav-dropdown .dropdown-panel a.is-active::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  background: #a45d38;
  border-radius: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 130ms; }
.reveal[data-delay="3"] { transition-delay: 220ms; }
.reveal[data-delay="4"] { transition-delay: 310ms; }
.reveal[data-delay="5"] { transition-delay: 410ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1060px) {
  .nav-dropdown {
    display: block;
    width: 100%;
  }

  .nav-dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid rgba(23, 22, 21, 0.14);
  }

  .nav-dropdown .caret {
    display: none;
  }

  .nav-dropdown .dropdown-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: block;
    min-width: auto;
    padding: 6px 0 6px 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: none;
  }

  .nav-dropdown .dropdown-panel a {
    padding: 12px;
    border-bottom: 1px solid rgba(23, 22, 21, 0.06);
  }

  .nav-dropdown .dropdown-panel a:last-child {
    border-bottom: 0;
  }

  .area-with-photo {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .area-with-photo .area-photo {
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .service-hero-photo {
    margin-bottom: 36px;
    padding: 0 14px;
  }

  .service-hero-photo .photo-frame {
    aspect-ratio: 4 / 3;
  }

  .area-with-photo .area-photo {
    min-height: 220px;
  }
}

/* ---------- Kontaktformulare 12.08.2026 ---------- */
.form-intro {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.form-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
}

.form-consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--copper);
}

.form-consent a,
.form-intro a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form input:focus-visible,
.form textarea:focus-visible,
.form button:focus-visible,
.form-consent a:focus-visible {
  outline: 3px solid rgba(164, 93, 56, 0.34);
  outline-offset: 2px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 720px) {
  .form {
    padding: 22px;
  }

  .form-actions .btn {
    width: 100%;
  }
}

/* ===== v3 Flagship additions (2026-08-14) ===== */
select,
input[type="file"] {
  width: 100%;
  font: inherit;
  color: var(--ink);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23171615' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  padding: 12px 40px 12px 14px;
  min-height: 48px;
}
.field input[type="file"] {
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 12px 14px;
}
.field input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 8px;
  background: var(--plaster);
  color: var(--ink);
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 8px 16px;
  font-size: 14px;
}
.rating-badge .stars {
  color: var(--copper);
  letter-spacing: 2px;
  font-size: 15px;
}
.rating-badge strong { font-weight: 800; }
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.before-after figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.before-after img { width: 100%; height: 100%; object-fit: cover; }
.before-after figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(23, 22, 21, 0.82);
  color: var(--plaster);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 6px 14px;
}
@media (max-width: 640px) {
  .before-after { grid-template-columns: 1fr; }
}
.district-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.district-grid a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 14px 16px;
  font-weight: 700;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.district-grid a span {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}
.district-grid a:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}
@media (max-width: 900px) { .district-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .district-grid { grid-template-columns: 1fr; } }
.tiktok-band {
  border-radius: 18px;
  background: linear-gradient(120deg, var(--graphite), var(--moss-deep));
  color: var(--plaster);
  padding: 34px 30px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}
.tiktok-band h2, .tiktok-band h3 { color: var(--white); margin-top: 0; }
.tiktok-band p { color: rgba(245, 241, 232, 0.85); }
@media (max-width: 760px) { .tiktok-band { grid-template-columns: 1fr; } }
.steckbrief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.steckbrief div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 14px 16px;
}
.steckbrief span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.steckbrief strong { font-size: 15px; }
@media (max-width: 560px) { .steckbrief { grid-template-columns: 1fr; } }
.form .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 640px) { .form .form-grid-2 { grid-template-columns: 1fr; } }
.danke-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--moss);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 18px;
}
/* Nav compression for mid-size desktops (7 items + dropdowns) */
@media (min-width: 1061px) and (max-width: 1460px) {
  .nav-links a { font-size: 13.5px; padding: 9px 8px; }
  .nav-links { gap: 2px; }
  .brand img { width: 150px; height: auto; }
  .nav-actions .mini-btn { padding: 9px 14px; font-size: 13.5px; }
}
/* Long URLs in legal texts must wrap on small screens */
.legal a { overflow-wrap: anywhere; }
/* Logos: height follows intrinsic SVG ratio, not the height attribute */
.hero-logo, .footer-logo, .brand img { height: auto; }
.page-hero .rating-badge { margin-top: 16px; }

/* ===== Motion layer (motion.js) 2026-08-14 - techniki klasy Framer, zero bibliotek ===== */
/* Stany startowe TYLKO pod html.mo (dodaje motion.js). Bez JS strona jest w pelni widoczna. */

html.mo [data-mo] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--mo-delay, 0ms),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1) var(--mo-delay, 0ms);
  will-change: opacity, transform;
}

html.mo [data-mo].mo-in {
  opacity: 1;
  transform: translateY(0);
}

/* Kaskada hero przy wejsciu na strone (Marschfahrt appear: translateY + opacity) */
html.mo .mo-intro {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--mo-delay, 0ms),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--mo-delay, 0ms);
}

html.mo.mo-loaded .mo-intro {
  opacity: 1;
  transform: translateY(0);
}

/* Ken burns / zoom-out reveal zdjecia hero (u Marschfahrt: scale(1.2) -> 1) */
@keyframes mo-kenburns {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}

html.mo .mo-kenburns {
  animation: mo-kenburns 7s cubic-bezier(0.23, 1, 0.32, 1) both;
}

/* Parallax tel fotograficznych: natywne CSS scroll-driven animations */
@supports (animation-timeline: view()) {
  html.mo .mo-parallax-css {
    scale: 1.15;
    animation: mo-parallax linear both;
    animation-timeline: view();
  }

  @keyframes mo-parallax {
    from { translate: 0 6%; }
    to { translate: 0 -6%; }
  }
}

/* Fallback rAF (motion.js ustawia transform recznie) */
html.mo .mo-parallax-js {
  will-change: transform;
}

/* Hover-lift kart - tylko urzadzenia z prawdziwym hoverem */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .area-box,
  .scope-item,
  .reference-item,
  .contact-facts a,
  .steckbrief div,
  .before-after figure {
    transition: transform 380ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 380ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  a.area-box:hover,
  a.scope-item:hover,
  a.reference-item:hover,
  .contact-facts a:hover,
  .before-after figure:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(20, 18, 15, 0.14);
  }

  .service-row {
    transition: background 380ms ease;
  }

  .service-row .arrow-link::after {
    display: inline-block;
    transition: transform 380ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .service-row:hover .arrow-link::after {
    transform: translateX(5px);
  }

  .service-row .service-index {
    transition: color 380ms ease;
  }

  .service-hero-photo .photo-frame img,
  .area-photo img {
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .service-hero-photo .photo-frame:hover img,
  .area-photo:hover img {
    transform: scale(1.035);
  }

  .btn,
  .mini-btn {
    transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  }

  .btn:hover,
  .mini-btn:hover {
    transform: translateY(-2px);
  }
}

/* FAQ: chevron + i plynne zwijanie (wysokosc animuje motion.js przez WAAPI) */
.faq summary {
  position: relative;
  padding-right: 52px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-top: -13px;
  color: var(--copper);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

/* Header: cien dopiero po zescrollowaniu */
.site-header {
  transition: box-shadow 300ms ease;
}

.site-header.mo-scrolled {
  box-shadow: 0 10px 34px rgba(20, 18, 15, 0.1);
}

/* Mobilny pasek kontaktu: wjazd od dolu po zaladowaniu */
html.mo .mobile-contact.mo-cta {
  transform: translateY(102%);
  transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

html.mo .mobile-contact.mo-cta.mo-cta-in {
  transform: translateY(0);
}

/* Redukcja ruchu = strona statyczna, wszystko widoczne */
@media (prefers-reduced-motion: reduce) {
  html.mo [data-mo],
  html.mo .mo-intro,
  html.mo .mobile-contact.mo-cta {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html.mo .mo-kenburns,
  html.mo .mo-parallax-css {
    animation: none;
    scale: none;
    translate: none;
  }

  .faq summary::after,
  .site-header {
    transition: none;
  }
}

/* ---------- Navfix mobilny 14.08.2026: submenu jako pionowy akordeon ---------- */
@media (max-width: 1060px) {
  .nav-links {
    overflow-x: hidden;
  }

  .nav-links a,
  .nav-dropdown .dropdown-panel a {
    white-space: normal;
  }

  .nav-dropdown .caret {
    display: inline-block;
    transition: transform 200ms ease;
  }

  .nav-dropdown:hover .caret,
  .nav-dropdown:focus-within .caret {
    transform: none;
  }

  .nav-dropdown.is-sub-open .caret {
    transform: rotate(180deg);
  }

  .nav-dropdown .dropdown-panel,
  .nav-dropdown:hover .dropdown-panel,
  .nav-dropdown:focus-within .dropdown-panel {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 14px;
    transition: max-height 280ms cubic-bezier(0.4, 0, 0.2, 1), padding 280ms cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-dropdown.is-sub-open .dropdown-panel,
  .nav-dropdown.is-sub-open:hover .dropdown-panel,
  .nav-dropdown.is-sub-open:focus-within .dropdown-panel {
    max-height: 640px;
    padding: 6px 0 6px 14px;
  }
}
