/* ==================================================================
   BGM INVEST&BUD — premium industrial DE 2026
   Brand: navy #061E72 · red #E4243A · white #FFFFFF · ink #111111
   ================================================================== */

/* ============ SELF-HOSTED FONTS (DSGVO: kein Google-Fonts-CDN) ============ */
/* Inter variable (latin + latin-ext), gehostet auf eigener Domain. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  background: #F4F1EB;
  color: #111111;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

:root {
  --navy: #061E72;
  --navy-deep: #04144D;
  --red: #E4243A;
  --red-deep: #B81729;
  --ink: #111111;
  --bg: #0E0F11;
  --paper: #F4F1EB;
  --paper-2: #ECE7DD;
  --paper-line: rgba(0,0,0,0.10);
  --paper-line-2: rgba(0,0,0,0.22);
  --bg-line: rgba(255,255,255,0.10);
  --muted-light: #A6A8AD;
  --muted-on-paper: #5A5C61;
}

.wrap { width: 100%; max-width: 1340px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 900px) { .wrap { padding: 0 56px; } }

.section { padding: 96px 0; }
@media (min-width: 900px) { .section { padding: 140px 0; } }

.dark { background: var(--bg); color: #EDEEEF; }
.light { background: var(--paper); color: var(--ink); }
.bone  { background: var(--paper-2); color: var(--ink); }
.navy-section { background: var(--navy); color: #fff; }

.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--muted-on-paper);
  margin-bottom: 32px;
}
.dark .eyebrow, .navy-section .eyebrow { color: var(--muted-light); }
.eyebrow .num { color: var(--red); font-weight: 800; }
.eyebrow .bar { flex: 1; height: 1px; background: var(--paper-line); }
.dark .eyebrow .bar, .navy-section .eyebrow .bar { background: var(--bg-line); }

.h-section {
  font-weight: 900;
  letter-spacing: -0.030em;
  line-height: 1.02;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 24px;
}
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  max-width: 64ch;
  color: var(--muted-on-paper);
  font-weight: 400;
}
.dark .lede, .navy-section .lede { color: #C2C5CA; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 28px;
  font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  border-radius: 0;
  transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,0.30); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost-dark { color: var(--navy); border-color: rgba(6,30,114,0.30); }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn svg { width: 14px; height: 14px; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 110px;
}
.nav-logo { display: inline-flex; align-items: center; }
.nav-logo img { height: 76px; width: auto; }

.nav-links { display: none; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--navy); font-size: 0.80rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }
.nav-cta { display: none; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}
@media (max-width: 600px) {
  .nav-inner { height: 84px; }
  .nav-logo img { height: 56px; }
}

.burger { display: inline-flex; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--navy); transition: 0.25s; }
.burger.on span:nth-child(1) { transform: translate(0,7px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translate(0,-7px) rotate(-45deg); }

.mnu {
  display: none; position: fixed; top: 84px; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 99;
  flex-direction: column; align-items: stretch; padding: 32px 24px;
  gap: 4px; overflow-y: auto;
}
.mnu.open { display: flex; }
@media (min-width: 601px) { .mnu { top: 110px; } }
.mnu a {
  color: #fff; font-size: 1.4rem; font-weight: 800;
  letter-spacing: -0.02em; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
@media (min-width: 1024px) { .burger, .mnu { display: none !important; } }

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding-top: 110px;
  min-height: 100vh;
  display: flex; align-items: stretch;
}
@media (max-width: 600px) { .hero { padding-top: 84px; } }
/* Hero photo background — PLACEHOLDER: Unsplash construction site.
   Pre-deploy: zamienić na zdjęcia klienta lub Recraft generated. */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('photos/hero.jpg');
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,30,114,0.85) 0%, rgba(6,30,114,0.55) 50%, rgba(6,30,114,0.20) 100%),
    linear-gradient(180deg, rgba(6,30,114,0.10) 0%, transparent 30%, rgba(6,30,114,0.40) 100%);
}
.hero-mark {
  display: none;
  position: absolute; right: -100px; bottom: -120px; z-index: 2;
  width: 700px; height: auto; opacity: 0.08;
  pointer-events: none;
}
@media (min-width: 1024px) { .hero-mark { display: block; } }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  display: flex; flex-direction: column;
  padding: 80px 0 56px;
}
@media (min-width: 1024px) { .hero-inner { padding: 56px 0; justify-content: center; } }

.hero-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
}
.hero-meta .dot { width: 6px; height: 6px; background: var(--red); display: inline-block; }
.hero-meta .sep { color: rgba(255,255,255,0.30); }

.hero h1 {
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.94;
  font-size: clamp(2.8rem, 9vw, 6.8rem);
  color: #fff;
  margin-bottom: 36px;
  max-width: 18ch;
}
.hero h1 .red { color: var(--red); }

.hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.55;
  max-width: 56ch;
  margin-bottom: 44px;
  font-weight: 400;
}
.hero-sub b { color: #fff; font-weight: 700; }

.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-bottom: 56px; }
@media (min-width: 600px) { .hero-ctas { flex-direction: row; flex-wrap: wrap; } }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}
.hero-stats span { display: inline-flex; align-items: baseline; gap: 8px; }
.hero-stats b { color: #fff; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.hero-stats .ac { color: var(--red); }

/* ============ LEISTUNGEN ============ */
.section-head {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
}

.services-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
}
@media (min-width: 700px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service {
  background: var(--paper);
  display: flex; flex-direction: column;
  position: relative;
  transition: background 0.25s, box-shadow 0.25s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.service:hover { background: #fff; box-shadow: 0 8px 28px rgba(6,30,114,0.12); }
.service::after {
  content: "→ Details";
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,0.92);
  color: var(--navy);
  font-family: inherit;
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase;
  padding: 8px 14px;
  z-index: 5;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.service:hover::after { background: var(--red); color: #fff; transform: translateX(4px); }
.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: filter 0.3s, transform 0.4s;
  filter: saturate(0.95);
}
.service-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,30,114,0.05) 40%, rgba(6,30,114,0.40) 100%);
  pointer-events: none;
}
.service:hover .service-photo { filter: saturate(1.1) brightness(1.02); transform: scale(1.02); }
.service-body { padding: 32px 32px 36px; display: flex; flex-direction: column; flex: 1; min-height: 200px; }
.service-num {
  font-weight: 700; color: var(--red);
  font-size: 0.84rem; letter-spacing: 0.10em;
  margin-bottom: 18px;
}
.service h3 {
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  font-weight: 900; letter-spacing: -0.025em; line-height: 1.05;
  margin-bottom: 12px; color: var(--navy);
}
.service p {
  color: var(--muted-on-paper);
  font-size: 0.97rem; line-height: 1.6;
  margin-top: auto; padding-top: 18px;
  border-top: 1px solid var(--paper-line);
}

/* ============ EINSATZGEBIET ============ */
.split {
  display: grid; grid-template-columns: 1fr; gap: 64px;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.split h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 900; letter-spacing: -0.025em; line-height: 1.05;
  color: var(--navy);
  margin-bottom: 24px;
}
.list-editorial { list-style: none; border-top: 1px solid var(--paper-line-2); }
.list-editorial li {
  display: grid; grid-template-columns: 100px 1fr; gap: 18px; align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--paper-line);
  font-size: 1rem;
}
.list-editorial .k {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red);
}
.list-editorial .v {
  font-weight: 700; color: var(--ink);
  font-size: 1.05rem; letter-spacing: -0.01em;
}
.list-editorial .v a {
  color: var(--navy);
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.list-editorial .v a:hover { color: var(--red); }
.list-editorial .v a::after {
  content: " →";
  color: var(--red); font-weight: 800; margin-left: 4px;
  transition: transform 0.2s;
  display: inline-block;
}
.list-editorial .v a:hover::after { transform: translateX(4px); }
.list-editorial small {
  display: block; font-weight: 500; color: var(--muted-on-paper);
  font-size: 0.92rem; margin-top: 4px;
}

/* ============ PHOTO BREAK (między sekcjami) ============ */
.photo-break {
  position: relative;
  height: 320px;
  background-image: url('photos/photo-break.jpg');
  background-size: cover;
  background-position: center;
}
.photo-break::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,30,114,0.20) 0%, rgba(6,30,114,0.55) 100%);
}
@media (min-width: 900px) { .photo-break { height: 480px; } }

/* ============ WARUM BGM ============ */
.facts-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  margin-top: 56px;
}
@media (min-width: 900px) { .facts-grid { grid-template-columns: repeat(4, 1fr); } }
.fact {
  background: var(--navy);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.fact .num {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: var(--red);
}
.fact .label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.70);
}
.fact .desc {
  font-size: 0.95rem; line-height: 1.5;
  color: rgba(255,255,255,0.85);
  margin-top: auto;
}

/* ============ KONTAKT ============ */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px;
}
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 80px; } }

.field { display: block; margin-bottom: 26px; }
.field label {
  display: block; margin-bottom: 8px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-light);
}
.field label .opt { color: rgba(255,255,255,0.30); font-weight: 500; letter-spacing: 0; text-transform: none; }
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  color: #fff;
  font: inherit; font-size: 1.05rem;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.20);
  padding: 12px 0;
  transition: border-color 0.2s;
  border-radius: 0;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-bottom-color: var(--red); }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #C2C5CA 50%), linear-gradient(135deg, #C2C5CA 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 32px; }
.field select option { background: var(--bg); color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.30); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; gap: 24px; } }

.consent {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.88rem; color: var(--muted-light); line-height: 1.5;
  margin-bottom: 28px; cursor: pointer;
}
.consent input { accent-color: var(--red); margin-top: 2px; flex-shrink: 0; }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.direct h3 {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--muted-light); margin-bottom: 28px;
}
.direct-list { list-style: none; }
.direct-list li {
  padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.direct-list li:first-child { border-top: 1px solid rgba(255,255,255,0.12); }
.direct-list .label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-light); margin-bottom: 6px;
}
.direct-list .value {
  font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: #fff;
}
.direct-list .value a:hover { color: var(--red); }
.direct-list small { display: block; font-size: 0.88rem; font-weight: 500; color: var(--muted-light); margin-top: 4px; }

/* ============ FOOTER ============ */
.foot { background: var(--paper-2); color: var(--muted-on-paper); padding: 80px 0 36px; border-top: 1px solid rgba(0,0,0,0.10); }
.foot-top { display: grid; grid-template-columns: 1fr; gap: 48px; margin-bottom: 56px; }
@media (min-width: 800px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-logo img { height: 80px; width: auto; margin-bottom: 24px; }
.foot p { font-size: 0.95rem; line-height: 1.7; max-width: 44ch; color: var(--muted-on-paper); }
.foot h4 { color: var(--navy); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.20em; text-transform: uppercase; margin-bottom: 20px; }
.foot a { font-size: 0.95rem; line-height: 1.7; color: var(--ink); transition: color 0.2s; }
.foot a:hover { color: var(--red); }
.foot ul { list-style: none; }
.foot ul li { padding: 4px 0; }
.foot-bottom { border-top: 1px solid rgba(0,0,0,0.10); padding-top: 24px; display: grid; grid-template-columns: 1fr; gap: 12px; font-size: 0.84rem; color: var(--muted-on-paper); }
@media (min-width: 800px) { .foot-bottom { grid-template-columns: 1fr auto; align-items: center; } }
.foot-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-legal a { font-size: 0.84rem; color: var(--navy); }

::selection { background: var(--red); color: #fff; }

/* ============ BREADCRUMBS ============ */
.breadcrumbs {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
  padding: 14px 0;
  font-size: 0.84rem;
  color: var(--muted-on-paper);
  margin-top: 110px;
}
@media (max-width: 600px) { .breadcrumbs { margin-top: 76px; padding: 12px 0; font-size: 0.78rem; } }
.breadcrumbs .wrap { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.breadcrumbs a { color: var(--navy); font-weight: 600; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span[aria-current="page"] { color: var(--ink); font-weight: 700; }
.breadcrumbs .bc-sep { color: var(--paper-line-2); font-weight: 400; }

/* When breadcrumbs present, hero doesn't need padding-top for nav */
.breadcrumbs + .hero { padding-top: 0; min-height: calc(100vh - 110px - 40px); }
@media (max-width: 600px) { .breadcrumbs + .hero { min-height: calc(100vh - 76px - 40px); } }

/* ============ CITIES GRID (region pages) ============ */
.cities-grid {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--paper-line-2);
}
@media (min-width: 700px) { .cities-grid { grid-template-columns: 1fr 1fr; gap: 0 32px; } }
@media (min-width: 1024px) { .cities-grid { grid-template-columns: 1fr 1fr 1fr; } }
.cities-grid li {
  padding: 18px 0;
  border-bottom: 1px solid var(--paper-line);
}
.cities-grid li strong {
  display: block;
  font-size: 1.1rem; font-weight: 800;
  color: var(--navy); letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.cities-grid .city-meta {
  display: block;
  font-size: 0.85rem; color: var(--muted-on-paper);
  font-weight: 500;
}

/* ============ MATERIALIEN LIST (gewerk pages) ============ */
.materialien-list {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid var(--paper-line-2);
}
@media (min-width: 700px) { .materialien-list { grid-template-columns: 1fr 1fr; gap: 0 32px; } }
.materialien-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--paper-line);
  font-size: 1rem; font-weight: 600;
  color: var(--ink-2);
  position: relative;
  padding-left: 28px;
}
.materialien-list li::before {
  content: "■";
  position: absolute; left: 0; top: 18px;
  color: var(--red);
  font-size: 0.8rem;
  line-height: 1;
}

/* ============ STEPS-5 (5-step process) ============ */
.steps-5 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .steps-5 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps-5 { grid-template-columns: repeat(5, 1fr); border-top: none; } }

/* ============ regions-on-dark fixes (gewerk page navy section) ============ */
.regions-on-dark { border-top-color: rgba(255,255,255,0.20) !important; }
.regions-on-dark li { border-bottom-color: rgba(255,255,255,0.10) !important; }
.regions-on-dark .v { color: #fff !important; }
.regions-on-dark .v a {
  color: #fff !important;
  border-bottom: 2px solid var(--red);
}
.regions-on-dark .v a:hover { color: var(--red) !important; }
.regions-on-dark small { color: rgba(255,255,255,0.65) !important; }

/* ============ HERO BOTTOM FADE — smooth transition to next section ============ */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 25%;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, var(--paper) 100%);
  pointer-events: none;
}
/* On bone-following hero (region pages flow into bone section) */
.breadcrumbs + .hero::after {
  background: linear-gradient(180deg, transparent 0%, var(--paper-2) 100%);
}

/* Hero on subpages doesn't need full 100vh — content is shorter */
.breadcrumbs + .hero { min-height: 70vh; }
@media (min-width: 1024px) { .breadcrumbs + .hero { min-height: 75vh; } }

/* Index hero stays 100vh ale zmniejszamy padding-bottom dla content alignment */
.hero-inner { padding-bottom: 80px !important; }

/* ============ A11Y: SKIP-TO-CONTENT LINK ============ */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--red); color: #fff;
  padding: 12px 20px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.84rem;
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; outline: 2px solid #fff; outline-offset: 2px; }

/* ============ PRINT STYLESHEET ============ */
@media print {
  .nav, .mnu, .breadcrumbs, .hero-bg, .hero-mark, .hero::before, .hero::after,
  .burger, .nav-cta, .hero-stats, .hero-ctas, .skip-link, .sticky-cta,
  footer .foot-bottom, .photo-break { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  .hero, .section { padding: 24pt 0 !important; min-height: auto !important; background: #fff !important; color: #000 !important; }
  .hero h1, .h-section { color: #000 !important; }
  .hero h1 .red, .accent { color: #000 !important; font-weight: 900; }
  .service-photo, .hero-bg { display: none; }
  a { color: #000 !important; text-decoration: underline; }
  a[href^="http"]::after, a[href^="mailto:"]::after, a[href^="tel:"]::after {
    content: " (" attr(href) ")"; font-size: 9pt; color: #444;
  }
  .navy-section, .dark, .bone { background: #fff !important; color: #000 !important; }
  .lede, p { color: #222 !important; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ STICKY ANFRAGE CTA (subpages only) ============ */
.sticky-cta {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  background: var(--red); color: #fff;
  padding: 16px 22px;
  font-size: 0.86rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(228,36,58,0.30);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.sticky-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(228,36,58,0.45); color: #fff; }
.sticky-cta svg { width: 16px; height: 16px; }
@media (max-width: 600px) {
  .sticky-cta { bottom: 16px; right: 16px; padding: 14px 18px; font-size: 0.78rem; }
}

/* ============ MOBILE HERO STATS — 2x2 grid on small screens ============ */
@media (max-width: 600px) {
  .hero-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px;
    padding-top: 24px;
  }
  .hero-stats span { font-size: 0.86rem; }
  .hero-stats b { font-size: 1.2rem; }
}

/* ============ NAV: lepsza hierarchia mobile ============ */
@media (max-width: 1023px) {
  .nav-cta { display: none; }
}

/* ============ FAQ (accordion) ============ */
.faq-list {
  border-top: 1px solid var(--paper-line-2);
  max-width: 880px;
}
.faq-item {
  border-bottom: 1px solid var(--paper-line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 800; letter-spacing: -0.015em;
  color: var(--navy);
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--red); }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.6rem; font-weight: 400; line-height: 1;
  color: var(--red);
  transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 0 28px;
  max-width: 70ch;
  color: var(--muted-on-paper);
  font-size: 1.02rem; line-height: 1.65;
}

/* ============ MANNSCHAFT (branded photo section) ============ */
.mannschaft-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .mannschaft-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
}
.mannschaft-photo {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 60px rgba(6,30,114,0.18);
}
.mannschaft-photo img {
  width: 100%; height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.mannschaft-photo::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 64px;
  background: var(--red);
  clip-path: polygon(0 100%, 100% 100%, 0 0);
}
.mannschaft-text .eyebrow { margin-bottom: 24px; }

/* ============ REASSURANCE / RISK-REVERSAL LINE ============ */
.reassure {
  margin-top: 22px;
  display: inline-flex; flex-wrap: wrap; gap: 4px 10px;
  font-size: 0.92rem; font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--red);
}
.dark .reassure { color: #fff; }
.dark .reassure { opacity: 0.92; }
.reassure-dark { color: var(--navy); }
