/* ============================================================
   MIKI Karol Jakubowski – style.css
   WCAG 2.1 AA compliant · Mobile-first · Self-hosted fonts
   ============================================================ */

/* ── FONTS ─────────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-4.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── RESET & ROOT ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

:root {
  --clr-green: #0e7845;
  --clr-green-mid: #0e7845;
  --clr-green-light: #16a361;
  --clr-green-bg: #e6f7ef;
  --clr-green-dark: #08522f;
  --clr-blue-eu: #003399;
  --eu-bar-h: 52px;
  --clr-text: #1a1a1a;
  --clr-text-sec: #4b5563;
  --clr-bg: #f8f9fa;
  --clr-white: #ffffff;
  --clr-border: #d1d5db;
  --clr-error: #c0392b;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .10);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .14);
  --transition: .22s ease;
  --max-w: 100%;
  --nav-h: 68px;
}

/* ── ACCESSIBILITY ──────────────────────────────────────────── */
/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--clr-green-dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: .95rem;
  z-index: 9999;
  text-decoration: underline;
}

.skip-link:focus {
  left: 16px;
}

/* Visible focus ring – WCAG 2.4.7 */
:focus-visible {
  outline: 3px solid var(--clr-green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── BASE ───────────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--clr-text);
  background: var(--clr-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--eu-bar-h);
  overflow-x: hidden;
  /* prevent horizontal scroll on mobile */
}

a {
  color: var(--clr-green-dark);
  text-decoration: underline;
}

a:hover {
  color: var(--clr-green);
}

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

ul,
ol {
  list-style: none;
}

/* ── LAYOUT HELPERS ─────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

section {
  padding-block: 80px;
}

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-green-dark);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.7rem, 3.8vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1rem;
  color: var(--clr-text-sec);
  line-height: 1.75;
  max-width: 600px;
}

.section-header {
  margin-bottom: 52px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .section-sub {
  margin-inline: auto;
}

.text-green {
  color: var(--clr-green-light);
}

.bg-gray {
  background: var(--clr-bg);
}

.bg-dark-green {
  background: linear-gradient(135deg, var(--clr-green-dark) 0%, var(--clr-green) 100%);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-md);
  min-height: 48px;
  /* Mobile tap target >= 44px */
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: var(--transition);
}

.btn:focus-visible {
  outline-offset: 4px;
}

.btn-primary {
  background: var(--clr-green);
  color: #fff;
  border-color: var(--clr-green);
}

.btn-primary:hover {
  background: var(--clr-green-dark);
  border-color: var(--clr-green-dark);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--clr-green-dark);
}

.btn-white:hover {
  background: #e8f5ec;
  color: var(--clr-green-dark);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 3px solid var(--clr-green);
  box-shadow: var(--shadow-sm);
  height: var(--nav-h);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo-text {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--clr-green-dark);
  line-height: 1.2;
}

.nav-logo-text span {
  display: block;
  font-size: .72rem;
  font-weight: 500;
  color: var(--clr-text-sec);
  letter-spacing: .04em;
}

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

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--clr-text);
  text-decoration: none;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--clr-green-bg);
  color: var(--clr-green-dark);
}

.nav-links .nav-cta {
  background: var(--clr-green);
  color: #fff !important;
  padding: 9px 20px;
  font-weight: 600;
  margin-left: 8px;
}

.nav-links .nav-cta:hover {
  background: var(--clr-green-dark);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  padding: 6px;
  transition: var(--transition);
}

.nav-toggle:focus-visible {
  border-color: var(--clr-green);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: center;
    /* centred links */
    gap: 4px;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 24px 20px;
    border-bottom: 3px solid var(--clr-green);
    box-shadow: var(--shadow-md);
    text-align: center;
  }

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

  .nav-links a {
    padding: 12px 16px;
    border-radius: var(--r-sm);
    width: 100%;
    justify-content: center;
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }
}

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: #0f2c1a;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: .38;
  will-change: transform;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-block: 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50px;
  padding: 6px 18px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  margin-bottom: 24px;
  backdrop-filter: blur(6px);
}

#hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .4);
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.18rem);
  opacity: .9;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.stat-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .72;
  margin-top: 4px;
  display: block;
}

/* ── ABOUT ──────────────────────────────────────────────────── */
#o-firmie {
  background: var(--clr-bg);
}

.about-grid {
  display: block;
}

/* Removed grid to stretch text full width */
.about-text {
  max-width: 900px;
  margin: 0 auto;
}

/* Centered readable text block */
.about-text p {
  margin-bottom: 16px;
  color: var(--clr-text-sec);
  line-height: 1.8;
}

.about-text strong {
  color: var(--clr-text);
}

.location-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.location-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--transition);
}

.location-card:hover {
  box-shadow: var(--shadow-md);
}

.location-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--clr-green-bg);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--clr-green);
}

.location-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.location-card address {
  font-size: .95rem;
  color: var(--clr-text-sec);
  font-style: normal;
}

.infra-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.infra-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--clr-green);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--transition);
}

.infra-card:hover {
  box-shadow: var(--shadow-md);
  background: #fff;
}

.infra-card .icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.infra-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.infra-card p {
  font-size: .9rem;
  color: var(--clr-text-sec);
  line-height: 1.6;
}

@media (max-width: 820px) {

  .location-list,
  .infra-cards {
    grid-template-columns: 1fr;
  }
}

/* ── SERVICES ───────────────────────────────────────────────── */
#uslugi {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--clr-green);
  transition: height .35s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::after {
  height: 100%;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: block;
  line-height: 1;
  color: var(--clr-green);
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: .9rem;
  color: var(--clr-text-sec);
  line-height: 1.65;
}

/* ── FLEET / INFRA DARK ─────────────────────────────────────── */
#zaplecze {
  background: linear-gradient(160deg, #0f2c1a 0%, var(--clr-green-dark) 50%, var(--clr-green) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

#zaplecze::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/facility-1.webp');
  background-size: cover;
  background-position: center;
  opacity: .14;
}

#zaplecze .section-label {
  color: #a8f0be;
}

#zaplecze .section-title {
  color: #fff;
}

#zaplecze .section-sub {
  color: rgba(255, 255, 255, .78);
}

.infra-dark-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.infra-dark-card {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  backdrop-filter: blur(8px);
  transition: background var(--transition);
}

.infra-dark-card:hover {
  background: rgba(255, 255, 255, .15);
}

.infra-dark-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.infra-dark-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.infra-dark-card p {
  font-size: .88rem;
  opacity: .85;
  line-height: 1.65;
}

/* ── PHOTO GALLERY ──────────────────────────────────────────── */
#galeria {
  background: var(--clr-bg);
  padding-block: 64px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--r-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

/* ── EU FUNDING ─────────────────────────────────────────────── */
#projekt-ue {
  background: var(--clr-bg);
}

.eu-box {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 980px;
  margin-inline: auto;
}

.eu-header {
  background: linear-gradient(100deg, var(--clr-blue-eu) 0%, #0050cc 100%);
  color: #fff;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.eu-header-text h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.eu-header-text p {
  font-size: .87rem;
  opacity: .85;
}

.eu-logos-top {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.eu-logos-top .pill {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: .78rem;
  font-weight: 500;
}

.eu-body {
  padding: 36px;
}

.eu-nr {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-green-bg);
  color: var(--clr-green-dark);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: .78rem;
  font-weight: 700;
  font-family: monospace;
  margin-bottom: 18px;
}

.eu-body h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.35;
}

.eu-body>p {
  font-size: .95rem;
  color: var(--clr-text-sec);
  line-height: 1.8;
  margin-bottom: 14px;
}

.eu-outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.outcome {
  background: var(--clr-bg);
  border-radius: var(--r-md);
  padding: 16px 18px;
  border-left: 3px solid var(--clr-green);
}

.outcome strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--clr-green-dark);
  margin-bottom: 4px;
}

.outcome span {
  font-size: .84rem;
  color: var(--clr-text-sec);
  line-height: 1.5;
}

.eu-financials {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  background: var(--clr-green-bg);
  border-radius: var(--r-md);
  padding: 20px 24px;
  margin-top: 20px;
}

.eu-fin-item .lbl {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--clr-green-dark);
  margin-bottom: 5px;
}

.eu-fin-item .val {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--clr-text);
}

.eu-footer {
  padding: 18px 36px;
  border-top: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
}

.eu-footer span {
  font-size: .78rem;
  color: var(--clr-text-sec);
}

.eu-footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #ccc;
  border-radius: var(--r-sm);
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  color: #111;
  transition: var(--transition);
}

.eu-footer-pill:hover {
  background: var(--clr-green-bg);
  border-color: var(--clr-green);
  color: var(--clr-green-dark);
}

/* ── KPP / KPON ─────────────────────────────────────────────── */
#kpp-kpon {
  background: #fff;
}

.kpp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.kpp-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.kpp-info>p {
  font-size: .93rem;
  color: var(--clr-text-sec);
  line-height: 1.8;
  margin-bottom: 16px;
}

.kpp-who-box {
  background: var(--clr-green-bg);
  border-radius: var(--r-md);
  padding: 20px;
  margin-bottom: 24px;
}

.kpp-who-box h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--clr-green-dark);
  margin-bottom: 12px;
}

.kpp-who-box li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: #1a4d2c;
  padding: 4px 0;
}

.kpp-who-box li::before {
  content: '✓';
  font-weight: 700;
  color: var(--clr-green);
  flex-shrink: 0;
}

.kpp-contact-box {
  background: var(--clr-bg);
  border-radius: var(--r-md);
  padding: 20px 22px;
  border-left: 3px solid var(--clr-green);
  margin-top: 4px;
}

.kpp-contact-box h4 {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.kpp-contact-box p {
  font-size: .85rem;
  color: var(--clr-text-sec);
  margin-bottom: 8px;
  line-height: 1.6;
}

.kpp-contact-box p:last-child {
  margin-bottom: 0;
}

.kpp-contact-box a {
  color: var(--clr-green-dark);
}

/* Form card */
.form-card {
  background: var(--clr-bg);
  border-radius: var(--r-lg);
  padding: 32px;
}

.form-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-card .form-sub {
  font-size: .85rem;
  color: var(--clr-text-sec);
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 6px;
}

.form-group label abbr {
  color: var(--clr-error);
  text-decoration: none;
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: .9rem;
  color: var(--clr-text);
  background: #fff;
  transition: border-color var(--transition);
  line-height: 1.5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, .2);
}

/* In big-focus mode, show ring even on form inputs */
html.a11y-big-focus .form-group input:focus,
html.a11y-big-focus .form-group textarea:focus,
html.a11y-big-focus .form-group select:focus {
  outline: 5px solid #e53e3e !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 9px rgba(229, 62, 62, .2) !important;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--clr-green);
  cursor: pointer;
}

.form-check label {
  font-size: .83rem;
  color: var(--clr-text-sec);
  line-height: 1.55;
  cursor: pointer;
}

.form-check label a {
  color: var(--clr-green-dark);
}

.form-required-note {
  font-size: .78rem;
  color: var(--clr-text-sec);
  margin-bottom: 20px;
}

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

/* ── RODO ───────────────────────────────────────────────────── */
#rodo {
  background: #edfaf2;
  border-top: 2px solid #b2dfcc;
  padding-block: 48px;
}

.rodo-details summary {
  font-size: .95rem;
  font-weight: 700;
  color: var(--clr-green-dark);
  cursor: pointer;
  padding: 4px 0;
  border-radius: 3px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rodo-details summary::before {
  content: '▶';
  font-size: .7rem;
  transition: transform var(--transition);
}

.rodo-details[open] summary::before {
  transform: rotate(90deg);
}

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

.rodo-content {
  margin-top: 16px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--r-md);
}

.rodo-content h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.rodo-content ol {
  list-style: decimal;
  padding-left: 20px;
}

.rodo-content li {
  font-size: .88rem;
  color: var(--clr-text-sec);
  line-height: 1.75;
  margin-bottom: 10px;
}

.rodo-content li strong {
  color: var(--clr-text);
}

/* ── CONTACT ────────────────────────────────────────────────── */
#kontakt {
  background: var(--clr-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.contact-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
  display: block;
  color: var(--clr-green);
}

.contact-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card p,
.contact-card address {
  font-size: .88rem;
  color: var(--clr-text-sec);
  font-style: normal;
  line-height: 1.6;
}

.contact-card a {
  color: var(--clr-green-dark);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--clr-green);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: #0d1f12;
  color: #d1d5db;
  padding-top: 56px;
  padding-bottom: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

/* Footer logo */
.footer-brand>img {
  display: block;
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  filter: none !important;
  background: transparent !important;
}

.footer-brand p {
  font-size: .87rem;
  color: #9ca3af;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  font-size: .87rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col li a:hover {
  color: #7fffaa;
}

.footer-col li {
  font-size: .87rem;
  color: #9ca3af;
  line-height: 1.5;
}

.footer-col address {
  font-style: normal;
}

.footer-col address a {
  color: #9ca3af;
  text-decoration: underline;
}

.footer-col address a:hover {
  color: #7fffaa;
}

.footer-divider {
  border: none;
  border-top: 1px solid #1f3d28;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: .8rem;
  color: #9ca3af;
}

.footer-eu-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 6px 12px;
}

.footer-eu-bar span {
  font-size: .75rem;
  color: #9ca3af;
}

.eu-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1a2f1c;
  border: 1px solid #2d5e32;
  border-radius: var(--r-sm);
  padding: 5px 12px;
  font-size: .75rem;
  color: #9ca3af;
}

.footer-legal {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #1f3d28;
  font-size: .77rem;
  color: #4b5563;
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .about-visual {
    order: -1;
  }

  /* photo on top on mobile */
}

/* ── FOOTER NETWORK (MIKI + MIKI Recykling) – sits inside .footer-brand ── */
.footer-network {
  margin: 14px 0 0;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-network-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #9ca3af;
  white-space: nowrap;
}

/* Logo overlay wrapper: one combined PNG, two transparent link overlays */
.footer-logos-wrap {
  position: relative;
  display: inline-flex;
  border-radius: var(--r-sm);
  overflow: hidden;
}

.footer-logos-wrap img {
  height: 52px;
  width: auto;
  display: block;
  filter: none !important;
  background: transparent !important;
}

.footer-logo-link {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  transition: background .2s;
}

.footer-logo-link:first-of-type {
  left: 0;
}

.footer-logo-link:last-of-type {
  right: 0;
}

.footer-logo-link:hover {
  background: rgba(127, 255, 170, .18);
}

.footer-logo-link:focus-visible {
  outline: 3px solid var(--clr-green);
  outline-offset: -2px;
  border-radius: var(--r-sm);
}

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

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

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

  html {
    scroll-behavior: auto;
  }
}


/* ── FIXED EU LOGOS BAR ─────────────────────────────────────────────────── */
/* Always visible at bottom of page, fully responsive at all screen sizes    */
.eu-fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  min-height: var(--eu-bar-h);
  /* min-height not height = content never clips */
  background: #fff;
  border-top: 2px solid #003399;
  box-shadow: 0 -2px 12px rgba(0, 51, 153, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
}

.eu-fixed-bar .eu-fixed-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  flex-wrap: nowrap;
  overflow: visible;
  /* never clip logos */
}

.eu-fixed-bar .eu-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #003399;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Logo image: always contained within the bar */
.eu-fixed-bar .eu-logo-img,
.eu-fixed-bar .eu-logo-wrapper img {
  height: 34px;
  width: auto;
  max-width: 100%;
  display: block;
  flex-shrink: 1;
}

/* Overlay wrapper must be position:relative for the abs links */
.eu-fixed-bar .eu-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  line-height: 0;
}

/* Tablet (≤768px): hide text label, keep logo visible */
@media (max-width: 768px) {
  .eu-fixed-bar .eu-label {
    display: none;
  }

  .eu-fixed-bar .eu-logo-img,
  .eu-fixed-bar .eu-logo-wrapper img {
    height: 30px;
  }
}

/* Phone (≤480px): tighter padding, smaller logo */
@media (max-width: 480px) {
  .eu-fixed-bar {
    padding: 4px 10px;
  }

  .eu-fixed-bar .eu-logo-img,
  .eu-fixed-bar .eu-logo-wrapper img {
    height: 24px;
    max-width: calc(100vw - 24px);
  }
}

/* ── PRINT ──────────────────────────────────────────────────── */
@media print {

  #navbar,
  .hero-btns,
  .nav-toggle,
  #galeria,
  .eu-fixed-bar {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  #hero {
    min-height: auto;
  }

  body {
    font-size: 12pt;
  }
}

/* ────────────────────────────────────────────────────────────
   HEADER – fixed (always visible)
   ──────────────────────────────────────────────────────────── */
#navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
}

body {
  padding-top: var(--nav-h);
}

@media print {
  body {
    padding-top: 0;
  }
}

/* ────────────────────────────────────────────────────────────
   HAMBURGER – animated 3→X morphing
   ──────────────────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  padding: 8px;
  transition: border-color .2s;
  position: relative;
}

.nav-toggle:focus-visible {
  border-color: var(--clr-green);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.23, 1, .32, 1),
    opacity .25s ease,
    width .3s ease;
  transform-origin: center;
}

/* Animate to X */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Slide-down open animation for mobile menu */
.nav-links {
  transition: opacity .25s ease, transform .3s cubic-bezier(.23, 1, .32, 1);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    opacity: 0;
    transform: translateY(-8px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    border-bottom: 3px solid var(--clr-green);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: var(--r-sm);
  }

  .nav-links .nav-cta {
    margin-left: 0;
    text-align: center;
    justify-content: center;
  }
}

/* (duplicate footer-brand rule removed – see line ~522) */
/* EU logo image in bars */
.eu-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.eu-fixed-bar .eu-logo-img {
  height: 28px;
}

/* ────────────────────────────────────────────────────────────
   ACCESSIBILITY PANEL
   ──────────────────────────────────────────────────────────── */
#a11y-wrap {
  position: fixed;
  bottom: calc(var(--eu-bar-h) + 12px);
  left: 14px;
  z-index: 1100;
}

#a11y-trigger {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--clr-green);
  background: #fff;
  color: var(--clr-green-dark);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}

#a11y-trigger:hover {
  background: var(--clr-green);
  color: #fff;
  transform: scale(1.08);
}

#a11y-trigger:focus-visible {
  outline: 3px solid var(--clr-green);
  outline-offset: 3px;
}

#a11y-panel {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 0;
  width: 280px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .22);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  animation: a11yIn .2s ease;
}

@keyframes a11yIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.a11y-header {
  background: var(--clr-green-dark);
  color: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .9rem;
  font-weight: 700;
}

.a11y-close {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  border-radius: 4px;
  display: flex;
}

.a11y-close:focus-visible {
  outline: 2px solid #fff;
}

.a11y-intro {
  font-size: .78rem;
  color: var(--clr-text-sec);
  padding: 10px 14px 6px;
  line-height: 1.5;
  margin: 0;
}

.a11y-list {
  list-style: none;
  margin: 0;
  padding: 6px 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.a11y-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-family: inherit;
  font-size: .83rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--clr-text);
  transition: background .18s, border-color .18s;
  text-align: left;
}

.a11y-option i {
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--clr-text-sec);
}

.a11y-option span:nth-child(2) {
  flex: 1;
}

.a11y-option .a11y-badge {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #888;
  flex-shrink: 0;
}

.a11y-option:hover {
  background: var(--clr-green-bg);
  border-color: var(--clr-green);
}

.a11y-option.active {
  background: #e6f7ef;
  border-color: var(--clr-green);
  color: var(--clr-green-dark);
}

.a11y-option.active i {
  color: var(--clr-green);
}

.a11y-option.active .a11y-badge {
  color: var(--clr-green-dark);
}

.a11y-option:focus-visible {
  outline: 2px solid var(--clr-green);
  outline-offset: 1px;
}

.a11y-reset {
  width: 100%;
  margin: 0;
  background: none;
  border: none;
  border-top: 1px solid var(--clr-border);
  padding: 10px 14px;
  font-size: .8rem;
  font-family: inherit;
  color: var(--clr-text-sec);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
}

.a11y-reset:hover {
  background: #fef2f2;
  color: #c0392b;
}

/* ────────────────────────────────────────────────────────────
   ACCESSIBILITY MODE CLASSES (applied to <html>)
   ──────────────────────────────────────────────────────────── */
/* High contrast */
html.a11y-hc {
  --clr-green: #000000 !important;
  --clr-green-mid: #000000 !important;
  --clr-green-light: #333333 !important;
  --clr-green-bg: #ffffff !important;
  --clr-green-dark: #000000 !important;
  --clr-text: #000000 !important;
  --clr-text-sec: #000000 !important;
  --clr-bg: #ffffff !important;
  --clr-border: #000000 !important;
  background: #ffffff !important;
  color: #000000 !important;
  filter: contrast(1.05) saturate(0) !important;
}

html.a11y-hc * {
  border-color: #000000 !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

/* Large text: Scale base rem so ALL elements scale nicely */
html.a11y-text-lg {
  font-size: 19px !important;
}

/* Dyslexia font: Force everywhere */
@font-face {
  font-family: 'OpenDyslexic';
  src: local('OpenDyslexic'), local('Comic Sans MS');
}

html.a11y-dyslexia * {
  font-family: 'OpenDyslexic', 'Comic Sans MS', 'Comic Sans', cursive !important;
  letter-spacing: .06em !important;
  word-spacing: .12em !important;
  line-height: 1.8 !important;
}

/* Underline all links */
html.a11y-underlines a,
html.a11y-underlines button:not(.nav-toggle):not(.a11y-close) {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

/* No motion: stop all CSS animations & transitions */
html.a11y-no-motion *,
html.a11y-no-motion *::before,
html.a11y-no-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

/* But ensure elements that START at opacity:0 via animation are immediately visible */
html.a11y-no-motion .hero-content,
html.a11y-no-motion .hero-content>*,
html.a11y-no-motion .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* ── BIG FOCUS (Wyraźny fokus) – bullet-proof override ─────────────────────────── */
/* Applies when .a11y-big-focus class is added to <html> element.
   MUST override :focus:not(:focus-visible){outline:none} and
   .form-group input:focus{outline:none} etc.
   Using !important on every property. */
html.a11y-big-focus *:focus,
html.a11y-big-focus *:focus-visible,
html.a11y-big-focus *:focus:not(:focus-visible) {
  outline: 5px solid #e53e3e !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 9px rgba(229, 62, 62, .2) !important;
  border-radius: 3px !important;
  transition: none !important;
  /* prevent flash-then-hide */
}

/* ────────────────────────────────────────────────────────────
   STATS ROW (replaces gallery)
   ──────────────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.stat-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid transparent;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.stat-card:hover {
  border-color: var(--clr-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-card i {
  font-size: 1.9rem;
  color: var(--clr-green);
}

.stat-val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-green-dark);
  line-height: 1.1;
}

.stat-lbl {
  font-size: .82rem;
  color: var(--clr-text-sec);
  font-weight: 500;
}

@media (max-width: 700px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ────────────────────────────────────────────────────────────
   CONTACT LAYOUT (3-col: primary | locations | web)
   ──────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 260px;
  gap: 32px;
  align-items: start;
}

.contact-primary .contact-tagline {
  font-size: 1rem;
  color: var(--clr-text-sec);
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.contact-ctas .btn {
  justify-content: center;
  font-size: .95rem;
}

.contact-linkedin {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f0f7ff;
  border: 1px solid #c9dff7;
  border-radius: var(--r-md);
  color: #0a66c2;
  text-decoration: none;
  font-weight: 600;
  transition: background .18s;
}

.contact-linkedin:hover {
  background: #e0eeff;
}

.contact-linkedin i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-linkedin span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .9rem;
}

.contact-linkedin small {
  font-weight: 400;
  font-size: .78rem;
  color: #555;
}

.contact-facebook {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #f0f6ff;
  border: 1px solid #cce0ff;
  border-radius: var(--r-md);
  color: #1877f2;
  text-decoration: none;
  font-weight: 600;
  transition: background .18s;
}

.contact-facebook:hover {
  background: #e0edff;
}

.contact-facebook i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-facebook span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .9rem;
}

.contact-facebook small {
  font-weight: 400;
  font-size: .78rem;
  color: #555;
}

.contact-socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

/* Location cards */
.contact-locations {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 18px;
}

.loc-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--clr-green-bg);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-green);
  font-size: 1.1rem;
}

.location-card h3 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.location-card address {
  font-style: normal;
  font-size: .88rem;
  color: var(--clr-text-sec);
  line-height: 1.6;
}

.location-card a {
  color: inherit;
}

.location-card a:hover {
  color: var(--clr-green);
}

/* Web / data column */
.contact-web {
  padding: 20px;
  background: var(--clr-green-dark);
  border-radius: var(--r-lg);
  color: #c8e6d6;
}

.contact-web h3 {
  font-size: .85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.web-links {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.web-links a {
  color: #7fffaa;
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.web-links a:hover {
  color: #fff;
}

.contact-data {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 14px;
}

.contact-data p {
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  color: #c8e6d6;
}

.contact-data i {
  color: var(--clr-green);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-web {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-web {
    grid-column: 1 / -1;
    display: block;
  }

  .contact-ctas .btn {
    width: 100%;
    justify-content: center;
    word-break: break-word;
  }

  .contact-tagline,
  .contact-linkedin,
  .contact-facebook,
  .location-card,
  .contact-web {
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* ────────────────────────────────────────────────────────────
   RODO INLINE BOX
   ──────────────────────────────────────────────────────────── */
.rodo-section {
  background: #f0f7ef;
}

.rodo-box-inline {
  border: 1px solid #c3dfc3;
  border-radius: var(--r-lg);
  background: #fff;
  padding: 20px 28px;
  max-width: 860px;
  margin: 0 auto;
}

.rodo-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rodo-box-header>i {
  font-size: 1.3rem;
  color: var(--clr-green);
  flex-shrink: 0;
}

.rodo-box-header h3 {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-green-dark);
  margin: 0;
}

.rodo-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-green-bg);
  border: 1px solid var(--clr-green);
  border-radius: var(--r-sm);
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--clr-green-dark);
  cursor: pointer;
  font-family: inherit;
  transition: background .18s;
}

.rodo-toggle:hover {
  background: #c8e6d6;
}

.rodo-toggle[aria-expanded="true"] .bi-chevron-down {
  transform: rotate(180deg);
}

.rodo-toggle i {
  transition: transform .25s;
}

.rodo-toggle:focus-visible {
  outline: 2px solid var(--clr-green);
  outline-offset: 2px;
}

.rodo-summary {
  font-size: .88rem;
  color: var(--clr-text-sec);
  margin-bottom: 12px;
}

.rodo-list {
  font-size: .84rem;
  line-height: 1.7;
  color: var(--clr-text);
  padding-left: 20px;
}

.rodo-list li {
  margin-bottom: 6px;
}

/* ────────────────────────────────────────────────────────────
   EU FOOTER enhancements
   ──────────────────────────────────────────────────────────── */
.eu-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ────────────────────────────────────────────────────────────
   EU LOGO VISIBILITY FIX
   The overlay anchors (eu-link-fem etc.) use position:absolute and
   must be transparent - they're invisible hotspot links over the logo.
   DO NOT add background/border to them here.
   ──────────────────────────────────────────────────────────── */

/* ────────────────────────────────────────────────────────────
   MOBILE RESPONSIVENESS TWEAKS
   ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .eu-fixed-bar .eu-fixed-inner img {
    height: 28px !important;
    width: auto !important;
  }
}

/* ────────────────────────────────────────────────────────────
   FULLSCREEN RESPONSIVENESS TWEAKS
   ──────────────────────────────────────────────────────────── */
.container,
.nav-inner {
  max-width: 100%;
  padding-inline: 4vw;
  /* Dynamic padding for ultra-wide screens */
}

@media (min-width: 1600px) {

  .container,
  .nav-inner {
    padding-inline: 8vw;
  }
}

@media (max-width: 600px) {

  .container,
  .nav-inner {
    padding-inline: 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Ensure grids scale nicely on very wide screens without looking stretched out */
.stats-row {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-grid {
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4vw;
}

/* ────────────────────────────────────────────────────────────
   RWD COOKIE BANNER (RODO 2026 COMPLIANT)
   ──────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  /* Banner at TOP – far from EU fixed bar at the bottom */
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  z-index: 10000;
  padding: 24px 0;
  transform: translateY(-110%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 3px solid var(--clr-green);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  flex: 1;
}

.cookie-text h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--clr-green-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-text p {
  font-size: 0.88rem;
  color: var(--clr-text-sec);
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  background: #fff;
  border: 1.5px solid var(--clr-border);
  color: var(--clr-text);
  font-family: inherit;
}

.cookie-btn:hover {
  background: var(--clr-bg);
  border-color: #9ca3af;
}

.cookie-btn.accept {
  background: var(--clr-green);
  color: #fff;
  border-color: var(--clr-green);
}

.cookie-btn.accept:hover {
  background: var(--clr-green-dark);
  border-color: var(--clr-green-dark);
}

.cookie-btn.reject {
  color: var(--clr-error);
  border-color: #fca5a5;
}

.cookie-btn.reject:hover {
  background: #fef2f2;
  border-color: var(--clr-error);
}

@media (max-width: 860px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }
}

/* Modals */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.cookie-modal {
  background: #fff;
  width: 100%;
  max-width: 640px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.cookie-modal-overlay.show .cookie-modal {
  transform: scale(1);
}

.cookie-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--clr-green-dark);
}

.cookie-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--clr-text-sec);
  padding: 4px;
  border-radius: 4px;
}

.cookie-close:hover {
  background: var(--clr-bg);
  color: var(--clr-error);
}

.cookie-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.cookie-modal-body>p {
  font-size: 0.9rem;
  color: var(--clr-text-sec);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cookie-setting {
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}

.cookie-setting:last-child {
  margin-bottom: 0;
}

.cookie-setting-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.cookie-setting-top h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--clr-text);
}

.cookie-setting p {
  font-size: 0.85rem;
  color: var(--clr-text-sec);
  line-height: 1.5;
  margin: 0;
}

.cookie-req-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--clr-green-bg);
  color: var(--clr-green-dark);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #d1d5db;
  transition: .3s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

.cookie-toggle input:checked+.cookie-slider {
  background-color: var(--clr-green);
}

.cookie-toggle input:focus-visible+.cookie-slider {
  outline: 2px solid var(--clr-green-dark);
  outline-offset: 2px;
}

.cookie-toggle input:checked+.cookie-slider:before {
  transform: translateX(20px);
}

.cookie-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}



.cookie-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ── HERO ENTRANCE COMPONENT ────────────────────────────────── */
.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SCROLLSPY MENU ─────────────────────────────────────────── */
.nav-links a[aria-current="page"],
.nav-links a.active-section {
  background: var(--clr-green-bg);
  color: var(--clr-green-dark);
  font-weight: 700;
}

/* Keep nav-cta (Kontakt button) dark green even when active */
.nav-links .nav-cta.active-section,
.nav-links .nav-cta[aria-current="page"] {
  background: var(--clr-green-dark) !important;
  color: #fff !important;
  border-color: var(--clr-green-dark) !important;
}

.cookie-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--clr-border);
  background: var(--clr-bg);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ── HERO ENTRANCE COMPONENT ────────────────────────────────── */
.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SCROLLSPY MENU ─────────────────────────────────────────── */
.nav-links a[aria-current="page"],
.nav-links a.active-section {
  background: var(--clr-green-bg);
  color: var(--clr-green-dark);
  font-weight: 700;
}

/* Keep nav-cta (Kontakt button) dark green even when active */
.nav-links .nav-cta.active-section,
.nav-links .nav-cta[aria-current="page"] {
  background: var(--clr-green-dark) !important;
  color: #fff !important;
  border-color: var(--clr-green-dark) !important;
}

/* ── EU LOGOS CLICKABLE WRAPPER ──────────────────────────────── */
.eu-logo-wrapper {
  position: relative;
  display: inline-block;
  line-height: 0;
  max-width: 100%;
}

.eu-logo-wrapper img {
  display: block;
  max-width: 100%;
  height: auto;
}

.eu-link-fem,
.eu-link-rp,
.eu-link-ue,
.eu-link-mal {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 2;
  background: transparent;
  border: none;
  text-decoration: none;
  display: block;
  color: transparent;
  font-size: 0;
}

.eu-link-fem {
  left: 0;
  width: 28%;
}

.eu-link-rp {
  left: 28%;
  width: 22%;
}

.eu-link-ue {
  left: 50%;
  width: 22%;
}

.eu-link-mal {
  left: 72%;
  width: 28%;
}

/* ── FLOATING CONTROLS (Scroll To Top & Cookies) ──────────────── */
.floating-controls {
  position: fixed;
  right: 20px;
  bottom: calc(var(--eu-bar-h, 52px) + 20px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 850;
  pointer-events: none;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-white);
  color: var(--clr-text);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.8);
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s, color 0.2s;
  text-decoration: none;
}

.float-btn.visible {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.float-btn:hover {
  background: var(--clr-green);
  color: #fff;
  border-color: var(--clr-green);
}

/* Cookie settings button always visible; scroll-top visible only after scrolling */
.float-btn.float-btn-cookie {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
  color: var(--clr-green-dark);
}

@media (max-width: 600px) {

  /* Ensure both buttons are reachable on mobile */
  .floating-controls {
    right: 14px;
    bottom: calc(var(--eu-bar-h, 52px) + 12px);
    gap: 8px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: #0f2c1a;
  color: rgba(255, 255, 255, .75);
  padding-block: 56px 0;
}

footer h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin-bottom: 16px;
}

footer a {
  color: rgba(255, 255, 255, .75);
}

footer a:hover {
  color: #fff;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer li,
footer address {
  font-size: .88rem;
  line-height: 1.6;
  font-style: normal;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* JPEG logo inverted so it shows as white on dark green footer */
.footer-brand img {
  width: 120px;
  height: auto;
  border-radius: var(--r-md);
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .8);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: .8rem;
  color: rgba(255, 255, 255, .75);
}

.footer-eu-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* EU logo image inside footer – explicit height needed (overrides global height:auto) */
.footer-eu-bar .eu-logo-wrapper {
  display: block;
  position: relative;
  line-height: 0;
}

.footer-eu-bar .eu-logo-wrapper img {
  height: 28px !important;
  width: auto !important;
  display: block;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ── ACCESSIBILITY BIG FOCUS – consolidated, no duplicate rules ─── */
/* (Primary rule already defined near line 859 using html.a11y-big-focus) */

/* ── ACCESSIBILITY HIGH CONTRAST ─────────────────────────── */
.a11y-hc {
  filter: contrast(1.35);
}

/* ── ACCESSIBILITY BIGGER TEXT ───────────────────────────── */
.a11y-text-lg {
  font-size: 120% !important;
}

/* ── ACCESSIBILITY DYSLEXIA FONT ─────────────────────────── */
.a11y-dyslexia * {
  font-family: 'Comic Sans MS', 'OpenDyslexic', cursive !important;
}

/* ── ACCESSIBILITY UNDERLINE LINKS ───────────────────────── */
.a11y-underlines a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ── ACCESSIBILITY NO MOTION ─────────────────────────────── */
.a11y-no-motion *,
.a11y-no-motion *::before,
.a11y-no-motion *::after {
  animation-duration: 0s !important;
  transition-duration: 0s !important;
}


/* ── RODO SECTION (index.html inline) ────────────────────── */
.rodo-section {
  padding-block: 32px;
  background: var(--clr-bg);
}

.rodo-box-inline {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.rodo-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.rodo-box-header i {
  font-size: 1.3rem;
  color: var(--clr-green);
}

.rodo-box-header h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
}

.rodo-summary {
  font-size: .9rem;
  color: var(--clr-text-sec);
  line-height: 1.7;
}

.rodo-summary a {
  font-weight: 600;
}

/* ── A11Y PANEL ──────────────────────────────────────────── */
#a11y-wrap {
  position: fixed;
  bottom: calc(var(--eu-bar-h, 44px) + 20px);
  left: 20px;
  z-index: 900;
}

#a11y-trigger {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-white);
  color: var(--clr-green-dark);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

#a11y-trigger:hover {
  background: var(--clr-green);
  color: #fff;
  border-color: var(--clr-green);
}

#a11y-panel {
  position: absolute;
  bottom: 56px;
  left: 0;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  width: 280px;
  border: 1px solid var(--clr-border);
  overflow: hidden;
}

.a11y-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: var(--clr-green-dark);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
}

.a11y-header span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a11y-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, .8);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.a11y-close:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.a11y-intro {
  font-size: .8rem;
  color: var(--clr-text-sec);
  padding: 12px 18px 6px;
  line-height: 1.5;
}

.a11y-list {
  list-style: none !important;
  padding: 6px 10px !important;
  margin: 0 !important;
}

.a11y-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: none;
  font-size: .85rem;
  color: var(--clr-text);
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: background 0.15s;
  text-align: left;
}

.a11y-option:hover {
  background: var(--clr-bg);
}

.a11y-option i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.a11y-option span:first-of-type {
  flex: 1;
}

.a11y-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--clr-bg);
  color: var(--clr-text-sec);
}

.a11y-option.active .a11y-badge {
  background: var(--clr-green-bg);
  color: var(--clr-green-dark);
}

.a11y-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% - 20px);
  margin: 6px 10px 12px;
  padding: 8px;
  border: 1px dashed var(--clr-border);
  background: none;
  font-size: .8rem;
  color: var(--clr-text-sec);
  cursor: pointer;
  border-radius: var(--r-sm);
}

.a11y-reset:hover {
  background: #fef2f2;
  color: var(--clr-error);
  border-color: #fca5a5;
}