/* ============================================================
   Pflege-24.at — clean rebuild stylesheet (2026)
   Mobile-first. Eine Datei. Keine WordPress/Elementor-Abhängigkeit.
   Palette: teal #066b7b + grün #4ea51b + cream + ink.
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  /* Spokojne „aurora-mesh" tło — bardzo subtelne, przypięte; karty (#fff) odbijają się od tła. */
  background-color: var(--paper);
  background-image:
    radial-gradient(1100px 720px at 100% -8%, rgba(6,107,123,0.07), transparent 58%),
    radial-gradient(980px 680px at -8% 16%, rgba(78,165,27,0.055), transparent 55%),
    radial-gradient(900px 820px at 55% 116%, rgba(236,246,227,0.55), transparent 62%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
/* --- globalny bezpiecznik przeciw poziomemu overflow na mobile --- */
* { min-width: 0; }
p, h1, h2, h3, h4, h5, li, a, span, strong, em, td, th { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5, h6 { line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }

/* ---------- Tokens ---------- */
:root {
  --teal:        #066b7b;
  --teal-dark:   #044f5b;
  --teal-light:  #0b8798;
  --green:       #4ea51b;
  --green-dark:  #3a8514;
  --cream:       #ecf6e3;
  --cream-2:     #e9eff2;
  --ink:         #102023;
  --ink-2:       #2f3a44;
  --muted:       #5a6570;
  --line:        #d3dde1;
  --line-soft:   #e8eef0;
  --bg-soft:     #f4f8f9;
  --paper:       #f5f7f6;   /* baza zamiast czystej bieli — mniej „szpitalnego" chłodu */

  --radius:      14px;
  --radius-lg:   22px;
  --radius-pill: 999px;

  --shadow-sm:   0 6px 18px -10px rgba(6,60,75,0.22);
  --shadow:      0 14px 34px -16px rgba(6,60,75,0.28);
  --shadow-lg:   0 26px 56px -24px rgba(6,60,75,0.38);

  --ease:        cubic-bezier(.22,.61,.36,1);
  --maxw:        1200px;
  --gut:         20px;
  --header-h:    68px;
}
@media (min-width: 768px) { :root { --gut: 28px; --header-h: 76px; } }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.container--narrow { max-width: 820px; }
.container--wide { max-width: 1320px; }
.section { padding-block: clamp(44px, 8vw, 90px); }
.section--cream { background: linear-gradient(180deg, #eef3f5 0%, #e5edf0 100%); }
.section--soft { background: linear-gradient(180deg, #f8fbfb 0%, #edf4f5 100%); }
.section--ink { background: linear-gradient(180deg,#16242a 0%,#0e1a1f 100%); color:#dfe7ea; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(6,107,123,0.10);
  border: 1px solid rgba(6,107,123,0.24);
  color: var(--teal-dark);
  font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 7px 15px; border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.eyebrow::before { content:""; width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px rgba(78,165,27,0.20); }
.eyebrow--green { background: rgba(78,165,27,0.12); border-color: rgba(78,165,27,0.30); color: var(--green-dark); }

.h1 { font-size: clamp(1.9rem, 6vw, 3.3rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); }
.h2 { font-size: clamp(1.55rem, 4.4vw, 2.4rem); line-height: 1.14; letter-spacing: -0.025em; color: var(--ink); }
.h3 { font-size: clamp(1.2rem, 2.6vw, 1.45rem); color: var(--ink); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); line-height: 1.65; }
.muted { color: var(--muted); }
em.hl { font-style: normal; color: var(--teal); }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.h2 + .lead { margin-top: 14px; }

/* heading deco bar */
.h2.deco::before, .deco-h::before {
  content:""; display:block; width:58px; height:4px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 4px; margin-bottom: 16px;
}
.center .h2.deco::before, .center.deco-h::before { margin-inline:auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15.5px; letter-spacing: 0.01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  text-align: center;
}
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 14px 30px -14px rgba(6,107,123,0.55); }
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(6,107,123,0.7); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 14px 30px -14px rgba(78,165,27,0.5); }
.btn--green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn--on-dark { background: #fff; color: var(--teal); }
.btn--on-dark:hover { background: var(--cream); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.10); }
.btn--block { width: 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: var(--header-h);
}
.site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.site-logo img { height: 42px; width: auto; }
@media (min-width: 768px) { .site-logo img { height: 48px; } }

/* desktop nav */
.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 2px; }
  .nav__item { position: relative; }
  .nav__link {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 10px 13px; font-size: 14.5px; font-weight: 600; color: var(--ink);
    border-radius: 8px; transition: color .2s var(--ease);
    white-space: nowrap;
  }
  .nav__link:hover, .nav__item--active > .nav__link { color: var(--teal); }
  .nav__item--has-children > .nav__link::after {
    content:""; width:7px; height:7px; border-right:2px solid currentColor; border-bottom:2px solid currentColor;
    transform: rotate(45deg) translateY(-2px); opacity:.55; transition: transform .2s var(--ease);
  }
  .nav__item--has-children:hover > .nav__link::after { transform: rotate(225deg) translateY(0); }
  .nav__sub {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav__item--has-children:hover .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__sub a { display: block; padding: 10px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .15s, color .15s; }
  .nav__sub a:hover { background: var(--cream); color: var(--teal); }
}
.nav__cta { margin-left: 8px; }

/* hamburger */
.nav-toggle {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 46px; height: 46px; flex: 0 0 auto; padding: 0;
  background: var(--cream); border: 1px solid rgba(6,107,123,0.20); border-radius: 12px; cursor: pointer;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle__bar { display: block; width: 22px; height: 2.5px; background: var(--teal); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* mobile drawer */
.mobile-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 999;
  height: calc(100dvh - var(--header-h));
  background: #fff; padding: 16px var(--gut) 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .3s var(--ease);
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.is-open { transform: translateX(0); }
body.nav-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }
.mobile-nav__list > li { border-bottom: 1px solid var(--line-soft); }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.mobile-nav__link[aria-current] { color: var(--teal); }
.mobile-nav__sub-toggle { background: none; border: none; cursor: pointer; }
.mobile-nav__sub-toggle .chev { width:9px;height:9px;border-right:2px solid var(--teal);border-bottom:2px solid var(--teal);transform:rotate(45deg);transition:transform .25s var(--ease);display:inline-block; }
.mobile-nav__group.is-open .mobile-nav__sub-toggle .chev { transform: rotate(225deg); }
.mobile-nav__sub { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); background: var(--bg-soft); border-radius: 12px; margin-bottom: 6px; }
.mobile-nav__group.is-open .mobile-nav__sub { max-height: 400px; }
.mobile-nav__sub a { display: block; padding: 13px 18px; font-size: 15px; color: var(--ink-2); }
.mobile-nav__sub a::before { content:"› "; color: var(--teal); font-weight: 700; }
.mobile-nav__cta { margin-top: 20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 560px at 92% -10%, rgba(78,165,27,0.16), transparent 60%),
    radial-gradient(840px 480px at -8% 112%, rgba(6,107,123,0.12), transparent 60%),
    linear-gradient(180deg, var(--cream-2) 0%, #fff 100%);
  padding-block: clamp(40px, 8vw, 90px);
}
.hero__grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; } }
.hero__title { font-size: clamp(2rem, 6.2vw, 3.6rem); line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 20px; }
.hero__title em { font-style: normal; color: var(--teal); }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 540px; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 24px 34px; margin-top: 36px; }
.hero__trust-num { font-size: 26px; font-weight: 800; color: var(--teal); line-height: 1; letter-spacing: -0.02em; }
.hero__trust-lbl { font-size: 13px; color: var(--muted); line-height: 1.35; margin-top: 4px; }
.hero__visual {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background-size: cover; background-position: center; box-shadow: var(--shadow-lg);
}
@media (max-width: 899px) { .hero__visual { aspect-ratio: 16/11; } }
@media (min-width: 900px) { .hero__visual { max-height: 580px; } }

/* Region-Hero: gleiches 2-Spalten-Layout wie Home (war im alten CSS Grid) */
.region-hero__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .region-hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 48px; } }
.region-hero .hero__visual { aspect-ratio: 4/3; max-height: 440px; }
.hero__badge {
  position: absolute; left: 14px; bottom: 14px;
  background: #fff; padding: 14px 16px; border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 80%;
}
.hero__badge-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--cream); display: grid; place-items: center; font-size: 20px; flex: 0 0 auto; }
.hero__badge-text { font-size: 12.5px; color: var(--ink-2); line-height: 1.3; }
.hero__badge-text strong { display: block; color: var(--ink); font-size: 13.5px; }

/* page hero (subpages) */
.pagehero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 100% -10%, rgba(78,165,27,0.13), transparent 60%),
    radial-gradient(700px 400px at -6% 116%, rgba(6,107,123,0.10), transparent 60%),
    linear-gradient(180deg, var(--cream-2) 0%, #fff 100%);
  padding-block: clamp(40px, 7vw, 80px);
  border-bottom: 1px solid var(--line-soft);
}
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); margin-bottom: 16px; }
.crumb a { color: var(--muted); } .crumb a:hover { color: var(--teal); }
.crumb .sep { width: 14px; height: 1px; background: var(--line); }
.pagehero__title { font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 16px; }
.pagehero__title em { font-style: normal; color: var(--teal); }
.pagehero__lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--ink-2); max-width: 640px; }

/* ============================================================
   GRID + CARDS
   ============================================================ */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--4 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .grid--3 { grid-template-columns: repeat(3,1fr); } .grid--4 { grid-template-columns: repeat(4,1fr); } }

/* feature card (icon top) */
.feature {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .2s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.feature__icon {
  width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 20px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--green) 100%); color: #fff;
  display: grid; place-items: center; font-size: 30px;
  box-shadow: 0 14px 28px -12px rgba(6,107,123,0.5);
  transition: transform .3s var(--ease);
}
.feature:hover .feature__icon { transform: scale(1.06) rotate(-4deg); }
.feature__title { font-size: 1.08rem; color: var(--ink); margin-bottom: 8px; }
.feature__text { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* benefit row (icon left) */
.benefit {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line-soft); border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-left-color .2s var(--ease);
}
.benefit:hover { transform: translateX(4px); box-shadow: var(--shadow); border-left-color: var(--green); }
.benefit__icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 15px; background: linear-gradient(135deg, var(--teal), var(--green)); color: #fff; display: grid; place-items: center; font-size: 21px; }
.benefit__title { font-size: 1.08rem; color: var(--ink); margin-bottom: 5px; }
.benefit__text { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }

/* generic content card */
.card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.card--green { background: linear-gradient(180deg,#f1faea 0%,#e6f4d9 100%); border-color: rgba(78,165,27,0.28); }
.card--teal { background: linear-gradient(135deg,var(--teal) 0%,var(--teal-dark) 100%); color:#fff; border:none; }
.card--teal :is(h2,h3,h4,p) { color:#fff; }

/* check list */
.checks { display: grid; gap: 2px; }
.checks li { position: relative; padding: 11px 0 11px 36px; border-bottom: 1px solid var(--line-soft); font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.checks li:last-child { border-bottom: none; }
.checks li::before { content:"✓"; position: absolute; left: 0; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color:#fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

/* steps (numbered) */
.steps { display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 768px) { .steps--row { grid-template-columns: repeat(4,1fr); } }
.step { counter-increment: step; position: relative; background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.step::before { content: counter(step,decimal-leading-zero); display:inline-grid; place-items:center; width:46px; height:46px; border-radius:13px; background: linear-gradient(135deg,var(--teal),var(--teal-light)); color:#fff; font-weight:800; font-size:18px; margin-bottom:14px; box-shadow:0 8px 18px -8px rgba(6,107,123,0.5); }
.step__title { font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.step__text { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* CTA stripe */
.cta-stripe {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: var(--radius-lg); padding: clamp(30px,5vw,52px); color:#fff;
  display: grid; gap: 20px; align-items: center; box-shadow: var(--shadow-lg);
}
@media (min-width: 760px) { .cta-stripe { grid-template-columns: 1fr auto; } }
.cta-stripe__title { font-size: clamp(1.35rem,2.4vw,1.9rem); color:#fff; margin-bottom: 6px; }
.cta-stripe__sub { color: rgba(255,255,255,0.9); }
@media (max-width: 759px) { .cta-stripe { text-align: center; } }

/* testimonial */
.quote-card { background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); position: relative; }
.quote-card::before { content:"\201C"; font-family: Georgia, serif; font-size: 70px; color: var(--teal); opacity:.25; position:absolute; top:6px; left:20px; line-height:1; }
.quote-card__text { font-size: 1.1rem; font-style: italic; color: var(--ink); line-height: 1.55; margin: 18px 0 18px; }
.quote-card__author { display: flex; align-items: center; gap: 12px; }
.quote-card__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--teal); font-weight: 800; }
.quote-card__name { font-weight: 800; color: var(--ink); font-size: 14.5px; }
.quote-card__role { font-size: 12.5px; color: var(--muted); }

/* ============================================================
   ARTICLE
   ============================================================ */
.article-hero { background: radial-gradient(800px 380px at 100% 0%, rgba(78,165,27,0.10), transparent 55%), radial-gradient(600px 340px at 0% 100%, rgba(6,107,123,0.10), transparent 55%), linear-gradient(180deg,#eaf2f4 0%,#fff 100%); padding-block: clamp(40px,7vw,80px); border-bottom: 1px solid var(--line-soft); }
.article-hero__cat { display: inline-flex; align-items: center; gap: 8px; background: rgba(6,107,123,0.12); border:1px solid rgba(6,107,123,0.26); color: var(--teal-dark); font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:7px 15px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.article-hero__cat::before { content:""; width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(78,165,27,0.18); }
.article-hero__title { font-size: clamp(1.8rem,4.6vw,2.9rem); line-height:1.1; color: var(--ink); margin-bottom: 16px; }
.article-hero__lead { font-size: clamp(1.02rem,1.3vw,1.18rem); color: var(--ink-2); max-width: 720px; margin-bottom: 26px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.article-meta__author { display: flex; align-items: center; gap: 11px; }
.article-meta__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--teal); font-weight: 800; }
.article-meta__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.article-meta__role { font-size: 12.5px; color: var(--muted); }
.article-meta__item { font-size: 13px; color: var(--muted); }
.article-hero__image { margin-top: 26px; aspect-ratio: 16/9; border-radius: var(--radius-lg); background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }

.article-body { padding-block: clamp(36px,6vw,70px); }
.article-layout { display: grid; gap: 28px; }
@media (min-width: 980px) { .article-layout { grid-template-columns: 250px 1fr; gap: 52px; align-items: start; } }
.toc { background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); font-size: 14px; }
@media (min-width: 980px) { .toc { position: sticky; top: calc(var(--header-h) + 16px); } }
.toc__title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.toc ol { counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.4; }
.toc a::before { content: counter(toc,decimal-leading-zero); color: var(--teal); font-weight: 700; font-size: 12px; }
.toc a:hover { color: var(--teal); }

.prose { max-width: 740px; font-size: 17px; line-height: 1.78; color: var(--ink-2); }
.prose > p { margin-bottom: 18px; }
.prose > h2 { font-size: clamp(1.45rem,2.4vw,1.85rem); color: var(--ink); margin: 46px 0 14px; scroll-margin-top: 100px; }
.prose > h2::before { content:""; display:block; width:50px; height:4px; background: linear-gradient(90deg,var(--teal),var(--green)); border-radius:4px; margin-bottom:14px; }
.prose > h3 { font-size: 1.2rem; color: var(--ink); margin: 30px 0 10px; scroll-margin-top: 100px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--teal); }
.prose a:not(.btn):not(.inline-cta) { color: var(--teal); text-decoration: underline; text-decoration-color: rgba(6,107,123,0.35); text-underline-offset: 3px; }
.prose a:not(.btn):not(.inline-cta):hover { text-decoration-color: var(--teal); }
.prose strong { color: var(--ink); }
.prose > p:first-child { font-size: 1.1rem; color: var(--ink); font-weight: 500; }

/* article modules */
.pullquote { position: relative; margin: 34px 0; padding: 26px 26px 26px 74px; background: linear-gradient(135deg,#eef7f9,#fff); border-left: 5px solid var(--teal); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.pullquote::before { content:"\201C"; position: absolute; left: 20px; top: 4px; font-family: Georgia, serif; font-size: 72px; color: var(--teal); opacity:.32; line-height:1; }
.pullquote__text { font-size: 1.15rem; font-style: italic; color: var(--ink); line-height: 1.55; margin-bottom: 14px; font-weight: 500; }
.pullquote__author { display: flex; align-items: center; gap: 13px; }
.pullquote__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--teal); font-weight: 800; }
.pullquote__name { font-weight: 800; color: var(--ink); font-size: 14.5px; }
.pullquote__role { font-size: 12.5px; color: var(--muted); }

.calc { margin: 34px 0; background: linear-gradient(135deg,#f7faf3,#fff); border: 2px solid rgba(78,165,27,0.3); border-radius: var(--radius); padding: 24px 26px; box-shadow: 0 12px 30px -16px rgba(78,165,27,0.3); position: relative; }
.calc::before { content:"≡ Modellrechnung"; position: absolute; top: -12px; left: 18px; background: var(--green); color:#fff; font-size: 11px; font-weight: 800; letter-spacing:.07em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); }
.calc__title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 6px 0 16px; }
.calc__rows { font-variant-numeric: tabular-nums; font-size: 15px; }
.calc__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed rgba(6,107,123,0.2); }
.calc__row:last-of-type { border-bottom: 1px solid var(--ink); }
.calc__row span:first-child { color: var(--ink-2); }
.calc__row span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.calc__row.sub span:last-child { color: var(--green-dark); }
.calc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding-top: 14px; }
.calc__total span:first-child { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing:.05em; color: var(--muted); }
.calc__total span:last-child { font-size: 1.8rem; font-weight: 800; color: var(--teal); white-space: nowrap; letter-spacing: -0.02em; }
.calc__note { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(6,107,123,0.1); font-size: 13px; color: var(--muted); font-style: italic; line-height: 1.5; }

.note { margin: 26px 0; padding: 18px 22px 18px 60px; border-radius: var(--radius); border-left: 5px solid; position: relative; font-size: 15.5px; line-height: 1.6; }
.note::before { position: absolute; left: 18px; top: 17px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color:#fff; font-weight: 800; }
.note__title { display: block; font-weight: 800; font-size: .9em; text-transform: uppercase; letter-spacing:.05em; margin-bottom: 5px; }
.note--info { background:#eef7f9; border-color: var(--teal); color: var(--ink-2); }
.note--info::before { content:"i"; background: var(--teal); font-family: Georgia, serif; }
.note--tip { background:#f3faea; border-color: var(--green); color: var(--ink-2); }
.note--tip::before { content:"✓"; background: var(--green); font-size: 15px; }
.note--warning { background:#fff4d6; border-color:#d49a16; color:#5d4716; }
.note--warning::before { content:"!"; background:#d49a16; }

.table-wrap { margin: 28px 0; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); overscroll-behavior-x: contain; }
table.data { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 14.5px; }
table.data thead { background: linear-gradient(180deg,#f3f8fa,#e9eff2); }
table.data th { text-align: left; padding: 13px 16px; font-size: 12.5px; font-weight: 800; letter-spacing:.04em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--line); white-space: nowrap; }
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; }
table.data tr:nth-child(even) td { background: #fafbfc; }
table.data tr:last-child td { border-bottom: none; }
table.data .num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); white-space: nowrap; }
table.data tr.hl td { background: rgba(78,165,27,0.08); }
table.data tr.hl td:first-child { font-weight: 800; color: var(--ink); }

.inline-cta { display: inline-flex; align-items: center; gap: 9px; background: var(--teal); color:#fff; padding: 12px 22px; border-radius: var(--radius-pill); font-weight: 700; font-size: 15px; box-shadow: 0 10px 22px -10px rgba(6,107,123,0.5); transition: transform .2s var(--ease), background .2s; margin: 6px 0; }
.inline-cta:hover { background: var(--teal-dark); transform: translateY(-2px); color:#fff; }

/* in-prose numbered step list */
ol.article-steps { list-style: none; padding: 0; margin: 28px 0; counter-reset: astep; display: grid; gap: 14px; }
ol.article-steps li { counter-increment: astep; position: relative; background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius); padding: 18px 22px 18px 76px; box-shadow: var(--shadow-sm); }
ol.article-steps li::before { content: counter(astep); position: absolute; left: 18px; top: 18px; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg,var(--teal),var(--teal-light)); color:#fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 6px 14px -6px rgba(6,107,123,0.5); }
ol.article-steps li strong { display: block; margin-bottom: 4px; color: var(--ink); }
ol.article-steps li::marker { content: none; }

/* article related + final CTA */
.article-related { background: var(--cream-2); padding-block: clamp(40px,6vw,64px); border-top: 1px solid var(--line-soft); }
.article-related__title { text-align: center; margin-bottom: 28px; }
.article-cta { background: linear-gradient(135deg,var(--teal) 0%,var(--teal-dark) 100%); color:#fff; padding-block: clamp(40px,6vw,72px); text-align: center; }
.article-cta__title { color:#fff; font-size: clamp(1.5rem,3vw,2.1rem); margin-bottom: 14px; }
.article-cta__lead { color: rgba(255,255,255,0.92); font-size: 1.08rem; max-width: 620px; margin: 0 auto 26px; }
.article-cta__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.article-cta__buttons .btn--primary { background:#fff; color: var(--teal); }
.article-cta__buttons .btn--primary:hover { background: var(--cream); }
.article-cta__buttons .btn--ghost { background: transparent; color:#fff; border-color: rgba(255,255,255,0.55); }
.article-cta__buttons .btn--ghost:hover { border-color:#fff; background: rgba(255,255,255,0.1); color:#fff; }

/* ============================================================
   MOBILE — dopracowanie, nic nie wykracza poza ekran
   ============================================================ */
@media (max-width: 600px) {
  .prose { font-size: 16px; line-height: 1.7; }
  .prose > h2 { font-size: 1.4rem; }
  .prose > h3 { font-size: 1.12rem; }
  /* tabele: kompaktowo + płynny scroll wewnątrz ramki (nie łamie strony) */
  table.data { font-size: 13px; min-width: 440px; }
  table.data th { padding: 10px 11px; font-size: 11px; }
  table.data td { padding: 10px 11px; }
  /* hint że tabelę można przewijać w bok */
  .table-wrap { position: relative; }
  /* calc — etykiety mogą się zawijać, kwoty trzymają się prawej */
  .calc { padding: 20px 16px; }
  .calc__rows { font-size: 14px; }
  .calc__row { gap: 10px; }
  .calc__row span:first-child { overflow-wrap: anywhere; }
  .calc__row span:last-child { flex: 0 0 auto; }
  .calc__total span:last-child { font-size: 1.45rem; }
  /* pullquote / notatki — mniejszy padding */
  .pullquote { padding: 22px 18px 20px 56px; }
  .pullquote::before { font-size: 56px; left: 14px; }
  .pullquote__text { font-size: 1.05rem; }
  .note { padding: 16px 16px 16px 54px; }
  .note::before { left: 14px; }
  ol.article-steps li { padding: 16px 16px 16px 66px; }
  ol.article-steps li::before { left: 14px; top: 16px; width: 40px; height: 40px; font-size: 16px; }
  /* hero/page hero — większy oddech, mniejsze tytuły już via clamp */
  .article-hero__image { aspect-ratio: 16/10; }
  /* listy w prose nie wystają poza margines */
  .prose ul, .prose ol { padding-left: 1.2em; }
  /* city/region siatki pojedyncza kolumna */
  .city-grid { grid-template-columns: 1fr; }
}

/* very small phones */
@media (max-width: 380px) {
  table.data { min-width: 380px; font-size: 12px; }
  .calc__total span:last-child { font-size: 1.3rem; }
  .prose { font-size: 15.5px; }
}

.faq { display: grid; gap: 12px; margin: 30px 0; }
.faq details { background:#fff; border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq details[open] { border-color: var(--teal); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 17px 54px 17px 20px; font-weight: 700; color: var(--ink); font-size: 1.02rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content:"+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--teal); display: grid; place-items: center; font-size: 20px; transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary::after { content:"\2212"; background: var(--teal); color:#fff; transform: translateY(-50%) rotate(180deg); }
.faq details[open] summary { color: var(--teal); }
.faq details > div { padding: 0 20px 18px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }

.author-box { margin: 44px 0 22px; background: linear-gradient(135deg,#eef7f9,#fff); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 20px; box-shadow: var(--shadow-sm); }
@media (min-width: 560px) { .author-box { grid-template-columns: 80px 1fr; } }
.author-box__avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--teal); font-weight: 800; font-size: 28px; background-size: cover; background-position: center; }
.author-box__name { font-size: 1.12rem; color: var(--ink); margin-bottom: 3px; }
.author-box__title { font-size: 12.5px; font-weight: 700; color: var(--teal); letter-spacing:.04em; text-transform: uppercase; margin-bottom: 10px; }
.author-box__bio { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin-bottom: 8px; }
.author-box__meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 14px; flex-wrap: wrap; }
.author-box__meta .ok { color: var(--green-dark); font-weight: 700; }

.disclaimer { margin: 22px 0; padding: 16px 20px; background:#fff8eb; border-left: 4px solid #d49a16; border-radius: 8px; font-size: 13.5px; color:#5d4716; line-height: 1.55; font-style: italic; }
.disclaimer strong { font-style: normal; color:#3e2f0c; }
.sources { margin: 30px 0 12px; padding: 22px 24px; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); font-size: 13.5px; color: var(--muted); }
.sources__title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing:.07em; color: var(--ink); margin-bottom: 12px; }
.sources li { margin-bottom: 8px; padding-left: 18px; position: relative; line-height: 1.5; }
.sources li::before { content:"→"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.sources a { color: var(--ink-2); text-decoration: underline; text-decoration-color: rgba(6,107,123,0.25); }
.sources a:hover { color: var(--teal); }

/* article cards (grid) */
.post-card { display: flex; flex-direction: column; background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal); }
.post-card__media { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: var(--cream); }
.post-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { align-self: flex-start; background: rgba(6,107,123,0.10); border: 1px solid rgba(6,107,123,0.22); color: var(--teal-dark); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 800; letter-spacing:.04em; text-transform: uppercase; margin-bottom: 12px; }
.post-card__title { font-size: 1.15rem; color: var(--ink); line-height: 1.3; margin-bottom: 10px; }
.post-card__excerpt { font-size: 14px; color: var(--ink-2); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.post-card__arrow { margin-left: auto; color: var(--teal); font-weight: 700; }

/* featured post */
.featured { display: grid; gap: 0; background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.featured:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (min-width: 820px) { .featured { grid-template-columns: 1.1fr 1fr; } }
.featured__media { min-height: 240px; background-size: cover; background-position: center; background-color: var(--cream); }
.featured__body { padding: clamp(26px,4vw,44px); display: flex; flex-direction: column; justify-content: center; }
.featured__cat { align-self: flex-start; background: var(--cream); color: var(--teal); padding: 5px 14px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 800; letter-spacing:.05em; text-transform: uppercase; margin-bottom: 14px; }
.featured__title { font-size: clamp(1.4rem,2.5vw,1.95rem); color: var(--ink); line-height: 1.16; margin-bottom: 14px; }
.featured__excerpt { font-size: 1rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 18px; }
.featured__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }

/* tag filter */
.tags { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; }
.tag { display: inline-flex; align-items: center; background:#fff; border:1px solid var(--line); padding: 8px 16px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s var(--ease); }
.tag:hover, .tag.is-active { background: var(--teal); border-color: var(--teal); color:#fff; }

/* pillars */
.pillars { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pillars { grid-template-columns: repeat(4,1fr); } }
.pillar { display: flex; flex-direction: column; gap: 9px; background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.pillar__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--cream); color: var(--teal); display: grid; place-items: center; font-size: 22px; margin-bottom: 6px; }
.pillar__title { font-size: 1.05rem; color: var(--ink); }
.pillar__desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.pillar__count { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing:.04em; text-transform: uppercase; }

/* ============================================================
   REGIONEN
   ============================================================ */
.region-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .region-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .region-grid { grid-template-columns: repeat(3,1fr); } }
.region-card { display: flex; flex-direction: column; background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s; }
.region-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal); }
.region-card__media { aspect-ratio: 16/9; background-size: cover; background-position: center; background-color: var(--cream); position: relative; }
.region-card__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg,transparent 50%,rgba(6,60,75,0.45)); }
.region-card__pin { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,0.95); color: var(--teal-dark); padding: 6px 12px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 800; letter-spacing:.04em; text-transform: uppercase; }
.region-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.region-card__title { font-size: 1.25rem; color: var(--ink); }
.region-card__cities { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.region-card__meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.region-card__arrow { color: var(--teal); font-weight: 700; }

.facts { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 24px; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4,1fr); } }
.fact { background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.fact__num { font-size: 1.6rem; font-weight: 800; color: var(--teal); line-height: 1; letter-spacing: -0.02em; margin-bottom: 4px; }
.fact__lbl { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.city-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 24px 0; }
@media (min-width: 560px) { .city-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .city-grid { grid-template-columns: repeat(3,1fr); } }
.city { background:#fff; border:1px solid var(--line-soft); border-left: 3px solid var(--teal); border-radius: 10px; padding: 14px 16px; }
.city__name { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.city__pop { font-size: 12.5px; color: var(--muted); }

.region-strip { background: var(--cream-2); padding-block: clamp(40px,6vw,70px); }
.region-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.region-chip { display: inline-flex; align-items: center; gap: 8px; background:#fff; border:1px solid var(--line); padding: 11px 20px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 600; color: var(--ink); transition: all .2s var(--ease); }
.region-chip::before { content:"⌖"; color: var(--teal); }
.region-chip:hover { background: var(--teal); border-color: var(--teal); color:#fff; transform: translateY(-2px); }
.region-chip:hover::before { color:#fff; }

/* ============================================================
   FORMS
   ============================================================ */
.form { background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(22px,4vw,36px); box-shadow: var(--shadow-sm); }
.form__row { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: 16px; color: var(--ink);
  background:#fff; border: 1.5px solid var(--line); border-radius: 12px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(6,107,123,0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: auto; margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkboxes { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .checkboxes { grid-template-columns: 1fr 1fr; } }
.checkbox { display: flex; align-items: center; gap: 9px; font-size: 14.5px; }

/* ============================================================
   SCHNELLANFRAGE — 3-Schritt-Wizard (Conversion-Formular)
   ============================================================ */
.wizard { background:#fff; border:1px solid var(--line-soft); border-radius: var(--radius-lg); padding: clamp(20px,3.4vw,32px); box-shadow: 0 30px 60px -30px rgba(6,107,123,0.45); position: relative; }
.wizard__head { margin-bottom: 18px; }
.wizard__eyebrow { display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color: var(--green-dark); background: rgba(78,165,27,0.12); border:1px solid rgba(78,165,27,0.28); padding:5px 11px; border-radius:999px; }
.wizard__title { font-size: clamp(1.25rem,2.4vw,1.6rem); margin:12px 0 4px; color: var(--ink); }
.wizard__sub { font-size: 14.5px; color: var(--muted); }

/* progress — Schritt-Anzeige (gestapelt, volle Beschriftung, professionell) */
.wizard__progress { margin: 2px 0 22px; }
.wizard__steps { list-style:none; margin:0 0 16px; padding:0; display:grid; grid-template-columns:repeat(3,1fr); gap:6px; position:relative; }
.wizard__stepmark { display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; }
.wizard__stepmark-num { display:inline-grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#eef1f3; color:var(--muted); font-size:14px; font-weight:800; border:2px solid transparent; transition:background .25s, color .25s, box-shadow .25s; }
.wizard__stepmark-lbl { font-size:12.5px; font-weight:700; line-height:1.2; color:var(--muted); transition:color .25s; }
.wizard__stepmark.is-done .wizard__stepmark-num { background:var(--green); color:#fff; }
.wizard__stepmark.is-active .wizard__stepmark-num { background:var(--teal); color:#fff; box-shadow:0 0 0 4px rgba(6,107,123,0.14); }
.wizard__stepmark.is-active .wizard__stepmark-lbl,
.wizard__stepmark.is-done .wizard__stepmark-lbl { color:var(--ink); }
.wizard__bar { height:6px; border-radius:999px; background:var(--line); overflow:hidden; }
.wizard__bar-fill { display:block; height:100%; border-radius:999px; background: linear-gradient(90deg,var(--teal),var(--green)); transition: width .35s var(--ease); }

/* panels */
.wizard__panel { display:none; animation: wzfade .35s var(--ease); }
.wizard__panel.is-active { display:block; }
@keyframes wzfade { from { opacity:0; transform: translateY(8px); } to { opacity:1; transform:none; } }
.wizard__q { font-size: 16px; font-weight: 800; color: var(--ink); margin: 22px 0 12px; }
.wizard__panel > .wizard__q:first-child { margin-top: 2px; }
.wizard__opt { font-size:12px; font-weight:600; color:var(--muted); }

/* option tiles — sauber, zentriert, ohne Emoji */
.wizard__options { display:grid; gap:10px; grid-template-columns: 1fr; }
@media (min-width: 460px) { .wizard__options--2 { grid-template-columns: 1fr 1fr; } }
.opt { position: relative; cursor: pointer; }
.opt input { position:absolute; opacity:0; width:0; height:0; }
.opt__box { display:flex; align-items:center; justify-content:center; text-align:center; min-height:56px; padding:14px 16px; border:1.5px solid var(--line); border-radius:14px; background:#fff; font-size:15px; font-weight:700; color:var(--ink); line-height:1.25; transition: border-color .18s, box-shadow .18s, background .18s; }
.opt__box:hover { border-color: var(--teal); }
.opt input:checked + .opt__box { border-color: var(--teal); background: rgba(6,107,123,0.06); box-shadow: 0 0 0 3px rgba(6,107,123,0.12); color: var(--teal-dark); }
.opt input:focus-visible + .opt__box { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(6,107,123,0.18); }

.wizard__field-group { display:grid; gap:16px; }
@media (min-width: 560px) {
  .wizard__field-group--2 { grid-template-columns: 1fr 1fr; align-items: stretch; }
  /* Inputy zawsze wyrównane do dołu, nawet gdy etykieta łamie się na 2 linie */
  .wizard__field-group--2 .field { height: 100%; }
  .wizard__field-group--2 .field > input,
  .wizard__field-group--2 .field > select { margin-top: auto; }
}

/* optional block — klar abgesetzte „Weitere Angaben" */
.wizard__optional { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.wizard__optional-head { display:block; margin-bottom: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.wizard__optional-head .wizard__opt { text-transform: none; letter-spacing: 0; }
.wizard .field input[type="date"] { min-height: 50px; appearance: none; background:#fff; color: var(--ink); }

/* errors */
.wizard__err { display:none; margin-top:8px; font-size:13px; font-weight:600; color:#c0392b; }
.wizard__err.is-shown { display:block; }
.wizard .field input.is-invalid, .wizard .field select.is-invalid { border-color:#e07a6e; box-shadow:0 0 0 3px rgba(224,122,110,0.15); }

/* nav */
.wizard__nav { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:22px; }
.wizard__nav .btn { margin:0; }
.wizard__back { background:none; border:none; color: var(--muted); font-weight:700; font-size:14.5px; cursor:pointer; padding:10px 4px; transition: color .15s; }
.wizard__back:hover { color: var(--teal); }
.wizard__back[hidden] { visibility:hidden; }
.wizard__trust { margin-top:16px; display:flex; align-items:center; justify-content:center; gap:8px; font-size:12.5px; color: var(--muted); text-align:center; }
.wizard__trust svg { width:15px; height:15px; flex:none; color: var(--green); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: linear-gradient(180deg,#082b32 0%,#04181c 100%); color:#c2d0d4; padding-top: clamp(44px,6vw,64px); border-top: 4px solid var(--green); }
.site-footer a { color:#c8bcb3; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 44px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 42px; width: auto; background:#fff; padding: 6px 10px; border-radius: 8px; }
.footer-text { font-size: 14.5px; line-height: 1.7; color:#a9b8bc; margin-bottom: 16px; }
.footer-col h4 { color:#fff; font-size: 13px; font-weight: 800; letter-spacing:.1em; text-transform: uppercase; margin-bottom: 16px; padding-bottom: 10px; position: relative; }
.footer-col h4::after { content:""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--green); border-radius: 2px; }
.footer-col li { margin-bottom: 9px; }
.footer-col li a { font-size: 14.5px; transition: color .2s, transform .2s; display: inline-block; }
.footer-col li a:hover { color:#fff; transform: translateX(2px); }
.footer-address { font-style: normal; font-size: 14.5px; line-height: 1.7; color:#a9b8bc; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 14px 16px; }
.footer-address strong { color:#fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-block: 22px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-bottom p { font-size: 12.5px; color:#849397; }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { font-size: 12.5px; }
.footer-bottom a:hover { color:#fff; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.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; }
[hidden] { display: none !important; }

/* ============================================================
   MOTION & POLISH — animacje, gradienty, mikro-interakcje (2026)
   Dodatek nieinwazyjny. Dostępność: patrz prefers-reduced-motion na końcu.
   ============================================================ */

/* ---------- Keyframes ---------- */
@keyframes p24-pan   { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes p24-blob  { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(22px,-26px) scale(1.1); } }
@keyframes p24-pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(78,165,27,0.22); } 50% { box-shadow: 0 0 0 7px rgba(78,165,27,0.04); } }
@keyframes p24-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes p24-rise  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll-reveal (progressive enhancement) ----------
   Ukrywamy TYLKO gdy JS doda html.reveal-on (bez JS = wszystko widoczne). */
html.reveal-on [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-d, 0ms); will-change: opacity, transform;
}
html.reveal-on [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Animowany gradient w tytułach (więcej koloru) ---------- */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero__title em, .pagehero__title em, .article-hero__title em, em.hl {
    background: linear-gradient(100deg, var(--teal) 0%, var(--teal-light) 42%, var(--green) 100%);
    background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
    animation: p24-pan 9s var(--ease) infinite alternate;
  }
}

/* ---------- Pływające kolorowe „bloby" w hero ---------- */
.hero, .pagehero { position: relative; }
.hero .container, .pagehero .container { position: relative; z-index: 1; }
.hero::before, .hero::after,
.pagehero::before, .pagehero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(46px); z-index: 0; pointer-events: none;
}
.hero::before, .pagehero::before {
  width: 360px; height: 360px; top: -90px; right: -70px;
  background: radial-gradient(circle, rgba(78,165,27,0.22), transparent 70%);
  animation: p24-blob 19s ease-in-out infinite;
}
.hero::after, .pagehero::after {
  width: 300px; height: 300px; bottom: -100px; left: -80px;
  background: radial-gradient(circle, rgba(6,107,123,0.20), transparent 70%);
  animation: p24-blob 24s ease-in-out infinite reverse;
}

/* ---------- Eyebrow: pulsująca kropka ---------- */
.eyebrow::before { animation: p24-pulse 2.6s var(--ease) infinite; }

/* ---------- Animowane paski-dekoracje pod nagłówkami ---------- */
.h2.deco::before, .deco-h::before, .prose > h2::before {
  background-size: 220% 100%; animation: p24-pan 7s linear infinite alternate;
}

/* ---------- Przyciski: świetlny „shimmer" przy hoverze ---------- */
.btn--primary, .btn--green { position: relative; overflow: hidden; }
.btn--primary::after, .btn--green::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.38), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn--primary:hover::after, .btn--green:hover::after { left: 150%; }

/* ---------- Karty: gradientowa linia akcentu od góry przy hoverze ---------- */
.feature, .pillar, .post-card, .fact, .quote-card { position: relative; }
.feature::after, .pillar::after, .post-card::after, .fact::after, .quote-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.feature:hover::after, .pillar:hover::after, .post-card:hover::after,
.fact:hover::after, .quote-card:hover::after { transform: scaleX(1); }

/* ---------- Nawigacja desktop: animowane podkreślenie ---------- */
@media (min-width: 1024px) {
  .nav__link::before {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
    background: linear-gradient(90deg, var(--teal), var(--green)); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .nav__link:hover::before, .nav__item--active > .nav__link::before { transform: scaleX(1); }
}

/* ---------- CTA-stripe: subtelny połysk + warstwa nad tłem ---------- */
.cta-stripe { position: relative; overflow: hidden; }
.cta-stripe::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(620px 220px at 0% 0%, rgba(255,255,255,0.14), transparent 60%);
}
.cta-stripe > * { position: relative; z-index: 1; }

/* ---------- Delikatne wejście hero (raz, na load — bez przesuwania layoutu) ---------- */
.hero__title, .pagehero__title { animation: p24-rise .6s var(--ease) both; }
.hero__lead, .pagehero__lead { animation: p24-rise .6s var(--ease) .08s both; }

/* ---------- Powierzchnie: delikatna głębia kart na tle tintu ---------- */
.feature, .pillar, .card:not(.card--green):not(.card--teal), .step,
.region-card__body, .post-card__body, .quote-card, .fact, .toc, .form {
  background-image: linear-gradient(180deg, #ffffff 0%, #fafdfd 100%);
}

/* ---------- DOSTĘPNOŚĆ: pełne wyłączenie ruchu ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  html.reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero::before, .hero::after, .pagehero::before, .pagehero::after { display: none; }
  .call-fab, .call-fab__ring { animation: none !important; }
}

/* ---------- Ocena klientów w stopce ---------- */
.footer-rating { display:flex; align-items:center; gap:10px; margin-top:18px; flex-wrap:wrap; }
.footer-rating__stars {
  position:relative; display:inline-block; font-size:18px; line-height:1;
  letter-spacing:2px; color:rgba(255,255,255,.28); white-space:nowrap;
}
.footer-rating__stars::before {
  content:"★★★★★"; position:absolute; inset:0; width:var(--rate,92%);
  overflow:hidden; color:#ffc24b; white-space:nowrap;
}
.footer-rating__text { font-size:14px; color:#fff; opacity:.92; }
.footer-rating__text strong { font-size:16px; }

/* ---------- Sekcja opinii klientów (widoczna, nad stopką) ---------- */
.reviews-band {
  background: linear-gradient(180deg, #f8fbfb 0%, #edf4f5 100%);
  padding: clamp(44px, 6vw, 72px) 0;
  border-top: 1px solid rgba(6,107,123,.08);
}
.reviews-band__head { text-align:center; max-width:720px; margin:0 auto clamp(26px,4vw,40px); }
.reviews-band__title { font-size:clamp(24px,3.2vw,34px); line-height:1.15; margin:6px 0 14px; color:var(--ink); }
.reviews-band__agg { display:inline-flex; align-items:center; gap:10px; font-size:15px; color:var(--ink); }
.reviews-band__agg strong { font-size:19px; }
.reviews-band__stars {
  position:relative; display:inline-block; font-size:19px; line-height:1;
  letter-spacing:2px; color:rgba(6,107,123,.22); white-space:nowrap;
}
.reviews-band__stars::before {
  content:"★★★★★"; position:absolute; inset:0; width:var(--rate,92%);
  overflow:hidden; color:#ffc24b; white-space:nowrap;
}
.reviews-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; max-width:1100px; margin:0 auto; }
.review-card {
  margin:0; display:flex; flex-direction:column; gap:12px;
  background: linear-gradient(180deg, #ffffff 0%, #fafdfd 100%);
  border:1px solid rgba(6,107,123,.1); border-radius:18px;
  padding:26px 24px; box-shadow:var(--shadow);
}
.review-card__stars { font-size:17px; letter-spacing:2px; line-height:1; color:#ffc24b; }
.review-card__star--off { color:rgba(6,107,123,.25); }
.review-card blockquote { margin:0; font-size:15px; line-height:1.65; color:var(--ink); }
.review-card figcaption { font-weight:700; color:var(--teal); font-size:14px; margin-top:auto; }
@media (max-width:880px) { .reviews-grid { grid-template-columns:1fr; max-width:560px; } }

/* ---------- Pływający przycisk „Anrufen" (mobile) ---------- */
.call-fab {
  position:fixed; right:16px; bottom:calc(16px + env(safe-area-inset-bottom, 0px));
  z-index:120; display:none; align-items:center; gap:9px;
  padding:13px 18px 13px 15px;
  background:linear-gradient(135deg,#5bb524,#3c8a13);
  color:#fff; border-radius:999px; text-decoration:none;
  font-weight:800; font-size:15px; line-height:1;
  box-shadow:0 10px 26px rgba(60,138,19,.45), 0 2px 6px rgba(0,0,0,.18);
  animation:callfab-bob 2.8s var(--ease, ease-in-out) infinite;
}
.call-fab:hover { color:#fff; filter:brightness(1.05); }
.call-fab:active { transform:scale(.96); }
.call-fab__icon, .call-fab__label { position:relative; z-index:2; display:inline-block; }
.call-fab__ring {
  position:absolute; inset:0; border-radius:999px;
  box-shadow:0 0 0 0 rgba(91,181,36,.55);
  animation:callfab-ring 2.2s ease-out infinite;
}
@keyframes callfab-ring {
  0%   { box-shadow:0 0 0 0 rgba(91,181,36,.55); }
  70%  { box-shadow:0 0 0 16px rgba(91,181,36,0); }
  100% { box-shadow:0 0 0 0 rgba(91,181,36,0); }
}
@keyframes callfab-bob {
  0%, 100% { transform:translateY(0); }
  50%      { transform:translateY(-4px); }
}
@media (max-width:1023px) { .call-fab { display:inline-flex; } }
@media (min-width:1024px) { .call-fab { display:none; } }
body.nav-open .call-fab { display:none; }

/* Pływający przycisk „Anfrage stellen" — lewy dolny róg (mobile) */
.call-fab--form { left:16px; right:auto; }
