/* PriCoSoft website – based on the design draft in _Ref/pricosoft-site.
   Themes: [data-theme="weihnachten"], [data-theme="ostern"] override the tokens below. */

:root {
  --blue: #5F7FA3;
  --blue-dark: #42698f;
  --navy: #243447;
  --text: #2F3E4F;
  --muted: #66758a;
  --bg: #F7F9FB;
  --border: #DCE3EA;
  --grad-from: #3158b7;
  --grad-to: #5f7fa3;
  --footer-bg: #06152b;
  --shadow: 0 22px 60px rgba(15, 23, 42, .10);
  --soft-shadow: 0 14px 36px rgba(15, 23, 42, .07);
  --hover-shadow: 0 20px 46px rgba(15, 23, 42, .11);
  --radius: 20px;
  --banner-bg: var(--navy);
}

[data-theme="weihnachten"] {
  --blue: #a3333d;
  --blue-dark: #7d2028;
  --navy: #1f3a2e;
  --grad-from: #7d2028;
  --grad-to: #1f5c45;
  --footer-bg: #10261d;
  --banner-bg: #a3333d;
}

[data-theme="ostern"] {
  --blue: #5a8f6a;
  --blue-dark: #3f6f4e;
  --navy: #2d4038;
  --grad-from: #5a8f6a;
  --grad-to: #c79a3b;
  --footer-bg: #1e2e27;
  --banner-bg: #5a8f6a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", system-ui, -apple-system, Arial, sans-serif; color: var(--text); background: #fff; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
svg.i { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; color: #fff; background: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- banner ---------- */
.site-banner { color: #fff; background: var(--banner-bg); font-size: 14px; font-weight: 600; }
.site-banner .container { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; padding: 6px 0; text-align: center; flex-wrap: wrap; }
.site-banner a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); border-bottom: 1px solid #e7ebf0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header .nav { min-height: 76px; display: flex; align-items: center; gap: 48px; }
.brand img { width: 164px; height: 54px; object-fit: contain; object-position: left center; }
.site-header nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav-link, .nav-dropdown-toggle { position: relative; padding: 28px 0 25px; color: #2f3b4d; background: transparent; border: 0; font: inherit; font-size: 15px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; cursor: pointer; transition: color .2s ease; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: var(--blue); transform: scaleX(0); transition: transform .2s ease; }
.nav-link:hover, .nav-link:focus-visible, .nav-dropdown-toggle:hover { color: var(--blue); }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--blue); font-weight: 700; }
.nav-dropdown { position: relative; display: flex; align-items: center; gap: 7px; }
.nav-dropdown-toggle { display: inline-flex; align-items: center; padding-left: 0; padding-right: 0; }
.nav-dropdown-toggle svg { font-size: 11px; transition: transform .2s ease; }
.nav-dropdown.is-open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% - 8px); left: 50%; z-index: 1100; width: 280px; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 50px rgba(15,23,42,.14); opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.is-open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dropdown-menu a { display: block; padding: 12px 14px; color: #334155; border-radius: 10px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible, .nav-dropdown-menu a[aria-current="page"] { color: var(--blue); background: #f3f7fb; }
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; background: #f3f6f9; border: 1px solid var(--border); border-radius: 10px; }
.lang-switch a { padding: 5px 9px; border-radius: 7px; color: #526076; font-size: 13px; font-weight: 700; }
.lang-switch a[aria-current="true"] { color: #fff; background: var(--blue); }
.mobile-menu-toggle { display: none; align-items: center; gap: 8px; min-height: 42px; padding: 0 13px; color: var(--navy); background: #f3f6f9; border: 1px solid var(--border); border-radius: 10px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }

/* ---------- buttons ---------- */
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 26px; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 750; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 16px 36px rgba(95,127,163,.24); }
.btn-secondary { color: var(--blue); background: #fff; border-color: #AABBCB; }
.btn-light { color: var(--navy); background: #fff; box-shadow: 0 14px 30px rgba(15,23,42,.16); }

/* ---------- typography ---------- */
.eyebrow, .section-head small { display: inline-block; margin-bottom: 16px; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1 { margin: 0; max-width: 760px; color: var(--navy); font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.05em; }
h2 { margin: 0; color: var(--navy); font-size: clamp(30px, 4vw, 46px); line-height: 1.12; letter-spacing: -.035em; }
.lead { margin: 26px 0 34px; max-width: 700px; color: #526076; font-size: 20px; line-height: 1.72; }
.section-head { max-width: 760px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.prose { max-width: 820px; color: var(--text); font-size: 17px; line-height: 1.8; }
.prose h2 { margin: 1.6em 0 .5em; font-size: 28px; }
.prose h3 { margin: 1.4em 0 .4em; color: var(--navy); font-size: 21px; }
.prose a { color: var(--blue-dark); text-decoration: underline; }

/* ---------- sections ---------- */
section { padding: 92px 0; }
.section-soft { background: var(--bg); }
.breadcrumb { margin-bottom: 28px; color: var(--muted); font-size: 14px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; }
.breadcrumb a { color: var(--blue); }

/* page hero */
.hero { padding: 88px 0 80px; background: radial-gradient(circle at 85% 18%, rgba(95,127,163,.13), transparent 28%), linear-gradient(180deg, #fff 0%, #f7faff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.hero-grid.no-image { grid-template-columns: 1fr; }
.hero-panel { min-height: 360px; display: grid; place-items: center; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); }
.hero-panel img { width: 100%; height: 100%; object-fit: cover; }
.hero .lead:last-child { margin-bottom: 0; }

/* home hero */
.home-hero { position: relative; overflow: hidden; padding: 70px 0; background: radial-gradient(circle at 12% 27%, rgba(37,99,235,.12) 0 7px, transparent 8px), radial-gradient(circle at 42% 18%, rgba(37,99,235,.10) 0 5px, transparent 6px), linear-gradient(180deg, #fff 0%, #f8fbff 100%); }
.home-hero .hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 54px; }
.home-hero h1 { font-size: clamp(44px, 5vw, 68px); letter-spacing: -.06em; max-width: 620px; }
.home-hero .lead { max-width: 555px; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 40px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 26px; padding: 0; margin: 0; list-style: none; color: #334155; font-size: 14px; font-weight: 600; }
.trust-row li { display: flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--blue); }
.hero-visual { position: relative; display: flex; justify-content: flex-end; }
.hero-visual img { width: min(100%, 640px); height: auto; border-radius: 32px; }

/* service cards */
.services-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card { display: flex; flex-direction: column; padding: 24px 24px 26px; background: #fff; border: 1px solid #e4e9ef; border-radius: 22px; box-shadow: var(--soft-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--hover-shadow); border-color: rgba(95,127,163,.45); }
.service-illustration { height: 220px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; overflow: hidden; border-radius: 14px; background: linear-gradient(145deg, #f5f8fb, #eaf0f5); }
.service-illustration img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .28s ease; }
.service-card:hover .service-illustration img { transform: scale(1.035); }
.service-card h3 { margin: 0 0 14px; color: var(--navy); font-size: 23px; line-height: 1.2; letter-spacing: -.02em; }
.service-card p { margin: 0 0 20px; color: var(--muted); line-height: 1.65; }
.service-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--blue-dark); font-weight: 700; }
.service-link svg { transition: transform .2s ease; }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* feature showcase */
.service-showcase { display: grid; gap: 34px; }
.service-feature { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 58px; align-items: center; padding: 46px; background: #fff; border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--soft-shadow); transition: box-shadow .22s ease; }
.service-feature:hover { box-shadow: var(--hover-shadow); }
.service-feature:nth-child(even) { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.service-feature:nth-child(even) .service-visual { order: 2; }
.service-visual { min-height: 320px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f8fbfe; border: 1px solid #e4ebf2; border-radius: 22px; }
.service-visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .35s ease; }
.service-feature:hover .service-visual img { transform: scale(1.1); }
.service-content h3 { margin: 0; color: var(--navy); font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.service-content > p { margin: 18px 0 22px; color: var(--muted); font-size: 17px; line-height: 1.72; }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding-left: 26px; color: #526076; line-height: 1.5; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 50%; font-size: 10px; font-weight: 900; }

/* checklist (advantages) */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.checklist { display: grid; gap: 15px; padding: 0; margin: 0; list-style: none; }
.checklist li { position: relative; padding: 18px 18px 18px 52px; background: #fff; border: 1px solid var(--border); border-radius: 14px; line-height: 1.55; }
.checklist li::before { content: "✓"; position: absolute; left: 18px; top: 17px; color: var(--blue); font-weight: 900; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.step { padding: 30px 24px; background: #fff; border: 1px solid var(--border); border-radius: 18px; counter-increment: step; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 24px; color: var(--blue); font-size: 14px; font-weight: 850; }
.step h3 { margin: 0 0 10px; color: var(--navy); font-size: 20px; }
.step p { margin: 0; color: var(--muted); line-height: 1.6; }

/* text + image */
.text-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.text-image.image-right .image-panel { order: 2; }
.image-panel { width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.image-panel img { width: 100%; height: 100%; object-fit: contain; }
.text-image .prose p { color: var(--muted); }

/* logos marquee */
.logo-section { text-align: center; }
.logo-section p.sub { margin: 14px 0 34px; color: var(--muted); font-size: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item { height: 72px; display: flex; align-items: center; }
.logo-item img { max-height: 64px; width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.logo-item img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* timeline & team */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.timeline-item { padding: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--soft-shadow); color: var(--muted); line-height: 1.6; }
.timeline-item h3 { margin: 0 0 12px; color: var(--blue); font-size: 32px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.member { display: flex; align-items: center; gap: 18px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--soft-shadow); }
.member .photo { width: 82px; height: 82px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; background: #edf2f7; color: #94a3b8; font-size: 32px; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin: 0 0 6px; color: var(--navy); font-size: 21px; }
.member p { margin: 0; color: var(--muted); }
.member-join { background: linear-gradient(135deg, #f7faff, #eef4fa); border-color: #cfdbe7; }
.member-join .photo { color: var(--blue); background: #e7eff7; }
.member-join a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 700; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--soft-shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; color: var(--navy); font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--blue); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); line-height: 1.7; }

/* CTA */
.cta-section { padding: 0 0 92px; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 46px; color: #fff; background: var(--navy); border-radius: 26px; }
.cta-box h2 { color: #fff; }
.cta-box p { margin: 14px 0 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.6; }
.cta-box .btn { flex: 0 0 auto; }

/* contact box (home) */
.contact-box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 72px; align-items: center; padding: 64px 60px; color: #fff; background: linear-gradient(120deg, var(--grad-from) 0%, var(--grad-to) 100%); border-radius: 28px; box-shadow: 0 24px 60px rgba(36,80,184,.22); }
.contact-box::after { content: ""; position: absolute; width: 360px; height: 360px; right: -150px; top: -170px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.contact-box h2 { margin: 0 0 20px; color: #fff; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.contact-box p { margin: 0 0 32px; color: rgba(255,255,255,.86); font-size: 19px; line-height: 1.65; }
.contact-info { position: relative; z-index: 1; display: grid; gap: 18px; }
.contact-info a { display: grid; grid-template-columns: 44px 1fr; gap: 15px; align-items: start; color: #fff; }
.contact-info .ic { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.contact-info span { color: rgba(255,255,255,.9); line-height: 1.5; }
.contact-info strong { display: block; color: #fff; font-size: 15px; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: stretch; }
.contact-visual-card { overflow: hidden; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); background: linear-gradient(145deg, #eef4fa, #f8fbff); }
.contact-visual-card img { width: 100%; height: 100%; object-fit: cover; }
.contact-panel { display: flex; flex-direction: column; justify-content: center; padding: 46px; color: #fff; background: linear-gradient(145deg, var(--grad-from), var(--grad-to)); border-radius: 28px; box-shadow: var(--shadow); }
.contact-panel h2 { margin: 0 0 30px; color: #fff; }
.contact-panel .kicker { margin-bottom: 13px; color: rgba(255,255,255,.76); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-panel-list { display: grid; gap: 14px; margin-bottom: 26px; }
.contact-panel-item { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; padding: 18px; color: #fff; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: 18px; transition: transform .2s ease, background .2s ease; }
.contact-panel-item:hover { transform: translateY(-2px); background: rgba(255,255,255,.16); }
.contact-panel-item .ic { width: 54px; height: 54px; display: inline-grid; place-items: center; background: rgba(255,255,255,.14); border-radius: 15px; font-size: 19px; }
.contact-panel-item strong { display: block; margin-bottom: 4px; }
.contact-panel-item span { color: rgba(255,255,255,.86); line-height: 1.55; }

/* products */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { display: flex; flex-direction: column; padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--soft-shadow); transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--hover-shadow); }
.product-card .p-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; color: var(--blue); background: #edf3f8; border-radius: 14px; font-size: 22px; }
.product-card .p-icon img { width: 100%; height: 100%; object-fit: contain; }
.product-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 21px; }
.product-card p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.product-card .meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 4px 10px; color: var(--blue-dark); background: #eef3f8; border-radius: 999px; font-size: 12px; font-weight: 700; }
.product-facts { display: grid; gap: 12px; margin: 0; padding: 26px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--soft-shadow); }
.product-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.product-facts dt { color: var(--muted); font-weight: 600; }
.product-facts dd { margin: 0; color: var(--navy); font-weight: 600; }
.screens { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.screens img { border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--soft-shadow); }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--blue-dark); font-weight: 750; }

/* ---------- modal & form ---------- */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 1500; display: grid; place-items: center; padding: 24px; visibility: hidden; opacity: 0; transition: opacity .28s ease, visibility .28s ease; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.58); backdrop-filter: blur(7px); }
.modal-dialog { position: relative; z-index: 1; width: min(100%, 680px); max-height: calc(100vh - 48px); overflow-y: auto; padding: 38px; background: #fff; border-radius: 24px; box-shadow: 0 30px 90px rgba(15,23,42,.30); transform: translateY(28px) scale(.96); transition: transform .34s cubic-bezier(.22,1,.36,1); }
.modal.is-open .modal-dialog { transform: none; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; color: #526076; background: #f3f6f9; border: 0; border-radius: 50%; cursor: pointer; font-size: 18px; }
.modal-dialog h2 { margin: 0 52px 12px 0; font-size: clamp(28px, 4vw, 38px); }
.modal-intro { margin: 0 0 24px; color: #64748b; line-height: 1.65; }
.contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.contact-option { display: flex; align-items: center; gap: 14px; padding: 16px; background: #f7fafc; border: 1px solid var(--border); border-radius: 16px; }
.contact-option .ic { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 13px; }
.contact-option strong { display: block; color: var(--navy); font-size: 14px; }
.contact-option span { color: var(--blue-dark); font-weight: 750; overflow-wrap: anywhere; }
.contact-option > span:last-child > span { display: block; }
.contact-address { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px; color: var(--text); background: #f7fafc; border: 1px solid var(--border); border-radius: 16px; line-height: 1.55; }
.contact-address .ic { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: var(--blue); border-radius: 13px; }
.contact-address strong { color: var(--navy); }
.contact-address small { color: var(--blue-dark); font-weight: 700; }
.modal-actions { margin: 24px 0 0; }
.modal-actions .btn { flex: 1 1 200px; }

/* ---------- footer ---------- */
.site-footer { padding: 58px 0 24px; color: rgba(255,255,255,.82); background: var(--footer-bg); }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 64px; align-items: start; }
.footer-logo img { width: 190px; height: auto; margin-bottom: 20px; filter: grayscale(1) brightness(0) invert(1); }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: 17px; letter-spacing: 0; line-height: 1.3; }
.site-footer p, .site-footer address { margin: 0; color: rgba(255,255,255,.68); font-size: 15px; font-style: normal; line-height: 1.75; }
.footer-links { display: flex; flex-direction: column; gap: 11px; padding: 0; margin: 0; list-style: none; }
.site-footer a { color: rgba(255,255,255,.78); transition: color .2s ease; }
.site-footer a:hover, .site-footer a:focus-visible { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-top: 48px; padding-top: 22px; color: rgba(255,255,255,.56); border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- seasonal decoration ---------- */
.snow { position: fixed; inset: 0; z-index: 1400; pointer-events: none; overflow: hidden; }
.snow i { position: absolute; top: -12px; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .85; box-shadow: 0 0 6px rgba(0,0,0,.12); animation: snowfall linear infinite; }
@keyframes snowfall { to { transform: translate3d(30px, 105vh, 0); } }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .services-cards, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .site-header .nav { position: relative; }
  .mobile-menu-toggle { display: inline-flex; margin-left: auto; }
  .site-header nav { display: none; position: absolute; top: calc(100% - 1px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 0 0 16px 16px; box-shadow: 0 20px 50px rgba(15,23,42,.14); }
  .site-header nav.is-mobile-open { display: flex; }
  .nav-link, .nav-dropdown-toggle { display: flex; min-height: 44px; padding: 10px 14px; }
  .nav-link::after { display: none; }
  .nav-dropdown { display: grid; grid-template-columns: 1fr auto; }
  .nav-dropdown-menu { position: static; grid-column: 1 / -1; width: auto; margin: 0 8px 8px; padding: 4px; border: 0; border-left: 2px solid var(--border); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; transform: none; }
  .lang-switch { align-self: flex-start; margin: 10px 14px; }
  .hero-grid, .home-hero .hero-grid, .split, .text-image, .contact-box, .contact-grid, .service-feature, .service-feature:nth-child(even) { grid-template-columns: 1fr; }
  .service-feature:nth-child(even) .service-visual, .text-image.image-right .image-panel { order: 0; }
  .service-feature { gap: 30px; padding: 30px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline, .team-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-main > :first-child { grid-column: 1 / -1; }
  .contact-box { gap: 40px; padding: 44px 34px; }
  .contact-visual-card { order: 2; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 32px); }
  section { padding: 64px 0; }
  .hero, .home-hero { padding: 56px 0; }
  .services-cards, .product-grid, .steps, .check-list, .contact-options { grid-template-columns: 1fr; }
  .service-feature { padding: 20px; }
  .service-visual { min-height: 220px; }
  .cta-box, .contact-panel { padding: 30px 22px; }
  .contact-box { padding: 34px 22px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .mobile-menu-toggle span { display: none; }
  .brand img { width: 150px; }
  .modal-dialog { padding: 28px 20px; }
  .product-facts div { grid-template-columns: 1fr; gap: 2px; }
  h1, .home-hero h1 { font-size: clamp(32px, 9.5vw, 40px); letter-spacing: -.04em; }
  .lead, .home-hero .lead { margin: 20px 0 26px; font-size: 18px; line-height: 1.65; }
  .section-head { margin-bottom: 28px; }
  .section-head p { font-size: 17px; }
  .service-illustration { height: 180px; }
  .product-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; }
  .product-card .p-icon { width: 44px; height: 44px; margin: 0; grid-row: span 3; font-size: 19px; }
  .product-card h3 { font-size: 18px; margin-bottom: 6px; }
  .product-card p { margin-bottom: 10px; font-size: 15px; }
  .step { padding: 20px 18px; }
  .step::before { margin-bottom: 10px; }
  .checklist li { padding: 14px 14px 14px 44px; }
  .checklist li::before { left: 16px; top: 13px; }
  .timeline-item { padding: 22px; }
  .member { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .snow { display: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* product icon tiles (built-in icons, see ProductIcons.cs) */
.p-tile { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; background: linear-gradient(140deg, var(--blue), var(--navy)); border-radius: inherit; }
.p-tile svg { width: 58%; height: 58%; }
.product-card .p-icon:has(.p-tile) { background: none; }
.hero-icon { display: grid; place-items: center; padding: 48px; background: linear-gradient(160deg, #f4f8fc, #e8f0f8); }
.p-tile-xl { width: min(240px, 60%); height: auto; aspect-ratio: 1; border-radius: 28%; box-shadow: 0 24px 48px rgba(36, 52, 71, .22); }
.tag-dl { display: inline-flex; align-items: center; gap: 4px; }
.tag-dl .i { width: 14px; height: 14px; }
.screens a { display: block; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* team members */
.member .initials { font-size: 26px; font-weight: 700; letter-spacing: .02em; color: var(--blue); }
.member .bio { margin-top: 6px; font-size: 15px; line-height: 1.5; }
.member-links { display: flex; gap: 12px; margin-top: 10px; }
.member-links a { display: inline-grid; place-items: center; width: 34px; height: 34px; color: var(--blue); background: #edf3f8; border-radius: 50%; }
.member-links .i { width: 17px; height: 17px; }

/* timeline images (e.g. historic logo) */
.timeline-img { display: block; max-width: 210px; max-height: 64px; width: auto; margin: 0 0 14px; }
@media (max-width: 620px) {
  .hero-icon { padding: 28px; }
  .p-tile-xl { width: 140px; }
}
.hero-shot img { object-fit: contain; padding: 18px; }

/* whole tiles clickable (stretched link) */
.product-card, .service-card { position: relative; }
.product-card h3 a::after, .service-card .service-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product-card h3 a:focus-visible, .service-card .service-link:focus-visible { outline: none; }
.product-card:focus-within, .service-card:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.product-card:hover h3 a { color: var(--blue); }
.services-cards.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .services-cards.cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services-cards.cards-4 { grid-template-columns: 1fr; } }

/* team placeholder avatar */
.member .avatar-ph { width: 100%; height: 100%; fill: #b8c7d8; background: linear-gradient(160deg, #eef3f8, #dfe8f1); }

/* remote support + social links */
.nav-support { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; color: var(--blue); font-size: 14px; font-weight: 700; border: 1px solid var(--border); border-radius: 10px; }
.nav-support:hover { background: #f3f6f9; }
.nav-support .i { width: 17px; height: 17px; }
.footer-support { margin: 16px 0 0; }
.footer-support a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer-support .i { width: 18px; height: 18px; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.social-links a { display: grid; place-items: center; width: 36px; height: 36px; font-weight: 800; font-size: 15px; line-height: 1; text-transform: none; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; transition: background .2s ease; }
.social-links a:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 900px) { .nav-support { align-self: flex-start; margin: 6px 14px; } }
.services-cards.cards-5 { display: flex; flex-wrap: wrap; justify-content: center; }
.services-cards.cards-5 > * { flex: 0 1 calc((100% - 44px) / 3); }
@media (max-width: 1000px) { .services-cards.cards-5 > * { flex-basis: calc((100% - 22px) / 2); } }
@media (max-width: 620px) { .services-cards.cards-5 > * { flex-basis: 100%; } }

/* knowledge (blog / wiki) */
.article-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { padding: 8px 16px; color: var(--navy); font: inherit; font-size: 15px; font-weight: 700; background: #fff; border: 1px solid var(--border); border-radius: 999px; cursor: pointer; }
.chip[aria-pressed="true"] { color: #fff; background: var(--blue); border-color: var(--blue); }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.article-card { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--soft-shadow); transition: transform .22s ease, box-shadow .22s ease; }
.article-card[hidden] { display: none; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--hover-shadow); }
.article-card:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.article-img { aspect-ratio: 16 / 9; overflow: hidden; background: #eef3f8; }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.article-card h3 { margin: 10px 0 10px; color: var(--navy); font-size: 20px; line-height: 1.3; }
.article-card h3 a::after { content: ""; position: absolute; inset: 0; }
.article-card h3 a:focus-visible { outline: none; }
.article-card:hover h3 a { color: var(--blue); }
.article-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.article-card time { margin-top: auto; color: #8a96a8; font-size: 14px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #8a96a8; font-size: 14px; }
.article-section { padding: 70px 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.article-content .article-meta { margin: 0 0 24px; }
.article-content h2 { margin-top: 1.6em; font-size: 26px; }
.article-content h3 { margin-top: 1.4em; font-size: 20px; }
.article-aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.related-box { display: grid; gap: 8px; padding: 22px; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--soft-shadow); }
.related-box small { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.related-box strong { color: var(--navy); font-size: 19px; }
.related-box em { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-style: normal; font-weight: 700; }
.related-contact { background: linear-gradient(160deg, #f4f8fc, #e8f0f8); }
.related-contact .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 1000px) {
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 620px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-section { padding: 44px 0; }
}
