/* ============================================================
   SKLENAR & PARTNERS · sklenarlegal.at
   Editorial-grotesk edícia (inšpirácia twobirds.com)
   Schibsted Grotesk (display) · Source Sans 3 (text)
   ink #101418 · white · petrol #0a5c66 · logo bronze len v logu
   ============================================================ */
@import url("../fonts/fonts.css?v=3");

:root {
  --ink: #101418;
  --ink-2: #1b2027;
  --gray: #5b636d;
  --gray-2: #8a929b;
  --line: #d9dcdf;
  --line-d: rgba(255,255,255,.16);
  --paper: #ffffff;
  --paper-2: #f4f3f0;
  --petrol: #0a5c66;
  --petrol-2: #0d7482;
  --petrol-t: #e2f0f1;
  --petrol-d: #07444c;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --text: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1360px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--petrol); color: #fff; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; color: var(--ink); }
h4 { font-family: var(--ui); font-weight: 600; line-height: 1.3; color: var(--ink); }
h1 { font-size: clamp(36px, 5.4vw, 74px); letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4vw, 54px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
h4 { font-size: 19px; line-height: 1.3; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ui); font-size: 15px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--petrol);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: 0 0 auto; }
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; color: var(--gray); max-width: 60ch; }
.muted { color: var(--gray); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px; border-radius: 999px;
  font-family: var(--ui); font-size: 15px; font-weight: 600; letter-spacing: .01em;
  border: 1.5px solid var(--ink); color: var(--ink); background: transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--petrol-t); border-color: var(--petrol); color: var(--petrol); }
.btn:hover svg { transform: translateX(4px); }
.btn.solid { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.btn.solid:hover { background: var(--petrol-d); border-color: var(--petrol-d); color: #fff; }
.btn.petrol { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.btn.petrol:hover { background: var(--petrol-d); border-color: var(--petrol-d); }
.btn.light { border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn.light.solid { background: #fff; color: var(--ink); }
.btn.light.solid:hover { background: var(--petrol); color: #fff; border-color: var(--petrol); }
.link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ui); font-weight: 600; font-size: 15px; color: var(--ink);
  border-bottom: 1.5px solid transparent; transition: border-color .3s, color .3s;
}
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover { color: var(--petrol); }
.link:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.hd {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .4s var(--ease);
}
.hd.hide { transform: translateY(-100%); }
.hd .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: baseline; gap: .34em; font-family: var(--display); line-height: 1; white-space: nowrap; }
.brand .bm { font-size: clamp(22px, 2.1vw, 30px); font-weight: 600; letter-spacing: .05em; color: var(--petrol); }
.brand .bs { font-size: clamp(22px, 2.1vw, 30px); font-weight: 400; letter-spacing: .2em; color: var(--petrol); opacity: .72; }
.brand.light .bm, .brand.light .bs { color: #fff; }
.brand .e { display: inline-block; width: .5em; height: .68em; margin: 0 .05em; vertical-align: baseline; background: currentColor;
  -webkit-mask: url(../assets/wave3.svg) center / contain no-repeat; mask: url(../assets/wave3.svg) center / contain no-repeat; }
.hd-quick { display: flex; gap: 10px; margin-right: auto; margin-left: 26px; }
.hd-quick a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--petrol); transition: background .3s, border-color .3s, color .3s; }
.hd-quick a svg { width: 17px; height: 17px; }
.hd-quick a:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.hd nav { display: flex; align-items: center; gap: 34px; }
.hd nav a {
  font-family: var(--ui); font-size: 15px; font-weight: 500; color: var(--ink);
  position: relative; padding: 6px 0;
}
.hd nav a:not(.cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--petrol); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.hd nav a:not(.cta):hover::after, .hd nav a.act::after { transform: scaleX(1); transform-origin: left; }
.hd nav a.cta { padding: 12px 22px; border-radius: 999px; background: var(--petrol); color: #fff; font-weight: 600; transition: background .3s; }
.hd nav a.cta:hover { background: var(--petrol-d); }
.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger i { display: block; width: 26px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s; }
.burger.open i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero (home) ---------- */
.hero { padding: clamp(48px, 7vw, 110px) 0 0; }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.hero h1 { margin: 22px 0 26px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--petrol); }
.hero .lead { margin-bottom: 36px; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; }
.hero-media .tag {
  position: absolute; left: 0; bottom: 0; background: var(--petrol); color: #fff;
  padding: 18px 22px; font-family: var(--ui); font-size: 14px; line-height: 1.35; max-width: 280px;
}
.hero-media .tag b { font-family: var(--ui); display: block; font-size: 30px; letter-spacing: -.02em; }
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.facts ul { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts li { padding: 22px 24px 22px 0; font-family: var(--ui); font-size: 14px; font-weight: 500; color: var(--gray); border-right: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.facts li + li { padding-left: 24px; }
.facts li:last-child { border-right: 0; }
.facts li b { color: var(--ink); font-size: 22px; letter-spacing: -.02em; white-space: nowrap; }
.facts li .fx { line-height: 1.45; }
.facts .rating { display: inline-flex; align-items: center; gap: 6px; color: var(--petrol); font-weight: 600; margin-top: 4px; border-bottom: 1px solid transparent; transition: border-color .3s; }
.facts .rating:hover { border-color: var(--petrol); }
.facts .rating .star { width: 15px; height: 15px; color: #f2b705; flex: 0 0 auto; }
.facts li .nw { white-space: nowrap; }
@media (max-width: 600px) { .facts li .nw { white-space: normal; } .facts li .nw br { display: none; } }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; } .rv.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 140px) 0; }
.sec.tight { padding: clamp(48px, 6vw, 96px) 0; }
.sec-head { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: end; margin-bottom: clamp(32px, 4vw, 64px); }
.sec-head h2 { margin-top: 18px; max-width: 26ch; text-wrap: balance; }
@media (min-width: 1101px) { .sec-head:has(> .lead) { grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); } }
.sec-head .lead { justify-self: end; }
.sec-head > .link { justify-self: end; align-self: end; margin-bottom: 8px; }
.sec.dark { background: var(--ink); color: #d5d9dd; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark .lead { color: #aab1b8; }
.sec.dark .eyebrow { color: #7fd1da; }
.sec.paper { background: var(--paper-2); }

/* ---------- statement ---------- */
.statement { border-top: 1px solid var(--line); }
.statement .grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.statement p.big { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.015em; font-weight: 500; margin-bottom: 22px; }
.statement p:not(.big) { color: var(--gray); font-size: 18px; line-height: 1.65; margin-bottom: 16px; max-width: 68ch; }
.statement p.big strong { color: var(--petrol); font-weight: 600; }
.statement .more { margin-top: 28px; display: flex; gap: 28px; flex-wrap: wrap; }

/* ---------- services grid (twobirds-style tiles) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc-grid a {
  display: flex; flex-direction: column; gap: 14px; min-height: 230px; padding: 28px 28px 24px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden; transition: color .35s;
}
.svc-grid a::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .45s var(--ease); }
.svc-grid a > * { position: relative; }
.svc-grid a .n { font-family: var(--ui); font-size: 12px; letter-spacing: .14em; color: var(--gray-2); }
.svc-grid a h3 { font-size: clamp(21px, 1.7vw, 26px); padding-right: 32px; }
.svc-grid a p { color: var(--gray); font-size: 16px; line-height: 1.5; margin-top: auto; }
.svc-grid a .arr { position: absolute; right: 24px; top: 26px; width: 22px; height: 22px; color: var(--petrol); transition: transform .4s var(--ease); }
.svc-grid a:hover { color: #fff; }
.svc-grid a:hover::before { transform: none; }
.svc-grid a:hover h3 { color: #fff; }
.svc-grid a:hover p { color: #b8bfc6; }
.svc-grid a:hover .arr { transform: translate(4px, -4px); color: #7fd1da; }

/* ---------- capabilities list (Leistungen page) ---------- */
.cap-list { border-top: 1px solid var(--line); }
.cap-list a {
  display: grid; grid-template-columns: 64px 1fr 1fr 40px; align-items: center; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line); position: relative; transition: padding .35s var(--ease);
}
.cap-list a .n { font-family: var(--ui); font-size: 13px; letter-spacing: .12em; color: var(--gray-2); }
.cap-list a h3 { font-size: clamp(22px, 2.4vw, 34px); transition: color .3s; overflow-wrap: break-word; hyphens: auto; min-width: 0; }
.cap-list a p { color: var(--gray); font-size: 16px; line-height: 1.45; }
.cap-list a .arr { width: 26px; height: 26px; color: var(--ink); transition: transform .35s var(--ease), color .3s; justify-self: end; }
.cap-list a:hover { padding-left: 14px; }
.cap-list a:hover h3 { color: var(--petrol); }
.cap-list a:hover .arr { transform: translateX(6px); color: var(--petrol); }
.cap-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.cap-filter button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--ui); font-size: 13px; font-weight: 600; transition: all .3s; }
.cap-filter button.on, .cap-filter button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.cap-list a.hidden { display: none; }

/* ---------- why / numbers ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-d); }
.why div { padding: 34px 28px 34px 0; border-bottom: 1px solid var(--line-d); }
.why div + div { border-left: 1px solid var(--line-d); padding-left: 28px; }
.why b { display: block; font-family: var(--ui); font-size: clamp(44px, 5vw, 72px); font-weight: 600; letter-spacing: -.03em; line-height: 1; color: #fff; margin-bottom: 14px; }
.why b small { font-size: .5em; color: #7fd1da; margin-left: 4px; }
.why b.sym { color: #7fd1da; }
.why h4 { color: #fff; margin-bottom: 8px; }
.why p { font-size: 16px; color: #aab1b8; }

/* ---------- pillars (Über uns) ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillars div { background: var(--paper); padding: 34px; }
.pillars .n { font-family: var(--ui); font-size: 12px; letter-spacing: .14em; color: var(--petrol); font-weight: 600; margin-bottom: 18px; display: block; }
.pillars h3 { margin-bottom: 12px; }
.pillars p { color: var(--gray); font-size: 17px; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.team article { display: flex; flex-direction: column; }
.team .ph { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); margin-bottom: 18px; }
.team .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.team article:hover .ph img { transform: scale(1.04); }
.team h3 { font-size: 22px; }
.team .role { color: var(--petrol); font-family: var(--ui); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 6px 0 12px; }
.team dl { font-size: 15px; color: var(--gray); display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.team dt { color: var(--ink); font-weight: 600; }
.team .cont { margin-top: 12px; font-size: 15px; display: flex; flex-direction: column; gap: 3px; }
.team .cont a:hover { color: var(--petrol); }
.team-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.team-strip a { display: block; }
.team-strip .ph { aspect-ratio: 3 / 4; overflow: hidden; background: var(--paper-2); }
.team-strip img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.team-strip a:hover img { transform: scale(1.04); }
.team-strip b { display: block; font-family: var(--ui); font-size: 15px; margin-top: 10px; }
.team-strip span { font-size: 13px; color: var(--gray); }

/* ---------- logos ---------- */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; align-items: center; }
.logos img { max-height: 60px; width: auto; margin: 0 auto; filter: grayscale(1); opacity: .65; transition: opacity .3s, filter .3s; }
.logos img:hover { filter: none; opacity: 1; }
.members { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.members img { height: 48px; width: auto; }
.members p { font-size: 16px; color: var(--gray); max-width: 52ch; }

/* ---------- insights / articles ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.posts a { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 280px; transition: background .3s; }
.posts a:hover { background: var(--paper-2); }
.posts .meta { font-family: var(--ui); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); font-weight: 600; }
.posts h3 { font-size: 23px; overflow-wrap: break-word; hyphens: auto; }
.posts p { color: var(--gray); font-size: 16px; }
.posts .link { margin-top: auto; }
.posts.two { grid-template-columns: repeat(2, 1fr); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--petrol); color: #fff; }
.cta-band .grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; max-width: 14ch; }
.cta-band p { color: #cfe6e9; font-size: 19px; max-width: 48ch; margin-top: 16px; }
.cta-band .acts { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-self: end; }
.cta-band .acts a.big { font-family: var(--ui); font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.01em; color: #fff; border-bottom: 2px solid rgba(255,255,255,.4); transition: border-color .3s; }
.cta-band .acts a.big:hover { border-color: #fff; }
.cta-band .acts small { color: #cfe6e9; font-size: 14px; }

/* ---------- footer ---------- */
.ft { background: var(--ink); color: #aab1b8; padding: clamp(56px, 7vw, 96px) 0 32px; }
.ft .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-d); }
.ft img { height: 30px; width: auto; margin-bottom: 22px; }
.ft p { font-size: 15px; line-height: 1.6; }
.ft h4 { color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.ft ul li { margin-bottom: 9px; font-size: 15px; }
.ft a:hover { color: #fff; }
.ft .note { font-size: 13px; color: #7d858e; margin-top: 18px; max-width: 46ch; }
.ft .bottom { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: #7d858e; }
.ft .bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- page hero (subpages) ---------- */
.phero { padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--ui); font-size: 13px; color: var(--gray-2); margin-bottom: 28px; }
.crumbs a:hover { color: var(--petrol); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.phero h1 { max-width: 18ch; font-size: clamp(34px, 5vw, 68px); }
.phero .lead { margin-top: 22px; }
.phero.dark { background: var(--ink); border: 0; color: #d5d9dd; }
.phero.dark h1 { color: #fff; }
.phero.dark .lead { color: #aab1b8; }
.phero.dark .crumbs { color: #7d858e; }
.phero.dark .crumbs li + li::before { color: #3a424b; }

/* ---------- article layout (service pages, posts) ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.article { max-width: 72ch; min-width: 0; overflow-wrap: break-word; hyphens: auto; }
.article h2 { font-size: clamp(26px, 2.6vw, 36px); margin: 52px 0 18px; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 22px; margin: 34px 0 12px; }
.article p { margin-bottom: 18px; color: #2b3138; }
.article ul, .article ol { margin: 0 0 22px 22px; color: #2b3138; }
.article ul li { list-style: disc; margin-bottom: 8px; }
.article ol li { list-style: decimal; margin-bottom: 8px; }
.article strong { color: var(--ink); }
.article a { color: var(--petrol); border-bottom: 1px solid rgba(10,92,102,.35); }
.article a:hover { border-color: var(--petrol); }
.article .box { background: var(--paper-2); padding: 26px 28px; margin: 30px 0; border-left: 3px solid var(--petrol); }
.article .box p:last-child { margin-bottom: 0; }
.article .disclaimer { font-size: 14px; color: var(--gray); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 40px; }
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 24px; }
.tbl table { margin: 0 !important; min-width: 460px; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.article th, .article td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { font-family: var(--ui); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.aside { position: sticky; top: 108px; display: flex; flex-direction: column; gap: 22px; }
.aside .card { border: 1px solid var(--line); padding: 26px; }
.aside .card.dark { background: var(--ink); color: #d5d9dd; border-color: var(--ink); }
.aside .card.dark h4 { color: #fff; }
.aside h4 { margin-bottom: 12px; }
.aside p { font-size: 15px; color: var(--gray); margin-bottom: 16px; }
.aside .card.dark p { color: #aab1b8; }
.aside .rows { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.aside .rows a { display: flex; gap: 10px; align-items: baseline; }
.aside .rows a:hover { color: var(--petrol); }
.aside .card.dark .rows a:hover { color: #fff; }
.aside .rows span { font-family: var(--ui); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-2); min-width: 64px; }
.aside .list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--ui); font-size: 15px; font-weight: 500; transition: padding-left .3s var(--ease), color .3s; }
.aside .list a:last-child { border-bottom: 0; }
.aside .list a:hover { padding-left: 8px; color: var(--petrol); }
.aside .btn { align-self: flex-start; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--display); font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 28px; line-height: 1; color: var(--petrol); transition: transform .3s var(--ease); flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: #2b3138; max-width: 70ch; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: st; }
.steps div { border-top: 2px solid var(--ink); padding-top: 20px; }
.steps div::before { counter-increment: st; content: "0" counter(st); display: block; font-family: var(--ui); font-size: 13px; letter-spacing: .14em; color: var(--petrol); font-weight: 600; margin-bottom: 14px; }
.steps h3 { font-size: 21px; margin-bottom: 10px; }
.steps p { color: var(--gray); font-size: 16px; }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.c-rows { display: grid; gap: 0; border-top: 1px solid var(--line); }
.c-rows > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.c-rows > div > span { font-family: var(--ui); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-2); padding-top: 4px; }
.c-rows b { font-family: var(--ui); font-size: 20px; font-weight: 600; display: block; }
.c-rows a:hover { color: var(--petrol); }
.c-rows p { color: var(--gray); font-size: 16px; }

/* ---------- form ---------- */
.form-card { background: var(--paper-2); padding: clamp(24px, 3vw, 44px); }
.form-card h3 { margin-bottom: 8px; }
.form-card > p { color: var(--gray); font-size: 16px; margin-bottom: 26px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-field { display: flex; flex-direction: column; gap: 6px; }
.f-field.full { grid-column: 1 / -1; }
.f-field label { font-family: var(--ui); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.f-field input, .f-field textarea {
  font: inherit; font-size: 17px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 0; width: 100%; transition: border-color .3s, box-shadow .3s;
}
.f-field textarea { min-height: 150px; resize: vertical; }
.f-field input:focus, .f-field textarea:focus { outline: 0; border-color: var(--petrol); box-shadow: 0 0 0 3px var(--petrol-t); }
.f-field.has-err input, .f-field.has-err textarea { border-color: #b3261e; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--gray); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--petrol); flex: 0 0 auto; }
.consent a { color: var(--petrol); text-decoration: underline; }
.consent.has-err { color: #b3261e; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.f-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 6px; }
.f-status { font-size: 15px; min-height: 1.5em; }
.f-status.ok { color: #1d6b43; }
.f-status.err { color: #b3261e; }
.f-status a { text-decoration: underline; }

/* ---------- cookie bar ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--ink); color: #d5d9dd; padding: 22px 24px; display: none;
  flex-direction: column; gap: 16px; font-size: 15px;
  max-width: 820px; margin: 0 auto; box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.cookie.show { display: flex; }
.cookie .ck-txt strong { display: block; color: #fff; font-family: var(--display); font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.cookie p { margin: 0; line-height: 1.55; }
.cookie a { color: #fff; text-decoration: underline; }
.cookie .ck-opts { display: none; flex-wrap: wrap; gap: 8px 28px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.cookie.open .ck-opts { display: flex; }
.cookie .ck-opts label { display: flex; align-items: center; gap: 10px; font-family: var(--ui); font-size: 14px; color: #fff; cursor: pointer; }
.cookie .ck-opts label small { color: #8a929b; }
.cookie .ck-opts input { width: 18px; height: 18px; accent-color: var(--petrol-2); }
.cookie .ck-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cookie .ck-btns .btn { padding: 11px 20px; font-size: 14px; flex: 0 0 auto; }
.cookie .ck-btns [data-ck="save"] { display: none; }
.cookie.open .ck-btns [data-ck="save"] { display: inline-flex; }
.cookie.open .ck-btns [data-ck="open"] { display: none; }
.cookie .ck-set { font-family: var(--ui); font-size: 14px; color: #d5d9dd; text-decoration: underline; text-underline-offset: .2em; padding: 8px 4px; }
.cookie .ck-set:hover { color: #fff; }

/* ---------- misc ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.two img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.list-check li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px solid var(--line); font-size: 17px; overflow-wrap: break-word; hyphens: auto; }
.list-check li::before { position: absolute; left: 0; top: 14px;  content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: var(--petrol-t); color: var(--petrol); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.article ul.list-check { margin-left: 0; }
.article .list-check li { list-style: none; margin-bottom: 0; }
.legal { max-width: 76ch; overflow-wrap: break-word; hyphens: auto; }
.legal h2 { font-size: 26px; margin: 40px 0 12px; }
.legal p, .legal li { color: #2b3138; margin-bottom: 14px; }
.legal ul { margin-left: 22px; }
.legal ul li { list-style: disc; margin-bottom: 8px; }
.legal a { color: var(--petrol); text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; font-size: 16px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-family: var(--ui); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.legal .todo { background: #fff4d6; border-left: 3px solid #d9a400; padding: 12px 16px; font-size: 15px; }
.big404 { font-family: var(--ui); font-size: clamp(90px, 18vw, 220px); font-weight: 700; letter-spacing: -.05em; line-height: .9; color: var(--line); }
.article-meta { display: flex; gap: 18px; font-family: var(--ui); font-size: 13px; color: var(--gray-2); margin-top: 20px; }
.article-meta b { color: var(--petrol); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }

/* ================= responsive ================= */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .team-strip { grid-template-columns: repeat(3, 1fr); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why div:nth-child(3) { border-left: 0; padding-left: 0; }
  .ft .grid { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  /* backdrop-filter by z hlavicky spravil containing block pre fixed menu → na mobile vypnut */
  .hd { backdrop-filter: none; background: var(--paper); }
  .hd .wrap { height: 70px; }
  .brand img { height: 28px; }
  .burger { display: flex; }
  .hd nav {
    position: fixed; inset: 70px 0 0 0; background: var(--paper); flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 0; padding: 24px var(--gutter) 40px; transform: translateX(100%); transition: transform .45s var(--ease); overflow-y: auto; z-index: 49;
  }
  .hd nav.open { transform: none; }
  .hd nav a { font-size: 30px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; letter-spacing: -.02em; }
  .hd nav a:not(.cta)::after { display: none; }
  .hd nav a.cta { margin-top: 22px; font-size: 18px; text-align: center; padding: 16px 22px; border: 0; }
  .hero .grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .facts ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .facts li { border-right: 0; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .facts li + li { padding-left: 0; }
  .facts li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 16px; }
  .facts li:nth-child(even) { padding-left: 16px; }
  .facts li:nth-last-child(-n+2) { border-bottom: 0; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head .lead, .sec-head > .link { justify-self: start; }
  .statement .grid { grid-template-columns: 1fr; gap: 20px; }
  .cap-list a { grid-template-columns: minmax(0, 1fr) 32px; gap: 6px 16px; }
  .cap-list a .n { display: none; }
  .cap-list a p { grid-column: 1; }
  .cap-list a .arr { grid-row: 1 / span 2; }
  .cta-band .grid { grid-template-columns: 1fr; }
  .cta-band .acts { justify-self: start; }
  .contact-grid, .two, .pillars { grid-template-columns: 1fr; }
  .members { gap: 24px; }
}
@media (max-width: 600px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li:nth-child(odd), .facts li:nth-child(even) { border-right: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .facts li:last-child { border-bottom: 0; }
  .facts li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .svc-grid, .team, .posts, .posts.two, .why, .steps { grid-template-columns: 1fr; }
  .svc-grid a { min-height: 0; padding: 22px 20px; }
  .why div + div { border-left: 0; padding-left: 0; }
  .team-strip { grid-template-columns: repeat(2, 1fr); }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .ft .grid { grid-template-columns: 1fr; gap: 30px; }
  .f-grid { grid-template-columns: 1fr; }
  .c-rows > div { grid-template-columns: 1fr; gap: 6px; }
  .hero .acts .btn, .f-actions .btn { width: 100%; justify-content: center; }
  .cookie { left: 10px; right: 10px; bottom: 10px; padding: 18px; } .cookie .ck-btns .btn { flex: 1 1 auto; justify-content: center; }
  body:has(.cookie.show) .side-rail { display: none; }
}

/* ---------- hero twobirds-style: fotka na celú šírku + nadpis v boxe ---------- */
.hero-tb { position: relative; min-height: min(78vh, 760px); display: grid; align-items: start; overflow: hidden; background: var(--ink); }
.hero-tb picture { display: contents; }
.hero-tb img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 68%; }
.hero-tb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,20,24,.28), rgba(16,20,24,0) 60%); }
.hero-tb .wrap { position: relative; z-index: 1; width: 100%; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(40px, 6vw, 88px); }
.hero-tb .box { background: var(--paper); max-width: 520px; padding: clamp(24px, 2.6vw, 36px); }
.hero-tb .box h1 { margin: 10px 0 12px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.08; }
.hero-tb .box > .eyebrow { font-size: 13px; letter-spacing: .12em; }
.hero-tb .box h1 em { font-style: normal; color: var(--petrol); }
.hero-tb .box .lead { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.55; margin-bottom: 20px; }
.hero-tb .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tb .rule { display: none; }

.facts.flat { margin-top: 0; border-top: 0; }

/* ---------- pastelový blok s obrázkovými kartami (twobirds "Trending topics") ---------- */
.sec.tint { background: var(--petrol-t); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards a { position: relative; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--ink); color: #fff; }
.cards a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cards a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,20,24,.05) 30%, rgba(16,20,24,.82)); }
.cards a:hover img { transform: scale(1.05); }
.cards .in { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 1; }
.cards .meta { display: block; font-family: var(--ui); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #cfe6e9; margin-bottom: 10px; }
.cards h3 { color: #fff; font-size: clamp(20px, 1.8vw, 26px); }
.cards .top { position: absolute; top: 22px; left: 26px; z-index: 1; font-family: var(--display); font-size: 22px; color: #fff; }

/* ---------- Leistungen twobirds-style: banner + kategórie vľavo + mriežka boxov vpravo ---------- */
.banner { position: relative; background: var(--ink); min-height: 300px; display: grid; align-items: center; overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.banner .wrap { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: 48px; }
.banner .box { background: var(--ink); color: #fff; max-width: 560px; padding: 30px 36px; }
.banner .box .eyebrow { color: #7fd1da; }
.banner .box h1 { color: #fff; font-size: clamp(30px, 3.6vw, 48px); margin-top: 14px; }
.cap-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.cap-filter.side { display: flex; flex-direction: column; gap: 0; margin: 0; position: sticky; top: 108px; }
.cap-filter.side button { text-align: left; padding: 12px 0; border: 0; border-radius: 0; background: none; color: var(--gray-2); font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; transition: color .3s; }
.cap-filter.side button:hover { color: var(--ink); }
.cap-filter.side button.on { color: var(--ink); text-decoration: underline; text-decoration-color: var(--petrol); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.cap-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cap-boxes a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 14px; min-height: 84px; padding: 16px 18px; border: 1px solid #b9bfc5; transition: border-color .3s, background .3s, color .3s; }
.cap-boxes a .n { grid-column: 1 / -1; font-family: var(--ui); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--gray-2); transition: color .3s; }
.cap-boxes a .t { font-family: var(--ui); font-size: 15px; font-weight: 600; line-height: 1.3; }
.cap-boxes a:hover .n { color: #7fd1da; }
.cap-boxes.home { grid-template-columns: repeat(3, 1fr); }
.cap-boxes a .arr { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ink); transition: transform .3s var(--ease); }
.cap-boxes a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.cap-boxes a:hover .arr { color: #7fd1da; transform: translateX(4px); }
.cap-boxes a.hidden { display: none; }
.cap-desc { margin-top: 28px; color: var(--gray); font-size: 17px; max-width: 60ch; }

@media (max-width: 1100px) { .cap-boxes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .hero-tb { min-height: 0; }
  .hero-tb .box { max-width: none; }
  .hero-tb .amp, .hero-tb .rule, .hero-tb .vline { display: none; }
/* linka je kotvena priamo na znak §, takze sa ho vzdy dotyka */
.hero-tb .amp::before { content: ""; position: absolute; right: calc(100% - .16em); bottom: .17em; width: 100vw; height: 3px; background: var(--paper); }
  .cap-layout { grid-template-columns: 1fr; }
  .cap-filter.side { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px 22px; }
  .cap-filter.side button { font-size: 20px; padding: 8px 0; }
  .cards { grid-template-columns: 1fr; }
  .cards a { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) { .cap-boxes { grid-template-columns: 1fr; } .hero-tb .acts .btn { width: 100%; justify-content: center; } }

/* ================= načítavacie animácie ================= */
/* záclona pri prvom načítaní v relácii (JS ju odstráni, ak už bola) */
.curtain { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; pointer-events: none;
  animation: curtainUp .7s .85s cubic-bezier(.76, 0, .24, 1) both; }
.curtain img { height: 42px; width: auto; opacity: 0; animation: curtainLogo .55s .1s var(--ease) both, curtainLogoOut .3s .7s ease-in both; }
.curtain::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--petrol-2); transform: scaleX(0); transform-origin: left;
  animation: growX .7s .15s var(--ease) both; }
@keyframes curtainUp { from { transform: translateY(0); } to { transform: translateY(-101%); } }
@keyframes curtainLogo { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes curtainLogoOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* hlavička: logo a položky menu sa objavia postupne */
body.first-load .hd .brand, body.first-load .hd nav > a { animation: fadeDown .6s var(--ease) both; }
body.first-load .hd .brand { animation-delay: 1.15s; }
body.first-load .hd nav > a:nth-child(1) { animation-delay: 1.25s; }
body.first-load .hd nav > a:nth-child(2) { animation-delay: 1.31s; }
body.first-load .hd nav > a:nth-child(3) { animation-delay: 1.37s; }
body.first-load .hd nav > a:nth-child(4) { animation-delay: 1.43s; }
body.first-load .hd nav > a:nth-child(5) { animation-delay: 1.49s; }
body.first-load .hd nav > a:nth-child(6) { animation-delay: 1.55s; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

/* hero: fotka sa pomaly „usadí“, biely box vyjde zdola, jeho obsah po riadkoch */
.hero-tb img.bg { animation: settle 2.4s .9s var(--ease) both; }
@keyframes settle { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero-tb .box.rv { transition-delay: 1.05s; }
.hero-tb .box > * { animation: riseIn .8s var(--ease) both; }
.hero-tb .box > .eyebrow { animation-delay: 1.25s; }
.hero-tb .box > h1 { animation-delay: 1.38s; }
.hero-tb .box > .lead { animation-delay: 1.52s; }
.hero-tb .box > .acts { animation-delay: 1.66s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
/* čiara a § až po záclone */
.hero-tb .vline.top { animation-delay: 1.3s; }
.hero-tb .amp { animation-delay: 2.0s; }
.hero-tb .vline.bot { animation-delay: 3.2s; }
/* pás faktov: položky postupne */
.facts li { opacity: 0; animation: riseIn .7s var(--ease) both; }
.facts li:nth-child(1) { animation-delay: 1.9s; } .facts li:nth-child(2) { animation-delay: 2.0s; }
.facts li:nth-child(3) { animation-delay: 2.1s; } .facts li:nth-child(4) { animation-delay: 2.2s; }

/* linka pred nadpisom sekcie narastie, keď sa sekcia odkryje */
.eyebrow.rv::before, .rv .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .7s .25s var(--ease); }
.eyebrow.rv.on::before, .rv.on .eyebrow::before { transform: scaleX(1); }
/* podstránky: nadpis stránky sa objaví s jemným posunom zľava */
.phero h1.rv { transform: translateX(-16px); }
.phero h1.rv.on { transform: none; }

/* ak záclona nie je (opakované načítanie), hero beží bez čakania */
body:not(.first-load) .hero-tb img.bg { animation-delay: 0s; }
body:not(.first-load) .hero-tb .box.rv { transition-delay: .05s; }
body:not(.first-load) .hero-tb .box > .eyebrow { animation-delay: .2s; }
body:not(.first-load) .hero-tb .box > h1 { animation-delay: .32s; }
body:not(.first-load) .hero-tb .box > .lead { animation-delay: .44s; }
body:not(.first-load) .hero-tb .box > .acts { animation-delay: .56s; }
body:not(.first-load) .hero-tb .vline.top { animation-delay: .3s; }
body:not(.first-load) .hero-tb .amp { animation-delay: 1.0s; }
body:not(.first-load) .hero-tb .vline.bot { animation-delay: 2.2s; }
body:not(.first-load) .facts li:nth-child(1) { animation-delay: .8s; } body:not(.first-load) .facts li:nth-child(2) { animation-delay: .9s; }
body:not(.first-load) .facts li:nth-child(3) { animation-delay: 1.0s; } body:not(.first-load) .facts li:nth-child(4) { animation-delay: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  body.first-load .hd .brand, body.first-load .hd nav > a, .hero-tb img.bg, .hero-tb .box > *, .facts li { animation: none; opacity: 1; }
  .eyebrow.rv::before, .rv .eyebrow::before, .eyebrow.rv.on::before, .rv.on .eyebrow::before { transform: none; transition: none; }
}

/* ================= animácie v sekciách ================= */
/* fotky tímu sa odkryjú zdola nahor */
.team-strip a.rv .ph img, .team article.rv .ph img { clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease), transform .9s var(--ease); }
.team-strip a.rv.on .ph img, .team article.rv.on .ph img { clip-path: inset(0 0 0 0); }
/* kroky: horná linka narastie zľava */
.steps div { border-top: 0; position: relative; }
.steps div::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .8s .15s var(--ease); }
.steps div.rv.on::after { transform: scaleX(1); }
/* čísla s pevnou šírkou číslic, nech pri počítaní neskáče okolie */
[data-count] { display: inline-block; font-variant-numeric: tabular-nums; }
/* menšie prvky prichádzajú z kratšej vzdialenosti */
.svc-grid a.rv, .cap-boxes a.rv, .logos img.rv, .faq details.rv, .c-rows > div.rv, .ft .grid > div.rv { transform: translateY(12px); }
@media (prefers-reduced-motion: reduce) {
  .team-strip a.rv .ph img, .team article.rv .ph img { clip-path: none; transition: none; }
  .steps div::after { transform: none; transition: none; }
}

/* ================= pripomienky 1. kolo ================= */
/* petrolejový pás: kontakty vľavo s ikonami, výzva vpravo */
.cta-band .grid { grid-template-columns: 1.25fr 1fr; align-items: start; gap: clamp(32px, 5vw, 72px); }
.cta-band .offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.cta-band .office h4 { color: #fff; font-family: var(--ui); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.cta-band .office h4.sp { margin-top: 22px; }
.cta-band .office p { color: #d7ecee; font-size: 15px; line-height: 1.5; margin: 0 0 8px; max-width: none; }
.cta-band .office p, .cta-band .office p > a { display: flex; align-items: flex-start; gap: 10px; }
.cta-band .office svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 3px; color: #8fd4da; }
.cta-band .office a { color: #fff; border-bottom: 1px solid transparent; transition: border-color .3s; }
.cta-band .office a:hover { border-color: rgba(255,255,255,.6); }
.cta-band .acts { justify-self: start; align-items: flex-start; }
.cta-band .acts h2 { font-size: clamp(26px, 2.6vw, 38px); }
.cta-band .acts p { margin-bottom: 8px; }

/* news karty s obrázkom (vzor ATB LAW) */
.ncards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ncards.two { grid-template-columns: repeat(2, 1fr); }
.ncards .ncard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.ncards .ncard .ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.ncards .ncard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ncards .ncard .cat { font-family: var(--ui); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); padding: 22px 24px 0; }
.ncards .ncard h3 { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.2; padding: 10px 24px 0; }
.ncards .ncard p { color: var(--gray); font-size: 15px; line-height: 1.55; padding: 12px 24px 0; }
.ncards .ncard .meta { font-family: var(--ui); font-size: 12px; color: var(--gray-2); padding: 16px 24px 22px; margin-top: auto; }
.ncards .ncard:hover { border-color: var(--petrol); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16,20,24,.10); }
.ncards .ncard:hover .ph img { transform: scale(1.05); }
.ncards .ncard:hover h3 { color: var(--petrol); }

@media (max-width: 1100px) {
  .cta-band .grid { grid-template-columns: 1fr; }
  .cta-band .offices { grid-template-columns: repeat(2, 1fr); }
  .ncards, .ncards.two { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hd-quick { margin-left: auto; margin-right: 10px; }
  .cap-boxes.home { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cta-band .offices { grid-template-columns: 1fr; }
  .ncards, .ncards.two { grid-template-columns: 1fr; }
  .hd-quick a { width: 34px; height: 34px; }
}

/* ================= pripomienky 2. kolo ================= */
/* 14. pevná lišta vpravo: telefón, e-mail, mapa */
.side-rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 70; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(16,20,24,.18); }
.side-rail a { width: 48px; height: 48px; display: grid; place-items: center; background: var(--petrol); color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .3s; }
.side-rail a:last-child { border-bottom: 0; }
.side-rail a:hover { background: var(--petrol-d); }
.side-rail svg { width: 20px; height: 20px; }
/* 15. kancelárie na stránke Kontakt (tmavý variant bloku z petrolejového pásu) */
.contact-offices { display: grid; grid-template-columns: 1fr; gap: 34px; }
.contact-offices .office h4 { font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); margin-bottom: 12px; }
.contact-offices .office h4.sp { margin-top: 20px; }
.contact-offices .office p { color: var(--gray); font-size: 16px; line-height: 1.5; margin: 0 0 8px; }
.contact-offices .office p, .contact-offices .office p > a { display: flex; align-items: flex-start; gap: 10px; }
.contact-offices .office svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 4px; color: var(--petrol); }
.contact-offices .office a { color: var(--ink); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.contact-offices .office a:hover { color: var(--petrol); border-color: var(--petrol); }
@media (max-width: 860px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li:nth-child(odd), .facts li:nth-child(even) { border-right: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .facts li:last-child { border-bottom: 0; }
  .hero-tb img.bg { object-position: 50% 50%; }
  .side-rail { top: auto; bottom: 120px; transform: none; }
  .side-rail a { width: 42px; height: 42px; }
  .side-rail svg { width: 18px; height: 18px; }
  .eyebrow { font-size: 13px; }
}

/* ================= hero: nikto nesmie byť orezaný =================
   Obrázok = fotka tímu (pomer 1,988, 9 % rezerva nad hlavami, 4 % pod topánkami) + doplnená stena vľavo, spolu pomer 3,2.
   Od 1200 px: výška hero = menšia z (šírka / 1,988) a (výška okna − hlavička). Hero je teda vždy celý na obrazovke.
   Obrázok sa prispôsobí výške a ukotví vpravo – pri nižšom okne ubúda len doplnená stena vľavo, nikdy nie ľudia.
   Postavy začínajú na 44 % šírky fotky → od pravého okraja sú vo vzdialenosti 1,113 × výška hero.
   Biely box vždy končí aspoň 40 px pred prvou postavou. Pod 1200 px sa zobrazí iba stena bez ľudí. */
@media (min-width: 1200px) {
  .hero-tb {
    --hh: max(560px, min(calc(100vw / 1.988), calc(100vh - 85px)));
    --pl: calc(100vw - 1.113 * var(--hh) - 40px);
    --hb-left: max(var(--gutter), min(calc(max(0px, (100vw - 1360px) / 2) + var(--gutter)), calc(var(--pl) - 600px)));
    height: var(--hh); min-height: 0; aspect-ratio: auto; align-items: center;
  }
  .hero-tb .wrap { max-width: none; padding: 24px var(--gutter) 24px var(--hb-left); }
  .hero-tb img.bg { object-position: 100% 60%; }
  .hero-tb .box { max-width: min(600px, calc(var(--pl) - var(--hb-left))); }
}
@media (max-width: 1199px) {
  .hero-tb img.bg { object-position: 0% 40%; }
}
/* úvodná animácia fotky bez približovania – zoom by na chvíľu orezal okraje */
@keyframes settle { from { filter: brightness(.82); } to { filter: none; } }

/* ================= mapa na kliknutie (Kontakt) ================= */
.map { margin-top: 22px; aspect-ratio: 16 / 10; background: var(--paper-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-load { position: absolute; inset: 0; width: 100%; display: grid; place-content: center; gap: 8px; text-align: center; padding: 20px; cursor: pointer;
  background: repeating-linear-gradient(45deg, #f4f3f0 0 14px, #ecebe7 14px 28px); transition: background .3s; }
.map-load b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--ui); font-size: 15px; font-weight: 600; color: #fff; background: var(--petrol); padding: 12px 22px; border-radius: 999px; margin: 0 auto; }
.map-load b svg { width: 16px; height: 16px; margin: 0; color: #fff; }
.map-load small { font-size: 13px; color: var(--gray); max-width: 34ch; line-height: 1.45; }
.map-load:hover b { background: var(--petrol-d); }
.contact-offices .office .map-load { display: grid; }
.legal .impr-list { margin-left: 0; }
.legal .impr-list li { list-style: none; padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.legal .impr-list li:first-child { border-top: 1px solid var(--line); }
.legal .impr-credits { margin-top: 40px; font-size: 15px; color: var(--gray); }
.office-photo { margin: 22px 0 0; }
.office-photo img { display: block; width: 100%; height: auto; aspect-ratio: 480 / 522; object-fit: cover; }
.office-photo figcaption { font-size: 13px; color: var(--gray); margin-top: 8px; }

/* ================= Rechtstipps ================= */
.tipp-search { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.tipp-search label { display: block; font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--petrol); margin-bottom: 10px; }
.tipp-search .in { position: relative; }
.tipp-search .in > svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--gray-2); pointer-events: none; }
.tipp-search input { font: inherit; font-size: 17px; width: 100%; padding: 16px 52px 16px 50px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none; transition: border-color .3s, box-shadow .3s; }
.tipp-search input::-webkit-search-cancel-button { display: none; }
.tipp-search input:focus { outline: 0; border-color: var(--petrol); box-shadow: 0 0 0 3px var(--petrol-t); }
.tipp-search .clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; font-size: 24px; line-height: 1; color: var(--gray); border-radius: 50%; }
.tipp-search .clear:hover { background: var(--paper-2); color: var(--ink); }
.tipp-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.tipp-filter { position: sticky; top: 108px; }
.tipp-filter h4 { font-family: var(--ui); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-2); margin: 0 0 6px; }
.tipp-filter h4 + .grp { margin-bottom: 30px; }
.tipp-filter .grp button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); font-family: var(--ui); font-size: 15px; font-weight: 500; color: var(--gray); transition: color .3s, padding-left .3s var(--ease); }
.tipp-filter .grp button:hover { color: var(--ink); }
.tipp-filter .grp button.on { color: var(--ink); font-weight: 700; box-shadow: inset 3px 0 0 var(--petrol); padding-left: 12px; }
.tipp-filter .grp button i { font-style: normal; font-size: 12px; color: var(--gray-2); background: var(--paper-2); border-radius: 999px; padding: 2px 9px; min-width: 28px; text-align: center; }
.tipp-filter .grp button.on i { background: var(--petrol); color: #fff; }
.tipp-filter .grp.grp-au button { justify-content: flex-start; }
.tipp-filter .grp.grp-au button i { margin-left: auto; }
.tipp-filter .grp.grp-au button img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.tipp-count { font-family: var(--ui); font-size: 14px; color: var(--gray); margin-bottom: 18px; }
.tipp-count b { color: var(--ink); }
.tipp-list { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tipp-list.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tipp { display: flex; flex-direction: column; min-width: 0; background: var(--paper); border: 1px solid var(--line); padding: 26px 28px 22px; transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.tipp.hidden { display: none; }
.tipp:hover { border-color: var(--petrol); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(16,20,24,.10); }
.tipp .top { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--ui); }
.tipp .cat { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); }
.tipp .date { font-size: 12px; color: var(--gray-2); }
.tipp h3 { font-size: clamp(20px, 1.7vw, 26px); line-height: 1.2; margin: 12px 0 10px; transition: color .3s; }
.tipp:hover h3 { color: var(--petrol); }
.tipp p { color: var(--gray); font-size: 15px; line-height: 1.55; margin: 0; }
.tipp .foot { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.tipp .aus { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.tipp .more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--petrol); white-space: nowrap; }
.tipp .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.tipp:hover .more svg { transform: translateX(4px); }
.au { display: inline-flex; align-items: center; gap: 10px; }
.au img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.au span { display: flex; flex-direction: column; line-height: 1.2; }
.au b { font-family: var(--ui); font-size: 14px; font-weight: 600; color: var(--ink); }
.au small { font-family: var(--ui); font-size: 12px; color: var(--gray-2); }
.tipp-empty { background: var(--paper-2); padding: 48px 28px; text-align: center; }
.tipp-empty h3 { font-size: 24px; margin-bottom: 10px; }
.tipp-empty p { color: var(--gray); max-width: 46ch; margin: 0 auto 22px; }
.tipp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.tipp-meta .au img { width: 44px; height: 44px; }
a.au:hover b { color: var(--petrol); }
.tipp-meta .dt { font-family: var(--ui); font-size: 13px; color: var(--gray-2); }
.article .quelle { font-size: 14px; line-height: 1.55; color: var(--gray); background: var(--paper-2); border-left: 3px solid var(--petrol); padding: 14px 18px; margin: 32px 0 0; }
.aside .card.author { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: start; }
.aside .card.author img { width: 92px; height: 118px; object-fit: cover; object-position: top; }
.aside .card.author .lbl { display: block; font-family: var(--ui); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--petrol); margin-bottom: 6px; }
.aside .card.author h4 { font-size: 19px; margin-bottom: 2px; }
.aside .card.author .role { font-family: var(--ui); font-size: 13px; color: var(--gray-2); margin-bottom: 10px; }
.aside .card.author p { font-size: 14px; margin-bottom: 10px; }
@media (max-width: 1100px) { .tipp-list.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .tipp-layout { grid-template-columns: 1fr; gap: 28px; }
  .tipp-filter { position: static; }
  .tipp-filter h4 + .grp { margin-bottom: 18px; }
  .tipp-filter .grp { display: flex; flex-wrap: wrap; gap: 8px; }
  .tipp-filter .grp button, .tipp-filter .grp.grp-au button { width: auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; box-shadow: none; }
  .tipp-filter .grp button.on { padding-left: 14px; background: var(--ink); color: #fff; border-color: var(--ink); }
  .tipp-filter .grp button.on i { background: rgba(255,255,255,.18); color: #fff; }
  .tipp-filter .grp.grp-au button img { width: 22px; height: 22px; }
}
@media (max-width: 600px) {
  .tipp-list.three { grid-template-columns: 1fr; }
  .tipp { padding: 22px 20px 18px; }
  .tipp .foot { align-items: flex-start; flex-direction: column; }
  .aside .card.author { grid-template-columns: 72px minmax(0, 1fr); }
  .aside .card.author img { width: 72px; height: 92px; }
  .tipp-search input { font-size: 16px; }
}
