:root {
  --ink: #132019;
  --muted: #5f6c64;
  --paper: #f7f7f2;
  --white: #fff;
  --line: #dfe5df;
  --green: #6dab00;
  --green-dark: #4f7e00;
  --charcoal: #202621;
  --accent-soft: #eef5e4;
  --shadow: 0 18px 55px rgb(19 32 25 / 12%);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
#konfigurator, #kontakt, #galerie, #sofort-anfrage { scroll-margin-top: 90px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; }

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

button { cursor: pointer; }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: none; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  padding: 7px 0;
  color: #eaf3e3;
  background: var(--charcoal);
  font-size: .8rem;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgb(19 32 25 / 8%);
  background: rgb(247 247 242 / 92%);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 58px; height: 54px; object-fit: contain; }
.brand span { font-size: .98rem; font-weight: 800; letter-spacing: -.02em; }

.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-links a:not(.button):hover { color: var(--green-dark); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--white);
  background: var(--green-dark);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: .2s ease;
}

.button:hover { background: #385b00; transform: translateY(-1px); }
.button.secondary { border-color: var(--line); color: var(--ink); background: var(--white); }
.button.secondary:hover { border-color: var(--green); background: var(--accent-soft); }
.button.call { border-color: rgb(255 255 255 / 45%); color: var(--ink); background: var(--white); }
.button.call:hover { border-color: var(--white); color: var(--ink); background: #f2f7ea; }
.button.whatsapp { background: #176f3c; }
.button.small { min-height: 42px; padding: 10px 16px; font-size: .86rem; }
.button.full { width: 100%; }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background: #1f2c25;
}

.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: -2; }
.hero-media img { object-fit: cover; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(10 17 13 / 88%) 0%, rgb(10 17 13 / 62%) 48%, rgb(10 17 13 / 12%) 78%), linear-gradient(0deg, rgb(10 17 13 / 42%), transparent 50%); }

.hero-content { max-width: 730px; padding: 126px 0 84px; }
.eyebrow { margin: 0 0 14px; color: var(--green); font-size: .8rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; overflow-wrap: normal; word-break: normal; font-size: clamp(2.65rem, 6vw, 5.25rem); line-height: .99; letter-spacing: -.052em; }
body[data-page-type="doppelstabmattenzaun"] h1 { font-size: clamp(2.6rem, 5vw, 4.25rem); }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 1.25rem; line-height: 1.25; letter-spacing: -.02em; }
.hero-lead { max-width: 650px; margin-bottom: 24px; color: #f4f7f3; font-size: clamp(1.08rem, 1.7vw, 1.3rem); }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 0 0 28px; padding: 0; list-style: none; }
.hero-points li::before { content: "✓"; margin-right: 8px; color: #a7d55f; font-weight: 900; }
.actions { display: flex; flex-wrap: wrap; gap: 11px; }
.microcopy { max-width: 650px; margin: 15px 0 0; color: #dbe5dc; font-size: .83rem; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { min-height: 92px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; font-size: .88rem; font-weight: 750; }
.trust-icon { width: 37px; height: 37px; display: grid; flex: 0 0 37px; place-items: center; border-radius: 50%; color: var(--green-dark); background: var(--accent-soft); font-weight: 900; }

section { padding: 104px 0; }
.section-head { max-width: 750px; margin-bottom: 44px; }
.section-head p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.kicker { margin-bottom: 10px; color: var(--green-dark); font-size: .78rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.surface { background: var(--white); }
.dark { color: var(--white); background: var(--charcoal); }
.dark .section-head p:last-child, .dark .muted { color: #cad5cd; }
.dark .kicker { color: var(--green); }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card p:last-child { margin-bottom: 0; color: var(--muted); }
.card-number { margin-bottom: 24px; color: var(--green-dark); font-size: .82rem; font-weight: 900; letter-spacing: .12em; }
.model-card { min-height: 330px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; position: relative; color: var(--white); background: #253029; }
.model-card img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.model-card::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgb(10 15 12 / 88%), transparent 75%); }
.model-card > div { position: relative; z-index: 2; }
.model-card p { color: #e6eee7 !important; }

.split { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 68px; }
.split-media { overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.check-list { display: grid; gap: 13px; margin: 25px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; }
.check-list li::before { content: "✓"; flex: 0 0 24px; color: var(--green-dark); font-weight: 900; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery figure { position: relative; overflow: hidden; margin: 0; border-radius: 18px; background: #d8ded9; }
.gallery figure:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery figure:nth-child(2) { grid-column: span 5; }
.gallery figure:nth-child(3) { grid-column: span 5; }
.gallery figure:nth-child(n+4) { grid-column: span 4; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; right: 10px; bottom: 10px; left: 10px; padding: 8px 11px; border-radius: 10px; color: var(--white); background: rgb(15 22 17 / 76%); font-size: .75rem; backdrop-filter: blur(6px); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steps; }
.step { min-height: 240px; padding: 28px; border: 1px solid rgb(255 255 255 / 14%); border-radius: var(--radius); background: rgb(255 255 255 / 4%); }
.step::before { counter-increment: steps; content: "0" counter(steps); display: block; margin-bottom: 34px; color: #9dc94f; font-size: .78rem; font-weight: 900; letter-spacing: .12em; }
.step p { margin-bottom: 0; color: #cad5cd; }

.config-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 55px; align-items: start; }
.config-aside { position: sticky; top: 118px; }
.config-aside p { color: var(--muted); }
.config-benefit { margin: 28px 0 0; padding: 22px; border-radius: 16px; background: var(--accent-soft); }
.config-benefit strong { display: block; margin-bottom: 4px; }
.config-direct-contact { margin-top: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.config-direct-contact strong, .config-direct-contact span { display: block; }
.config-direct-contact span { margin-top: 4px; color: var(--muted); font-size: .86rem; }
.config-direct-contact .text-cta { margin-top: 12px; }

.form-card { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--line); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.progress { height: 7px; margin-bottom: 30px; overflow: hidden; border-radius: 99px; background: #edf0ec; }
.progress span { display: block; width: 25%; height: 100%; border-radius: inherit; background: var(--green); transition: width .3s ease; }
.form-step[hidden] { display: none; }
.form-step h3 { margin-bottom: 24px; font-size: 1.6rem; }
.contact-hint { margin: -14px 0 22px; color: var(--muted); font-size: .86rem; }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { color: #314038; font-size: .86rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid #cdd5cf;
  border-radius: 11px;
  color: var(--ink);
  background: var(--white);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgb(109 171 0 / 18%); border-color: var(--green-dark); }
.choices { display: flex; flex-wrap: wrap; gap: 9px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { min-height: 45px; display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid #cdd5cf; border-radius: 10px; background: var(--white); font-size: .88rem; font-weight: 700; }
.choice input:checked + span { border-color: var(--green-dark); color: var(--green-dark); background: var(--accent-soft); box-shadow: 0 0 0 2px rgb(109 171 0 / 12%); }
.choice input:focus-visible + span { outline: 3px solid rgb(109 171 0 / 25%); }
.form-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.consent { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); font-size: .78rem; }
.consent input { width: 24px; height: 24px; flex: 0 0 24px; margin-top: 1px; }
.form-status { display: none; margin: 18px 0 0; padding: 13px 15px; border-radius: 10px; font-size: .88rem; }
.form-status.show { display: block; }
.form-status.success { color: #315600; background: #eaf5dd; }
.form-status.error { color: #7d261f; background: #fff0ee; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.quick-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: center; }
.contact-links { display: grid; gap: 11px; margin-top: 25px; }
.contact-link { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; }
.contact-link span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--green-dark); background: var(--accent-soft); }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.faq summary { padding: 20px 56px 20px 22px; cursor: pointer; list-style: none; position: relative; font-weight: 850; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 17px; color: var(--green-dark); font-size: 1.35rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 22px; margin: 0; color: var(--muted); }

.region-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 40px; border-radius: 25px; color: var(--white); background: var(--charcoal); }
.region-panel p { margin-bottom: 0; color: #d3ddd5; }

.site-footer { padding: 48px 0 94px; color: #cdd7cf; background: #151b17; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 45px; }
.site-footer h3 { color: var(--white); }
.site-footer a { color: inherit; }
.cookie-settings { padding: 0; border: 0; color: inherit; background: none; text-decoration: underline; }
.footer-note { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: .78rem; }

.mobile-bar { display: none; }
.cookie-banner { position: fixed; z-index: 120; right: 18px; bottom: 18px; width: min(440px, calc(100% - 36px)); padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin-bottom: 14px; color: var(--muted); font-size: .82rem; }
.cookie-actions { display: flex; gap: 8px; }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 79px 0 auto; display: none; padding: 28px 22px; flex-direction: column; align-items: stretch; background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .hero { min-height: 680px; }
  .card-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .config-wrap, .quick-contact { grid-template-columns: 1fr; }
  /* 2026-09-24 Klik "konfigurieren" przewijal na naglowek sekcji, a pierwsze pole
     ladowalo na 815 px przy ekranie 844 px - uzytkownik nie widzial zadnego pola.
     Na telefonie formularz idzie przed tekstem objasniajacym. */
  .config-aside { position: static; order: 2; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 20px 0; }
  .gallery figure:nth-child(n) { grid-column: span 6; grid-row: span 1; }
  .gallery figure:first-child { grid-column: span 12; grid-row: span 2; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 26px, 1180px); }
  /* Lange deutsche Komposita ("Doppelstabmattenzaun", "Grundstückssituationen")
     sind breiter als die 334-px-Textspalte eines 360-px-Telefons. Ohne
     Trennmoeglichkeit ragen sie aus ihrer Box heraus und blaehen zusaetzlich
     die auto-Mindestbreite der .config-wrap-Grid-Spalte auf — Ergebnis war
     horizontales Scrollen (scrollWidth 376 bei clientWidth 360).
     hyphens: auto trennt regelkonform (html lang="de"),
     overflow-wrap: anywhere ist der Notumbruch ohne Trennwoerterbuch. */
  h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
  .topbar { font-size: .75rem; }
  .brand span { display: none; }
  .brand img { width: 51px; height: 48px; }
  .nav { min-height: 68px; }
  .nav-links { inset-block-start: 69px; }
  .hero { min-height: 640px; min-height: min(640px, 100svh); }
  .hero::after { background: linear-gradient(0deg, rgb(10 17 13 / 92%) 0%, rgb(10 17 13 / 54%) 82%); }
  .hero-content { padding: 105px 0 58px; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.4rem); }
  body[data-page-type="doppelstabmattenzaun"] h1 { font-size: 2.15rem; letter-spacing: -.045em; }
  .hero .button { width: 100%; }
  section { padding: 75px 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 13px; }
  .card-grid, .steps, .fields, .footer-grid { grid-template-columns: 1fr; }
  .card-grid { gap: 13px; }
  .gallery { grid-auto-rows: 190px; }
  .gallery figure:nth-child(n) { grid-column: span 12; }
  .gallery figure:first-child { grid-row: span 1; }
  .form-card { padding: 23px 17px; border-radius: 20px; }
  .field.full { grid-column: auto; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .region-panel { grid-template-columns: 1fr; padding: 28px 22px; }
  .mobile-bar { position: fixed; z-index: 90; inset: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px; border-top: 1px solid var(--line); background: var(--white); box-shadow: 0 -8px 30px rgb(19 32 25 / 10%); }
  .mobile-bar a { min-height: 45px; display: grid; place-items: center; border-right: 1px solid var(--line); font-size: .75rem; font-weight: 850; text-decoration: none; }
  .mobile-bar a:last-child { border: 0; color: var(--white); background: var(--green-dark); border-radius: 9px; }
  .site-footer { padding-bottom: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* CRO additions 2026-08-12 — used only by moderne-metallzaeune; additive, no effect on doppelstabmattenzaun */

.topbar a { color: inherit; font-weight: 800; }

.model-card > div { padding-bottom: 42px; }
.model-card img { transition: transform .35s ease; }
.model-card:hover img { transform: scale(1.02); }
.model-cta {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 27px;
  color: var(--white);
  font-size: .85rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-underline-offset: 4px;
}
.model-cta:hover { color: #d9ecba; }
.model-cta:focus-visible { outline: 3px solid rgb(109 171 0 / 65%); outline-offset: -3px; }

.text-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--green-dark); font-weight: 800; text-decoration: none; }
.text-cta::after { content: "→"; }
.text-cta:hover { text-decoration: underline; }

.gallery-cta { margin-top: 34px; text-align: center; }

.final-cta-inner { max-width: 780px; margin-inline: auto; text-align: center; }
.final-cta-inner > p { color: var(--muted); }
.final-cta-inner .actions { justify-content: center; margin-top: 26px; }

.form-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; text-align: center; }

@media (max-width: 650px) {
  .final-cta .button { width: 100%; }
}

/* Audit follow-up 2026-08-12 — visualization badge + collapsible optional message field */

.viz-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--white);
  background: rgb(15 22 17 / 76%);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .02em;
  backdrop-filter: blur(6px);
}

.form-optional { margin-top: 18px; border: 1px dashed var(--line); border-radius: 11px; }
.form-optional summary { padding: 12px 14px; cursor: pointer; color: var(--muted); font-size: .86rem; font-weight: 700; }
.form-optional textarea {
  display: block;
  width: calc(100% - 28px);
  min-height: 96px;
  margin: 2px 14px 14px;
  padding: 12px 14px;
  border: 1px solid #cdd5cf;
  border-radius: 11px;
  resize: vertical;
  font: inherit;
}
.form-optional textarea:focus { outline: 3px solid rgb(109 171 0 / 18%); border-color: var(--green-dark); }

/* Google reviews 2026-08-12 — static cards, real reviews from the company Google profile */

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { display: flex; flex-direction: column; gap: 15px; margin: 0; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.review-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.review-card figcaption { display: grid; gap: 2px; margin-top: auto; }
.review-card figcaption strong { font-size: .95rem; }
.review-card figcaption span { color: var(--muted); font-size: .78rem; }
.review-stars { color: #e9a900; font-size: .95rem; letter-spacing: .1em; }
.reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 30px; }

@media (max-width: 980px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .reviews-actions .button { width: 100%; }
}

/* UX audit 2026-08-12 — hit areas >= 24px and cookie-banner safe area */

.nav-links a:not(.button) { padding-block: 7px; }

html:has(.cookie-banner:not([hidden])) { scroll-padding-bottom: 260px; }
body:has(.cookie-banner:not([hidden])) { padding-bottom: 260px; }

/* Hero mobile 2026-09-10 — CTA nad banerem cookie.
   Pomiar na zywej stronie (390x844): baner cookie ma position:fixed, z-index:120
   i zajmowal 25% ekranu, zaslaniajac OBA przyciski hero (738 px i 797 px).
   Padding-bottom z linii 413 chroni tylko koniec strony, nie hero.
   Po zmianie: CTA na 440 i 496 px, punkty zaufania na 552 px, baner dopiero od 691 px. */
@media (max-width: 650px) {
  .cookie-banner { right: 8px; left: 8px; bottom: 8px; width: auto; padding: 11px 13px; border-radius: 14px; }
  .cookie-banner p { margin-bottom: 8px; font-size: .71rem; line-height: 1.32; }
  .cookie-actions .button { padding: 8px 12px; font-size: .81rem; }

  .hero { min-height: auto; }
  .hero-content { display: flex; flex-direction: column; padding-block: 18px; }
  .hero-content .eyebrow { order: 1; font-size: .66rem; letter-spacing: .05em; margin-bottom: .3rem; }
  .hero-content h1 { order: 2; font-size: clamp(1.55rem, 7vw, 1.95rem); line-height: 1.1; margin-bottom: .4rem; }
  .hero-content .hero-lead { order: 3; font-size: .88rem; line-height: 1.36; margin-bottom: .6rem; }
  .hero-content .actions { order: 4; gap: 8px; }
  .hero-content .actions .button { padding-block: 12px; }
  .hero-content .hero-points { order: 5; display: flex; flex-wrap: wrap; gap: 3px 13px; margin-top: .5rem; }
  .hero-content .hero-points li { font-size: .75rem; }
  .hero-content .microcopy { order: 6; margin-top: .5rem; font-size: .72rem; }
}

.mobile-cta { display: none; }

/* Przyklejony pasek akcji na mobile 2026-09-10.
   Powod: glowne CTA hero prowadzi do konfiguratora (18 pol, 7 wymaganych) na ekranie 9,9;
   krotki formularz (8 pol, 3 wymagane) lezy na ekranie 11,8 z 15,5. Kto przewinie hero,
   traci tania sciezke. Pasek daje ja jednym dotknieciem z kazdego miejsca strony.
   Etykieta mowi o czasie WYSLANIA zapytania, nie o czasie otrzymania oferty -
   strona deklaruje odpowiedz w dwa dni robocze. */
@media (max-width: 650px) {
  .mobile-cta { position: fixed; z-index: 110; left: 0; right: 0; bottom: 0;
    display: flex; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(19, 32, 25, .10); }
  .mobile-cta a { flex: 1; display: flex; align-items: center; justify-content: center;
    min-height: 46px; padding: 10px 8px; border-radius: 999px;
    font-weight: 600; font-size: .92rem; line-height: 1.1;
    text-decoration: none; text-align: center; }
  .mcta-call { border: 1px solid var(--green-dark); color: var(--green-dark); background: var(--white); }
  .mcta-form { background: var(--green); color: var(--white); }
  body { padding-bottom: 78px; }
  /* Baner zgody musi stac nad paskiem, nigdy na nim. */
  .cookie-banner { bottom: 74px; }
  /* Zabezpieczenie z linii 413 sumuje sie z paskiem, gdy baner jest widoczny. */
  body:has(.cookie-banner:not([hidden])) { padding-bottom: 260px; }
}
/* ------------------------------------------------------------------
   KONTAKT NAD ZGIECIEM 2026-09-24 — WhatsApp + telefon w hero.
   Dopisac na KONCU src/landing-pages.css.

   Uzywa wylacznie tego, co juz jest w pliku bazowym:
     - klasy .button, .button.call (linia 113), .button.whatsapp (linia 115)
     - zmienne :root: --white --line --green-dark
     - kolory tekstu przejete 1:1 z .hero-lead (#f4f7f3) i .microcopy (#dbe5dc)
     - zielen WhatsAppa #176f3c — ta sama, ktora stoi juz w .button.whatsapp
   Zadnego nowego kroju pisma, zadnej nowej wartosci koloru.

   Nowe sa wylacznie trzy nazwy klas-kontenerow (.hero-contact,
   .hero-contact-note, .hero-contact-hours). Bez nich nie da sie
   wstawic bloku do hero: istniejaca klasa .actions jest ukrywana na
   telefonie przez pakiet tmp/strona-ceny-formularz, a .microcopy
   i .hero-points przez ten sam pakiet. Blok oparty na tych klasach
   zniknalby po wdrozeniu drugiej zmiany.
   ------------------------------------------------------------------ */

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 11px;              /* ten sam odstep co .actions */
  margin: 0 0 22px;
}

.hero-contact .button { flex: 1 1 auto; }
body[data-page-type="doppelstabmattenzaun"] .hero-contact .hero-primary-cta {
  flex-basis: 100%;
  min-height: 54px;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 8px 25px rgb(0 0 0 / 25%);
}

.hero-contact-note,
.hero-contact-hours {
  flex: 1 1 100%;
  margin: 0;
}

.hero-contact-note {
  color: #f4f7f3;              /* ten sam kolor co .hero-lead */
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.4;
}

.hero-contact-hours {
  color: #dbe5dc;              /* ten sam kolor co .microcopy */
  font-size: .8rem;
}

/* ------------------------------------------------------------------
   Telefon (<= 650 px) — tu odbywa sie 92 % ruchu.

   .hero-content jest na telefonie kontenerem flex-column z jawna
   kolejnoscia (linie 426-435 pliku bazowego):
     1 .eyebrow  2 h1  3 .hero-lead  4 .actions  5 .hero-points  6 .microcopy

   Blok kontaktowy dostaje order: 4 — SWIADOMIE te sama, co .actions
   i co .hero-price z pakietu cenowego. Elementy o rownym `order`
   ida w kolejnosci DOM, wiec:
     - bez pakietu cenowego:  lead -> kontakt -> .actions
     - z pakietem cenowym:    lead -> cena -> kontakt (.actions ukryte)
   Dzieki temu ten plik NIE nadpisuje ani jednej reguly drugiego
   pakietu i kolejnosc doklejenia obu plikow CSS nie ma znaczenia.
   ------------------------------------------------------------------ */

@media (max-width: 650px) {
  .hero-content .hero-contact {
    order: 4;
    gap: 8px;
    margin-bottom: 0;
  }

  .hero-content .hero-contact .button { padding-block: 12px; }
  .hero-content .hero-contact-note { font-size: .78rem; line-height: 1.32; }
  .hero-content .hero-contact-hours { font-size: .72rem; }

  /* .hero-points powtarza teraz co do slowa tresc .hero-contact-note
     ("Kostenloses Aufmass", "Antwort innerhalb von zwei Werktagen"),
     wiec na telefonie schodzi. Oszczednosc 49 px. Identyczna regula
     jest w pakiecie cenowym — obie sa zbiezne, nie kolizyjne. */
  .hero-content .hero-points { display: none; }

  /* Drugi przycisk "Jetzt anrufen" z .actions to juz trzeci telefon
     w pierwszym ekranie (topbar + blok kontaktowy). Zostaje wylacznie
     przycisk prowadzacy do konfiguratora. */
  .hero-content .actions .button.call { display: none; }
  .hero-content .actions { margin-top: 12px; }
}

/* ------------------------------------------------------------------
   Przyklejony pasek na dole — trzecie pole: WhatsApp.
   Dotyczy KROKU C z README (wymiana <div class="mobile-cta">).
   ------------------------------------------------------------------ */

@media (max-width: 650px) {
  /* Trzy pola zamiast dwoch: 390 px / 3 = 118 px na pole.
     Stopien pisma schodzi z .92rem na .84rem, zeby "WhatsApp"
     zmiescilo sie w jednej linii takze na 360 px. */
  .mobile-cta a { font-size: .84rem; padding-inline: 4px; }

  /* Ta sama zielen, ktora stoi juz w .button.whatsapp (linia 115). */
  .mcta-wa { background: #176f3c; color: var(--white); }
}
/* ------------------------------------------------------------------
   CRO 2026-09-24 — blok cenowy + krotka anfrage nad zgieciem.
   Dopisac na KONCU src/landing-pages.css. Wylacznie dodatki, nic nie
   nadpisuje istniejacych regul poza celowymi zmianami hero na mobile
   (sekcja "Hero mobile — miejsce na oferte").
   Uzywa wylacznie istniejacych zmiennych z :root (linie 1-13 pliku
   bazowego): --ink --muted --paper --white --line --green --green-dark
   --charcoal --accent-soft --shadow --radius. Zadnych nowych kolorow,
   zadnego nowego kroju pisma.
   ------------------------------------------------------------------ */

/* 1. Linia cenowa w hero -------------------------------------------- */

.hero-price {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0 0 22px;
  color: var(--white);
}

.hero-price-item {
  display: grid;
  gap: 1px;
  font-size: .86rem;
  font-weight: 700;
}

.hero-price-item b {
  color: #a7d55f;              /* ten sam akcent co ptaszki w .hero-points */
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.03em;
}

.hero-price-note {
  flex: 1 1 100%;
  color: #dbe5dc;              /* ten sam kolor co .microcopy */
  font-size: .8rem;
  font-weight: 600;
}

/* 2. Karta oferty: cena + krotki formularz --------------------------- */

.offer-band { padding-block: 40px; }

.offer-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.offer-intro p { color: var(--muted); }
.offer-intro p:last-child { margin-bottom: 0; }

/* Panel z widelkami — ten sam jezyk wizualny co .config-benefit */
.offer-price {
  margin: 22px 0 0;
  padding: 22px;
  border-radius: 16px;
  background: var(--accent-soft);
}

.price-figure {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  padding-block: 11px;
  border-bottom: 1px solid rgb(19 32 25 / 9%);
}

.price-figure:first-child { padding-top: 0; }
.price-figure:last-of-type { border-bottom: 0; padding-bottom: 0; }

.price-figure strong {
  flex: 1 1 100%;
  color: #314038;              /* ten sam kolor co .field label */
  font-size: .86rem;
  font-weight: 800;
}

.price-value {
  color: var(--green-dark);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.price-unit { color: var(--muted); font-size: .86rem; font-weight: 700; }

.price-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }

/* Pasek konkretow przy formularzu */
.offer-trust {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.offer-trust li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .86rem;
  font-weight: 750;
}

.offer-trust li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--green-dark);
  font-weight: 900;
}

.offer-trust li span { color: var(--muted); font-weight: 500; }

/* 3. Pelna tabela widelek (sekcja #preise) --------------------------- */

.price-table { display: grid; gap: 10px; }

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px 20px;
  padding: 17px 22px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.price-row > div:first-child strong { display: block; font-weight: 850; }
.price-row > div:first-child span { color: var(--muted); font-size: .86rem; }

.price-row > .price-value { white-space: nowrap; }

.price-legend {
  margin: 24px 0 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
}

.price-legend strong { display: block; margin-bottom: 6px; color: var(--ink); }
.price-legend p:last-child { margin-bottom: 0; }

/* 4. Mobile --------------------------------------------------------- */

@media (max-width: 980px) {
  .offer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 650px) {
  /* --- Hero mobile: zwolnic miejsce na formularz -------------------
     Pomiar na 390x844 przed zmiana: hero 121-759 px, pierwsze pole
     formularza 9920 px (ekran 11,8 z 15,5). Zeby pole weszlo wyzej,
     z hero znikaja elementy, ktore powtarzaja sie nizej w karcie
     oferty lub w przyklejonym pasku:
       .hero-points  -> te same konkrety sa w .offer-trust  (-41 px)
       .microcopy    -> ta sama uwaga jest w .price-note    (-37 px)
       .hero .actions-> "Anrufen" i "Anfrage" sa w .mobile-cta
                        przyklejonym do dolu ekranu         (-104 px)
     Jesli klient chce zachowac przycisk w hero, wystarczy usunac
     regule ".hero .actions { display: none }" — formularz zejdzie
     wtedy o ok. 104 px.

     UWAGA 2026-09-25: od 2026-09-24 18:47 w src/ stoi juz blok
     .hero-contact (WhatsApp + Anrufen + dwie linie tekstu, CSS w
     landing-pages.css linie 478-560). Pochodzi z innego pakietu i
     jego autor swiadomie dal mu `order: 4`, ta sama co .hero-price,
     zeby oba pakiety sie nie nadpisywaly — sprawdzone, skladaja sie
     poprawnie. Blok zajmuje ok. 190 px, wiec pierwsze pole formularza
     wypada na 871 px, czyli ok. 27 px PONIZEJ zgiecia na 390x844.
     Widoczne nad zgieciem sa: obie kwoty, naglowek formularza i lista
     konkretow. Swiadomie NIE ruszam cudzego bloku. Jesli Roland uzna,
     ze pierwsze pole ma byc nad zgieciem, wystarczy jedna linia:
       .hero-content .hero-contact-hours { display: none }   (-37 px)
     — to skraca podpowiedz o gotowej tresci WhatsAppa, wiec jest to
     decyzja o cudzej zmianie, nie o tej. */
  /* UWAGA (Marek, CRE-3337, 30.09): caly ten blok mobile dopisano ze
     selektorami globalnymi (.hero, .hero-content, .microcopy, .actions,
     .form-card), a landing-pages.css jest WSPOLNY dla czterech stron.
     Bez zawezenia ta regula chowalaby .hero-points/.microcopy/.hero
     .actions (przyciski Anrufen/Anfrage) na telefonie takze na trzech
     INNYCH, niezwiazanych stronach (moderne-metallzaeune,
     horizontalzaun-sichtschutzzaun, einfahrtstore-gartentore-antriebe),
     ktore maja te same klasy, a nie dostaly bloku cenowego ani przegladu.
     Zawezam do body[data-page-type="doppelstabmattenzaun"] — bez tego
     zmiana niezrecenzowana wplynelaby na konwersje trzech zywych stron. */
  body[data-page-type="doppelstabmattenzaun"] .hero-content .hero-points,
  body[data-page-type="doppelstabmattenzaun"] .hero .microcopy,
  body[data-page-type="doppelstabmattenzaun"] .hero .actions { display: none; }
  /* Hero jest <section>, wiec bierze globalne "section { padding: 75px 0 }".
     Na telefonie to 150 px zdjecia bez tresci nad i pod tekstem hero.
     Gorny odstep daje juz .hero-content (18 px), dolny nie jest potrzebny,
     bo pod hero stoi biala karta oferty. */
  body[data-page-type="doppelstabmattenzaun"] .hero { padding-block: 6px 0; }
  body[data-page-type="doppelstabmattenzaun"] .hero-content .hero-lead { margin-bottom: .5rem; }
  body[data-page-type="doppelstabmattenzaun"] .hero-content .hero-price { order: 4; margin-bottom: 0; gap: 8px 20px; }
  body[data-page-type="doppelstabmattenzaun"] .hero-content .hero-price-item { font-size: .78rem; }
  body[data-page-type="doppelstabmattenzaun"] .hero-content .hero-price-item b { font-size: 1.2rem; }
  body[data-page-type="doppelstabmattenzaun"] .hero-content .hero-price-note { font-size: .73rem; }

  /* --- Karta oferty: najpierw formularz, potem widelki --------------
     Na telefonie liczy sie pierwsze pole, nie naglowek. Cena "ab ..."
     stoi juz w hero, wiec naglowek sekcji i akapit wstepny sa tu
     zbedne; szczegolowe widelki schodza pod formularz. */
  .offer-band { padding-block: 0 30px; }
  .offer-grid { display: flex; flex-direction: column; gap: 16px; }
  .offer-intro { display: contents; }
  .offer-intro .kicker,
  .offer-intro > h2,
  .offer-intro > p { display: none; }

  body[data-page-type="doppelstabmattenzaun"] .offer-band .form-card { order: 1; margin-top: 14px; padding: 16px 14px; }
  .offer-band .form-card h3 { margin-bottom: 10px; font-size: 1.06rem; }
  .offer-price { order: 2; margin: 0; padding: 16px; }
  .price-value { font-size: 1.36rem; }

  /* Konkrety bez dopiskow i mniejszym stopniem — 64 px zamiast 122 px. */
  .offer-trust { display: flex; flex-wrap: wrap; gap: 3px 13px; margin-bottom: 12px; }
  .offer-trust li { font-size: .76rem; }
  .offer-trust li span { display: none; }

  /* Kod pocztowy i dlugosc sa krotkie — zostaja w parze obok siebie,
     zeby formularz nie rosl na wysokosc. */
  .offer-band .fields { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .offer-band .field.full { grid-column: 1 / -1; }
  .offer-band .consent { font-size: .72rem; }

  .price-row { grid-template-columns: 1fr; padding: 15px 17px; }
}

/* Search-LPs: the short enquiry is the first action and first section on mobile. */
.hero-lead-action { margin: 0 0 16px; }
.hero-lead-action .button { min-height: 52px; font-size: 1rem; }
body:not([data-page-type="doppelstabmattenzaun"]) #kontakt { scroll-margin-top: 88px; }
.form-required-note { margin: 0 0 16px; color: var(--green-dark); font-size: .9rem; }
.field-error { display: block; margin-top: 5px; color: #a32222; font-size: .83rem; line-height: 1.35; }
.field input[aria-invalid="true"] { border-color: #a32222; }
@media (max-width: 650px) {
  .hero-content .hero-lead-action { order: 4; margin: 0 0 10px; }
  .hero-content .hero-lead-action .button { display: flex; width: 100%; align-items: center; justify-content: center; text-align: center; }
  .hero-content .hero-contact { order: 5; }
  .hero-content .actions { order: 6; }
  .hero-content .microcopy { order: 7; }
  body:not([data-page-type="doppelstabmattenzaun"]) #kontakt .quick-contact { gap: 16px; }
  body:not([data-page-type="doppelstabmattenzaun"]) #kontakt .form-card { order: -1; }
  body:not([data-page-type="doppelstabmattenzaun"]) #kontakt .form-card .fields { gap: 12px; }
  .mobile-cta .mcta-form { flex: 2; font-size: .79rem; }
  .mobile-cta .mcta-call, .mobile-cta .mcta-wa { flex: 1; font-size: .76rem; }
}

/* ------------------------------------------------------------------
   CRE-6708 2026-10-11 (poprawka po review) — hero desktop wyżej.
   Review: na 1440x900 widełki .hero-price konczyly sie na 934 px,
   etykiety poza krawedzia kadru (900 px). Skracam odstepy hero
   WYLACZNIE na tej stronie i WYLACZNIE powyzej 650 px — układ
   mobile 390x844 przeszedl odbiór i zostaje bez zmian. Selektor
   body[data-page-type="doppelstabmattenzaun"] gwarantuje, że trzy
   pozostałe landingi wyglądają jak przed zmianą. */
@media (min-width: 651px) {
  body[data-page-type="doppelstabmattenzaun"] .hero { padding-block: 72px 48px; }
  body[data-page-type="doppelstabmattenzaun"] .hero-content { padding: 56px 0 40px; }  /* 12.10: +24 px zapasu nad banerem zgody (FAIL Natalii CRE-6858) */
}
