:root {
  --cnvs-themecolor: #1F5FA8;
  --cnvs-themecolor-rgb: 31,95,168;
  --uc-ink: #14213D;
  --uc-muted: #566070;
  --uc-surface: #F4F6F9;
  --uc-border: #DCE1E8;
  --uc-accent-ink: #1A5294;
  --uc-radius: 10px;
  --cnvs-body-font: 'Inter', sans-serif;
  --cnvs-primary-font: 'Onest', sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --uc-cw: 100vw;
}

html { scroll-behavior: smooth; }
body { color: var(--uc-ink); background: #fff; font-family: 'Inter', sans-serif; overflow-x: clip; }
h1, h2, h3, h4 { font-family: 'Onest', sans-serif; color: var(--uc-ink); text-wrap: balance; letter-spacing: -0.01em; }
p { text-wrap: pretty; color: var(--uc-muted); }
a { color: var(--uc-accent-ink); }
section[id], footer[id] { scroll-margin-top: 110px; }
:focus-visible { outline: 3px solid rgba(var(--cnvs-themecolor-rgb), 0.6); outline-offset: 2px; }

.sec-compact { padding-block: 2.5rem; }
.sec-default { padding-block: 5rem; }
.sec-generous { padding-block: 8rem; }

#header #logo img { max-height: 56px; }
#header .menu-link { font-family: 'Onest', sans-serif; font-weight: 600; letter-spacing: 0.04em; color: var(--uc-ink); }

.uc-cta, .uc-cta-light {
  font-family: 'Onest', sans-serif; font-weight: 600; border-radius: var(--uc-radius);
  padding: 0.85rem 1.6rem; line-height: 1.4; height: auto;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.uc-cta { background: var(--cnvs-themecolor); color: #fff; border: 1px solid var(--cnvs-themecolor); }
.uc-cta:hover { background: var(--uc-accent-ink); color: #fff; }
.uc-cta-light { background: #fff; color: var(--uc-ink); border: 1px solid #fff; }
.uc-cta-light:hover { background: var(--uc-surface); color: var(--uc-ink); }
.uc-cta:active, .uc-cta-light:active { transform: scale(0.97); }

/* hero */
.uc-hero { padding: 0; overflow: hidden; }
.uc-hero .container-fluid { padding: 0; }
.uc-hero-text { padding: 4rem 1.5rem 3rem; }
.uc-label { font-family: 'Onest', sans-serif; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; color: var(--uc-accent-ink); margin-bottom: 1.25rem; }
.uc-hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; font-weight: 700; margin-bottom: 1.25rem; max-width: 14ch; }
.uc-lead { font-size: 1.15rem; line-height: 1.7; max-width: 52ch; }
.uc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.uc-textlink { font-family: 'Onest', sans-serif; font-weight: 600; color: var(--uc-accent-ink); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 200ms ease, color 200ms ease; }
.uc-textlink:hover { border-bottom-color: currentColor; color: var(--uc-ink); }
.uc-hero-img { display: block; width: 100%; height: 100%; max-height: 640px; min-height: 280px; object-fit: cover; }
@media (min-width: 992px) {
  .uc-hero-text { padding: 6rem 4rem 6rem max(1.5rem, calc((100vw - 1320px) / 2 + 12px)); }
  .uc-hero-img { min-height: 640px; }
}

/* rail */
.rail-band { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.rail-band h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
@media (min-width: 992px) {
  .rail-band { grid-template-columns: 4fr 8fr; }
  .rail-band > aside { position: sticky; top: 7rem; align-self: start; }
}
.uc-photo { display: block; width: 100%; height: auto; border-radius: var(--uc-radius); margin-top: 1.75rem; }
.uc-services { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .uc-services { grid-template-columns: 1fr 1fr; } }
.uc-service {
  display: flex; gap: 1rem; padding: 1.5rem; background: #fff; border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  transition: transform 200ms var(--ease-out), border-color 200ms ease, background-color 200ms ease;
}
.uc-service > i { font-size: 1.5rem; line-height: 1; color: var(--cnvs-themecolor); flex: none; margin-top: 0.2rem; }
.uc-service h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.uc-service p { margin: 0; font-size: 0.95rem; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
  .uc-service:hover { transform: translateY(-3px); border-color: var(--cnvs-themecolor); background: var(--uc-surface); }
}

/* audience band */
.uc-band { background: var(--uc-surface); }
.uc-band h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.uc-band .uc-lead { margin-inline: auto; }
.uc-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; padding: 0; margin: 1.75rem 0 0; }
.uc-tags li { background: #fff; border: 1px solid var(--uc-border); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.95rem; color: var(--uc-ink); }

/* why */
.uc-head h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 2.5rem; max-width: 20ch; }
.uc-why > div { border-top: 1px solid var(--uc-border); padding-top: 1.25rem; }
.uc-why h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.uc-why p { margin: 0; }

/* about */
.uc-about { background: #fff; }
.uc-about-img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: var(--uc-radius); }
.uc-about-text h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }
.uc-about-text p { font-size: 1.15rem; line-height: 1.8; max-width: 60ch; }
@media (min-width: 992px) {
  .uc-about { --uc-cw: 960px; }
  .uc-about-img.bleed-left { --uc-bleed: calc((100vw - var(--uc-cw)) / 2 + 12px); margin-left: calc(var(--uc-bleed) * -1); width: calc(100% + var(--uc-bleed)); max-width: none; border-radius: 0 var(--uc-radius) var(--uc-radius) 0; }
}
@media (min-width: 1200px) { .uc-about { --uc-cw: 1140px; } }
@media (min-width: 1400px) { .uc-about { --uc-cw: 1320px; } }

/* CTA band */
.uc-cta-band { background: #14213D; }
.uc-cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 0.5rem; }
.uc-cta-band p { color: #E3E8F0; margin: 0; }

/* contact */
#kontakt h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1.25rem; }
#kontakt h2.h3 { font-size: 1.6rem; }
.uc-address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.uc-contact-line { margin-bottom: 0.4rem; color: var(--uc-ink); }
.uc-contact-line i { color: var(--cnvs-themecolor); margin-right: 0.4rem; }
.uc-map { margin-top: 1.25rem; border-radius: var(--uc-radius); overflow: hidden; border: 1px solid var(--uc-border); }
.uc-map iframe { display: block; width: 100%; height: 240px; border: 0; }
.uc-form-card { background: var(--uc-surface); border-radius: var(--uc-radius); padding: 2rem; }
.uc-form-card label { font-weight: 500; color: var(--uc-ink); margin-bottom: 0.35rem; }
.uc-form-card .form-control { border-radius: var(--uc-radius); border: 1px solid var(--uc-border); background: #fff; min-height: 48px; }
.uc-form-card .form-control:focus { border-color: var(--cnvs-themecolor); box-shadow: 0 0 0 3px rgba(var(--cnvs-themecolor-rgb), 0.2); }
.uc-consent { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 400; font-size: 0.95rem; }
.uc-consent input { margin-top: 0.3rem; flex: none; }

/* footer */
#footer { padding-top: 3rem; }
.uc-footer { color: var(--uc-ink); line-height: 1.7; }
.uc-footer a { text-decoration: none; }
.uc-footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--uc-border); }
#footer #copyrights { background: transparent; color: var(--uc-muted); font-size: 0.9rem; }

@media (max-width: 575.98px) {
  .sec-default { padding-block: 3.5rem; }
  .sec-generous { padding-block: 4.5rem; }
  .uc-form-card { padding: 1.25rem; }
  .uc-cta, .uc-cta-light { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---- inline overrides ---- */
:where(img[width][height]){height:auto}

body{font-family:Inter,Arial,Helvetica,sans-serif;}
