/* EKO-RAT — demo. Ink, warm paper, one orange from the logo. */
:root {
  --ink: #151515;
  --ink-2: #2a2724;
  --paper: #faf8f4;
  --paper-2: #f1ede6;
  --stone: #e2ddd3;
  --line: #ddd7cc;
  --muted: #625c53;
  --muted-dark: #a59d91;
  --orange: #f07d12;
  --orange-deep: #a85300; /* same hue, used only for small text on paper */
  --display: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --text: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.06;
  margin: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--orange); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font: 600 1.0625rem/1 var(--display); letter-spacing: -0.005em;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 3px;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-call { background: var(--orange); color: var(--ink); }
.btn-call:hover { background: #ff8d24; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  transition: box-shadow .25s;
}
.header-in {
  display: flex; align-items: center; gap: 12px;
  height: var(--header-h); transition: height .25s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.site-header.is-scrolled .header-in { height: 60px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { height: 50px; width: auto; transition: height .25s; }
.site-header.is-scrolled .brand img { height: 40px; }
.brand-name { font: 700 1.25rem/1 var(--display); letter-spacing: -0.01em; }
.brand-name.sr-only { position: absolute; }
.brand:has(img.is-missing) img { display: none; }
.brand:has(img.is-missing) .brand-name { position: static; width: auto; height: auto; clip: auto; }
.brand-tag { display: none; font-size: .875rem; line-height: 1.3; color: var(--muted-dark); border-left: 1px solid #3a3632; padding-left: 14px; }
@media (min-width: 1180px) { .brand-tag { display: block; } }

.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  font: 500 1rem/1 var(--display); text-decoration: none; color: #d9d3c9;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--paper); }
.main-nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--orange); }
.header-call { min-height: 44px; padding: 0 16px; font-size: 1rem; }
.header-call .lbl { display: none; }
@media (min-width: 1000px) { .header-call .lbl { display: inline; color: rgba(21,21,21,.7); font-weight: 500; } }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--paper); cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; margin: 0 auto; background: currentColor; position: relative; transition: transform .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; margin-right: -8px; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); border-top: 1px solid #2e2b28;
    display: none;
  }
  .main-nav[data-open="true"] { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; }
  .main-nav a { min-height: 56px; font-size: 1.25rem; padding: 0; border-bottom: 1px solid #2e2b28; }
  .main-nav a[aria-current="page"] { border-bottom-color: #2e2b28; color: var(--orange); }
  .brand img { height: 44px; }
}
@media (max-width: 360px) { .header-call { padding: 0 12px; font-size: .9375rem; } .header-call svg { display: none; } }

/* ---------- Image frames (tinted block when the file is missing) ---------- */
.frame { position: relative; overflow: hidden; background: var(--stone); aspect-ratio: 3 / 2; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
img.is-missing { opacity: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink-2); color: var(--paper); min-height: min(86vh, 860px); display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 701px) { .hero-media img { transform: scaleX(-1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,21,21,.82) 0%, rgba(21,21,21,.55) 45%, rgba(21,21,21,.05) 80%);
}
.hero-in { position: relative; z-index: 1; padding-block: 120px 56px; }
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 5.5rem); max-width: 12ch; }
.hero-lead { font-size: clamp(1.125rem, 1.6vw, 1.375rem); max-width: 34rem; margin: 28px 0 36px; color: #ece7de; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-top: 72px; padding-top: 20px; border-top: 1px solid rgba(250,248,244,.25);
  font-size: .9375rem; line-height: 1.4; color: #d9d3c9; max-width: 860px;
}
.hero-facts strong { display: block; color: var(--paper); font: 600 1rem/1.3 var(--display); margin-bottom: 2px; }
@media (max-width: 700px) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 760px); }
  .hero-media img { object-position: 50% 30%; }
  .hero::after { background: linear-gradient(0deg, rgba(21,21,21,.9) 0%, rgba(21,21,21,.6) 50%, rgba(21,21,21,.15) 100%); }
  .hero-in { padding-block: 96px 32px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-tight { padding-block: clamp(56px, 7vw, 96px); }
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { grid-column: 1 / span 7; font-size: clamp(2rem, 4.2vw, 3.5rem); }
.section-head p { grid-column: 8 / span 5; align-self: end; color: var(--muted); margin: 0; max-width: 32rem; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head h2, .section-head p { grid-column: 1; }
}
.kicker { font: 600 .9375rem/1.3 var(--display); color: var(--orange-deep); margin: 0 0 14px; }
.on-dark .kicker, .kicker-dark { color: var(--orange); }

/* ---------- Service rows (index) ---------- */
.svc-list { list-style: none; border-top: 1px solid var(--ink); }
.svc {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px;
  padding-block: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line);
}
.svc-no { grid-column: 1 / span 1; font: 600 clamp(1.25rem, 2vw, 1.75rem)/1 var(--display); color: var(--orange); font-variant-numeric: tabular-nums; padding-top: 8px; }
.svc-body { grid-column: 2 / span 5; }
.svc-body h3 { font-size: clamp(1.75rem, 3vw, 2.625rem); margin-bottom: 16px; }
.svc-body p { color: var(--muted); max-width: 30rem; }
.svc-points { list-style: none; margin: 20px 0 24px; }
.svc-points li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative; font-size: 1rem; }
.svc-points li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 2px; background: var(--orange); }
.svc-link { font: 600 1rem/1 var(--display); color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 6px; display: inline-flex; min-height: 44px; align-items: center; }
.svc-link:hover { text-decoration-color: var(--ink); }
.svc .frame { grid-column: 7 / span 6; border-radius: 2px; }
.svc:nth-child(even) .svc-body { grid-column: 7 / span 5; grid-row: 1; }
.svc:nth-child(even) .svc-no { grid-column: 6 / span 1; grid-row: 1; text-align: right; }
.svc:nth-child(even) .frame { grid-column: 1 / span 5; grid-row: 1; }
.svc .frame img, .lift img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .svc:hover .frame img, .lift:hover img { transform: scale(1.035); } }
@media (max-width: 800px) {
  .svc, .svc:nth-child(even) { grid-template-columns: 1fr; gap: 16px; }
  .svc .svc-no, .svc .svc-body, .svc .frame,
  .svc:nth-child(even) .svc-no, .svc:nth-child(even) .svc-body, .svc:nth-child(even) .frame { grid-column: 1; grid-row: auto; text-align: left; }
  .svc .frame { order: -1; }
}

/* ---------- Emergency band: the phone number as the design ---------- */
.sos { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 128px); overflow: hidden; }
.sos-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.sos-title { grid-column: 1 / span 6; }
.sos h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
.sos-copy { grid-column: 8 / span 5; color: #d9d3c9; }
.sos-copy p:last-child { margin: 0; }
.big-phone {
  display: block; margin-top: clamp(40px, 6vw, 72px);
  font: 600 clamp(3rem, 14.2vw, 12.5rem)/.9 var(--display); letter-spacing: -0.045em;
  color: var(--orange); text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums;
  transition: color .2s;
}
.big-phone:hover { color: #ff9a3d; }
.sos-foot { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; padding-top: 20px; border-top: 1px solid #34302c; color: var(--muted-dark); font-size: 1rem; }
.sos-foot a { color: var(--paper); text-decoration: none; }
.sos-foot a:hover { text-decoration: underline; }
@media (max-width: 800px) {
  .sos-grid { grid-template-columns: 1fr; }
  .sos-title, .sos-copy { grid-column: 1; }
}

/* ---------- Served sites ---------- */
.sites { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.site-card { margin: 0; }
.site-card figcaption { margin-top: 14px; }
.site-card figcaption strong { display: block; font: 600 1.25rem/1.25 var(--display); }
.site-card figcaption span { color: var(--muted); font-size: 1rem; }
.sites .site-card:nth-child(1) { grid-column: 1 / span 7; grid-row: span 2; }
.sites .site-card:nth-child(1) .frame { aspect-ratio: 4 / 3.4; }
.sites .site-card:nth-child(2) { grid-column: 8 / span 5; }
.sites .site-card:nth-child(3) { grid-column: 8 / span 5; }
.site-types { list-style: none; columns: 3 220px; column-gap: 32px; margin-top: 56px; border-top: 1px solid var(--ink); padding-top: 24px; }
.site-types li { break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
@media (max-width: 800px) {
  .sites { grid-template-columns: 1fr; }
  .sites .site-card:nth-child(n) { grid-column: 1; grid-row: auto; }
  .sites .site-card:nth-child(1) .frame { aspect-ratio: 3 / 2; }
}

/* ---------- Steps ---------- */
.steps-wrap { background: var(--paper-2); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { padding: 32px 32px 8px 0; border-top: 2px solid var(--ink); counter-increment: step; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 600 clamp(2.5rem, 5vw, 4rem)/1 var(--display); color: var(--orange); letter-spacing: -0.03em; margin-bottom: 28px; font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.5rem; margin-bottom: 12px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 28px; border-left: 0; }
  .step::before { margin-bottom: 16px; }
}

/* ---------- Guarantees ---------- */
.guar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.guar-head { grid-column: 1 / span 5; }
.guar-head h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); margin-bottom: 20px; }
.guar-head p { color: var(--muted); max-width: 26rem; }
.guar-list { grid-column: 7 / span 6; list-style: none; border-top: 1px solid var(--ink); }
.guar-list li { display: grid; grid-template-columns: minmax(0, 1fr); padding: 20px 0; border-bottom: 1px solid var(--line); }
.guar-list strong { font: 600 1.25rem/1.3 var(--display); }
.guar-list span { color: var(--muted); font-size: 1rem; margin-top: 4px; }
.guar-list .amount { color: var(--ink); }
@media (max-width: 800px) {
  .guar { grid-template-columns: 1fr; }
  .guar-head, .guar-list { grid-column: 1; }
}

/* ---------- Contact + form ---------- */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.contact-info { grid-column: 1 / span 5; }
.contact-info h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); margin-bottom: 20px; }
.contact-info .lead { color: var(--muted); max-width: 28rem; }
.phones { list-style: none; margin: 32px 0; }
.phones li { border-top: 1px solid var(--line); padding: 16px 0; }
.phones li:last-child { border-bottom: 1px solid var(--line); }
.phones small { display: block; color: var(--muted); font-size: .9375rem; }
.phones a { font: 600 clamp(1.75rem, 3vw, 2.5rem)/1.15 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.phones a:hover { color: var(--orange-deep); }
.addr { font-style: normal; color: var(--ink); }
.form-card { grid-column: 7 / span 6; background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); border-radius: 3px; }
.form-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: 1rem; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font: 600 .9375rem/1.3 var(--display); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1.0625rem/1.4 var(--text); color: var(--ink);
  background: var(--paper); border: 1px solid #c9c2b6; border-radius: 3px;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-note { font-size: .9375rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status:empty { min-height: 0; margin: 0; }
@media (max-width: 800px) {
  .contact { grid-template-columns: 1fr; }
  .contact-info, .form-card { grid-column: 1; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---------- Page header (subpages) ---------- */
.page-head { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 8vw, 112px) clamp(40px, 5vw, 72px); }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 5rem); max-width: 16ch; }
.page-head .lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: #d9d3c9; max-width: 38rem; margin: 24px 0 0; }
.crumbs { font-size: .9375rem; color: var(--muted-dark); margin-bottom: 28px; }
.crumbs a { color: #d9d3c9; }
.anchor-nav { border-bottom: 1px solid var(--line); background: var(--paper); }
.anchor-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 28px; }
.anchor-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; text-decoration: none; font: 500 1rem/1 var(--display); }
.anchor-nav a span { color: var(--orange-deep); font-variant-numeric: tabular-nums; }
.anchor-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
@media (max-width: 700px) {
  .anchor-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .anchor-nav a { min-height: 48px; }
}

/* ---------- Service detail (uslugi.html) ---------- */
.detail { padding-block: clamp(64px, 8vw, 120px); border-bottom: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px 24px; }
.detail-head { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-bottom: clamp(24px, 4vw, 48px); align-items: end; }
.detail-no { grid-column: 1 / span 1; font: 600 clamp(2.5rem, 5vw, 4.5rem)/.9 var(--display); color: var(--orange); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.detail-head h2 { grid-column: 2 / span 7; font-size: clamp(2.25rem, 5vw, 4rem); }
.detail-head .lead { grid-column: 9 / span 4; color: var(--muted); margin: 0; }
.detail .frame { grid-column: 1 / span 7; border-radius: 2px; }
.detail-text { grid-column: 9 / span 4; }
.detail-text h3 { font-size: 1.375rem; margin: 0 0 12px; }
.detail-text h3:not(:first-child) { margin-top: 32px; }
.detail-text p { color: var(--muted); }
.ticks { list-style: none; margin: 0 0 8px; }
.ticks li { padding: 9px 0 9px 22px; border-top: 1px solid var(--line); position: relative; font-size: 1rem; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 2px; background: var(--orange); }
.sub-block { grid-column: 1 / span 12; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--ink); }
.sub-block .sub-title { grid-column: 1 / span 4; }
.sub-block .sub-title h3 { font-size: clamp(1.5rem, 2.6vw, 2.125rem); margin-bottom: 12px; }
.sub-block .sub-title p { color: var(--muted); }
.sub-block .frame { grid-column: 5 / span 4; }
.sub-block .sub-body { grid-column: 9 / span 4; }
.sub-block.no-img .sub-body { grid-column: 6 / span 7; }
.two-col { columns: 2 220px; column-gap: 32px; }
.two-col li { break-inside: avoid; }
.detail-cta { margin-top: 28px; }
.detail.is-dark { background: var(--ink); color: var(--paper); border-bottom: 0; }
.detail.is-dark .detail-head .lead, .detail.is-dark .detail-text p { color: #d9d3c9; }
.detail.is-dark .ticks li { border-color: #34302c; }
.detail.is-dark .frame { background: #2e2b28; }
@media (max-width: 900px) {
  .detail-head, .detail-grid, .sub-block { grid-template-columns: 1fr; gap: 16px; }
  .detail-no, .detail-head h2, .detail-head .lead, .detail .frame, .detail-text,
  .sub-block .sub-title, .sub-block .frame, .sub-block .sub-body, .sub-block.no-img .sub-body { grid-column: 1; }
  .detail-text { margin-top: 12px; }
  .detail-head h2 { font-size: clamp(2rem, 9vw, 2.75rem); min-width: 0; overflow-wrap: anywhere; }
  .detail-head, .detail-head > * { min-width: 0; }
  .detail-grid > *, .detail-head { grid-column: 1; }
}

/* other services */
.other { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--ink); }
.other > li { padding: 32px 0; border-bottom: 1px solid var(--line); }
.other h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.other p { color: var(--muted); }
.other .frame { margin: 4px 0 20px; }
@media (max-width: 800px) { .other { grid-template-columns: 1fr; } }

/* ---------- Obiekty ---------- */
.types { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--ink); }
.types li { padding: 24px 0 28px; border-bottom: 1px solid var(--line); }
.types h3 { font-size: 1.375rem; margin-bottom: 8px; }
.types p { color: var(--muted); margin: 0; font-size: 1rem; }
@media (max-width: 900px) { .types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .types { grid-template-columns: 1fr; } }
.ipm { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.ipm .frame { grid-column: 1 / span 6; }
.ipm-text { grid-column: 8 / span 5; }
.ipm-text h2 { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 20px; }
.ipm-text p { color: var(--muted); }
.standards { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 24px; }
.standards li { font: 600 1rem/1 var(--display); padding: 12px 16px; border: 1px solid var(--ink); border-radius: 2px; }
@media (max-width: 800px) {
  .ipm { grid-template-columns: 1fr; }
  .ipm .frame, .ipm-text { grid-column: 1; }
}
.price { background: var(--ink); color: var(--paper); }
.price-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.price-grid h2 { grid-column: 1 / span 5; font-size: clamp(2rem, 4.2vw, 3.5rem); }
.price-grid .price-copy { grid-column: 7 / span 6; }
.price-copy p { color: #d9d3c9; }
.price-list { list-style: none; border-top: 1px solid #4a4540; margin: 8px 0 32px; }
.price-list li { padding: 18px 0; border-bottom: 1px solid #34302c; font: 600 1.25rem/1.3 var(--display); }
@media (max-width: 800px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-grid h2, .price-grid .price-copy { grid-column: 1; }
}

/* ---------- Kontakt page ---------- */
.k-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.k-hero .k-copy { grid-column: 1 / span 6; }
.k-hero .frame { grid-column: 8 / span 5; }
.k-phone { display: block; font: 600 clamp(2.75rem, 7.2vw, 6.5rem)/.95 var(--display); letter-spacing: -0.04em; color: var(--orange); text-decoration: none; white-space: nowrap; margin: 28px 0 8px; font-variant-numeric: tabular-nums; }
.k-phone:hover { color: #ff9a3d; }
.k-sub { color: #d9d3c9; }
.k-sub a { color: var(--paper); font-weight: 600; }
@media (max-width: 800px) {
  .k-hero { grid-template-columns: 1fr; }
  .k-hero .k-copy, .k-hero .frame { grid-column: 1; }
}
.facts3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--ink); }
.facts3 > div { padding: 24px 0; }
.facts3 h2 { font-size: 1.375rem; margin-bottom: 12px; }
.facts3 p, .facts3 li { color: var(--muted); font-size: 1rem; }
.facts3 ul { list-style: none; }
.facts3 li { padding: 3px 0; }
@media (max-width: 800px) { .facts3 { grid-template-columns: 1fr; } .facts3 > div + div { border-top: 1px solid var(--line); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d3c9; padding-top: clamp(56px, 7vw, 96px); font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-grid img { height: 64px; width: auto; margin-bottom: 20px; }
.footer-h { font: 600 1rem/1.3 var(--display); color: var(--paper); margin-bottom: 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 2px 0; }
.site-footer a { color: #d9d3c9; text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer-grid .tel { font: 600 1.375rem/1.4 var(--display); color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid #2e2b28; padding-block: 24px; color: var(--muted-dark); font-size: .9375rem; }
.footer-bottom p { margin: 0; }
.credit { display: flex; align-items: center; gap: 0; }
.credit a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Fixed call bar (phones) ---------- */
.callbar { display: none; }
@media (max-width: 800px) {
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink); border-top: 1px solid #2e2b28;
  }
  .callbar .btn { flex: 1; min-height: 52px; font-size: 1.125rem; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tap targets for inline links */
.sos-foot a, .site-footer li a, .crumbs a, .k-sub a { display: inline-flex; align-items: center; min-height: 44px; }
.sos-foot { align-items: center; }
.site-footer li { padding: 0; }
.site-footer p a { display: inline-flex; align-items: center; min-height: 44px; }
.k-phone { line-height: 1.05; }
